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 1QpnKU-0004Zk-Jd for garchives@archives.gentoo.org; Sat, 06 Aug 2011 20:18:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C9DE21C156; Sat, 6 Aug 2011 20:18:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9F81021C124 for ; Sat, 6 Aug 2011 20:16:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0161A1B4023 for ; Sat, 6 Aug 2011 20:16:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.988 X-Spam-Level: X-Spam-Status: No, score=-2.988 required=5.5 tests=[AWL=-0.389, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c-Ft5pkaxrqX for ; Sat, 6 Aug 2011 20:16:48 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 6755F1B400B for ; Sat, 6 Aug 2011 20:16:46 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QpnIa-0007Gr-Jx for gentoo-user@gentoo.org; Sat, 06 Aug 2011 22:16:44 +0200 Received: from adsl-69-234-178-254.dsl.irvnca.pacbell.net ([69.234.178.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Aug 2011 22:16:44 +0200 Received: from w41ter by adsl-69-234-178-254.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Aug 2011 22:16:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: Redirecting emerge.log to pipe: "emergelog(): [Errno 29] Illegal seek" Date: Sat, 06 Aug 2011 13:16:30 -0700 Message-ID: References: <4E3D9612.5000800@gmail.com> 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=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-178-254.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110705 Thunderbird/5.0 In-Reply-To: <4E3D9612.5000800@gmail.com> X-Archives-Salt: X-Archives-Hash: 85d60b6fcc65e774a1a1b6477feebbcd On 08/06/2011 12:29 PM, Jarry wrote: > Hi, > I'm trying to redirect /var/log/emerge.log to pipe. > I removed original log-file and created pipe with the same > name & permissions, but potrage does not write logs there. > Instead, it just issues message: > > emergelog(): [Errno 29] Illegal seek > > Where is the problem? Is it actually possible to redirect > emerge-logs to pipes (or syslog)? Hi Jarry, #grep LOG /etc/make.conf # PORT_LOGDIR is the location where portage will store all the logs it #PORT_LOGDIR=/var/log/portage If that doesn't solve your problem, then you may need to explain the problem you're trying to solve. (I'm always annoyed when I'm forced to change the question instead of getting the answer :)