Bug 987531
Summary: | [LVM2 name validation needed] DeviceCreateError: ('vgcreate failed for fedora-\xc5\x82\xc5\x81: running lvm vgcreate -s 4m --config devices { ... } fedora-\xc5\x82\xc5\x81 /dev/sda2 failed', 'fedora-\xc5\x82\xc5\x | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Tyler <stephent98> | ||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 19 | CC: | anaconda-maint-list, dshea, g.kaviyarasu, jonathan, mkolman, sbueno, stephent98, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-01-29 20:45:05 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: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Steve Tyler
2013-07-23 15:16:51 UTC
(In reply to Steve Tyler from comment #0) ... > This bug report is essentially a duplicate of Bug 883689, which is assigned > to LVM2. I am opening this, because it doesn't look like that bug will be > addressed any time soon, ... Specifically, Bug 883689, Comment 11: "This seems reasonable. However, until anaconda picks up and uses the python bindings for lvm (instead of command line) they should really do some type of validation in anaconda." The LVM2 name validation function and the maximum name length: int validate_name(const char *n) https://git.fedorahosted.org/cgit/lvm2.git/tree/lib/misc/lvm-string.c?id=v2_02_98#n72 #define NAME_LEN 128 https://git.fedorahosted.org/cgit/lvm2.git/tree/lib/misc/lvm-string.h?id=v2_02_98#n22 https://git.fedorahosted.org/git/lvm2.git $ sudo repoquery lvm2 lvm2-0:2.02.98-9.fc19.x86_64 |