lsmd.conf(5)
β¨ lsmd.conf β the libStorageMgmt daemon config file, bestie edition β¨
okay so this is lsmd.conf, aka the config file for lsmd, the libStorageMgmt plugin daemon. it's giving "settings page but make it a text file" and honestly? iconic. π
πΈ NAME πΈ
lsmd.conf β the libStorageMgmt daemon lsmd configuration file. that's the whole name. short, sweet, main character energy. π
π¦ DESCRIPTION π¦
so here's the vibe: the libStorageMgmt plugin daemon (lsmd) reads the lsmd.conf file from whatever folder you told it to use with --confdir. and if you didn't tell it anything? no worries bestie, it just defaults to /etc/lsm/. π«Ά
now, the daemon ALSO reads the plugin configuration files, and those live in the sub-folder pluginconf.d. each plugin config file has to be named like <uri_scheme>.conf, fr fr. for example:
- the MegaRAID plugin (
megaraid://) βmegaraid.conf
so basically: lsmd.conf handles the global settings for lsmd, and each plugin's own config file handles that plugin's individual behavior. global girlies vs local girlies, we respect both. β¨
π IMPORTANT BESTIE: every single option line in the config file needs a trailing semicolon (;). do NOT forget it. the semicolon is not optional and it is not decorative.
π lsmd.conf OPTIONS π
allow-plugin-root-privilege = true;β this one decides whether thelsmddaemon should keep running in root mode and invoke plugins as the root user when it needs to. π₯
if this option isn't there at all, or if it's set to false, that means the daemon and the plugins will never run as root. periodt.
and listen, lsmd will only run the specified plugins as root user when all three of these requirements are met, no skipping:
"allow-plugin-root-privilege = true;"inlsmd.conf"require-root-privilege = true;"in the plugin config- the API connection (or
lsmcli) has root privileges
all three or nothing. it's a whole vibe check. π§
π Plugin OPTIONS π
require-root-privilege = true;β this one says the plugin requires root privilege. if this line is missing, or it's set tofalse, then the plugin will never be invoked as root user bylsmd. nope, not even once. π
for the full deets, go check the lsmd.conf option allow-plugin-root-privilege above. it's all connected, iykyk. π
β SEE ALSO β
lsmd(1)
π BUGS π
found a bug? please report bugs to <libstoragemgmt-devel@lists.fedorahosted.org> β the devs want to know, and honestly they're so nice about it. π«Ά
π AUTHOR π
Gris Ge <fge@redhat.com> β thank you for your service, legend. π
and that's the whole page bestie!! this little beauty is lsmd.conf version 1.10.3, dated January 2015, and it's still out here explaining root privileges like the icon it is. slay, stay safe, and don't forget your semicolons. πβ¨π
π¦ where this page comes from
- fedora 43: libstoragemgmt 1.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libstoragemgmt 1.10.3-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms