Cannot install iperf3 in a non-interactive session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iperf3 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am creating some container images that I provision with iperf3.
Since Ubuntu 22.10 it looks like the following command hangs when there is no pseudo terminal assigned:
$ apt -y install iperf3
I tried that using a lxd container:
$ lxc exec -T ubuntu2210container apt -- -y install iperf3
That will lock the terminal and a dialog appears with the following text
│ Choose this option if Iperf3 should start automatically as a daemon, now │
│ and at boot time. │
│ │
│ Start Iperf3 as a daemon automatically? │
If I do the same in a Ubuntu 22.04 then the command is installed as normal.
Status changed to 'Confirmed' because the bug affects multiple users.