Bug 1311392

Summary: Installing mod_nss creates empty file /0
Product: [Fedora] Fedora Reporter: Jan Pazdziora <jpazdziora>
Component: mod_nssAssignee: Matthew Harmsen <mharmsen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jpazdziora, mharmsen, rcritten
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mod_nss-1.0.12-2.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-05 06:23:39 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:

Description Jan Pazdziora 2016-02-24 07:23:57 UTC
Description of problem:

When mod_nss package is installed, new empty file /0 is created, not owned by the package.

Version-Release number of selected component (if applicable):

mod_nss-1.0.12-1.fc23.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. dnf install -y httpd # so that we have all the dependencies and we know that the next dnf install will only install that one mod_nss package
2. ls -l /0 # check that it says ls: cannot access /0: No such file or directory

3. dnf install -y mod_nss
4. ls -l /0

Actual results:

-rw-------. 1 root root 0 Feb 24 02:20 /0

Expected results:

ls: cannot access /0: No such file or directory

Additional info:

I don't see it happening with mod_nss-1.0.11-6.el7.x86_64 and mod_nss-1.0.11-6.fc22.x86_64, therefore marking as regression.

Comment 1 Rob Crittenden 2016-02-24 13:18:37 UTC
And so it does. This file isn't owned by mod_nss which leads me to believe that gencert is creating it during %post.

Comment 2 Jan Pazdziora 2016-02-24 13:21:47 UTC
It seems like the line

    if [ $# > 0 ]; then

in /usr/sbin/gencert could be causing it.

Comment 3 Rob Crittenden 2016-02-24 14:26:07 UTC
It occurs again later as well when comparing $SNI.

Comment 4 Fedora Update System 2016-02-24 18:03:42 UTC
mod_nss-1.0.12-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bba8a566b1

Comment 5 Fedora Update System 2016-02-26 02:24:06 UTC
mod_nss-1.0.12-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-bba8a566b1

Comment 6 Fedora Update System 2016-03-05 06:23:36 UTC
mod_nss-1.0.12-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.