|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Disable avahi daemon
I installed Chromium web browser and was told that the following rcscripts had been installed:
Code:
/etc/rc.d/avahi_daemon /etc/rc.d/avahi_dnsconfd 2. What is the command to list all daemons running in the background at a particular point in time? |
|
|||
Another helpful information source is
/usr/local/share/doc/pkg-readmes. for example: Code:
PooBear$ pwd /usr/local/share/doc/pkg-readmes PooBear$ ls a2ps-4.14p10 gnome-mplayer-1.0.9p1v0 avahi-0.6.31p19 gtk+2-2.24.28 consolekit-0.4.6p14 gtk+3-3.16.6 cups-filters-1.0.71p1 inkscape-0.91p2 dbus-1.8.20v0 ispell-3.2.06p9 ffmpeg-20150723p1 mplayer-20150510p2 firefox-esr-38.6.1 rtorrent-0.9.4p0v0 foomatic-db-engine-4.0.12p0 sane-backends-1.0.24p6 gamin-0.1.10p21 texlive_base-2014p0 glib2-2.44.1 xdg-utils-1.1.0rc3p0 PooBear$ cat avahi-0.6.31p19 $OpenBSD: README-main,v 1.8 2015/07/28 14:46:13 ajacoutot Exp $ +----------------------------------------------------------------------- | Running avahi-0.6.31p19 on OpenBSD +----------------------------------------------------------------------- For proper functionality, multicast(4) needs to be enabled. To do so, add the following line to /etc/rc.conf.local(8): multicast_host=YES Note that you MUST have a system-wide D-BUS daemon running BEFORE starting avahi, e.g.: rcctl set messagebus status on rcctl set avahi_daemon status on rcctl order messagebus avahi_daemon A rule similar to the one below can be used in pf.conf(5) to pass incoming avahi (multicast) traffic: pass proto udp from any to 224.0.0.251 port mdns allow-opts |
|
|||
Thanks but I did read the pkg-readme on avahi before I created this thread. There was nothing in it to help me understand how to disable avahi daemon.
|
|
|||
Quote:
If an application or software that invokes avahi daemon is shut down, will avahi daemon shut down too? |
|
|||
What is the command to list all daemons running in the background at a particular point in time?
|
|
|||
Code:
rcctl set avahi_daemon status on Code:
rcctl set avahi_daemon status off rcctl(8) Code:
DESCRIPTION The rcctl utility can enable or disable a base system service or a base system or package daemon in rc.conf.local(8) or display its configuration and status. For a daemon, it can also change the command line arguments, the user to run as, the rc.d(8) action timeout or call its rc.d(8) daemon control script. The following commands are available (variable can be one of class, flags, status, timeout or user): [-df] action daemon Run the rc.d(8) daemon script with the action argument, passing through the specified options, if any. get service | daemon [variable] Display the value of service or daemon_variable. If variable is empty, display all service or daemon variables and values in a format compatible with rc.conf(8). |
|
||||
Quote:
If you do nothing, the avahi daemon will never be run. The script was installed, but it will not execute without additional action from you. Last edited by jggimi; 9th March 2016 at 04:32 AM. Reason: typo |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dbus and avahi? | kerasi | OpenBSD Packages and Ports | 2 | 8th January 2015 07:21 PM |
need help with pre-threaded TCP/IP daemon | unixjingleman | Programming | 4 | 30th March 2013 08:01 PM |
Comment out '/etc/inetd.conf' and disable 'inetd' daemon | J65nko | Guides | 0 | 24th January 2010 10:53 PM |
Run daemon as other user than root | phreud | FreeBSD General | 8 | 11th November 2008 04:11 AM |
dbus-daemon | lumiwa | FreeBSD General | 2 | 2nd October 2008 12:05 AM |