ade-ma / A20Notes

Configuration tidbits and automation experiments for Linux on A20.
1 stars 0 forks source link

add TimeoutSec to systemd oneshot events #6

Closed itdaniher closed 10 years ago

itdaniher commented 10 years ago

Right now there are a number of events that it makes sense to run as oneshot, but as per systemd's manual, oneshots have no default timeout. Running NTPD as oneshot sans timeout and sans network connection will indefinitely hang system boot. System should definitely fail more gracefully.

itdaniher commented 10 years ago

also:

[ TIME ] Timed out waiting for device sys-subsystem-net-devices-wlan.device. [DEPEND] Dependency failed for dhcpcd on wlan. [ TIME ] Timed out waiting for device sys-subsystem-net-devices-wlan0.device. [DEPEND] Dependency failed for A simple WPA encrypted wireless connection. [ TIME ] Timed out waiting for device sys-subsystem-net-devices-eth0.device. [DEPEND] Dependency failed for Automatic wired network connec...etctl profiles. [ TIME ] Timed out waiting for device dev-ttyS0.device. [DEPEND] Dependency failed for Serial Getty on ttyS0.

itdaniher commented 10 years ago

worked around, but point stands.