[Bug 2131568] Re: pmbootstrap fails if run through sudo-rs

Marc Schoolderman 2131568 at bugs.launchpad.net
Tue Dec 2 10:49:43 UTC 2025


Note: a quick look at our side shows that it might be related to
https://github.com/trifectatechfoundation/sudo-rs/issues/1263

** Bug watch added: github.com/trifectatechfoundation/sudo-rs/issues #1263
   https://github.com/trifectatechfoundation/sudo-rs/issues/1263

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-sudo-rs in Ubuntu.
https://bugs.launchpad.net/bugs/2131568

Title:
  pmbootstrap fails if run through sudo-rs

Status in rust-sudo-rs package in Ubuntu:
  Triaged

Bug description:
  Summary: pmbootstrap (PostmarketOS build tool) fails if the host has
  sudo-rs, but works fine if run through sudo-ws.

  So, pmbootstrap creates and initializes a image to be flashed unto a
  mobile device. this tool at some point asks for the image's user
  password and loops until ctrl+c with this error:

  ----------
  New password: 
  Password change has been aborted.
  passwd: Authentication token manipulation error
  passwd: password unchanged
  [14:38:48] NOTE: The failed command's output is above the ^^^ line in the log file: /home/andres/.local/var/pmbootstrap/log.txt
  [14:38:48] WARNING: Failed to set the password. Try it one more time.
  ----------

  if the system is using sudo-rs as default. If I remove it, the sudo-ws
  takes its place and pmbotstrap can set up the image's password just
  fine:

  ----------
  [14:41:49]  *** SET LOGIN PASSWORD FOR: 'andres' ***
  New password: 
  Retype new password: 
  passwd: password updated successfully
  [14:42:18] NOTE: No valid keymap specified for device
  [14:42:18] *** (3/4) PREPARE INSTALL BLOCKDEVICE ***
  ----------

  ProblemType: Bug
  DistroRelease: Ubuntu 25.10
  Package: sudo-rs 0.2.8-1ubuntu5.2
  ProcVersionSignature: Ubuntu 6.17.0-6.6-generic 6.17.1
  Uname: Linux 6.17.0-6-generic x86_64
  ApportVersion: 2.33.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Fri Nov 14 14:44:05 2025
  InstallationDate: Installed on 2024-11-11 (368 days ago)
  InstallationMedia: Kubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240425.1)
  SourcePackage: rust-sudo-rs
  UpgradeStatus: Upgraded to questing on 2025-11-06 (8 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2131568/+subscriptions




More information about the foundations-bugs mailing list