[CentOS] After reboot of web-server accessing website shows "Forbidden", restarting httpd all is fine

Sun Nov 8 01:00:12 UTC 2015
Fred Smith <fredex at fcshome.stoneham.ma.us>

On Fri, Nov 06, 2015 at 07:23:59PM -0800, Gordon Messmer 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.

How long has this been the case? I have never heard of this before,
it seems a very well-kept secret!

> 
> I think this is legitimately the most confusing aspect of SELinux,
> and it's one of the things that systemd fixed properly.

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
                      The eyes of the Lord are everywhere, 
                    keeping watch on the wicked and the good.
----------------------------- Proverbs 15:3 (niv) -----------------------------