Bug 1222190 - cron job does not send email (error message about pam_kwallet5)
Summary: cron job does not send email (error message about pam_kwallet5)
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Per Jessen
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 15:58 UTC by Freek de Kruijf
Modified: 2024-06-05 14:03 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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