From e22574979a17b024166c609b735aaa8b2003375b39ffe443cbe8618fd68030e0 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 24 Sep 2015 02:31:01 +0000 Subject: [PATCH 1/2] - nfsserver.service. Provide ExecReload directive. This allows "systemctl reload nfsserver" to work. PropagatesReloadTo but itself is not enough if this unit doesn't have it's own Reload handler. OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=141 --- nfs-utils.changes | 8 ++++++++ nfsserver.service | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/nfs-utils.changes b/nfs-utils.changes index af96b17..6fdf01b 100644 --- a/nfs-utils.changes +++ b/nfs-utils.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Sep 24 02:29:36 UTC 2015 - nfbrown@suse.com + +- nfsserver.service. Provide ExecReload directive. + This allows "systemctl reload nfsserver" to work. + PropagatesReloadTo but itself is not enough if this + unit doesn't have it's own Reload handler. + ------------------------------------------------------------------- Thu Aug 13 02:36:16 UTC 2015 - nfbrown@suse.com diff --git a/nfsserver.service b/nfsserver.service index 67905fc..028cfdc 100644 --- a/nfsserver.service +++ b/nfsserver.service @@ -11,12 +11,15 @@ Description=Alias for NFS server # nfs-server.d/nfsserver.conf is part of this service. Requires= nfs-server.service -PropagatesReloadTo=nfs-server.service [Service] Type=oneshot ExecStart=/bin/true RemainAfterExit=yes +# Can't just PropagatesReloadTo to nfs-server.service +# as reload fails if we don't have our own ExecReload +# So copy that from nfs-server.service +ExecReload=/usr/sbin/exportfs -r [Install] WantedBy=multi-user.target From a69d337d93b1f38397a0ea0f9d07f439008a269ff8b7b5a35b1e5b313a72c988 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 25 Sep 2015 02:51:53 +0000 Subject: [PATCH 2/2] Add bsc reference This allows "systemctl reload nfsserver" to work. PropagatesReloadTo but itself is not enough if this unit doesn't have it's own Reload handler. (bsc#97296) OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=142 --- nfs-utils.changes | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nfs-utils.changes b/nfs-utils.changes index 6fdf01b..3e55e23 100644 --- a/nfs-utils.changes +++ b/nfs-utils.changes @@ -2,9 +2,10 @@ Thu Sep 24 02:29:36 UTC 2015 - nfbrown@suse.com - nfsserver.service. Provide ExecReload directive. - This allows "systemctl reload nfsserver" to work. - PropagatesReloadTo but itself is not enough if this - unit doesn't have it's own Reload handler. + This allows "systemctl reload nfsserver" to work. + PropagatesReloadTo but itself is not enough if this + unit doesn't have it's own Reload handler. + (bsc#97296) ------------------------------------------------------------------- Thu Aug 13 02:36:16 UTC 2015 - nfbrown@suse.com