mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
units: enable resolved bus activation though a symlink in /etc
The change: -/usr/lib/systemd/system/dbus-org.freedesktop.resolve1.service +/etc/systemd/system/dbus-org.freedesktop.resolve1.service If resolved is disabled, without this, talking to the resolved bus API will activate it regardless whether it is enabled or not, let's fix that.
This commit is contained in:
parent
f73e6ee687
commit
4d1f490c93
@ -5565,14 +5565,12 @@ dist_dbuspolicy_DATA += \
|
||||
dist_dbussystemservice_DATA += \
|
||||
src/resolve/org.freedesktop.resolve1.service
|
||||
|
||||
SYSTEM_UNIT_ALIASES += \
|
||||
systemd-resolved.service dbus-org.freedesktop.resolve1.service
|
||||
|
||||
BUSNAMES_TARGET_WANTS += \
|
||||
org.freedesktop.resolve1.busname
|
||||
|
||||
GENERAL_ALIASES += \
|
||||
$(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-resolved.service
|
||||
$(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-resolved.service \
|
||||
$(systemunitdir)/systemd-resolved.service $(pkgsysconfdir)/system/dbus-org.freedesktop.resolve1.service
|
||||
|
||||
nodist_pkgsysconf_DATA += \
|
||||
src/resolve/resolved.conf
|
||||
|
@ -38,3 +38,4 @@ SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=dbus-org.freedesktop.resolve1.service
|
||||
|
Loading…
Reference in New Issue
Block a user