#1110650 /usr/lib/apt/apt-helper: make wait-online timeout configurable

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Vilius Panevėžys
Date:
2025-08-09 17:09:02 UTC
Severity:
normal
#1110650#5
Date:
2025-08-09 17:00:27 UTC
From:
To:
Dear Maintainer,

the wait-online timeout is currently hard-coded, the value of 30 seconds is insufficient in some cases. Example use case: workstation that is turned on at the same time as a router it relies on for connectivity, which takes ~2.5 minutes to boot. The `apt-helper wait-online` (`ExecStartPre` of apt-daily.service) times out before the connection becomes usable and the workstation is typically shut down before the next timer trigger, so effectively unattended-upgrades never runs.

Please make the timeout configurable.