[Bug 206511] 'service -e' generates warnings in /var/log/user.log

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 21 11:06:35 UTC 2016


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

--- Comment #2 from p5B2E9A8F at t-online.de ---
>These are the results of various required _enable settings missing (or not set >to YES or NO) from /etc/defaults/rc.conf and /etc/rc.conf{,.local}.

In rc.conf there need to be settings different from default.
There is no need for explicit setting "NO" and there should be none.

A utility like service should not generate false warnings. This is extremely
disturbant because administrators try to hunt down those warnings and start a
time consuming research, as these entries occur by random on the first look. 

Warnings in logfiles should not be misleading and they should not be false
warnings. If this is true services does a poor job and this is a bug.

services uses function checkyesno of /etc/rc.subr which issues the warning but
on different prerequisite. Obviously service needs its own function for its
purpose.

>The one that doesn't name a setting is particularly worrisome.
Well this most probably is caused by the same problem. This is worrisome and
points to a buggy implementation of service because it does not reveal the
filename of the tested file.

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


More information about the freebsd-bugs mailing list