| Summary: | guestfish mistakely parse nbd exportname | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Han Han <hhan> |
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | dyuan, mbooth, mxie, ptoscano, rjones, tzheng, virt-bugs, virt-maint, xuzhang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1379579 | Environment: | |
| Last Closed: | 2020-08-17 11:18:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1379579 | ||
|
Description
Han Han
2016-09-27 07:43:41 UTC
I'm somewhat unconvinced this is a real bug, nor that breaking all existing guestfish users is worthwhile. Note that the current behaviour is documented in the manual page, which is usually our gold standard for what we shouldn't break. You can just use the longer 'add-drive' command if you want to specify export names which don't begin with a '/'. I suppose an alternative might be to allow an optional ?exportname=... parameter for the (guestfish) URL. *** Bug 1379579 has been marked as a duplicate of this bug. *** Fast forward four years, the rejected patch was committed upstream (without a couple of extra tests my version had): https://github.com/libguestfs/libguestfs/commit/bd3fb6535106847edbe340f9413ad43d4be03005 It will be in libguestfs >= 1.43.2. Oh sorry, I didn't realise there was a bug for this and you'd already suggested roughly the same patch. (What did change is there's now a standard for NBD URIs). Do you want to push your two extra hunks on top, with a note pointing to this BZ? |