From owner-freebsd-ports@freebsd.org Wed Apr 29 18:17:59 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E73A2BDE02 for ; Wed, 29 Apr 2020 18:17:59 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [88.198.69.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.burggraben.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49C6FL11rZz4bmf; Wed, 29 Apr 2020 18:17:57 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS id AA137C0030B; Wed, 29 Apr 2020 20:17:55 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id 52515139893; Wed, 29 Apr 2020 20:17:55 +0200 (CEST) Date: Wed, 29 Apr 2020 20:17:55 +0200 From: Christoph Moench-Tegeder To: FreeBSD Ports Cc: samm@freebsd.org Subject: Re: smartmontools and update-smart-drivedb Message-ID: <20200429181755.GA2481@elch.exwg.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.13.5 (2020-03-28) X-Rspamd-Queue-Id: 49C6FL11rZz4bmf X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of cmt@burggraben.net designates 88.198.69.140 as permitted sender) smtp.mailfrom=cmt@burggraben.net X-Spamd-Result: default: False [-3.85 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.198.69.140]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[burggraben.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-1.55)[ip: (-9.60), ipnet: 88.198.0.0/16(3.44), asn: 24940(-1.55), country: DE(-0.02)]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[140.69.198.88.list.dnswl.org : 127.0.6.0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.198.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2020 18:17:59 -0000 ## Carmel NY (carmel_ny@outlook.com): > 1) Why is the "update" procedure deliberately removed from the port? The svn history does mention it: https://svnweb.freebsd.org/ports?view=revision&revision=527607 "Remove drivedb update binary as it will modify tracked files" A port has no business modifying itself once installed - if installed files have to be updated at runtime, these files should live in /var/db/. An acceptable solution in this case would be moving that drive db to /var/db/smartmontools/ (or similar). When I start thinking about that... perhaps the original (shipped) drive db should be kept as a fallback, in case the user did not download (or delete) the updateable drive db: I haven't seen any complaints about missing drive db updates until now, which makes me suspect that for most people (me included) the shipped drive db is "good enough" and few people ever tried to update the drive db at all. Regards, Christoph -- Spare Space