Bug#869799: nginx-common: broken service if ipv6 turned off
Package: nginx-light Version: 1.18.0-6 Followup-For: Bug #869799 X-Debbugs-Cc: and...@lists.savchenko.net This is still a problem for in Bullseye. Any plan to remove ipv6 directive in the default config before Debian v11 is released? To reproduce: 1. Boot with `ipv6.disable=1` 2. Attempt to install any of the nginx packages Thank you. -- System Information: Debian Release: bullseye/sid APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-6-amd64 (SMP w/12 CPU threads) Kernel taint flags: TAINT_WARN Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages nginx-light depends on: ii iproute25.10.0-4 ii libc6 2.31-11 ii libcrypt1 1:4.4.18-2 pn libnginx-mod-http-echo ii libpcre32:8.39-13 ii libssl1.1 1.1.1k-1 pn nginx-common ii zlib1g 1:1.2.11.dfsg-2 nginx-light recommends no packages. Versions of packages nginx-light suggests: pn nginx-doc
Bug#869799: nginx-common: broken service if ipv6 turned off
Package: nginx-common Version: 1.10.3-1+deb9u1 Severity: important Tags: ipv6 WONTFIX in upstream https://trac.nginx.org/nginx/ticket/1320 nginx does not start with default configs if ipv6 is turned off in the kernel commandline. This is a serious bug as it breaks dpkg and harms automated configuration. 2017/07/13 12:50:29 [info] 10825#10825: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:31 2017/07/13 12:50:29 [emerg] 10825#10825: socket() [::]:80 failed (97: Address family not supported by protocol) # Default server configuration # server { listen 80 default_server; listen [::]:80 default_server; $ cat /proc/cmdline root=/dev/xvda1 ro ipv6.disable=1 net.ifnames=0 The upstream solution (just edit your config) is a bit naive, because there are plenty of cases when this is simply not feasible or at least extremely inconvenient. The package should avoid breaking the whole apt/dpkg with default configs in any case. -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 4.9.0-3-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages nginx-common depends on: ii debconf [debconf-2.0] 1.5.61 ii init-system-helpers1.48 ii lsb-base 9.20161125 nginx-common recommends no packages. Versions of packages nginx-common suggests: pn fcgiwrap pn nginx-doc ii ssl-cert 1.0.39 -- debconf information: nginx/log-symlinks: