diff options
Diffstat (limited to 'satellit_upgrader')
-rw-r--r-- | satellit_upgrader/updater.template.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index 0490138..3783f39 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -710,18 +710,6 @@ if [ -n "$TGZ_DNBD3" ]; then fi fi -# Make sure the dnbd3 user is able to write on the slx store (both internal and mounted ones). -# If the slx store is currently unmounted, this has the slightly awkward side-effect of creating -# the folder in the host's root filesystem. When the store will be mounted on PATH_SLXSTORE, the -# taskmanager will make sure the stage4 folder is properly created on the share. We need to cope -# with the use of internal store and since we cannot differentiate that case from an unmounted -# network share, we simply always create it and check the group ownership & permissions. -if ! mkdir -p "${PATH_SLXSTORE}/stage4"; then - pwarning "Could not create 'stage4' directory in ${PATH_SLXSTORE}! Storage not writable!" -fi -find "${PATH_SLXSTORE}/stage4" -type d -exec chown dnbd3:dnbd3 {} \; 2>/dev/null -find "${PATH_SLXSTORE}/stage4" -type d -exec chmod ug+rwx {} \; 2>/dev/null - # ******************* dnbd3-server.service *************** if diffcp "dnbd3/dnbd3-server.service" "/etc/systemd/system/dnbd3-server.service"; then ln -n -s -f "../dnbd3-server.service" "/etc/systemd/system/multi-user.target.wants/dnbd3-server.service" |