Report forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#9090; Package dpkg.
debian-bugs-dist@lists.debian.orgIan Jackson
Subject: Bug#9090: dpkg: long fs names reported from df break space calculations
Reply-To: swift@alum.mit.edu, 9090@bugs.debian.org
Resent-From:
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Ian Jackson
Resent-Date: Sat, 26 Apr 1997 04:03:06 GMT
Resent-Message-ID:
Resent-Sender: iwj@debian.org
X-Debian-PR-Package: dpkg
X-Debian-PR-Keywords:
X-Loop: owner@bugs.debian.org
Received: via spool by bugs@bugs.debian.org id=B.86202683426941
(code B ref -1); Sat, 26 Apr 1997 04:03:06 GMT
Date: Fri, 25 Apr 1997 23:53:26 -0400
Message-Id: <199704260353.XAA03719@localhost.bu.edu>
From:
To: submit@bugs.debian.org
X-Mailer: bug 2.93
Package: dpkg
Version: 1.4.0.8
df reports the following:
~# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda1 2425288 1350769 949126 59% /
/dev/hdc1 1245664 473408 772256 38% /windisk
/dev/hdc3 474227 13 449720 0% /xtra
satellite:/var/lib/dpkg/methods/ftp/debian
301049 62446 223055 22% /mnt
~> df --version
df (GNU fileutils) 3.16
Notice that the long fs name causes df to split output for that fs into two
lines. This breaks logic in dpkg that tries to determine the available bytes
for a long fs. It would say the available bytes is "22%"; my reverse
engineering guess is that it's taking the fourth field from a line that matches
the right mount directory. The fourth field in this case is the fifth field in
the normal case.
-- System Information
Debian Release: 1.3
Kernel Version: Linux localhost 2.0.30 #1 Thu Apr 24 13:34:49 EDT 1997 i586 unknown
Versions of the packages dpkg depends on:
libc5 Version: 5.4.23-2
ncurses3.0 Version: 1.9.9e-1
Acknowledgement sent to swift@alum.mit.edu:
New bug report received and forwarded. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>.
-t
From: owner@bugs.debian.org (Ian Jackson)
To: swift@alum.mit.edu
Subject: Bug#9090: Acknowledgement (was: dpkg: long fs names reported from df break space calculations)
Message-ID:
In-Reply-To: <199704260353.XAA03719@localhost.bu.edu>
References: <199704260353.XAA03719@localhost.bu.edu>
Thank you for the problem report you have sent regarding Debian Linux.
This is an automatically generated reply, to let you know your message has
been received. It is being forwarded to the developers' mailing list for
their attention; they will reply in due course.
Your message has been sent to the package maintainer(s):
Ian Jackson
If you wish to submit further information on your problem, please send
it to 9090@bugs.debian.org (and *not* to
bugs@bugs.debian.org).
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.
Ian Jackson
(maintainer, Debian bug tracking system)
Received: (at submit) by bugs.debian.org; 26 Apr 1997 03:53:54 +0000
Received: (qmail 26939 invoked from network); 26 Apr 1997 03:53:49 -0000
Received: from ppp-87-32.bu.edu (HELO localhost.bu.edu) (128.197.8.244)
by master.debian.org with SMTP; 26 Apr 1997 03:53:48 -0000
Received: (from swift@localhost)
by localhost.bu.edu (8.8.5/8.8.5) id XAA03719;
Fri, 25 Apr 1997 23:53:26 -0400
Date: Fri, 25 Apr 1997 23:53:26 -0400
Message-Id: <199704260353.XAA03719@localhost.bu.edu>
From:
Subject: dpkg: long fs names reported from df break space calculations
To: submit@bugs.debian.org
X-Mailer: bug 2.93
Reply-to: swift@alum.mit.edu
Package: dpkg
Version: 1.4.0.8
df reports the following:
~# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda1 2425288 1350769 949126 59% /
/dev/hdc1 1245664 473408 772256 38% /windisk
/dev/hdc3 474227 13 449720 0% /xtra
satellite:/var/lib/dpkg/methods/ftp/debian
301049 62446 223055 22% /mnt
~> df --version
df (GNU fileutils) 3.16
Notice that the long fs name causes df to split output for that fs into two
lines. This breaks logic in dpkg that tries to determine the available bytes
for a long fs. It would say the available bytes is "22%"; my reverse
engineering guess is that it's taking the fourth field from a line that matches
the right mount directory. The fourth field in this case is the fifth field in
the normal case.
-- System Information
Debian Release: 1.3
Kernel Version: Linux localhost 2.0.30 #1 Thu Apr 24 13:34:49 EDT 1997 i586 unknown
Versions of the packages dpkg depends on:
libc5 Version: 5.4.23-2
ncurses3.0 Version: 1.9.9e-1
Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#9090; Package dpkg.
debian-bugs-dist@lists.debian.orgIan Jackson
Subject: Bug#9090: dpkg: long fs names reported from df break space calculations
Reply-To: Klee Dienes , 9090@bugs.debian.org
Resent-From: Klee Dienes
Orignal-Sender: klee@sauron.fashion-technology.com
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Ian Jackson
Resent-Date: Sat, 26 Apr 1997 06:48:04 GMT
Resent-Message-ID:
Resent-Sender: iwj@debian.org
X-Debian-PR-Package: dpkg
X-Debian-PR-Keywords:
X-Loop: owner@bugs.debian.org
Received: via spool by 9090-bugs@bugs.debian.org id=B9090.86203654828561
(code B ref 9090); Sat, 26 Apr 1997 06:48:04 GMT
From: Klee Dienes
To: swift@alum.mit.edu, 9090@bugs.debian.org
In-reply-to: Your message of "Fri, 25 Apr 1997 23:53:26 EDT."
<199704260353.XAA03719@localhost.bu.edu>
Date: Sat, 26 Apr 1997 02:34:18 -0400
Sender: klee@sauron.fashion-technology.com
Message-Id:
This is a bug in dpkg-ftp, not in dpkg. I believe it can be fixed by
lines 230 and 236 in 'install' to use 'df -P -k' instead of 'df -k'.
Thanks for the reports,
- Klee
Acknowledgement sent to Klee Dienes <klee@mit.edu>:
Extra info received and forwarded to list. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>.
-t
From: owner@bugs.debian.org (Ian Jackson)
To: Klee Dienes
Subject: Bug#9090: Info received (was Bug#9090: dpkg: long fs names reported from df break space calculations )
Message-ID:
In-Reply-To:
References:
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developer(s) and
to the developers' mailing list to accompany the original report.
Your message has been sent to the package maintainer(s):
Ian Jackson
If you wish to continue to submit further information on your problem,
please send it to 9090@bugs.debian.org, as before.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.
Ian Jackson
(maintainer, Debian bug tracking system)
Received: (at 9090) by bugs.debian.org; 26 Apr 1997 06:35:48 +0000
Received: (qmail 28557 invoked from network); 26 Apr 1997 06:35:38 -0000
Received: from nhv-ct6-34.ix.netcom.com (HELO sauron.fashion-technology.com) (206.217.125.98)
by master.debian.org with SMTP; 26 Apr 1997 06:35:29 -0000
Received: from sauron.fashion-technology.com [127.0.0.1]
by sauron.fashion-technology.com with esmtp (Exim 1.61 #1)
id 0wL14B-0007aa-00 (Debian); Sat, 26 Apr 1997 02:34:19 -0400
From: Klee Dienes
Reply-To: Klee Dienes
To: swift@alum.mit.edu, 9090@bugs.debian.org
Subject: Re: Bug#9090: dpkg: long fs names reported from df break space calculations
In-reply-to: Your message of "Fri, 25 Apr 1997 23:53:26 EDT."
<199704260353.XAA03719@localhost.bu.edu>
Date: Sat, 26 Apr 1997 02:34:18 -0400
Sender: klee@sauron.fashion-technology.com
Message-Id:
This is a bug in dpkg-ftp, not in dpkg. I believe it can be fixed by
lines 230 and 236 in 'install' to use 'df -P -k' instead of 'df -k'.
Thanks for the reports,
- Klee
Bug reassigned from package `dpkg' to `dpkg-ftp'.
Request was from Klee Dienes <klee@mit.edu>
to control@bugs.debian.org.
Received: (at control) by bugs.debian.org; 26 Apr 1997 07:17:06 +0000
Received: (qmail 29236 invoked from network); 26 Apr 1997 07:16:57 -0000
Received: from nhv-ct6-34.ix.netcom.com (HELO sauron.fashion-technology.com) (206.217.125.98)
by master.debian.org with SMTP; 26 Apr 1997 07:16:49 -0000
Received: from klee by sauron.fashion-technology.com with local (Exim 1.61 #1)
id 0wL1iE-0007eF-00 (Debian); Sat, 26 Apr 1997 03:15:42 -0400
From: Klee Dienes
Reply-To: Klee Dienes
To: control@bugs.debian.org
Subject: reassign 9090 dpkg-ftp
Message-Id:
Sender: Klee Dienes
Date: Sat, 26 Apr 1997 03:15:42 -0400
reassign 9090 dpkg-ftp