Bug 1186674
Summary: | Failed to create directory /var/lock/ejabberdctl: No such file or directory | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vladislav Grigoryev <vg.aetera> |
Component: | ejabberd | Assignee: | Randy Barlow <randy> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | erlang, jkaluza, lemenkov, martin, randy, rbarlow, vg.aetera |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ejabberd-17.01-2.fc26 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-20 15:09: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: | |
Embargoed: |
This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Also affects ejabberd-16.01-5.fc24.x86_64 on Fedora 24. This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'. Hello ArcFi! I see that /var/lock/ejabberdctl is still used in /usr/lib/tmpfiles.d/ejabberd.conf, but I do not see errors listed in the journal about it in Fedora 25. Does that mean this is no longer a problem (maybe something in Fedora 25 made it OK to reference /var/lock again)? It looks like /var/lock is a symlink to /run/lock, so I bet it will work either way. However, switching the file to say /run instead of /var is very easy so I will make the change. It appears that the /run/lock/ejabberd folder is not used on my Rawhide ejabberd server. I do not have an F24 or F25 ejabberd installation to test with, so I will not assume it isn't needed there either. I think this is what I will do: Rawhide: Stop shipping /usr/lib/tmpfiles.d/ejabberd.conf F24/25: s/var/run/ in /usr/lib/tmpfiles.d/ejabberd.conf just in case it is needed. |
Description of problem: > # journalctl -lu systemd-tmpfiles-setup.service -b > systemd-tmpfiles[1493]: Failed to create directory /var/lock/ejabberdctl: No such file or directory > systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE > systemd[1]: Failed to start Create Volatile Files and Directories. > systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state. > systemd[1]: systemd-tmpfiles-setup.service failed. Incorrect path in "/usr/lib/tmpfiles.d/ejabberd.conf". Use "/run/lock/ejabberdctl" instead of "/var/lock/ejabberdctl". Version-Release number of selected component (if applicable): ejabberd-14.07-6.fc21.x86_64 systemd-216-17.fc21.x86_64 How reproducible: Always. Actual results: # cat /usr/lib/tmpfiles.d/ejabberd.conf d /var/lock/ejabberdctl 0750 ejabberd ejabberd Expected results: # cat /usr/lib/tmpfiles.d/ejabberd.conf d /run/lock/ejabberdctl 0750 ejabberd ejabberd