Bug 785351 - Upgrade of nfs-utils enables services previously disabled in systemctl
Summary: Upgrade of nfs-utils enables services previously disabled in systemctl
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: 16
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-28 10:23 UTC by Steve Bryant
Modified: 2012-03-15 15:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 15:38:40 UTC
Type: ---


Attachments (Terms of Use)

Description Steve Bryant 2012-01-28 10:23:01 UTC
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 15:38:40 UTC
(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.