# dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanReboot
Error org.freedesktop.systemd1.UnitMasked: Unit systemd-logind.service is masked.
I don't use this command directly, but kodi on my rpi3 with dietpi seems to do something similar for getting info about shutdown/reboot availability. I asked at kodi-forums: https://forum.kodi.tv/showthread.php?ti ... pid2998375
/etc/systemd/system/systemd-logind.service seemed to link to /dev/null before
Is this dietpi-specific (don't think I had this with raspbian)? What's the background of this and what's the implication of unmasking this (what I did)?
many thanks for your message. Indeed service systemd-logind is mask by default on DietPi systems. There is an option inside /boot/dietpi.txt to have it unmask during first inital setup/boot
Thanks for your answer, didn't look in /boot/dietpi.txt (that's quite new to me)
So the service is masked cause dietpi doesn't need it in normal operation and this reduces resources?
Thanks for your answer, didn't look in /boot/dietpi.txt (that's quite new to me)
So the service is masked cause dietpi doesn't need it in normal operation and this reduces resources?
correct. DietPi is starting with a minimal (diet) setup. If needed it could be unmask and started.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team