[Bug 266899] x11/lightdm: update to 1.32.0 breaks autologin

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 08 Oct 2022 09:06:10 UTC

Guido Falsi <madpilot@FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |madpilot@FreeBSD.org
           Assignee|desktop@FreeBSD.org         |madpilot@FreeBSD.org
             Status|New                         |In Progress
              Flags|maintainer-feedback?(deskto |maintainer-feedback+,
                   |p@FreeBSD.org)              |merge-quarterly+

--- Comment #1 from Guido Falsi <madpilot@FreeBSD.org> ---

Thanks for reporting this here, and good catch.

For a little context, yes, FreeBSD does not have pam_succeed_if as you have

The offending line was added upstream here:


The port was already patching the lightdm-autologin file, but the patch was not
addr4essing this new line added at the top of it. This addition also did not
cause the patching to fail (which could have made the offending change more
easily noticeable).

Removing the line looks like the easiest solution and also mostly correct.

The pam_succeed_if functionality could be emulated using pam_exec(8), but it
looks overkill, IMHO.

I'm going to test a little before committing.

This is eligible to be merged to quarterly too.

You are receiving this mail because:
You are the assignee for the bug.