From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2C0181381F3 for ; Wed, 22 May 2013 23:38:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8B64E0878; Wed, 22 May 2013 23:38:23 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id D2B16E085E for ; Wed, 22 May 2013 23:38:22 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsr+Yy/2dsb2JhbABEvw4Xc4IeAQEEATocKAsLIRMSDwUlN4gLBgzBHQSNYYJIYQONfogOhX6IcIFegxM X-IPAS-Result: Av4EABK/CFFsr+Yy/2dsb2JhbABEvw4Xc4IeAQEEATocKAsLIRMSDwUlN4gLBgzBHQSNYYJIYQONfogOhX6IcIFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="14165989" Received: from 108-175-230-50.dsl.teksavvy.com (HELO waltdnes.org) ([108.175.230.50]) by ironport2-out.teksavvy.com with SMTP; 22 May 2013 19:38:13 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Wed, 22 May 2013 19:38:17 -0400 From: "Walter Dnes" Date: Wed, 22 May 2013 19:38:17 -0400 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Making systemd more accessible to "normal" users Message-ID: <20130522233817.GA2147@waltdnes.org> References: <5198CCA9.8020501@gmail.com> <201305191523.59060.dilfridge@gentoo.org> <20130519143421.15214.qmail@stuge.se> <519AE3E6.2070001@gmx.com> <519B1C5A.6080900@gmail.com> <519CE284.9000203@gentoo.org> <519D1180.9000307@gentoo.org> 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <519D1180.9000307@gentoo.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 82f87109-5e7b-453d-a8ec-0e8e8b43bac0 X-Archives-Hash: b00f70d954a66c2f3f56a2b088aa47aa On Wed, May 22, 2013 at 11:42:08AM -0700, Zac Medico wrote > It will require portage to be able to predict where the units are > installed, and also be able to avoid accidentally wiping out anything > else that may be installed nearby. The prediction issue also comes up in > this bug which requests a 'dounit' ebuild helper: > > https://bugs.gentoo.org/show_bug.cgi?id=469086 > > Maybe the package manager should query the unit location from pkg-config? I think this is the wrong algorithm... i.e. asking where files of type "X" are installed, and wreaking havoc in in that location. I think that it would be more robust for the installer to decide which files are of type "X", and not install them in the first place. This approach does not risk wiping files from another program in the same directory. And preventative action is generally better than cleaning up after the fact. -- Walter Dnes I don't run "desktop environments"; I run useful applications