Bug 679748 - mod_nss's postinstall script doesn't work properly
Summary: mod_nss's postinstall script doesn't work properly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mod_nss
Version: 5.6
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On: 669963
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-23 12:28 UTC by RHEL Program Management
Modified: 2015-01-04 23:46 UTC (History)
20 users (show)

Fixed In Version: mod_nss-1.0.8-4.el5_6.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-04 07:06:11 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0411 0 normal SHIPPED_LIVE mod_nss bug fix update 2011-04-04 07:06:07 UTC

Description RHEL Program Management 2011-02-23 12:28:59 UTC
This bug has been copied from bug #669963 and has been proposed
to be backported to 5.6 z-stream (EUS).

Comment 4 Rob Crittenden 2011-03-02 17:02:27 UTC
Backported fix to handle upgrades.

Comment 6 Kashyap Chamarthy 2011-03-15 14:15:58 UTC
Verified successfully.

Env:

RHEL 5.6 - x86_64 
mod_nss-1.0.8-4.el5 (picked the build from -brew-)


Verification procedure (as noted by Rob in Errata)

1/ Install mod_nss 1.0.3 
2/ Confirm that only root can read /etc/httpd/alias/*.db 
3/ Upgrade mod_nss 
4/ Confirm that the db files in /etc/httpd/alias/*.db are mode 0640

Result: Database file in /etc/httpd/alias/ are mode 0640
==============================================================================
[root@tornado mod-nss-test-mar152011]# ls
mod_nss-1.0.3-8.el5.x86_64.rpm  mod_nss-1.0.8-4.el5.x86_64.rpm
==============================================================================
[root@tornado mod-nss-test-mar152011]# rpm -ivh mod_nss-1.0.3-8.el5.x86_64.rpm
Preparing...                ########################################### [100%]
   1:mod_nss                ########################################### [100%]

mod_nss certificate database generated.
==============================================================================
[root@tornado mod-nss-test-mar152011]# ll /etc/httpd/alias/
total 128
-rw------- 1 root root 65536 Mar 15 19:18 cert8.db
-rw------- 1 root root  4395 Mar 15 19:18 install.log
-rw------- 1 root root 16384 Mar 15 19:18 key3.db
lrwxrwxrwx 1 root root    32 Mar 15 19:18 libnssckbi.so -> ../../../usr/lib64/libnssckbi.so
-rw------- 1 root root 16384 Mar 15 19:18 secmod.db
==============================================================================
[root@tornado mod-nss-test-mar152011]# ls
mod_nss-1.0.3-8.el5.x86_64.rpm  mod_nss-1.0.8-4.el5.x86_64.rpm
==============================================================================
[root@tornado mod-nss-test-mar152011]# rpm -Uvh mod_nss-1.0.8-4.el5.x86_64.rpm
Preparing...                ########################################### [100%]
   1:mod_nss                ########################################### [100%]
==============================================================================
[root@tornado mod-nss-test-mar152011]# ll /etc/httpd/alias/
total 128
-rw-r----- 1 root apache 65536 Mar 15 19:18 cert8.db
-rw------- 1 root root    4395 Mar 15 19:18 install.log
-rw-r----- 1 root apache 16384 Mar 15 19:18 key3.db
lrwxrwxrwx 1 root root      33 Mar 15 19:19 libnssckbi.so -> ../../..//usr/lib64/libnssckbi.so
-rw-r----- 1 root apache 16384 Mar 15 19:18 secmod.db
==============================================================================
[root@tornado mod-nss-test-mar152011]# 
==============================================================================

Comment 7 errata-xmlrpc 2011-04-04 07:06:11 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0411.html


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