[Pkg-sysvinit-devel] Bug#648784: 30K * /etc/motd broken symlink warnings in piuparts.d.o

Andreas Beckmann debian at abeckmann.de
Wed Nov 16 03:00:55 UTC 2011


reassign 648784 piuparts 0.41
tag 648784 patch
thanks

On Tuesday, 15. November 2011 03:43:09 Dave Steele wrote:
> 1m9.9s ERROR: WARN: Broken symlinks:
>   /etc/motd -> /var/run/motd

That's an error in piuparts which does not properly resolve the nested 
symlink /var/run -> /run and instead tries to access a file outside the 
chroot on the host. This fails when testing sid, but the host is running 
squeeze, so /run is not available.
The broken symlink is actually
  $CHROOT/var/run/motd -> /run/motd  (via $CHROOT/var/run -> /run)
but the correct path to check would be 
  $CHROOT/var/run/motd -> $CHROOT/run/motd
which does exist.

A patch is available in

  git://github.com/anbe42/piuparts.git fix/canonicalize


Andreas





More information about the Pkg-sysvinit-devel mailing list