Bug 634532 - systemd is starting the avahi daemon, due to a client reference by libvirt, when it shouldn't
Summary: systemd is starting the avahi daemon, due to a client reference by libvirt, w...
Keywords:
Status: CLOSED DUPLICATE of bug 631271
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-16 09:26 UTC by Justin Clift
Modified: 2015-07-13 04:34 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-16 10:34:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.