Bug#741469: cups-daemon: postinst fails to generate working cupsd-systemd-listen.conf when only using unix socket
Package: cups-daemon
Version: 1.7.1-8
Severity: grave
Hi,
as reported on IRC, there's an issue at upgrade when the cupsd.conf
does not contain any inet Listen directive. In my case, I have:
#Listen localhost:631
Listen /var/run/cups/cups.sock
And I've setup a systemd unit file like this:
[Socket]
ListenStream=
ListenStream=/var/run/cups/cups.sock
ListenDatagram=
Also, I'm unsure if the generated file should be in /etc/ or /var.
Regards,
--
Yves-Alexis
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cups-daemon depends on:
ii adduser 3.113+nmu3
ii bc 1.06.95-8
ii dpkg 1.17.6
ii init-system-helpers 1.18
ii libavahi-client3 0.6.31-4
ii libavahi-common3 0.6.31-4
ii libc6 2.18-4
ii libcups2 1.7.1-8
ii libcupsmime1 1.7.1-8
ii libdbus-1-3 1.8.0-2
ii libgnutls26 2.12.23-13
ii libgssapi-krb5-2 1.12+dfsg-2
ii libpam0g 1.1.8-2
ii libpaper1 1.1.24+nmu2
ii libsystemd-daemon0 204-7
ii lsb-base 4.1+Debian12
ii procps 1:3.3.9-4
ii ssl-cert 1.0.33
Versions of packages cups-daemon recommends:
pn avahi-daemon <none>
pn colord <none>
pn cups-browsed <none>
Versions of packages cups-daemon suggests:
pn cups <none>
pn cups-bsd <none>
ii cups-client 1.7.1-8
ii cups-common 1.7.1-8
ii cups-filters [foomatic-filters] 1.0.47-2
pn cups-pdf <none>
ii cups-ppdc 1.7.1-8
ii cups-server-common 1.7.1-8
pn foomatic-db-compressed-ppds | foomatic-db <none>
ii ghostscript 9.05~dfsg-8+b1
pn hplip <none>
ii poppler-utils 0.22.5-4
pn printer-driver-gutenprint <none>
pn printer-driver-hpcups <none>
pn smbclient <none>
ii udev 204-7
-- no debconf information
Reply to: