Re: Apache PID File not readable

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



On Mon, Jul 29, 2013 at 12:15 PM, Jameson <imntreal@xxxxxxxxx> wrote:

> On Sun, Jul 28, 2013 at 8:03 AM, Stefan Tatschner
> <stefan.tatschner@xxxxxxxxx> wrote:
> > I always get this message after restarting apache via systemctl: PID
> > file /run/httpd/httpd.pid not readable (yet?) after start.
>
> What does cat /usr/lib/tmpfiles.d/apache.conf return?
>
>
There lies Stefan's problem. It creates the directory as root:root.

And this can be a bug or not a bug depending on your take:

a.) A bug: The default apache config uses user and group http but the
install script doesn't create them!!! And the tmpfile config should user
http as user and group for the pid directory.

b.) Not a bug.  Those are software defaults, you should make sure
everything is configured with tight security and no default values will
help you there. Furthermore, there is already a nobody user and group
defined, use that.

So, pick you battle and file a bug, or not. :-)


-- 
http://about.me/palopezv


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux