Dear Christoph, > I use 3.8.3 and I definetely don't see the described behaviour, are you > sure the save_jobs... flag is disabled ?
Yes. Things goes like this:
root@rinse:/var/spool/lpd/null# grep done /etc/lpd.conf
# Purpose: keep the last NN done jobs for status purposes
# default done_jobs= 0 (INTEGER)
# Purpose: keep done jobs for at most max age seconds
# default done_jobs_max_age= 1 (INTEGER)
# Purpose: save job when done
# default save_when_done@ (FLAG off)
root@rinse:/var/spool/lpd/null# ls
acct control.pr lock.pr log lpq lpq.0 status status.pr unspooler.pr
root@rinse:/var/spool/lpd/null# lpr -Pnull ~/tmp/test.ps
root@rinse:/var/spool/lpd/null# ls
acct dfA801rinse.wov.idv.tw log status.pr
cfA801rinse.wov.idv.tw hfA801 lpq.0 unspooler.pr
control.pr lock.pr status
root@rinse:/var/spool/lpd/null# lpq -Pnull
Printer: null@rinse 'Null Printer (Testing Only)'
Queue: no printable jobs in queue
Server: no server active
Status: job 'root@rinse+801' removed- status expired at 21:52:01.805
Rank Owner/ID Class Job Files Size Time
root@rinse:/var/spool/lpd/null# ls
acct dfA801rinse.wov.idv.tw log status unspooler.pr
control.pr lock.pr lpq.0 status.pr
root@rinse:/var/spool/lpd/null#
The null printer goes to /dev/null without a print filter. As you
can see, dfA801rinse.wov.idv.tw stays forever, if I don't delete it
by hand.
I have thought of the "save_when_done" option, too. But it does not seem
to be the key. I must miss something here.
Isn't there anybody there that has the same problem with me? I just
tested it on an gcc 2.95.4, glibc 2.2.5, Debian 3.0r0. The problem is
still the same. It does not seem to be related to gcc or glibc versions.
I build LPRng with
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--libdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man
--disable-setuid --enable-nls --with-unix_socket_path=/var/run/lpd.sock
--with-init_path=/etc/init.d/lpd --with-userid=lp --with-groupid=lp
--with-done_jobs=0 --with-done_jobs_max_age=1
--
Best regards,
imacat ^_*'
[EMAIL PROTECTED]
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt
<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://www.linux.org.tw/mailman/listinfo/tlug
msg05053/pgp00000.pgp
Description: PGP signature
