[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751368: cups-daemon: preinst exits prematurely



On Sat 14 Jun 2014 at 15:00:45 +0200, Didier 'OdyX' Raboud wrote:

> Hi Brian,

Hi OdyX,

> Thanks for the visual answer ! :)
> 
> Le vendredi, 13 juin 2014, 17.58:28 Brian Potkin a écrit :
> > I am assuming that the purpose of "cat default" is to ensure the
> > writing	 of ListenStream lines to cupsd-systemd-listen.conf when
> > cupsd.conf does not contain them. However, with "Listen localhost:631"
> > and "Port 631" both commented out cupsd-systemd-listen.conf has only
> > the content of the heredoc.
> 
> That's exactly the intended behavior. Let me explain:
> 
> If cupsd.conf doesn't exist, that's most probably because we're 
> installing cups with default configuration => write the default stanza 
> (discussed in 751370).

Fine. I had tested that bit and then went on to confuse myself.
 
> If cupsd.conf exists but has no Port nor Listen stanzas enabled, that's 
> because the administrator disabled Port listening (leaving only the cups 
> socket) completely. In this case, having no port reserved by systemd for 
> cupsd is correct.

Thank you for the explanation. The advice "It has to be kept in sync
with the Port and ....."  should have been sufficient for me. If you
think I got my sockets and ports mixed up you wouldn't be far wrong. :)

Regards,

Brian.


Reply to: