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

            Bug ID: 199850
           Summary: [patch] /usr/sbin/service -e fails if /sbin isn't in
                    PATH
           Product: Base System
           Version: 10.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]
          Keywords: patch

Created attachment 156221
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156221&action=edit
Patch service.sh replacing rcorder with /sbin/rcorder

The /usr/sbin/service script uses rcorder without specifying the path. If
called from an environment without /sbin in the path the -e option (and
presumably -r and -R) will fail. Adding /sbin/ to the two references to rcorder
will avoid this. Use of /sbin/sysctl within service already uses this form.

Attached patch against Revision 268098 (stable) which should also apply to
268773 (head).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to