Enable legacy service names.

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2012-06-14 09:53:08 -04:00
parent d9bf18f288
commit 0082850883
6 changed files with 10 additions and 1 deletions

View File

@ -2,6 +2,7 @@
Description=NFSv4 ID-name mapping daemon
BindTo=nfs-server.service
After=nfs-server.service
Names=rpcidmapd.service
[Service]
Type=forking

View File

@ -3,6 +3,7 @@ Description=NFS file locking service.
Requires=rpcbind.service network.target
After=network.target named.service rpcbind.service
Before=remote-fs-pre.target
Names=nfslock.service
[Service]
Type=forking

View File

@ -2,6 +2,7 @@
Description=Secure NFS Server
Requires=var-lib-nfs-rpc_pipefs.mount nfs-server.service
After=syslog.target var-lib-nfs-rpc_pipefs.mount nfs-server.service
Names=rpcsvcgssd.service
[Service]
Type=forking

View File

@ -2,6 +2,7 @@
Description=Secure NFS
Requires=var-lib-nfs-rpc_pipefs.mount
After=syslog.target var-lib-nfs-rpc_pipefs.mount
Names=rpcgssd.service
[Service]
Type=forking

View File

@ -3,6 +3,7 @@ Description=NFS Server
Requires=proc-fs-nfsd.mount var-lib-nfs-rpc_pipefs.mount rpcbind.service
Requires=nfs-idmap.service nfs-mountd.service nfs-rquotad.service
After=network.target named.service
Names=nfs.service
[Service]
Type=oneshot

View File

@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser
Name: nfs-utils
URL: http://sourceforge.net/projects/nfs
Version: 1.2.6
Release: 3%{?dist}
Release: 4%{?dist}
Epoch: 1
# group all 32bit related archs
@ -142,6 +142,7 @@ install -m 644 %{SOURCE60} $RPM_BUILD_ROOT/lib/modprobe.d/nfs.conf
for service in %{nfs_services} ; do
install -m 644 $service $RPM_BUILD_ROOT/lib/systemd/system
done
for service in %{nfs_automounts} ; do
install -m 644 $service $RPM_BUILD_ROOT/lib/systemd/system
done
@ -293,6 +294,9 @@ fi
%attr(4755,root,root) /sbin/umount.nfs4
%changelog
* Tue Jun 12 2012 Steve Dickson <steved@redhat.com> 1.2.6-4
- Enable legacy service names.
* Tue May 29 2012 Steve Dickson <steved@redhat.com> 1.2.6-3
- Updated to latest upstream RC release: nfs-utils.1.2.7-rc1