systemd-tmpfiles config error
While examining the journal logs i noticed these errors caused in
/usr/lib/tmpfiles.d/systemd.conf
- https://paste.centos.org/view/db50673b
PS: The time seemed to jump back 3hrs back after the hostname change due to misconfigured default RTC setting as reported in https://discord.com/channels/1072614816579063828/12061774623970468342 Replies
For some of these they are not errors. The directory or file has already been created.
Tmpfiles are used to have systemd create items on a booted system. It will attempt to create these on every boot. For somethings like in /run where it's part of ram based filesystem this is needed. For others like in /var this makes sure things are created if they are not there already.
One of the errors you had was setting up the journal. I'm assuming the journal is working for you to grab those logs. Others were for making the symlinks for things from /var to the appropriate places in FHS.
I know what the tmpfiles service and functionality is for, thanks for explaining for other readers though 😉
The errors i'm talking about are these:
Failed to parse ACL "....", ignoring: Invalid argument
Which obviously indicate improper usage of the options in: /usr/lib/tmpfiles.d/systemd.conf
:
Interpreting the intended values one can understand that they are meant to set default ACL's, which due to the errors are not being applied at moment.
No idea if the lack of those ACL's is or will cause problems for the rest of the functionality used in the uBlue/ostree systems, because of layering etc like Bazzite further down...
My guess is that stuff like d:group::r-x
should instead be given like d:g::rx
instead...
Or d:group:adm:r-x
should become d:g:adm:rx
instead, etc etc...
Thus no dash between the r
and x
and use g
instead of group
. 😉
setfacl
does not use dashes in these positions.