I was finally able to reproduce it here, despite the lack of more
specific instructions.
$ lxc launch noble n-radius --vm
$ lxc shell n-radius
# apt update && apt install libpam-radius-auth
# vim /etc/pam.d/sudo
Add the following line to the file:
auth sufficient pam_radius_auth.so debug
# cat > /etc/pam_radius_auth.conf << _EOF_
127.0.0.1 secret 3
[::1] secret 3
_EOF_
# echo 'GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} ipv6.disable=1"' >>
/etc/default/grub.d/99-disable-ipv6.cfg
# update-grub
# echo "ubuntu ALL=(ALL:ALL) ALL" > /etc/sudoers.d/support
# passwd ubuntu
Choose an easy password here, like "123".
Reboot the machine, and shell in again:
# su - ubuntu
# sudo true
Type the password, and see the crash.
Now, what I found is that this crash is unrelated to this bug. You can
reproduce it using the version of libpam-radius-auth that's currently in
the archive on Noble *and* Oracular. Plucky has a newer version of the
package, which I haven't tested.
I believe this crash deserves its own separate bug report, and should
probably be fixed before addressing this particular bug.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729
Title:
pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
supported by protocol
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs