Hello Chris,
Am Mon, Sep 16, 2024 at 09:32:10PM +0200 schrieb Chris Hofstaedtler:
> On Mon, Sep 16, 2024 at 07:10:02PM +0000, Helge Kreutzmann wrote:
> > > If you installed just the reader tool, then obviously that won't
> > > magically work.
> > 
> > Well, this is how I understood you. I did not know there is more to it
> > - for util-linux version I simply installed and it worked. I cant ever
> > remember having to configure some background.
> > 
> > And after reading last(1) from wtmb it was exactly why I opened this
> > *wishlist* bug - to make it work like the old one did (which seems
> > sensible to me).
> 
> I can guess a lot what you did or not did, or what you debugged or
> not debugged, or what your system looks like or not. But it's a lot

This is why I try to respond to your e-mails and ask where I'm not
sure. And thanks that you keep at it.

> more productive if you provide a clear reproducer, showing how your
> install differs from a normal setup where it works. Having me guess
> is just a waste of valuable time for both of us.

I'm not intending to waste time, and apologies if it looks like. When
I know what to provide, I do my best to provide it. It's just hard to
diff to a "normal setup", when I have a single machine.

> Anyway, here's my best guess:
> 
> As you as a long-time Debian user will know, the expectation on
> Debian systems is that you install recommended packages. 
> 
> wtmpdb recommends libpam-wtmpdb. libpam-wtmpdb installs the
> necessary PAM module and the configuration for it. If you accepted
> the defaults, it will be automatically enabled. If not, you'll need
> to run pam-auth-update yourself. All of this is standard Debian
> stuff.

Thanks I just installed libpam-wtmpdb. I'll see how the output changes
over the next days. (First experiment - looks good!, but I give it a
reboot cycle to finally confirm).

> The old last(1) worked because various programs had special code to
> write into the file read by last. For wtmpdb, no special code
> exists, but writing the file is handled by libpam-wtmpdb. Without
> libpam-wtmpdb, wtmpdb(8) has no data to show.

Thanks for the explanation. I was not aware of this. 

> If your system is normal and has libpam-wtmpdb installed and the
> config is enabled, then please, provide a reproducer. Otherwise
> please reconsider when you are filing bug reports.

So probably this bug can thus be closed, having libpam-wtmpdb
installed (as is done in the default case) is sufficient.

Thanks again for your help.

Greetings

            Helge

-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature

Reply via email to