Patch-ID# 102402-01
Keywords: lpd lpr lpstat -v lpstat -t
Synopsis: SunOS 4.1.4: lpstat -t returns segmentation fault
Date: Mar/20/95

Solaris Release: 1.1.2
 
SunOS release: 4.1.4
 
Unbundled Product: 
 
Unbundled Release: 
 
BugId's fixed with this patch: 1154391

Changes incorporated in this version: 1154391 

Relevant Architecture: sparc
    NOTE: sun4(all)

Patches which may conflict with this patch: 

Obsoleted by: 
	NOTE:5.0

Problem Description:
1154391 lpstat -t returns segmentation fault under 4.1.3_U1

INSTALL: 

As root:

first do a "ps ax |grep lpd"  and kill off the currently running lpd process.
the output from ps should be something like:
   134 ?  IW    0:00 /usr/lib/lpd
 26753 p5 S     0:00 grep lpd
# kill -9 {process id of lpd. in the above example this is 134}

Save the FCS version of lpstat.

   mv /usr/bin/lpstat /usr/bin/lpstat.<version>
   chmod 0400 /usr/bin/lpstat.<version> 

Copy in the new version of lpstat, set permissions, and restart lpd.

   cp sun4/4.1.4/lpstat /usr/bin/lpstat
   chmod 6711 /usr/bin/lpstat
   chown root.daemon /usr/bin/lpstat

   rm -f /var/spool/lpd.lock
   /usr/lib/lpd
