Source: uim Version: 1:1.9.6-1 Severity: normal Hi, we're using uim on immutable images built from Debian. Upon first boot `/var` is empty, see e.g.
https://0pointer.net/blog/projects/stateless.html Since uim keeps about registered modules in `/var` no input methods are available. We're currently using a systemd unit to populate /var/lib/uim: https://salsa.debian.org/BengalOS-team/pkgs/bengalos/-/merge_requests/12 but it would be nice if uim in Debian would handle that so it can work for other immutable distros like ParticleOS too. The idea would be: Have uim ship a unit like: ``` [Unit] Description=Setup UIM modules After=dbus.service ConditionPathExists=!/var/lib/uim [Service] Type=oneshot ExecStart=mkdir -p /var/lib/uim ExecStart=uim-module-manager --unregister-all --path /var/lib/uim [Install] WantedBy=multi-user.target ``` Each uim module (e.g. uim-anthy) would then add an override (/usr/lib/systemd/system/uim.conf.d/10-uim-anty.conf) file: ``` [Service] ExecStart=uim-module-manager --register anthy-utf8 --path /var/lib/uim ``` That would ensure registartion on immutable systems on first boot. I can send patches if that makes sense. Cheers, -- Guido -- System Information: Debian Release: forky/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, arm64 Kernel: Linux 7.1.3+deb14-amd64 (SMP w/22 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled

