Hi Santiago, hi Samuel,

* Santiago Vila <[email protected]> [2026-02-11 02:41]:
[ sorry for the late reply ]

On Mon, Sep 22, 2025 at 04:23:04PM +0200, Chris Hofstaedtler wrote:

The old lastlog program is gone, so TTBOMK it's become impossible to
read the file. With my util-linux+shadow maintainer hats on, I'd
think it'd be better to stop creating the file ASAP.

Ok, assuming we will do this for forky, I have a simple question:

Is the Hurd any different from linux regarding this, or they should be
treated the same?

I used mmdebstrap to boostrap an up to date Hurd and found that it does not write to /var/log/lastlog nor to /var/log/btmp but there is a logwtmp() call here:

https://sources.debian.org/src/hurd/1:0.9.git20251029-4/daemons/runttys.c?hl=311#L311

@Samuel: Do you have more context if /var/log/lastlog and /var/log/btmp are still in use on Hurd?

Also, is the logwtmp() call still needed?

Context is that we want to drop all three on Linux in Forky.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to