FS#53421 - [systemd] Cannot set file attribute for '/var/log/journal/ ...

Attached to Project: Arch Linux
Opened by Pavel (psp) - Wednesday, 22 March 2017, 18:53 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 28 March 2017, 00:33 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Linux 4.9.11-1-ARCH runs during the boot like Swiss clockwork. Versions up including the latest Linux 4.10.4-1-ARCH experience "Cannot set file attribute for '/var/log/journal'..." and strange messages about the space in the log file. There was no change in the configuration of the systems and there is plenty of space on /var on both servers. I have no idea why the problem would start suddenly after package upgrade.

On the servers with identical configuration:
Linux 4.9.11-1-ARCH

systemd[1]: Started Flush Journal to Persistent Storage.
systemd-journald[145]: System journal (/var/log/journal/00000000000000000000000000018124) is 408.1M, max 743.0M, 334.9M free.
systemd[1]: Starting Flush Journal to Persistent Storage...
systemd-journald[145]: System journal (/var/log/journal/00000000000000000000000000018124) is 408.1M, max 743.0M, 334.9M free.
systemd-journald[145]: Journal started

...

systemd[1]: Started Create Volatile Files and Directories.
systemd[1]: Started Rebuild Journal Catalog.
systemd[1]: Starting Rebuild Dynamic Linker Cache...
systemd[1]: Starting Rebuild Journal Catalog...
systemd[1]: Starting Create Volatile Files and Directories...


Linux 4.10.4-1-ARCH

systemd[1]: Started Flush Journal to Persistent Storage.
systemd-journald[155]: System journal (/var/log/journal/00000000000000000000000000018125) is 416.1M, max 416.1M, 0B free.
systemd[1]: Starting Flush Journal to Persistent Storage...
vm18125 systemd-journald[155]: System journal (/var/log/journal/00000000000000000000000000018125) is 416.1M, max 416.1M, 0B free.
systemd-journald[155]: Journal started

...

systemd[1]: Started Create Volatile Files and Directories.
systemd-tmpfiles[224]: Cannot set file attribute for '/var/log/journal/remot
e', value=0x00800000, mask=0x00800000: Operation not supported
systemd-tmpfiles[224]: Cannot set file attribute for '/var/log/journal/00000
000000000000000000000018125', value=0x00800000, mask=0x00800000: Operation not supported
systemd-tmpfiles[224]: Cannot set file attribute for '/var/log/journal', value=0x00800000, mask=0x00800000: Operation not supported
systemd[1]: Starting Rebuild Dynamic Linker Cache...
systemd[1]: Starting Create Volatile Files and Directories...
systemd[1]: Starting Rebuild Journal Catalog...


I have two identical servers (test and production) and apply any upgrades to test server first to see if there are any differences/problems. Waited for one Linux upgrade to see if the problem persists, it does. It also appears on a clean new install from CD iso (Mar 17 edition).

Steps to reproduce:

Upgrade to linux package higher than 4.9.11-1-ARCH or install Arch from CD iso.

Workaround: downgrade to linux package 4.9.11-1-ARCH
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 28 March 2017, 00:33 GMT
Reason for closing:  Upstream
Comment by Riri (chicha) - Monday, 27 March 2017, 14:48 GMT
Hello,

This looks like a systemd/linux 4.10 issue discussed here : https://github.com/systemd/systemd/issues/5607
I do not understand why the issue is closed without a fix though.
Comment by Doug Newgard (Scimmia) - Monday, 27 March 2017, 17:04 GMT
It was closed because it's meaningless. It ties to turn off COW and it fails because the filesystem doesn't support COW. It's a cosmetic issue only.

Loading...