Bug 1923727

Summary: systemd-resolved: resolvconf link prevents installation of alternative
Product: [Fedora] Fedora Reporter: Petr Menšík <pemensik>
Component: systemdAssignee: systemd-maint
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedoraproject, filbranden, flepied, kasong, lnykryn, msekleta, ssahani, s, systemd-maint, yuwatana, zbyszek, z
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-21 16:33:12 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: 1923678    

Description Petr Menšík 2021-02-01 17:50:53 UTC
Description of problem:
I tried to install my openresolv package, but systemd package prevents any provided of /usr/sbin/resolvconf from installing. It should be part of systemd-resolved package, which should be possible to uninstall. systemd package cannot be uninstalled for obvious reason.

Version-Release number of selected component (if applicable):
systemd-245.9-1.fc32.1.x86_64

How reproducible:
100%

Steps to Reproduce:
1. dnf copr enable pemensik/openresolv
2. dnf install openresolv
3. dnf remove openresolv
4. resolvconf --version

Actual results:
bash: /usr/sbin/resolvconf: No such file or directory


Expected results:
systemd 246 (v246.6-3.fc33)
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified


Additional info:
Until I had used alternatives [1], it just prevented me any installation of openresolv package. Now it breaks autoconfigured resolvconf from systemd. It has broken man resolvconf, because systemd uses resolvconf.1 instead of resolvconf.8.

It should switch to alternatives algorithm.

1. https://docs.fedoraproject.org/en-US/packaging-guidelines/Alternatives/

Comment 1 Fedora Program Management 2021-04-29 16:46:00 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Zbigniew Jędrzejewski-Szmek 2021-05-18 18:05:26 UTC
https://src.fedoraproject.org/rpms/systemd/pull-request/52 would fix this.

Comment 3 Zbigniew Jędrzejewski-Szmek 2021-06-21 16:33:12 UTC
systemd-resolved has been split out.