[lxc-devel] bugs with LXC container : mount and rmmod command
Daniel Lezcano
daniel.lezcano at free.fr
Tue Jan 5 20:27:44 UTC 2010
Elias Olivares wrote:
> Hi !
>
> To reproduce the "mount bug" :
>
> You have stop some services inside the container (cron,syslog,bind9) :
>
> dns:~# ps xua
> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
> root 1 0.0 0.0 1984 696 ? Ss 19:03 0:00 init [2]
> root 349 0.0 0.0 3040 984 ? Ss 19:03 0:00 /sbin/syslogd
> root 358 0.0 0.0 1648 404 ? Ss 19:03 0:00 /sbin/klogd -x
> bind 375 0.2 0.0 108284 17524 ? Ssl 19:03 0:00 /usr/sbin/named -u bind
> root 396 0.0 0.0 5276 976 ? Ss 19:03 0:00 /usr/sbin/sshd
> root 420 0.0 0.0 2384 804 ? Ss 19:03 0:00 /usr/sbin/cron
> root 438 0.0 0.0 6028 2912 console Ss 19:03 0:00 /bin/login --
> root 439 0.0 0.0 1992 568 tty1 Ss+ 19:03 0:00 /sbin/getty 38400 tty1 linux
> root 440 0.0 0.0 1992 572 tty2 Ss+ 19:03 0:00 /sbin/getty 38400 tty2 linux
> root 441 0.0 0.0 1992 572 tty3 Ss+ 19:03 0:00 /sbin/getty 38400 tty3 linux
> root 442 0.0 0.0 1992 572 tty4 Ss+ 19:03 0:00 /sbin/getty 38400 tty4 linux
> root 443 0.7 0.0 4132 2652 console S 19:03 0:00 -bash
> root 456 0.0 0.0 2644 948 console R+ 19:04 0:00 ps xua
> dns:~# mount -o remount,ro /
> mount: / is busy
> dns:~# /etc/init.d/sysklogd stop
> Stopping system log daemon....
> dns:~# /etc/init.d/cron stop
> Stopping periodic command scheduler: crond.
> dns:~# /etc/init.d/bind9 stop
> Stopping domain name service...: bind9 waiting for pid 375 to die.
> dns:~# mount -o remount,ro /
>
Gah, I am still not able to 'remount /'
Do you mind to provide the configuration file of lxc please ?
Thanks
-- Daniel
More information about the lxc-devel
mailing list