I'm using Devuan ASCII (which is more or less Debian 9, Stretch). Now, my /var/log/auth.log has a bunch of these entries:
Jan 6 09:45:01 mybox CRON[20951]: pam_env(cron:session): Unable to open env file: /etc/environment: No such file or directory
Jan 6 09:45:01 mybox CRON[20951]: pam_unix(cron:session): session opened for user root by (uid=0)
which apparently get generated when I su.
- Why is cron/pam_env/pam_unix trying to open that file in the first place, rather than checking whether it exists?
- If they legitimately expect it, why isn't it there?
- What should I do about this?