Bug 1613577
| Summary: | Crash with "ValueError: invalid null reference in method 'OptionBinding_newString'" when 'unknown' option (which wasn't previously unknown) in dnf config | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson (Red Hat non-Fedora) <awilliam> |
| Component: | libdnf | Assignee: | Marek Blaha <mblaha> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dmach, jmracek, mblaha, mluscon, robatino, rpm-software-management |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | AcceptedBlocker | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-08-11 00:14:24 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1517011 | ||
|
Description
Adam Williamson (Red Hat non-Fedora)
2018-08-07 23:51:31 UTC
I think this config option comes in via Pungi, btw: https://pagure.io/pungi/blob/master/f/pungi/gather.py#_346 https://pagure.io/pungi/blob/master/f/pungi/gather.py#_381 Hi, please, are you able to provide us with the dnf config file which caused this traceback? Unknown configuration option: failovermethod is probably innocent here, I can reproduce similar error by adding an empty config option into the config file, for example: someoption= "someoption=" will not work, it must be an existing option, like proxy= PR https://github.com/rpm-software-management/dnf/pull/1168 should fix the "empty option" issue Thanks! "please, are you able to provide us with the dnf config file which caused this traceback?" Not off hand, no, it's not one of the outputs in the task. Kevin might be able to run a scratch build and pull it out by hand, or something, if you still need it. I did a dnf package build for Rawhide with the proposed fix backported, as this is blocking composes and we *really* want to get a compose through. This is resolved now, we got a compose. The commit is merged upstream and so it'll naturally be in the next release, so I don't think we still need the bug open. |