[PLDWWW] page changed: docs:lxc
"Elan Ruusamäe (glen)"
glen at pld-linux.org
Sun Nov 24 15:13:35 CET 2013
loginuid issue
--- https://www.pld-linux.org/docs/lxc?rev=1384901568
+++ https://www.pld-linux.org/docs/lxc
@@ -68,8 +68,15 @@
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 by default, you can turn this off by setting ''kernel.dmesg_restrict=1'' sysctl param, available since ''2.6.37'' kernel.
+ ''pam_loginuid.so'' does not allow ''sshd'' to login. similar problem as [[http://kb.parallels.com/en/112597|here]].
+
+ Workaround:
+ Disable "pam_loginuid.so" in the authentication rules:
+ <file>
+ # sed '/pam_loginuid.so/s/^/#/g' -i /etc/pam.d/*
+ </file>
**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=1384901568&r2=1385302413
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list