Re: To Debian Bug Tracking System 2011-08-28 
<20110828164121.ga5...@msgid.df7cb.de>
> mv: accessing `/etc/network/run.dpkg-old': Too many levels of symbolic links
> 
> $ l /etc/network
> lrwxrwxrwx   1 root root   16 23. Jun 15:07 run -> /dev/shm/network
> lrwxrwxrwx   1 root root   16 10. Apr 2010  run.dpkg-old -> /dev/shm/network

Here's the rest of the involved files:

lrwxrwxrwx 1 root root 8 28. Aug 10:57 /dev/shm -> /run/shm
lrwxrwxrwx 1 root root 8 31. Mai 17:00 /run -> /var/run/

$ l /var/run
insgesamt 28
drwxr-xr-x  5 root       root       4096 28. Aug 18:28 ./
drwxr-xr-x 13 root       root       4096 10. Apr 2010  ../
-rw-r--r--  1 root       root          5 28. Aug 18:28 crond.pid
----------  1 root       root          0 23. Mai 2010  crond.reboot
drwxr-xr-x  2 messagebus messagebus 4096  3. Aug 21:39 dbus/
lrwxrwxrwx  1 root       root          9 31. Mai 17:00 lock -> /var/lock/
-rw-r--r--  1 root       root        287 10. Apr 2010  motd
drwxrwsr-x  2 postgres   postgres   4096  9. Jul 00:15 postgresql/
drwxr-xr-x  2 root       root       4096 29. Jul 23:22 sendsigs.omit.d/
lrwxrwxrwx  1 root       root          8 31. Mai 17:00 shm -> /dev/shm

I'm not sure which package is at fault here, but this is the second
system (chroot) on which I am seeing this problem.

For ifupdown, it is probably a good idea to delete run.dpkg-old:

# Create /etc/network/run 
if [ "$1" = configure -a ! -d /etc/network/run ]; then
  if [ -e /etc/network/run -o -L /etc/network/run ]; then
    echo "Renaming non-directory /etc/network/run to run.dpkg-old..."
    rm -f /etc/network/run.dpkg-old # <-------- new
    mv /etc/network/run /etc/network/run.dpkg-old
  fi

I removed the file manually and the upgrade went through, but the
/dev/shm /run/shm cycle is still bogus.

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to