From: Wulf C. Krueger Date: Wed, 20 Apr 2011 20:19:42 +0000 (+0200) Subject: mount: Allow creating mount units for /var/lib/nfs/rpc_pipefs and /proc/fs/nfsd. X-Git-Tag: v25~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af49ec2c7de8698da61114c9e1ddfc8a8b9802c8;p=systemd mount: Allow creating mount units for /var/lib/nfs/rpc_pipefs and /proc/fs/nfsd. Mounting /var/lib/nfs/rpc_pipefs and /proc/fs/nfsd is required by rpcbind and the NFS server respectively. To depend on them being mounted, systemd needs to be allowed to create mount units for both in order to avoid having to implement hacks (mounting in ExecStartPre or using shell scripts). --- diff --git a/src/mount-setup.c b/src/mount-setup.c index 3b97fe4a..db5c2537 100644 --- a/src/mount-setup.c +++ b/src/mount-setup.c @@ -64,9 +64,7 @@ static const MountPoint mount_table[] = { static const char * const ignore_paths[] = { "/selinux", - "/proc/bus/usb", - "/var/lib/nfs/rpc_pipefs", - "/proc/fs/nfsd" + "/proc/bus/usb" }; bool mount_point_is_api(const char *path) {