<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>191307</bug_id>
          
          <creation_ts>2007-09-04 21:47 0000</creation_ts>
          <short_desc>net-dns/avahi doesn&apos;t start until dbus configuration is reloaded</short_desc>
          <delta_ts>2007-09-09 20:38:53 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>betelgeuse@gentoo.org</reporter>
          <assigned_to>swegener@gentoo.org</assigned_to>
          <cc>gentopia@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-09-04 21:47:21 0000</bug_when>
            <thetext>pena betelgeuse # /etc/init.d/avahi-daemon start
avahi-daemon | * Starting avahi-daemon ...                                                                                                                                                             [ !! ]
avahi-daemon| * ERROR: avahi-daemon failed to start
pena betelgeuse # /usr/sbin/avahi-daemon
Found user &apos;avahi&apos; (UID 126) and group &apos;avahi&apos; (GID 462).
Successfully dropped root privileges.
avahi-daemon 0.6.21 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
dbus_bus_request_name(): Connection &quot;:1.14&quot; is not allowed to own the service &quot;org.freedesktop.Avahi&quot; due to security policies in the configuration file
WARNING: Failed to contact D-Bus daemon.
pena betelgeuse # /etc/init.d/dbus reload
dbus        | * Reloading D-BUS messagebus config ...                                                                                                                                                  [ ok ]
pena betelgeuse # /etc/init.d/avahi-daemon start
avahi-daemon | * Starting avahi-daemon ... 

At the very least we should pkg_postinst that people need to run /etc/init.d/dbus reload but perhaps the ebuild could signal dbus to reload the policies.
Portage 2.1.3.7 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r1 i686)
=================================================================
System uname: 2.6.22-gentoo-r1 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Unknown
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_alpha3-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.4.0
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=nocona -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /opt/jetty/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo&quot;
CXXFLAGS=&quot;-O2 -march=nocona -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/var/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache collision-protect cvs distlocks fixpackages parallel-fetch sandbox sfperms sign strict unmerge-orphans userfetch userpriv usersandbox verify-rdepend&quot;
GENTOO_MIRRORS=&quot; http://trumpetti.atm.tut.fi/gentoo&quot;
LANG=&quot;en_US.utf8&quot;
LC_ALL=&quot;en_US.utf8&quot;
LDFLAGS=&quot;-Wl,--as-needed -Wl,-O1&quot;
LINGUAS=&quot;fi&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/home/pkg/&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/mnt/checkouts/overlays/betelgeuse&quot;
SYNC=&quot;rsync://192.168.150.1/portage&quot;
USE=&quot;a52 aac acl acpi alsa audiofile bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss fam ffmpeg firefox gif gstreamer hal iconv isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libnotify logitech-mouse mad mikmod mjpeg mmx mp3 mpeg mudflap ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre png ppds pppd qt3 quicktime readline real reflection rtc session spell spl sse sse2 ssl startup-notification subversion svg symlink theora threads truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-syntax vorbis x86 xcb xcomposite xinerama xml xorg xv xvid xvmc zlib&quot; ALSA_CARDS=&quot;hda-intel&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;mouse keyboard evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;fi&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;none nvidia&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swegener@gentoo.org</who>
            <bug_when>2007-09-09 20:38:53 0000</bug_when>
            <thetext>0.6.21 now prints some information with USE=&quot;dbus&quot;.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>