Bug#1094921: sysvinit-core: does not write entries to wtmpdb
Andrew Bower
andrew at bower.uk
Sun Feb 2 16:16:29 GMT 2025
Mark,
On Sat, Feb 01, 2025 at 08:32:28PM +0000, Mark Hindley wrote:
> On Sat, Feb 01, 2025 at 08:23:51PM +0000, Mark Hindley wrote:
> > Andrew,
> >
> > I suppose adding something in initscripts might be possible.
>
> Actually, is there a reason why this or something similar should be included in
> wtmpdb itself?
Your initscript works nicely, thanks! Validation for your translator?
Any reason to think anything is missing? I haven't written these sort of
non-daemon initscripts myself.
With commit 32a4d9da9cbeb846c1a6f380fec736eb0b51ab61:
https://salsa.debian.org/abower/wtmpdb/-/commits/sysvinit-booting
$ last -10
andy tty7 :0 Sun Feb 2 15:21 - still logged in
lightdm tty7 :0 Sun Feb 2 15:20 - 15:21 (00:00)
reboot system boot 6.12.10-amd64 Sun Feb 2 15:20 - still running
andy tty7 :0 Sun Feb 2 15:19 - 15:19 (00:00)
lightdm tty7 :0 Sun Feb 2 15:19 - 15:19 (00:00)
reboot system boot 6.12.10-amd64 Sun Feb 2 15:18 - 15:19 (00:00)
s-reboot system boot 6.12.10-amd64 Sun Feb 2 15:17 - 15:18 (00:00)
andy pts/13 Sun Feb 2 14:00 - 14:00 (00:00)
root pts/13 Sun Feb 2 14:00 - 14:00 (00:00)
nobody Sun Feb 2 07:48 - 07:48 (00:00)
/var/lib/wtmpdb/wtmp.db begins Sun Feb 2 07:48:24 2025
Shall we go with this?
Thank you both for your suggestions for this bug,
Andrew
More information about the Debian-init-diversity
mailing list