Adding rescue.target to the list of services to be disabled in systemd containers...
authorNik Lutz <nik@netstyle.ch>
Mon, 13 May 2013 00:22:49 +0000 (02:22 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Tue, 28 May 2013 12:27:47 +0000 (14:27 +0200)
scripts/debconfig/0040-systemd
scripts/debconfig/0040-systemd.templates

index db79f57..82b3ba6 100755 (executable)
@@ -25,7 +25,7 @@ Defaults ()
 {
        _LXC_ENABLE="${_LXC_ENABLE:-false}"
        _LXC_CONSOLES="${_LXC_CONSOLES:-6}"
-       _LXC_DISABLE_SERVICES="${_LXC_DISABLE_SERVICES:-checkroot.service dev-hugepages.mount dev-mqueue.mount proc-sys-fs-binfmt_misc.automount remount-rootfs.service run-lock.mount run-user.mount swap.target sys-kernel-debug.mount sys-kernel-security.mount systemd-modules-load.service systemd-remount-api-vfs.service systemd-sysctl.service systemd-update-utmp-runlevel.service udev.service udev-settle.service udev-trigger.service user.mount var-lock.mount systemd-update-utmp-runlevel.service}"
+       _LXC_DISABLE_SERVICES="${_LXC_DISABLE_SERVICES:-checkroot.service dev-hugepages.mount dev-mqueue.mount proc-sys-fs-binfmt_misc.automount remount-rootfs.service run-lock.mount run-user.mount swap.target sys-kernel-debug.mount sys-kernel-security.mount systemd-modules-load.service systemd-remount-api-vfs.service systemd-sysctl.service systemd-update-utmp-runlevel.service udev.service udev-settle.service udev-trigger.service user.mount var-lock.mount systemd-update-utmp-runlevel.service rescue.target}"
 }
 
 db_get live-debconfig/systemd/lxc-enable
index bd038e5..15bf545 100644 (file)
@@ -25,8 +25,9 @@ Description: live-debconfig: Which services to disable for LXC?
  Some services are not useful in containers and should be disabled.
  .
  This defaults to checkroot.service dev-hugepages.mount dev-mqueue.mount
- proc-sys-fs-binfmt_misc.automount remount-rootfs.service run-lock.mount
- run-user.mount swap.target sys-kernel-debug.mount sys-kernel-security.mount
- systemd-modules-load.service systemd-remount-api-vfs.service
- systemd-sysctl.service systemd-update-utmp-runlevel.service udev.service
- udev-settle.service udev-trigger.service user.mount var-lock.mount.
+ proc-sys-fs-binfmt_misc.automount remount-rootfs.service rescue.target
+ run-lock.mount run-user.mount swap.target sys-kernel-debug.mount
+ sys-kernel-security.mount systemd-modules-load.service
+ systemd-remount-api-vfs.service systemd-sysctl.service
+ systemd-update-utmp-runlevel.service udev.service udev-settle.service
+ udev-trigger.service user.mount var-lock.mount.