public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/icecream] epel9: selinux: fix daemons running as unconfined_service_t
Date: Thu, 30 Jul 2026 15:34:28 GMT [thread overview]
Message-ID: <178542566890.1.3778871229572253550.rpms-icecream-840a0cef2193@fedoraproject.org> (raw)
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)
reply other threads:[~2026-07-30 15:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178542566890.1.3778871229572253550.rpms-icecream-840a0cef2193@fedoraproject.org \
--to=mschmidt@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox