Ranjan Maitra via users wrote:
> Thank you to both!
> 
> OK, dealing with the pam first, here is the problem.
> 
>> 
>>> Another point: /etc/pam.d/slim uses pam_console.so that is not
>>> provided (any more ?) on F42.
>> 
>> The pam_console.so was removed from pam in Fedora 39:
>> 
>> https://fedoraproject.org/wiki/Changes/RemovePamConsole
>> https://bugzilla.redhat.com/2166692
>> 
>> The change page even has a link to slim as a dependency:
>> 
>> https://bugzilla.redhat.com/1822229
>> 
>> That was automatically closed as WONTFIX because it was
>> reported in 2020, during the Fedora 33 cycle. :)
>> 
>> Since it's working in Fedora 41, I would take that as sign
>> that dropping that from the slim.pam in the Fedora package
>> won't do any harm and will avoid the warning.
> 
> So, dropping pam, with -DUSEPAM=no, there seems to be a problem in the 
> compilation:

I don't think you want to drop pam support.  Just remove the
pam_console.so line from slim.pam in the Fedora package
source.  It is only that module which was removed.

In other words:

diff --git i/slim.pam w/slim.pam
index e42aba2..f0cd831 100644
--- i/slim.pam
+++ w/slim.pam
@@ -8,5 +8,4 @@ session    optional     pam_keyinit.so force revoke
 session    include     system-auth
 session    required    pam_selinux.so close
 session    required    pam_loginuid.so
-session    optional    pam_console.so
 session    required    pam_selinux.so open

-- 
Todd

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to