From owner-freebsd-ports@freebsd.org Wed Nov 6 08:45:52 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E36BB1AE827 for ; Wed, 6 Nov 2019 08:45:52 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 477Kqz5Ktrz3Hvr for ; Wed, 6 Nov 2019 08:45:51 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate1.intern.punkt.de with ESMTP id xA68jhgx089064 for ; Wed, 6 Nov 2019 09:45:44 +0100 (CET) Received: from [217.29.44.222] ([217.29.44.222]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id xA68jh2V041822 for ; Wed, 6 Nov 2019 09:45:43 +0100 (CET) (envelope-from hausen@punkt.de) From: "Patrick M. Hausen" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Question about port startup, /usr/local/etc/rc.conf.d Message-Id: Date: Wed, 6 Nov 2019 09:45:43 +0100 To: freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 477Kqz5Ktrz3Hvr X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 217.29.33.131 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-2.18 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MV_CASE(0.50)[]; DMARC_NA(0.00)[punkt.de]; IP_SCORE(-0.38)[ip: (-0.20), ipnet: 217.29.32.0/20(-0.95), asn: 16188(-0.74), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2019 08:45:52 -0000 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