Bug 1772303
| Summary: | uwsgi service fails to start after install | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Jon Dufresne <jon.dufresne> |
| Component: | uwsgi | Assignee: | Jorge Gallegos <kad> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | carlwgeorge, kad, tadej.j |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-14 04:10:25 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: | |||
*** This bug has been marked as a duplicate of bug 1687403 *** |
Description of problem: After installing uwsgi, the default systemd configuration fails to start. Version-Release number of selected component (if applicable): uwsgi-2.0.17.1-2.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. yum install uwsgi 2. systemctl start uwsgi Actual results: uwsgi.service is in a failed state. The logs in /var/log/messages show: [uWSGI] getting INI configuration from /etc/uwsgi.ini setting capability setgid [6] setting capability setuid [7] *** Starting uWSGI 2.0.17.1 (64bit) on [Wed Nov 13 23:00:08 2019] *** compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-36) on 08 March 2019 03:58:40 os: Linux-3.10.0-957.12.2.el7.x86_64 #1 SMP Tue May 14 21:24:32 UTC 2019 nodename: web machine: x86_64 clock source: unix pcre jit disabled detected number of CPU cores: 1 current working directory: / writing pidfile to /run/uwsgi/uwsgi.pid open("/run/uwsgi/uwsgi.pid"): No such file or directory [core/utils.c line 3613] Expected results: uwsgi.service starts no problem. Additional info: The directory /run/uwsgi does not exist. Perhaps it should be created with the systemd RuntimeDirectory= features. https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=