units: enable automount units only if the kernel supports them

This commit is contained in:
Lennart Poettering 2011-05-02 17:43:18 +02:00
parent 40013ebc3d
commit 7ec75dc70f
4 changed files with 9 additions and 0 deletions

6
TODO
View File

@ -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?

View 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

View 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

View 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