summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-libevdev
diff options
context:
space:
mode:
authorEric Chiang Quanta <Eric.Chiang@quantatw.com>2026-08-18 08:20:12 +0300
committerPatrick Williams <patrick@stwcx.xyz>2026-09-09 18:50:30 +0300
commit2fafef09df87b40bf6d65105af1c40af85e16663 (patch)
tree0c6c387d8cd053367751d4ecda5e736077780942 /upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-libevdev
parent8ed71209d2e8fb731ee2ce8a4af503c5d9c2e537 (diff)
downloadopenbmc-2fafef09df87b40bf6d65105af1c40af85e16663.tar.xz
meta-phosphor: systemd: always run systemd-sysusers
systemd-sysusers.service is gated on ConditionNeedsUpdate=/etc, which only fires while /etc is older than /usr. A reproducible build pins the mtime of /usr, and /etc/.updated is written on the first boot into the persistent /etc, so from that boot onwards the condition can never be satisfied and the unit is skipped for good. Every sysusers.d fragment on the image is then inert, no matter which package shipped it. Clear both trigger conditions. They are OR-ed, so leaving ConditionCredential in place would keep the unit gated on a credential that is never present. systemd-sysusers is idempotent; on a bletchley15 BMC it takes ~240 ms when it creates accounts and ~123 ms when it has no work. This on its own does not fix the case that found it. usbmuxd's udev rule needs a usbmux account that no recipe creates, and the recipe change that defines it belongs in meta-openembedded, where it is now upstream as 5b4d5deac5bb ("usbmuxd: create the usbmux user the udev rule requires"); it is being brought in here as change 93705. This change only makes sure that once such a fragment exists, it is acted on. Tested: bletchley15. Before, systemd-sysusers.service was skipped on every boot after the first, with systemctl reporting the condition unmet. After, it runs on each boot at the times above and accounts declared in sysusers.d are present once systemd-udevd parses its rules. The end-to-end usbmuxd result was observed with the meta-openembedded recipe change also applied, and is not claimed for this commit alone. Change-Id: I38cbec7a7ebbefb48603cf81320032249655d40a Signed-off-by: Eric Chiang Quanta <Eric.Chiang@quantatw.com>
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-libevdev')
0 files changed, 0 insertions, 0 deletions