imsd/packaging
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf e5911c09c2 ims-pdn-up: log mmcli errors, gate on registration, configurable ip-type
Three hardenings, each of which cost a field-debugging round-trip:

- Every mmcli failure now lands in the journal verbatim (create-bearer
  and connect stderr were swallowed, making 'connect attempt N failed'
  undecodable — no-service and interface-in-use looked identical).
- Connect attempts are gated on network registration (up to
  IMS_REG_TIMEOUT, default 300 s): the 10x10 s window is shorter than
  some carriers' post-boot attach (~2 min measured), so every attempt
  could burn out before the network was even attached. The settled
  modem/packet-service state is logged either way.
- Bearer ip-type is configurable via IMS_IP_TYPE in /etc/imsd.env
  (default ipv6); the bearer find/reuse now matches ip-type too, so a
  config change cannot silently reuse a stale bearer of the old type.

TimeoutStartSec grows 600->900 to cover the registration gate.

Tested on the FP6 dev phone (KPN): clean-state bring-up in 4 s;
gate + timeout path with modem disabled; per-attempt error lines on a
real contested-PDN failure (second ims PDN while one is connected);
idempotent reuse + REGISTERED (fresh) via systemd.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-01 18:10:04 +02:00
..
APKBUILD Add a make build path for distro packaging 2026-08-07 21:27:29 +02:00
APKBUILD.binary Emergency calling, stage 1: urn:service:sos with a digits fallback 2026-08-03 09:27:03 +02:00
ims-pdn-up.sh ims-pdn-up: log mmcli errors, gate on registration, configurable ip-type 2026-09-01 18:10:04 +02:00
imsd-dialerd.desktop imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
imsd.service ims-pdn-up: log mmcli errors, gate on registration, configurable ip-type 2026-09-01 18:10:04 +02:00
make-bin-tarball.sh imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
make-sysroot.sh imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
net.catcrafts.IMS1.conf imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00