1 |
On Fri, 23 Oct 2020 13:48:53 +0200 |
2 |
netfab <netbox253@××××.eu> wrote: |
3 |
|
4 |
> Try to reemerge sys-libs/pam and sys-auth/pambase, and update any |
5 |
> pam-related configuration : |
6 |
> |
7 |
> https://forums.gentoo.org/viewtopic-t-1116632.html |
8 |
|
9 |
|
10 |
Checking /etc/pam.d/system-auth: |
11 |
|
12 |
auth required pam_env.so |
13 |
auth required pam_unix.so try_first_pass likeauth nullok |
14 |
auth optional pam_permit.so |
15 |
auth required pam_faillock.so preauth |
16 |
auth sufficient pam_unix.so nullok try_first_pass |
17 |
auth [default=die] pam_faillock.so authfail |
18 |
account required pam_unix.so |
19 |
account optional pam_permit.so |
20 |
account required pam_faillock.so |
21 |
password required pam_passwdqc.so config=/etc/security/passwdqc.conf |
22 |
password required pam_unix.so try_first_pass use_authtok nullok sha512 shadow |
23 |
password optional pam_permit.so |
24 |
-session optional pam_libcap.so |
25 |
session required pam_limits.so |
26 |
session required pam_env.so |
27 |
session required pam_unix.so |
28 |
session optional pam_permit.so |
29 |
-session optional pam_elogind.so |
30 |
|
31 |
it is there, I don't think the posisiton (last) is an issue. |
32 |
|
33 |
dbus & elogind are both running: |
34 |
|
35 |
$ ps aux | grep dbus |
36 |
message+ 1294 0.0 0.0 3952 2376 ? Ss 09:19 0:00 /usr/bin/dbus-daemon --system |
37 |
root 1323 0.0 0.0 3880 3136 ? S 09:19 0:00 elogind-daemon |
38 |
|
39 |
One odd thing: If I log in with ssh in then "loginctl list" shows |
40 |
my session as: |
41 |
|
42 |
SESSION UID USER SEAT TTY |
43 |
c2 1024 lembark pts/0 |
44 |
|
45 |
i.e., allocated pts but no "seat". It does not show anything for |
46 |
the console logins via root or my userid. Running "loginctl list" |
47 |
as myself or su gets nothing with only console logins. |
48 |
|
49 |
The problem may be here: |
50 |
|
51 |
# loginctl user-status; |
52 |
Could not get properties: Is a directory. |
53 |
|
54 |
Q: Anyone know what the path checked for user-status would be? |
55 |
|
56 |
Looking at the strace output everything opened was ENOENT or a |
57 |
symlink/file (vs. directory) (see paste, below). |
58 |
|
59 |
Running "loginctl user-status" in a session opened by ssh gets me: |
60 |
|
61 |
$ loginctl user-status; |
62 |
lembark (1024) |
63 |
Since: Mon 2020-10-26 09:45:43 CDT; 7s ago |
64 |
State: active |
65 |
Sessions: *c3 |
66 |
Linger: no |
67 |
Unit: user-1024.slice |
68 |
(ins)lembark@duke:~ $ |
69 |
|
70 |
logind seems to be running, just not for console sessins???? |
71 |
|
72 |
Any suggestions appreciated. |
73 |
|
74 |
|
75 |
emerge-info: <https://pastebin.com/KuGDsWBL> |
76 |
Xorg.0.log: <https://pastebin.com/1b0Wn1D0> |
77 |
strace loginctl: <https://pastebin.com/78F14s8P> |
78 |
|
79 |
-- |
80 |
Steven Lembark |
81 |
Workhorse Computing |
82 |
lembark@×××××××.com |
83 |
+1 888 359 3508 |