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 1857183 - Failed to get unit file state for initial-setup-graphical.service: No such file or directory
Summary: Failed to get unit file state for initial-setup-graphical.service: No such fi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: initial-setup
Version: 8.3
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 8.0
Assignee: Martin Kolman
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1812825
TreeView+ depends on / blocked
 
Reported: 2020-07-15 11:12 UTC by Jan Stodola
Modified: 2020-11-04 03:36 UTC (History)
1 user (show)

Fixed In Version: initial-setup-0.3.81.6-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:36:18 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:4754 0 None None None 2020-11-04 03:36:27 UTC

Description Jan Stodola 2020-07-15 11:12:53 UTC
Description of problem:
The following errors are printed when updating initial-setup:

[root@localhost ~]# yum update initial-setup
...
  Upgrading        : anaconda-core-33.16.3.10-1.el8.x86_64                          9/24 
  Upgrading        : anaconda-gui-33.16.3.10-1.el8.x86_64                          10/24 
  Running scriptlet: initial-setup-0.3.81.5-1.el8.x86_64                           11/24 
Failed to get unit file state for initial-setup-graphical.service: No such file or directory
Failed to get unit file state for initial-setup-text.service: No such file or directory

  Upgrading        : initial-setup-0.3.81.5-1.el8.x86_64                           11/24 
  Running scriptlet: initial-setup-0.3.81.5-1.el8.x86_64                           11/24 
  Running scriptlet: initial-setup-gui-0.3.81.5-1.el8.x86_64                       12/24 
Failed to get unit file state for initial-setup-graphical.service: No such file or directory
Failed to get unit file state for initial-setup-text.service: No such file or directory

  Upgrading        : initial-setup-gui-0.3.81.5-1.el8.x86_64                       12/24 
  Cleanup          : initial-setup-gui-0.3.62.1-1.el8.x86_64

Version-Release number of selected component (if applicable):
initial-setup-0.3.81.5-1.el8

How reproducible:
always

Steps to Reproduce:
1. Install RHEL-8.2 GA (make sure initial-setup and initial-setup-gui are installed)
2. Configure RHEL-8.3 repositories
3. yum update initial-setup

Actual results:
Error messages while updating initial-setup/initial-setup-gui.

Expected results:
No error messages.

Comment 1 Martin Kolman 2020-07-15 13:18:47 UTC
Looks like the %pre scriptlet returning these error messages is no longer needed on RHEL8 and can be removed.

PR: https://github.com/rhinstaller/initial-setup/pull/107

Comment 2 Martin Kolman 2020-07-17 13:35:13 UTC
Installed a RHEL 8.2 VM, then:

- installed IS without this fix, error messages show up at upgrade time
- rolled VM back, installed scratch build of IS with the fix from comment 1, no error messages at package upgrade time

Comment 5 Jan Stodola 2020-08-18 08:26:21 UTC
This is fixed in initial-setup-0.3.81.6-1.el8, thanks.

Moving to VERIFIED.

Comment 8 errata-xmlrpc 2020-11-04 03:36:18 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 (initial-setup 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:4754


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