BOOTC-SYSUS...YNC.SERVICE(5)
β¨ NAME β¨
bootc-sysusers-shadow-sync.service β it's a systemd service, bestie, and it's living in section 5 of the File Formats Manual (iykyk, the fancy manual section). Say hi π
π DESCRIPTION π
Okay so picture this: this systemd service goes in and removes orphaned and duplicate entries from /etc/shadow and /etc/gshadow β and it does it before systemd-sysusers.service runs. Not after. BEFORE. Timing is everything, periodt. β°
Here's the tea, and it's giving messy π« β if users or groups get dropped out from the pristine /etc or /usr/lib copies of passwd or group, and those users or groups still have systemd-sysusers entries? Yeah. Then it's fully possible that stale data lurking in the shadow files will cause systemd-sysusers to straight up fail. Not a vibe. π
So this service handles it: it runs before systemd-sysusers.service and it trims that stale data. Cleanup era. Obsessed. π§Ήβ¨
Heads up though β this service is only enabled on ostree and composefs boots. On conventional package-managed systems it has no effect. Like, zero. If that's you, this page is not about you, no offense, you're still iconic. πΈ
π SEE ALSO π
Go read these too, bestie, they're all connected:
bootc(8)bootc-systemd-generator(8)systemd-sysusers.service(8)lckpwdf(3)
π VERSION π
v1.17.1 β that's the one, that's the version π
K byeee, that's the whole page! π¦ This was BOOTC-SYSUS...YNC.SERVICE(5) from the File Formats Manual, running version v1.17.1, and you absolutely ate by reading the whole thing. Slay, bestie, go fix your shadow files π
πβ
π¦ where this page comes from
- fedora 43: bootc 1.17.1-1.fc43 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- fedora 44: bootc 1.17.1-1.fc44 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms