Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Commit

Permalink
Remove unneeded system_u seusers mapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
pebenito committed Nov 23, 2016
1 parent c667be7 commit 79f31a0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion config/appconfig-mcs/seusers
@@ -1,3 +1,2 @@
system_u:system_u:s0-mcs_systemhigh
root:root:s0-mcs_systemhigh
__default__:user_u:s0
1 change: 0 additions & 1 deletion config/appconfig-mls/seusers
@@ -1,3 +1,2 @@
system_u:system_u:s0-mls_systemhigh
root:root:s0-mls_systemhigh
__default__:user_u:s0
1 change: 0 additions & 1 deletion config/appconfig-standard/seusers
@@ -1,3 +1,2 @@
system_u:system_u
root:root
__default__:user_u

2 comments on commit 79f31a0

@cgzones
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks cron for me on deban/sid.

With system_u:
Nov 24 19:21:56 raspberrypi systemd[1]: Started Regular background program processing daemon.
Nov 24 19:21:56 raspberrypi cron[673]: (CRON) INFO (pidfile fd = 3)
Nov 24 19:21:56 raspberrypi cron[673]: (CRON) INFO (Skipping @reboot jobs -- not system startup)

Without system_u:
Nov 24 12:02:54 raspberrypi systemd[1]: Started Regular background program processing daemon.
Nov 24 12:02:54 raspberrypi cron[20376]: (CRON) INFO (pidfile fd = 3)
Nov 24 12:02:54 raspberrypi cron[20376]: (system_u) ENTRYPOINT FAILED (/etc/crontab)
Nov 24 12:02:54 raspberrypi cron[20376]: (system_u) ENTRYPOINT FAILED (/etc/cron.d/apticron)
Nov 24 12:02:54 raspberrypi cron[20376]: (CRON) INFO (Skipping @reboot jobs -- not system startup)

I tried to get some clues from https://wiki.gentoo.org/wiki/SELinux/cron but for now i am still running with the system_u login setting.

@cgzones
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your quick response.
That's probably the answer, cron is running with version 3.0pl1-128 from the 03 May 2015.

Please sign in to comment.