Explorar el Código

Merge remote-tracking branch 'qubesos/pr/40'

* qubesos/pr/40:
  Stop unnecessary services in Debian
Marek Marczykowski-Górecki hace 7 años
padre
commit
cf97f4f8e7

+ 2 - 0
Makefile

@@ -89,6 +89,8 @@ ifeq ($(shell lsb_release -is), Debian)
 
     SYSTEM_DROPINS += anacron.service
     SYSTEM_DROPINS += anacron-resume.service
+    SYSTEM_DROPINS += exim4.service
+    SYSTEM_DROPINS += avahi-daemon.service
 endif
 
 install-systemd-dropins:

+ 4 - 0
debian/qubes-core-agent.postinst

@@ -124,6 +124,10 @@ case "${1}" in
         done
         dpkg-divert --divert /etc/init/serial.conf.qubes-orig --package qubes-core-agent --rename --add /etc/init/serial.conf
 
+        if [ ! -L /etc/systemd/system/rpcbind.service ]; then
+            ln -s /dev/null /etc/systemd/system/rpcbind.service
+        fi
+
         # Remove old firmware updates link
         if [ -L /lib/firmware/updates ]; then
             rm -f /lib/firmware/updates

+ 2 - 0
vm-systemd/avahi-daemon.service.d/30_qubes.conf

@@ -0,0 +1,2 @@
+[Unit]
+ConditionPathExists=/var/run/qubes-service/avahi

+ 2 - 0
vm-systemd/exim4.service.d/30_qubes.conf

@@ -0,0 +1,2 @@
+[Unit]
+ConditionPathExists=/var/run/qubes-service/exim4