Bug 785351 - Upgrade of nfs-utils enables services previously disabled in systemctl
Upgrade of nfs-utils enables services previously disabled in systemctl
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: nfs-utils (Show other bugs)
16
x86_64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Steve Dickson
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-28 05:23 EST by Steve Bryant
Modified: 2012-03-15 11:38 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-03-15 11:38:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Steve Bryant 2012-01-28 05:23:01 EST
Description of problem:

Yum upgrade of nfs-utils re-enabled and started the following services which had been manually disabled:
- nfs-idmap.service
- nfs-lock.service

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

nfs-utils-1.2.5-4.fc16.x86_64

How reproducible:

Steps to Reproduce:

1. Running nfs-utils-1.2.5-fc16.x86_64, downgrade to original version in F!^ - 'yum downgrade nfs-utils'.

2. Disable and stop NFS-related services using 'systemctl'.

3. Run 'yum upgrade' to upgrade nfs-utils to current version.
  
Actual results:

The following services are now enabled again although they were explicitly disabled.  After a reboot they will be automatically started (possible security implications?)
- nfs-idmap.service
- nfs-lock.service

Expected results:

Status of existing 'systemctl' services should not be changed.

Additional info:

From 'rpm -q --scripts nfs-utils':
 [ . . . ]
postinstall scriptlet (using /bin/sh):
/bin/systemctl enable nfs-idmap.service >/dev/null 2>&1 || :
/bin/systemctl enable nfs-lock.service >/dev/null 2>&1 || :
 [ . . . ]
Comment 1 Steve Dickson 2012-03-15 11:38:40 EDT
(In reply to comment #0)
> Description of problem:
> 
> Yum upgrade of nfs-utils re-enabled and started the following services which
> had been manually disabled:
> - nfs-idmap.service
> - nfs-lock.service
> 
> Version-Release number of selected component (if applicable):
> 
> nfs-utils-1.2.5-4.fc16.x86_64
> 
> How reproducible:
> 
> Steps to Reproduce:
> 
> 1. Running nfs-utils-1.2.5-fc16.x86_64, downgrade to original version in F!^ -
> 'yum downgrade nfs-utils'.
> 
> 2. Disable and stop NFS-related services using 'systemctl'.
> 
> 3. Run 'yum upgrade' to upgrade nfs-utils to current version.
> 
> Actual results:
> 
> The following services are now enabled again although they were explicitly
> disabled.  After a reboot they will be automatically started (possible security
> implications?)
> - nfs-idmap.service
> - nfs-lock.service
These services are needed for NFS mounts to work correctly. If they are not started all NFS mounts will hang or fail.

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