Bug 1241997 - [tmpfiles] Invalid ACLs
Summary: [tmpfiles] Invalid ACLs
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-10 15:22 UTC by Mathieu Bridon
Modified: 2016-07-19 15:17 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 15:17:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mathieu Bridon 2015-07-10 15:22:28 UTC
In my journal, I found the following:

 Jul 10 16:51:30 mathieus-t440s systemd-tmpfiles[147]: Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x": Invalid argument. Ignoring
 Jul 10 16:51:30 mathieus-t440s systemd-tmpfiles[147]: Failed to parse ACL "group:adm:r-x,group:wheel:r-x": Invalid argument. Ignoring
 Jul 10 16:51:30 mathieus-t440s systemd-tmpfiles[147]: Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x": Invalid argument. Ignoring
 Jul 10 16:51:30 mathieus-t440s systemd-tmpfiles[147]: Failed to parse ACL "group:adm:r-x,group:wheel:r-x": Invalid argument. Ignoring

Those ACLs seem to come from the following file:

 $ grep -r "d:group:adm:r-x,d:group:wheel:r-x" /usr/lib/tmpfiles.d/
 /usr/lib/tmpfiles.d/systemd.conf:a+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x
 /usr/lib/tmpfiles.d/systemd.conf:a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x
 $ grep -r "group:adm:r-x,group:wheel:r-x" /usr/lib/tmpfiles.d/
 /usr/lib/tmpfiles.d/systemd.conf:A+ /run/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x
 /usr/lib/tmpfiles.d/systemd.conf:A+ /var/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x

It seems a bit weird that systemd would be providing files that it itself considers invalid. :)

This happens with:

 $ rpm -q systemd
 systemd-219-18.fc22.x86_64

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-07-10 18:12:01 UTC
This happens in the initramfs, where some groups are not defined, and acl parsing fails. Unfortunately the parsing code (libacl) does not return meaningful error codes, so we don't have a way to differentiate between a "non-error" like missing groups, which we would simply ignore, and other errors. Some solution will have to be implemented in systemd upstream to deal with this properly.

Comment 3 Fedora End Of Life 2016-07-19 15:17:26 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.