Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cronie + SELinux : NULL security context for user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jack_mort
Apprentice
Apprentice


Joined: 30 Jan 2003
Posts: 167

PostPosted: Tue Apr 28, 2015 9:40 am    Post subject: Cronie + SELinux : NULL security context for user Reply with quote

Hi,

I'm struggling to get cronie working in an SELinux environment.
When users cron jobs are running, I get an error :

Apr 28 11:20:01 gateway crond[21430]: (xxxxx) NULL security context for user, but SELinux in permissive mode, continuing ()
Apr 28 11:20:01 gateway CROND[21439]: (xxxxx) CMD (/usr/bin/fetchmail -a -s > /dev/null 2>&1)

Users crontabs contexts seem fine :
- owned by user
- crontab group
- context is system_u:object_r:user_cron_spool_t

This error is raised for every user having cron jobs, except root.

I'm not sure where to look for. I also tried to play with the cron_userdomain_transition boolean, but it does not seem to change anything.

Has anyone an idea about what could be wrong on my setup ?

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum