| Summary: | app-emulation/lxc-0.8.0_rc2-r1 : add {pre,post}{up,down} capabilities to init script [patch] | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Guillaume ZITTA <gentoo.guillaume> |
| Component: | New packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | dev-zero, virtualization, zubkov318 |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
lxc init script's patch
lxc init script's patch init script for 0.8rc2 |
||
Created attachment 306193 [details, diff]
lxc init script's patch
Created attachment 306195 [details]
lxc init script's patch
ooops, my patch does more than expected (correct one is uploaded)
Created attachment 325520 [details]
init script for 0.8rc2
This has been removed from the tree. If this is still relevant please re-open, and update your patches to the latest version. |
Sometimes you need to do something before or after a container starts or stops. For example : - (u)mount lvm volume - add/del firewall rules I modified the init script to do that and the patch Reproducible: Always Actual Results: no script executed Expected Results: /etc/lxc/$CONTAINER.{pre,post}{up,down} will be executed if exists