Summary: | gmirror does not create a mirror or silently truncates its name | ||
---|---|---|---|
Product: | Base System | Reporter: | rashey |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | rew |
Priority: | --- | ||
Version: | 13.0-STABLE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
rashey
2021-03-08 22:00:08 UTC
(In reply to rashey from comment #0) issue 1: As it is, the hardcoded value has a limit of 15 characters (as limited by the current metadata format)..this restriction extends to the providers name as well (only when hardcoding the name into the metadata though). At the very least, this restriction should be documented. And maybe gmirror should print an error when hardcoding a providers name that's longer than hardcoded limit. issue 2: Similar problem here, the limit for a mirror name is 15 characters, also limited by the current metadata format. That's why the mirror name gets truncated. This should also be documented. And possibly, gmirror should print error when trying to create mirror with a name longer than the mirror limit? If there's any input/feedback on how gmirror should behave when encountering issue 1 and 2, would be worth hearing. (In reply to Robert Wing from comment #1) I am agree with everything. Additionally, it should be documented that the restriction also applies to provider type, in my case gpt/ which means 4 characters less for the provider name. That is why I was unable to hardcode GPT label longer than 11 characters. |