Bug 87953 - "systemd-tmpfiles --create" fails with "chmod(/var/run/samba) failed: No such file or directory" after d7b8eec7
Summary: "systemd-tmpfiles --create" fails with "chmod(/var/run/samba) failed: No such...
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-01 22:05 UTC by Elias Probst
Modified: 2015-01-05 15:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Elias Probst 2015-01-01 22:05:45 UTC
Since d7b8eec7 (http://cgit.freedesktop.org/systemd/systemd/commit/?id=d7b8eec7) 'systemd-tmpfiles --create' fails for two tmpfiles items here simply returning:

chmod(/var/run/samba) failed: No such file or directory

This happens for the following ones:
D /var/run/samba 0755 root root
D /var/run/openvpn 0710 root openvpn -

Running Kernel 3.18.1 and a non-SELinux system.

Besides that, 'systemd-tmpfiles --create' always returns 0, even when there were failures. I'll file a separate bug for this.
Comment 1 Elias Probst 2015-01-01 22:11:35 UTC
Reported returncode issue in #87954
Comment 2 Lennart Poettering 2015-01-05 15:33:53 UTC
Fixed in git.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.