/lib/systemd/system/nfs-ganesha-lock.service is in nfs-ganesha 2.6.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # This file is part of nfs-ganesha.
#
# rpc.statd is started by the nfs-lock.service, but that also loads the 'lockd'
# kernel module in 'ExecStartPre'. The 'lockd' kernel module will register
# itself as 'nlockmgr' which conflicts with the nfs-ganesha locking
# implementation.
#
# This unit includes all the nfs-lock.service settings and details, but
# overrides the 'ExecStartPre' and 'ExecStartPost' options.
#
# When this unit is started, the original nfs-lock.service is stopped (due to
# the 'Conflicts' directive). With stopping the nfs-lock.service, 'lockd' gets
# instructed to unregister 'nlockmgr' from the portmapper.
#
# The nfs-ganesha.service depends on this unit.
#
.include /lib/systemd/system/rpc-statd.service
[Unit]
Before=nfs-ganesha.service
Conflicts=nfs-lock.service rpc-statd.service
[Service]
ExecStartPre=
ExecStopPost=
|