Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Mar 2022 01:00:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262372] rc.d/localpkg should be started after rc.d/local
Message-ID:  <bug-262372-227@https.bugs.freebsd.org/bugzilla/>

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

            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/loca=
lpkg
(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

--=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-262372-227>