Bug 2029853

Summary: RHEL9 beta: /usr/sbin/resolvconf is a broken symlink
Product: Red Hat Enterprise Linux 9 Reporter: Markus Schibli <mschibli>
Component: systemdAssignee: David Tardon <dtardon>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.0CC: dtardon, fsumsal, jamacku, msekleta, systemd-maint-list
Target Milestone: rcKeywords: Bugfix, Reproducer, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: systemd-250-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 15:57:34 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 Markus Schibli 2021-12-07 13:18:40 UTC
Description of problem:
According to the release notes of rhel9beta https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9-beta/html-single/9.0_release_notes/index#BZ-2020529 should the systemd-resolved service be available as a Technology Preview. Even the systemd-249-7.el9_b.x86_64 package provides systemd-resolved, but in the package there is a broken link to /usr/bin/resolvectl

Version-Release number of selected component (if applicable):
systemd-249-7.el9_b.x86_64

How reproducible:
Install rhel9 beta with systemd-249-7.el9_b.x86_64 package. 

Steps to Reproduce:
1. 
# rpm -qa systemd
systemd-249-7.el9_b.x86_64

2. 
# yum provides resolvectl
Updating Subscription Management repositories.
Last metadata expiration check: 3:28:29 ago on Thu 02 Dec 2021 05:05:04 PM UTC.
Error: No Matches found

3. 
# ll /usr/sbin/resolvconf 
lrwxrwxrwx. 1 root root 17 Oct  2 10:28 /usr/sbin/resolvconf -> ../bin/resolvectl

# ll /usr/bin/resolvectl
ls: cannot access '/usr/bin/resolvectl': No such file or directory

# man resolvconf
man: can't open /usr/share/man/man1/resolvectl.1: No such file or directory
No manual entry for resolvconf

Actual results:
The tool resolvectl is not available

Expected results:
The tool resolvectl should be available

Additional info:

Comment 1 Markus Schibli 2021-12-08 13:44:01 UTC
Hi,
today I saw that a newer version of systemd package, systemd-249-9.el9.x86_64.rpm, is available, and it looks a bit different now:

# yum provides resolvectl
Updating Subscription Management repositories.
Last metadata expiration check: 2:04:42 ago on Wed 08 Dec 2021 12:33:37 PM CET.
systemd-resolved-249-9.el9.x86_64 : System daemon that provides network name resolution to local applications
Repo        : rhel-9-for-x86_64-baseos-beta-rpms
Matched from:
Filename    : /usr/bin/resolvectl

# ll /usr/sbin/resolvconf 
lrwxrwxrwx. 1 root root 17 Nov 18 15:01 /usr/sbin/resolvconf -> ../bin/resolvectl

# ll /usr/bin/resolvectl
ls: cannot access '/usr/bin/resolvectl': No such file or directory

# man resolvconf
man: can't open /usr/share/man/man1/resolvectl.1: No such file or directory
No manual entry for resolvconf

Comment 7 errata-xmlrpc 2022-05-17 15:57:34 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 (new packages: systemd), 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-2022:3979