> From [EMAIL PROTECTED] Thu Mar 28 13:06:56 2002
> From: Torsten Wiebesiek <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: `checkpc -f` isn't creating log files
> Date: Thu, 28 Mar 2002 21:18:12 +0100
>
> Hi,
>
> for historical reasons we have our log files in /var/log/. The
> printcap lines for each printer are similar to:
>
> > macke_raw:cm=Tektronix Phaser 740 Macke
> > :lf=/var/log/lpd-errs-%P
> > :[...]
>
>
> I wonder why `checkpc -f` is not creating the log files. The output
> of `checkpc -f -V -D1` looks as follows:
>
> > 2002-03-28-20:49:22.924 printserv [26537] checkpc macke_raw: Make_write_file
>'/var/log/lpd-errs-macke_raw'
> > checking '/var/log/lpd-errs-macke_raw' file
> > Warning - ** cannot open '/var/log/lpd-errs-macke_raw' - 'Permission denied'
>
> Is this behavior intended? Permissions of /var/log are 755 and checkpc
> was run as root.
>
> Torsten
>
>
> --
> ----------------------------------------------------------------------
> Dipl.-Ing. Torsten Wiebesiek Universitaet Hannover
> Institut fuer Theoretische Nachrichtentechnik
> und Informationsverarbeitung
> Phone: +49-511-762-5328 (Fax: -5333)
> E-Mail: [EMAIL PROTECTED]
LPRng-3.8.10 - Sun Mar 31 11:31:19 PST 2002
Once again the checkpc file creation stuff is modified so that
it can create files in a directory NOT owned by the lpd group/user.
This is necessary for log files and other items. Note that this
MAY cause problems for log file truncation as you need to copy
file contents rather than just renaming them. But it turns out
that I am already doing this so it appears to be OK.
CAVEAT EMPTOR.
(Reported by: Torsten Wiebesiek <[EMAIL PROTECTED]>)
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.lprng.com)
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
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.
-----------------------------------------------------------------------------