21906: Improve Rails postinst unconfigured reporting 21906-api-gems-dir
authorBrett Smith <brett.smith@curii.com>
Tue, 18 Jun 2024 14:06:22 +0000 (10:06 -0400)
committerBrett Smith <brett.smith@curii.com>
Tue, 18 Jun 2024 14:06:22 +0000 (10:06 -0400)
commitc82898fcdbf6f3cd6b47421e24d3b71a7582e1dc
treeee13bb412edfb9f0c21584645b97e236ea7cd380
parent0519cd0ce431545f1df993e48e976fbf7c99ade9
21906: Improve Rails postinst unconfigured reporting

The immediate bug this is fixing is: on Red Hat, if you installed the
package before a web server, it would not install /etc/arvados (because
it didn't know who should own it), but then tell you to edit
/etc/arvados/config.yml.

This commit improves that reporting, so it gives you a more specific
reason that configuration stopped, and next steps for the administrator
to take. Admittedly, I did quite a bit of work to get there, but here we
are.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
build/rails-package-scripts/postinst.sh