From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PJAxp-00079f-9r for garchives@archives.gentoo.org; Thu, 18 Nov 2010 20:20:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06E3FE063F; Thu, 18 Nov 2010 20:19:46 +0000 (UTC) Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com [209.85.215.53]) by pigeon.gentoo.org (Postfix) with ESMTP id BA4DBE063F for ; Thu, 18 Nov 2010 20:19:45 +0000 (UTC) Received: by ewy6 with SMTP id 6so46443ewy.40 for ; Thu, 18 Nov 2010 12:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=fbWfxIhkOCGagDeorpalOd2MF3wGcp3O3B1Xe34+dgs=; b=MMgd0byeJKr7Ot0bFAAKwrgEgMuAzQ0euRBlNhQFBAUWcCIo31fzd0y1/bR7vTiLEW 41XUktMQptnPPBO0zZ0IYP/BRKSPv0Od75dpYdNYxPyIZElyXZj4F64oGABh/wwJcG2q 8IBC2AL14yuPaXq8squArsPeE/YcSmsJR03c0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=hdHH159je2QG6gsnSd0090qwXGgW5TF0VyskjdIjmD8rJbnMaRahaY1qCbto3jXi7U +GsnpTWAZR0hQgzBwVyD3RQ4XJGPK7ULIpG9gXGFO1Kjg+Txwo2m2SNyhyBVnY0cj5Am bfFJZy/WsGdiKigHtsSsbDLTFJiIXS2BFXVqI= Received: by 10.14.119.205 with SMTP id n53mr694752eeh.37.1290111585052; Thu, 18 Nov 2010 12:19:45 -0800 (PST) Received: from nazgul.localnet (196-210-238-14.dynamic.isadsl.co.za [196.210.238.14]) by mx.google.com with ESMTPS id x54sm727820eeh.11.2010.11.18.12.19.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Nov 2010 12:19:44 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /etc/portage/package.use/java Date: Thu, 18 Nov 2010 22:20:10 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.36-ck; KDE/4.5.3; x86_64; ; ) References: <4CE54BAA.4070209@kutulu.org> <201011182040.23043.alan.mckinnon@gmail.com> <4CE58059.4090500@kutulu.org> In-Reply-To: <4CE58059.4090500@kutulu.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011182220.10955.alan.mckinnon@gmail.com> X-Archives-Salt: 4f51ec7d-3142-46fc-ba0c-d7fdc3a041cc X-Archives-Hash: 2a239559f568ad1269216195ec3b868c Apparently, though unproven, at 21:36 on Thursday 18 November 2010, Mike Edenfield did opine thusly: > On 11/18/2010 1:40 PM, Alan McKinnon wrote: > > Apparently, though unproven, at 17:52 on Thursday 18 November 2010, Mike > > > > Edenfield did opine thusly: > >> Is there something special about the file name > >> /etc/portage/package.use/java ? For some reason, if I create this file > >> to hold USE flags for my java packages, bash tries to source it when I > >> log in. As far as I can tell this is the only filename that gets this > > > >> wierd treatment: > > grep -r is your friend here. Most likely it happened when you typed an > > "echo > file" type command sometime and botched the redirectors > > Huh. Found it, but now I'm even more confused than before: > > platypus ~ # ls -alF /etc/bash_completion.d/java > lrwxrwxrwx 1 root root 30 Nov 16 08:18 /etc/bash_completion.d/java -> > //etc/portage/package.use/java > > I'm pretty sure I didn't actually make that softlink myself, and I have > no idea where it came from: > > platypus ~ # equery belongs /etc/bash_completion.d/java > * Searching for /etc/bash_completion.d/java ... > platypus ~ # Maybe you had the bad luck to install an awesomely dodgy ebuild. Here's what it should be: # ls -al /etc/bash_completion.d/java lrwxrwxrwx 1 root root 31 Oct 27 03:08 /etc/bash_completion.d/java -> /usr/share/bash-completion/java You can either just fix the symlink, or remerge bash-completion. I'd also check /etc/bash_completion.d/ for any more dodgy symlinks -- alan dot mckinnon at gmail dot com