User Tools

Site Tools


docs:lxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
docs:lxc [2013-11-24 15:17]
glen separate section for problems/solutio
docs:lxc [2013-11-24 15:24]
glen lxc-stop issue
Line 64: Line 64:
  
 ===== Common problems / Useful tricks ===== ===== 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 ==== ==== loginuid ====
docs/lxc.txt · Last modified: 2016-08-21 00:36 by glen