Opened 7 years ago
Closed 7 years ago
#1018 closed defect (invalid)
nginx.org debian repo package inconsistent with official debian
|Reported by:||Owned by:|
package available in
deb http://nginx.org/packages/mainline/debian/ jessie nginx has incompatible setting with official debian repository.
For instance nginx.org deb runs as nginx user, while php5-fpm runs as www-data user, thus default Unix socket connection doesn't works due to permission deny.
/etc/nginx/ tree also is slightly different, default debian install have sites-available and sites-enabled subfolders and include to sites-enabled in nginx.conf.
So it's not critical, it can break existing sites when switching from debian package to nginx.org, so I set bug to major.
Change History (2)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
|Status:||new → closed|
Official nginx.org packages were never intended to be a drop-in replacement for Debian-provided ones. They share the same filesystem layout / users / permissions with nginx.org packages for other distros, such as RHEL/CentOS/SLES, and are consistent this way. We don't expect them to be 100% compatible with downstream packagers, because we don't want to depend on decisions made by them and carry on every bad decision like sites-enabled to all the systems.
IMHO it's not bug because Debian/Ubuntu package from nginx.org officially maintained by nginx itself on nginx.org infrastructure whereas Debian/Ubuntu's package adopted and maintained by Debian/Ubuntu members/contributors on Debian/Ubuntu infrastructure on their own favor.
So whenever user decide to install nginx for Debian/Ubuntu, other OS, from source or custom nginx build found in Internet should have idea of what he is doing and consider differences between them. Indeed, nginx's configuration is smart enough and well documented to quickly fix such platform specific properties