I get the following failure logged by syslog every minute: Jul 29 11:27:00 [fcron] pam_loginuid(fcron:session): set_loginuid failed_ The context is following: Jul 29 11:43:00 [fcron] pam_unix(fcron:session): session opened for user aidecoe by (uid=0) Jul 29 11:43:00 [fcron] pam_loginuid(fcron:session): set_loginuid failed_ Jul 29 11:43:00 [fcron] pam_unix(fcron:session): session opened for user aidecoe by (uid=0) Jul 29 11:43:02 [fcron] pam_unix(fcron:session): session closed for user aidecoe - Last output repeated twice - Jul 29 11:44:00 [fcron] pam_loginuid(fcron:session): set_loginuid failed_ Jul 29 11:44:00 [fcron] pam_unix(fcron:session): session opened for user aidecoe by (uid=0) Jul 29 11:44:00 [fcron] pam_loginuid(fcron:session): set_loginuid failed_ Jul 29 11:44:00 [fcron] pam_unix(fcron:session): session opened for user aidecoe by (uid=0) Jul 29 11:44:02 [fcron] pam_unix(fcron:session): session closed for user aidecoe Reproducible: Always
Do you have the audit feature enabled in the kernel? If not, enable it.
Yes, I have it enabled. It is required for some time by other packages. $ zgrep AUDIT /proc/config.gz CONFIG_AUDIT_ARCH=y CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_WATCH=y CONFIG_AUDIT_TREE=y CONFIG_AUDIT_LOGINUID_IMMUTABLE=y CONFIG_NETFILTER_XT_TARGET_AUDIT=m
Ah! loginuid_immutable is the problem. Try disabling that one and let me know.
(In reply to comment #3) > Ah! loginuid_immutable is the problem. Try disabling that one and let me > know. Error no longer appears, but shouldn't fcron respect this setting?
The problem is that it probably started with a different loginuid.