[Bug 279640] ftp/fastdfs: make the rc script service jails aware

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 10 Jun 2024 11:42:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279640

            Bug ID: 279640
           Summary: ftp/fastdfs: make the rc script service jails aware
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: netchild@FreeBSD.org
                CC: daniel@blodan.se
             Flags: maintainer-feedback?(daniel@blodan.se)
                CC: daniel@blodan.se

Created attachment 251354
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251354&action=edit
make the rc script service jails aware

Hi,

attached is a mechanical patch (untested) which makes the rc.d script service
jails ready. This is a new feature in -current.

The setup I've chosen is to allow ipv4/ipv6 access. It does not allow to use
sysv IPC in a jail. IF you want to add this possibility, the config would need
to be changed to "net_basic sysvipc" instead. The config can be overridden in
rc.conf.

See also:
  https://docs.freebsd.org/en/books/handbook/jails/#service-jails
  https://docs.freebsd.org/en/articles/rc-scripting/#rcng-service-jails

Bye,
Alexander.

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