bug-hurd
[Top][All Lists]
Advanced

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

Bug#196085: marked as forwarded (Bugs in store_typed_open and store_find


From: Debian Bug Tracking System
Subject: Bug#196085: marked as forwarded (Bugs in store_typed_open and store_find_class)
Date: Wed, 04 Jun 2003 17:18:22 -0500

Your message dated 05 Jun 2003 08:10:47 +1000
with message-id <1054764646.2650.4.camel@localhost.localnet>
has caused the Debian Bug report #196085,
regarding Bugs in store_typed_open and store_find_class
to be marked as having been forwarded to the upstream software
author(s) bug-parted@gnu.org.

(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 196085-forwarded) by bugs.debian.org; 4 Jun 2003 22:12:17 +0000
>From timshel@debian.org Wed Jun 04 17:12:16 2003
Return-path: <timshel@debian.org>
Received: from grunt24.ihug.com.au [203.109.249.144] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 19NgUS-0005zJ-00; Wed, 04 Jun 2003 17:12:16 -0500
Received: from p52-tnt2.mel.ihug.com.au [203.173.164.52] 
        by grunt24.ihug.com.au with esmtp (Exim 3.35 #1 (Debian))
        id 19NgUO-0008Pz-00; Thu, 05 Jun 2003 08:12:13 +1000
Subject: [Fwd: Bug#196085: Device files are not accepted under the Hurd]
From: Timshel Knoll <timshel@debian.org>
To: bug-parted@gnu.org
Cc: 196085-forwarded@bugs.debian.org
Content-Type: multipart/signed; micalg=pgp-sha1; 
protocol="application/pgp-signature"; boundary="=-F8oqfwqXFLAZ+QFYl7z0"
Organization: Debian GNU/Linux
Message-Id: <1054764646.2650.4.camel@localhost.localnet>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.4 
Date: 05 Jun 2003 08:10:47 +1000
Delivered-To: 196085-forwarded@bugs.debian.org
X-Spam-Status: No, hits=-13.6 required=4.0
        tests=BAYES_01,PGP_SIGNATURE_2,USER_AGENT_XIMIAN
        autolearn=ham version=2.53-bugs.debian.org_2003_05_24
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 
(1.174.2.15-2003-03-30-exp)


--=-F8oqfwqXFLAZ+QFYl7z0
Content-Type: multipart/mixed; boundary="=-i+cOlNBoJ/duEZmghd9Z"


--=-i+cOlNBoJ/duEZmghd9Z
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


--=20

--=-i+cOlNBoJ/duEZmghd9Z
Content-Disposition: inline
Content-Description: Forwarded message - Bug#196085: Device files are not
        accepted under the Hurd
Content-Type: message/rfc822

Return-Path: <debbugs@master.debian.org>
X-Original-To: timshel@localhost
Delivered-To: timshel@localhost.railwayplace.lan
Received: from localhost (localhost.localnet [127.0.0.1]) by
        pippin.railwayplace.lan (Postfix) with ESMTP id 45BAB241ED for
        <timshel@localhost>; Thu,  5 Jun 2003 00:33:37 +1000 (EST)
Delivered-To: timshel@backend.pop.ihug.com.au
Received: from pop.ihug.com.au [203.109.250.50] by localhost with POP3
        (fetchmail-6.2.1) for timshel@localhost (single-drop); Thu, 05 Jun 2003
        00:33:37 +1000 (EST)
Received: (qmail 30943 invoked from network); 4 Jun 2003 14:08:49 -0000
Received: from grunt24.ihug.com.au (203.109.249.144) by mail3.ihug.com.au
        with SMTP; 4 Jun 2003 14:08:49 -0000
Received: from wink.pobox.com [207.106.49.21]  by grunt24.ihug.com.au with
        esmtp (Exim 3.35 #1 (Debian)) id 19NYwX-0006Iu-00; Thu, 05 Jun 2003
        00:08:46 +1000
Received: from wink.pobox.com (localhost [127.0.0.1]) by wink.pobox.com
        (Postfix) with ESMTP id 505351013B for <timshel@ihug.com.au>; Wed,  4 
Jun
        2003 10:05:34 -0400 (EDT)
Delivered-To: timshel@pobox.com
Received: from master.debian.org (master.debian.org [146.82.138.7]) by
        wink.pobox.com (Postfix) with ESMTP id 7AC21101A1 for 
<timshel@pobox.com>;
        Wed,  4 Jun 2003 10:04:10 -0400 (EDT)
Received: from debbugs by master.debian.org with local (Exim 3.35 1
        (Debian)) id 19NYrA-0003qT-00; Wed, 04 Jun 2003 09:03:12 -0500
X-Loop: owner@bugs.debian.org
Subject: Bug#196085: Device files are not accepted under the Hurd
Reply-To: Ognyan Kulev <ogi@fmi.uni-sofia.bg>, 196085@bugs.debian.org
Resent-From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: bug-hurd@gnu.org, Timshel Knoll <timshel@debian.org>
Resent-Date: Wed, 04 Jun 2003 14:03:10 UTC
Resent-Message-ID: <handler.196085.B.105473530014328@bugs.debian.org>
X-Debian-PR-Message: report 196085
X-Debian-PR-Package: parted
X-Debian-PR-Keywords: patch upstream
Received: via spool by submit@bugs.debian.org id=B.105473530014328 (code B
        ref -1); Wed, 04 Jun 2003 14:03:10 UTC
Received: (at submit) by bugs.debian.org; 4 Jun 2003 14:01:40 +0000
Received: from cs.fmi.uni-sofia.bg (ds.fmi.uni-sofia.bg) [62.44.101.6]  by
        master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19NYpb-0003gB-00;
        Wed, 04 Jun 2003 09:01:35 -0500
Received: from fmi.uni-sofia.bg (magid.fmi.uni-sofia.bg [62.44.101.57]) by
        ds.fmi.uni-sofia.bg (iPlanet Messaging Server 5.2 (built Feb 21 2002)) 
with
        ESMTP id <FWWM08OIQIRKLQ002F@ds.fmi.uni-sofia.bg> for
        submit@bugs.debian.org; Wed, 04 Jun 2003 16:59:19 +0300 (E. Europe 
Daylight
        Time)
Date: Wed, 04 Jun 2003 17:03:32 +0300
From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
To: submit@bugs.debian.org
Message-id: <3EDDFC34.4040600@fmi.uni-sofia.bg>
Organization: Faculty of Mathematics and Informatics
MIME-version: 1.0
Content-type: multipart/mixed; boundary="Boundary_(ID_DR9pE8nnPSL6LS7BobnIOA)"
X-Accept-Language: bg, en-us, en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1)
        Gecko/20030527 Debian/1.3.1-2
Delivered-To: submit@bugs.debian.org
Resent-Sender: Debian BTS <debbugs@master.debian.org>
Lines: 61
X-Spam-Status: No, hits=-8.6 required=5.0
        tests=BAYES_01,DEBIAN_BTS_BUG,PATCH_UNIFIED_DIFF,
        USER_AGENT_MOZILLA_UA,X_LOOP version=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

This is a multi-part message in MIME format.

--Boundary_(ID_DR9pE8nnPSL6LS7BobnIOA)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable

Package: parted
Version: 1.6.5-1
Severity: important
Tags: patch, upstream

Under the Hurd, when device file is passed as an argument to "parted",
Segmentation fault occurs.  More detailed report can be found in
http://mail.gnu.org/archive/html/bug-hurd/2002-10/msg00036.html

The reason is using store_typed_open instead of store_open.  More
information can be found in $HURD/libstore/store.h (or
/include/hurd/store.h).  Basicly, store_typed_open expects something
like "device:hd0", while store_open expects something like "/dev/hd0".
Needless to say, the latter is what everyone would try.  The first style
is equivalent of (MAJOR,MINOR) pair in *nix, and the second style is
equivalent of block device file name.

I forward this bug report to bug-hurd, as I'm not completly sure if this
is the right fix.

Regards
--=20
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""
7D9F 66E6 68B7 A62B 0FCF  EB04 80BF 3A8C A252 9782


--Boundary_(ID_DR9pE8nnPSL6LS7BobnIOA)
Content-type: text/plain; name=parted.diff
Content-disposition: inline; filename=parted.diff
Content-Transfer-Encoding: quoted-printable

--- parted-1.6.5.orig/libparted/gnu.c
+++ parted-1.6.5/libparted/gnu.c
@@ -235,12 +235,12 @@
        arch_specific->consume =3D 1;
 =20
  retry_open:
-       err =3D store_typed_open (dev->path, 0, NULL, &arch_specific->store=
);
+       err =3D store_open (dev->path, 0, NULL, &arch_specific->store);
        if (err) {
                error_t rw_err =3D err;
 =20
-               err =3D store_typed_open (dev->path, STORE_READONLY, NULL,
-                                       &arch_specific->store);
+               err =3D store_open (dev->path, STORE_READONLY, NULL,
+                                 &arch_specific->store);
                if (err) {
                        if (ped_exception_throw (
                                PED_EXCEPTION_ERROR,


--Boundary_(ID_DR9pE8nnPSL6LS7BobnIOA)--




--=-i+cOlNBoJ/duEZmghd9Z--

--=-F8oqfwqXFLAZ+QFYl7z0
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA+3m5mXfqTkd4+iqcRAlSAAJ4gZQyDYNCDsIOZc4IFbhYiVoxlmwCePuw7
1cUn2+trB1D05K1m2x2RIxg=
=4hTl
-----END PGP SIGNATURE-----

--=-F8oqfwqXFLAZ+QFYl7z0--





reply via email to

[Prev in Thread] Current Thread [Next in Thread]