[Bug 2129203] [NEW] Check sudoers file post-upgrade

Simon Johnsson 2129203 at bugs.launchpad.net
Tue Oct 21 14:31:59 UTC 2025


Public bug reported:

When performing an upgrade where sudo-rs replaces sudo, the
`/etc/sudoers` should be checked with `visudo -c` for configuration
incompatibilities.

If the sudoers file does not parse correctly, the user should be warned
and informed on how to proceed.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
     Assignee: Simon Johnsson (bamf0)
         Status: In Progress

** Affects: ubuntu-release-upgrader (Ubuntu Resolute)
     Importance: Undecided
     Assignee: Simon Johnsson (bamf0)
         Status: In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu)
     Assignee: (unassigned) => Simon Johnsson (bamf0)

** Also affects: ubuntu-release-upgrader (Ubuntu Resolute)
   Importance: Undecided
     Assignee: Simon Johnsson (bamf0)
       Status: New

** Changed in: ubuntu-release-upgrader (Ubuntu Resolute)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2129203

Title:
  Check sudoers file post-upgrade

Status in ubuntu-release-upgrader package in Ubuntu:
  In Progress
Status in ubuntu-release-upgrader source package in Resolute:
  In Progress

Bug description:
  When performing an upgrade where sudo-rs replaces sudo, the
  `/etc/sudoers` should be checked with `visudo -c` for configuration
  incompatibilities.

  If the sudoers file does not parse correctly, the user should be
  warned and informed on how to proceed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2129203/+subscriptions




More information about the foundations-bugs mailing list