From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1F231382C5 for ; Thu, 29 Mar 2018 14:48:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CFE8E08C9; Thu, 29 Mar 2018 14:47:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE35EE087E for ; Thu, 29 Mar 2018 14:47:57 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 8F34E335CE7; Thu, 29 Mar 2018 14:47:55 +0000 (UTC) Message-ID: <1522334871.1006.23.camel@gentoo.org> Subject: Re: [gentoo-dev] rfc: empty directories in ${D} From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Thu, 29 Mar 2018 16:47:51 +0200 In-Reply-To: <20180329143952.GA10523@linux1.home> References: <20180329143952.GA10523@linux1.home> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: ee299ca4-d156-4e7f-b9f0-547a8282b43e X-Archives-Hash: 3d8c27b8e3df67a12f6ddec7ee6b4c3e W dniu czw, 29.03.2018 o godzinie 09∶39 -0500, użytkownik William Hubbs napisał: > All, > > I just happened to notice the following warning from portage when > bumping dhcpcd. > > > One or more empty directories installed to /var: > > /var/lib/dhcpcd > > If those directories need to be preserved, please make sure to create > > or mark them for keeping using 'keepdir'. Future versions of Portage > > will strip empty directories from installation image. > > If we are going to require emptty directories to be marked with > keepdir, I think we should hard fail the emerge rather than quietly > strip the empty directories. If we just strip the directories, this > will, more than likely, lead to broken packages. In the case of dhcpcd, > the upstream build system installs the /var/lib/dhcpcd directory, then > dhcpcd writes to the directory. > Are you saying that dozens of packages should suddenly start failing for users so that developers would feel more obliged to fix them? Provided that the packages are still maintained, and it won't be 'hey, we just made it impossible to install this package, maybe someone will fix it one day'. -- Best regards, Michał Górny