- Package:
- nginx-light
- Source:
- nginx-light
- Description:
- nginx web/proxy server (basic version)
- Submitter:
- Yves-Alexis Perez
- Date:
- 2025-08-27 14:51:00 UTC
- Severity:
- normal
Package: nginx-light Version: 1.18.0-6.1+deb11u2 Severity: normal Hi, I finally updated a nginx buster LXC to bullseye (this report is done on my laptop so don't pay attention to the System information below). By doing so I had to install iproute2 on that container because nginx-light depends on it. I'm unsure why that dependency was added (I couldn't find the explanation on changelog.Debian) but in my case the container ip configuration is done externally so there's not much which can be done. Would it be possible to explain the reason for the dependency and maybe demote it to recommends? Regards,
Hello, in the postinst script, the "ss" command from the iproute2 package is used, which checks whether TCP port 80 is free or not. If not, nginx will not start during installation. commit: https://salsa.debian.org/nginx-team/nginx/-/commit/cc65b80eb0bebe0e2d61c4e4b413b3bac729cf39 <https://salsa.debian.org/nginx-team/nginx/-/commit/cc65b80eb0bebe0e2d61c4e4b413b3bac729cf39> Jan
https://salsa.debian.org/nginx-team/nginx/-/commit/cc65b80eb0bebe0e2d61c4e4b413b3bac729cf39 <https://salsa.debian.org/nginx-team/nginx/-/commit/cc65b80eb0bebe0e2d61c4e4b413b3bac729cf39 Hi, I didn't get the reply (please remember to CC reporters) and just saw it. Would it be possible then to check for ss presence before doing that, and demote iproute2 dependency to recommends? That would help in minimal containers situations. Regards,
Hello, Bug #1023382 in nginx reported by you has been fixed in the Git repository. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/nginx-team/nginx/-/commit/7d1277d1189ebca65e9e0120518800d1bded562b------------------------------------------------------------------------ d/nginx.postinst: do not check open port 80, and remove iproute2 dependency Closes: #1023382 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1023382
Hello, Bug #1023382 in nginx reported by you has been fixed in the Git repository. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/nginx-team/nginx/-/commit/68585285550e56fea20e84161ec1d7711e7593a5------------------------------------------------------------------------ d/nginx.postinst: do not check open port 80, and remove iproute2 dependency Closes: #1023382 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1023382
This automatic closing was a mistake. I'm reopening the bug. In any case, here https://salsa.debian.org/nginx-team/nginx/-/merge_requests/94 is an open MR where this problem is being solved. Jan