Bug 1158576 - systemctl enable fails for "nfs" due to opening symlink with O_NOFOLLOW
Summary: systemctl enable fails for "nfs" due to opening symlink with O_NOFOLLOW
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 955379 1159308
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-29 16:43 UTC by Benjamin Coddington
Modified: 2016-07-19 12:20 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 12:20:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Benjamin Coddington 2014-10-29 16:43:07 UTC
Since

/usr/lib/systemd/system/nfs.service is a symlink to
/usr/lib/systemd/system/nfs-server.service

the command `systemctl enable nfs` fails with
"Failed to execute operation: No such file or directory"

due to systemd attempting::
open("/usr/lib/systemd/system/nfs.service", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = -1 ELOOP (Too many levels of symbolic links)

This is in:
nfs-utils-1.3.1-1.1.fc22.x86_64

We'll need to either push on
https://bugzilla.redhat.com/show_bug.cgi?id=955379
or change these symlinks:

nfs-idmap.service 
nfs-lock.service 
nfs-secure-server.service 
nfs-secure.service 
nfs.service

I expect there are a number of configuration management processes that will expect to convert seamlessly from 'chkconfig nfs on' to 'systemctl enable nfs'

Comment 1 Jaroslav Reznik 2015-03-03 16:27:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Fedora End Of Life 2016-07-19 12:20:02 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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