Bug 1000713

Summary: nscd %post were not expanded
Product: [Fedora] Fedora Reporter: Michael S. <misc>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: codonell, fweimer, jakub, law, pfrankli, schwab, spoyarek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-26 02:17:33 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 Michael S. 2013-08-24 13:53:11 UTC
~ $ rpm -q --scripts  nscd
preinstall scriptlet (using /bin/sh):
getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
getent passwd nscd >/dev/null ||
  /usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
		    -c "NSCD Daemon" -u 28 -g nscd nscd
postinstall scriptlet (using /bin/sh):
%systemd_post nscd.service
preuninstall scriptlet (using /bin/sh):
%systemd_preun nscd.service
postuninstall scriptlet (using /bin/sh):
if test $1 = 0; then
  /usr/sbin/userdel nscd > /dev/null 2>&1 || :
fi
%systemd_postun_with_restart nscd.service


$ rpm -q  nscd          
nscd-2.17-13.fc19.x86_64

this make the package unable to be upgraded, without manually fiddling with it.

Comment 1 Siddhesh Poyarekar 2013-08-26 02:17:33 UTC

*** This bug has been marked as a duplicate of bug 999924 ***