public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icecream] epel9: selinux: fix daemons running as unconfined_service_t
@ 2026-07-30 15:34 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-07-30 15:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/icecream
            Branch : epel9
            Commit : 840a0cef2193704184dbbdd25bc7f8d6a25cf0c3
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2014-12-12T14:04:18+01:00
            Stats  : +7/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/icecream/c/840a0cef2193704184dbbdd25bc7f8d6a25cf0c3?branch=epel9

            Log:
            selinux: fix daemons running as unconfined_service_t

Need to label the shell wrappers used in ExecStart to avoid transition
to unconfined_service_t (from which there's no transition to the proper
daemon domain).

---
diff --git a/icecream.fc b/icecream.fc
index 849c95a..7566fcc 100644
--- a/icecream.fc
+++ b/icecream.fc
@@ -1,5 +1,7 @@
-/usr/sbin/iceccd			--	gen_context(system_u:object_r:iceccd_exec_t,s0)
-/usr/sbin/icecc-scheduler		--	gen_context(system_u:object_r:icecc_scheduler_exec_t,s0)
-/usr/bin/icecc-create-env		--	gen_context(system_u:object_r:iceccd_createenv_exec_t,s0)
-/var/cache/icecream(/.*)?			gen_context(system_u:object_r:iceccd_cache_t,s0)
-/var/run/icecc(/.*)?				gen_context(system_u:object_r:iceccd_var_run_t,s0)
+/usr/sbin/iceccd                           -- gen_context(system_u:object_r:iceccd_exec_t,s0)
+/usr/libexec/icecc/iceccd-wrapper          -- gen_context(system_u:object_r:iceccd_exec_t,s0)
+/usr/sbin/icecc-scheduler                  -- gen_context(system_u:object_r:icecc_scheduler_exec_t,s0)
+/usr/libexec/icecc/icecc-scheduler-wrapper -- gen_context(system_u:object_r:icecc_scheduler_exec_t,s0)
+/usr/bin/icecc-create-env                  -- gen_context(system_u:object_r:iceccd_createenv_exec_t,s0)
+/var/cache/icecream(/.*)?                     gen_context(system_u:object_r:iceccd_cache_t,s0)
+/var/run/icecc(/.*)?                          gen_context(system_u:object_r:iceccd_var_run_t,s0)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-30 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 15:34 [rpms/icecream] epel9: selinux: fix daemons running as unconfined_service_t Michal Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox