Bug#775447: Does not update or remove /var/log/dmesg

Dmitry Bogatov KAction at debian.org
Tue Aug 6 16:09:34 BST 2019


control: tags -1 +moreinfo

[2015-01-22 15:09] Martin Pitt <mpitt at debian.org>
> part       text/plain                 571
> Control: reassign -1 initscripts 2.88dsf-58
>
> /var/log/dmesg is created by /etc/init.d/bootlogs, i. e. "owned" by
> the initscripts package. I agree with Michael that we shouldn't just
> remove it or otherwise touch it in the systemd package, as that would
> be both rude as well as wrong if initscripts ever changes its
> behaviour.
>
> I think it would be best if initscripts would drop a logrotate snippet
> to clean up old files.

Sorry for late response.

Martin Pitt, I do understand proposal to drop "logrotate snippet". Do
you refer to "savelog" in /etc/init.d/bootlogs? Why would initscripts
drop it?

Dear submitter,

 Generally, it is expected behaviour that purging package leaves its
 logs behind. I have to admit, that figuring out who owns /var/log/dmesg
 is not very oblivious. What about postrm script of bin:initscripts
 printing lists of files that were left behind? Would it be solution for
 you?
-- 
Note, that I send and fetch email in batch, once in a few days.
Please, mention in body of your reply when you add or remove recepients.




More information about the Debian-init-diversity mailing list