Patch-ID# 101960-22 Keywords: security y2000 lpsched lpadmin lpstat lpnet lpd lp.cat catv Synopsis: SunOS 5.4_x86: lp patch Date: Aug/31/2001 Solaris Release: 2.4_x86 SunOS Release: 5.4_x86 Unbundled Product: Unbundled Release: Xref: This patch available on SPARC as patch 101959 Topic: SunOS 5.4_x86: lp patch NOTE: Refer to Special Install Instructions Section for IMPORTANT specific information on this patch. Relevant Architectures: i386 BugId's fixed with this patch: 1115847 1119361 1120640 1128962 1129221 1145524 1147605 1148312 1169421 1169551 1170808 1170857 1171055 1174175 1177184 1178138 1178451 1178530 1179396 1183524 1184931 1187515 1189176 1200103 1200306 1201425 1202237 1202891 1208295 1210044 1210216 1210760 1211026 1214993 1220835 1221750 1222271 1223153 1224086 1224549 1228202 1230941 1231385 1233047 1237991 1241998 1249064 1255967 1257405 1258376 1260585 1261137 1262253 1263668 1263675 1263686 4004517 4006868 4007891 4008193 4012285 4022904 4030199 4049134 4061420 4061486 4061499 4063076 4063506 4075350 4077613 4077986 4079274 4081706 4086199 4094908 4137389 4139071 4152678 4156106 4189368 4220608 4231623 4235814 4257747 4260314 4337525 4388492 Changes incorporated in this version: 4388492 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /etc/lp/fd/catv.fd /etc/lp/fd/postio.fd /etc/lp/fd/postior.fd /etc/lp/fd/postpages.fd /etc/lp/fd/pr.fd /usr/bin/cancel /usr/bin/lp /usr/bin/lpstat /usr/lib/lp/bin/lp.cat /usr/lib/lp/bin/lp.tell /usr/lib/lp/lpNet /usr/lib/lp/lpsched /usr/lib/lp/model/standard /usr/lib/lp/postscript/dpost /usr/lib/lp/postscript/postio /usr/lib/lp/postscript/postreverse /usr/sbin/accept /usr/sbin/lpadmin /usr/sbin/lpmove /usr/sbin/lpsystem /usr/sbin/reject /usr/ucb/lpc /usr/ucb/lpq /usr/ucb/lpr /usr/ucb/lprm Problem Description: 4388492 printing from NT client prints control-file if patch 103959-12 is installed (from 101960-21) 4337525 fix for 4235814 breaks lpstat (from 101960-20) 4235814 lpq chops the tail of status msg. 4257747 lpsched dies on remote jobs sent by a defined userid 4260314 Control-file printed instead of datafile at duplicate request-id's (from 101960-19) 4231623 lpsched dies when filename is greater than 24 characters 4220608 lpsched dies on Solaris 7 4189368 Printing lots of files as 1 job is not executed under sol2.5.1. (from 101960-18) 4156106 cancelling a job while printer is paper out or offline hangs xtp pad printer. 4152678 Banner Page printed via SUNprint shows JOB-ID instead of filename at lp -c (from 101960-17) 4139071 extra chars in title when sending to remote printer on Solaris 7 server 4137389 lpsched handles title option badly 4079274 lpsched log filling up with load_bsd_stat message (from 101960-16) 4094908 anonymous print service does not work properly 4075350 lp.tell loops tightly consuming 20% CPU printing stalled for that printer 4063506 lpsched goes into poll-loop requiring restart (from 101960-15) 4081706 2.5.1: current job can't be cancelled (no more paper in the printer) 4077986 lpsched FLIST option should not contain a space 4077613 Unable to print file to remote queue when user has secondary group access 4063076 lpsched core dumps at start or on the normal operation 1221750 lprm from 5.4 print client fails when print job id is less than 100 4086199 lpsched aborts after issued "You must be "lp" or "root" to run this program" (from 101960-14) 4061499 several lp filter definitions have a security problem 4022904 can't open spool file "/var/spool/lp/tmp/.net/machine/number-1" with protocol lpd 4049134 103959-03 introduces new bug - can't pass SVR4-Extensions 4061420 alert (mail) is sent even after a fault is restored 4061486 SECURITY: auscert 12684, client can gain access to server without an account (from 101960-13) 4030199 Standard printer interface program script hard coded to century 19. (from 101960-12) 4012285 nonexistent remote printer causes lpNet loop & fills log file 1257405 Print system treats jobs from NT as submitted by root 1262253 Control file contains incorrect data file name when printing more than one file 4006868 lpstat -p command exhausts system memory if options are used incorrectly 4007891 printjobs are hanging in the queue 1255967 PCNFSPRO LPD print server hungs randomly 4008193 interface program inserts ^m before %!PS-ADOBE - Jobs look like ASCII to printer (from 101960-11) 1241998 lpsched hangs at random times and has to be killed 1249064 lpsched hangs with PC-NFS clients 1233047 lp doesn't consider the secondary group of a user to print to a local printer 1257405 Print system treats jobs from NT as submitted by root 4004517 lpstat, lpq hangs in environment with many remote printers configures (from 101960-10) 1260585 lpNet core every 30 seconds in s_get_status with 101959-06 installed 1258376 lpNet core, when executing get_status() 1237991 debug lpsched crashes in mwrite printing to remote printers on Microplex boxes 1261137 lpNet logfile produces error messages: < hostname> NAKed by remote lpd 1263668 lpsched and lpNet log files have userid/machine name in build info 1263675 To comply with RFC 1179 (l flag), remove catv filter option 1263686 Using freed MESG structures causing lpsched to core dump (from 101960-09) 1230941 job processed incorrectly from Windows NT to SPARCprinter E on Solaris 5.4 1231385 Solaris 2.X print server does not accept control file from Computerm BSD client 1228202 lpsched dies intermittently with signal 11 and core dumps 1210760 lpsched dies when SIGTHAW is sent to it. 1214993 /usr/ucb/lpr -C can not print '-' character on burst page going to a remote prt 1223153 spooldir on printclient gets full if the spooldir on the printserver is to smal 1224549 If lpr(1B) is passed -C, -T, or -J without any arguments it core dumps 1221750 lprm from 5.4 print client fails when print job id is less than 100 (from 101960-08) 1202891 request creation failed (cf: 0 bytes) when printing over network 1220835 print jobs from a PC running chameleon software will not print under solaris 2. (from 101960-07) 1210216 lp will print any file 1224086 security problem in lp subsystem allows client user to have euid of lp 1222271 lpr -i does not produce indentation 1210044 printer patch will not install via jumpstart (from 101960-06) 1208295 lpsched die w. signal 11 and appears to be increasing the cpu utilization. 1211026 lpstat -t makes the system dead, specially at network printing under Solaris 2.4 1200306 NeWSprint doesn't accept job from bsd clients with type 'l' data 1202237 lp filter "postpages" specifies wrong input type, is unusable 1201425 Permission denied when lp cron job tries to copy lpsched and lpNet files (from 101960-05) 1200103 lpr -l does not work with Sol2.4 and Sol 2.3 w/101317-12 1187515 Print jobs are lost when sent to HP Laserjet 3si with Patch T101317-12. (from 101960-04) 1189176 Print job from Window NT to solaris 2.3 print server can't save the request (from 101960-03) 1174175 lpstat returns incorrect info on S2.3 clients when duplicate request ID exists 1184931 overlapping print jobs can get corrupted 1183524 lpNet does not understand classes using BSD protocol 1178530 Print queue hangs when printing to HP Laserjet III in PostScript mode 1179396 lp deamon endlessly poll trying to get the status of a pc's printer (from 101960-02) 1178451 lpsched dumps core after canceling all job for unavailable remote printer 1178138 "paper out" error-handling via "bpp" under Solaris 2.3 on SS10001177184 lpadmin -p foo -f deny:all may report errors 1177184 lpadmin -p foo -f deny:all may report errors (from 101960-01) 1115847 ux: lp: error: there is no filter to convert the file content." not helpful 1119361 lpsystem quirk when changing system type from "bsd" to "s5" 1120640 lp -o nobanner overrides lpadmin -p -o banner 1128962 files in /var/lp/logs are writable by every one 1145524 lp commands "lpsystem", "lpadmin" and "accept" do not return proper return codes 1147605 lpadmin's "-c" option is not behaving uniformly 1169421 dpost exits with error message 1169551 bpp port handles error conditions differently than a serial port 1148312 "lpadmin -f" switch returning inconsistent error codes between allow & deny 1171055 'lpadmin -p' gives no error message 1170857 lp print client spooling large numbers of jobs will run out of request id's 1129221 lpr -p from 4.x to 5.x doesn't invoke pr 1170808 Postreverse dumps core if input file does not exist This is an LP patch. It includes fixes for several bugs including allowing more than 1000 jobs to queue from a print client, having lpsched do better cleanup of spooling directories, better parallel printer support, and a variety of other things. Patch Installation Instructions: -------------------------------- Refer to the Install.info file within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below. Special Install Instructions: ----------------------------- Before installing this patch, stop lpsched. After patch is installed, before restarting lpsched,in order to get the log file mode fix, remove the lpsched and lpNet log files from /var/lp/logs. After installing this patch on a print server, one should re-add any filter definitions that have changed. The following script can be used to do this task: #!/bin/sh cd /etc/lp/fd for filt in *.fd do fname=`basename $filt .fd` lpfilter -f $fname -x lpfilter -f $fname -F $filt done README -- Last modified date: Friday, August 31, 2001