[Bug 279630] dns/hetzner_ddns: make the rc script service jails aware

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 10 Jun 2024 10:54:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279630

            Bug ID: 279630
           Summary: dns/hetzner_ddns: 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: filip@parag.rs
                CC: filip@parag.rs
             Flags: maintainer-feedback?(filip@parag.rs)

Created attachment 251344
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251344&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.