Bug 8288

Summary: apache-mod_nss has an interactive post
Product: Mageia Reporter: Pascal Terjan <pterjan>
Component: RPM PackagesAssignee: Thomas Spuhler <thomas>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: apache-mod_nss CVE:
Status comment:

Description Pascal Terjan 2012-12-03 22:49:56 CET
I noticed that the rebuild of the distribution was stopped and went to look at it, it turns out that a package was pulling apache-mod_nss and apache-mod_nss is asking a question in %post and waiting forever until you answer...

This should never happem, it breaks automated installation and graphical installations.


[root@chopin 389-admin]# urpmi apache-mod_nss

installing apache-mod_nss-1.0.8-7.mga3.x86_64.rpm from /distrib/cauldron/x86_64/media/core/release
Preparing...                     ##############################################################################################################################################
      1/1: apache-mod_nss        ##############################################################################################################################################

#####################################################################
Generating new server certificate and key database.
#####################################################################
Enter a password which will be used to encrypt your keys.
The password should be at least 8 characters long,
and should contain at least one non-alphabetic character.

Enter new password:
Comment 1 Olivier Blin 2012-12-03 23:17:48 CET
Shouldn't it use %_create_ssl_certificate_helper instead?

CC: (none) => mageia

Thomas Spuhler 2012-12-04 05:16:08 CET

Status: NEW => ASSIGNED

Comment 2 Thomas Spuhler 2012-12-06 04:51:44 CET
I think it's fixed. At least the package installed and created the cert without asking for a password on my VB. 
Can you please test it and I then will do some cleanup in the spec.
BTW, which package requires apache-mod_nss?
I get:
# urpmq --whatrequires apache-mod_nss
389-admin
389-admin
apache-mod_nss
Comment 3 Pascal Terjan 2012-12-06 12:42:09 CET
Thanks
It was when building one of the 389*, not sure when I will be able to try (maybe not before Tuesday)
Comment 4 Thomas Spuhler 2012-12-15 19:02:21 CET
Looks to my it has been resolved. Will close it as fixed

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED