Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 468798

Summary: sys-auth/pambase-20120417-r1 emits lastlog messages in system-local-login
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] Core systemAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: bugzie, egorov_egor, m.debruijne, nikoli, phantom4
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 468576    
Attachments: pambase-20120417-lastlog-silent.patch

Description Dennis Schridde 2013-05-06 20:55:48 UTC
system-local-login is used by display managers for login, so it should not output lastlog messages. These should be displayed for console logins only.

Attached patch fixes this.

See also: https://bugs.gentoo.org/show_bug.cgi?id=422495#c12

Reproducible: Always
Comment 1 Dennis Schridde 2013-05-06 20:56:49 UTC
Created attachment 347550 [details, diff]
pambase-20120417-lastlog-silent.patch

This patch was also included in KDE overlay as commit 23983c0b56e5619339c85eff017db88536e980c0.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2013-06-15 21:09:58 UTC
Thanks all. Fixed in cvs. Sync in some hours to get the change.

+
+  15 Jun 2013; Johannes Huber <johu@gentoo.org>
+  +files/pambase-20120417-lastlog-silent.patch, +pambase-20120417-r2.ebuild:
+  Revision bump adds patch to make lastlog messages silent by Dennis Schridde
+  <devurandom@gmx.net> wrt bug #468798. Acked by Diego Elio Pettenò
+  <flameeyes@gentoo.org> on irc.
+