commit | 9a2a60f7f6840b1a88723cab7941a88cdcf7ce7d | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Jan 13 10:12:05 2014 -0800 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Jan 13 10:12:05 2014 -0800 |
tree | 54b22039b5ac870e748427cd0a86b81985f23ce3 | |
parent | 1e10b9145a535315dcd3e9adc8e30e277a2f0993 [diff] |
vzctl start --wait: fix for non-standard Debian 7 Apparenly /etc/init/ directory existence doesn't mean that its contents will be acted upon (i.e. it is not a guarantee that we are running upstart). Therefore, add_reach_runlevel_mark() should try to modify /etc/inittab regardless of whether it placed a file in /etc/init/ (or /etc/event.d/). Also, error out if system appears for not use upstart/systemd and /etc/inittab is missing. Signed-off-by: Kir Kolyshkin <kir@openvz.org>