Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/default/locale: No such file or directory by cron calls #188

Closed
dmekhov opened this issue Mar 14, 2024 · 2 comments
Closed

/etc/default/locale: No such file or directory by cron calls #188

dmekhov opened this issue Mar 14, 2024 · 2 comments

Comments

@dmekhov
Copy link

dmekhov commented Mar 14, 2024

Hello!

Every hour I see this error in my logs:

2024-03-14T17:17:01.404308+03:00 ERR CRON[2256681]: pam_env(cron:session): Unable to open env file: /etc/default/locale: No such file or directory
2024-03-14T17:17:01.404367+03:00 INFO CRON[2256681]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
2024-03-14T17:17:01.405025+03:00 INFO CRON[2256682]: (root) CMD (cd / && run-parts --report /etc/cron.hourly)
2024-03-14T17:17:01.409664+03:00 INFO CRON[2256681]: pam_unix(cron:session): session closed for user root
2024-03-14T17:22:27.230603+03:00 INFO rsyslogd: -- MARK --

I'm using 4.1.0 version, deployed by helm in k8s, with enabled metrics.

@bokysan
Copy link
Owner

bokysan commented Apr 16, 2024

Hi, are you using Debian or Alpine image? Does this happen with metrics disabled?

@dmekhov
Copy link
Author

dmekhov commented Apr 17, 2024

Hello!

Hi, are you using Debian or Alpine image?

I'm using boky/postfix:v4.1.0 image now with boky/postfix-exporter:latest

Does this happen with metrics disabled?

Yes, disabled metrics - keep this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants