[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Hi,

* Iker Pedrosa <ipedrosa@redhat.com> [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 provides three binary objects to be built:
- liblastlog2.so
- pam_lastlog2.so
- lastlog2 (program)

Debian's PAM policy says to put PAM modules into their own package,
thus libpam-lastlog2. liblastlog2.so would go into the
liblastlog2(-0) package. The lastlog2 program either into its own
lastlog2 package, or elsewhere.

>    - 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?

> This way when the distribution is updated to the next
>    version you can also remove the lastlog binary and all its dependencies. In
>    addition, you can use "--disable-lastlog" in shadow to stop building this
>    binary.

Chris


Reply to: