Bug#742668: cups: Fails to install because can't listen to sockets
Hi Giuseppe,
Le jeudi, 8 mai 2014, 12.34:13 Giuseppe Bilotta a écrit :
> There is only:
>
> /etc/systemd/system/cups.socket.d/cupsd-listen.conf ->
> ../../../cups/cupsd-systemd-listen.conf
>
> Contents:
>
> [Socket]
> # This file was generated by CUPS and _WILL_ be deleted or overwritten
> by it! # It has to be kept in sync with the Port and Listen stanzas
> in /etc/cups/cupsd.conf
> # It is by default symlinked as cups-listen.conf in the
> # /etc/systemd/system/cups.socket.d/ directory. Remove the symlink
> # and write your own file there if you don't want this. See
> systemd.socket(5). # Matches 'Listen localhost:631' from cupsd.conf
> ListenStream=127.0.0.1:631
> ListenStream=[::1]:631
> # Matches 'Port 631' from cupsd.conf
> ListenStream=0.0.0.0:631
> ListenStream=[::]:631
Ha. So apparently you have two overlapping instructions in
/etc/cups/cupsd.conf: 'Port 631' and 'Listen localhost:631'.
Can you try to remove the three last lines of the
/etc/systemd/system/cups.socket.d/cupsd-listen.conf file and try to
restart CUPS?
If that works, I'll see if I can address that in the Debian-specific
patches.
Cheers,
OdyX
Reply to: