[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619333: marked as done (vnstatd does not honour the CheckDiskSpace config option)



Your message dated Mon, 25 Jul 2011 21:26:11 +0100
with message-id <1311625571.1898.4.camel@omega>
and subject line Re: vnstatd does not honour the CheckDiskSpace config option
has caused the Debian Bug report #619333,
regarding vnstatd does not honour the CheckDiskSpace config option
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
619333: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619333
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: vnstat
Severity: normal
Tags: upstream

There is an unexpected difference between the vnstat and the vnstatd binaries: In a low diskspace scenario, the CheckDiskSpace option set to 0 comes in handy. Setting this option to 0 updates the database file even if the remaining diskspace is <1MB. The vnstatd daemon however, does not update the database in this case.

>From the vnstat source code: (line 540)
   if (!spacecheck(dirname) && !force) {
>From the vnstatd source code: (line 337)
   if (spacecheck(dirname)) {

I would opt that both binaries behave the same way, ie replace line 337 in vnstatd.c by
   if (spacecheck(dirname)||force) {

Thanks,
Thomas


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'squeeze-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Closing.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: