Skip to content

Fact sudoversion fails on latest Ubuntu version #331

Description

@Programie

The latest Ubuntu version (25.10) uses sudo-rs by default.

This module works fine on Ubuntu 25.10, except for the fact "sudoversion" failing (which is currently only used to detect the sudo version on Redhat systems, so no real issue on Ubuntu).

The following error is logged:

Error: Facter: Error while resolving custom fact fact='sudoversion', resolution='<anonymous>': undefined method `[]' for nil:NilClass

In my case, sudo -V returns the following, which seems to be unexpected by the fact (as it expects something matching ^Sudo version ([\w.]+)):

sudo-rs 0.2.8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions