[cups] sl7.1: how do I enable lpd support in CUPS?

ToddAndMargo ToddAndMargo at zoho.com
Wed Aug 26 00:32:46 PDT 2015


>
>> Am 25.08.2015 um 18:50 schrieb ToddAndMargo <ToddAndMargo at zoho.com>:
>>
>> sl7.1: how do I enable lpd support in CUPS?
>>
>> Xinetd is gone from SL7.
>>
>>
>>
>> # rpm -qa cups-lpd
>> cups-lpd-1.6.3-17.el7_1.1.x86_64
>>
>> $ rpm -qa cups
>> cups-1.6.3-17.el7_1.1.x86_64
>>
>> $ uname -r
>> 3.10.0-229.11.1.el7.x86_64

On 08/25/2015 10:23 AM, Helge Blischke wrote:> I guess you need to 
install xinetd separately. I found the link
 > 
/mirror/ftp.scientificlinux.org/linux/scientific/7.1/x86_64/os/Packages 
<http://ftp.scientificlinux.org/linux/scientific/7.1/x86_64/os/Packages>
 > There you will find the respective RPM.
 >
 > Helge
 >

Hi Delge,

That was it.  Thank you!

I tagged it over on Red Hat's bugzilla:

I am reproducing it here as it has some stuff that might
be good for the archives:

-T


https://bugzilla.redhat.com/show_bug.cgi?id=1257051

Hi All,

I am coming from the community: Scientific Linux 7.1.

# yum whatprovides cups-lpd
Loaded plugins: langpacks
1:cups-lpd-1.6.3-17.el7.x86_64 : CUPS printing system - lpd emulation
Repo        : sl


Bug #1:

# rpm -qa cups-lpd
cups-lpd-1.6.3-17.el7_1.1.x86_64

is missing the dependency:

# rpm -qa xinetd
xinetd-2.3.15-12.el7.x86_64

You can't use cups-lpd without it.



Bug #2:
the installer of cups-lpd forgets to add the following entry into 
/etc/xinetd.d

$ more cups-lpd

# default: off
# description: Allow applications using the legacy lpd protocol to 
communicate w
ith CUPS
service printer
{
	disable = no
	socket_type = stream
	protocol = tcp
	wait = no
	user = lp
	server = /usr/lib/cups/daemon/cups-lpd
}



Note: run
   # service start xinetd
to get it going.




More information about the cups mailing list