> From [EMAIL PROTECTED] Tue Oct 10 19:32:53 2000
> From: [EMAIL PROTECTED]
> Date: Tue, 10 Oct 2000 19:01:23 -0600 (MDT)
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: Bounce Queue followup
>
>
> On Mon, 9 Oct 2000 [EMAIL PROTECTED] wrote:
>
> > > 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.
>
> > ARGH!!! ARGH!!!
>
> Is this where I say oops? :-)
No, this is where I start pounding my head against the
keyboard.
>
> > 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.
No, this is allowed by 'the rules of the game' and I should
make sure it works with log files any place.
>
> I just started with what Debian provided me with, but if I
> was supposed to put those log files somewhere else, maybe
> Craig should add a note somewhere. Or maybe he did and I didn't
> find it.
>
> 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
> 780/993-1274 (cell)
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.
-----------------------------------------------------------------------------