Bug 907579
Summary: | systemctl start httpd hangs with : systemd-tty-ask-password-agent | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | customercare |
Component: | httpd | Assignee: | Joe Orton <jorton> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | jkaluza, jorton, pahan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
"/usr/lib/systemd/system/httpd.service"
Unit File changed to :
----------------------------------------------------------------------
[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS -k start
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop
PrivateTmp=true
[Install]
WantedBy=multi-user.target
----------------------------------------------------------------------
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-05-10 05:24:06 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: | |
Embargoed: |
Description
customercare
2013-02-04 18:32:02 UTC
BugFix: "/usr/lib/systemd/system/httpd.service" Unit File changed to : ---------------------------------------------------------------------- [Unit] Description=The Apache HTTP Server After=network.target remote-fs.target nss-lookup.target [Service] Type=forking EnvironmentFile=/etc/sysconfig/httpd ExecStart=/usr/sbin/httpd $OPTIONS -k start ExecReload=/usr/sbin/httpd $OPTIONS -k graceful ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop PrivateTmp=true [Install] WantedBy=multi-user.target ---------------------------------------------------------------------- Starts now as expected. Additional Information: After reinstalling httpd 2.4 from scratch, it restarts nicely with the shipped systemd service file. After further investigation, it looks to me, that the systemd_module wasn't included to load on startup, after the FC17/18 upgrade. If i manually disable the systemd_module entry in /etc/httpd/conf.modules.d/00-systemd.conf I get the same result, trying to restart httpd via systemctl . The configs inside conf.modules.d were not loaded in the migrated httpd.conf from httpd 2.2 . I think, that it is safe to assume, that a migrated httpd.conf won't include this dir by default. Which means, without converting it while upgrading the distro, it has to fail for sure. As i don't expect anyone to write a convert script for the yum upgrade process, a hint on the upgrade wiki page https://fedoraproject.org/wiki/Upgrading_Fedora_using_yum#Fedora_17_-.3E_Fedora_18 would be nice. I suggest to resolve this to "can't be fixed", except someone has a very good idea how to update the upgrade process ;) This is somehow expected RPM behaviour. It won't touch your httpd.conf if you have done some changes in it and it creates httpd.conf.rpmnew instead. You should use some tool like rpmconf to merge these files after update or just do it manually. |