Files
pmaports-rtwo/main/postmarketos-base-ui/rootfs-usr-lib-tmpfiles.d-alsa-utils.conf
T
Aster Boese 28962d7fdf main/postmarketos-base-ui: add tmpfiles.d config for alsa-utils
alsa-utils tries creating /run/lock/asound.state.lock, but, since /run/ is a tmpfs, that path
does not exist in packaging. It is expected that this path is created at runtime, but systemd
does not because systemd considers /run/lock/ to be a legacy path and locks creating it behind
its legacy sysv compat. Because we cannot enable sysv compat and cannot patch systemd to still
allow /run/lock/ in its regular tmpfiles.d config, creating a custom config is the best
solution.

This is not in a systemd subpackage because OpenRC installs can also use tmpfiles.d and
discussion in abuild came to the conclusion that tmpfiles.d configs should stay in the regular
packaging and not go into a subpackage.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9047>
2026-07-23 20:18:23 +00:00

6 lines
240 B
Plaintext

# systemd considers /run/lock a legacy path, with its tmpfiles config locked
# behind enabling sysv compat, which we don't want. Thus, create the path in
# a custom distro config for alsa-utils, which needs it
d /run/lock 0755 root root -