[Bug 262372] rc.d/localpkg should be started after rc.d/local

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 06 Mar 2022 01:00:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262372

            Bug ID: 262372
           Summary: rc.d/localpkg should be started after rc.d/local
           Product: Base System
           Version: 12.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: firk@cantconnect.ru

I don't know if it was specified somewhere before, but up to 11.4 rc.d/localpkg
(which runs old-style /usr/local/etc/rc.d scripts) was run after rc.d/local
(which runs /etc/rc.local). So, custom local services was able to depend on
custom local preinitialization script. In 12.3 this became broken.

--- libexec/rc/rc.d/localpkg.orig       2022-02-13 15:31:10.000000000 +0300
+++ libexec/rc/rc.d/localpkg    2022-03-06 03:34:50.440656000 +0300
@@ -4,7 +4,7 @@
 #

 # PROVIDE: localpkg
-# REQUIRE: sysvipc linux
+# REQUIRE: sysvipc linux local
 # BEFORE:  securelevel
 # KEYWORD: shutdown

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