Bug 1222190

Summary: cron job does not send email (error message about pam_kwallet5)
Product: [openSUSE] openSUSE Tumbleweed Reporter: Freek de Kruijf <freek>
Component: OtherAssignee: Per Jessen <per>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Freek de Kruijf 2024-03-31 15:58:47 UTC
I do not get email from cron jobs anymore.
journalctl -u cron.service shows error message:

pam_kwallet5(crond:session): pam_kwallet5: not a graphical session, skipping. Use force_run parameter to ignore this.
Comment 1 Freek de Kruijf 2024-06-05 14:03:47 UTC
(In reply to Freek de Kruijf from comment #0)
> I do not get email from cron jobs anymore.
> journalctl -u cron.service shows error message:
> 
> pam_kwallet5(crond:session): pam_kwallet5: not a graphical session,
> skipping. Use force_run parameter to ignore this.

Receiving email from cronjobs is OK. Still get the error messages in the journal. It can be prevented by having a file /etc/pam.d/login with content:

auth    optional        pam_kwallet5.so
session optional        pam_kwallet5.so auto_start force-run