Bug 1452770
Summary: | Document and fix a small bug when using driverdisk kickstart command | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jiri Konecny <jkonecny> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED WONTFIX | QA Contact: | Release Test Team <release-test-team> |
Severity: | unspecified | Docs Contact: | Filip Hanzelka <fhanzelk> |
Priority: | unspecified | ||
Version: | 7.5 | CC: | jkonecny, pasik, pbokoc |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
Specifying a driverdisk partition with non-alphanumeric characters generates an invalid output Kickstart file
When installing Red Hat Enterprise Linux using the *Anaconda* installer, you can add a driver disk by including a path to the partition containing the driver disk in the Kickstart file. At present, if you specify the partition by LABEL or CDLABEL which has non-alphanumeric characters in it, for example:
driverdisk "CDLABEL=Fedora 23 x86_64:/path/to/rpm"
the output Kickstart file created during the *Anaconda* installation will contain incorrect information. To work around this problem, use only alphanumeric characters when specifying the partition by LABEL or CDLABEL.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-01-15 07:36:32 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: |
Description
Jiri Konecny
2017-05-19 15:14:14 UTC
Let's document this as a known issue for 7.4. Do you have any logs related to this? Are the spaces causing problems in pykickstart itself, or in the driver-disk anaconda code, or both? Brian see comment 7. Yes the problematic part is space. Unfortunately, the DUD bugs are not easy to reproduce. I'll try to get more info. (In reply to Jiri Konecny from comment #10) > Brian see comment 7. Yes the problematic part is space. > > Unfortunately, the DUD bugs are not easy to reproduce. I'll try to get more > info. What I mean is, when you look at what happens in the anaconda dracut module is pykickstart failing to return the whole path? eg. "CDLABEL=Fedora" or is the problem after the value is retrieved from pyparted? I'll also take a look and see if I can trigger it here. You can work around this by escaping the spaces in the driverdisk line. Also, you cannot specify the path to the rpm, the driverdisk should be extracted to the root of the partition. This problem exists in all versions of Anaconda, as far as I can tell. If you want to escape the spaces the right place to do that is in dracut/parse-kickstart in Anaconda. I have a PR against master here - https://github.com/rhinstaller/anaconda/pull/2223 Thanks a lot Brian for your help and PR! Returning back to NEW because the fix was proposed to Fedora. Clearing need info flag. The question is already answered. I've tested PR in comment 12 and it seems to be fixing issue with space in name correctly. However, specifying path to the rpm is not supported by Anaconda. You have to have a repository or an iso on the disk you are specifying which will be auto-discovered but not a fixed path to the specific rpm. This is correct: driverdisk "CDLABEL=Fedora 23 x86_64" This is incorrect: driverdisk "CDLABEL=Fedora 23 x86_64:/path/to/rpm" After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |