Hi Dirk, On Fri, Apr 04, 2025 at 09:10:42PM +0200, Dirk Lehmann wrote: > On 4/3/25 2:58 PM, Antonio Terceiro wrote: > > I never cared about /run/utmp in itself, but I got used to last(1). > > FWIW, a new implementation of last is now provided by wtmpdb. > > +1 > > great, it looks like that > > * wtmpdb(8) [...] > The program arguments are not fully compatible with Unix equivalent > last(1). I.e. it seems not to be possible to just filter out all > current still active sessions, which should be provided by `last -p` > in the Unix world. Presumably you used 'last -p now' for this? It looks like this would be satisfied by a richer range of accepted time specifications by wtmpdb. Do you want to raise a bug? Worth adding if there is anything else defective (it looks to me that crashed sessions get included, which seems unhelpful). Andrew
Attachment:
signature.asc
Description: PGP signature