Public bug reported: inside the container during poweroff process i get such error:
* Deactivating swap... swapoff: Not superuser. [fail] --------------------------------------------------------------------------- root@relay1:~# lsb_release -rd Description: Ubuntu 11.10 Release: 11.10 root@relay1:~# apt-cache policy lxc lxc: Installed: 0.7.5-0ubuntu8.3 Candidate: 0.7.5-0ubuntu8.3 Version table: *** 0.7.5-0ubuntu8.3 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages 100 /var/lib/dpkg/status 0.7.5-0ubuntu8 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages --------------------------------------------------------------------------- root@relay1:~# lxc-start -n sbc Ubuntu 11.10 sbc /dev/console sbc login: root Password: Last login: Sat Feb 11 10:52:03 UTC 2012 on tty1 Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-15-server x86_64) * Documentation: https://help.ubuntu.com/11.10/serverguide/C root@sbc:~# poweroff Broadcast message from root@sbc (/dev/console) at 14:05 ... The system is going down for power off NOW! root@sbc:~# * Asking all remaining processes to terminate... [ OK ] * All processes ended within 1 seconds.... [ OK ] * Deconfiguring network interfaces... [ OK ] * Deactivating swap... swapoff: Not superuser. [fail] * Unmounting weak filesystems... [ OK ] umount: /var/run: not mounted mount: / is busy * Will now halt ** Affects: lxc (Ubuntu) Importance: Undecided Status: New ** Description changed: inside the container during poweroff process i get such error: - * Deactivating swap... swapoff: Not superuser. - [fail] + * Deactivating swap... + swapoff: Not superuser. [fail] - - -------------------------------------------------------------------------------------- + --------------------------------------------------------------------------- root@relay1:~# lsb_release -rd Description: Ubuntu 11.10 Release: 11.10 root@relay1:~# apt-cache policy lxc lxc: - Installed: 0.7.5-0ubuntu8.3 - Candidate: 0.7.5-0ubuntu8.3 - Version table: - *** 0.7.5-0ubuntu8.3 0 - 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages - 100 /var/lib/dpkg/status - 0.7.5-0ubuntu8 0 - 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages + Installed: 0.7.5-0ubuntu8.3 + Candidate: 0.7.5-0ubuntu8.3 + Version table: + *** 0.7.5-0ubuntu8.3 0 + 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages + 100 /var/lib/dpkg/status + 0.7.5-0ubuntu8 0 + 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages - -------------------------------------------------------------------------------------- + --------------------------------------------------------------------------- root@relay1:~# lxc-start -n sbc Ubuntu 11.10 sbc /dev/console sbc login: root - Password: + Password: Last login: Sat Feb 11 10:52:03 UTC 2012 on tty1 Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-15-server x86_64) - * Documentation: https://help.ubuntu.com/11.10/serverguide/C + * Documentation: https://help.ubuntu.com/11.10/serverguide/C root@sbc:~# poweroff Broadcast message from root@sbc - (/dev/console) at 14:05 ... + (/dev/console) at 14:05 ... The system is going down for power off NOW! - root@sbc:~# * Asking all remaining processes to terminate... [ OK ] - * All processes ended within 1 seconds.... [ OK ] - * Deconfiguring network interfaces... [ OK ] - * Deactivating swap... swapoff: Not superuser. - [fail] - * Unmounting weak filesystems... [ OK ] + root@sbc:~# * Asking all remaining processes to terminate... [ OK ] + * All processes ended within 1 seconds.... [ OK ] + * Deconfiguring network interfaces... [ OK ] + * Deactivating swap... swapoff: Not superuser. + [fail] + * Unmounting weak filesystems... [ OK ] umount: /var/run: not mounted mount: / is busy - * Will now halt + * Will now halt -- 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/930652 Title: lxc & swapoff: Not superuser To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930652/+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