Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2016 17:22:39 +1100
From:      andrew clarke <mail@ozzmosis.com>
To:        freebsd-questions@freebsd.org
Subject:   WARNING: $xyz is not set properly - see rc.conf(5).
Message-ID:  <20160313062239.GA29540@ozzmosis.com>

Next in thread | Raw E-Mail | Index | Archive | Help
I notice on FreeBSD 10.2-REL (also 10.3-RC2), executing:

service -e

results in the following appended to /var/log/messages:

Mar 13 17:09:57 blizzard ozzmosis: /usr/sbin/service: WARNING: $growfs_enable is not set properly - see rc.conf(5).
Mar 13 17:09:57 blizzard ozzmosis: /usr/sbin/service: WARNING: $ is not set properly - see rc.conf(5).
Mar 13 17:09:57 blizzard ozzmosis: /usr/sbin/service: WARNING: $tcsd_enable is not set properly - see rc.conf(5).
Mar 13 17:09:58 blizzard ozzmosis: /usr/sbin/service: WARNING: $mpd_enable is not set properly - see rc.conf(5).
Mar 13 17:09:58 blizzard ozzmosis: /usr/sbin/service: WARNING: $poudriered_enable is not set properly - see rc.conf(5).
Mar 13 17:09:58 blizzard ozzmosis: /usr/sbin/service: WARNING: $mdnsresponderposix_enable is not set properly - see rc.conf(5).
Mar 13 17:09:58 blizzard ozzmosis: /usr/sbin/service: WARNING: $mdnsd_enable is not set properly - see rc.conf(5).
Mar 13 17:09:58 blizzard ozzmosis: /usr/sbin/service: WARNING: $dbus_enable is not set properly - see rc.conf(5).
Mar 13 17:09:58 blizzard ozzmosis: /usr/sbin/service: WARNING: $avahi_daemon_enable is not set properly - see rc.conf(5).
Mar 13 17:09:58 blizzard ozzmosis: /usr/sbin/service: WARNING: $cupsd_enable is not set properly - see rc.conf(5).
Mar 13 17:09:58 blizzard ozzmosis: /usr/sbin/service: WARNING: $avahi_dnsconfd_enable is not set properly - see rc.conf(5).

"$ is not set properly" looks like a bug, but I'm wondering whether
these messages are necessary at all?

For example, I don't have growfs_enable set at all in rc.conf, so I'd
have thought that /usr/sbin/service would treat this as the same as
growfs_enable="NO".

Also, "not set properly" does not have the same meaning as "not set",
so at the very least the warning is erroneous.

Thanks.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20160313062239.GA29540>