Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin osa at freebsd.org.ru
Wed Jun 9 18:20:42 UTC 2021


On Wed, Jun 09, 2021 at 01:50:08PM -0400, hgv wrote:
> In case it's relevant, I believe the initially installed version was 1.16 on
> Ubuntu 18.04. Both have since been upgraded to current versions.

dpkg-deb(1) shows the following files in the package you've installed:

% dpkg-deb -c nginx_1.21.0-1\~focal_amd64.deb | grep system/nginx 
-rw-r--r-- root/root       476 2021-05-25 09:01 ./lib/systemd/system/nginx-debug.service
-rw-r--r-- root/root       470 2021-05-25 09:01 ./lib/systemd/system/nginx.service

Seems like missed files?

-- 
Sergey Osokin

> hgv Wrote:
> -------------------------------------------------------
> > Nginx has been installed from the official Nginx repository.
> > 
> > /etc/apt/sources.list.d/nginx.list
> > 
> > deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ focal
> > nginx    
> > 
> > 
> > Sergey A. Osokin Wrote:
> > -------------------------------------------------------
> > > On Wed, Jun 09, 2021 at 11:46:32AM -0400, hgv wrote:
> > > > /etc/systemd/system/nginx.service.d/override.conf and
> > > > /usr/lib/systemd/system/nginx.service don't exist
> > > 
> > > Thanks for the update.
> > > 
> > > Not sure how nginx package has been installed on that box. So, I'd
> > > recommend
> > > to follow the instruction and install nginx from a prebuilt Ubuntu
> > > package:
> > > 
> > >
> > https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-n
> > 
> > > ginx-open-source/#prebuilt_ubuntu
> > > 
> > > Thanks.
> > > 
> > > -- 
> > > Sergey Osokin
> > > _______________________________________________
> > > nginx mailing list
> > > nginx at nginx.org
> > > http://mailman.nginx.org/mailman/listinfo/nginx
> 
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291799,291815#msg-291815
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


More information about the nginx mailing list