If you have been having problems with
a) Solaris and high load levels
b) lpc reread killing off your spooler
c) parallel port IO problems
(you should also get the latest ifhp release which
also has fixes for the same problem)
Then please update to this version.
My thanks to all of the folks who sent in the detailed
problem report information!
Patrick Powell Astart Technologies,
[EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 858-874-6543 FAX 858-279-8424
LPRng - Print Spooler (http://www.astart.com)
Release LPRng 3.6.21 - Sun Jul 16 16:58:19 PDT 2000
Clean up some Tru64 system warnings about casts.
(Supplied by: "Justus J. Addiss" <[EMAIL PROTECTED]>)
Seemed to have found a solution to the parallel port problem
by brutally using fstat() to see if we have a device, and if
so, then unless it is a tty, assuming that it is a write only
device. This is stupid, and I just KNOW that when somebody
adds a USB device I will suffer for this. When you have a
'write only' file descriptor, you just do a 'write' with timeout.
No select, nothing. Just a write. This seems to solve the
problem. Oh yes. You also make sure the file descriptor
is non-blocking.
(By: Patrick Powell <[EMAIL PROTECTED]>)
There is a bizzare problem with doing select for read on some Solaris
systems with certain patch sets on file descriptors that have
been set for non-blocking. The select call will actually return
and indicate that the device can be read... But when you do,
you get -1, and EUNAVAIL or some similar code indicating no data
to be read. This is truly bizzare. To ensure that this does
not happen, you must do a select on a nonblocking file descriptor.
To add injury to insult, this seems to not be reliably reproducible.
You really had to be there for this one. I now set all the file
descriptors into blocking mode and then do select, then put them
in nonblocking mode to do the write or read.
The mysterious 'lpc reread' killing lpd was discovered to be caused
by trying to free an already freed pointer, which was garbage.
This was related to cleaning up the memory leak problem in 3.6.20.
Sigh...
I cannot spell krbros... krb5... or kb5... and thus cannot invoke the
dog in the configuration script.
(Happily pointed out by: John Perkins <[EMAIL PROTECTED]>)
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------