summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
authorSimon Rettberg2020-02-25 11:45:13 +0100
committerSimon Rettberg2020-02-25 11:45:13 +0100
commit2bc689009aa7f80bfee97b017105129466e14290 (patch)
tree19590a8fff5149d410761a1b1fb13e9c8ee9e8e5 /satellit_upgrader
parent[SSUS] Ask to switch to ipxe if ipxelinux is still enabled (diff)
downloadsetup-scripts-2bc689009aa7f80bfee97b017105129466e14290.tar.gz
setup-scripts-2bc689009aa7f80bfee97b017105129466e14290.tar.xz
setup-scripts-2bc689009aa7f80bfee97b017105129466e14290.zip
[SSUS] Remove stage4 patch chmod/chown
Will happen in mount script
Diffstat (limited to 'satellit_upgrader')
-rw-r--r--satellit_upgrader/updater.template.sh12
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"