OpenVZ Forum


Home » General » Support » Ubuntu VE duplicate mounts /var/run /var/lock
Re: Ubuntu VE duplicate mounts /var/run /var/lock [message #32631 is a reply to message #32620] Wed, 20 August 2008 22:58 Go to previous messageGo to previous message
piavlo is currently offline  piavlo
Messages: 159
Registered: January 2007
Senior Member
Well i'm not using ubuntu in openvz, but out of curiosity i took a look at normal desktop ubuntu installation
# fgrep /var/run  /proc/mounts
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
# fgrep /var/lock  /proc/mounts
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
#

So this looks like unrelated to openvz ubuntu bug probably
in init.d scripts
# egrep -e 'do.*/var/(lock|run)[[:space:]]' /etc/init.d/*
/etc/init.d/mountkernfs.sh:     domount tmpfs "" /var/run -omode=0755,nodev,noexec,nosuid
/etc/init.d/mountkernfs.sh:     domount tmpfs "" /var/lock -omode=1777,nodev,noexec,nosuid
/etc/init.d/mtab.sh:    domtab tmpfs /var/run "varrun" -omode=0755,nodev,noexec,nosuid
/etc/init.d/mtab.sh:    domtab tmpfs /var/lock "varlock" -omode=1777,nodev,noexec,nosuid
#

But
# fgrep /var/lock /etc/mtab
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
#

[Updated on: Wed, 20 August 2008 23:03]

Report message to a moderator

 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Container ebtables LOG are going to Hardware Node CT0 syslog
Next Topic: Change kernel timer frequency
Goto Forum:
  


Current Time: Mon Sep 16 13:23:10 GMT 2024

Total time taken to generate the page: 0.04530 seconds