Bug 1193387

Summary: Unable to enable nfs.service on boot
Product: Red Hat Enterprise Linux 7 Reporter: Tytus Kurek <tytus.kurek>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED DUPLICATE QA Contact: Yongcheng Yang <yoyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: eguan, tytus.kurek, yoyang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-18 08:55:00 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 Tytus Kurek 2015-02-17 09:55:55 UTC
Description of problem:

I am unable to enable nfs.service on boot using the "systemctl" tool.

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

[root@scloudnfs01 ~]# rpm -qa | grep nfs
libnfsidmap-0.25-9.el7.x86_64
nfs-utils-1.3.0-0.el7.x86_64
[root@scloudnfs01 ~]# uname -a
Linux scloudnfs01.cam.ppc.pega.com 3.10.0-123.20.1.el7.x86_64 #1 SMP Wed Jan 21 09:45:55 EST 2015 x86_64 x86_64 x86_64 GNU/Linux
How reproducible:

Easily reproducible (100%)

Steps to Reproduce:
1. Install RHEL 7 64-bit
2. Install nfs-utils package
3. Attempt to enable nfs.service on boot

Actual results:

[root@scloudnfs01 ~]# systemctl enable nfs
Failed to issue method call: No such file or directory
[root@scloudnfs01 ~]# systemctl is-enabled nfs
disabled

Expected results:

[root@scloudnfs01 ~]# systemctl enable nfs
[root@scloudnfs01 ~]# systemctl is-enabled nfs
enabled

Additional info:

Can provide at any time.

Comment 2 Steve Dickson 2015-06-25 14:46:44 UTC
This problem is because of this bug in systemd
   https://bugzilla.redhat.com/show_bug.cgi?id=1159308

Waiting on movement on that.

Comment 3 Steve Dickson 2015-06-25 14:48:45 UTC
The workaround is to enable/disable nfs-server