Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34937 - [systemd] Package does not set default ACLs for /var/log/journal

Attached to Project: Arch Linux
Opened by Mantas Mikulėnas (grawity) - Wednesday, 24 April 2013, 18:33 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 25 April 2013, 12:05 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

As of commit a24c64f03f9c5c0304451d8542fee853187a5168, systemd `make install` creates a /var/log/journal and sets "default" ACLs on it, so that all new files will be readable by 'adm' and 'wheel' groups:

+++ b/Makefile.am
>libsystemd-journal-install-hook:
> libname=libsystemd-journal.so && $(move-to-rootlibdir)
> $(MKDIR_P) $(DESTDIR)/var/log/journal
> -chown 0:0 $(DESTDIR)/var/log/journal
> -chmod 755 $(DESTDIR)/var/log/journal
> -setfacl -nm g:adm:rx,d:g:adm:rx $(DESTDIR)/var/log/journal/
> -setfacl -nm g:wheel:rx,d:g:wheel:rx $(DESTDIR)/var/log/journal/

+++ b/README
> It is also recommended to grant read access to all journal
> files to the system groups "wheel" and "adm" with a command
> like the following in the post installation script of the
> package:
>
> # setfacl -nm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal/

The Arch package should do that too.
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 25 April 2013, 12:05 GMT
Reason for closing:  Duplicate
Additional comments about closing:  fs#34321

Loading...