Hi,
I am trying to change the Nice-Level of the kodi-process on PI3.
So I created /usr/lib/systemd/system/kodi.service.d/override.conf with follwing content:
$this->bbcode_second_pass_code('', '08:50:24 @ Fr Jun 10]root@Kleinerbaer[/usr/lib/systemd/system/kodi.service.d/]$cat /usr/lib/systemd/system/kodi.service.d/override.conf
[Service]
Nice=-15
')
Now restartting kodi.service fails with:
$this->bbcode_second_pass_code('', '[08:50:15 @ Fr Jun 10]root@Kleinerbaer[/usr/lib/systemd/system/kodi.service.d/]$systemctl status kodi
× kodi.service - Kodi standalone (GBM)
Loaded: loaded (/usr/lib/systemd/system/kodi.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/kodi.service.d
└─override.conf
Active: failed (Result: exit-code) since Fri 2022-06-10 08:50:19 CEST; 5s ago
Duration: 3.964s
Process: 1295 ExecStart=/usr/bin/kodi-standalone (code=exited, status=0/SUCCESS)
Process: 1364 ExecStop=/usr/bin/killall --user kodi --exact --wait kodi.bin (code=exited, status=1/FAILURE)
Main PID: 1295 (code=exited, status=0/SUCCESS)
CPU: 78ms
Jun 10 08:50:15 Kleinerbaer systemd[1]: Started Kodi standalone (GBM).
Jun 10 08:50:15 Kleinerbaer systemd[1295]: pam_systemd_home(login:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jun 10 08:50:15 Kleinerbaer systemd[1295]: pam_unix(login:session): session opened for user kodi(uid=972) by (uid=0)
Jun 10 08:50:15 Kleinerbaer systemd[1295]: pam_env(login:session): deprecated reading of user environment enabled
Jun 10 08:50:19 Kleinerbaer systemd[1364]: pam_systemd_home(login:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jun 10 08:50:19 Kleinerbaer systemd[1364]: pam_unix(login:session): session opened for user kodi(uid=972) by (uid=0)
Jun 10 08:50:19 Kleinerbaer systemd[1364]: pam_env(login:session): deprecated reading of user environment enabled
Jun 10 08:50:19 Kleinerbaer systemd[1]: kodi.service: Control process exited, code=exited, status=1/FAILURE
Jun 10 08:50:19 Kleinerbaer systemd[1]: kodi.service: Failed with result 'exit-code'.
')
$this->bbcode_second_pass_code('', 'Jun 10 08:50:15 Kleinerbaer systemd[1]: Started Kodi standalone (GBM).
Jun 10 08:50:15 Kleinerbaer dbus-daemon[335]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.21' (
uid=0 pid=1295 comm="(andalone)")
Jun 10 08:50:15 Kleinerbaer dbus-daemon[335]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not foun
d.
Jun 10 08:50:15 Kleinerbaer systemd[1]: Started Session 6 of User kodi.
Jun 10 08:50:16 Kleinerbaer kodi-standalone[1304]: /usr/include/c++/12.1.0/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int
]: Assertion '!(__hi < __lo)' failed.
Jun 10 08:50:16 Kleinerbaer systemd[1]: Started Process Core Dump (PID 1308/UID 0).
Jun 10 08:50:16 Kleinerbaer systemd-coredump[1309]: Resource limits disable core dumping for process 1304 (kodi.bin).
Jun 10 08:50:16 Kleinerbaer systemd[1]: systemd-coredump@1-1308-0.service: Deactivated successfully.
Jun 10 08:50:16 Kleinerbaer kodi-standalone[1299]: /usr/bin/kodi: Zeile 181: 1304 Abgebrochen (Speicherabzug geschrieben) ${KODI_BINARY} $SAVED_ARGS
Jun 10 08:50:17 Kleinerbaer kodi-standalone[1299]: Crash report available at /var/lib/kodi/kodi_crashlog-20220610_085016.log
Jun 10 08:50:17 Kleinerbaer kodi-standalone[1324]: /usr/include/c++/12.1.0/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]: Assertion '!(__hi < __lo)' failed.
Jun 10 08:50:17 Kleinerbaer systemd[1]: Started Process Core Dump (PID 1329/UID 0).
Jun 10 08:50:18 Kleinerbaer systemd-coredump[1330]: Resource limits disable core dumping for process 1324 (kodi.bin).
Jun 10 08:50:18 Kleinerbaer systemd[1]: systemd-coredump@2-1329-0.service: Deactivated successfully.
Jun 10 08:50:18 Kleinerbaer kodi-standalone[1319]: /usr/bin/kodi: Zeile 181: 1324 Abgebrochen (Speicherabzug geschrieben) ${KODI_BINARY} $SAVED_ARGS
Jun 10 08:50:18 Kleinerbaer kodi-standalone[1319]: Crash report available at /var/lib/kodi/kodi_crashlog-20220610_085018.log
Jun 10 08:50:18 Kleinerbaer kodi-standalone[1346]: /usr/include/c++/12.1.0/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]: Assertion '!(__hi < __lo)' failed.
Jun 10 08:50:18 Kleinerbaer systemd[1]: Started Process Core Dump (PID 1353/UID 0).
Jun 10 08:50:19 Kleinerbaer systemd-coredump[1354]: Resource limits disable core dumping for process 1346 (kodi.bin).
Jun 10 08:50:19 Kleinerbaer systemd[1]: systemd-coredump@3-1353-0.service: Deactivated successfully.
Jun 10 08:50:19 Kleinerbaer kodi-standalone[1341]: /usr/bin/kodi: Zeile 181: 1346 Abgebrochen (Speicherabzug geschrieben) ${KODI_BINARY} $SAVED_ARGS
Jun 10 08:50:19 Kleinerbaer kodi-standalone[1341]: Crash report available at /var/lib/kodi/kodi_crashlog-20220610_085019.log
Jun 10 08:50:19 Kleinerbaer kodi-standalone[1295]: /usr/bin/kodi --standalone has exited in an unclean state 3 times in the last 4 seconds.
Jun 10 08:50:19 Kleinerbaer kodi-standalone[1295]: Something is probably wrong')
I did the same on my main HTPC running openSUSE x86_64 and there it works without issues.
Any ideas?
Thx in advance!