[Bug 282255] rc: Is rc_fast_and_loose actually working?

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Oct 2024 17:45:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282255

            Bug ID: 282255
           Summary: rc: Is rc_fast_and_loose actually working?
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: 0mp@FreeBSD.org

The review of https://reviews.freebsd.org/D46862 prompted the question if
rc_fast_and_loose is actually working at the moment.

rc_fast_and_loose makes rc(8) execute rc scripts by sourcing them instead of
running them in subshells. This is probably broken as many of rc services call
exit for example (also with the exit code of 0).

There were some discussions about rc_fast_and_loose in the past, questioning if
it was properly supported or even working at all:
https://lists.freebsd.org/pipermail/freebsd-current/2012-January/031167.html

We should investigate if rc_fast_and_loose is working at all.

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