3.2.7 has sync'd from Debian. Debian made the choice to keep `radlast`
installed, even without a `last` command[2]. `wtpmdb` was removed as a
dependency, so component-mismatch is gone. However, shipping a tool that
will always return `not found` isn't ideal either.

Discussion in Debian around `last` and `utmp` in general is found in bug
reports in util-linux[0]. As of now, it looks like Debian won't have a
`last` type command, or a script converting `wtmp` into the `wtmpdb`
`sqlite` setup. FreeRADIUS already dropped everything in commit for the
next release[1]. We're still evaluating if we will take a small delta
for Plucky Puffin, namely removing `usr/bin/radlast` from d/freeradius-
utils.install. it's a small delta that will resolve itself on the next
release of `freeradius` upstream.


[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095490
[1] 
https://github.com/FreeRADIUS/freeradius-server/commit/b0f4123c84a0aeaa6fc393fd5e6fdaa0e0a86eaf
[2]
freeradius (3.2.7+dfsg-1) unstable; urgency=medium

  FreeRADIUS can write a log of logins to the radwtmp database meant to
  be consumed by "last". Unfortunately the format is not year-2038 safe.

  The last implementation provided by the wtmp package can only read
  the new, year-2038 safe format.

  FreeRADIUS will still write the file using the old format, but there is
  currently no implementation in Debian which can read it.

  For now we install the radlast wrapper script, but it will not work
  until the last implementation in Debian can read those old-formatted
  files. See Bug#1094356 and Bug#1095490 for details.

 -- Bernhard Schmidt <[email protected]>  Mon, 10 Feb 2025 23:01:18 +0100

** Bug watch added: Debian Bug tracker #1095490
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095490

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2096611

Title:
  Revert Upstream dependency on wtmpdb last in radlast

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/2096611/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to