units: drop /sys/kernel/config automount unit
The mount point directory /sys/kernel/config is only created after the module is loaded, hence there's little value in having this an automount unit: the runtime penalty for mounting an autofs here should be the same as for a real mount.
This commit is contained in:
parent
c72dcc5431
commit
0286cc1551
|
@ -361,7 +361,6 @@ dist_systemunit_DATA = \
|
||||||
units/dev-hugepages.mount \
|
units/dev-hugepages.mount \
|
||||||
units/dev-mqueue.automount \
|
units/dev-mqueue.automount \
|
||||||
units/dev-mqueue.mount \
|
units/dev-mqueue.mount \
|
||||||
units/sys-kernel-config.automount \
|
|
||||||
units/sys-kernel-config.mount \
|
units/sys-kernel-config.mount \
|
||||||
units/sys-kernel-debug.automount \
|
units/sys-kernel-debug.automount \
|
||||||
units/sys-kernel-debug.mount \
|
units/sys-kernel-debug.mount \
|
||||||
|
@ -1842,7 +1841,7 @@ endif
|
||||||
( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
|
( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
|
||||||
rm -f dev-hugepages.automount \
|
rm -f dev-hugepages.automount \
|
||||||
dev-mqueue.automount \
|
dev-mqueue.automount \
|
||||||
sys-kernel-config.automount \
|
sys-kernel-config.mount \
|
||||||
sys-kernel-debug.automount \
|
sys-kernel-debug.automount \
|
||||||
sys-kernel-security.automount \
|
sys-kernel-security.automount \
|
||||||
systemd-vconsole-setup.service \
|
systemd-vconsole-setup.service \
|
||||||
|
@ -1855,7 +1854,7 @@ endif
|
||||||
cryptsetup.target && \
|
cryptsetup.target && \
|
||||||
$(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
|
$(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
|
||||||
$(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
|
$(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
|
||||||
$(LN_S) ../sys-kernel-config.automount sys-kernel-config.automount && \
|
$(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \
|
||||||
$(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
|
$(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
|
||||||
$(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
|
$(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
|
||||||
$(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
|
$(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
|
||||||
|
|
10
TODO
10
TODO
|
@ -13,6 +13,16 @@ Bugfixes:
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
|
* File systems:
|
||||||
|
|
||||||
|
mqueue - boot
|
||||||
|
configfs module boot (order after module load)
|
||||||
|
securityfs - boot
|
||||||
|
binfmt_misc module autofs
|
||||||
|
fuse module udev
|
||||||
|
debug - boot
|
||||||
|
hugepages - boot
|
||||||
|
|
||||||
* introduce sd_log_open() to create a connection to the syslog bridge via sd-daemon.h
|
* introduce sd_log_open() to create a connection to the syslog bridge via sd-daemon.h
|
||||||
|
|
||||||
* when a bus name of a service disappears from the bus make sure to queue further activation requests
|
* when a bus name of a service disappears from the bus make sure to queue further activation requests
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
# This file is part of systemd.
|
|
||||||
#
|
|
||||||
# systemd is free software; you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
|
|
||||||
[Unit]
|
|
||||||
Description=Config File System Automount Point
|
|
||||||
DefaultDependencies=no
|
|
||||||
Before=sysinit.target
|
|
||||||
ConditionPathExists=/sys/kernel/config
|
|
||||||
|
|
||||||
[Automount]
|
|
||||||
Where=/sys/kernel/config
|
|
|
@ -6,8 +6,10 @@
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Config File System
|
Description=Configuration File System
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
ConditionPathExists=/sys/kernel/config
|
||||||
|
After=systemd-modules-load.service
|
||||||
|
|
||||||
[Mount]
|
[Mount]
|
||||||
What=configfs
|
What=configfs
|
||||||
|
|
Loading…
Reference in a new issue