Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554530 - sys-apps/systemd-222 systemd-tmpfiles-setup.service fails on reiserfs
Summary: sys-apps/systemd-222 systemd-tmpfiles-setup.service fails on reiserfs
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL: https://github.com/systemd/systemd/is...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-11 17:51 UTC by Harris Landgarten
Modified: 2015-07-16 22:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2015-07-11 17:51:42 UTC
systemd-222 still having issues with systemd-tmpfiles-setup failing on boot

Unit systemd-tmpfiles-setup.service has begun starting up.
Jul 11 09:46:55 harrisl-desktop systemd-tmpfiles[5102]: Cannot set file attribute for '/var/log/journal', value=0x00800000, mask=0x00800000: Inappropriate ioctl for device
Jul 11 09:46:55 harrisl-desktop systemd-tmpfiles[5102]: Cannot set file attribute for '/var/log/journal/d95f715e390a4d5b5874f8840006d101', value=0x00800000, mask=0x00800000: Inappropriate ioctl for device
Jul 11 09:46:55 harrisl-desktop systemd-tmpfiles[5102]: Cannot set file attribute for '/var/log/journal/remote', value=0x00800000, mask=0x00800000: Inappropriate ioctl for device
Jul 11 09:46:55 harrisl-desktop systemd[1]: systemd-tmpfiles-setup.service: Main process exited, code=exited, status=1/FAILURE
Jul 11 09:46:55 harrisl-desktop systemd[1]: Failed to start Create Volatile Files and Directories.
-- Subject: Unit systemd-tmpfiles-setup.service has failed

my /var/log/journal is on a reiserfs volume that is mounted with acl option.

I have also tested adding my account and it worked:

getfacl: Removing leading '/' from absolute path names
# file: var/log/journal
# owner: root
# group: systemd-journal
# flags: -s-
user::rwx
user:harrisl:rwx		#effective:r-x
group::r-x
mask::r-x
other::r-x

So acl is working but still errors on startup.

I thought this bug was fixed
Comment 1 Mike Gilbert gentoo-dev 2015-07-11 20:12:41 UTC
It's probably the new entries in /usr/lib/tmpfiles.d/journal-nocow.conf.

Can you try running chattr +C /var/log/journal and see if that reproduces the "Innapropriate ioctl for device" message?
Comment 2 Harris Landgarten 2015-07-11 20:39:21 UTC
chattr +C /var/log/journal
chattr: Inappropriate ioctl for device while reading flags on /var/log/journal
Comment 3 Harris Landgarten 2015-07-11 20:41:00 UTC
note:

/var/log is on a raid 10 array
Comment 4 Mike Gilbert gentoo-dev 2015-07-11 21:02:25 UTC
I opened an issue upstream.
Comment 5 Mike Civil 2015-07-11 21:09:18 UTC
lucy ~ # chattr +C /var/log/journal
chattr: Operation not supported while setting flags on /var/log/journal
lucy ~ # df -T /var/log/journal
Filesystem              Type 1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg02-rootlv xfs  210276028 101202852 109073176  49% /

So not just reiserfs?? This is xfs on raid-1 lvm.
Comment 6 Mike Gilbert gentoo-dev 2015-07-11 21:35:29 UTC
(In reply to Mike Civil from comment #5)

Please move discussion to the upstream issue.