imsd/packaging
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 2fe991a14e
packaging: restart imsd and imsd-ofonod on upgrade
An upgrade left the old imsd and imsd-ofonod running until they were
next restarted, while a changed bus policy is live the moment apk writes
it: dbus-broker-launch reloads on its own. A policy that relies on a
check inside the daemons would face the old daemons in between.

Mark imsd.service and imsd-ofonod.service needs-restart in post-upgrade
scripts; the systemd trigger restarts them once the transaction is done
(enqueue-marked). A call in progress ends. The same scripts run as
post-install: `apk del` removes a package's files and leaves its daemon
running, so a later `apk add` of the package is this upgrade for that
daemon — and apk runs the post-install script, not post-upgrade, for a
package it adds. GNOME Calls 50.0 dials nothing after imsd-ofonod
restarts under it until it restarts too, so imsd-ofonod's ExecStartPost
restarts the Calls daemon of each user running one — not at the unit's
first start since boot, when a Calls that runs already is left alone.

A daemon older than 0.3.10 kept its bring-up throttle wait in memory
only, so a restart lost it. imsd's post-upgrade records that daemon's
invocation, and imsd-handover.sh, an ExecStartPre after ims-pdn-up.sh,
reads the invocation's journal and, while the fresh-SA throttle's wait
it finds there still runs (`spi-s=0`; the old daemon's other deferrals
are not handed over), writes what is left of it to the holds file when
this start's LOCAL is the address the wait was earned on, or when that
address cannot be read; when LOCAL is another address, only the verdict
that the old registration is gone.

Tested on the dev phone (KPN) in builds of this series; not every path
has run there.
2026-10-06 14:01:33 +02:00
..
80-imsd-ofono.preset ofonod: keep VoiceCallManager published across imsd restarts; enable on install 2026-09-20 16:58:42 +02:00
80-imsd.preset packaging: drop the aport; fp6-img installs the published apk 2026-09-02 16:08:21 +02:00
90_imsd-ofono.gschema.override ofonod: GNOME Calls backend over org.ofono for Phosh and GNOME Mobile 2026-09-20 16:07:46 +02:00
APKBUILD packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
APKBUILD.binary packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
build-package.sh packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
ims-pdn-up.sh ims-pdn-up, imsd: register on the PDN's own address, not the kernel's temporary one 2026-10-06 14:01:33 +02:00
imsd-dialerd.desktop ofonod: keep VoiceCallManager published across imsd restarts; enable on install 2026-09-20 16:58:42 +02:00
imsd-handover.sh packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofono-restart-calls.sh packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofono.post-install packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofono.post-upgrade packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofonod.service packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-systemd.post-install packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-systemd.post-upgrade packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd.post-install packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd.post-upgrade packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd.service packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
make-bin-tarball.sh packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +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
org.kde.modem.daemon.desktop packaging: drop the aport; fp6-img installs the published apk 2026-09-02 16:08:21 +02:00
org.ofono.conf ofonod: GNOME Calls backend over org.ofono for Phosh and GNOME Mobile 2026-09-20 16:07:46 +02:00