From: paul@city-fan.org (Paul Howarth) Date: Tue, 08 Mar 2011 15:51:27 +0000 Subject: [refpolicy] [patch 1/1] shorewall: shorewall-init script runs /var/lib/shorewall/firewall In-Reply-To: <4D764DD5.4050901@tresys.com> References: <4D5E9C22.8080505@redhat.com> <4D764DD5.4050901@tresys.com> Message-ID: <4D76507F.9010200@city-fan.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 08/03/11 15:40, Christopher J. PeBenito wrote: > On 02/18/11 11:19, Miroslav Grepl wrote: >> http://mgrepl.fedorapeople.org/F15/admin_shorewall.patch >> >> * shorewall-init script runs /var/lib/shorewall/firewall >> * add label for shorewall lock file >> * allow iptables to read shorewall tmp files >> * fixes for shorewall_admin() interface > > Why is the domtrans over shorewall_var_lib_t necessary? The fact that > shorewall can write and exec them makes it even more dubious. I see a > comment about # shorewall-init script run /var/lib/shorewall/firewall. > Does shorewall create this script and then the init script runs it? That's basically it. I have /var mounted with noexec but I need separate mounts for /var/lib/shorewall and /var/lib/shorewall6 that don't have noexec for this reason. Paul.