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

Bug#189011: marked as done (libc6: Change ENOSPC 28 to /* No space or inodes left on device */)



Your message dated Fri, 18 Apr 2003 13:18:39 +0900
with message-id <80znmo30bk.wl@oris.opensource.jp>
and subject line Bug#189011: libc6: Change ENOSPC 28 to /* No space or inodes left on device */
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Apr 2003 19:12:53 +0000
>From change@nas.com Mon Apr 14 14:12:52 2003
Return-path: <change@nas.com>
Received: from pm3-d17.nas.com (debian1.loaner.com) [206.63.102.18] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 1959Nr-0003UH-00; Mon, 14 Apr 2003 14:12:52 -0500
Received: by debian1.loaner.com
	id m1959Nr-005Gz7C
	(Debian Smail-3.2.0.102 1998-Aug-2 #2); Mon, 14 Apr 2003 12:12:51 -0700 (PDT)
Message-Id: <[🔎] m1959Nr-005Gz7C@debian1.loaner.com>
Date: Mon, 14 Apr 2003 12:12:51 -0700 (PDT)
From: change@nas.com
Subject: libc6: Change ENOSPC 28 to /* No space or inodes left on device */
To: submit@bugs.debian.org
Bcc: 
X-Mailer: bug 3.3.10.1
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=1.1 required=4.0
	tests=HAS_PACKAGE,NO_REAL_NAME,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: *

Package: libc6
Version: 2.3.1-10
Severity: normal

Thanks for maintaining Debian's libc6 package. I use it and 
appreciate its importance.

A discussion of Debian bug report 188931 has suggested improving 
how glibc reports when file-systems run out of inodes.

glibc currently returns errno 28, which is defined as 

	"No space left on device"

and is misleading. It should mention inodes.

Please:

1.) Review the Debian bug report at

	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=188931

2.) and consider changing errno.h to say

#define ENOSPC          28      /* No space or inodes left on device */

Thanks,
Kingsley

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux debian1.loaner.com 2.4.19-aa1 #1 Sat Nov 2 20:42:05 PST 2002 i686 unknown unknown GNU/Linux

Versions of the packages libc6 depends on:
ii  libdb1-compat  2.1.3-4        The Berkeley database routines [glibc 2.0/2.

---------------------------------------
Received: (at 189011-done) by bugs.debian.org; 18 Apr 2003 04:18:41 +0000
>From gotom@debian.or.jp Thu Apr 17 23:18:41 2003
Return-path: <gotom@debian.or.jp>
Received: from oris.opensource.jp (oris.opensource.gr.jp) [218.44.239.73] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 196NKi-0006I7-00; Thu, 17 Apr 2003 23:18:40 -0500
Received: from oris.opensource.jp (oris.opensource.jp [218.44.239.73])
	by oris.opensource.gr.jp (Postfix) with ESMTP
	id 13C5BC33C6; Fri, 18 Apr 2003 13:18:39 +0900 (JST)
Date: Fri, 18 Apr 2003 13:18:39 +0900
Message-ID: <80znmo30bk.wl@oris.opensource.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: "Kingsley G. Morse Jr." <change@nas.com>
Cc: GOTO Masanori <gotom@debian.or.jp>, 189011-done@bugs.debian.org,
	Ben Collins <bcollins@debian.org>, jgoerzen@complete.org
Subject: Re: Bug#189011: libc6: Change ENOSPC 28 to /* No space or inodes left on device */
In-Reply-To: <[🔎] 20030416060114.A10882@debian1.loaner.com>
References: <[🔎] m1959Nr-005Gz7C@debian1.loaner.com>
	<[🔎] 20030414200919.GN16706@phunnypharm.org>
	<[🔎] 20030414213305.B1334@debian1.loaner.com>
	<[🔎] 80llyb4wpd.wl@oris.opensource.jp>
	<[🔎] 807k9u51ee.wl@oris.opensource.jp>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 189011-done@bugs.debian.org
X-Spam-Status: No, hits=-1.8 required=4.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,
	      USER_AGENT
	version=2.44
X-Spam-Level: 

Hi,

At Wed, 16 Apr 2003 06:01:15 -0700,
Kingsley G. Morse Jr. <change@nas.com> wrote:
> What would you think of reassigning this bug to
> the kernel, asking for mroe speciific error
> numbers to be returned by its file system?

I think it shouldn't be reassigned to any other packages.  As Ben and
I wrote, it's the current un*x limitation, it's the current un*x
specification, it's difficult to fix.  Sorry, I can't do anything.  If
you invent the nice idea, please tell us or implement it to the
kernel!  I close this bug.

Regards,
-- gotom

> 
> Thanks,
> Kingsley
> 
> On Wed:16:47, GOTO Masanori wrote:
> > Kingsley,
> > 
> > Could I close this bug?
> > 
> > Regards,
> > -- gotom
> > 
> > At Wed, 16 Apr 2003 00:17:02 +0900,
> > GOTO Masanori wrote:
> > > 
> > > At Mon, 14 Apr 2003 21:33:05 -0700,
> > > Kingsley G. Morse Jr. <change@nas.com> wrote:
> > > > 
> > > > On Mon:16:09, Ben Collins wrote:
> > > > > Kingsley wrote:
> > > > > > glibc currently returns errno 28, which is
> > > > > > defined as 
> > > > > > 
> > > > > > 	"No space left on device"
> > > > > > 
> > > > > > and is misleading. It should mention inodes.
> > > > > 
> > > > > Inodes are a specific term that does not apply
> > > > > to all cases where ENOSPC is used. What happens
> > > > > if ENOSPC starts to be returned when an A/V
> > > > > filesystem runs out of "media blocks", should we
> > > > > then change it to "No space, inodes or media
> > > > > blocks left on device"? Not likely. ENOSPC is
> > > > > not specific to filesystems either.
> > > > 
> > > > Good point.
> > > 
> > > Yes, actually this problem is sometimes occured to develop the
> > > enhanced file system, and it's difficult to modify.  From my
> > > experience, I can say that there is no generic way to resolve this
> > > issue on the novel unix.  Only we can do is printing out actual kernel
> > > error message to syslog.
> > > 
> > > > 
> > > > Thanks.
> > > > 
> > > > In light of your considerable experience in these
> > > > matters, do you happen to have any thoughts on how
> > > > more helpful error messages could be provided to
> > > > newbie users? 
> > > > 
> > > > For example, is there a way that glibc could
> > > > report specifically whether it's disk space,
> > > > inodes or media blocks that have been exhausted?
> > > > 
> > > > Unique errnos???
> > > 
> > > It might be filesystem issue which is implemented into kernel, not
> > > glibc.
> > > 
> > > Glibc follows the error number which is returned from filesystem.  If
> > > you define unique errnos, then your application should be aware such
> > > error, and such application becomes non-portable for various
> > > filesystems.
> > > 
> > > Regards,
> > > -- gotom
> > > 
> > > > 
> > > > Thanks,
> > > > Kingsley
> > > > 
> > > > > 
> > > > > At most, this is a FAQ.
> > > > > 
> > > > > -- Debian     - http://www.debian.org/ Linux
> > > > > 1394 - http://www.linux1394.org/ Subversion -
> > > > > http://subversion.tigris.org/ Deqo       -
> > > > > http://www.deqo.com/
> > > > > 
> > > > > Content preview:  > glibc currently returns
> > > > > errno 28, which is defined as
> > > > >   > > "No space left on device" > > and is
> > > > >   > > misleading. It should mention
> > > > >   inodes. Inodes are a specific term that does
> > > > >   not apply to all cases where ENOSPC is used.
> > > > >   What happens if ENOSPC starts to be returned
> > > > >   when an A/V filesystem runs out of "media
> > > > >   blocks", should we then change it to "No
> > > > >   space, inodes or media blocks left on device"?
> > > > >   Not likely.  ENOSPC is not specific to
> > > > >   filesystems either. [...] 
> > > > > 
> > > > -- 
> > > > To UNSUBSCRIBE, email to debian-glibc-request@lists.debian.org
> > > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > > -- 
> > > To UNSUBSCRIBE, email to debian-glibc-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: