vm: disable D-Bus activation of NetworkManager (#610)

This commit is contained in:
Marek Marczykowski 2012-07-05 01:33:22 +02:00
parent 9a5370dc85
commit f7a6645237

View File

@ -559,6 +559,10 @@ done
/bin/systemctl enable qubes-update-check.timer 2> /dev/null /bin/systemctl enable qubes-update-check.timer 2> /dev/null
# Disable D-BUS activation of NetworkManager - in AppVm it causes problems (eg PackageKit timeouts)
/bin/systemctl disable NetworkManager.service 2> /dev/null
/bin/systemctl mask dbus-org.freedesktop.NetworkManager.service 2> /dev/null
# Install overriden services only when original exists # Install overriden services only when original exists
for srv in cups NetworkManager ntpd; do for srv in cups NetworkManager ntpd; do
if [ -f /lib/systemd/system/$srv.service ]; then if [ -f /lib/systemd/system/$srv.service ]; then