FS#31999 - [kdebase-workspace, pambase] Should remove pam_mail.so module from pam config

Attached to Project: Arch Linux
Opened by Davorin Učakar (phantom) - Monday, 15 October 2012, 13:28 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 15 January 2013, 17:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Andrea Scarpino (BaSh)
Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version testbuild (specify!)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 16
Private No

Details

With kdebase-workspace-4.9.2-4 pam rules (/etc/pam.d/kde*) were changed to include standard ones (system-login etc.). Those include pam_mail.so module which causes a message box saying "No mail" to pop up on each KDE login unless one deletes /var/mail/<username> file.

I suggest to revert back to custom /etc/pam.d/kde* without pam_mail.so module.
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 15 January 2013, 17:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  pambase-20130113-1
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 15 October 2012, 23:45 GMT
  • Field changed: Summary ([kdebase-workspace] → [kdebase-workspace] Should remove pam_mail.so module from pam config)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Andrea Scarpino (BaSh), Ronald van Haren (pressh)
@Davorin: Next time, please attach to the right project and set a descriptive title.
Comment by Mike Cloaked (mcloaked) - Tuesday, 16 October 2012, 17:49 GMT
I saw a comment on the arch general list that Pam is taking care of showing whether you have mail or not. In
/etc/pam.d/system-login, comment out this line:

session optional pam_mail.so dir=/var/spool/mail standard

After commenting out this line I don't have the problem in my machine any more! Doing this there is no need to delete the mail spool directory suggested in the original report.

Will there be a fix for this that no longer requires manual intervention to fix this?
Comment by Patrick Smits (PS0) - Monday, 22 October 2012, 10:15 GMT
You could change the line in /etc/pam.d/system-login to:

session optional pam_mail.so dir=/var/spool/mail quiet

Mail messages will then only be shown when there is new mail.
Comment by Andrea Scarpino (BaSh) - Monday, 22 October 2012, 10:22 GMT
IMHO 'nopen' would be better.
Comment by Patrick Smits (PS0) - Monday, 22 October 2012, 10:55 GMT
Keep in mind that this also applies to a console login. Changing 'standard' to 'nopen' would not be a good idea.
Comment by Dave Reisner (falconindy) - Sunday, 13 January 2013, 21:00 GMT
I've added 'quiet' to the system-login file in testing/pambase. 'nopen' is not a reasonable option.

Loading...