Commit 6fddc83
committed
deb/cephadm: add explicit --home for cephadm user
cephadm.postinst fails on ubuntu 24.04, because the cephadm user it
creates ends up with a `/nonexistent` home directory:
> mkdir: cannot create directory '/nonexistent/.ssh': No such file or directory
on ubuntu 22.04, this user's home directory is `/home/cephadm`
the `adduser` man page for 24.04 includes this new text:
> If no home directory is specified, the default home directory for a new system user is /nonexistent. This directory should never exist on any Debian system, and adduser will never create it automatically.
commit 90bc036 had previously added
`--home /home/cephadm`, but that was later removed by commit
c5a316c to support non-default home
directories. the latter commit's author recommends use of
`--home /var/lib/cephadm` instead
Fixes: https://tracker.ceph.com/issues/72083
Signed-off-by: Casey Bodley <[email protected]>1 parent a52d6a9 commit 6fddc83
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments