You are not logged in.

#1 2024-09-10 21:37:25

vcpd1
Member
From: Moscow, RU
Registered: 2024-09-10
Posts: 8

Error when updating systemd

After updating systemd via

$ sudo pacman -Syu

pacman post-transaction hooks shows an error

Cannot set file attributes for '/var/log/journal', maybe due to incompatibility in specified attributes, previous=0x00000004, current=0x00000004, expected=0x00800004, ignoring.
Cannot set file attributes for '/var/log/journal/c28d5ddc7ad647d584992f79cdcaf32c', maybe due to incompatibility in specified attributes, previous=0x00000004, current=0x00000004, expected=0x00800004, ignoring.
Cannot set file attributes for '/var/log/journal/remote', maybe due to incompatibility in specified attributes, previous=0x00000004, current=0x00000004, expected=0x00800004, ignoring.

What should I do in this situation? I didn't found anything related in journalctl. Also I can attach archinstall log file but I don't think it's related to it. Thanks in advance for answers!


01001001 00100000 01110101 01110011 01100101 00100000 01000001 01110010 01100011 01101000 00100000 01100010 01110100 01110111

Offline

#2 2024-09-10 21:41:59

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,534
Website

Re: Error when updating systemd

Which files system is this on? yikes

Offline

#3 2024-09-10 21:50:41

vcpd1
Member
From: Moscow, RU
Registered: 2024-09-10
Posts: 8

Re: Error when updating systemd

gromit wrote:

Which files system is this on? yikes

It's a btrfs filesystem with LUKS on top of if and LVM on top of LUKS

# /dev/mapper/ArchinstallVg-root
UUID=1deaf0ed-6873-44e5-8375-c2c98e3e1fb8	/         	btrfs     	rw,relatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/@	0 0

# /dev/mapper/ArchinstallVg-root
UUID=1deaf0ed-6873-44e5-8375-c2c98e3e1fb8	/home     	btrfs     	rw,relatime,compress=lzo,discard=async,ssd,space_cache=v2,subvolid=257,subvol=/@home	0 0

# /dev/mapper/ArchinstallVg-root
UUID=1deaf0ed-6873-44e5-8375-c2c98e3e1fb8	/var/log  	btrfs     	rw,relatime,compress=lzo,discard=async,ssd,space_cache=v2,subvolid=258,subvol=/@log	0 0

# /dev/mapper/ArchinstallVg-root
UUID=1deaf0ed-6873-44e5-8375-c2c98e3e1fb8	/var/cache/pacman/pkg	btrfs     	rw,relatime,compress=lzo,discard=async,ssd,space_cache=v2,subvolid=259,subvol=/@pkg	0 0

# /dev/mapper/ArchinstallVg-root
UUID=1deaf0ed-6873-44e5-8375-c2c98e3e1fb8	/.snapshots	btrfs     	rw,relatime,compress=lzo,discard=async,ssd,space_cache=v2,subvolid=260,subvol=/@.snapshots	0 0

# /dev/nvme0n1p1
UUID=C17C-A4E3      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2

Last edited by vcpd1 (2024-09-10 21:53:21)


01001001 00100000 01110101 01110011 01100101 00100000 01000001 01110010 01100011 01101000 00100000 01100010 01110100 01110111

Offline

#4 2024-09-11 06:00:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: Error when updating systemd

Google has only two other hits at https://git.seblu.net/archlinux/linux-s … s/1045/raw and https://git.seblu.net/archlinux/linux-s … s/1041/raw where it's coming from teh tempfiles hook.

/usr/lib/tmpfiles.d/journal-nocow.conf tries to no-cow the paths. so I'll just guess that's where it's coming from (and the FS fits)

getfattr /var/log/journal

Offline

#5 2024-09-11 06:09:20

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Error when updating systemd

vcpd1 wrote:

It's a btrfs filesystem with LUKS on top of if and LVM on top of LUKS

Lolwut? Why are you using btrfs and LVM? Possibly irrelevant to the problem in hand but that seems pointless.

Have you tried a scrub on the btrfs filesystem? Does it show any errors?


Jin, Jîyan, Azadî

Offline

#6 2024-09-11 06:14:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: Error when updating systemd

LVM provides mdadm (like, apparently it's literally a re-use of that implementation) - something that once caught me by stunning surpise, too.
https://wiki.archlinux.org/title/LVM#RAID

Offline

#7 2024-09-11 08:02:56

vcpd1
Member
From: Moscow, RU
Registered: 2024-09-10
Posts: 8

Re: Error when updating systemd

Thank you for answers! I will check the wiki about filesystems and edit partitions properly


01001001 00100000 01110101 01110011 01100101 00100000 01000001 01110010 01100011 01101000 00100000 01100010 01110100 01110111

Offline

Board footer

Powered by FluxBB