From 2bc689009aa7f80bfee97b017105129466e14290 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 25 Feb 2020 11:45:13 +0100 Subject: [SSUS] Remove stage4 patch chmod/chown Will happen in mount script --- satellit_upgrader/updater.template.sh | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'satellit_upgrader/updater.template.sh') 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" -- cgit v1.2.3-55-g7522