Skip to content

Commit d459ec9

Browse files
committed
Disable priv/unpriv auth services when necessary (SOFTWARE-5478)
Services are enabled by default so we need to explicitly disable the relevant services or face race conditions
1 parent e5addb3 commit d459ec9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stash-origin/image-config.d/10-stash-origin.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ if [[ $XC_AUTH_ORIGIN_EXPORT ]]; then
1616
if [[ -n $XC_ENABLE_MULTIUSER ]]; then
1717
supervisord_enable stash-origin-auth-privileged
1818
supervisord_enable stash-origin-auth-cmsd-privileged
19+
supervisord_disable stash-origin-auth
20+
supervisord_disable stash-origin-auth-cmsd
1921
else
2022
supervisord_enable stash-origin-auth
2123
supervisord_enable stash-origin-auth-cmsd
24+
supervisord_disable stash-origin-auth-privileged
25+
supervisord_disable stash-origin-auth-cmsd-privileged
2226
fi
2327
else
2428
supervisord_disable stash-origin-auth-privileged

0 commit comments

Comments
 (0)