From 9a9a438596e6f57cda87fc7045971197fd2b3078 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 2 Jun 2010 00:58:10 +0200 Subject: [PATCH] units: tear down sys-kernel-security.automount automount point on shutdown --- units/fedora/halt.service | 2 +- units/fedora/poweroff.service | 2 +- units/fedora/reboot.service | 2 +- units/gentoo/Makefile | 1 + units/gentoo/halt.service | 2 +- units/gentoo/poweroff.service | 2 +- units/gentoo/reboot.service | 2 +- units/suse/Makefile | 1 + units/suse/halt.service | 2 +- units/suse/poweroff.service | 2 +- units/suse/reboot.service | 2 +- 11 files changed, 11 insertions(+), 9 deletions(-) create mode 120000 units/gentoo/Makefile create mode 120000 units/suse/Makefile diff --git a/units/fedora/halt.service b/units/fedora/halt.service index ff498e43..50373d48 100644 --- a/units/fedora/halt.service +++ b/units/fedora/halt.service @@ -9,7 +9,7 @@ Description=Halt Requires=shutdown.target killall.service After=shutdown.target killall.service -Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount [Service] Type=finish diff --git a/units/fedora/poweroff.service b/units/fedora/poweroff.service index 07af6c62..f237e327 100644 --- a/units/fedora/poweroff.service +++ b/units/fedora/poweroff.service @@ -9,7 +9,7 @@ Description=Power-Off Requires=shutdown.target killall.service After=shutdown.target killall.service -Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount [Service] Type=finish diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service index 77f5cb3f..b99dfdc8 100644 --- a/units/fedora/reboot.service +++ b/units/fedora/reboot.service @@ -9,7 +9,7 @@ Description=Reboot Requires=shutdown.target killall.service After=shutdown.target killall.service -Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount [Service] Type=finish diff --git a/units/gentoo/Makefile b/units/gentoo/Makefile new file mode 120000 index 00000000..50be2118 --- /dev/null +++ b/units/gentoo/Makefile @@ -0,0 +1 @@ +../../src/Makefile \ No newline at end of file diff --git a/units/gentoo/halt.service b/units/gentoo/halt.service index 8762a782..c5d96043 100644 --- a/units/gentoo/halt.service +++ b/units/gentoo/halt.service @@ -9,7 +9,7 @@ Description=Halt Requires=shutdown.target killall.service After=shutdown.target killall.service -Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount [Service] Type=finish diff --git a/units/gentoo/poweroff.service b/units/gentoo/poweroff.service index 1a0a6a44..2cc645ec 100644 --- a/units/gentoo/poweroff.service +++ b/units/gentoo/poweroff.service @@ -9,7 +9,7 @@ Description=Power-Off Requires=shutdown.target killall.service After=shutdown.target killall.service -Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount [Service] Type=finish diff --git a/units/gentoo/reboot.service b/units/gentoo/reboot.service index 080a084c..fdca6f86 100644 --- a/units/gentoo/reboot.service +++ b/units/gentoo/reboot.service @@ -9,7 +9,7 @@ Description=Reboot Requires=shutdown.target killall.service After=shutdown.target killall.service -Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount [Service] Type=finish diff --git a/units/suse/Makefile b/units/suse/Makefile new file mode 120000 index 00000000..50be2118 --- /dev/null +++ b/units/suse/Makefile @@ -0,0 +1 @@ +../../src/Makefile \ No newline at end of file diff --git a/units/suse/halt.service b/units/suse/halt.service index 20a01258..bc237f02 100644 --- a/units/suse/halt.service +++ b/units/suse/halt.service @@ -9,7 +9,7 @@ Description=Halt Requires=shutdown.target After=shutdown.target -Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount [Service] Type=finish diff --git a/units/suse/poweroff.service b/units/suse/poweroff.service index f3d15428..a68c10cf 100644 --- a/units/suse/poweroff.service +++ b/units/suse/poweroff.service @@ -9,7 +9,7 @@ Description=Power-Off Requires=shutdown.target After=shutdown.target -Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount [Service] Type=finish diff --git a/units/suse/reboot.service b/units/suse/reboot.service index 2bc452e1..3dbb4691 100644 --- a/units/suse/reboot.service +++ b/units/suse/reboot.service @@ -9,7 +9,7 @@ Description=Reboot Requires=shutdown.target After=shutdown.target -Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount [Service] Type=finish -- 2.39.5