Bug 1680595

Summary: /usr/sbin/fetch-kickstart-disk: line 24: rmdir: command not found
Product: Red Hat Enterprise Linux 8 Reporter: Jan Stodola <jstodola>
Component: anacondaAssignee: Jiri Konecny <jkonecny>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: jcastran, kwalker, mhavrila, pkhedeka, prjagtap, redhatcom-drxzllqdzn, rvykydal, sbueno, snejoshi, titus.elverfeldt
Target Milestone: rc   
Target Release: 8.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-33.16.3.1-2 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 03:22:50 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: 1678953    
Bug Blocks: 1515824    

Description Jan Stodola 2019-02-25 11:45:33 UTC
Description of problem:
The following warning message is printed when running a kickstart installation with the kickstart file on HDD:


[    7.944035] XFS (vda1): Unmounting Filesystem
[    7.948834] dracut-initqueue[891]: /usr/sbin/fetch-kickstart-disk: line 24: rmdir: command not found
[    9.279765] dracut-initqueue[891]:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[    9.280484] dracut-initqueue[891]:                                  Dload  Upload   Total   Spent    Left  Speed
100  448M  100  448M    0     0   111M      0  0:00:04  0:00:04 --:--:--  111M
[   13.367225] loop: module loaded

The installation finished successfully, so the functionality is not affected.


Version-Release number of selected component (if applicable):
anaconda-29.19.0.34-1.el8
lorax-28.14.23-1.el8

How reproducible:
always

Steps to Reproduce:
1. place a kickstart file on a standard partition (in my case it was /boot partition from previous installation, XFS)
2. run kickstart installation using the kickstart file (inst.ks=hd:disk/by-uuid/962347f5-0d4f-464a-9458-19113839cc8e:/ks.cfg on the kernel command line)

Actual results:
[    7.948834] dracut-initqueue[891]: /usr/sbin/fetch-kickstart-disk: line 24: rmdir: command not found

Expected results:
no warning/error is printed

Comment 5 Brian Lane 2020-02-03 18:11:39 UTC
Looks like we need to backport commit 09ae291478ead905c62ebf1f4de77dee02b5ab74 which tells dracut what tools need to be installed for the module.

Comment 7 Radek Vykydal 2020-03-27 15:10:25 UTC
Seems to be fixed upstream in bug 1507265, PR https://github.com/rhinstaller/anaconda/pull/1544.

Comment 8 Samantha N. Bueno 2020-04-20 21:19:49 UTC
(In reply to Radek Vykydal from comment #7)
> Seems to be fixed upstream in bug 1507265, PR
> https://github.com/rhinstaller/anaconda/pull/1544.

Thanks. I'm assigning this to Jirka since he handled that PR review (even though this will get pulled in with the rebase).

Comment 11 Marek Havrila 2020-07-15 09:01:19 UTC
Verified on RHEL-8.3.0-20200701.2 and anaconda-33.16.3.10-1.el8.x86_64

Comment 14 errata-xmlrpc 2020-11-04 03:22:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4729