[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-19 Thread Launchpad Bug Tracker
This bug was fixed in the package cgroup-lite - 1.1.2 --- cgroup-lite (1.1.2) precise-proposed; urgency=low * Complete the fix for separate /usr (LP: #989354) - replace use of tail and awk with sed. - use echo instead of logger -- Serge HallynThu, 05 Jul 2012 11:46:30 -

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-16 Thread Andreas Hasenack
1.1.2 worked for me too. I was able to start a container right after a reboot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989354 Title: cgroup-lite and separated /usr To manage notifications abo

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-13 Thread zoolook
Hello everyone! works for me :-) zoolook@lxc:~$ mount /dev/mapper/vg_lxc-root on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-12 Thread Andreas Hasenack
I'm sorry, but my previous statement wasn't completely accurate. I had only checked that group was mounted, but when I tried to start a container it failed. It really only started working after I restarted cgroup-lite after a reboot. For now I added this to /etc/rc.local before the exit 0 to work

Re: [Bug 989354] Re: cgroup-lite and separated /usr

2012-07-12 Thread Serge Hallyn
Quoting Andreas Hasenack (andr...@canonical.com): > I can't try the package from quantal, but I'm on precise and affected by > this bug. I tried the 1.1.1 version from proposed and it fixed the > problem for me, but I understand it could be just pure luck because awk > and tail are outside of /usr.

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-12 Thread Andreas Hasenack
I can't try the package from quantal, but I'm on precise and affected by this bug. I tried the 1.1.1 version from proposed and it fixed the problem for me, but I understand it could be just pure luck because awk and tail are outside of /usr. -- You received this bug notification because you are a

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-09 Thread Sebastien Bacher
Could somebody with a setup to test the update check if it's indeed resolving the issue so it can be moved to -updates? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989354 Title: cgroup-lite and se

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-05 Thread Serge Hallyn
** Description changed: SRU Justification: 1. Impact: cgroup-lite fails to start on systems with separate /usr 2. Development fix: move cgroup-{,u}mount commands to /bin 3. Stable fix: same as development fix 4. Test case:    1. install cg

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-05 Thread Serge Hallyn
** Description changed: SRU Justification: 1. Impact: cgroup-lite fails to start on systems with separate /usr 2. Development fix: move cgroup-{,u}mount commands to /bin 3. Stable fix: same as development fix 4. Test case:    1. install cg

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-05 Thread Serge Hallyn
** Description changed: SRU Justification: 1. Impact: cgroup-lite fails to start on systems with separate /usr 2. Development fix: move cgroup-{,u}mount commands to /bin 3. Stable fix: same as development fix 4. Test case: -1. install a

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-05 Thread Launchpad Bug Tracker
This bug was fixed in the package cgroup-lite - 1.4 --- cgroup-lite (1.4) quantal; urgency=low * Don't use awk or tail, which are not in /bin. (LP: #989354) -- Serge HallynThu, 05 Jul 2012 11:21:39 -0500 ** Changed in: cgroup-lite (Ubuntu Quantal) Status: Confirmed =>

Re: [Bug 989354] Re: cgroup-lite and separated /usr

2012-07-05 Thread Serge Hallyn
Quoting zoolook (nbe...@gmail.com): > Hello Serge, > > [quote] > start on mounted MOUNTPOINT=/sys and mounted MOUNTPOINT=/proc > [/quote] > > A few months ago, I got a similar problem at work. I needed to make sure > two filesystems were mounted, and I came to a solution like the one > you're sug

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-02 Thread zoolook
Hello Serge, [quote] start on mounted MOUNTPOINT=/sys and mounted MOUNTPOINT=/proc [/quote] A few months ago, I got a similar problem at work. I needed to make sure two filesystems were mounted, and I came to a solution like the one you're suggesting. And nope. It didn't work. cgroup-lite is in a

[Bug 989354] Re: cgroup-lite and separated /usr

2012-07-02 Thread Serge Hallyn
Hm, I can't reproduce this in a VM with separate /usr, with precise- proposed in my sources.list. Can you change the 'start on' in /etc/init/cgroup-lite.conf to be: start on mounted MOUNTPOINT=/sys and mounted MOUNTPOINT=/proc If that still fails, then we'll need to add some debugging output

Re: [Bug 989354] Re: cgroup-lite and separated /usr

2012-06-30 Thread Serge Hallyn
A vm versus a real machine should make no difference. > (why doesn't show all of them?) Mount looks at /etc/mtab, which in Ubuntu is a separate file, not linked to /proc/mounts. The cgroup filesystems are mounted with '-n' to not add entries to mtab. > $ sudo lxc-start -n test > (now it doesn't

[Bug 989354] Re: cgroup-lite and separated /usr

2012-06-29 Thread zoolook
Hello Serge, don't worry. Does it make any difference to test on a vm (virtualbox on mac os x)? Also, if I stop/start cgroup-lite, lxc guest runs Fresh boot: $ sudo lxc-start -n test [sudo] password for zoolook: lxc-start: failed to spawn 'test' $ sudo service cgroup-lite stop cgroup-lite st

Re: [Bug 989354] Re: cgroup-lite and separated /usr

2012-06-29 Thread Serge Hallyn
Sorry about that. I'll try to reproduce. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989354 Title: cgroup-lite and separated /usr To manage notifications about this bug go to: https://bugs.launc

[Bug 989354] Re: cgroup-lite and separated /usr

2012-06-29 Thread zoolook
Hello, it is better than before, but not fixed yet (at least for me) $ mount|grep cgroup cgroup on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755) $ grep cgroup /proc/mounts cgroup /sys/fs/cgroup tmpfs rw,relatime,mode=755 0 0 $ apt-cache policy cgroup-lite cgroup-lite: Instalados: 1.1.

[Bug 989354] Re: cgroup-lite and separated /usr

2012-06-29 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/precise/cgroup-lite /precise-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989354 Title: cgroup-lite and separated /usr To manage notifications

[Bug 989354] Re: cgroup-lite and separated /usr

2012-06-28 Thread Brian Murray
Hello zoolook, or anyone else affected, Accepted cgroup-lite into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/cgroup- lite/1.1.1 in a few hours and then in the -proposed repository. Please help us by testing this new package. See https://w

[Bug 989354] Re: cgroup-lite and separated /usr

2012-06-21 Thread Serge Hallyn
** Description changed: + + SRU Justification: + 1. Impact: cgroup-lite fails to start on systems with separate /usr + 2. Development fix: move cgroup-{,u}mount commands to /bin + 3. Stable fix: same as development fix + 4. Test case: +1. install a

[Bug 989354] Re: cgroup-lite and separated /usr

2012-06-20 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/cgroup-lite -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989354 Title: cgroup-lite and separated /usr To manage notifications about this bug go to: https://bugs.launchp

[Bug 989354] Re: cgroup-lite and separated /usr

2012-06-20 Thread Launchpad Bug Tracker
This bug was fixed in the package cgroup-lite - 1.2 --- cgroup-lite (1.2) quantal; urgency=low * move cgroups-mount and cgroups-umount to /bin, with links in /usr (LP: #989354) * cgroups-mount: log and exit (with success) if any cgroup fs is mounted anywhere (LP: #985884)

[Bug 989354] Re: cgroup-lite and separated /usr

2012-06-20 Thread Serge Hallyn
Thanks for reporting this bug. I'll move the scripts to /bin, with symbolic links in /usr/bin/ ** Also affects: cgroup-lite (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: cgroup-lite (Ubuntu Quantal) Importance: Critical Assignee: Serge Hallyn (serge-hallyn

[Bug 989354] Re: cgroup-lite and separated /usr

2012-06-20 Thread Serge Hallyn
** Changed in: cgroup-lite (Ubuntu) Importance: Undecided => Critical ** Changed in: cgroup-lite (Ubuntu) Assignee: (unassigned) => Serge Hallyn (serge-hallyn) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launc

[Bug 989354] Re: cgroup-lite and separated /usr

2012-05-31 Thread akrus
Confirming the problem, cgroup is not mounted automatically, thus failing to autostart the containers... As a workaround I may suggest installing cgroup-bin instead of cgroup-lite. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https

[Bug 989354] Re: cgroup-lite and separated /usr

2012-05-18 Thread Andreas Hasenack
Same here, I have /usr separated and cgroup isn't mounted after boot. This breaks LXC and juju local deployments. When I run it manually after booting (/etc/init.d/cgroup-lite I mean), I get only one mount point, lxc seems to work: root@nsn7:~# mount|grep cgroup cgroup on /sys/fs/cgroup type tmpf

[Bug 989354] Re: cgroup-lite and separated /usr

2012-05-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cgroup-lite (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989354 Title: