severity 601746 normal
thanks

On Fri, 29 Oct 2010, Jan Sievers wrote:

> Package: base-files
> Version: 5lenny7
> Severity: wishlist
> 
> On multi-user machines there can be the need to have /var/run/utmp not
> readable for ordinary users.
> 
> Unfortunately every update of base-files resets the permissions and
> ownership of the file, not respecting any entries in the
> dpkg-statoverride database.
> 
> Please consider respecting dpkg-statoverride for /var/run/utmp (Probably
> even for all files in postinst.in)
> 
> Alternativly the permissions and ownership could be set only, if the
> file was newly created, as this is the case for some files mentioned in
> postinst.in.

That would be a much better solution, as I don't think base-files
should fiddle with dpkg-statoverride.

Please note that you will need to change /etc/logrotate.conf as well.
Otherwise, when rotated, the file would be re-created with undesired
permissions.

There is an interesting thing in logrotate.conf about utmp. It says
"missing ok", so if we are really going to support that the file is
removed, it is definitely not base-files business to re-create on
base-files upgrades.

Therefore, this seems to be a normal bug at least, not wishlist.

Will try to fix this for squeeze. Thanks.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to