Removes unnecessary sudo commands from dhcp6_pd_daemon.py.
The script was already running as root due to the User=root setting in the systemd service file. The internal sudo calls were redundant and caused issues with dbus context switching, preventing the script from receiving dbus signals correctly. This change removes the sudo calls, ensuring the script operates within a consistent dbus context and resolves the signal handling problems.
This commit addresses the issue where the dhcp6_pd_daemon was not responding to changes in the Dhcp6PdState dbus property.
Removes unnecessary sudo commands from dhcp6_pd_daemon.py.
The script was already running as root due to the
User=root
setting in thesystemd
service file. The internalsudo
calls were redundant and caused issues with dbus context switching, preventing the script from receiving dbus signals correctly. This change removes thesudo
calls, ensuring the script operates within a consistent dbus context and resolves the signal handling problems.This commit addresses the issue where the dhcp6_pd_daemon was not responding to changes in the Dhcp6PdState dbus property.