diff --git a/debian/qubes-core-agent.postinst b/debian/qubes-core-agent.postinst index 9ec5202..bfde8c8 100755 --- a/debian/qubes-core-agent.postinst +++ b/debian/qubes-core-agent.postinst @@ -130,10 +130,10 @@ case "${1}" in # remove old symlinks if [ -L /etc/systemd/system/sysinit.target.wants/qubes-random-seed.service ]; then - systemctl --no-reload disable qubes-random-seed.service >/dev/null + rm /etc/systemd/system/sysinit.target.wants/qubes-random-seed.service fi if [ -L /etc/systemd/system/multi-user.target.wants/qubes-mount-home.service ]; then - systemctl --no-reload disable qubes-mount-home.service >/dev/null + rm /etc/systemd/system/multi-user.target.wants/qubes-mount-home.service fi if ! dpkg-statoverride --list /var/lib/qubes/dom0-updates >/dev/null 2>&1; then diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index dba133c..88929c0 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -635,10 +635,10 @@ done # remove old symlinks if [ -L /etc/systemd/system/sysinit.target.wants/qubes-random-seed.service ]; then - systemctl --no-reload disable qubes-random-seed.service >/dev/null + rm /etc/systemd/system/sysinit.target.wants/qubes-random-seed.service fi if [ -L /etc/systemd/system/multi-user.target.wants/qubes-mount-home.service ]; then - systemctl --no-reload disable qubes-mount-home.service >/dev/null + rm /etc/systemd/system/multi-user.target.wants/qubes-mount-home.service fi /bin/systemctl daemon-reload