Compare commits
No commits in common. "b83b647d1683df3083d015ec1f79dfbe00e9348e" and "8716ac42f3a1476f1a269e0861aedaa72821b394" have entirely different histories.
b83b647d16
...
8716ac42f3
@ -26,7 +26,6 @@ source_scripts=(
|
|||||||
"source/files/arrays/files_source.sh"
|
"source/files/arrays/files_source.sh"
|
||||||
"source/files/arrays/files_ssh.sh"
|
"source/files/arrays/files_ssh.sh"
|
||||||
"source/files/arrays/files_start.sh"
|
"source/files/arrays/files_start.sh"
|
||||||
"source/files/arrays/files_task.sh"
|
|
||||||
"source/files/arrays/files_update.sh"
|
"source/files/arrays/files_update.sh"
|
||||||
"source/files/arrays/files_webui.sh"
|
"source/files/arrays/files_webui.sh"
|
||||||
"source/files/arrays/function_manifest.sh"
|
"source/files/arrays/function_manifest.sh"
|
||||||
|
|||||||
@ -157,13 +157,6 @@ setupTaskDir() {
|
|||||||
# it. Create-if-absent to keep a stable inode for flock across restarts.
|
# it. Create-if-absent to keep a stable inode for flock across restarts.
|
||||||
[[ -e "$LOCK_FILE" ]] || runFileOp install -m 666 /dev/null "$LOCK_FILE" 2>/dev/null
|
[[ -e "$LOCK_FILE" ]] || runFileOp install -m 666 /dev/null "$LOCK_FILE" 2>/dev/null
|
||||||
runFileOp chmod 666 "$LOCK_FILE" 2>/dev/null
|
runFileOp chmod 666 "$LOCK_FILE" 2>/dev/null
|
||||||
# Same story for the regen-poll throttle stamp: pre-create it world-writable so
|
|
||||||
# maybeRegenPoll's `: > "$REGEN_POLL_STAMP"` truncate (run as the manager) lands
|
|
||||||
# instead of EACCES'ing in this docker-install-owned dir. Without it the stamp
|
|
||||||
# never updates, the throttle reads last=0 forever, and `regen webui` fires on
|
|
||||||
# every idle poll instead of once per REGEN_POLL_INTERVAL.
|
|
||||||
[[ -e "$REGEN_POLL_STAMP" ]] || runFileOp install -m 666 /dev/null "$REGEN_POLL_STAMP" 2>/dev/null
|
|
||||||
runFileOp chmod 666 "$REGEN_POLL_STAMP" 2>/dev/null
|
|
||||||
# Establish ownership via the root-owned helper: the unprivileged dir owner
|
# Establish ownership via the root-owned helper: the unprivileged dir owner
|
||||||
# can't reclaim files an earlier run left root/manager-owned (e.g. a root-owned
|
# can't reclaim files an earlier run left root/manager-owned (e.g. a root-owned
|
||||||
# task_processor.log), which would then block the daemon's log appends.
|
# task_processor.log), which would then block the daemon's log appends.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user