X-Loop: help-debbugs@HIDDEN Subject: bug#20893: Strange behavior when using parted Resent-From: Joan =?UTF-8?Q?Lled=C3=B3?= <joanlluislledo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 24 Jun 2015 21:23:01 +0000 Resent-Message-ID: <handler.20893.B.143518095614901 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 20893 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 20893 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.143518095614901 (code B ref -1); Wed, 24 Jun 2015 21:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2015 21:22:36 +0000 Received: from localhost ([127.0.0.1]:56678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Z7s7v-0003sG-38 for submit <at> debbugs.gnu.org; Wed, 24 Jun 2015 17:22:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39023) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <joanlluislledo@HIDDEN>) id 1Z7rXl-00032H-3n for submit <at> debbugs.gnu.org; Wed, 24 Jun 2015 16:45:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <joanlluislledo@HIDDEN>) id 1Z7rXe-0005BM-Kp for submit <at> debbugs.gnu.org; Wed, 24 Jun 2015 16:45:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <joanlluislledo@HIDDEN>) id 1Z7rXe-0005B4-IV for submit <at> debbugs.gnu.org; Wed, 24 Jun 2015 16:45:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <joanlluislledo@HIDDEN>) id 1Z7rXd-0007Vq-9X for bug-parted@HIDDEN; Wed, 24 Jun 2015 16:45:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <joanlluislledo@HIDDEN>) id 1Z7rXb-00052L-Kk for bug-parted@HIDDEN; Wed, 24 Jun 2015 16:45:05 -0400 Received: from mail-yk0-x229.google.com ([2607:f8b0:4002:c07::229]:33244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <joanlluislledo@HIDDEN>) id 1Z7rXb-00051Z-GV for bug-parted@HIDDEN; Wed, 24 Jun 2015 16:45:03 -0400 Received: by ykdt186 with SMTP id t186so30447977ykd.0 for <bug-parted@HIDDEN>; Wed, 24 Jun 2015 13:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=tsWo+dsIYqhG3r4MVtXj/dGyuRyJ3IpmZwSzJscSRgs=; b=zuh4Whq+YRGbr8btGffVGiSVSr0mm8MaXFKU/e5m2xAbLTRFrn1lXnETN6DgSy+6Pg 3FBo9wspME2xbu3TsylbaY/dvsGqfm9u0jidMvkSjkdJRn2YZZiTkgzEeLSBwQmGjVRz DYbXEGVxU4jwf7v9xsTZiL9KDnDaV5bIQgd4mfDORzWYtJkxX5wYji77SjrSOC0jgTLq mDcN9PX2ejGPzSwRHWcyHiysc6Lsg0rrxQjbwo9hgbprimKyOSZDXZawrGkAnOo7xlaI OsC4Vw0UTik96j5DeKUwkPY2S/4PdDfI0r4nlet0Q+HGRQYIoUZ/4kUJI7mBOP/AzGDf Gfmg== X-Received: by 10.13.198.2 with SMTP id i2mr52812459ywd.123.1435178703004; Wed, 24 Jun 2015 13:45:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.240.4 with HTTP; Wed, 24 Jun 2015 13:44:23 -0700 (PDT) From: Joan =?UTF-8?Q?Lled=C3=B3?= <joanlluislledo@HIDDEN> Date: Wed, 24 Jun 2015 22:44:23 +0200 Message-ID: <CABgN3NO7WJ6YnKa3ze0VB8daF3jNgsz07VtxxwefuetGQ_1fVg@HIDDEN> Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Wed, 24 Jun 2015 17:22:34 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) Hello parted list, I'm not sure this is a bug, probably not, but since I've installed Debian 8 some scripts I use for helping me to test a library are having a strange behavior. I've wrote a little script as an example: #!/bin/bash cd ~ modprobe scsi_debug dev_size_mb=800 sector_size=4096 parted /dev/sdf mklabel msdos parted /dev/sdf mkpart primary 1 50 parted /dev/sdf mkpart primary 51 105 parted /dev/sdf mkpart extended 106 750 parted /dev/sdf mkpart primary 751 839 parted /dev/sdf mkpart logical 107 200 parted /dev/sdf mkpart logical 201 300 parted /dev/sdf mkpart logical 301 450 parted /dev/sdf mkpart logical 451 600 parted /dev/sdf mkpart logical 601 750 mkfs.ext4 /dev/sdf1 mkfs.vfat -F 32 /dev/sdf2 mkfs.ext2 /dev/sdf4 mkfs.ext3 /dev/sdf5 mkfs.vfat -F 16 /dev/sdf6 mkfs.ext4 /dev/sdf7 mkfs.vfat -F 32 /dev/sdf8 mkswap /dev/sdf9 xfs_admin -L selinux /dev/sdf8 echo "Mounting sdf1..." mount /dev/sdf1 /mnt umount /mnt echo "Mounting sdf2..." mount /dev/sdf2 /mnt umount /mnt echo "Mounting sdf4..." mount /dev/sdf4 /mnt umount /mnt echo "Mounting sdf5..." mount /dev/sdf5 /mnt umount /mnt echo "Mounting sdf6..." mount /dev/sdf6 /mnt umount /mnt echo "Mounting sdf7..." mount /dev/sdf7 /mnt umount /mnt echo "Mounting sdf8..." mount /dev/sdf8 /mnt umount /mnt When I run this script, most of the attempts to format the new partitions fail with the error "The file /dev/sdf1 does not exist and no size was specified.", just like the attempts to mount the formatted partitions. The result of running this script is not even always the same. Is seems like the kernel is not receiving the updates of the /dev/sdf device. Not sure if this is caused by parted, udev, the kernel... any ideas?
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Joan =?UTF-8?Q?Lled=C3=B3?= <joanlluislledo@HIDDEN> Subject: bug#20893: Acknowledgement (Strange behavior when using parted) Message-ID: <handler.20893.B.143518095614901.ack <at> debbugs.gnu.org> References: <CABgN3NO7WJ6YnKa3ze0VB8daF3jNgsz07VtxxwefuetGQ_1fVg@HIDDEN> X-Gnu-PR-Message: ack 20893 X-Gnu-PR-Package: parted Reply-To: 20893 <at> debbugs.gnu.org Date: Wed, 24 Jun 2015 21:23:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-parted@HIDDEN If you wish to submit further information on this problem, please send it to 20893 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 20893: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20893 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#20893: Strange behavior when using parted Resent-From: "Brian C. Lane" <bcl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 24 Jun 2015 21:54:01 +0000 Resent-Message-ID: <handler.20893.B20893.143518279417563 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 20893 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Joan =?UTF-8?Q?Lled=C3=B3?= <joanlluislledo@HIDDEN> Cc: 20893 <at> debbugs.gnu.org Received: via spool by 20893-submit <at> debbugs.gnu.org id=B20893.143518279417563 (code B ref 20893); Wed, 24 Jun 2015 21:54:01 +0000 Received: (at 20893) by debbugs.gnu.org; 24 Jun 2015 21:53:14 +0000 Received: from localhost ([127.0.0.1]:56708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Z7sbZ-0004ZC-3l for submit <at> debbugs.gnu.org; Wed, 24 Jun 2015 17:53:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33647) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <bcl@HIDDEN>) id 1Z7sbV-0004Yt-Gm for 20893 <at> debbugs.gnu.org; Wed, 24 Jun 2015 17:53:10 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 999C72CD843; Wed, 24 Jun 2015 21:53:03 +0000 (UTC) Received: from lister.brianlane.com (ovpn-113-104.phx2.redhat.com [10.3.113.104]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5OLr1RE016290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 24 Jun 2015 17:53:03 -0400 Date: Wed, 24 Jun 2015 14:53:01 -0700 From: "Brian C. Lane" <bcl@HIDDEN> Message-ID: <20150624215301.GR3170@HIDDEN> References: <CABgN3NO7WJ6YnKa3ze0VB8daF3jNgsz07VtxxwefuetGQ_1fVg@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <CABgN3NO7WJ6YnKa3ze0VB8daF3jNgsz07VtxxwefuetGQ_1fVg@HIDDEN> User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.4 (------) On Wed, Jun 24, 2015 at 10:44:23PM +0200, Joan Lledó wrote: > Hello parted list, > > I'm not sure this is a bug, probably not, but since I've installed > Debian 8 some scripts I use for helping me to test a library are > having a strange behavior. I've wrote a little script as an example: What version of parted are you using? You may be hitting this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1135493 (there's a fix being discussed on the parted-devel list) > > #!/bin/bash > cd ~ > modprobe scsi_debug dev_size_mb=800 sector_size=4096 > parted /dev/sdf mklabel msdos > parted /dev/sdf mkpart primary 1 50 > parted /dev/sdf mkpart primary 51 105 > parted /dev/sdf mkpart extended 106 750 > parted /dev/sdf mkpart primary 751 839 > parted /dev/sdf mkpart logical 107 200 > parted /dev/sdf mkpart logical 201 300 > parted /dev/sdf mkpart logical 301 450 > parted /dev/sdf mkpart logical 451 600 > parted /dev/sdf mkpart logical 601 750 Also, you should be using -s in your script to avoid prompting. -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
X-Loop: help-debbugs@HIDDEN Subject: bug#20893: Strange behavior when using parted Resent-From: Joan =?UTF-8?Q?Lled=C3=B3?= <joanlluislledo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 24 Jun 2015 22:50:03 +0000 Resent-Message-ID: <handler.20893.B20893.143518618222401 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 20893 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: "Brian C. Lane" <bcl@HIDDEN> Cc: 20893 <at> debbugs.gnu.org Received: via spool by 20893-submit <at> debbugs.gnu.org id=B20893.143518618222401 (code B ref 20893); Wed, 24 Jun 2015 22:50:03 +0000 Received: (at 20893) by debbugs.gnu.org; 24 Jun 2015 22:49:42 +0000 Received: from localhost ([127.0.0.1]:56730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Z7tUD-0005pF-Ju for submit <at> debbugs.gnu.org; Wed, 24 Jun 2015 18:49:42 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:34268) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <joanlluislledo@HIDDEN>) id 1Z7tUB-0005p1-LK for 20893 <at> debbugs.gnu.org; Wed, 24 Jun 2015 18:49:40 -0400 Received: by wicnd19 with SMTP id nd19so1915264wic.1 for <20893 <at> debbugs.gnu.org>; Wed, 24 Jun 2015 15:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version:content-type; bh=P+W0IXpKm73GtkFW3JLaYBk6RI2MVvJ2OOoaocKxmcM=; b=UTkIQDuzccyqzmfNgRSMXfZi4ut44DjFm3ArxIDYNSqsOrWMinll1Np0IHO+/GwF22 OdCGBv2wUp0ajtUC+VGLTRvP+St+Tdz37e3YZL/RkgVyyt8kXtIxAs3LZXLIJ2OwWcXe fJHMPWSB01kqSYvHBn37+B2Sq46v/AE1GcNBXTf1LGyhc4zY7hBJ5xPFamQD8s1YAHeW lxC4Y9YpBYMTMqUG8APzTHxvntJ04myzLglGfbEG0hzj3iCD2zLVauZs/kHpyNoHvfv/ F+EceNIXJfKPi+HXEM/OyHgoROaCqK4rJEGXHFOK0lAkvWS9JO3MqmMy3gK1yKmOTJ4T 7J+Q== X-Received: by 10.180.218.195 with SMTP id pi3mr162385wic.71.1435186173944; Wed, 24 Jun 2015 15:49:33 -0700 (PDT) Received: from [192.168.1.102] ([47.61.236.198]) by mx.google.com with ESMTPSA id v3sm4650218wiz.14.2015.06.24.15.49.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 15:49:33 -0700 (PDT) Date: Thu, 25 Jun 2015 00:49:31 +0200 From: Joan =?UTF-8?Q?Lled=C3=B3?= <joanlluislledo@HIDDEN> Message-Id: <1435186171.5459.0@HIDDEN> In-Reply-To: <20150624215301.GR3170@HIDDEN> References: <20150624215301.GR3170@HIDDEN> X-Mailer: geary/0.8.3 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-Yed5pajEeXsU3qIJxPCr" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) --=-Yed5pajEeXsU3qIJxPCr Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On dc, 24 de jun 2015 a les 11:53 , Brian C. Lane <bcl@HIDDEN>=20 wrote: > On Wed, Jun 24, 2015 at 10:44:23PM +0200, Joan Lled=C3=B3 wrote: >> Hello parted list, >>=20 >> I'm not sure this is a bug, probably not, but since I've installed >> Debian 8 some scripts I use for helping me to test a library are >> having a strange behavior. I've wrote a little script as an example: >=20 > What version of parted are you using? The one that comes with Debian 8: parted 3.2 >=20 >=20 > You may be hitting this bug: > https://bugzilla.redhat.com/show_bug.cgi?id=3D1135493 >=20 > (there's a fix being discussed on the parted-devel list) >=20 Thanks for the link. After reading it I can say that's exactly my problem. I'm glad to know it's a parted bug, because I'm using libparted in a project and thought it was a bug in my code. But this means all the projects that use libparted 3.2, like gparted in Debian 8, must be failing right now, right? Is there a way to receive a notice when this bug is fixed? >=20 >>=20 >> #!/bin/bash >> cd ~ >> modprobe scsi_debug dev_size_mb=3D800 sector_size=3D4096 >> parted /dev/sdf mklabel msdos >> parted /dev/sdf mkpart primary 1 50 >> parted /dev/sdf mkpart primary 51 105 >> parted /dev/sdf mkpart extended 106 750 >> parted /dev/sdf mkpart primary 751 839 >> parted /dev/sdf mkpart logical 107 200 >> parted /dev/sdf mkpart logical 201 300 >> parted /dev/sdf mkpart logical 301 450 >> parted /dev/sdf mkpart logical 451 600 >> parted /dev/sdf mkpart logical 601 750 >=20 > Also, you should be using -s in your script to avoid prompting. >=20 > -- > Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA=20 > (PST8PDT) = --=-Yed5pajEeXsU3qIJxPCr Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <br><br>On dc, 24 de jun 2015 a les 11:53 , Brian C. Lane <bcl@HIDDEN= m> wrote:<br> <blockquote type=3D"cite"><div class=3D"plaintext" style=3D"white-space: pr= e-wrap;">On Wed, Jun 24, 2015 at 10:44:23PM +0200, Joan Lled=C3=B3 wrote: <blockquote> Hello parted list, =20 I'm not sure this is a bug, probably not, but since I've installed Debian 8 some scripts I use for helping me to test a library are having a strange behavior. I've wrote a little script as an example: </blockquote> What version of parted are you using?</div></blockquote><br><span style=3D"= background-color: rgb(255, 255, 255);">The one that comes with Debian 8: pa= rted 3.2</span><div><span style=3D"background-color: rgb(255, 255, 255);"><= br></span><blockquote type=3D"cite"><div class=3D"plaintext" style=3D"white= -space: pre-wrap;"> You may be hitting this bug: <a href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1135493">https://b= ugzilla.redhat.com/show_bug.cgi?id=3D1135493</a> (there's a fix being discussed on the parted-devel list) </div></blockquote><div><br></div><div><span style=3D"background-color: rgb= (255, 255, 255);">Thanks for the link. After reading it I can say that's ex= actly my<br>problem. I'm glad to know it's a parted bug, because I'm using = libparted<br>in a project and thought it was a bug in my code. But this mea= ns all the<br>projects that use libparted 3.2, like gparted in Debian 8, mu= st be<br>failing right now, right?<br><br>Is there a way to receive a notic= e when this bug is fixed?</span></div><br><blockquote type=3D"cite"><div cl= ass=3D"plaintext" style=3D"white-space: pre-wrap;"> <blockquote>=20 #!/bin/bash cd ~ modprobe scsi_debug dev_size_mb=3D800 sector_size=3D4096 parted /dev/sdf mklabel msdos parted /dev/sdf mkpart primary 1 50 parted /dev/sdf mkpart primary 51 105 parted /dev/sdf mkpart extended 106 750 parted /dev/sdf mkpart primary 751 839 parted /dev/sdf mkpart logical 107 200 parted /dev/sdf mkpart logical 201 300 parted /dev/sdf mkpart logical 301 450 parted /dev/sdf mkpart logical 451 600 parted /dev/sdf mkpart logical 601 750 </blockquote> Also, you should be using -s in your script to avoid prompting. <div>--=20 </div>Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA= (PST8PDT) </div></blockquote></div>= --=-Yed5pajEeXsU3qIJxPCr--
X-Loop: help-debbugs@HIDDEN Subject: bug#20893: Strange behavior when using parted Resent-From: "Brian C. Lane" <bcl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 24 Jun 2015 23:18:03 +0000 Resent-Message-ID: <handler.20893.B20893.143518787724805 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 20893 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Joan =?UTF-8?Q?Lled=C3=B3?= <joanlluislledo@HIDDEN> Cc: 20893 <at> debbugs.gnu.org Received: via spool by 20893-submit <at> debbugs.gnu.org id=B20893.143518787724805 (code B ref 20893); Wed, 24 Jun 2015 23:18:03 +0000 Received: (at 20893) by debbugs.gnu.org; 24 Jun 2015 23:17:57 +0000 Received: from localhost ([127.0.0.1]:56738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Z7tvY-0006S0-T6 for submit <at> debbugs.gnu.org; Wed, 24 Jun 2015 19:17:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41182) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <bcl@HIDDEN>) id 1Z7tvW-0006Rq-Fx for 20893 <at> debbugs.gnu.org; Wed, 24 Jun 2015 19:17:55 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 9D1132D124E; Wed, 24 Jun 2015 23:17:53 +0000 (UTC) Received: from lister.brianlane.com (ovpn-113-104.phx2.redhat.com [10.3.113.104]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5ONHpkT019849 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 24 Jun 2015 19:17:52 -0400 Date: Wed, 24 Jun 2015 16:17:51 -0700 From: "Brian C. Lane" <bcl@HIDDEN> Message-ID: <20150624231751.GU3170@HIDDEN> References: <20150624215301.GR3170@HIDDEN> <1435186171.5459.0@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1435186171.5459.0@HIDDEN> User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.4 (------) On Thu, Jun 25, 2015 at 12:49:31AM +0200, Joan Lledó wrote: > > > On dc, 24 de jun 2015 a les 11:53 , Brian C. Lane <bcl@HIDDEN> wrote: > >On Wed, Jun 24, 2015 at 10:44:23PM +0200, Joan Lledó wrote: > >> Hello parted list, > >> > >> I'm not sure this is a bug, probably not, but since I've installed > >> Debian 8 some scripts I use for helping me to test a library are > >> having a strange behavior. I've wrote a little script as an example: > > > >What version of parted are you using? > > The one that comes with Debian 8: parted 3.2 > > > > > > >You may be hitting this bug: > >https://bugzilla.redhat.com/show_bug.cgi?id=1135493 > > > >(there's a fix being discussed on the parted-devel list) > > > > Thanks for the link. After reading it I can say that's exactly my > problem. I'm glad to know it's a parted bug, because I'm using libparted > in a project and thought it was a bug in my code. But this means all the > projects that use libparted 3.2, like gparted in Debian 8, must be > failing right now, right? Yep. > > Is there a way to receive a notice when this bug is fixed? It will be in parted 3.3 for sure. You'll have to check with your distribution's bug tracker to get a notice. -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.