enabling and disabling a systemd service in Python using DBus

The upcoming picockpit-client reacts to deletion events from the frontend by disabling it’s service (the application will stay installed, however). Similarly, when you decide to run picockpit-client connect again, the service will be re-enabled and started automatically for you. This is possible using the Python DBus interface. the DBus is a bus system for interacting…

Weiterlesen

Raspbian SSH Server fails after upgrade from Stretch to Buster (no SSH connection)

I used this excellent guide to update my Raspbian from Stretch to Buster: https://pimylifeup.com/upgrade-raspbian-stretch-to-raspbian-buster/ After rebooting my Pi, the SSH connection was gone. Logging into the Pi using the attached keyboard and monitor allowed me to debug the issue: service ssh status journalctl -u ssh -n 200 “Missing privilege separation directory /run/sshd” This directory needs…

Weiterlesen

Kyocera FS-4200DN nicht original Toner drücken Sie die Tasten OK und Abbrechen gleichzeitig

Heute hat mein Kyocera FS-4200DN die Warnung angezeigt (sinngemäß) “Toner ist nicht original. Der Hersteller kann keine Verantwortung übernehmen. Drücken Sie die Tasten OK und Abbrechen mindestens 3 Sekunden gleichzeitig um fortzufahren.” Diese Warnung wird angezeigt nachdem man den Knopf “Hilfe” drückt. Das Problem was mich verwirrt hat: der angezeigte Dialog zeigt auch eine Taste…

Weiterlesen

Debugging VerneMQ connection / authentication problems for dual authentication with webhooks and vmq_diversity

TL;DR https://github.com/vernemq/vernemq/blob/master/apps/vmq_diversity/src/vmq_diversity_plugin.erl includes a statement which will block authentication / authorization through any other channels if your Lua script returns “false”: will lead to: instead of trying other plugins, as you might have assumed! In order to avoid this problem, simply do not return anything from your Lua script, if you do not want to…

Weiterlesen