WARNING: $xyz is not set properly - see rc.conf(5).
andrew clarke
mail at ozzmosis.com
Sun Mar 13 06:22:52 UTC 2016
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.
More information about the freebsd-questions
mailing list