Bug 1000713 - nscd %post were not expanded
Summary: nscd %post were not expanded
Keywords:
Status: CLOSED DUPLICATE of bug 999924
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-24 13:53 UTC by Michael S.
Modified: 2016-11-24 15:50 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-26 02:17:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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