chiark / gitweb /
units: enable automount units only if the kernel supports them
authorLennart Poettering <lennart@poettering.net>
Mon, 2 May 2011 15:43:18 +0000 (17:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 May 2011 15:43:18 +0000 (17:43 +0200)
TODO
units/proc-sys-fs-binfmt_misc.automount
units/sys-kernel-debug.automount
units/sys-kernel-security.automount

diff --git a/TODO b/TODO
index 00bbc764e091ce7d444288038b7faefa474d7c70..96727031b6d0069a896ab5a80dfbce6075607e8a 100644 (file)
--- 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?
 
index 91f49ef38055f9f3f432171c7da260287bcaeb45..acbbcbb0cb6ddfc4041a87a2904809f44c64bbe5 100644 (file)
@@ -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
index f856a8793016c6e521565a705bb07890bfec7e4b..2f2de9829f0e5671dfeb98033209fa6dd90adde4 100644 (file)
@@ -9,6 +9,7 @@
 Description=Debug File System Automount Point
 DefaultDependencies=no
 Before=sysinit.target
+ConditionPathExists=/sys/kernel/debug
 
 [Automount]
 Where=/sys/kernel/debug
index cd13e4a88aa3566e7030a07b75c93a12e9c24b2c..b7b16e19aa72d93eff8589664045cc632fd38b30 100644 (file)
@@ -9,6 +9,7 @@
 Description=Security File System Automount Point
 DefaultDependencies=no
 Before=sysinit.target
+ConditionPathExists=/sys/kernel/security
 
 [Automount]
 Where=/sys/kernel/security