{
"zoneTemplate" : "/buggy/path",
- "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; read"],
+ "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; while true; do sleep 0.1; done"],
"requestedState" : "running",
"ipv4Gateway" : "",
"ipv4" : "",
{
"zoneTemplate" : "minimal.sh",
- "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; /bin/dbus-daemon --config-file=@VSM_TEST_CONFIG_INSTALL_DIR@/dbus/ut-dbus-system.conf --fork; read"],
+ "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; /bin/dbus-daemon --config-file=@VSM_TEST_CONFIG_INSTALL_DIR@/dbus/ut-dbus-system.conf --fork"],
"requestedState" : "running",
"ipv4Gateway" : "",
"ipv4" : "",
{
"zoneTemplate" : "minimal.sh",
- "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; read"],
+ "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; while true; do sleep 0.1; done"],
"requestedState" : "running",
"ipv4Gateway" : "",
"ipv4" : "",
{
"zoneTemplate" : "minimal.sh",
- "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; read"],
+ "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; while true; do sleep 0.1; done"],
"requestedState" : "running",
"ipv4Gateway" : "",
"ipv4" : "",
#lxc.loglevel = TRACE
#lxc.logfile = /tmp/${name}.log
-lxc.cgroup.devices.deny = a
-
lxc.mount.auto = proc sys cgroup
lxc.mount.entry = /bin bin none ro,bind 0 0
lxc.mount.entry = /etc etc none ro,bind 0 0
{
"zoneTemplate" : "missing.sh",
- "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; read"],
+ "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; while true; do sleep 0.1; done"],
"requestedState" : "running",
"ipv4Gateway" : "",
"ipv4" : "",
{
"zoneTemplate" : "minimal.sh",
- "initWithArgs" : ["/bin/bash"],
+ "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; while true; do sleep 0.1; done"],
"requestedState" : "running",
"ipv4Gateway" : "",
"ipv4" : "",
const char* argv[] = {
"/bin/bash",
"-c",
- "trap exit SIGTERM; read",
+ "trap exit SIGTERM; while true; do sleep 0.1; done",
NULL
};
BOOST_CHECK(lxc.start(argv));
const char* argv[] = {
"/bin/bash",
"-c",
- "trap exit SIGTERM; read",
+ "trap exit SIGTERM; while true; do sleep 0.1; done",
NULL
};
BOOST_CHECK(lxc.start(argv));
const char* argv[] = {
"/bin/bash",
"-c",
- "trap exit SIGTERM; read",
+ "trap exit SIGTERM; while true; do sleep 0.1; done",
NULL
};
BOOST_CHECK(lxc.start(argv));
const char* argv[] = {
"/bin/bash",
"-c",
- "trap exit SIGTERM; read",
+ "trap exit SIGTERM; while true; do sleep 0.1; done",
NULL
};
BOOST_CHECK(lxc.start(argv));
const char* argv[] = {
"/bin/bash",
"-c",
- "trap exit SIGTERM; read",
+ "trap exit SIGTERM; while true; do sleep 0.1; done",
NULL
};
BOOST_REQUIRE(lxc.start(argv));