base-files upgrade fails when fsvs is installed

Bug #304449 reported by Gunnar Thielebein
8
Affects Status Importance Assigned to Milestone
base-files (Ubuntu)
New
Undecided
Unassigned

Bug Description

When upgrading base-files and have fsvs installed I get this error message in loop:

find: Symbolic link `/etc/fsvs/6666cd76f96956469e7be39d750cc7d9/_base/sys/devices/virtual/tty/ptyp5/subsystem/ttyS2/device/subsystem/devices/i8042/serio1/subsystem/drivers/atkbd/serio0/input/input0/subsystem/event1/device/device/subsystem' is part of a loop in the directory hierarchy; we have already visited the directory to which it points.
find: Symbolic link `/etc/fsvs/6666cd76f96956469e7be39d750cc7d9/_base/sys/devices/virtual/tty/ptyp5/subsystem/ttyS2/device/subsystem/devices/i8042/serio1/subsystem/drivers/atkbd/serio0/input/input0/subsystem/event1/device/device/driver/pcspkr' is part of a loop in the directory hierarchy; we have already visited the directory to which it points.
find: Symbolic link `/etc/fsvs/6666cd76f96956469e7be39d750cc7d9/_base/sys/devices/virtual/tty/ptyp5/subsystem/ttyS2/device/subsystem/devices/i8042/serio1/subsystem/drivers/atkbd/serio0/input/input0/subsystem/event1/device/device/driver/module/drivers/platform:pcspkr' is part of a loop in the directory hierarchy; we have already visited the directory to which it points.
find: Filesystem loop detected; `/etc/fsvs/6666cd76f96956469e7be39d750cc7d9/_base/sys/devices/virtual/tty/ptyp5/subsystem/ttyS2/device/subsystem/devices/i8042/serio1/subsystem/drivers/atkbd/serio0/input/input0/subsystem/event1/device/device/input/input1' has the same device number and inode as a direcdpkg: error processing base-files (--configure):
 subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
 base-files

Its hard to cancel that message you have to hit Ctrl+C several times.
For workaround you can move that /etc/fsvs temporarly out but I dont see any sense in the symlink checking via find.
I would suggest using `find -P ...` in package scripts.

Revision history for this message
Gunnar Thielebein (lorem-ipsum) wrote :

concerns base-files 4.0.1ubuntu5.8.04.3 in hardy.

Revision history for this message
Gunnar Thielebein (lorem-ipsum) wrote :

also without fsvs installation this warning message of find appears:

find: Symbolic link `/boot/boot' is part of a loop in the directory hierarchy; we have already visited the directory to which it points. I know -P default, so add -H ( do not follow symbolic links ) to find params.

Revision history for this message
Gunnar Thielebein (lorem-ipsum) wrote :

this is annoying behaviour, can someone give at least a comment on that? fsvs is imo in intrepid now, so on later base-file upgrades this error will occur for others intrepid users!

Revision history for this message
Kees Cook (kees) wrote :

The finds being done in /var/lib/dpkg/info/base-files.postinst are to clean up bad permissions left behind by early versions of the intrepid installer.

Scott, perhaps either redirect stderr, or add a maxdepth?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.