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

Bug#751368: cups-daemon: preinst exits prematurely



Hi Brian,

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).

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.

Right?

Cheers,
OdyX


Reply to: