Bug 1900596 - livemedia-creator stuck after DNF postin scriptlet error
Summary: livemedia-creator stuck after DNF postin scriptlet error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-23 12:39 UTC by Vojtech Trefny
Modified: 2020-12-16 22:17 UTC (History)
7 users (show)

Fixed In Version: lorax-34.6-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-16 22:17:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vojtech Trefny 2020-11-23 12:39:47 UTC
Description of problem:

When a post script from a package fails livemedia creator doesn't fail but is stuck forever.

Error from anaconda.log:

10:06:58,439 ERR ui.tui:
pyanaconda.errors.NonInteractiveError: Non interactive installation failed: DNF error: Error in POSTIN scriptlet in rpm package kmod-kvdo

livemedia-creator output:

2020-11-23 10:06:57,606: Installing wpa_supplicant.x86_64 (796/1209)Unable to init server: Could not connect: Connection refused
2020-11-23 10:06:57,780: Unable to init server: Could not connect: Connection refused
2020-11-23 10:06:57,784: Unable to init server: Could not connect: Connection refused
2020-11-23 10:06:58,446: Unable to init server: Could not connect: Connection refused

Version-Release number of selected component (if applicable):

Name         : lorax
Version      : 34.4
Release      : 1.fc34

Expected results:

livemedia-creator exits with an error

Comment 1 Brian Lane 2020-11-30 21:33:57 UTC
There's nothing lmc can do about script errors. The package needs to fix their script. Please check to see if there are any additional details in the various logs, there may or may not be, debugging script errors can be tricky.

The "Connection refused" errors are unrelated, IIRC that comes from python-meh trying to report the crash.

Comment 2 Vojtech Trefny 2020-12-01 08:05:30 UTC
I'm moving this back to lorax, feel free to close it as "wontfix" or "cantfix", but this is a problem in lmc, see my "expected results" -- I expect lmc to exit with error in this case and not to be stuck forever. I know what is the problem: it's the kvdo module which is broken in Fedora and I don't expect lmc to fix this.

Comment 3 Brian Lane 2020-12-09 00:43:46 UTC
https://github.com/weldr/lorax/pull/1101


Note You need to log in before you can comment on or make changes to this bug.