Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
GNOME:STABLE:41
avahi
avahi-daemon-check-dns-suse.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File avahi-daemon-check-dns-suse.patch of Package avahi
--- avahi-daemon-check-dns.sh.debian 2021-01-27 15:28:07.832795734 -0600 +++ avahi-daemon-check-dns.sh 2021-01-27 15:39:35.364471899 -0600 @@ -5,15 +5,15 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin -RUNDIR="/var/run/avahi-daemon/" +RUNDIR="/var/run/avahi-daemon" DISABLE_TAG="$RUNDIR/disabled-for-unicast-local" NS_CACHE="$RUNDIR/checked_nameservers" -AVAHI_DAEMON_DETECT_LOCAL=1 +AVAHI_DAEMON_DETECT_LOCAL=yes -test -f /etc/default/avahi-daemon && . /etc/default/avahi-daemon +test -f /etc/sysconfig/avahi && . /etc/sysconfig/avahi -if [ "$AVAHI_DAEMON_DETECT_LOCAL" != "1" ]; then +if [ "$AVAHI_DAEMON_DETECT_LOCAL" != "yes" ]; then exit 0 fi --- avahi-daemon.if-up.debian 2021-01-27 16:09:50.922179542 -0600 +++ avahi-daemon.if-up 2021-01-27 16:11:54.942842665 -0600 @@ -3,10 +3,10 @@ # Don't run the avahi-daemon unicast local check while bringing up # the loopback device; it's not necessary until we bring up a real network # device -[ "$IFACE" != "lo" ] || exit 0 +[ "$2" != "lo" ] || exit 0 # If we have an unicast .local domain, we immediately disable avahi to avoid # conflicts with the multicast IP4LL .local domain if [ -x /usr/lib/avahi/avahi-daemon-check-dns.sh ] ; then - exec /usr/lib/avahi/avahi-daemon-check-dns.sh + sudo -u avahi -g avahi /usr/lib/avahi/avahi-daemon-check-dns.sh fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor