For F2FS this issue from systemd seems to be related. - https://github.com/systemd/systemd/issues/26318
and it is a problem in filesystem rather than systemd
f2fs's behavior is intentional https://lore.kernel.org/linux-f2fs-deve … gmail.com/ please raise with them that systemd expects an error or with systemd that it is intentional.
Edit:
See also https://git.kernel.org/pub/scm/linux/ke … v6.5#n1000 and https://github.com/systemd/systemd/comm … a6198a24a2
khem wrote:I am on f2fs filesystem as well and 250.3 of systemd, the issue still exists
Have you reported it to the systemd developers? https://github.com/systemd/systemd/issues
For F2FS this issue from systemd seems to be related. - https://github.com/systemd/systemd/issues/26318
and it is a problem in filesystem rather than systemd
I am on f2fs filesystem as well and 250.3 of systemd, the issue still exists
Have you reported it to the systemd developers? https://github.com/systemd/systemd/issues
]]>% systemd-tmpfiles --create --prefix /var/log/journal
Setting access ACL "u::rwx,g::r-x,g:wheel:r-x,g:adm:r-x,m::r-x,o::r-x" on /var/log/journal failed: Operation not permitted
Failed to re-open '/var/log/journal': Operation not permitted
Setting access ACL "u::rwx,g::r-x,g:wheel:r-x,g:adm:r-x,m::r-x,o::r-x" on /var/log/journal/5e3488842ead463ea6a910cd8e28438c failed: Operation not permitted
Failed to re-open '/var/log/journal/5e3488842ead463ea6a910cd8e28438c': Operation not permitted
Failed to re-open '/var/log/journal/remote': Operation not permitted
Setting access ACL "u::rw-,g::r-x,g:wheel:r--,g:adm:r--,m::r--,o::---" on /var/log/journal/5e3488842ead463ea6a910cd8e28438c/system.journal failed: Operation not permitted
You could shadow it in /etc/tmpfiles.d (copy and alter it)
Thanks, I also had to copy/change "/usr/lib/tmpfiles.d/mariadb.conf".
]]>Offender is /usr/lib/tmpfiles.d/journal-nocow.conf
]]>ene 06 13:26:54 juan-PC systemd[1]: Starting Create Volatile Files and Directories...
ene 06 13:26:54 juan-PC systemd-tmpfiles[1143]: Cannot set file attributes for '/var/log/journal', maybe due to incompatibility in specified attributes, previous=0x10001000, current=0x10001000, expected=0x10801000, ignoring.
ene 06 13:26:54 juan-PC systemd-tmpfiles[1143]: Cannot set file attributes for '/var/log/journal/6f58ecce34924bdcbe0fa6e4ce667fee', maybe due to incompatibility in specified attributes, previous=0x00001000, current=0x00001000, expected=0x00801000, ignoring.
ene 06 13:26:54 juan-PC systemd-tmpfiles[1143]: Cannot set file attributes for '/var/log/journal/remote', maybe due to incompatibility in specified attributes, previous=0x10001000, current=0x10001000, expected=0x10801000, ignoring.
ene 06 13:26:54 juan-PC systemd-tmpfiles[1143]: Cannot set file attributes for '/var/lib/mysql', maybe due to incompatibility in specified attributes, previous=0x10001000, current=0x10001000, expected=0x10801000, ignoring.
ene 06 13:26:54 juan-PC systemd[1]: Finished Create Volatile Files and Directories.