RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1680595 - /usr/sbin/fetch-kickstart-disk: line 24: rmdir: command not found
Summary: /usr/sbin/fetch-kickstart-disk: line 24: rmdir: command not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.1
Assignee: Jiri Konecny
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On: 1678953
Blocks: 1515824
TreeView+ depends on / blocked
 
Reported: 2019-02-25 11:45 UTC by Jan Stodola
Modified: 2023-12-15 16:21 UTC (History)
10 users (show)

Fixed In Version: anaconda-33.16.3.1-2
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:22:50 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4729 0 None None None 2020-11-04 03:23:13 UTC

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


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