Date: Wed, 6 Nov 2019 09:45:43 +0100 From: "Patrick M. Hausen" <hausen@punkt.de> To: freebsd-ports@freebsd.org Subject: Question about port startup, /usr/local/etc/rc.conf.d Message-ID: <DC25AF67-A3E2-4B65-A58E-A530A6D7FCC6@punkt.de>
next in thread | raw e-mail | index | archive | help
Hi, all, with new installations I started to keep an empty /etc/rc.conf and put all settings into /etc/rc.conf.d and /usr/local/etc/rc.conf.d. Example: root@gimli:~ # ll /etc/rc.conf.d total 4 -rw-r--r-- 1 root wheel 13 Nov 2 15:07 dumpon -rw-r--r-- 1 root wheel 17 Nov 2 15:06 hostname -rw-r--r-- 1 root wheel 38 Nov 2 22:12 moused -rw-r--r-- 1 root wheel 66 Nov 2 22:28 network -rw-r--r-- 1 root wheel 43 Nov 2 15:10 ntpd -rw-r--r-- 1 root wheel 18 Nov 2 15:06 sshd -rw-r--r-- 1 root wheel 12 Nov 2 15:06 syscons -rw-r--r-- 1 root wheel 17 Nov 2 15:07 zfs root@gimli:~ # ll /usr/local/etc/rc.conf.d total 2 -rw-r--r-- 1 root wheel 26 Nov 2 15:42 avahi_daemon -rw-r--r-- 1 root wheel 18 Nov 2 15:43 dbus -rw-r--r-- 1 root wheel 18 Nov 6 08:58 hald The dbus and hald files contain only the "enable" setting for the = respective service: root@gimli:/usr/local/etc/rc.conf.d # cat dbus hald dbus_enable=3D"YES" hald_enable=3D"YES" The problem I encountered is this: root@gimli:~ # service dbus restart Stopping dbus. Waiting for PIDS: 33301. Starting dbus. root@gimli:~ # service hald restart Stopping hald. Waiting for PIDS: 33369. /usr/local/etc/rc.d/hald: WARNING: $dbus_enable is not set properly - = see rc.conf(5). Starting hald. As you can see dbus is properly enabled and starting. Is the warning a bug in the rc.d/hald script I should file a bug report for? Kind regards, Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DC25AF67-A3E2-4B65-A58E-A530A6D7FCC6>