[Bug 254146] gmirror does not create a mirror or silently truncates its name

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 9 18:35:39 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254146

Robert Wing <rew at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rew at FreeBSD.org

--- Comment #1 from Robert Wing <rew at FreeBSD.org> ---
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list