quick fix to lxc-ubuntu while waiting lxcguest to be fixed (just in
case...)

          chroot $rootfs apt-get install --force-yes -y lxcguest
+         # fix for oneiric /var/lock
+         if [ $release = "oneiric" ]; then
+             sudo sed -i '/touch \/var\/run\/utmp/ i\
+    mkdir -p \/run\/lock
+ ' $rootfs/etc/init/lxcguest.conf
+         fi
      fi

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/880030

Title:
  oneiric container problem: missing /run/lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/880030/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to