Latest install curl lacks -f; HTTP error can install a broken hook #9
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eric/10-wancarp#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Low · Location: README line 170, script header line 98
The "Latest" install uses
curlwithout-f. An HTTP 404 or 500 writes the error body into/usr/local/etc/rc.syshook.d/carp/10-wancarp. Afterchmod, that file is a broken hook and failover stops with no obvious sign.The pinned-release path is safe, because a bad download fails
sha256sum -c.Suggested fix: use
curl -fsSL ... -o ...in both places.