[Pkg-nginx-maintainers] Bug#1154807: nginx: systemd service restarts during upgrading

Miao Wang shankerwangmiao at gmail.com
Sun Nov 22 12:04:38 GMT 2026


Package: nginx-common
Version: 1.18.0-6
Control: fixed -1 1.30.1-4
Control: close -1 1.30.1-4
Severity: important
Forwarded: https://salsa.debian.org/nginx-team/nginx/-/merge_requests/108

Dear maintainer,

The postinst maint script generated by dh_systemd tried to restart the nginx
systemd script during upgrading. The postinst script of nginx also tries to
trigger the smooth upgrade of the nginx binary. When running altogether, the
nginx process would be first restarted and then the smooth upgrade would be
triggered, causing the http service to interrupt and existing connections
closed.

This bug has been fixed currently in unstable since 1.30.1-4. Opening this bug
report is for recording this and requesting this fix to also land in stable
and old stable.

Cheers,

Miao Wang


More information about the Pkg-nginx-maintainers mailing list