Your message dated Mon, 01 Jul 2024 18:06:15 +0000
with message-id <[email protected]>
and subject line Bug#1033012: fixed in miniupnpd 2.3.7-1
has caused the Debian Bug report #1033012,
regarding /usr/libexec/miniupnpd-startstop-helper.sh: 12: Cannot fork
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1033012: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033012
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: miniupnpd
Version: 2.3.1-1
Severity: normal
Dear Maintainer,
Not sure what changed, but miniupnp no longer knows how to create and update
its iptables chains, rendering the service useless.
Mar 16 00:26:11 yipyap systemd[1]: Starting UPnP Internet Gateway Device
Daemon...
Mar 16 00:26:11 yipyap miniupnpd-startstop-helper.sh[16295]:
/usr/libexec/miniupnpd-startstop-helper.sh: 12: Cannot fork
Mar 16 00:26:11 yipyap miniupnpd-startstop-helper.sh[16294]: Warning: no
interface defined
Mar 16 00:26:11 yipyap systemd[1]: miniupnpd.service: Can't open PID file
/run/miniupnpd.pid (yet?) after start: Operation not permitted
Mar 16 00:26:11 yipyap miniupnpd[16298]: HTTP listening on port 38765
Mar 16 00:26:11 yipyap systemd[1]: Started UPnP Internet Gateway Device
Daemon.
Mar 16 00:26:11 yipyap miniupnpd[16298]: no HTTP IPv6 address, disabling IPv6
Perusing miniupnpd-startstop-helper.sh makes it clear that its absence is a
problem! :)
It also looks like systemd is complaining that miniupnpd is forking before
it has finished writing its pidfile.
I also noticed in kernel log:
Mar 16 00:26:11 yipyap kernel: [ 4637.252634] cgroup: fork rejected by pids
controller in /system.slice/miniupnpd.service
So I did `systemctl edit miniupnpd.service`, and bumped TasksMax to some
unreasonable number. This only helps a little:
Mar 16 00:30:48 yipyap systemd[1]: Starting UPnP Internet Gateway Device
Daemon...
Mar 16 00:30:48 yipyap miniupnpd-startstop-helper.sh[19317]: Warning: no
interface defined
Mar 16 00:30:48 yipyap systemd[1]: miniupnpd.service: Can't open PID file
/run/miniupnpd.pid (yet?) after start: Operation not permitted
Mar 16 00:30:48 yipyap miniupnpd[19380]: HTTP listening on port 38655
Mar 16 00:30:48 yipyap systemd[1]: Started UPnP Internet Gateway Device
Daemon.
Mar 16 00:30:49 yipyap miniupnpd[19380]: no HTTP IPv6 address, disabling IPv6
Next problem! /usr/libexec/miniupnpd-startstop-helper.sh seems to assume
$CONFFILE is defined at some point. The only point I can see it being set
is within the init.d script, which is unused because we're running systemd
here. So as a workaround I add `CONFFILE=/etc/miniupnpd/miniupnpd.conf` to
/etc/default/miniupnpd. This only helps a little:
Mar 16 00:34:25 yipyap systemd[1]: Starting UPnP Internet Gateway Device
Daemon...
Mar 16 00:34:25 yipyap miniupnpd-startstop-helper.sh[20600]:
/usr/libexec/miniupnpd-startstop-helper.sh: 24: read_config: not found
Mar 16 00:34:25 yipyap miniupnpd-startstop-helper.sh[20601]:
/usr/libexec/miniupnpd-startstop-helper.sh: 25: read_config: not found
Mar 16 00:34:25 yipyap miniupnpd-startstop-helper.sh[20595]: Warning: no
interface defined
Mar 16 00:34:25 yipyap systemd[1]: miniupnpd.service: Can't open PID file
/run/miniupnpd.pid (yet?) after start: Operation not permitted
Mar 16 00:34:25 yipyap systemd[1]: Started UPnP Internet Gateway Device
Daemon.
Mar 16 00:34:25 yipyap miniupnpd[20603]: HTTP listening on port 32959
Mar 16 00:34:25 yipyap miniupnpd[20603]: no HTTP IPv6 address, disabling IPv6
read_config() appears to be defined only in the init.d script, which again
doesn't help because we're running systemd. I am going to give up here. Am
I missing something, or is this a case of "running natively under systemd
has never worked"?
-- System Information:
Debian Release: 11.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'oldstable-updates'), (500, 'oldstable-debug'), (500, 'stable'), (500,
'oldstable'), (490, 'testing'), (460, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 6.1.0-5-686-pae (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages miniupnpd depends on:
ii debconf [debconf-2.0] 1.5.77
ii init-system-helpers 1.60
ii lsb-base 11.1.0
ii miniupnpd-iptables 2.3.1-1
ii uuid-runtime 2.36.1-8+deb11u1
miniupnpd recommends no packages.
miniupnpd suggests no packages.
-- debconf information:
* miniupnpd/force_igd_desc_v1: false
* miniupnpd/start_daemon: true
* miniupnpd/iface: eth0
* miniupnpd/listen: br0
* miniupnpd/ip6script: true
--- End Message ---
--- Begin Message ---
Source: miniupnpd
Source-Version: 2.3.7-1
Done: Yangfl <[email protected]>
We believe that the bug you reported is fixed in the latest version of
miniupnpd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yangfl <[email protected]> (supplier of updated miniupnpd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 30 Jun 2024 21:54:53 +0800
Source: miniupnpd
Architecture: source
Version: 2.3.7-1
Distribution: unstable
Urgency: medium
Maintainer: Thomas Goirand <[email protected]>
Changed-By: Yangfl <[email protected]>
Closes: 1033012 1070472
Changes:
miniupnpd (2.3.7-1) unstable; urgency=medium
.
* New upstream release.
* Increase TasksMax in systemd service file to avoid forking problems.
(Closes: #1033012).
* Use either iproute* tool in config script. (Closes: #1070472).
* Bump Standards-Version to 4.7.0.
Checksums-Sha1:
594683a2a1786f6a3de46038e60edc59c0d2e77d 2420 miniupnpd_2.3.7-1.dsc
c491b053669dc637870ab8fa563b1d10371dd66d 265329 miniupnpd_2.3.7.orig.tar.gz
b60d0f58f3322367ea4e93135816adf744cc8262 801 miniupnpd_2.3.7.orig.tar.gz.asc
9f5794ab0a9ab9afb16ea6fd8d8d65bb256b91ca 28056 miniupnpd_2.3.7-1.debian.tar.xz
9d225f142d6b25a76ee2b1f62a100c0c565daa06 7306 miniupnpd_2.3.7-1_amd64.buildinfo
Checksums-Sha256:
ad203e6ac3a111f3a6ace395323b99308a14f7e6b86c62febb4185ae7b4a0eae 2420
miniupnpd_2.3.7-1.dsc
fbdd5501039730f04a8420ea2f8f54b7df63f9f04cde2dc67fa7371e80477bbe 265329
miniupnpd_2.3.7.orig.tar.gz
7eb96d8a405113f7eb50b47a70fe478fc093baf7d92b52e6822ea80011acd38e 801
miniupnpd_2.3.7.orig.tar.gz.asc
6477beb9e35daf64fd8a73aa60fea41b2243e12d412795373725eec2b087b110 28056
miniupnpd_2.3.7-1.debian.tar.xz
e04d9ba80fa73e2054552d5a1432f5abdfa8e0a68cf67cbec023b7e147cd498d 7306
miniupnpd_2.3.7-1_amd64.buildinfo
Files:
7636448fbacd2e182f839a8fbcfad255 2420 net optional miniupnpd_2.3.7-1.dsc
43eb970e34ecbb402785d29a1a6c85a2 265329 net optional
miniupnpd_2.3.7.orig.tar.gz
0319bbf51c80f94ebeb6c09499c80715 801 net optional
miniupnpd_2.3.7.orig.tar.gz.asc
4ea2ea589bf0e8f84eb9d72f05c43846 28056 net optional
miniupnpd_2.3.7-1.debian.tar.xz
90a3068a74ad9761dd8d174ced3a78c6 7306 net optional
miniupnpd_2.3.7-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmaC6XsACgkQwpPntGGC
Ws7fmQ//VP6k5mYcqDHIh7e9wkVq6KtH/bks8aeo8z+7a8AchoOSDnuO+IycF9To
DSdZWY5o8qev3fiN15QnigCFT/I9MpoeaTdSvfREdeXoPnlU0XwdU8LKlWVprQwo
q19Wi12iYvYKaRA6MZLCTLWmPaXgAPoZ2lnmTZ6RUoHQ8u52l4CN+yd36yD/7SUN
lMrSl/XK+1M603bRmkMeAMGUaVuN7IJOBux42vh4mtvQPnQBPApKhrzSuS25wfAe
0CkwLAcV4Ni1qPHPgs510ytoMCKPCWvj/I/Z1kRG4WZnRAzKxxLnkv4/UhbC5bJ3
fv0ho8J5CMEp3g/AMlywyNz4Eiq2svrNrxWZjSK/xnFcQMjqmnFuio6jRYba3FC+
RCbmiQCeF3sT+H7A2YIxVQ1kgFan6UgNes5Xkkiwj4yHt5nKupP6TErY4SxM6asz
iCZWq+XJYM+aP0QrFTGYzNq3I/Q+l/nQPdJBNGhKwncUIkPW1JkYWcaWzC57i5Un
eNfuSacHHbVt16nwDjTnVn7wEG4opL8+pjxAKu44erLAeZw2QhCtOZZqR6SD6QjD
cMqyMsxmAMQQTR6Ma+3ZNrgopDNr7j28+CD0X273BER6H7m4bm5b8G+gAE6Z9jiU
K+Rhh/GGHZsFb3ujwGiL4bXvHO4MXJJ/0NKJaF8Y3u8/Q1S0LXA=
=jV6m
-----END PGP SIGNATURE-----
pgpmpW_Gpa24t.pgp
Description: PGP signature
--- End Message ---