lsmd.conf(5)

πŸ“¦
version 1.10.3 Β· 3 versions
, in fedora 43, fedora 44

✨ 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 the lsmd daemon 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:

  1. "allow-plugin-root-privilege = true;" in lsmd.conf
  2. "require-root-privilege = true;" in the plugin config
  3. 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 to false, then the plugin will never be invoked as root user by lsmd. 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