summaryrefslogtreecommitdiff
path: root/units/sys-kernel-config.mount
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: link to docs.kernel.org for kernel documentationnl67202022-07-041-1/+1
| | | | | | | https://www.kernel.org/ links to https://docs.kernel.org/ for the documentation. See https://git.kernel.org/pub/scm/docs/kernel/website.git/commit/?id=ebc1c372850f249dd143c6d942e66c88ec610520 These URLs are shorter and nicer looking.
* tree-wide: use html links for kernel docsZbigniew Jędrzejewski-Szmek2022-07-021-1/+1
| | | | Instead of using "*.txt" as reference name, use the actual destination title.
* units: restore sysfs conditions in sys-fs-fuse-connections.mount and ↵Franck Bui2020-11-211-0/+1
| | | | | | | | | | | | | | | sys-kernel-config.mount Commit 42cc2855ba2fe4c6f5d incorrectly removed the condition on sysfs in both sys-fs-fuse-connections.mount and sys-kernel-config.mount. However there are still needed in case modprobe of one of these modules is intentionally skipped (due to lack of privs for example). This patch restores the 2 conditions which should be safe for the common case, since all conditions are only checked after all deps ordered before are complete. Follow-up for 42cc2855ba2fe4c6f5dc863507a1c843611350a0.
* units: wait until some fs modules are entirely loaded before mounting their ↵Franck Bui2020-11-191-2/+8
| | | | | | | | | | | | | | | | | | | | | corresponding filesystem udev requests to start the fs mount units when their respective module is loaded. For that it monitors uevents of type "ADD" for the relevant fs modules. However the uevent is sent by the kernel too early, ie before the init() of the module is called hence before directories in /sys/fs/ are created. This patch workarounds adds "Requires/After=modprobe@<fs-module>.service" to the mount unit, which means that modprobe(8) will be called once the fs module is announced to be loaded. This sounds pointless, but given that modprobe only returns after the initialization of the module is complete, it should workaround the issue. As a side effect, the module will be automatically loaded if the mount unit is started manually. Fixes #17586.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* units: set nodev,nosuid,noexec flags for various secondary API VFSLennart Poettering2019-03-251-0/+1
| | | | | | | A couple of API VFS we mount via .mount units. Let's set the three flags for those too, just in case. This is just paranoia, nothing else, but shouldn't hurt.
* Add SPDX license headers to unit filesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* units: use https for the freedesktop url (#6227)AsciiWolf2017-06-281-1/+1
|
* units: make descriptions of api filesystems less generic (#5914)Zbigniew Jędrzejewski-Szmek2017-05-101-1/+1
| | | All those names were very generic. Fixes #5911.
* units: conditionalize configfs and debugfs with CAP_SYS_RAWIOLennart Poettering2014-07-041-0/+1
| | | | | | | | | We really don't want these in containers as they provide a too lowlevel look on the system. Conditionalize them with CAP_SYS_RAWIO since that's required to access /proc/kcore, /dev/kmem and similar, which feel similar in style. Also, npsawn containers lack that capability.
* units: add reference to new wiki page to all api mount unitsLennart Poettering2013-01-151-0/+1
|
* man: add Documentation= tags to all kinds of missing unitsLennart Poettering2012-06-271-0/+1
|
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-121-2/+2
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* units: drop automount unit for /sys/kernel/debugLennart Poettering2011-09-211-0/+1
| | | | | Since debugfs cannot be compiled as module there's little benefit in having it as autofs mount point.
* units: drop /sys/kernel/config automount unitLennart Poettering2011-09-211-1/+3
| | | | | | | 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.
* units: Add support for automounting configfs, ala debugfs, etc.Bill Nottingham2011-09-201-0/+15