Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-08 Thread Sam Hartman
I've read the wiki page. I'm fine with the proposed approach. I note that by including pam_lastlog2.so in a pam-auth-update configuration, other services (gdm, for example) will include lastlog info. The fact that gdm and other display managers do not include pam_lastlog.so suggests that it's u

Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-08 Thread Sven Joachim
On 2024-04-08 15:46 +0200, Chris Hofstaedtler wrote: > To clarify, because I think there is still some ongoing > confusion regarding binary files and binary packages, here a table: > > Debian package name | (primary) file(s) > >

Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-08 Thread Chris Hofstaedtler
* Iker Pedrosa [240408 09:19]: > > >- Did you consider using a systemd service to upgrade from lastlog to > > >lastlog2 data? > > > > No, I did not consider this, as I wasn't aware of any > > implementations for this. Does u-l upstream ship such a service? > > > > Yes, > https://github.co

Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-08 Thread Chris Hofstaedtler
* Colin Watson [240408 10:55]: > On Mon, Apr 08, 2024 at 09:19:09AM +0200, Iker Pedrosa wrote: > > On Sat, Apr 6, 2024 at 11:48 PM Chris Hofstaedtler wrote: > > > util-linux upstream provides three binary objects to be built: > > > - liblastlog2.so > > > - pam_lastlog2.so > > > - lastlog2 (progra

Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-08 Thread Colin Watson
On Mon, Apr 08, 2024 at 09:19:09AM +0200, Iker Pedrosa wrote: > On Sat, Apr 6, 2024 at 11:48 PM Chris Hofstaedtler wrote: > > util-linux upstream provides three binary objects to be built: > > - liblastlog2.so > > - pam_lastlog2.so > > - lastlog2 (program) > > > > Debian's PAM policy says to put P

Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-08 Thread Iker Pedrosa
Hi, On Sat, Apr 6, 2024 at 11:48 PM Chris Hofstaedtler wrote: > Hi, > > * Iker Pedrosa [240403 09:43]: > > Hi Chris, > > > > I have some questions regarding your proposal: > > > >- What is the difference between liblastlog2 and libpam-lastlog2 > >binaries? Upstream util-linux only provi

Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-06 Thread Chris Hofstaedtler
Hi, * Iker Pedrosa [240403 09:43]: > Hi Chris, > > I have some questions regarding your proposal: > >- What is the difference between liblastlog2 and libpam-lastlog2 >binaries? Upstream util-linux only provides one binary (lastlog2) so this >confuses me. util-linux upstream provide

Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-03 Thread Iker Pedrosa
Hi Chris, I have some questions regarding your proposal: - What is the difference between liblastlog2 and libpam-lastlog2 binaries? Upstream util-linux only provides one binary (lastlog2) so this confuses me. - Did you consider using a systemd service to upgrade from lastlog to las

Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-02 Thread Chris Hofstaedtler
Hi everyone, * Chris Hofstaedtler [240330 01:42]: > > So, after some of the current fog clears, src:util-linux could [..] > > > > Does this seem right? I've put everything I know of into this wiki page: https://wiki.debian.org/PamLastlog2 I would invite you all to review / edit it as you s

Re: Bug#1068017: util-linux: please ship liblastlog2 packages

2024-04-02 Thread Colin Watson
On Sat, Mar 30, 2024 at 01:41:40AM +0100, Chris Hofstaedtler wrote: > On Sat, Mar 30, 2024 at 01:32:08AM +0100, Chris Hofstaedtler wrote: > > On Fri, Mar 29, 2024 at 06:02:39PM +0100, Sven Joachim wrote: > > > It seems desirable to ship liblastlog2 in trixie, considering that the > > > /var/log/las

Re: Bug#1068017: util-linux: please ship liblastlog2 packages

2024-03-30 Thread Steve Langasek
On Sat, Mar 30, 2024 at 08:32:40AM +0100, Sven Joachim wrote: > >> So we could either put pam_lastlog2.so into a common-* file from > >> src:pam, or openssh and shadow should switch their setup. > >> What do we all think about that? > > pam should not be adding any modules to common-* that it its

Re: Bug#1068017: util-linux: please ship liblastlog2 packages

2024-03-30 Thread Sven Joachim
On 2024-03-29 20:36 -0700, Steve Langasek wrote: > On Sat, Mar 30, 2024 at 01:41:40AM +0100, Chris Hofstaedtler wrote: >> Hi OpenSSH, shadow Maintainers, >> >> On Sat, Mar 30, 2024 at 01:32:08AM +0100, Chris Hofstaedtler wrote: >> > On Fri, Mar 29, 2024 at 06:02:39PM +0100, Sven Joachim wrote: >>

Re: Bug#1068017: util-linux: please ship liblastlog2 packages

2024-03-29 Thread Steve Langasek
On Sat, Mar 30, 2024 at 01:41:40AM +0100, Chris Hofstaedtler wrote: > Hi OpenSSH, shadow Maintainers, > > On Sat, Mar 30, 2024 at 01:32:08AM +0100, Chris Hofstaedtler wrote: > > On Fri, Mar 29, 2024 at 06:02:39PM +0100, Sven Joachim wrote: > > > It seems desirable to ship liblastlog2 in trixie, co

Re: [Pkg-shadow-devel] Bug#1068017: util-linux: please ship liblastlog2 packages

2024-03-29 Thread Serge E. Hallyn
On Sat, Mar 30, 2024 at 01:41:40AM +0100, Chris Hofstaedtler wrote: > Hi OpenSSH, shadow Maintainers, > > On Sat, Mar 30, 2024 at 01:32:08AM +0100, Chris Hofstaedtler wrote: > > On Fri, Mar 29, 2024 at 06:02:39PM +0100, Sven Joachim wrote: > > > It seems desirable to ship liblastlog2 in trixie, co

Re: Bug#1068017: util-linux: please ship liblastlog2 packages

2024-03-29 Thread Chris Hofstaedtler
Hi OpenSSH, shadow Maintainers, On Sat, Mar 30, 2024 at 01:32:08AM +0100, Chris Hofstaedtler wrote: > On Fri, Mar 29, 2024 at 06:02:39PM +0100, Sven Joachim wrote: > > It seems desirable to ship liblastlog2 in trixie, considering that the > > /var/log/lastlog file is not Y2038-safe and pam in unst