Bug 1193143
| Summary: | systemd-journal-upload not starting | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Duncan Innes <duncan> | 
| Component: | systemd | Assignee: | systemd-maint | 
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | 
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | johannbg, jsynacek, lnykryn, msekleta, s, systemd-maint, vpavlin, zbyszek | 
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | systemd-216-24.fc21 | Doc Type: | Bug Fix | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-02 15:37:32 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 is a packaging error: systemd-journal-upload was supposed to be in systemd-journal-gateway subpackage. And some parts were (the scripts to create the user, a man page), and some parts were left in the main package by mistake. systemd-journal-gatewayd and systemd-journal-remote and systemd-journal-upload are all moved to systemd-journal-gatewayd subpackage now. (In reply to Duncan Innes from comment #0) > Additional info: If I add the line > --- > User=root You shouldn't do that. There are no known vulnerabilities in those utils, but running as a non-root user provides significant security benefits in case something goes wrong. systemd-216-23.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/systemd-216-23.fc21 Package systemd-216-24.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-216-24.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-4991/systemd-216-24.fc21 then log in and leave karma (feedback). Sorry - won't have access to my Fedora test rig as on holiday until mid April. Will test once back. systemd-216-24.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. | 
Description of problem: systemd-journal-upload doesn't start Version-Release number of selected component (if applicable): systemd-216-20.fc21.x86_64 How reproducible: Every time so far Steps to Reproduce: 1. Create /etc/systemd/system/systemd-journal-upload.service.d/systemd-journal-upload.conf with contents: [Service] ExecStart= ExecStart=/usr/lib/systemd/systemd-journal-upload \ --url=http://localhost \ --save-state=/var/lib/systemd/journal-upload/state 2. systemctl daemon-reload 3. systemctl restart systemd-journal-upload.service Actual results: systemd[1]: systemd-journal-upload.service: main process exited, code=exited, status=217/USER Expected results: Expect process to start properly Additional info: If I add the line --- User=root --- to the end of my /etc/systemd/system/systemd-journal-upload.service.d/systemd-journal-upload.conf file, the process starts up properly. There appears to be no user: systemd-journal-upload as specified in: /usr/lib/systemd/system/systemd-journal-upload.service. I can understand the default unit file not working until a suitable --url flag is specified for the process, but expected other default settings to work OK.