Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable removal of resolvconf on Fedora 41 #12

Open
jsf9k opened this issue Nov 27, 2024 · 0 comments
Open

Re-enable removal of resolvconf on Fedora 41 #12

jsf9k opened this issue Nov 27, 2024 · 0 comments
Labels
bug This issue or pull request addresses broken functionality

Comments

@jsf9k
Copy link
Member

jsf9k commented Nov 27, 2024

🐛 Summary

In commit 504acff of #11 I disabled the installation of the resolvconf system package on Fedora 41 because, for some reason, ansible.builtin.package actually uninstalls systemd-resolved when it is run. I couldn't reproduce this manually using the dnf5 CLI.

We should figure out why this is happening and revert 504acff when possible.

To reproduce

  1. Revert 504acff.
  2. Watch the Molecule tests fail for Fedora 41.

Expected behavior

I would expect the removal of resolvconf to leave systemd-resolved untouched.

Any helpful log output or screenshots

TASK [ansible-role-systemd-resolved : Ensure resolvconf is not installed] ******
<snip>
changed: [fedora41-systemd-amd64] => {
    "changed": true,
    "invocation": {
        "module_args": {
            "allow_downgrade": false,
            "allowerasing": false,
            "autoremove": false,
            "best": null,
            "bugfix": false,
            "cacheonly": false,
            "conf_file": null,
            "disable_excludes": null,
            "disable_gpg_check": false,
            "disable_plugin": [],
            "disablerepo": [],
            "download_dir": null,
            "download_only": false,
            "enable_plugin": [],
            "enablerepo": [],
            "exclude": [],
            "install_repoquery": true,
            "install_weak_deps": true,
            "installroot": "/",
            "list": null,
            "lock_timeout": 30,
            "name": [
                "resolvconf"
            ],
            "nobest": null,
            "releasever": null,
            "security": false,
            "skip_broken": false,
            "sslverify": true,
            "state": "removed",
            "update_cache": false,
            "update_only": false,
            "validate_certs": true
        }
    },
    "msg": "",
    "rc": 0,
    "results": [
        "Removed: systemd-resolved-256.8-1.fc41.x86_64"
    ]
}
@jsf9k jsf9k added the bug This issue or pull request addresses broken functionality label Nov 27, 2024
jsf9k added a commit that referenced this issue Nov 27, 2024
For some reason dnf5 uninstalls systemd-resolved when I attempt to
uninstall resolvconf on Fedora 41.  See #12 for more information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality
Projects
None yet
Development

No branches or pull requests

1 participant