Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
LatOffline
Post subject: Can't symlink /run to /var/run; please fix manually. chroot  PostPosted: 05.02.2012, 13:53



Joined: 2010-09-19
Posts: 162

Status: Offline
I saw these messages during dist-upgrade on my 32bits chroot

      Code:
Preparing to replace initscripts 2.88dsf-18 (using .../initscripts_2.88dsf-22_i386.deb) ...
Unpacking replacement initscripts ...
Processing triggers for man-db ...
Setting up initscripts (2.88dsf-22) ...
Installing new version of config file /etc/init.d/mountall.sh ...
Installing new version of config file /etc/init.d/mountnfs.sh ...
Installing new version of config file /etc/init.d/mtab.sh ...
Installing new version of config file /etc/init.d/rc.local ...
Installing new version of config file /etc/init.d/umountfs ...
Installing new version of config file /etc/init.d/umountnfs.sh ...
Installing new version of config file /etc/network/if-up.d/mountnfs ...
guest environment detected: Linking /run to /var/run
rmdir: failed to remove `/run': Directory not empty
Can't symlink /run to /var/run; please fix manually.
How should I fix that?

      Code:
ls -la /var/run /run
/run:
total 12
drwxr-xr-x  3 root root 4096 Feb  5 12:28 .
drwxr-xr-x 23 root root 4096 Jan 22 22:07 ..
prw-------  1 root root    0 Feb  5 12:28 initctl
drwxr-xr-x  2 root root 4096 Nov  6 23:22 sendsigs.omit.d

/var/run:
total 20
drwxr-xr-x  3 root       root       4096 Feb  5 12:30 .
drwxr-xr-x 13 root       root       4096 Nov  1  2009 ..
-rw-r--r--  1 root       root          5 Feb  5 12:30 crond.pid
----------  1 root       root          0 Feb 21  2010 crond.reboot
drwxr-xr-x  2 messagebus messagebus 4096 Dec 26 23:24 dbus
lrwxrwxrwx  1 root       root          9 May 23  2011 lock -> /var/lock
-rw-r--r--  1 root       root        287 Nov  1  2009 motd
lrwxrwxrwx  1 root       root          8 May 23  2011 shm -> /dev/shm
-rw-rw-r--  1 root       utmp          0 Nov  1  2009 utmp
BTW: the symblink shm is broken

      Code:
/home           /data/32/home   none    bind 0 0
/tmp            /data/32/tmp    none    bind 0 0
/proc           /data/32/proc   proc    bind 0 0
/dev            /data/32/dev    none    bind 0 0
/dev/pts        /data/32/dev/pts devpts bind 0 0
 
 View user's profile Send private message  
Reply with quote Back to top
x-un-i
Post subject: RE: Can  PostPosted: 05.02.2012, 19:57
Team Member


Joined: 2010-08-26
Posts: 170

doing a mount on the host system would probably give you the hints necessary


      Code:
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=1618692k)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=809348k,mode=755)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=1618692k)
udev on /dev type devtmpfs (rw,relatime,size=4040972k,nr_inodes=1010243,mode=755)

_________________
Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter

Será que o diabo perdeu a virgindade?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio