Commit Graph

16 Commits

Author SHA1 Message Date
Jeff Layton
d87e9cb3d6 nfs-utils: fix a number of specfile problems
The package review for RHEL7 turned up a number of problems with the
current nfs-utils specfile. This patch aims to fix most of them:

- Swap out hardcoded paths for macros that are defined for this purpose
- Move the systemd preconfig/postconfig scripts to /usr/libexec
- Fix URL for Source0
- add directives to clean out $RPM_BUILD_ROOT in %install and %clean
- add a %defattr() directive to ensure that all files are owned by root
- get rid bogus %attr() settings on symlinks

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
2013-08-22 14:16:06 -04:00
Steve Dickson
ef189b2be5 Fix nfs server reloads (bz 951247)
Signed-off-by: Steve Dickson <steved@redhat.com>
2013-07-23 14:53:25 -04:00
Steve Dickson
30a12be369 systemd: nfs-server.service needs to be split up (bz 769879)
Signed-off-by: Steve Dickson <steved@redhat.com>
2013-05-07 13:40:49 -04:00
Steve Dickson
a7ffdeede2 Added nfs-lock.service to After line in nfs-server.service (bz 914792)
Signed-off-by: Steve Dickson <steved@redhat.com>
2013-03-25 10:25:21 -04:00
Steve Dickson
905f51b122 Allow the service to start when RPCNFSDCOUNT is comment out. (bz 870143)
Signed-off-by: Steve Dickson <steved@redhat.com>
2012-11-08 09:41:58 -05:00
Steve Dickson
96eb3bcde7 Reworked how the legacy names are enabled in systemd
Signed-off-by: Steve Dickson <steved@redhat.com>
2012-06-22 13:18:35 -04:00
Steve Dickson
0082850883 Enable legacy service names.
Signed-off-by: Steve Dickson <steved@redhat.com>
2012-06-14 09:53:08 -04:00
Steve Dickson
01ad8e0700 Split out NFS server daemons into individual service files (bz 769879)
Signed-off-by: Steve Dickson <steved@redhat.com>
2012-05-15 14:22:42 -04:00
Steve Dickson
b076d24c60 Reworked how the nfsd service requires the rpcbind service (bz 768550)
Signed-off-by: Steve Dickson <steved@redhat.com>
2012-01-16 15:26:48 -05:00
Steve Dickson
84e3666b95 Removed the nfs-idmap service. rpc.idmap is now part of the nfs-server service
Signed-off-by: Steve Dickson <steved@redhat.com>
2011-12-15 11:26:23 -05:00
Steve Dickson
e167f1694e Update to upstream RC release: nfs-utils-1.2.6-rc4
Enabled new idmaping by installing the id_resolver.conf file.

Signed-off-by: Steve Dickson <steved@redhat.com>
2011-12-13 15:58:20 -05:00
Steve Dickson
4240ebbcf5 Ensured nfs-idmap service is started after the DNS is up (bz 748275)
Signed-off-by: Steve Dickson <steved@redhat.com>
2011-11-14 17:16:42 -05:00
Steve Dickson
b6a5bfc39f - Update to upstream RC release: nfs-utils-1.2.6-rc1
- Added named.service to After list in nfs-server.service (bz 742746)

Signed-off-by: Steve Dickson <steved@redhat.com>
2011-10-03 09:25:51 -04:00
Steve Dickson
c1f844827f - Added StandardError=syslog+console to all the service files
so startup errors will be logged.
- Changed exportfs to only log errors on existing /etc/export.d
  directory, which eliminates a needless syslog entry.
- Automount /proc/fs/nfsd for rpc.nfsd

Signed-off-by: Steve Dickson <steved@redhat.com>
2011-08-24 14:38:38 -04:00
Steve Dickson
45233d4087 Fixed some bugs in the triggerun script as well in the
nfs-server scripts (bz 699040).

Signed-off-by: Steve Dickson <steved@redhat.com>
2011-08-10 17:58:42 -04:00
Steve Dickson
67ebcf9f55 - Converted init scrips to systemd services. (bz 699040)
- Made nfsnobody's uid/gid to always be a 16-bit value of -2

Signed-off-by: Steve Dickson <steved@redhat.com>
2011-08-03 06:09:46 -04:00