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

Simon Johnsson 2131568 at bugs.launchpad.net
Mon Nov 17 08:08:28 UTC 2025


Hi Andrés! Thanks for the bug report and helping to make Ubuntu better.
Based on the provided information it seems that pmbootstrap saved a log
file in `/home/andres/.local/var/pmbootstrap/log.txt`. Could you provide
this log as an attachment so that we can isolate the issue?

** Changed in: rust-sudo-rs (Ubuntu)
       Status: New => Triaged

-- 
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