Commit 5098f4d
fix(sysusers): override upstream cephadm UID + cross-repo hygiene mirror
- etc/sysusers.d/cephadm.conf pins cephadm UID/GID to 1100 so the upstream
cephadm RPM's auto-allocated ('-') login user no longer fails postcheck
invariant #8 (logind requires UID >= UID_MIN to mint /run/user/<uid>).
/etc/sysusers.d/<name> shadows /usr/lib/sysusers.d/<name> per
systemd-sysusers.d(5).
- automation/99-postcheck.sh: checks #8 and #8b now walk the *effective*
sysusers file via a new _sysusers_effective helper, preferring /etc
overrides over /usr/lib so the upstream cephadm.conf no longer trips the
invariant once shadowed.
- .gitignore: whitelist /API.md (was blocked by /*), /.env.mios (mirrored
from mios-bootstrap so user-runtime env defaults travel with this repo),
and /etc/sysusers.d/** (admin overrides for upstream sysusers entries).
- .env.mios: mirrored verbatim from mios-bootstrap for cross-repo parity.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 5a37f21 commit 5098f4d
5 files changed
Lines changed: 817 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
116 | 123 | | |
117 | 124 | | |
118 | 125 | | |
| |||
0 commit comments