Bug#870638: systemd: /var/log/btmp has inconsistent permissions

2017-10-04 Thread Michael Biebl
Control: forwarded -1 https://github.com/systemd/systemd/pull/6997 Control: tags -1 fixed-upstream On Thu, 03 Aug 2017 17:46:49 +0100 Mark Charter wrote: > I suggest that the three sources of file permissions should be made > consistent, for example by changing the permissions in > /usr/lib/tmpf

Bug#870638: systemd: /var/log/btmp has inconsistent permissions

2017-08-04 Thread Mark Charter
At the moment systemd sets the permissions/ownership on /var/log/btmp to 0600 root:utmp (in /usr/lib/tmpfiles.d/var.conf). If all the programs that need to read or write /var/log/btmp are already running with root privileges, then 0600 seems OK, and ownership might as well be root:root. This woul

Bug#870638: systemd: /var/log/btmp has inconsistent permissions

2017-08-04 Thread Michael Biebl
Am 04.08.2017 um 11:27 schrieb Mark Charter: > Michael, > > Thanks for your reply. > > /var/log/btmp should not be world readable because a common cause of > login failures is to give password instead of username, which would > result in passwords being world readable. See Debian bug 341883: >

Bug#870638: systemd: /var/log/btmp has inconsistent permissions

2017-08-04 Thread Mark Charter
Michael, Thanks for your reply. /var/log/btmp should not be world readable because a common cause of login failures is to give password instead of username, which would result in passwords being world readable. See Debian bug 341883: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341883 ssh

Processed: Re: Bug#870638: systemd: /var/log/btmp has inconsistent permissions

2017-08-04 Thread Debian Bug Tracking System
Processing control commands: > tags -1 + moreinfo Bug #870638 [systemd] systemd: /var/log/btmp has inconsistent permissions Added tag(s) moreinfo. -- 870638: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870638 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems _

Bug#870638: systemd: /var/log/btmp has inconsistent permissions

2017-08-04 Thread Michael Biebl
Control: tags -1 + moreinfo Am 03.08.2017 um 18:46 schrieb Mark Charter: > Package: systemd > Version: 232-25+deb9u1 > Severity: normal > > Dear Maintainer, > > When /var/log/btmp is created at installation (by > /var/lib/dpkg/info/base-files.postinst) its permissions are 0660 > (u=rw,g=rw,o=).

Bug#870638: systemd: /var/log/btmp has inconsistent permissions

2017-08-03 Thread Mark Charter
Package: systemd Version: 232-25+deb9u1 Severity: normal Dear Maintainer, When /var/log/btmp is created at installation (by /var/lib/dpkg/info/base-files.postinst) its permissions are 0660 (u=rw,g=rw,o=). When it is (re)created by log file rotation (in /etc/logrotate.conf) its permissions are al