From: Lennart Poettering Date: Thu, 22 Sep 2011 01:00:04 +0000 (+0200) Subject: units: introduce unit file for FUSE fs X-Git-Tag: v36~30 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef5875d142f01ab4fe8d35412d48c10723ae2d4;p=systemd units: introduce unit file for FUSE fs FUSE and configfs is very very similar, so handle both the same way. --- diff --git a/Makefile.am b/Makefile.am index 3e102a4c..6f90e9c9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -362,6 +362,7 @@ dist_systemunit_DATA = \ units/sys-kernel-config.mount \ units/sys-kernel-debug.mount \ units/sys-kernel-security.mount \ + units/sys-fs-fuse-connections.mount \ units/var-run.mount \ units/media.mount \ units/remount-rootfs.service \ @@ -1840,6 +1841,7 @@ endif sys-kernel-config.mount \ sys-kernel-debug.mount \ sys-kernel-security.mount \ + sys-fs-fuse-connections.mount \ systemd-vconsole-setup.service \ systemd-modules-load.service \ systemd-random-seed-load.service \ @@ -1853,6 +1855,7 @@ endif $(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \ $(LN_S) ../sys-kernel-debug.mount sys-kernel-debug.mount && \ $(LN_S) ../sys-kernel-security.mount sys-kernel-security.mount && \ + $(LN_S) ../sys-fs-fuse-connections.mount sys-fs-fuse-connections.mount && \ $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \ $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \ $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \ diff --git a/TODO b/TODO index 880123d6..2f6358c5 100644 --- a/TODO +++ b/TODO @@ -17,6 +17,10 @@ Bugfixes: Features: +* add an option to make mounts private/shareable and so on, enable this for root by default + +* https://bugzilla.redhat.com/show_bug.cgi?id=727068 + * for socket units don't inherit global stdout setting. * internal restart counter for units (focus on auto-respawn) diff --git a/units/sys-fs-fuse-connections.mount b/units/sys-fs-fuse-connections.mount new file mode 100644 index 00000000..03747153 --- /dev/null +++ b/units/sys-fs-fuse-connections.mount @@ -0,0 +1,18 @@ +# 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=FUSE Control File System +DefaultDependencies=no +ConditionPathExists=/sys/fs/fuse/connections +After=systemd-modules-load.service +Before=sysinit.target + +[Mount] +What=fusectl +Where=/sys/fs/fuse/connections +Type=fusectl