Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2141480

Summary: 80lvmthinpool-monitor use $SYSTEMCTL instead of systemctl
Product: Red Hat Enterprise Linux 8 Reporter: ltao
Component: dracutAssignee: Pavel Valena <pvalena>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: dtardon, fsumsal, jieli, pvalena, yiyan
Target Milestone: rcKeywords: Bugfix, EasyFix, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dracut-049-223.git20230119.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 09:08:49 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: 2034457    

Description ltao 2022-11-10 02:46:41 UTC
Description of problem:

dracut-049-209.git20220815.el8

80lvmthinpool-monitor module is backported from upstream, for module-setup.sh, it uses $SYSTEMCTL -q --root "$initdir" add-wants initrd.target start-thinpool-monitor.service. However $SYSTEMCTL is not suitable for rhel8, it should use systemctl instead. 

Because patch 18d36fabf5ab20404 ("feat(dracut.sh): allow overriding the systemctl command for sysroot") didn't backported to rhel8 dracut, so $SYSTEMCTL is unavailable.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 ltao 2022-11-15 07:18:06 UTC
Hi David,

Can this bz be fixed in rhel8.8? Since bz2034457 depends on this one, if the bug is planed to fixed in next release, then we will plan to defer bz2034457 to rhel8.9 as well.

Thanks,
Tao Liu

Comment 2 David Tardon 2022-11-15 08:22:15 UTC
(In reply to ltao from comment #1)
> Can this bz be fixed in rhel8.8?

I'm pretty sure it can.

Comment 3 ltao 2022-11-15 09:11:05 UTC
(In reply to David Tardon from comment #2)
> (In reply to ltao from comment #1)
> > Can this bz be fixed in rhel8.8?
> 
> I'm pretty sure it can.

OK, Thanks!

Comment 4 ltao 2022-11-29 07:26:50 UTC
Hi Pavel,

Sorry to interrupt, since bz2034457 depends on this one, and bz2034457 is a feature bug. QE wants the feature bug to be fixed as early for testing, could you please get this bz fixed before ITM14? Thanks a lot!

Thanks,
Tao Liu

Comment 5 Pavel Valena 2022-12-06 19:37:54 UTC
I've prepared a PR: https://github.com/redhat-plumbers/dracut-rhel8/pull/21

Comment 19 errata-xmlrpc 2023-05-16 09:08:49 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 (dracut 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-2023:2994