> From [EMAIL PROTECTED] Sat Oct 7 19:49:12 2000
> From: [EMAIL PROTECTED]
> Date: Sat, 7 Oct 2000 19:36:49 -0600 (MDT)
> To: [EMAIL PROTECTED]
> Subject: LPRng: Bounce Queue followup
>
> Well, somehow I got magic printing on my remote, directly
> attached printer working. I am not sure what I did to
> correct things, or what was wrong before. Maybe someone
> could critique my printcap. But in the course of this,
> I noticed a bunch of errors messages which seem to indicate
> bug to me. A number of times a temp file
>
> /var/spool/lpd/<queue name>/temp<random string>
>
> is tried to be renamed to /var/log/lp-errs. The reason
> for failure is permission denied. The file in fact already
> exists. To me, it makes sense to try and append messages
> to this file, but not to rename the file to this final
> lp-errs file. Anyway, printcap follows .sig.
>
> Gord
>
> Matter Realisations http://www.materialisations.com/
> Gordon Haverland, B.Sc. M.Eng. President
> 101 9504 182 St. NW Edmonton, AB, CA T5T 3A7
> 780/481-8019 ghaverla @ freenet.edmonton.ab.ca
ARGH!!! ARGH!!!
OK, here is the problem. The log file truncation code
a) creates a temp file.
b) copies the END of the log file to the temp file
c) renames the temp file as the log file.
Why? Because I did not want to truncate and
then rewrite the log file and then remove the
temp file.
But you have, for some reason that escapes me :-)
have your log files in /var/log/lpd/xxx... and the rename
fails across file systems.
LPRng 3.7.1 will fix this...
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)
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------