#1023382 nginx-light: dependency on iproute2

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
#1023382#5
Date:
2022-11-03 07:50:15 UTC
From:
To:
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,

#1023382#10
Date:
2022-11-13 15:09:26 UTC
From:
To:
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

#1023382#15
Date:
2023-01-11 10:31:06 UTC
From:
To:
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,

#1023382#20
Date:
2025-08-27 14:15:15 UTC
From:
To:
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
#1023382#21
Date:
2025-08-27 14:19:43 UTC
From:
To:
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
#1023382#28
Date:
2025-08-27 14:48:30 UTC
From:
To:
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