From nobody Sun Sep 4 19:52:25 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MLMkK3MHfz4bQDn for ; Sun, 4 Sep 2022 19:52:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MLMkJ6ryZz3GPQ for ; Sun, 4 Sep 2022 19:52:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MLMkJ5vskzbd4 for ; Sun, 4 Sep 2022 19:52:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 284JqOPb005979 for ; Sun, 4 Sep 2022 19:52:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 284JqOaG005978 for bugs@FreeBSD.org; Sun, 4 Sep 2022 19:52:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266224] Could some sort of file transfer program be put in /rescue? Date: Sun, 04 Sep 2022 19:52:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@gushi.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662321145; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Sh8Ie16+h2Ez1N4XjlHG7W3pq6h+as4bY5gd2AV6cuY=; b=SRGDBUIjeiYrTVYy2MYGE+pb89z+HxoaWBOW/t62JH1TeLNbHjljq8RN6oDAr9uUydiull K0SrmeoLtQUpex2UcgODU0wy4bkXNXldb7EZ3ARv7tesc6tsbJd3rTM5k/Vy3Z0vfg0Wxf m8Cr4Wa061iKGC6RuGcRzOZ9h7rd7es7Vu1gg4NEUj0W8qvgweqL2RQ4XQ+q55DJF7qYW0 LcXLCdzM20E5yAhsz19dKLA7gkX/syO+HN7q6EJYRbzkfxogXCYnjI3s4r5dr6USjvJmFy oIookC53mLapue8YeWrn0yIrZUDiXwWedzDgzFxoYfAW3MxCVUKT04k1rWBqSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662321145; a=rsa-sha256; cv=none; b=b8yNwJUzceekRZAVOwpDkkMGs6WEBhWFEdTtqHjLXpykuGlx+eB+Y/TvBXT+CGtKAFC99a weIrWuqVFektz4+K4YNMKu31gb0TEeGGKXGXPHWDX095YBaNIoRlLgANP02qmSFODI+2qF kbZjTe2WmjQ0opJ97gFxlQ6d+o97vBFQscnBMFtOiwhAfSbzuhE9j2124CXNdn1AfvFJbX EuffpPByjXZa0hGU7RIfcY7z/txOYSK+ClIyTmNevXharHSIDhn/7UtWdgzsDNvKr/p96d KNAlvQHPgJBKDKTtFyfGR9q7IRVH1msrC2oF2yUajTOzxqL73Y/z6H5+iGFRAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266224 Bug ID: 266224 Summary: Could some sort of file transfer program be put in /rescue? Product: Base System Version: 12.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: freebsd@gushi.org Hey there, I run a network of DNS servers, out there in cold unforgiving data centers = in places in the world where remote hands are hard to come by and the only connectivity you get sometimes is a serial console. Often you'll get cluef= ul techs who will reboot a machine for you but not much more. Numerous times, I've been bitten by freebsd-update segfaulting and leaving = me with an unusable system that won't survive a reboot (either because of a failure to replace ld.so or because of a full /var or / or other partition). At that point you're logged in to a system over ssh, you cannot ssh in a se= cond time, and you need to recover the system quickly. The only real fix is to copy binaries (or a base.txz) from another machine using the statically linked binaries in /rescue. And other than nc (which works, but has no progress indicator and no real checks), there's no easy w= ay to get files onto and off a system. I get it, scp and ssh have heavy crypto overhead, as does fetch at this poi= nt, but a fetch-lite that only spoke HTTP and FTP would be super useful, as wou= ld a copy of old school ftp. Or, you know, maybe just a statically linked scp/s= sh *is* the right answer here. (Busybox is a cool idea but it has the GPL iss= ue). There's no patch for this, it's more an enhancement request. --=20 You are receiving this mail because: You are the assignee for the bug.=