Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
nfs-utils.12701
0002-systemd-rpc-statd.service-add-IgnoreOnIsol...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-systemd-rpc-statd.service-add-IgnoreOnIsolate-yes.patch of Package nfs-utils.12701
From bd41471256d5c2abb3312dfe7e84bf3295472392 Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.com> Date: Wed, 28 Nov 2018 14:46:17 +1100 Subject: [PATCH] systemd/rpc-statd.service - add IgnoreOnIsolate=yes If you run systemctl isolate multi-user.target then all services not needed by multi-user.target are stopped. This currently includes rpc-statd, which is a problem. Systemd doesn't know that rpc-statd.service is needed by multi-user.target, or more accurately nfs-client.target, because sometimes it isn't. It is started dynamically by mount.nfs when a v3 or v2 filesystem is mounted (not when v4 is mounted) - so systemd doesn't see the connection. mount units default to IgnoreOnIsolate=yes, as mounts are expected to be left mounted when you run "systemctl isolate ....". As rpc-statd.service is started by a mount, and needed for some mounts, it makes sense for it to declare IgnoreOnIsolate=yes too. With this declaration in place rpc.statd remains running when systemctl isolate multi-user.target is run. Signed-off-by: NeilBrown <neilb@suse.com> --- systemd/rpc-statd.service | 1 + 1 file changed, 1 insertion(+) --- a/systemd/rpc-statd.service +++ b/systemd/rpc-statd.service @@ -6,6 +6,7 @@ Requires=nss-lookup.target rpcbind.socke After=network.target nss-lookup.target rpcbind.socket PartOf=nfs-utils.service +IgnoreOnIsolate=yes [Service] Environment=RPC_STATD_NO_NOTIFY=1
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