View Issue Details

IDProjectCategoryView StatusLast Update
0005691CentOS-6yumpublic2012-05-08 16:45
Status newResolutionopen 
Product Version6.2 
Target VersionFixed in Version 
Summary0005691: yum --installroot accepts empty string
DescriptionWhen the --installroot option is invoked with yum using a relative path, it fails stating that relative paths are not allowed. However, when using --installroot= or a combination of scripting that results in an empty string to be set as installroot, yum accepts it without failure, and proceed to install to the /.
Steps To Reproduce1. yum --installroot= groupinstall Base # installs directly on top of /
Additional InformationThe expected result is to either alert the user to the mistake, or to move the verification of absolute/relative path to during the parsing of error, or to fail on empty installroot.
TagsNo tags attached.




2012-05-02 19:49

reporter   ~0014981

This seems like a great RFE -- request for enhancement upstream, but is there a suggestion that the CentOS behavior does not match the existing product, upstream?


2012-05-08 16:45

reporter   ~0015048

Well, that's the thing. I don't have access to a RHEL subscription, so I can neither confirm or deny that upstream would have the same issue. My hunch is that the upstream does have it as well.

Issue History

Date Modified Username Field Change
2012-05-02 19:37 compwiz3688 New Issue
2012-05-02 19:49 herrold Note Added: 0014981
2012-05-08 16:45 compwiz3688 Note Added: 0015048