lprng not working after update to lprng-3.8.28-21.10 if /tmp and /var are on different filesystems

  • 3049764
  • 18-Feb-2008
  • 30-Apr-2012

Environment

Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Server 10 Support Pack 1
Novell Open Enterprise Server 2 (OES 2)
Novell SUSE Linux Enterprise Desktop 10
Novell SUSE Linux Enterprise Desktop 10 Support Pack 1

Situation

Issueing a print job using lprng will fail on SLE 10 SP1 based products if /tmp and /var are on separate partitions with the following error message:
server [12:40] fst 951) lpr -Plj4300_3 .logout
server [12:40] fst 952) lpq -Plj4300_3
Printer:
lj4300_3@server'HP LaserJet 4300' (destlp@lj4300.local.site)
Queue: no printable jobs in queue
Status: lj4300_3: Check_for_missing_files: FAILED 'hfA408' error renaming '/tmp/temp01vMR3Ld' to 'dfA408server.local.site' - Invalid cross-device link at 12:40:52.484
Please note that the name of the printer queue and server will differ from the output above.

Resolution

As a workaround specify

default_tmp_dir=/var/tmp
server_tmp_dir=/var/tmp

in /etc/lpd.conf and restart printing services using

rclpd restart

To solve this issue please update to lprng version 3.8.28-21.10 or later.


Feedback service temporarily unavailable. For content questions or problems, please contact Support.