Skip to contentSkip to conversation

Move nfs-utils_env.sh to a more appropriate directory

PATCH In review Steve Dickson 1 participant 2 messages Mar 19, 2016 – Apr 27, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Move nfs-utils_env.sh to a more appropriate directory

Currently nfs-utils_env.sh is installed in a directory that is own by systemd. They requested via https://bugzilla.redhat.com/show_bug.cgi?id=1303113
to move the script into /usr/libexec/nfs-utils

---
 systemd/README             | 2 +-
 systemd/nfs-config.service | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
systemd/README +1 -1
index bbd7790..7c43df8 100644
@@ -53,7 +53,7 @@ client and systemd cannot specify is two-pronged reverse dependency.
 (i.e. stop this unit if none of these units are running)
 
 Distro specific commandline configuration can be provided by
-installing a script /usr/lib/systemd/scripts/nfs-utils_env.sh
+installing a script /usr/libexec/nfs-utils/nfs-utils_env.sh
 This should write /run/sysconfig/nfs-utils based on configuration
 information such as in /etc/sysconfig/nfs or /etc/defaults/nfs.
 It is run once by nfs-config.service.
systemd/nfs-config.service +1 -1
index 4b206b5..bd69e84 100644
@@ -10,4 +10,4 @@ Type=oneshot
 # incorporated.  Having "RemainAfterExit=no" (the default)
 # ensures this happens.
 RemainAfterExit=no
-ExecStart=/usr/lib/systemd/scripts/nfs-utils_env.sh
+ExecStart=/usr/libexec/nfs-utils/nfs-utils_env.sh
Signature · 1 line
2.5.0
#1 lore raw
Quoted 6 lines · Steve Dickson

Currently nfs-utils_env.sh is installed in a directory that is own by systemd. They requested via https://bugzilla.redhat.com/show_bug.cgi?id=1303113
to move the script into /usr/libexec/nfs-utils

Committed...

steved.

Quoted 29 lines
---
 systemd/README             | 2 +-
 systemd/nfs-config.service | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
systemd/README +1 -1
index bbd7790..7c43df8 100644
@@ -53,7 +53,7 @@ client and systemd cannot specify is two-pronged reverse dependency.
 (i.e. stop this unit if none of these units are running)
 
 Distro specific commandline configuration can be provided by
-installing a script /usr/lib/systemd/scripts/nfs-utils_env.sh
+installing a script /usr/libexec/nfs-utils/nfs-utils_env.sh
 This should write /run/sysconfig/nfs-utils based on configuration
 information such as in /etc/sysconfig/nfs or /etc/defaults/nfs.
 It is run once by nfs-config.service.
systemd/nfs-config.service +1 -1
index 4b206b5..bd69e84 100644
@@ -10,4 +10,4 @@ Type=oneshot
 # incorporated.  Having "RemainAfterExit=no" (the default)
 # ensures this happens.
 RemainAfterExit=no
-ExecStart=/usr/lib/systemd/scripts/nfs-utils_env.sh
+ExecStart=/usr/libexec/nfs-utils/nfs-utils_env.sh