[Pkg-systemd-maintainers] Bug#722524: bug script for systemd fails if it doesn't have root permissions

Michael Biebl biebl at debian.org
Thu Sep 12 00:42:39 BST 2013


reassign 722524 init-system-helpers
retitle 722524 i-s-h: make state files readable for regular users
found 722524 1.8
thanks

Am 12.09.2013 01:15, schrieb Michael Biebl:
> Package: systemd
> Version: 204-3
> Severity: important
> 
> When running reportbug as regular user (which hopefully most people do),
> the bug script fails with the following error message
> 
> Gathering additional data, this may take a while...
> head: cannot open '/var/lib/systemd/deb-systemd-helper-enabled/rsyslog.service.dsh-also' for reading: Permission denied
> head: cannot open '/var/lib/systemd/deb-systemd-helper-enabled/atd.service.dsh-also' for reading: Permission denied
> The package bug script /usr/share/bug/systemd exited with an error status (return code = 256). Do you still want to file a report? [y|N|q|?]? y
> 
> 
> The bug script should have a "test -r" or similar before it tries to
> access those files.

On second though, I'd say this is a bug in init-system-helpers. It
should create those files as readable to unpriviledged users. Those
files don't have confidential information which aren't readable anyway
by looking at /etc/systemd/, so I think making those files 644 instead
of 600 is a safe thing to do.

Interestingly enough, looking at
/var/lib/systemd/deb-systemd-helper-enabled, some older files are 644,
newer ones are 600. So this seems to be a recent change.

Thus reassigning to i-s-h.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130912/6fe6368a/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list