This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
docs:lxc [2013-11-19 22:47] glen [Vserver comparision] |
docs:lxc [2013-11-19 23:36] glen dmesg solution, thx draenog |
||
---|---|---|---|
Line 68: | Line 68: | ||
Also, unfortunately ''/proc/PID/root'' points to ''/'' for LXC guests as well, so ''rc-scripts'' ''filter_chroot()'' can't differentiate between host and guest processes. | Also, unfortunately ''/proc/PID/root'' points to ''/'' for LXC guests as well, so ''rc-scripts'' ''filter_chroot()'' can't differentiate between host and guest processes. | ||
- | Also, ''dmesg(1)'' in guest sees hosts dmesg. | + | Also, ''dmesg(1)'' in guest sees hosts' dmesg by default, you can turn this off by setting ''kernel.dmesg_restrict=1'' sysctl param, available since ''2.6.37'' kernel. |
**Commands:** | **Commands:** |