Summary: | kde-base/kdebase-pam-9: message box pops up on KDM login displaying "Last login: ..." text | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pavel Volkov <ao> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugzie, casta, denys.duchier, ibuyandtrade0+bugs.gentoo.org, josef64, l33tmmx, Martin.vGagern, nikoli, phantom4, polynomial-c, s2x0nl902, sebastian.rose, teidakankan |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=473678 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 468798 | ||
Bug Blocks: | 469836 |
Description
Pavel Volkov
2013-05-04 13:24:54 UTC
I will post related files. system-local-login: auth include system-login account include system-login password include system-login session include system-login system-login: auth required pam_tally2.so onerr=succeed auth required pam_shells.so auth required pam_nologin.so auth include system-auth account required pam_access.so account required pam_nologin.so account include system-auth account required pam_tally2.so onerr=succeed password include system-auth session optional pam_loginuid.so session required pam_env.so session optional pam_lastlog.so session include system-auth -session optional pam_systemd.so session optional pam_motd.so motd=/etc/motd session optional pam_mail.so system-auth: auth required pam_env.so auth required pam_unix.so try_first_pass likeauth nullok auth optional pam_permit.so account required pam_unix.so account optional pam_permit.so password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 password required pam_unix.so try_first_pass use_authtok nullok sha512 shadow password optional pam_permit.so session required pam_limits.so session required pam_env.so session required pam_unix.so session optional pam_permit.so rebuild pambase with USE="minimal" or edit /etc/pam.d/system-login > session optional pam_lastlog.so silent https://bugs.gentoo.org/show_bug.cgi?id=422495 I have the same behaviour with kde-base/kdebase-pam-9 When I use the line session optional pam_lastlog.so silent there is still one info-Popup which stops the kde login until clicking ok. So I downgraded to kde-base/kdebase-pam-7. I am really wondering, who made these messages which blocks the loading of the desktop. Please load the desktop and show the messages in a sepearate area (window, plasma, what else). Blocking the loading of the desktop is a "hit an the users face" in my opinion. I can confirm, the same annoying dialog box pops up as described in bug #422495. Please fix ASAP. This is very annoying. Can we please get this fixed in a reasonable timeframe? Please test >=sys-auth/pambase-20120417-r2, if this fixes the problem. Tested, it's ok now. It indeed fixes kdm login. But now, no more last-login notice when login with ssh. Sounds like a regression to me. (In reply to Guillaume Castagnino from comment #8) > It indeed fixes kdm login. But now, no more last-login notice when login > with ssh. Sounds like a regression to me. ago@devil ~ $ ssh root@192.168.1.5 Last login: Sun Jun 16 23:21:54 2013 from 192.168.1.100 arcadia ~ # This is fine here, check your sshd_config OK, I get it: the last login when logging in with ssh was previously printed by PAM. Now it's no more due to this change in pambase-20130414-r2. To have the lastlog printed, I have to either switch "PrintLastLog" on in sshd_config OR add "session optional pam_lastlog.so" to /etc/pam.d/sshd (not both, unless I want to see the lastlog message twice). But if I'm not mistaken, none of those 2 options are enabled by default when having USE=pam. But it seems it's fine when having USE=-pam. OK, so I think I will open a new bug on openssh asking to change /etc/pam.d/sshd just like /etc/pam.d/login was in the last pambase... :) (In reply to Johannes Huber from comment #6) > Please test >=sys-auth/pambase-20120417-r2, if this fixes the problem. Fixes the “Last login” message, but the “You have … mail” message remains. Please also remove pam_mail.so and consistently add it in those places where you'd also use the non-silent pam_lastlog.so. (In reply to Martin von Gagern from comment #11) > (In reply to Johannes Huber from comment #6) > > Please test >=sys-auth/pambase-20120417-r2, if this fixes the problem. > > Fixes the “Last login” message, but the “You have … mail” message remains. > Please also remove pam_mail.so and consistently add it in those places where > you'd also use the non-silent pam_lastlog.so. Please report a new bug about the mail issue against sys-auth/pambase. |