NetBSD-Bugs archive

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

Re: kern/57409: Feature request: Make GPT detection on VND configuration optional (and/or disable it if configuration is originated from xbdback)



The following reply was made to PR kern/57409; it has been noted by GNATS.

From: Matthias Petermann <mp%petermann-it.de@localhost>
To: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/57409: Feature request: Make GPT detection on VND
 configuration optional (and/or disable it if configuration is originated from
 xbdback)
Date: Mon, 12 Jun 2023 10:28:00 +0200

 This is a cryptographically signed message in MIME format.
 
 --------------ms080307040308080600050105
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hello,
 
 On 16.05.23 07:10, Michael van Elst wrote:
 > The following reply was made to PR kern/57409; it has been noted by GNATS.
 > 
 > From: mlelstv%serpens.de@localhost (Michael van Elst)
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:
 > Subject: Re: kern/57409: Feature request: Make GPT detection on VND configuration optional (and/or disable it if configuration is originated from xbdback)
 > Date: Tue, 16 May 2023 05:05:57 -0000 (UTC)
 > 
 >   mp%petermann-it.de@localhost writes:
 >   
 >   >This can lead to problems if:
 >   
 >   > - the GUID of the GPT is already known in the system
 >   > - the GUID of the GPT partition is known in the system
 >   
 >   >Functionally this does not lead to any limitation, it is rather the error message that confuses and the feeling that the host should not try to interfere with the file images unless it is explicitly desired.
 >   
 >   It will "interfere" the same, if any other kind of label is used, just less noisy.
 >   
 >   
 >   >For testing it should be sufficient to create a new image with dd, configure it as VND, create a GPT with a partition on it and format it with FFS. Then unconfigure, copy the image to a second file and now copy both images one after the other with vndconfig. When configuring the second image, the error message should appear.
 >   
 >   When you clone a GPT based image, you should use 'gpt uuid -a' to create unique UUIDs on
 >   the copy to avoid such conflicts.
 >   
 
 Thanks for the tip with gpt uuid -a and the objective assessment. In the 
 end, I came to the conclusion that I might want a complex solution here 
 for a very specific problem for which there are quite a few better 
 solutions.
 
 For the backing store images of my VMs, I have now decided that I will 
 generally do without labels for the GPT partitions, in order to exclude 
 this as a source of collisions. I now rely exclusively on uuids, which I 
 either randomly assign during image creation, or - if the image is 
 created as a copy - are reassigned with gpt uuid -a as suggested by you.
 
 Consequently, this PR is no longer necessary and I would like to close it.
 
 Many thanks & best regards
 Matthias
 
 --------------ms080307040308080600050105
 Content-Type: application/pkcs7-signature; name="smime.p7s"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="smime.p7s"
 Content-Description: S/MIME Cryptographic Signature
 
 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
 Cc8wggSSMIIDeqADAgECAgh7b+hpj4hxdjANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJE
 RTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25ldHogU2VydmljZSBHbWJI
 MSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOMB4XDTIzMDIyNzA5Mjg0N1oX
 DTI0MDIyNzA5Mjg0N1owcDELMAkGA1UEBhMCREUxITAfBgNVBAUTGDQwMDAwMDAwNjNmYzdh
 MmMyMzY3MDZjNDEbMBkGA1UEAwwSTWF0dGhpYXMgUGV0ZXJtYW5uMSEwHwYJKoZIhvcNAQkB
 FhJtcEBwZXRlcm1hbm4taXQuZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCv
 UU/+BQYtChQynhczrQa1mva2NJubL2tUGxh5fzYdir3xRlXM/Y55e42uXJnFevtrdCjC/3gD
 i5y+aMQTpUvsNlUC+LiSTqLMYnPwRi83L7+tCip4vn/mhHSgnpnwQFsJ6dwYELLTIOa0Hfy8
 34WD2U+ti71x4Ov2Ghq+FBX+lQusP8UZmvWP8OGzpn964cBWbAsmNk9JbOOf097U+fXs3cO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