#132422 apsfilter: apsfilterconfig installs acct and log files in peculiar places

#132422#5
Date:
2002-02-05 02:20:06 UTC
From:
To:
It appears that the directories used by apsfilter conflict with the
current policy.  The installation script, apsfilterconfig, installs
separate log and accounting files for each printer, under
/var/spool/lpd/PRINTERNAME/.  These separate subdirectories are named
in the /etc/printcap installed by the script.

After reading the FHS document, and looking at /var/log, it appears to
me that the log files at least (and probably the accounting as well)
should go in /var/log/lp-acct and /var/log/lp-errs, or perhaps in
/var/log/lpr.log.

If these directories are to be changed, I think it can be done just by
editing the SETUP script used by apsfilterconfig.
--- Begin /etc/apsfilterrc (modified conffile)
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
A2PS_OPTS="-X iso1 --portrait --no-header --borders=no -1"
#
#
#
#
#
#
DVIPS_RESOL_DorP=-D
#
#
#
#
HTML2PS_OPTS="-e ISO-8859-1 -u -H"
RECODE_OPTS="-q latin1:ibmpc"
GS_FONTPATH=/usr/X11R6/lib/X11/fonts/Type1
#
#
#
#
#
#
#
--- End /etc/apsfilterrc