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

2013-09-13 Thread Michael Stapelberg
Hi Michael, Michael Biebl writes: >> Should we also chmod 644 existing files in i-s-h's postinst? > > When upgrading i-s-h from older, "buggy" versions. Something along the > lines like > > if dpkg --compare-versions "$2" lt "1.9"; then > # chmod stuff > fi Excellent point. This is done with ht

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

2013-09-12 Thread Michael Biebl
Am 12.09.2013 12:32, schrieb Michael Biebl: > Should we also chmod 644 existing files in i-s-h's postinst? When upgrading i-s-h from older, "buggy" versions. Something along the lines like if dpkg --compare-versions "$2" lt "1.9"; then # chmod stuff fi -- Why is it that all of the instrument

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

2013-09-12 Thread Michael Biebl
Hi, Am 12.09.2013 07:08, schrieb Michael Stapelberg: > Good catch! Our switch to using File::Temp for making the > modifications atomic has caused this — the File::Temp module explicitly > chmods the files to 0600. > > This is fixed in commit > http://anonscm.debian.org/gitweb/?p=collab-maint/ini

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

2013-09-11 Thread Michael Stapelberg
control: tags -1 + pending Hi Michael, Michael Biebl writes: > 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/sy

Bug#722524: bug script for systemd fails if it doesn't have root permissions

2013-09-11 Thread Michael Biebl
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 peop