Project

General

Profile

Actions

Bug #3972

closed

Avahi daemon doesn't start due to missing folder for requisite dbus-daemon.

Added by Aaron Outhier about 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Avahi
Target version:
Start date:
11/01/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.2
Affected Plus Version:
Affected Architecture:
All

Description

Avahi package version 0.6.31 pkg v1.06 has a bug which prevents it from working. This bug should be easy to fix. I have already tracked down the problem, and have found a fix from the command prompt, but it needs to be "re-fixed" after every reboot of pfSense.

The problem stems from a missing folder: /var/run/dbus/ , which needs to be chown'd by system user [messagebus]. Adding this folder allows the dbus-daemon to run, which in turn allows avahi-daemon to start.

I would submit a patch myself, except that I don't know which file(s) need to be patched to automate the process.

Actions #1

Updated by Aaron Outhier about 10 years ago

Oops! I confused the terms "Assignee" and "Assigner". I put myself as the assignee, thinking that I was supposed to do so as I created the report. I don't seem to be able to remove this myself.

Actions #2

Updated by Jim Pingle about 10 years ago

  • Assignee deleted (Aaron Outhier)

While this is being fixed, it may also warrant adding a <service> tag for dbus.

Actions #3

Updated by Aaron Outhier about 10 years ago

Jim P wrote:

While this is being fixed, it may also warrant adding a <service> tag for dbus.

Was that a general note, or one directed at me? 'Cause I don't know how to add a <service> tag.

Actions #4

Updated by Jim Pingle about 10 years ago

A general note

Actions #5

Updated by Bill Crowder about 10 years ago

Working AVAHI on 2.2

mkdir /var/run/dbus
chown messagebus:messagebus /var/run/dbus
dbus-daemon --system

Aaron makes it simple here. :)

From: [[https://forum.pfsense.org/index.php?topic=82559.0]]

Actions #6

Updated by Chris Buechler about 10 years ago

  • Target version deleted (2.2)
Actions #7

Updated by Chris Buechler almost 10 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:a3ffce8ab05d830dba2b9d36da60178c1789fa65.

Actions #8

Updated by Chris Buechler almost 10 years ago

  • Category set to Avahi
  • Status changed from Feedback to Resolved
  • Target version set to 2.2
  • % Done changed from 100 to 0

bug here is fixed. would be nice to have a <service> tag, but this was a quick fix and that's a little more involved than I have time to get into at the moment.

Actions

Also available in: Atom PDF