Hello Patrick and list,
  I'm trying to do some more diagnostics on this problem.  I've
suggested a lpr -D5 which can show the minfree value, but I cannot see
which magic -D flag to show what value minfree is being compared
against.

I still haven't got a reply from him yet, so this bug is still
tentative, but some debugging suggestions would help.

http://bugs.debian.org/213195

  - Craig
  
----- Forwarded message from Bill Luecke <[EMAIL PROTECTED]> -----

X-Original-To: [EMAIL PROTECTED]
X-Mail-Format-Warning: Bad RFC2822 header formatting in >From csmall  Sun Sep 28 
19:18:14 2003
Subject: Bug#213195: lprng: lpd calculates free disk space incorrectly
Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Resent-From: Bill Luecke <[EMAIL PROTECTED]>
Original-Sender: Bill Luecke <[EMAIL PROTECTED]>
Resent-To: [EMAIL PROTECTED]
Resent-Cc: Craig Small <[EMAIL PROTECTED]>
Resent-Date: Mon, 29 Sep 2003 00:18:01 UTC
Resent-Message-ID: <[EMAIL PROTECTED]>
X-Debian-PR-Message: report 213195
X-Debian-PR-Package: lprng
X-Debian-PR-Keywords: 
From: Bill Luecke <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Resent-Sender: Craig Small <[EMAIL PROTECTED]>
X-Spam-Status: No, hits=-8.1 required=5.0
        tests=BAYES_01,DEBIAN_BTS_BUG,X_LOOP
        version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Package: lprng
Version: 3.8.22-2
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux tin 2.2.18 #1 Thu Feb 15 17:31:42 EST 2001 i586
Locale: LANG=C, LC_CTYPE=C

Versions of packages lprng depends on:
ii  debconf       1.3.14                     Debian configuration management sy
ii  libc6         2.3.2-7                    GNU C Library: Shared libraries an
ii  libcomerr2    1.34+1.35-WIP-2003.08.21-3 The Common Error Description libra
ii  libkrb53      1.3-2                      MIT Kerberos runtime libraries
ii  libssl0.9.7   0.9.7b-2                   SSL shared libraries

-- debconf information:
* lprng/start_lpd: true
  lprng/twolpd_perms: 
  lprng/twolpd_conf: 
  lprng/setuid_tools: false



I hope I'm supposed to enter further info about this.



I did a dist-upgrade in stable last week, and lpd stopped printing
jobs over about 20k in size. I think this was caused because lpd is
querying for free diskspace, and getting a number that is about 1/4000
too small. At one point "df" also returned these numbers that were off
by that amount too, but that problem vanished when I did a
dist-upgrade to testing.  (I figured this out because while df was
reporting much too small numbers for free diskspace, I tried printing
a number of different files and found that the failure point was right
at the amount of free space that df (incorrectly) reported. 


My system has the following partitions


Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda4             18468876   5922480  11608200  34% /
/dev/hda3               521780    223704    271572  46% /var
/dev/hda1               521748       364    494880   1% /tmp


I have the following packages installed that lprng depends on

ii  libc6                              2.3.2-7 
ii  libcomerr2                         1.34+1.35-WIP-2003.08.21-3   
ii  libkrb53                           1.3-2     
ii  libssl0.9.7                        0.9.7b-2
ii  suidmanager                        0.52    


(When I was running the stable distribution, however, I did have a
libc6 from testing. 

I'm out of ideas here so I resort to the bug report. 

Thanks!

bill



----- End forwarded message -----

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org 

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to