[2017-07-11 03:35] Michael Biebl <bi...@debian.org>
> reopen 867747 
> reassign 867747 initscripts 
> retitle 867747 /var/log/dmesg world-readable despite kernel.dmesg_restrict = 1
> thanks

Interesting. On my system `/var/log/dmesg' is 640, root:adm, which is
quite restrictive. If I run `/etc/init.d/bootlogs' again, it stays so.

But if I remove `/var/log/dmesg' and re-run `/etc/init.d/bootlogs',
`/var/log/dmesg' becomes 644.

I believe adjustment to `/etc/init.d/bootlogs' to check
`kernel.dmesg_restrict' is needed. By the way, any ideas how could I
have 640 `/var/log/dmesg' in first place?

Reply via email to