Quoting zoolook ([email protected]):
> 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 an
> endless loop right now :-)
>
> So I tried to put some echoes on the job. And the problem is.... (are
> actually) tail and awk
>
> awk is installed in /usr/bin/awk (which is a symlink to
Odd! I swear I had gone through the programs used in cgroups-mount
and found them all under /bin, but you're right.
> /etc/alternatives/akw, which is a symlink to /usr/bin/mawk). The same
> for tail.
>
> The for loop (for c in `tail -n +2 /proc/cgroups | awk....) at the end
> of /bin/cgroup-mount is never executed.
>
> I did a simple "cp /usr/bin/awk /bin/" and "cp /usr/bin/tail /bin/" and
> got cgroup-lite working.
I'll have to switch to using something other than awk.
> Now I'm wondering two things:
>
> 1) how did you get this to work with a separated /usr
Timing. /usr simply came up fast enough that awk was avaiable when I
needed it.
> 2) what others things are broken when /usr is on a separated
partition.
** Changed in: cgroup-lite (Ubuntu Quantal)
Status: Fix Released => Confirmed
** Changed in: cgroup-lite (Ubuntu Quantal)
Assignee: Serge Hallyn (serge-hallyn) => (unassigned)
--
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.launchpad.net/ubuntu/+source/cgroup-lite/+bug/989354/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs