FS#40657 - [systemd] please remove 0001-tmpfiles-systemd.conf-fix-ownership-of-network-direc.patch from systemd

Attached to Project: Arch Linux
Opened by blash (blash) - Tuesday, 03 June 2014, 11:48 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 03 June 2014, 15:25 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This patch causes the following errors:

systemd[1]: Starting Network Time Synchronization...
systemd[1]: systemd-timesyncd.service start request repeated too quickly, refusing to start.
systemd[1]: Failed to start Network Time Synchronization.
systemd[1]: Unit systemd-timesyncd.service entered failed state.

systemd-tmpfiles[350]: [/usr/lib/tmpfiles.d/systemd.conf:24] Unknown user 'systemd-network'.
systemd-tmpfiles[350]: [/usr/lib/tmpfiles.d/systemd.conf:25] Unknown user 'systemd-network'.
systemd-tmpfiles[350]: [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown user 'systemd-network'.
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 stat

I tried also to add user and group 'systemd-network'. This solves the second error,
but continues with additional permission errors in /run/systemd/network:

Without this patch everything just works.

Additional info:
* package version(s)
systemd 213-4
* config and/or log files etc.
From: Tom Gundersen <teg@jklm.no>
Date: Mon, 2 Jun 2014 15:05:05 +0200
Subject: [PATCH] tmpfiles: systemd.conf - fix ownership of network directories

---
tmpfiles.d/systemd.conf | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
index 7efab0e..1fce514 100644
--- a/tmpfiles.d/systemd.conf
+++ b/tmpfiles.d/systemd.conf
@@ -21,9 +21,9 @@ d /run/systemd/sessions 0755 root root -
d /run/systemd/users 0755 root root -
d /run/systemd/machines 0755 root root -
d /run/systemd/shutdown 0755 root root -
-d /run/systemd/network 0755 root root -
-d /run/systemd/network/links 0755 root root -
-d /run/systemd/network/leases 0755 root root -
+d /run/systemd/network 0755 systemd-network systemd-network -
+d /run/systemd/network/links 0755 systemd-network systemd-network -
+d /run/systemd/network/leases 0755 systemd-network systemd-network -

m /var/log/journal 2755 root systemd-journal - -
Z /var/log/journal/%m 2755 root systemd-journal - -
--
2.0.0


Steps to reproduce:
Install systemd 213-4 and reboot.
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 03 June 2014, 15:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd-213-5
Comment by Doug Newgard (Scimmia) - Tuesday, 03 June 2014, 13:21 GMT
What version of the filesystem package? Remember, partial updates are not supported.
Comment by Dave Reisner (falconindy) - Tuesday, 03 June 2014, 13:31 GMT
The bug report is correct. Jumped the gun on this while looking for potential backports...
Comment by Doug Newgard (Scimmia) - Tuesday, 03 June 2014, 13:37 GMT
Ah, yeah, I remembered you added the new users to filesystem, but didn't check which ones.

Loading...