Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
MDEV-10004 introduced _WSREP_START_POSITION{,%I} as a mechanism to store the mysqld arguments required to recover after crashes. This 'systemctl set-environment' is the only operations that requires PermissionsStartOnly=true in the service file.
If we could replace this with another mechanism we can run as the ordinary User= and make the scripts less vulnerable to CVEs.
This will also enable a multi-instance where each user is different without the complication of re-acquiring the systemd user for the service.
Attachments
Issue Links
- relates to
-
MDEV-19210 use environment file in systemd units for _WSREP_*
- Closed
-
MDEV-10004 Galera's pc.recovery process fails in 10.1 with systemd
- Closed
-
MDEV-11494 galera_recovery script hard-codes the user
- Closed