Bug 1245804
| Summary: | Cannot properly enable the nfs-secure service | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Steve Dickson <steved> |
| Component: | nfs-utils | Assignee: | Steve Dickson <steved> |
| Status: | CLOSED ERRATA | QA Contact: | Yongcheng Yang <yoyang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | bfields, chuck.lever, eguan, extras-qa, fs-qe, harshula, jlayton, nos, redhat.bugzilla, steved |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | nfs-utils-1.3.0-0.15.el | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1173564 | Environment: | |
| Last Closed: | 2015-11-19 04:30:01 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: | |||
| Bug Depends On: | 1173564 | ||
| Bug Blocks: | |||
|
Description
Steve Dickson
2015-07-22 20:03:57 UTC
The Fedora commit that fixes the problem
commit a6e040b49c7ffe2a7647b3c4e904ee5d8d8d2d82
Author: Steve Dickson <steved>
Date: Sun Dec 14 13:31:00 2014 -0500
Make sure nfs-client target is enabled (bz 1173564)
Verified with nfs-utils-1.3.0-0.17.el7.x86_64
Maybe we should change the bug summary to be: "Make sure nfs-client target is enabled", since there is nothing related with nfs-secure.service
[root@ibm-x3250m4-07 ~]# rpm -q nfs-utils
nfs-utils-1.3.0-0.13.el7.x86_64
[root@ibm-x3250m4-07 ~]# systemctl is-enabled nfs-client.target
disabled
[root@ibm-x3250m4-07 ~]# rpm -Uvh nfs-utils-1.3.0-0.17.el7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:nfs-utils-1:1.3.0-0.17.el7 ################################# [ 50%]
post 1=2
Cleaning up / removing...
2:nfs-utils-1:1.3.0-0.13.el7 ################################# [100%]
[root@ibm-x3250m4-07 ~]# systemctl is-enabled nfs-client.target
enabled
[root@ibm-x3250m4-07 ~]#
[root@ibm-x3250m4-07 ~]# reboot
Connection to ibm-x3250m4-07.rhts.eng.nay.redhat.com closed by remote host.
Connection to ibm-x3250m4-07.rhts.eng.nay.redhat.com closed.
[root@ibm-x3250m4-07 ~]# systemctl is-enabled nfs-client.target
enabled
[root@ibm-x3250m4-07 ~]# systemctl status nfs-client.target
● nfs-client.target - NFS client services
Loaded: loaded (/usr/lib/systemd/system/nfs-client.target; enabled; vendor preset: disabled)
Active: active since Thu 2015-08-06 15:01:46 CST; 2min 13s ago
Aug 06 15:01:46 ibm-x3250m4-07.rhts.eng.nay.redhat.com systemd[1]: Reached target NFS client services.
Aug 06 15:01:46 ibm-x3250m4-07.rhts.eng.nay.redhat.com systemd[1]: Starting NFS client services.
[root@ibm-x3250m4-07 ~]#
Compare nfs-utils.spec of nfs-utils version 1.3.0-0.15.el7 & 1.3.0-0.14.el7
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[yyc@dhcp-12-138 ~]$ diff rpmbuild.nfs-utils-1.3.0-0.15/SPECS/nfs-utils.spec rpmbuild.nfs-utils-1.3.0-0.14/SPECS/
5c5
< Release: 0.15%{?dist}
---
> Release: 0.14%{?dist}
253a254
>
301,306c302
< echo "post 1=$1"
< if [ $1 -eq 1 ] ; then
< # Initial installation
< /bin/systemctl enable nfs-client.target >/dev/null 2>&1 || :
< /bin/systemctl restart nfs-config >/dev/null 2>&1 || :
< fi
---
> %systemd_post nfs-client.target
344,350d339
< %triggerin -- nfs-utils > 1:1.3.0-0.1
< # reset configuration files and running daemons
< if [ $1 -eq 2 ] ; then
< /bin/systemctl enable nfs-client.target >/dev/null 2>&1 || :
< /bin/systemctl restart nfs-config >/dev/null 2>&1 || :
< fi
<
397,399d385
< * Thu Jul 23 2015 Steve Dickson <steved> 1.3.0-0.15
< - Make sure nfs-client target is enabled (bz 1245804)
<
[yyc@dhcp-12-138 ~]$
Move it to VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2196.html |