[Bug 522210] New Package for Dogtag PKI: pki-ca
bugzilla at redhat.com
bugzilla at redhat.com
Mon Nov 2 18:56:30 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=522210
--- Comment #12 from John Dennis <jdennis at redhat.com> 2009-11-02 13:56:26 EDT ---
using the 1.3 version from subversion one still cannot successfully remove
installed rpm's
If you try and remove pki components via:
rpm -e `rpm -qa pki-\*`
It fails with:
Shutting down the default instance "/var/lib/pki-ca"
PRIOR to uninstalling the "pki-ca" package:
This machine is missing all PKI subsystems!
error: %preun(pki-ca-1.3.0-3.fc11.noarch) scriptlet failed, exit status 255
The problem seems to be %preun is trying to stop the service but the previously
rpm erased the files /usr/bin/{pkiarch,pkiflavor,pkiname}
Thus this code in the pki-ca init script causes the init script to abort.
if [ ! -x /usr/bin/pkiarch ] ||
[ ! -x /usr/bin/pkiflavor ] ||
[ ! -x /usr/bin/pkiname ]; then
echo "This machine is missing all PKI subsystems!"
exit 255
which then causes %preun to abort, which causes the rpm removal to fail.
Also these files are left behind (these are init scripts and the fact they are
not removed via rpm -e is a very serious packaging failure)
/etc/init.d/pki-ca /etc/init.d/pki-ocsp /etc/init.d/pki-tks
/etc/init.d/pki-kra /etc/init.d/pki-ra
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review
mailing list