Re: howto re-enable SELinux

2017-09-15 Thread Gour
On Fri, 15 Sep 2017 11:37:59 +0200 Lukas Vrabec wrote: > Could you boot in permissive mode, try to reproduce (start broken > services) and then attach output of: # ausearch -m AVC,USE_AVC -ts > today Here is the reply which I sent to the list, but it was held in moderation queue - probably due

Re: howto re-enable SELinux

2017-09-15 Thread Gour
On Fri, 15 Sep 2017 10:43:15 -0700 Samuel Sieb wrote: > If you've been running with selinux disabled for a while, then yes, > you probably need to do the relabel steps in permissive mode and then > turn it back to enforcing after. Thank you for confirming it and I learnt the lesson. :-) > Are y

Re: howto re-enable SELinux

2017-09-15 Thread Samuel Sieb
On 09/15/2017 02:30 AM, Gour wrote: Ed Greshko wrote: Without knowing that, this is a guess.  You may need to relabel. Edit the /etc/selinux/config to set "enforcing" Then touch /.autorelabel reboot I was trying that, but didn't work, so had to go via the: disabled --> permissive -->

Re: howto re-enable SELinux

2017-09-15 Thread Lukas Vrabec
On 09/15/2017 11:30 AM, Gour wrote: On Fri, 15 Sep 2017 10:39:41 +0800 Ed Greshko wrote: You didn't say what error, if any, you're hitting when you try to reboot with selinux enabled. Well, bunch of services were not able to start... Without knowing that, this is a guess.  You may need to

Re: howto re-enable SELinux

2017-09-15 Thread Gour
On Fri, 15 Sep 2017 10:39:41 +0800 Ed Greshko wrote: > You didn't say what error, if any, you're hitting when you try to > reboot with selinux enabled.  Well, bunch of services were not able to start... > Without knowing that, this is a guess.  You may need to relabel. > > Edit the /etc/selinu

Re: howto re-enable SELinux

2017-09-14 Thread Ed Greshko
Re-sending to the list. sigh... On 09/15/17 10:19, Gour wrote: > Hello! > > I was playing with some app (ZoneMinder) which recommends to disable SELinux, > but solved my problem with the IP camera by using some app on my tablet and > now > would like to re-enable SELinux as it was initially

howto re-enable SELinux

2017-09-14 Thread Gour
Hello! I was playing with some app (ZoneMinder) which recommends to disable SELinux, but solved my problem with the IP camera by using some app on my tablet and now would like to re-enable SELinux as it was initially configured. However, I cannot boot (without passing selinux=0) by just editing /