From owner-freebsd-stable@freebsd.org Fri Feb 1 23:35:26 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7399C14C4BDA for ; Fri, 1 Feb 2019 23:35:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C6B5888AA for ; Fri, 1 Feb 2019 23:35:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x743.google.com with SMTP id o125so5212439qkf.3 for ; Fri, 01 Feb 2019 15:35:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jYLI9cWIv4kO1R4XUSiBzgvzgpu76owrxnuAfM/1rZ0=; b=zxIEvrkca6PEUA83FrXXyliTb/sHu/pmVRmLYVdDELM+iiRJJ8DPHVB9XImO9j9eSm Rimsz5vwlxlsfOoVvpbQhILjzTZMKVm4oa52vKfW0qLrmpwGHQufe6ixFqQbMfzjLVT7 1orpkwo3vzb9ylPnu/mJpIeWGtUuyifXuVM6wHAA4jlB3Bey+WlmCi8jwWy58MM8bZlj Iz2takcn6j3I/2MHk7bVDLYKSDeq0aLvTBYRlzpXVHVx07HeISEZ2owvUDL31XQTiobH Yl9+yqTdhxfCb6/0+VGotyhf6uxdV+xR/Q//Sj8DeS4wl+SDLwimHg26/6+17NRAVy2v 51rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jYLI9cWIv4kO1R4XUSiBzgvzgpu76owrxnuAfM/1rZ0=; b=Yr+H0rxXwKwF1eR1BeScAZTwlAJDWYXKBPFSOw3yhquqs+JIqF6/A9sRPkS3/yXLke pOVmTNzg5bejLUp8h39nDd8cK9t4NoW95jjTAqBD6HoETJKZRzwhCqCj8DlrmgspQ1sP A5/9ieJn7T3ZVIar53CqYwKFvtac6gtAgwX8Z6yxlVt75fwXigvCHzgPmt7chC/HJU7d MVHpR3FckBDOykMLLRUsXzWwiHhHniXC5VI+YIkgXgMlxiPuIbSHQmLjXggCFh3igNfv ezYwXUgbw03HsvRPEyqMqXp0BJomJhxwUEChUvjkeUJjTuQQzjh2DvGjdEbf7hKmvCri qq1A== X-Gm-Message-State: AJcUukcgAN/62nvQTtSt/ZY9N1v7gahfOezKHhdKgTuds/aEXJl5fCPQ Z/QKRaoP+jy0MQDJBCn9zYY5zMyyX53aHrFpBGyRMsEP X-Google-Smtp-Source: ALg8bN7s+siMobTWf7dhKtW0BPODUcbwRXd1lVxtvTCCM5zk7HCRuWHq2WOS1EaukfXS3FT2H1itqGZJCIOt6AbBp2o= X-Received: by 2002:a37:c653:: with SMTP id b80mr39155975qkj.245.1549064124639; Fri, 01 Feb 2019 15:35:24 -0800 (PST) MIME-Version: 1.0 References: <5C53E4FE.1010501@grosbein.net> In-Reply-To: <5C53E4FE.1010501@grosbein.net> From: Warner Losh Date: Fri, 1 Feb 2019 16:35:13 -0700 Message-ID: Subject: Re: Status of libarchive/bsdtar maintainership To: Eugene Grosbein , mm@freebsd.org Cc: FreeBSD-STABLE Mailing List X-Rspamd-Queue-Id: 4C6B5888AA X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=zxIEvrkc X-Spamd-Result: default: False [-0.82 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.51)[-0.514,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.78)[-0.776,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_SPAM_SHORT(0.52)[0.517,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[3.4.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; IP_SCORE(-0.04)[ip: (4.21), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-1.92), country: US(-0.07)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 23:35:26 -0000 On Thu, Jan 31, 2019 at 11:19 PM Eugene Grosbein wrote: > On 01.02.2019 11:10, Warner Losh wrote: > > > On Thu, Jan 31, 2019, 8:22 PM Eugene Grosbein wrote: > > > > Hi! > > > > I wonder what is status of our contrib/libarchive and bsdtar/bsdcpio > etc. in modern versions of FreeBSD > > in a sense of serious bug fixing. Long story short: I faced a bug in > the libarchive bundled with 11.2 > > that makes it impossible to create reliable backups of live file > system or its subtree > > using cron+bsdtar utility that delegate actial work to the > libarchive that just aborts > > if a file disappears (is removed) in process (GNU tar continues with > just warning). > > > > This is serious issue for me as I used 'tar' command to make backups > for distinct subtrees > > since FreeBSD 6.x and when my GPS+ntpd subsystem went insane and > shifted system clock to 3 years > > in the future, I lost data in several thousands of RRD databases and > looked for backups to restore them > > and found only small portion of databases in the tar instead of full > backup. > > > > I've create the PR > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233006 and later > attached a patch > > solving the problem in same way as GNU tar deals with it. > > > > Martin Matuska (mm) asked me to create an issue at GitHub for > libarchive. > > I have no GitHub account nor I need one, and he was so kind and > created it himself: > > https://github.com/libarchive/libarchive/issues/1082 > > > > Almost 3 months have passed and no response from upstream. > > Should we go ahead and fix it despite of it is part of contrib? > > > > > > If you fix it, protocol is to submit it upstream first. > > That was done 3 months ago. > I see the problem report in the github, but no pull request. Did I miss it? > > It causes fewer problems in the long run. While it is tempting to just > fix it in FreeBSD and move on, > > almost every time we've done that in the past someone else has had to > come in and fix the mess. > > > > Do you have a fix? Can you put it up for review somewhere? > > It is attached to mentioned PR: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233006#c6 Did you submit it as a pull request? That seems to be how this upstream takes in code. > We are no where near a release, so there is no reason to rush this in. > > I waited for almost 3 months already. It seems, there would be no response > at all. > They didn't fix it in 3 months, sure. But it wasn't clear from the issue that you had an actual fix (I certainly missed that the first time through when I only looked at the github and not at our bug database). I'd try submitting a pull request and see what happens. I'd also send an email to mm@ telling him about the pull request and asking when he'll have time to look into integrating it or commenting on it. If he won't have time to get to it soon, I'd make the commit referencing the upstream pull request so the next person who imports things will notice if they tweak it before accepting the request. Warner