Public bug reported: On Ubuntu 25.10 (“Questing Quokka”), the new Rust-based sudo-rs package does not support the -E (--preserve-env) option. This causes regressions in several classic snaps that rely on environment preservation — for example:
``` $ microk8s join <IP>:25000/<token>/<secret> --worker warning: preserving the entire environment is not supported, -E is ignored FileNotFoundError: [Errno 2] No such file or directory: 'None/var/lock/join-in-progress' ``` **Workaround:** Select the legacy C implementation of sudo (`sudo.ws`) via `sudo update-alternatives --config sudo`. **Upstream discussion:** https://github.com/trifectatechfoundation/sudo-rs/issues/1299 https://github.com/canonical/microk8s/issues/5266 https://bugs.launchpad.net/snapd/+bug/2127952 **Notes:** Although sudo-rs is functioning as designed, many existing Ubuntu packages and classic snaps depend on the legacy -E behavior. ** Affects: rust-sudo-rs (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2129806 Title: microk8s join fail on Ubuntu 25.10 because sudo-rs ignores -E To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2129806/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
