Bug 1986657
Summary: | dnf exits with success even on failure of scriptlet | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ameya Patil <amepatil> |
Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED WONTFIX | QA Contact: | swm-qe |
Severity: | medium | Docs Contact: | Mariya Pershina <mpershin> |
Priority: | medium | ||
Version: | 8.4 | CC: | james.antill, pkhedeka, pmatilai, sbueno |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
.YUM transactions reported as successful when a scriptlet fails
Since RPM version 4.6, post-install scriptlets are allowed to fail without being fatal to the transaction. This behavior propagates up to YUM as well. This results in scriptlets which might occasionally fail while the overall package transaction reports as successful.
There is no workaround available at the moment.
Note that this is expected behavior that remains consistent between RPM and YUM. Any issues in scriptlets should be addressed at the package level.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-09-14 14:53:17 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: |
Description
Ameya Patil
2021-07-28 02:37:25 UTC
|