Re: F41 -> F42 (openbox+slim: X does not get started)

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux