[Bug 295037] sysutils/iocage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 May 2026 19:19:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295037
Bug ID: 295037
Summary: sysutils/iocage
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: grembo@FreeBSD.org
Reporter: echoxxzz@gmail.com
Flags: maintainer-feedback?(grembo@FreeBSD.org)
Assignee: grembo@FreeBSD.org
Created attachment 270442
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270442&action=edit
Patch file to change the host that iocage downloads freebsd-update.sh shell
script from.
iocage is using the urllib.request Python library. This library has known
issues with websites that use anti-bot checks. The iocage update command fails
when it tries to download freebsd-update.sh shell script from cgit.FreeBSD.org
because of the Anubis anti-bot checker.
Instead of downloading the shell script, it creates an HTML file for the Anubis
anti-bot page. This causes iocage to break when it attempts to use the
downloaded file to complete the jail update.
Propose using GitHub mirror instead. After 1000+ tests, it has not failed once
as it does not have an anti-bot frontend, or at least not one that affects the
urllib.request Python library.
A patch is included with this ticket that changes the host iocage downloads
from:
https://cgit.FreeBSD.org/src/plain
to,
https://raw.githubusercontent.com/freebsd/freebsd-src/refs/heads/main
Further info about this bug can be found on the FreeBSD Forums at:
https://forums.freebsd.org/threads/can-no-longer-update-jails-using-iocage.102599/
--
You are receiving this mail because:
You are the assignee for the bug.