Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428512 - sys-process/fcron-3.0.6-r2: pam_loginuid(fcron:session): set_loginuid failed_
Summary: sys-process/fcron-3.0.6-r2: pam_loginuid(fcron:session): set_loginuid failed_
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-29 09:45 UTC by Amadeusz Żołnowski (RETIRED)
Modified: 2012-07-29 20:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-07-29 09:45:49 UTC
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
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-29 16:06:52 UTC
Do you have the audit feature enabled in the kernel? If not, enable it.
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-07-29 16:13:20 UTC
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
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-29 16:19:02 UTC
Ah! loginuid_immutable is the problem. Try disabling that one and let me know.
Comment 4 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-07-29 20:22:43 UTC
(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?
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-29 20:26:59 UTC
The problem is that it probably started with a different loginuid.