Control: tag -1 confirmed
Control: fixed -1 218-1

Hey Pierre,

Pierre Mavro [2015-02-10 15:45 +0100]:
> Let's say I've an LXC container called jessie running on jessie. The
> container is started and I can see the memory is correctly visible in
> the cgroup fs:
> 
> $ ls /sys/fs/cgroup/memory/lxc/jessie/
> [...]
> Then let's say I install samba (works with other services):
> 
> $ apt-get -y install samba
> 
> Then the cgroup fs for the container disappeared :
> 
> $ ls /sys/fs/cgroup/memory/lxc/jessie/
> ls: cannot access /sys/fs/cgroup/memory/lxc/jessie/: No such file or
> directory

I can reproduce this with systemd 215 from jessie/unstable. For the
record, it's not necessary to install samba, "systemctl restart
haveged" worked for me too.

I remember a similar problem when I worked on Ubuntu's "user LXC
container" support/patch, but this issue got fixed with 217 or 218.
Indeed I can't reproduce this report with the experimental version,
marking as fixed there; can you confirm?

How much of an actual issue is that in practice? At least for me
reloading a service only triggers the cleanup of empty cgroups. Indeed
LXC creates the cgroups in all controllers, but only actually puts the
processes in the container in some of them (e. g. perf_event and
freezer, but not devices and memory), and those which are non-empty
stay alive for me. So isn't that just a rather cosmetical problem at
this point?

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

Reply via email to