Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2022 10:48:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266494] neither service(8) rc.subr(8) document enable/disable commands
Message-ID:  <bug-266494-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266494

            Bug ID: 266494
           Summary: neither service(8) rc.subr(8) document enable/disable
                    commands
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: me@igalic.co
                CC: doc@FreeBSD.org

While the error output of

service sshd blah

prints:

/etc/rc.d/sshd: unknown directive 'blah'.
Usage: /etc/rc.d/sshd
[fast|force|one|quiet](start|stop|restart|rcvar|enable|disable|delete|enabl=
ed|describe|extracommands|configtest|keygen|reload|status|poll)


service itself does not document that it provides the commands 'enable',
'disable' and 'enabled'

rc.subr documents enabled, but not 'enable' and 'disable'.

in rc.subr's code, the function documentation for rc_run_command, looks like
the copy in the man page, and also only documents enabled, but not enable a=
nd
disable.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266494-227>