X-Loop: help-debbugs@HIDDEN Subject: bug#38089: [sr #110102] Option to disable/ignore kernel updating in parted Resent-From: anonymous <INVALID.NOREPLY@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 06 Nov 2019 15:17:01 +0000 Resent-Message-ID: <handler.38089.B.15730533682518 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 38089 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: robert.osowiecki@HIDDEN, 38089 <at> debbugs.gnu.org X-Debbugs-Original-To: robert.osowiecki@HIDDEN, bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.15730533682518 (code B ref -1); Wed, 06 Nov 2019 15:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Nov 2019 15:16:08 +0000 Received: from localhost ([127.0.0.1]:41046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iSN2V-0000eX-F3 for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 10:16:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:51796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <www-data@HIDDEN>) id 1iSMwr-0000UY-GT for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 10:10:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39960) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <www-data@HIDDEN>) id 1iSMwq-00018X-8A for bug-parted@HIDDEN; Wed, 06 Nov 2019 10:10:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-96.8 required=5.0 tests=BAYES_00, FORGED_MUA_MOZILLA, FROM_SAVANNAH,HELO_NO_DOMAIN,RDNS_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iSMwp-0003nK-2T for bug-parted@HIDDEN; Wed, 06 Nov 2019 10:10:16 -0500 Received: from frontend0.savannah.gnu.org ([209.51.188.79]:47922) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iSMwo-0003n6-Sv for bug-parted@HIDDEN; Wed, 06 Nov 2019 10:10:15 -0500 Received: by frontend0.savannah.gnu.org (Postfix, from userid 33) id A14FA2CA1; Wed, 6 Nov 2019 10:10:14 -0500 (EST) X-PHP-Originating-Script: 1001:sendmail.php From: anonymous <INVALID.NOREPLY@HIDDEN> X-Savane-Server: savannah.gnu.org:443 [209.51.188.79] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Savane-Project: parted X-Savane-Tracker: support X-Savane-Item-ID: 110102 User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0 X-Apparently-From: 194.181.36.210 Message-Id: <20191106-151012.sv0.69693@HIDDEN> References: In-Reply-To: Date: Wed, 6 Nov 2019 10:10:14 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.79 X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Wed, 06 Nov 2019 10:16:06 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) URL: <https://savannah.gnu.org/support/?110102> Summary: Option to disable/ignore kernel updating in parted Project: GNU Parted Submitted by: None Submitted on: Wed 06 Nov 2019 03:10:12 PM UTC Category: None Priority: 5 - Normal Severity: 1 - Wish Status: None Privacy: Public Assigned to: None Originator Email: robert.osowiecki@HIDDEN Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: Dear parted developers, When I encountered some bugs (or FAD's, because they come from parted itself) in ansible's parted module (see https://github.com/ansible/ansible/issues/63676), I came up with idea that they could be solved very easily if parted had an option enabling "no commit" mode, that is: only editing partition table on disk, without signaling the kernel to update partition info. Currently, parted script stops at the first command which fails on ped_disk_commit_to_os(). My idea is: make commit_to_os optional (alternatively: delay commit_to_os() call after last command in script, so "failed to re-read the partition table" won't stop parted from executing all script. What's your opinion about this? If you give me a green light, I'd dust off my C writting skills and submit a patch for evaulation. With kind regards, Robert Osowiecki _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?110102> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: anonymous <INVALID.NOREPLY@HIDDEN> Subject: bug#38089: Acknowledgement ([sr #110102] Option to disable/ignore kernel updating in parted) Message-ID: <handler.38089.B.15730533682518.ack <at> debbugs.gnu.org> References: <20191106-151012.sv0.69693@HIDDEN> X-Gnu-PR-Message: ack 38089 X-Gnu-PR-Package: parted Reply-To: 38089 <at> debbugs.gnu.org Date: Wed, 06 Nov 2019 15:17:03 +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 38089 <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 38089: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38089 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#38089: [sr #110102] Option to disable/ignore kernel updating in parted Resent-From: "Brian C. Lane" <INVALID.NOREPLY@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 13 Nov 2019 00:56:02 +0000 Resent-Message-ID: <handler.38089.B.157360650412784 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 38089 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: bcl@HIDDEN, robert.osowiecki@HIDDEN, 38089 <at> debbugs.gnu.org X-Debbugs-Original-To: "Brian C. Lane" <bcl@HIDDEN>, robert.osowiecki@HIDDEN, bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.157360650412784 (code B ref -1); Wed, 13 Nov 2019 00:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Nov 2019 00:55:04 +0000 Received: from localhost ([127.0.0.1]:58655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iUgw3-0003K6-Hk for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 19:55:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:40214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <www-data@HIDDEN>) id 1iUgaZ-0002lZ-J5 for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 19:32:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52535) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <www-data@HIDDEN>) id 1iUgaY-00079k-Gp for bug-parted@HIDDEN; Tue, 12 Nov 2019 19:32:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-94.3 required=5.0 tests=BAYES_00, FORGED_MUA_MOZILLA, FROM_SAVANNAH,HELO_NO_DOMAIN,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iUgaX-0000YZ-Ff for bug-parted@HIDDEN; Tue, 12 Nov 2019 19:32:50 -0500 Received: from frontend0.savannah.gnu.org ([209.51.188.79]:58363) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iUgaX-0000YV-D1 for bug-parted@HIDDEN; Tue, 12 Nov 2019 19:32:49 -0500 Received: by frontend0.savannah.gnu.org (Postfix, from userid 33) id 285AB2ED7; Tue, 12 Nov 2019 19:32:49 -0500 (EST) X-PHP-Originating-Script: 1001:sendmail.php From: "Brian C. Lane" <INVALID.NOREPLY@HIDDEN> X-Savane-Server: savannah.gnu.org:443 [209.51.188.79] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Savane-Project: parted X-Savane-Tracker: support X-Savane-Item-ID: 110102 User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 X-Apparently-From: 73.157.81.114 (Savane authenticated user bcl) Message-Id: <20191112-163248.sv89425.29091@HIDDEN> References: <20191106-151012.sv0.69693@HIDDEN> In-Reply-To: <20191106-151012.sv0.69693@HIDDEN> Date: Tue, 12 Nov 2019 19:32:49 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.79 X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Tue, 12 Nov 2019 19:55:02 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) Update of sr #110102 (project parted): Status: None => Wont Do Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: I don't think it's a good idea to implement something like this in parted. It would also be complicated by the fact that udev is monitoring the open/close and will trigger a reread of the partition table. Thanks for the suggestion though. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?110102> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.