diff --git a/src/fromager/__main__.py b/src/fromager/__main__.py index 2ac6f4b5..4f42f084 100644 --- a/src/fromager/__main__.py +++ b/src/fromager/__main__.py @@ -262,7 +262,15 @@ def main( hooks.log_hooks() if network_isolation and not SUPPORTS_NETWORK_ISOLATION: - ctx.fail(f"network isolation is not available: {NETWORK_ISOLATION_ERROR}") + # Some CI runners (for example Docker's default seccomp profile) + # block the unshare syscall, which made fromager fail at startup + # with no workaround. Warn and continue without isolation instead + # of blocking the build. + logger.warning( + "network isolation is not available: %s; continuing without it", + NETWORK_ISOLATION_ERROR, + ) + network_isolation = False wkctx = context.WorkContext( active_settings=packagesettings.Settings.from_files(