[PLDWWW] page changed: docs:lxc
"Elan Ruusamäe (glen)"
glen at pld-linux.org
Tue Nov 19 23:36:17 CET 2013
dmesg solution, thx draenog
--- https://www.pld-linux.org/docs/lxc?rev=1384897637
+++ https://www.pld-linux.org/docs/lxc
@@ -66,9 +66,10 @@
When in Vserver, guest processes are not visible in host, then in LXC all guest processes are visible. Beware when running ''killall(1)'' commands on host.
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:**
^ Vserver ^ LXC ^ Notes ^
| vserver test enter | lxc-attach -n test -e | Use ''-e'' option with care, especially when restarting processes |
Diff URL:
https://www.pld-linux.org/docs/lxc?do=diff&r1=1384897637&r2=1384900576
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list