ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #03798
[Bug 1312972] [NEW] php54-fpm "warning: user apache does not exist - using root"
Public bug reported:
If you install/upgrade php54-fpm and Apache is not installed (which is
usually the case if you are using Nginx), the php54-fpm prints this
warning:
"warning: user apache does not exist - using root"
What I noticed is that this sets the owner of /var/log/php-fpm directory
to owner root and 770 mode:
$ ls -ld /var/log/php-fpm/
drwxrwx---. 2 root root 4096 Apr 4 15:58 /var/log/php-fpm/
This is a problem because php-fpm cannot write anything into that directory because of this. And the biggest problem is that if you set permissions and owner to the user which runs php-fpm (which is nginx in my case) after the package is upgraded, it overwrites those permission again.
This same thing happens with php55u-fpm.
** Affects: ius
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1312972
Title:
php54-fpm "warning: user apache does not exist - using root"
Status in IUS Community Project:
New
Bug description:
If you install/upgrade php54-fpm and Apache is not installed (which is
usually the case if you are using Nginx), the php54-fpm prints this
warning:
"warning: user apache does not exist - using root"
What I noticed is that this sets the owner of /var/log/php-fpm
directory to owner root and 770 mode:
$ ls -ld /var/log/php-fpm/
drwxrwx---. 2 root root 4096 Apr 4 15:58 /var/log/php-fpm/
This is a problem because php-fpm cannot write anything into that directory because of this. And the biggest problem is that if you set permissions and owner to the user which runs php-fpm (which is nginx in my case) after the package is upgraded, it overwrites those permission again.
This same thing happens with php55u-fpm.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1312972/+subscriptions
Follow ups
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: Carl George, 2014-08-27
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: Carl George, 2014-08-18
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: kustodian, 2014-08-17
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: Carl George, 2014-08-11
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: kustodian, 2014-08-08
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: kustodian, 2014-06-28
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: Carl George, 2014-06-27
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: Carl George, 2014-06-02
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: kustodian, 2014-06-01
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: kustodian, 2014-04-30
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: Carl George, 2014-04-30
-
[Bug 1312972] Re: php54-fpm "warning: user apache does not exist - using root"
From: Carl George, 2014-04-28
-
[Bug 1312972] [NEW] php54-fpm "warning: user apache does not exist - using root"
From: kustodian, 2014-04-25
References