Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240785 > unrolled thread

Upgrading binary: nginx

Started bypk <pkoroau@gmail.com>
First post2021-10-02 12:30 +0200
Last post2021-10-02 13:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Upgrading binary: nginx pk <pkoroau@gmail.com> - 2021-10-02 12:30 +0200
    Re: Upgrading binary: nginx Reco <recoverym4n@enotuniq.net> - 2021-10-02 13:10 +0200

#240785 — Upgrading binary: nginx

Frompk <pkoroau@gmail.com>
Date2021-10-02 12:30 +0200
SubjectUpgrading binary: nginx
Message-ID<D3Krf-P6-1@gated-at.bofh.it>
I got this message when installing nginx-light today. What does it
mean and where does it come from? I could not grep it in the
nginx-light .deb.

# aptitude -D -V install nginx-light
Följande NYA paket kommer att bli installerade:
  libnginx-mod-http-echo{a} [1.18.0-6.1] (B: nginx-light)
nginx-common{a} [1.18.0-6.1] (B: libnginx-mod-http-echo, B:
nginx-light)
  nginx-light [1.18.0-6.1]
0 paket att uppgradera, 3 att nyinstallera, 0 att ta bort och 1 inte
uppgraderade.
Behöver hämta 726 kB arkiv. Efter uppackning kommer 1.744 kB diskplats
att användas.
Vill du fortsätta? [Y/n/?]
Läs: 1 http://deb.debian.org/debian bullseye/main amd64 nginx-common
all 1.18.0-6.1 [125 kB]
Läs: 2 http://deb.debian.org/debian bullseye/main amd64
libnginx-mod-http-echo amd64 1.18.0-6.1 [109 kB]
Läs: 3 http://deb.debian.org/debian bullseye/main amd64 nginx-light
amd64 1.18.0-6.1 [492 kB]
Hämtade 726 kB på 2s (379 kB/s)
Hämtar felrapporter... Klar
Tolkar hittad/tillrättad information... Klar
Förkonfigurerar paket ...
Väljer tidigare ej valt paket nginx-common.
(Läser databasen ... 316586 filer och kataloger installerade.)
Förbereder att packa upp .../nginx-common_1.18.0-6.1_all.deb ...
Packar upp nginx-common (1.18.0-6.1) ...
Väljer tidigare ej valt paket libnginx-mod-http-echo.
Förbereder att packa upp .../libnginx-mod-http-echo_1.18.0-6.1_amd64.deb ...
Packar upp libnginx-mod-http-echo (1.18.0-6.1) ...
Väljer tidigare ej valt paket nginx-light.
Förbereder att packa upp .../nginx-light_1.18.0-6.1_amd64.deb ...
Packar upp nginx-light (1.18.0-6.1) ...
Ställer in nginx-common (1.18.0-6.1) ...
Created symlink
/etc/systemd/system/multi-user.target.wants/nginx.service →
/lib/systemd/system/nginx.service.
Ställer in libnginx-mod-http-echo (1.18.0-6.1) ...
Ställer in nginx-light (1.18.0-6.1) ...
Upgrading binary: nginx.
Hanterar utlösare för man-db (2.9.4-2) ...

[toc] | [next] | [standalone]


#240786

FromReco <recoverym4n@enotuniq.net>
Date2021-10-02 13:10 +0200
Message-ID<D3L3Y-1ie-11@gated-at.bofh.it>
In reply to#240785
	Hi.

On Sat, Oct 02, 2021 at 12:03:36PM +0200, pk wrote:
> I got this message when installing nginx-light today. What does it
> mean and where does it come from? I could not grep it in the
> nginx-light .deb.

It's the usual nginx behaviour on restart.
Instead of shutting down nginx completely and then running a new set of
nginx processes it merely re-executes the same binary in each its
process.
The end result is the same (i.e. you have fresh set of processes running
from an updated binary), the implementation requires some creative
coding (which is why nginx has it, and apache does not).

tl;dr version - nginx did what it was supposed to.

Reco

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web