[Pkg-utopia-maintainers] Bug#947891: avahi-daemon: segfaults after upgrade to buster with airprint service

Ian Chard ian at chard.org
Wed Jan 1 19:45:29 GMT 2020


Package: avahi-daemon
Version: 0.7-4+b1
Severity: important

Hi,

After upgrading to buster avahi-daemon segfaults immediately on startup.
If I run with --debug I see:

Found user 'avahi' (UID 113) and group 'avahi' (GID 118).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
Loading service file /etc/avahi/services/AirPrint-printer.service.
Segmentation fault

I have one file in /etc/avahi/services (filename above) the contents of
which are:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
   <name replace-wildcards="yes">AirPrint printer @ %h</name>
   <service>
      <type>_ipp._tcp</type>
      <subtype>_universal._sub._ipp._tcp</subtype>
      <port>631</port>
      <txt-record>txtvers=1</txt-record>
      <txt-record>qtotal=1</txt-record>
      <txt-record>Transparent=T</txt-record>
      <txt-record>URF=none</txt-record>
      <txt-record>rp=printers/printer</txt-record>
      <txt-record>note=</txt-record>
      <txt-record>product=(GPL Ghostscript)</txt-record>
      <txt-record>printer-state=3</txt-record>
      <txt-record>printer-type=0x1014</txt-record>
      <txt-record>pdl=application/octet-stream,application/pdf,application/postscript,application/vnd.cups-raster,image/gif,image/jpeg,image/png,image/tiff,image/urf,text/html,text/plain,application/vnd.adobe-reader-postscript,application/vnd.cups-pdf</txt-record>
   </service>
</service-group>

For info the file was generated by
https://github.com/tjfontaine/airprint-generate.  I've added line breaks
for clarity (the daemon still fails with the line breaks present).

-- System Information:
Debian Release: 10.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 4.19.0-6-marvell
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages avahi-daemon depends on:
ii  adduser            3.118
ii  bind9-host [host]  1:9.11.5.P4+dfsg-5.1
ii  dbus               1.12.16-1
ii  host               1:9.10.3.dfsg.P4-12.3+deb9u5
ii  libavahi-common3   0.7-4+b1
ii  libavahi-core7     0.7-4+b1
ii  libc6              2.28-10
ii  libcap2            1:2.25-2
ii  libdaemon0         0.14-7
ii  libdbus-1-3        1.12.16-1
ii  libexpat1          2.2.6-2+deb10u1
ii  lsb-base           10.2019051400

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.14.1-1

Versions of packages avahi-daemon suggests:
pn  avahi-autoipd  <none>

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list