A distribution overlay for Raspbian and similar systems to create a JACK-based embedded system for audio processing and streaming. Contract work for [mn] medianet. https://www.medianet-home.de
The (quite convoluted) /usr/bin/kodi script has three sudo calls.
Two of them are certainly obsolete because they use "service start" rather than systemd calls, and to a "cec" service that no longer exists.
The final one is a call to openvt (which could probably be avoided by setting appropriate permissions on a tty), but it also uses a call to "su" in its subcommand.
For now, if you want to use kodi, the workaround is to add /etc/sudoers.d/99-medianet-kodi with the following content:
medianet ALL=(ALL) NOPASSWD: ALL
WARNING: This undoes privilege separation completely.
The (quite convoluted) /usr/bin/kodi script has three sudo calls. Two of them are certainly obsolete because they use "service start" rather than systemd calls, and to a "cec" service that no longer exists. The final one is a call to openvt (which could probably be avoided by setting appropriate permissions on a tty), but it also uses a call to "su" in its subcommand.
For now, if you want to use kodi, the workaround is to add
/etc/sudoers.d/99-medianet-kodi
with the following content:WARNING: This undoes privilege separation completely.