Bug 279672

Summary: databases/mysql*-server: make the rc script service jails aware
Product: Ports & Packages Reporter: Alexander Leidinger <netchild>
Component: Individual Port(s)Assignee: Jochen Neumeister <joneum>
Status: New ---    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (joneum)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
mysql80
none
mysql81
none
mysql84 none

Description Alexander Leidinger freebsd_committer freebsd_triage 2024-06-11 08:30:39 UTC
Created attachment 251384 [details]
mysql80

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.
Comment 1 Alexander Leidinger freebsd_committer freebsd_triage 2024-06-11 08:30:58 UTC
Created attachment 251385 [details]
mysql81
Comment 2 Alexander Leidinger freebsd_committer freebsd_triage 2024-06-11 08:31:14 UTC
Created attachment 251386 [details]
mysql84