You are not logged in.

#1 2022-01-06 12:25:12

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 153

[SOLVED]Cannot set file attributes for '...', maybe due to incompab...

Today the upgrade of "systemd", "systemd-libs" and "systemd-sysvcompat" (250.1-1) shows me these errors:

....
( 6/14) Creating temporary files...
Cannot set file attributes for '/var/log/journal', maybe due to incompatibility in specified attributes, previous=0x10001000, current=0x10001000, expected=0x10801000, ignoring.
Cannot set file attributes for '/var/log/journal/6f58ecce34924bdcbe0fa6e4ce667fee', maybe due to incompatibility in specified attributes, previous=0x00001000, current=0x00001000, expected=0x00801000, ignoring.
Cannot set file attributes for '/var/log/journal/remote', maybe due to incompatibility in specified attributes, previous=0x10001000, current=0x10001000, expected=0x10801000, ignoring.
Cannot set file attributes for '/var/lib/mysql', maybe due to incompatibility in specified attributes, previous=0x10001000, current=0x10001000, expected=0x10801000, ignoring.
( 7/14) Reloading device manager configuration...
....

Should I check something or can I ignore it?

Last edited by j1simon (2022-01-06 16:42:30)

Offline

#2 2022-01-06 12:31:23

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 153

Re: [SOLVED]Cannot set file attributes for '...', maybe due to incompab...

The errors are shown at boot too:

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.

Offline

#3 2022-01-06 16:15:34

seth
Member
Registered: 2012-09-03
Posts: 26,447

Re: [SOLVED]Cannot set file attributes for '...', maybe due to incompab...

0x00800000 is FS_NOCOW_FL - what is not a thing on directories.
Edit except for apparently btrfs - what also seems the only supported FS here. Otherwise you get an error.

Offender is /usr/lib/tmpfiles.d/journal-nocow.conf

Last edited by seth (2022-01-06 16:19:44)

Offline

#4 2022-01-06 16:23:36

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 153

Re: [SOLVED]Cannot set file attributes for '...', maybe due to incompab...

My root filesystem is F2FS (it's a NVMe). So, is it safe delete this file? Or is it better ignore it?

Offline

#5 2022-01-06 16:33:23

seth
Member
Registered: 2012-09-03
Posts: 26,447

Re: [SOLVED]Cannot set file attributes for '...', maybe due to incompab...

You could shadow it in /etc/tmpfiles.d (copy and alter it)

Offline

#6 2022-01-06 16:41:53

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 153

Re: [SOLVED]Cannot set file attributes for '...', maybe due to incompab...

seth wrote:

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".

Offline

#7 2022-01-06 22:09:39

loqs
Member
Registered: 2014-03-06
Posts: 14,439

Re: [SOLVED]Cannot set file attributes for '...', maybe due to incompab...

I thought this had already been addressed in 250.1 by https://github.com/systemd/systemd-stab … 79ecb6d657

Offline

#8 2022-01-06 22:23:10

seth
Member
Registered: 2012-09-03
Posts: 26,447

Re: [SOLVED]Cannot set file attributes for '...', maybe due to incompab...

Offline

#9 2022-01-06 22:35:16

loqs
Member
Registered: 2014-03-06
Posts: 14,439

Re: [SOLVED]Cannot set file attributes for '...', maybe due to incompab...

That would require debug logging to be enabled?

Offline

#10 2022-01-06 22:43:08

seth
Member
Registered: 2012-09-03
Posts: 26,447

Re: [SOLVED]Cannot set file attributes for '...', maybe due to incompab...

On a second look, that line seems also to log the actual errno [edit: and uses different wording], so it's probably not the case and "r == -ENOANO" is hit.
Might be F2FS not returning the proper error and seth hits the Sarcophagus ;-)

Last edited by seth (2022-01-06 22:45:39)

Offline

Board footer

Powered by FluxBB