Package: minissdpd
Version: 1.5.20190824-1
Severity: normal

I changed out docks for my laptop several months ago, which means my
built-in NIC has a different MAC address, and therefore a different
interface name. minissdpd has stored the old address in the debconf
database. Now when I try to upgrade, it fails (see below). Even correcting
the interface name in /etc/default/minissdpd doesn't fix things, as
the postinst will just overwrite my change. And I can't just
dpkg-reconfigure things to update the interface name, as the package is now
in a broken state. Seems like this situation could be detected and
a less severe failure mode implemented.


Setting up minissdpd (1.5.20190824-1) ...
Job for minissdpd.service failed because the control process exited with error c
ode.
See "systemctl status minissdpd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript minissdpd, action "restart" failed.
● minissdpd.service - keep memory of all UPnP devices that announced themselves
     Loaded: loaded (/lib/systemd/system/minissdpd.service; enabled; vendor pres
et: enabled)
     Active: failed (Result: exit-code) since Fri 2020-08-28 13:15:11 MDT; 5ms a
go
       Docs: man:minissdpd(1)
    Process: 77838 ExecCondition=/usr/lib/minissdpd/minissdpd-systemd-wrapper -t
 ${MiniSSDPd_INTERFACE_ADDRESS} (code=exited, status=0/SUCCESS)
    Process: 77839 ExecStart=/usr/lib/minissdpd/minissdpd-systemd-wrapper ${Mini
SSDPd_INTERFACE_ADDRESS} $MiniSSDPd_OTHER_OPTIONS (code=exited, status=1/FAILURE
)

Aug 28 13:15:11 xps13 minissdpd-systemd-wrapper[77839]: Error parsing address/ma
sk (or interface name) : enx*REDACTED*
Aug 28 13:15:11 xps13 minissdpd-systemd-wrapper[77839]: can't parse 
"enx*REDACTED*
4b8e" as a valid address or interface name
Aug 28 13:15:11 xps13 minissdpd-systemd-wrapper[77839]: Usage: /usr/sbin/minissd
pd [-d] [-6] [-s socket] [-p pidfile] [-t TTL] [-f device] -i <interface> [-i <i
nterface2>] ...
Aug 28 13:15:11 xps13 minissdpd-systemd-wrapper[77839]:   <interface> is either 
an IPv4 address with mask such as
Aug 28 13:15:11 xps13 minissdpd-systemd-wrapper[77839]:   192.168.1.42/255.255.2
55.0, or an interface name such as eth0.
Aug 28 13:15:11 xps13 minissdpd-systemd-wrapper[77839]:   By default, socket wil
l be open as /var/run/minissdpd.sock
Aug 28 13:15:11 xps13 minissdpd-systemd-wrapper[77839]:   and pid written to fil
e /var/run/minissdpd.pid
Aug 28 13:15:11 xps13 systemd[1]: minissdpd.service: Control process exited, cod
e=exited, status=1/FAILURE
Aug 28 13:15:11 xps13 systemd[1]: minissdpd.service: Failed with result 'exit-co
de'.
Aug 28 13:15:11 xps13 systemd[1]: Failed to start keep memory of all UPnP device
s that announced themselves.
dpkg: error processing package minissdpd (--configure):
 installed minissdpd package post-installation script subprocess returned error 
exit status 1
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for systemd (246.2-1) ...
Errors were encountered while processing:
 minissdpd
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages minissdpd depends on:
ii  debconf [debconf-2.0]  1.5.74
ii  init-system-helpers    1.58
ii  libc6                  2.31-3
ii  libnfnetlink0          1.0.1-3+b1
ii  lsb-base               11.1.0

minissdpd recommends no packages.

minissdpd suggests no packages.

-- Configuration Files:
/etc/default/minissdpd changed [not included]

-- debconf information excluded

Reply via email to