[PLDWWW] page changed: docs:lxc

"Elan Ruusamäe (glen)" glen at pld-linux.org
Sun Nov 24 15:24:26 CET 2013


lxc-stop issue

--- https://www.pld-linux.org/docs/lxc?rev=1385302629
+++ https://www.pld-linux.org/docs/lxc
@@ -62,8 +62,17 @@
  
  !!! WARNING: pld template for LXC is yet to be written !!! 
  
  ===== Common problems / Useful tricks =====
+ 
+ ==== lxc-stop is not graceful ====
+ 
+ Currently ''lxc-stop -n test'' sends ''SIGPWR'' to init inside container, but ''rc-scripts'' fails to shutdown things properly (shutdown scripts are not invoked). For workaround, stop services manually before issueing ''lxc-stop''.
+ 
+ Details: In process table is only this process runrning, no further actions from ''rc-scripts'':
+ <file>
+ /sbin/shutdown -f -h +2 Power Failure; System Shutting Down
+ </file>
  
  ==== loginuid ====
  
  ''pam_loginuid.so'' does not allow ''sshd'' to login


Diff URL:
  https://www.pld-linux.org/docs/lxc?do=diff&r1=1385302629&r2=1385303066
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list