Bug 202120 - sysutils/consolekit: pam_ck_connector.so causes login to crash on i386
Summary: sysutils/consolekit: pam_ck_connector.so causes login to crash on i386
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-06 06:09 UTC by Anindya Mukherjee
Modified: 2023-08-11 14:59 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anindya Mukherjee 2015-08-06 06:09:42 UTC
I can cause /usr/bin/login to segfault in a predictable manner on i386. I discovered this while trying to enable consolekit through pam, by adding the following line in /etc/pam.d/login

session  optional  /usr/local/lib/pam_ck_connector.so debug nox11

After this, any attempt to log in from the text console causes the system to drop me back to the login prompt, and the system log /var/log/messages says that login exited with signal 11.

uname -a:
FreeBSD turing 10.1-RELEASE-p16 FreeBSD 10.1-RELEASE-p16 #0: Tue Jul 28 11:41:12 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

freebsd-version
10.1-RELEASE-p16

I have tested this on multiple i386 machines. The error is also present in 10.2-RC2. I upgraded one of my i386 machines for testing.

The error does not occur on x64 machines. Login is successful, and ck-list-sessions shows an active session on the console, again tested on multiple machines. So it seems an i386 issue.

Hope I was thorough enough. Thanks for looking into it.

Anindya
Comment 1 Xin LI freebsd_committer freebsd_triage 2015-08-25 05:27:14 UTC
This is installed by third party (consolekit), recategorize and assign.
Comment 2 Walter Schwarzenfeld freebsd_triage 2019-02-15 23:35:10 UTC
10.2 is EOL. I think there were some updates of consolekit. Is this still relevant?