Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
nfs-utils.12300
0003-systemd-ensure-nfs-config-service-is-re-ru...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-systemd-ensure-nfs-config-service-is-re-run-as-neede.patch of Package nfs-utils.12300
From c4940fad2a73481cad67732746a4e2bb74e8d32e Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.com> Date: Wed, 16 Mar 2016 12:18:40 -0400 Subject: [PATCH] systemd: ensure nfs-config service is re-run as needed. The nfs-config service translates distro-specific startup configuration into "environment" variable read and used by systemd unit files. Currently it is only run once, so subsequent changes to the distro-specific files do not take effect when an nfs service is restarted. If we change "RemainAfterExit=yes" to "RemainAfterExit=no" then the service will be restarted before any dependant service is started, so the environment file will always be up to date. Reported-and-tested-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Steve Dickson <steved@redhat.com> --- systemd/nfs-config.service | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/systemd/nfs-config.service b/systemd/nfs-config.service index 7f653058f424..4b206b5dced4 100644 --- a/systemd/nfs-config.service +++ b/systemd/nfs-config.service @@ -5,5 +5,9 @@ DefaultDependencies=no [Service] Type=oneshot -RemainAfterExit=yes +# This service needs to run any time any nfs service +# is started, so changes to local config files get +# incorporated. Having "RemainAfterExit=no" (the default) +# ensures this happens. +RemainAfterExit=no ExecStart=/usr/lib/systemd/scripts/nfs-utils_env.sh -- 2.9.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor