Red Hat Bugzilla – Bug 127914
nfslock not running by default in FC3 test 1
Last modified: 2007-11-30 17:10:46 EST
nfslock is not running by default on fresh FC3 test 1 install.
the %post looks wrong:
if [ "$1" -ge 1 ]; then
/etc/rc.d/init.d/rpcidmapd condrestart > /dev/null
/sbin/chkconfig --add nfs
/sbin/chkconfig --add nfslock
should be $1 -gt 1 I believe; $1 is 1 for the first install of a
package, $2 during an upgrade.
if ["$1" -ge 1 ]; ...
is correct for condrestart, as I recall. However, it's supposed to be
in %postun, not %post.
Fixed in -31.
Make that -32
nfslock runs by default on my fc3t2 system and visual inspection
confirms the change in the script to be in %postun in nfs-utils-1.0.6-34