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] epel8: Drop the permissions to log to the old files from the SELinux policy
Date: Fri, 31 Jul 2026 06:33:59 GMT [thread overview]
Message-ID: <178547963985.1.13960488767730603974.rpms-icecream-147f2f1aa47e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/icecream
Branch : epel8
Commit : 147f2f1aa47e584623279cc3397e6794e332e251
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2013-09-02T18:55:33+02:00
Stats : +4/-13 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/icecream/c/147f2f1aa47e584623279cc3397e6794e332e251?branch=epel8
Log:
Drop the permissions to log to the old files from the SELinux policy
---
diff --git a/icecream.fc b/icecream.fc
index d9d3613..dd7340d 100644
--- a/icecream.fc
+++ b/icecream.fc
@@ -2,5 +2,4 @@
/usr/sbin/icecc-scheduler -- gen_context(system_u:object_r:icecc_scheduler_exec_t,s0)
/usr/libexec/icecc/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/log/icecc(/.*)? gen_context(system_u:object_r:icecc_log_t,s0)
/var/run/icecc(/.*)? gen_context(system_u:object_r:iceccd_var_run_t,s0)
diff --git a/icecream.spec b/icecream.spec
index b3d0a24..75ae020 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -4,7 +4,7 @@
Name: icecream
Version: 1.0.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Distributed compiler
Group: Development/Tools
@@ -257,6 +257,9 @@ exit 0
%{_libdir}/pkgconfig/icecc.pc
%changelog
+* Mon Sep 02 2013 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-5
+- Drop the permissions to log to the old files from the SELinux policy.
+
* Mon Sep 02 2013 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-4
- Fix dropping of capabilities.
- Log everything to journal/syslog, not the custom log files.
diff --git a/icecream.te b/icecream.te
index b4681b3..e6e5487 100644
--- a/icecream.te
+++ b/icecream.te
@@ -10,9 +10,6 @@ type iceccd_t;
type iceccd_exec_t;
init_daemon_domain(iceccd_t, iceccd_exec_t)
-type icecc_log_t;
-logging_log_file(icecc_log_t)
-
type iceccd_tmp_t;
files_tmp_file(iceccd_tmp_t)
@@ -80,9 +77,6 @@ allow iceccd_t iceccd_var_run_t:sock_file { create unlink };
domtrans_pattern(iceccd_t, iceccd_createenv_exec_t, iceccd_createenv_t)
domtrans_pattern(iceccd_t, iceccd_cache_t, iceccd_untrusted_t)
-manage_files_pattern(iceccd_t, icecc_log_t, icecc_log_t)
-logging_log_filetrans(iceccd_t, icecc_log_t, file)
-
manage_files_pattern(iceccd_t, iceccd_var_run_t, iceccd_var_run_t)
files_pid_filetrans(iceccd_t, iceccd_var_run_t, file)
@@ -137,8 +131,6 @@ allow iceccd_createenv_t self:fifo_file rw_fifo_file_perms;
dontaudit iceccd_createenv_t iceccd_tmp_t:file { execute };
-allow iceccd_createenv_t icecc_log_t:file { append };
-
manage_dirs_pattern(iceccd_createenv_t, iceccd_cache_t, iceccd_cache_t)
manage_files_pattern(iceccd_createenv_t, iceccd_cache_t, iceccd_cache_t)
# no files_var_filetrans, createenv does not create the cache dir itself
@@ -196,9 +188,6 @@ fs_getattr_all_fs(iceccd_untrusted_t)
allow icecc_scheduler_t self:tcp_socket create_stream_socket_perms;
allow icecc_scheduler_t self:udp_socket create_socket_perms;
-manage_files_pattern(icecc_scheduler_t, icecc_log_t, icecc_log_t)
-logging_log_filetrans(icecc_scheduler_t, icecc_log_t, file)
-
corenet_all_recvfrom_unlabeled(icecc_scheduler_t)
corenet_all_recvfrom_netlabel(icecc_scheduler_t)
corenet_tcp_sendrecv_generic_if(icecc_scheduler_t)
reply other threads:[~2026-07-31 6:33 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=178547963985.1.13960488767730603974.rpms-icecream-147f2f1aa47e@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