From owner-freebsd-bugs Wed Aug 16 5:10:11 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EF9D237BF48 for ; Wed, 16 Aug 2000 05:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA29799; Wed, 16 Aug 2000 05:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from sentinel.office1.bg (sentinel.office1.bg [195.24.48.182]) by hub.freebsd.org (Postfix) with SMTP id 500E437B516 for ; Wed, 16 Aug 2000 05:09:37 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 405 invoked by uid 1001); 16 Aug 2000 09:51:05 -0000 Message-Id: <20000816095105.404.qmail@ringwraith.office1> Date: 16 Aug 2000 09:51:05 -0000 From: Peter Pentchev Reply-To: Peter Pentchev To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/20643: /usr/bin/kzip is obsolete; remove it? Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20643 >Category: bin >Synopsis: /usr/bin/kzip is obsolete; remove it? >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 16 05:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Peter Pentchev >Release: FreeBSD 4.1-STABLE i386 >Organization: Orbitel JSCo >Environment: RELENG_4; in fact, any 4.x FreeBSD system, unsure about recent 3.x >Description: In an ELF-based, ELF-kernel FreeBSD 4.x system, /usr/bin/kzip cannot do anything meaningful, ever - AFAICS, it only works on a.out kernels. We have /usr/sbin/kgzip now, which does the right thing. I have classed this PR as a sw-bug, because there is a program in the tree which absolutely fails to fulfill its purpose. (My sincere apologies and thanks to phk - kzip worked perfectly fine in the a.out days :) >How-To-Repeat: [root@ringwraith ~]# kzip /kernel real kernel start address will be: 0x1 real kernel end address will be: 0x6eaac68a kzip: bad magic in file /kernel, probably not a kernel kzip: extract returned 200 [root@ringwraith ~]# ..as opposed to.. [root@ringwraith ~]# kgzip /kernel [root@ringwraith ~]# >Fix: One of the following: - remove /usr/bin/kzip from the build tree (possibly symlink /usr/sbin/kgzip to it); or - add a big red-letter warning to kzip's manpage that it cannot process ELF kernels; and/or - add a reference to kgzip in kzip's manpage. (Sorry, my knowledge of troff is VERY poor, or I would have included patches for the latter two options.) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message