Bug 634532

Summary: systemd is starting the avahi daemon, due to a client reference by libvirt, when it shouldn't
Product: [Fedora] Fedora Reporter: Justin Clift <jclift>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: horsley1953, kwade, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-16 10:34:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Clift 2010-09-16 09:26:27 UTC
Description of problem:

The avahi daemon is being started on people's systems, even when explicitly disabled in every init setting, by systemd.

This appears to be due to a change in behaviour of systemd compared to the old init system.

With the previous init system, libvirt was able to register a callback with the avahi client library, so that _if_ avahi was ever started then libvirt would register with it automatically.  This would in no way cause avahi to be started for libvirt.  Libvirt doesn't need it.

Systemd seems to be getting this wrong, and is instead starting avahi anyway.

This is *very* not good for people trying to lock down or otherwise secure their systems. :(

This is the start of the email thread where the problem first surfaced in F14:

  http://lists.fedoraproject.org/pipermail/test/2010-September/093350.html

Information from one of the libvirt developers, on why the interaction seems to be systemd doing things wrong/differently compared to the previous system:

  http://lists.fedoraproject.org/pipermail/test/2010-September/093396.html


Version-Release number of selected component (if applicable):

  systemd-9-3.fc14.x86_64.rpm

How reproducible:

 Unsure.  I'm not the original bug reporter, though it seemed pretty consistent from Tim's email.


Steps to Reproduce:
1.  Start the libvirt daemon.
2.  The avahi-daemon is started, even when not enabled in the init levels. (this is the bug)

Comment 1 Michal Schmidt 2010-09-16 10:34:34 UTC

*** This bug has been marked as a duplicate of bug 631271 ***