Bug 127914 - nfslock not running by default in FC3 test 1
nfslock not running by default in FC3 test 1
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: nfs-utils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Steve Dickson
Ben Levenson
:
Depends On:
Blocks: FC3Target FC3BugWeekQA
  Show dependency treegraph
 
Reported: 2004-07-15 06:45 EDT by Joe Orton
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-27 22:18:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Joe Orton 2004-07-15 06:45:47 EDT
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
...
else
        /sbin/chkconfig --add nfs
        /sbin/chkconfig --add nfslock
...
fi

should be $1 -gt 1 I believe; $1 is 1 for the first install of a
package, $2 during an upgrade.
Comment 1 Bill Nottingham 2004-08-05 14:34:31 EDT
if ["$1" -ge 1 ]; ...

is correct for condrestart, as I recall. However, it's supposed to be
in %postun, not %post.
Comment 2 Bill Nottingham 2004-08-10 15:21:50 EDT
Fixed in -31.
Comment 3 Steve Dickson 2004-08-11 11:15:56 EDT
Make that -32 
Comment 4 Jef Spaleta 2004-09-27 22:18:21 EDT
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
Closing.

-jef

Note You need to log in before you can comment on or make changes to this bug.