Confirmed on Ubuntu 26.04 with sudo-rs 0.2.13-0ubuntu1.2 (Defaults use_pty) and OpenSCAP 1.4.3.
Reproducer: a single-rule `sudo oscap xccdf eval --remediate` whose fix script runs `apt-get install -y aide`. oscap pipes the script's stdout and stderr but leaves stdin on the tty. After dpkg finishes, the fix shell and apt-get are both stopped (T+, wchan do_signal_stop) in oscap's process group. oscap itself is running again, so only the command PID was resumed. The group stays stopped until a manual SIGCONT. The same run completes with no stop when stdin is /dev/null (`sudo ... < /dev/null`) or under sudo.ws 1.9.17p2. This matches the FIXME in MonitorClosure::send_signal, which sends SIGCONT with kill rather than killpg. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2146860 Title: command permanently stop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2146860/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
