From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EprRK-0002tm-Tf for garchives@archives.gentoo.org; Fri, 23 Dec 2005 18:14:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBNICUmu019991; Fri, 23 Dec 2005 18:12:30 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBNI8pTK001070 for ; Fri, 23 Dec 2005 18:08:52 GMT Received: from zb101200.ppp.dion.ne.jp ([219.125.101.200] helo=opteron246.suzuki-stubbs.home) by smtp.gentoo.org with esmtpa (Exim 4.54) id 1EprLX-0006rT-8z for gentoo-dev@lists.gentoo.org; Fri, 23 Dec 2005 18:08:51 +0000 Received: by opteron246.suzuki-stubbs.home (Postfix, from userid 1000) id 3180D201950; Sat, 24 Dec 2005 03:09:47 +0900 (JST) From: Jason Stubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] pkg_{pre,post}inst misusage Date: Sat, 24 Dec 2005 03:09:47 +0900 User-Agent: KMail/1.9 References: <200512231910.56795.jstubbs@gentoo.org> <200512240222.06574.jstubbs@gentoo.org> <20051223175251.GA13873@gentoo.org> In-Reply-To: <20051223175251.GA13873@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Message-Id: <200512240309.47085.jstubbs@gentoo.org> X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jBNI8pTK001070 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id jBNICUoY019991 X-Archives-Salt: 76788656-18f5-4c63-b23f-3a843014df9e X-Archives-Hash: 7f5ba9fe0dba964842b93f00ee277995 On Saturday 24 December 2005 02:52, Harald van D=C4=B3k wrote: > On Sat, Dec 24, 2005 at 02:22:06AM +0900, Jason Stubbs wrote: > > Symlinks are handled within portage differently to regular files. Reg= ular > > files get an mtime check and are removed if it matches. Symlinks don'= t > > get an mtime check (even thought the mtime is stored) and are only > > removed if the symlink's target doesn't exist. Hence, it seems to be = this > > way by design. Why it's this way? Who knows. It's been that way for > > longer than anyone can remember which is why _it's so important that = bugs > > get filed_. > > Honestly, I thought it was supposed to be like that, since > collision-protect also doesn't protect against packages overwriting > each other's symlinks (package A and package B can both create > /dummy -> bin without any problems from portage). As far as portage source goes, it is meant to be like that. But as far as= =20 portage source goes, installed package information isn't necessary for de= p=20 calculation (including depclean)... Most code has been reviewed and the m= ajor=20 issues are known by at least one person, but there is still some code tha= t=20 hasn't suffered a close examination (yet alone reworking) such as the cod= e=20 that the above bug hits. > Do you want a bug report for that? Yes, please. -- Jason Stubbs --=20 gentoo-dev@gentoo.org mailing list