Bug 817895 - nfs-lock.service: Wants=remote-fs-pre.target is unecessary
Summary: nfs-lock.service: Wants=remote-fs-pre.target is unecessary
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-01 17:58 UTC by Bill Nottingham
Modified: 2014-03-17 03:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-29 16:18:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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