DH_INSTALLSYSUSERS(1)
π dh_installsysusers β the "put my sysusers in the right place" girlie π
okay so bestie, this is the DH_INSTALLSYSUSERS manual page, section 1 β and it's literally just about dropping your systemd sysusers files where systemd actually looks for them. no cap, that's the whole vibe. π§β¨
β¨ NAME β¨
dh_installsysusers β installs systemd sysusers files and does the whole integration-baddie thing too π«Ά
πΈ SYNOPSIS πΈ
dh_installsysusers [debhelper options]
π DESCRIPTION π
so <pink>dh_installsysusers</pink> is a debhelper program, and its entire main character job is installing the systemd sysusers files that the package maintainer ships. that's it. that's the job. π
but wait, there's more β it also goes and finds the systemd sysusers files that already got installed into a package, and it generates the relevant integration snippets so those users actually get enabled at installation time. π¦
and those snippets? yeah, they get added to the package by dh_installdeb(1). not by this girl. she just makes them. periodt. π
π FILES π
debian/package.sysusersβ if the file exist (yes, that's exactly how the original says it, we do not fix, we only vibe), it gets installed as/usr/lib/sysusers.d/package.conf. π
π OPTIONS π
--name=nameβ use this when you want a different naming scheme, bestie. when this parameter is used,dh_installsysusersgoes looking for and installs files nameddebian/package.name.sysusersinstead of the usualdebian/package.sysusers. and bonus: the file gets installed as/usr/lib/sysusers.d/name.confrather than/usr/lib/sysusers.d/package.conf. two-for-one rename, iconic. β¨
π NOTES π
okay so IMPORTANT: this command is not idempotent π. you need to calldh_prep(1)between invocations of this command (with the same arguments). skip that and you may cause multiple instances of the same text to be added to maintainer scripts. the same text. again and again. like a group chat where everyone sends the same screenshot. don't do that. calldh_prep(1). π
π SEE ALSO π
π«Ά sign-off π«Ά
this slice of wisdom is from version 14.5ubuntu1, dated 2026-09-21 β go forth, install your sysusers files, and remember: not idempotent, so bring dh_prep(1) with you. mwah. ππβ¨π
π¦ where this page comes from
- ubuntu stonking: debhelper 14.5ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms