Bug 1871817

Summary: The plymouth package ships a broken symlink for the poweroff.target
Product: Red Hat Enterprise Linux 8 Reporter: Frantisek Sumsal <fsumsal>
Component: plymouthAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: bsanford, hdegoede, jkoten, tpelka
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: plymouth-0.9.4-5.20200615git1e36e30.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 04:04:05 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:

Description Frantisek Sumsal 2020-08-24 11:10:35 UTC
Description of problem:
The plymouth package in RHEL 8.3 ships a broken symlink /usr/lib/systemd/system/poweroff.target.wants/plymouth-switch-root-initramf.services with target ../plymouth-switch-root-initramf.services. The unit file, which should the symlink point to, is ../plymouth-switch-root-initramf.service (without the trailing 's').

Version-Release number of selected component (if applicable):
plymouth-0.9.4-4.20200615git1e36e30.el8.x86_64

Actual results:
# ls -l /usr/lib/systemd/system/poweroff.target.wants/plymouth-switch-root-initramf.services
lrwxrwxrwx. 1 root root 41 Jul 20 16:03 /usr/lib/systemd/system/poweroff.target.wants/plymouth-switch-root-initramf.services -> ../plymouth-switch-root-initramf.services
## Try to dereference the symlink
# ls -lL /usr/lib/systemd/system/poweroff.target.wants/plymouth-switch-root-initramf.services
ls: cannot access '/usr/lib/systemd/system/poweroff.target.wants/plymouth-switch-root-initramf.services': No such file or directory

Expected results:
The symlink should point to /usr/lib/systemd/system/plymouth-switch-root-initramfs.service

Comment 3 Bill Sanford 2020-08-27 15:23:45 UTC
Verified with:
[root@rhel8-unknow opt]# rpm -qa | grep plymouth-0
plymouth-0.9.4-5.20200615git1e36e30.el8.x86_64

[root@rhel8-unknow opt]# ls -l /usr/lib/systemd/system/poweroff.target.wants/plymouth-switch-root-initramf.services
ls: cannot access '/usr/lib/systemd/system/poweroff.target.wants/plymouth-switch-root-initramf.services': No such file or directory

[root@rhel8-unknow opt]# ls -l /usr/lib/systemd/system/plymouth-switch-root-initramfs.service
-rw-r--r--. 1 root root 372 Aug 24 11:07 /usr/lib/systemd/system/plymouth-switch-root-initramfs.service

Comment 6 errata-xmlrpc 2020-11-04 04:04:05 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 (plymouth 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:4810