[MDEV-17028] Fix glitches with systemd sysusers and tmpfiles Created: 2018-08-21 Updated: 2020-01-24 Resolved: 2020-01-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian, Platform RedHat |
| Affects Version/s: | 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.1.44, 10.2.31, 10.3.22, 10.4.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | systemd | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Fix glitches with systemd sysusers and tmpfiles:
|
| Comments |
| Comment by Daniel Black [ 2018-08-21 ] |
|
Note; PR ignored for 6 months so far. |
| Comment by Sergei Golubchik [ 2018-08-22 ] |
|
yes, somehow it didn't make to MDEV back then. But now it's in Jira, so should get some attention soon |
| Comment by Sergei Golubchik [ 2019-04-07 ] |
|
overdue PR |
| Comment by Axel Schwenke [ 2019-04-30 ] |
|
This PR needs further discussion. |
| Comment by Vicențiu Ciorbaru [ 2020-01-24 ] |
|
This patch has implications on all systems using systemd, Redhat and Debian alike. The data-directory is not a volatile file, according to tmpfiles documentation. In this case we can not use tmpfiles for creating it. This is why the second patch was rejected. The problem should be solved in a post-install script in some form, not through tmpfiles. The first patch however makes both file names agree with the systemd-sysusers and systemd-tmpfiles naming convention. This was accepted. |