Bug 817895

Summary: nfs-lock.service: Wants=remote-fs-pre.target is unecessary
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: bfields, jlayton, mschmidt, rvokal, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-29 16:18:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bill Nottingham 2012-05-01 17:58:21 UTC
Description of problem:

The nfs-lock.service file has:

Wants=remote-fs-pre.target

This is superfluous - remote filesystem mounts in fstab will automatically bring this target in where necessary.

Version-Release number of selected component (if applicable):

nfs-utils-1.2.5-14.fc17.x86_64

How reproducible:

100%

Additional info:

This causes network startup to be synchronous in many cases where it's not needed (no network mounts configured)

Comment 1 Michal Schmidt 2012-05-01 18:18:16 UTC
(In reply to comment #0)
> The nfs-lock.service file has:
> 
> Wants=remote-fs-pre.target
> 
> This is superfluous

I agree.

> - remote filesystem mounts in fstab will automatically
> bring this target in where necessary.

Nitpicking: It's actually remote-fs.target that will bring remote-fs-pre.target in if a remote mount is found in /etc/fstab.

This systemd commit added it:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=db1355b1c181a4b1ac277064918d7c794dfb6edd

Note that the commit is present in F17, but it is not in F16.
If needed, I will consider backporting it there too, but I'd prefer putting F16 into low maintenance mode already.

Comment 2 Fedora Update System 2012-05-15 20:21:24 UTC
nfs-utils-1.2.6-0.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/nfs-utils-1.2.6-0.fc17

Comment 3 Fedora Update System 2012-05-17 22:57:01 UTC
Package nfs-utils-1.2.6-0.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nfs-utils-1.2.6-0.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-7979/nfs-utils-1.2.6-0.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-05-29 16:18:52 UTC
nfs-utils-1.2.6-0.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.