[Bug 208445] /usr/sbin/service: WARNING: $xyz is not set properly - see rc.conf(5).

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 1 03:11:01 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208445

            Bug ID: 208445
           Summary: /usr/sbin/service: WARNING: $xyz is not set properly -
                    see rc.conf(5).
           Product: Base System
           Version: 10.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: mail at ozzmosis.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list