Bug 1373008

Summary: httpd does not start after reboot: Failed to create shared memory segment on file /run/httpd/authdigest_shm.1082
Product: [Fedora] Fedora Reporter: Randy Barlow <randy>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: jkaluza, jorton, pahan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-17 19:53:13 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 Randy Barlow 2016-09-04 18:07:42 UTC
Description of problem:
httpd does not start after rebooting on Rawhide, due to a missing /run/httpd folder in the /run tmpfs.


Version-Release number of selected component (if applicable):
# rpm -q httpd
httpd-2.4.23-4.fc25.x86_64


How reproducible:
Every time.


Steps to Reproduce:
1. Install httpd on Rawhide.
2. Configure httpd to be enabled at boot.
3. Reboot.


Actual results:
httpd is not running, and this error is in the logs:

[root@siren ~]# systemctl start httpd
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@siren ~]# tail -n 3 /var/log/httpd/error_log 
[Sun Sep 04 14:06:12.019381 2016] [auth_digest:error] [pid 1490] (2)No such file or directory: AH01762: Failed to create shared memory segment on file /run/httpd/authdigest_shm.1490
[Sun Sep 04 14:06:12.019394 2016] [auth_digest:error] [pid 1490] (2)No such file or directory: AH01760: failed to initialize shm - all nonce-count checking, one-time nonces, and MD5-sess algorithm disabled
[Sun Sep 04 14:06:12.019404 2016] [:emerg] [pid 1490] AH00020: Configuration Failed, exiting


Expected results:
httpd should be able to start automatically after reboot, and should be able to be manually started after a reboot as well.


Additional info:
Manually creating /run/httpd temporarily fixes the problem, but the directory is erased after next boot and the problem returns.

[root@siren ~]# mkdir /run/httpd
[root@siren ~]# systemctl start httpd  # Success!

Comment 1 Fedora Admin XMLRPC Client 2016-10-17 10:42:06 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Randy Barlow 2016-10-17 19:53:13 UTC
I don't know which package fixed it, but recently my Rawhide box that had been doing this stopped having the problem after a dnf upgrade. So thanks to whoever/whatever fixed it ☺