Hi LXC folks,

from my bug report against udev, so that it doesn't try to start when
running in a non-root container:

Marco d'Itri <m...@linux.it> (05/04/2011):
> On Apr 05, Cyril Brulebois <k...@debian.org> wrote:
> 
> > from a quick glance, it looks like running udev in a linux
> > container isn't supported, so I guess it might make sense to use a
> > check similar to is_chrooted in its postinst to decide whether to
> > start the daemon.
> No objections, but please come back with a detection method which is
> sanctioned by the LXC people.

Could you please advise on the best way to detect running in a
non-root container? It looks like grepping /proc/1/cgroup for :/$
could be a way to determine that (as opposed to :/foo$ in a "foo"
container). Can you please confirm?

Thanks already.

KiBi.

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to