Bug 87953

Summary: "systemd-tmpfiles --create" fails with "chmod(/var/run/samba) failed: No such file or directory" after d7b8eec7
Product: systemd Reporter: Elias Probst <mail>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.