Bug#777601: systemd: Loosing LXC memory cgroups after service install

Michael Biebl biebl at debian.org
Tue Feb 10 15:09:04 GMT 2015


Am 10.02.2015 um 15:45 schrieb Pierre Mavro:
> Package: systemd
> Version: 215-10
> Severity: critical
> Justification: breaks unrelated software
> 
> Dear Maintainer,
> 
> I encounter a problem with LXC running with systemd. Following the
> documentation (https://wiki.debian.org/LXC), I updated grub to manage
> memory (cgroup_enable=memory) a,d lxc-checkconfig returns all green.
> 
> I got the issue on 2 different servers running Jessie with systemd and
> as you can see it is reproductible.
> 
> 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/
> cgroup.clone_children  memory.max_usage_in_bytes    memory.numa_stat
> memory.usage_in_bytes
> cgroup.event_control   memory.memsw.failcnt     memory.oom_control
> memory.use_hierarchy
> cgroup.procs           memory.memsw.limit_in_bytes
> memory.pressure_level       notify_on_release
> memory.failcnt         memory.memsw.max_usage_in_bytes
> memory.soft_limit_in_bytes  tasks
> memory.force_empty     memory.memsw.usage_in_bytes  memory.stat
> memory.limit_in_bytes  memory.move_charge_at_immigrate
> memory.swappiness
> 
> 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
> 
> Hope this will help to reproduce.
> 

That seems to be https://bugzilla.redhat.com/show_bug.cgi?id=1139223
Can you confirm that



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150210/0f112bb7/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list