You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which doesn't make sense on rpm-ostree composes. We should either upstream a fix to disable it in rpm-ostree composes (maybe making it conditional on SYSTEMD_OFFLINE?) or hack something in the core to neuter it.
The text was updated successfully, but these errors were encountered:
This is a horribly complex topic because we need to think about e.g. the podman/docker case too. If I'm not using systemd in a container, I suspect packages still want their tmpfiles.d snippets run.
Taking a step back, imagine that we tried to do what rpm-ostree is doing converting /var -> tmpfiles.d across the board, I suspect we'd run into problems like the above for podman/docker.
Wait but ugh that macro says it's being used when something installed by RPM depends on a tmpfiles.d snippet? That just seems straight up broken.
I found a similar case with the sysusers_create_package macro in systemd upstream.
It does run systemd-sysusers taking into account the whole set of configuration on disk, and creates all relevant users and groups. I found it used in the wild by Fedora dnsmasqspecfile.
It does result in creating other users/groups, even if they weren't explicitly created by their packages:
⠤ Running pre scripts...
dnsmasq.prein: Creating group fedora-coreos-pinger with gid 982.
dnsmasq.prein: Creating user fedora-coreos-pinger (Fedora CoreOS telemetry service user) with uid 982 and gid 982.
dnsmasq.prein: Creating group zincati with gid 981.
dnsmasq.prein: Creating user zincati (Zincati user for auto-updates) with uid 981 and gid 981.
dnsmasq.prein: Creating group dnsmasq with gid 980.
systemd defines this RPM macro: https://github.com/systemd/systemd/blob/e66d2eeeeb4332ca94aeb62e95ec76f1f17ee9b7/src/core/macros.systemd.in#L140-L154
which doesn't make sense on rpm-ostree composes. We should either upstream a fix to disable it in rpm-ostree composes (maybe making it conditional on
SYSTEMD_OFFLINE
?) or hack something in the core to neuter it.The text was updated successfully, but these errors were encountered: