Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
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
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Description |
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. |
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. |
Link |
This issue relates to |
Fix Version/s | 10.4 [ 22408 ] |
Labels | systemd |
Assignee | Daniel Black [ danblack ] |
Workflow | MariaDB v3 [ 84507 ] | MariaDB v4 [ 130758 ] |
Link |
This issue relates to |
Fix Version/s | 10.3 [ 22126 ] |
Component/s | Scripts & Clients [ 11002 ] | |
Fix Version/s | 11.6.0 [ 29839 ] | |
Fix Version/s | 10.4(EOL) [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |