Public bug reported: As a script that require root access, `zpool status -c health` in previous version would launch a `sudo` before all the other things. After upgrade to 25.04, `zpool status -c health` launchs mutiple `sudo` but none of them will receive keystroke.
`htop` shows that every `/etc/zfs/zpool.d/health` launches a `sudo` without keyboard access. ``` zpool status -c health └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdh └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/nvme0n1 └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/nvme0n1 └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdd └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sda └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdf └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sde └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdc └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdg └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdb ``` ProblemType: Bug DistroRelease: Ubuntu 25.04 Package: zfsutils-linux 2.3.1-1ubuntu1 ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0 Uname: Linux 6.14.0-15-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia zfs ApportVersion: 2.32.0-0ubuntu5.1 Architecture: amd64 CasperMD5CheckResult: pass Date: Sat May 31 19:20:38 2025 InstallationDate: Installed on 2022-08-08 (1027 days ago) InstallationMedia: Ubuntu-MATE 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) SourcePackage: zfs-linux UpgradeStatus: Upgraded to plucky on 2024-03-16 (441 days ago) ** Affects: zfs-linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug plucky -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/2112232 Title: `zpool status -c health` cannot enter sudo password Status in zfs-linux package in Ubuntu: New Bug description: As a script that require root access, `zpool status -c health` in previous version would launch a `sudo` before all the other things. After upgrade to 25.04, `zpool status -c health` launchs mutiple `sudo` but none of them will receive keystroke. `htop` shows that every `/etc/zfs/zpool.d/health` launches a `sudo` without keyboard access. ``` zpool status -c health └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdh └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/nvme0n1 └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/nvme0n1 └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdd └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sda └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdf └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sde └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdc └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdg └─ /bin/sh /etc/zfs/zpool.d/health └- sudo smartctl -a /dev/sdb ``` ProblemType: Bug DistroRelease: Ubuntu 25.04 Package: zfsutils-linux 2.3.1-1ubuntu1 ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0 Uname: Linux 6.14.0-15-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia zfs ApportVersion: 2.32.0-0ubuntu5.1 Architecture: amd64 CasperMD5CheckResult: pass Date: Sat May 31 19:20:38 2025 InstallationDate: Installed on 2022-08-08 (1027 days ago) InstallationMedia: Ubuntu-MATE 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) SourcePackage: zfs-linux UpgradeStatus: Upgraded to plucky on 2024-03-16 (441 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/2112232/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp