[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: enforcing reset to disabled on update
- From: "Tom London" <selinux gmail com>
- To: "Richard Hally" <rhallyx mindspring com>
- Cc: fedora-selinux-list redhat com
- Subject: Re: enforcing reset to disabled on update
- Date: Thu, 27 Apr 2006 06:57:14 -0700
On 4/27/06, Tom London <selinux gmail com> wrote:
I can verify this. I separately updated to today's 'selinux-policy*'
packages, and check /etc/selinux/config before and afterwards.
Before:
SELINUX=enforcing
Afterwards
SELINUX=disabled
tom
Could the offending script be the postuninstall script of selinux-policy:
postuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
setenforce 0 2> /dev/null
if [ ! -s /etc/selinux/config ]; then
echo "SELINUX=disabled" > /etc/selinux/config
else
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
fi
fi
I also noticed that after the 'yum update', my system was in permissive mode....
tom
--
Tom London
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]