Re: After reboot of web-server accessing website shows "Forbidden", restarting httpd all is fine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



sorry late reply.
thanks, will look into it.

On Fri, Nov 06, 2015 at 07:23:59PM -0800, Gordon Messmer (gordon.messmer@xxxxxxxxx) wrote:
> On 11/06/2015 06:30 PM, Jobst Schmalenbach wrote:
> >What troubles me that a simple restart of the daemon fixes everything but it does not come up on reboot.
> 
> Running the service script manually may not give you the same selinux
> context as on boot.  Services should be started using "run_init" to ensure
> they get the correct context.
> 
> I think this is legitimately the most confusing aspect of SELinux, and it's
> one of the things that systemd fixed properly.
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos

-- 
Never share a foxhole with anyone braver than yourself.

  | |0| |   Jobst Schmalenbach, jobst@xxxxxxxxxxxxxx, General Manager
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux