[systemd-commits] TODO units/proc-sys-fs-binfmt_misc.automount units/sys-kernel-debug.automount units/sys-kernel-security.automount

Lennart Poettering lennart at kemper.freedesktop.org
Mon May 2 08:43:26 PDT 2011


 TODO                                    |    6 ++++++
 units/proc-sys-fs-binfmt_misc.automount |    1 +
 units/sys-kernel-debug.automount        |    1 +
 units/sys-kernel-security.automount     |    1 +
 4 files changed, 9 insertions(+)

New commits:
commit 7ec75dc70fa414f53c9bb51881ac90d37dd3d5af
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon May 2 17:43:18 2011 +0200

    units: enable automount units only if the kernel supports them

diff --git a/TODO b/TODO
index 00bbc76..9672703 100644
--- a/TODO
+++ b/TODO
@@ -31,6 +31,11 @@ F15 External:
 
 Features:
 
+* unset cgroup agents on shutdown
+
+* Add ConditionPathExists= checks to binfmt automount units, to avoid
+  installing the automount point if the directory does not exist.
+
 * drop /.readahead on bigger upgrades with yum
 
 * add inode stat() check to readahead to suppress preloading changed files
@@ -62,6 +67,7 @@ Features:
   - status update
   - you are a distro: why switch?
   - /etc/sysconfig and /etc/default
+  - how to write socket activated services
 
 * maybe add tiny dbus services similar to hostnamed for locale and wallclock/timezone?
 
diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount
index 91f49ef..acbbcbb 100644
--- a/units/proc-sys-fs-binfmt_misc.automount
+++ b/units/proc-sys-fs-binfmt_misc.automount
@@ -9,6 +9,7 @@
 Description=Arbitrary Executable File Formats File System Automount Point
 DefaultDependencies=no
 Before=sysinit.target
+ConditionPathExists=/proc/sys/fs/binfmt_misc
 
 [Automount]
 Where=/proc/sys/fs/binfmt_misc
diff --git a/units/sys-kernel-debug.automount b/units/sys-kernel-debug.automount
index f856a87..2f2de98 100644
--- a/units/sys-kernel-debug.automount
+++ b/units/sys-kernel-debug.automount
@@ -9,6 +9,7 @@
 Description=Debug File System Automount Point
 DefaultDependencies=no
 Before=sysinit.target
+ConditionPathExists=/sys/kernel/debug
 
 [Automount]
 Where=/sys/kernel/debug
diff --git a/units/sys-kernel-security.automount b/units/sys-kernel-security.automount
index cd13e4a..b7b16e1 100644
--- a/units/sys-kernel-security.automount
+++ b/units/sys-kernel-security.automount
@@ -9,6 +9,7 @@
 Description=Security File System Automount Point
 DefaultDependencies=no
 Before=sysinit.target
+ConditionPathExists=/sys/kernel/security
 
 [Automount]
 Where=/sys/kernel/security



More information about the systemd-commits mailing list