Bug 7224 - Network printing does not work after uppgrading to lpr-0.46-1. Printing from root account over net works.
Network printing does not work after uppgrading to lpr-0.46-1. Printing from ...
Product: Red Hat Linux
Classification: Retired
Component: lpr (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  Show dependency treegraph
Reported: 1999-11-22 08:54 EST by ola
Modified: 2008-05-01 11:37 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-01-27 07:27:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ola 1999-11-22 08:54:19 EST
lpd printing between two Redhat 6.1 boxes with lpr-0.46-1 works only
for root user.
No ordinary user can print from the client.
Printing from root account on client works perfectly.
Printing from  user account on server also works perfectly.

The symptom is that the print job is accepted with no error messages
on the server, but no data is sent to printer.
Logging with lpd -l shows job being accepted on server.
Using strace shows the data file being accepted, spooled and then
unlinked, with no data sent to /dev/lp0.

We use NIS passwords.
Comment 1 Bernhard Rosenkraenzer 1999-11-22 12:21:59 EST
Working on it... In the meantime, please check if the 0.47 package from rawhide
fixes this.
Comment 2 ola 1999-11-22 13:36:59 EST
No, 0.47-1 doesn't work either.
Comment 3 Need Real Name 2000-01-11 10:02:59 EST
client + server RH61/lpr0.48, all packages updated, /etc/conf.modules modified.

- When printing from the client: "warning: no daemon present" (user AND root)
- lpq -P HP-laser says the file is in the queue, but no daemon present.
- "ps -aux | grep lpd" (on server) says that the daemon is running.
- "telnet server 515" says: lpd: HP-laser: Malformed from address.
- When printing directly from server (where the printers are physically
connected to) everything works perfectly. When this local job is finished, the
client's job that was still in the queue follows and is printed as well.

Comment 4 Need Real Name 2000-01-17 09:57:59 EST
additional information (may be important):

RH61 + lpr-0.48:

I have 3 printerports on the server.

"/etc/rc.d/init.d/lpd restart" doesn't work, I have to enter
"/etc/rc.d/init.d/lpd stop" followed by "/etc/rc.d/init.d/lpd start", which
normally should be the same thing imho.

I recompiled the RH52 lpr-0.33.src.rpm and that one seems to work fine on RH61.

Comment 5 Bernhard Rosenkraenzer 2000-01-27 07:27:59 EST
0.50-2 should fix this

Note You need to log in before you can comment on or make changes to this bug.