Public bug reported:

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)

** Affects: rust-sudo-rs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug questing wayland-session

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

Title:
  pmbootstrap fails if run through sudo-rs

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to