From owner-freebsd-questions@FreeBSD.ORG Sun May 17 01:44:50 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7616DC83 for ; Sun, 17 May 2015 01:44:50 +0000 (UTC) Received: from nm19-vm3.access.bullet.mail.gq1.yahoo.com (nm19-vm3.access.bullet.mail.gq1.yahoo.com [216.39.63.77]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 351EF1E53 for ; Sun, 17 May 2015 01:44:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1431826943; bh=aXNERrx2YjyzI82PrZ4c26v/p3daet+4js4UX2ycJ/g=; h=From:To:Subject:Date:From:Subject; b=cA7RK7W3Qu4nM508IXAv3as4a9jbQrx04Nr32wRoL0wfZvKCQrzbtnuPiQc6f4+9WKPpygGraRNiA9bVa+kZtUIvJqICM/5kGJSBI8eDFd136aLqsYdjS19KJCwx3bRypFmYzhK1YwPDyCZBAa/8+1Ci0uHCUPx4V/vR6r2xemdRO1MCXUXV2PeFl8YdABOJ6aKip7tiIVuCVD6vlpIWp4BtinD+Yulol6MJym/BnLcCrTGyRrgUYH9SUr4bexTmuFwUxJfDBfa0OoiZAfGqGWoizLlqflkiuAqLYtECuUrvp62IFKxVm1U5PJ19kXxXfdW+rUT9uqpdkNkOaDu8hQ== Received: from [216.39.60.173] by nm19.access.bullet.mail.gq1.yahoo.com with NNFMP; 17 May 2015 01:42:23 -0000 Received: from [67.195.22.119] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 17 May 2015 01:42:23 -0000 Received: from [127.0.0.1] by smtp114.sbc.mail.gq1.yahoo.com with NNFMP; 17 May 2015 01:42:23 -0000 X-Yahoo-Newman-Id: 175889.55797.bm@smtp114.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 5W89Ze0VM1nT_Ab9xj4eG_cRRXTt.UX.KY7DlRY4niWb65a bupYQ2NBP_LhsqKz.dVQ0wQLvfGXGDEVvU7iJQOdW9OMt6P.qdyWqajiasdw P9HyPURRCPKmh9KGlqt90kIyp3U4yw3qqBRa4ATbOGyxJnGWArQd5xdwpiAu 3zohFVFDLkmwg.GSDCpaWYsLBneuEctgOgbLkt5aWtB00aIhWP.qia2nHKfp wo6g8nKV.JzQcF4eIeanBVUImHEkgTS8r0ChFsMBRX04MKqpEj7iJbfi9S0s xndg_r000FcQSaoEjb6alNWzEMb1iz4skQ4cBeDyAJEbIgp.iqA0TbwgnjQk cdM1.vkBfBVvQfqmOTyMP5.laoCvNo9rv_gZWap25BP2n.fUlnpm8kh3E8GC xfvE0QnViQuxfm3MAWIQIJJ8xOYXTBtsgv2.dT2RuPYVikZPbuX6uDbT8iye a52yJy_trqH1yPMPwSGJHoiJb9nDYPAGgj5_buBQw0jcWet6EG69vY5yP37Q .OVlm6nylbjmImQbibM9NxoGlU2Nu5KQQIRoXibsZGoeIeeTS X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: <98CE1D49-95FD-486E-841E-CF8DFC1168EA@prodigy.net> From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Which make? Date: Sat, 16 May 2015 18:42:22 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 01:44:50 -0000 I need to compile and install freetype (v 2.4.0) as extension to php and the INSTALL.UNIX file in the freetype tar ball states that GNU make must be used exclusively. Is that included in FreeBSD 10.x? Or is that something I have to add? The instructions specify that if I run make -v I will get the version of GNU make. What I got was lecture about usage of make that implied that -v was not a valid argument. So I presume that GNU make is not present. [right?] Sorry, I hope you will have some patience. I also installed zlib and then went to see if it already exists. Now I don't know if find / zlib* found what is already there AND what I installed, or if it just found what I installed. The output from find does not have full path for listings that matched (or am I ignorant and don't know how to figure it out?) I will get this done, eventually. Thanks for time and attention JK From owner-freebsd-questions@FreeBSD.ORG Sun May 17 02:23:49 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78BFCF78 for ; Sun, 17 May 2015 02:23:49 +0000 (UTC) Received: from miucha.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "miucha.iecc.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B89011D0 for ; Sun, 17 May 2015 02:23:48 +0000 (UTC) Received: (qmail 61834 invoked from network); 17 May 2015 02:23:51 -0000 Received: from unknown (64.57.183.18) by mail1.iecc.com with QMQP; 17 May 2015 02:23:51 -0000 Date: 17 May 2015 02:23:24 -0000 Message-ID: <20150517022324.31995.qmail@ary.lan> From: "John Levine" To: freebsd-questions@freebsd.org Cc: jekillen@prodigy.net Subject: Re: Which make? In-Reply-To: <98CE1D49-95FD-486E-841E-CF8DFC1168EA@prodigy.net> Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 02:23:49 -0000 In article <98CE1D49-95FD-486E-841E-CF8DFC1168EA@prodigy.net> you write: >I need to compile and install freetype (v 2.4.0) as extension to php >and the INSTALL.UNIX file in the freetype tar ball states >that GNU make must be used exclusively. > >Is that included in FreeBSD 10.x? Or is that >something I have to add? Use the port in /usr/ports/print/freetype It will install any prerequisites you don't already have. In most cases, installing the precompiled packgage with pkg add works just as well and is a lot faster. From owner-freebsd-questions@FreeBSD.ORG Sun May 17 05:43:05 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD145321 for ; Sun, 17 May 2015 05:43:05 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 552C114C1 for ; Sun, 17 May 2015 05:43:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t4H5gpsO099762; Sun, 17 May 2015 15:42:52 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 17 May 2015 15:42:51 +1000 (EST) From: Ian Smith To: Warren Block cc: Avinash Sonawane , freebsd-questions@freebsd.org Subject: Re: Swap partition for FreeBSD In-Reply-To: Message-ID: <20150517153738.E69409@sola.nimnet.asn.au> References: <20150517010804.E69409@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 05:43:06 -0000 On Sat, 16 May 2015 15:44:29 -0600, Warren Block wrote: > On Sun, 17 May 2015, Ian Smith wrote: > > > In freebsd-questions Digest, Vol 571, Issue 6 > > On Sat, 16 May 2015 15:16:56 +0530 Avinash Sonawane > > wrote: > > > > Avinash, I'm cutting various bits out of this digest, because I can :) > > > > In response to Matthew Seaman you wrote: > > > > > When I tried to delete the said partition from freebsd as `gpart > > > delete -i 2878773 ada0s4` it says "gpart: pre-check failed: Operation > > > > -i there shouldn't be a block number, from my reading of gpart(8) on > > 9.3, but I'm not sure how exactly delete ada0s6 should be crafted, if > > it's possible with your kernel as is (below). (yoo hoo, Warren!) > The -i value is the partition number from the list shown by 'gpart show > ada0s4'. I think it is in the third column. Thanks. > I admit to not having used extended DOS partitions from gpart, and in > fact until now had successfully suppressed the memory of their existence. Oh, sorry. You are getting sleepy .. very sleepy .. when you awake you will forget all about this rude interruption .. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sun May 17 12:16:26 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2910E8C3 for ; Sun, 17 May 2015 12:16:26 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E5E01911 for ; Sun, 17 May 2015 12:16:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t4HCGEa3013135; Sun, 17 May 2015 22:16:15 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 17 May 2015 22:16:14 +1000 (EST) From: Ian Smith To: freebsd-questions@freebsd.org cc: Trev Roydhouse Subject: Strange return codes from old but good C program Message-ID: <20150517204503.V69409@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 12:16:26 -0000 Hi, I'm hoping someone can help me figure out the behaviour of a C program executed repeatedly from a shell invoked by my freepascal program. If anyone might care to download (258071 bytes), unzip it and run 'make', the supplied makefile - a copy of unixl.mak - should provide ssystem compiled for long double precision maths, just as I wanted, with the following output from gcc from FreeBSD 4.5 to 9.3-RELEASE. (If clang has trouble on 10.X, please let me know) smithi@x200:~/de118i-2 % make gcc -O2 -c ssystem.c ssystem.c: In function 'resstate': ssystem.c:150: warning: incompatible implicit declaration of built-in function 'exit' ssystem.c: In function 'main': ssystem.c:180: warning: incompatible implicit declaration of built-in function 'malloc' ssystem.c:184: warning: incompatible implicit declaration of built-in function 'exit' ssystem.c:199: warning: incompatible implicit declaration of built-in function 'exit' ssystem.c:307: warning: incompatible implicit declaration of built-in function 'exit' gcc -O2 -c adams4.c gcc -O2 -c runge.c gcc -O2 -c aconst.c gcc -O2 -c oblate.c gcc -O2 -c precess.c gcc -O2 -c epsiln.c gcc -O2 -c nut1t.c gcc -O2 -c zatan2.c gcc -O2 -c rdnums.c rdnums.c: In function 'rdnums': rdnums.c:92: warning: incompatible implicit declaration of built-in function 'exit' rdnums.c:108: warning: incompatible implicit declaration of built-in function 'exit' gcc -O2 -c ieee.c gcc -O2 -c econst.c gcc -O2 -c mtherr.c mtherr.c: In function 'mtherr': mtherr.c:8: warning: incompatible implicit declaration of built-in function 'exit' gcc -O2 -c findcent.c gcc -O2 -c reltiv.c gcc -O2 -c jplmp.c gcc -O2 -c asinl.c gcc -O2 -c atanl.c gcc -O2 -c sinl.c gcc -O2 -c tanl.c gcc -O2 -c sqrtl.c gcc -O2 -c floorl.c gcc -O2 -c polevll.c gcc -O2 -o ssystem ssystem.o adams4.o runge.o aconst.o oblate.o precess.o epsiln.o nut1t.o zatan2.o rdnums.o ieee.o econst.o mtherr.o findcent.o reltiv.o jplmp.o asinl.o atanl.o sinl.o tanl.o sqrtl.o floorl.o polevll.o -lc -lm smithi@x200:~/de118i-2 % ssystem runs as well as ever, these warnings indicate no functional issues, but they do highlight the author's poor (but unsurprising in 1993, last updated 2004) choice of return codes both for real errors (malloc, file I/O, and maths div by zero, bad args for trig functions and such) which mostly exit(1) but some return 0 (!) - but when ending successfully it returns _usually_ 22, but sometimes 11, or 10, both seen so far, consistently when run with the same (different) parameters. What's worse is I can't figure out where in ssystem.c any return code might be set on completion of main(), which is just declared as: main() { and ends with the last of its results and (accuracy) errors printf()s: ii += 6; } #if FPESHOW # floating point debug, here set to 0 fperem(); #endif } /* end of main program */ No variables called rc or anysuch .. so what sets these odd retcodes? I'd be grateful for any clue. So far I assume any return code > 1 is success, so far so good - but it doesn't feel deterministic enough :) cheers, Ian (please cc me, I'm subscribed to the digest) From owner-freebsd-questions@FreeBSD.ORG Sun May 17 12:42:28 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35B0AB13 for ; Sun, 17 May 2015 12:42:28 +0000 (UTC) Received: from homiemail-a80.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by mx1.freebsd.org (Postfix) with ESMTP id 1093C1BDC for ; Sun, 17 May 2015 12:42:27 +0000 (UTC) Received: from homiemail-a80.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTP id 951BE37A089; Sun, 17 May 2015 05:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type: in-reply-to; s=ozzmosis.com; bh=0tOM4FmJsiSX4ThDSIj61QrvnPU=; b= QSL8pyyUGULfoxgW3IqjlFEwfp/0+GoNrkJQbp5TGwPhx+zit96IOvOL6dtQClKZ t32/i3tsym8jPT+4fL6QTBfsAe2Vrf4PUirnINlTxCuFG39bmlAoWDb1w/mfmi1T LzPjwjMzIwZ+RQWTLc7GShzlkB9rGRvVBqNd45rvoNc= Received: from blizzard.ozzmosis.com (203-158-38-44.dyn.iinet.net.au [203.158.38.44]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTPSA id 438F137A085; Sun, 17 May 2015 05:42:26 -0700 (PDT) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id 4B2204F1; Sun, 17 May 2015 22:42:24 +1000 (AEST) Date: Sun, 17 May 2015 22:42:24 +1000 From: andrew clarke To: Ian Smith Cc: freebsd-questions@freebsd.org, Trev Roydhouse Subject: Re: Strange return codes from old but good C program Message-ID: <20150517124223.GA82704@ozzmosis.com> References: <20150517204503.V69409@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150517204503.V69409@sola.nimnet.asn.au> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 12:42:28 -0000 On Sun 2015-05-17 22:16:14 UTC+1000, Ian Smith (smithi@nimnet.asn.au) wrote: > Hi, > > I'm hoping someone can help me figure out the behaviour of a C program > executed repeatedly from a shell invoked by my freepascal program. > > If anyone might care to download > (258071 bytes), unzip it and run 'make', the supplied makefile - a copy > of unixl.mak - should provide ssystem compiled for long double precision > maths, just as I wanted, with the following output from gcc from FreeBSD > 4.5 to 9.3-RELEASE. (If clang has trouble on 10.X, please let me know) That makefile defaults to gcc but allows you to build it with clang (which spits out a bunch of warnings similar to gcc) using: make -f unixl.mak CC=clang > smithi@x200:~/de118i-2 % make > gcc -O2 -c ssystem.c > ssystem.c: In function 'resstate': > ssystem.c:150: warning: incompatible implicit declaration of built-in > function 'exit' > ssystem.c: In function 'main': > ssystem.c:180: warning: incompatible implicit declaration of built-in > function 'malloc' stdlib.h provides prototypes for exit() and malloc(). #include > ssystem runs as well as ever, these warnings indicate no functional > issues, but they do highlight the author's poor (but unsurprising in > 1993, last updated 2004) choice of return codes both for real errors > (malloc, file I/O, and maths div by zero, bad args for trig functions > and such) which mostly exit(1) but some return 0 (!) - but when ending > successfully it returns _usually_ 22, but sometimes 11, or 10, both seen > so far, consistently when run with the same (different) parameters. The code looks like ancient K&R C, which was a lot more relaxed with syntax than modern ISO C compilers. Even by 1993, most C developers had moved on from K&R. > What's worse is I can't figure out where in ssystem.c any return code > might be set on completion of main(), which is just declared as: > > main() > { This is fine in K&R, but the ISO C prototype for main() without arguments is: int main(void); > and ends with the last of its results and (accuracy) errors printf()s: > > ii += 6; > } > #if FPESHOW # floating point debug, here set to 0 > fperem(); > #endif > } /* end of main program */ > > No variables called rc or anysuch .. so what sets these odd retcodes? Normally you'd use a return statement, eg. #include /* prototype for printf() */ int main(void) { printf("Hello world.\n"); /* say hi */ return 0; /* return zero to the OS */ } I haven't checked the standard but it's plausible that the ISO C spec allows a random return code if none is given, especially if no prototype for main() is provided. There may be tools around to convert K&R C code to ANSI/ISO C syntax, rather than trying to do it by hand. The code may still need some tweaking, though, eg. return 0 from main(). > I'd be grateful for any clue. So far I assume any return code > 1 is > success, so far so good - but it doesn't feel deterministic enough :) > > cheers, Ian (please cc me, I'm subscribed to the digest) Pretty sure I know you from FidoNet, years ago. Also Trev Roydhouse. AUST_C_HERE, or another echo, maybe? Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Sun May 17 14:16:52 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D97C3A39 for ; Sun, 17 May 2015 14:16:51 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4798147B for ; Sun, 17 May 2015 14:16:51 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-53.adsl.hiwaay.net [216.180.19.53]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t4HEGmeK010518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 17 May 2015 09:16:49 -0500 Message-ID: <5558A2D0.8080207@hiwaay.net> Date: Sun, 17 May 2015 09:23:03 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org Subject: Re: Strange return codes from old but good C program References: <20150517204503.V69409@sola.nimnet.asn.au> <20150517124223.GA82704@ozzmosis.com> In-Reply-To: <20150517124223.GA82704@ozzmosis.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 14:16:52 -0000 On 05/17/15 07:48, andrew clarke wrote: > On Sun 2015-05-17 22:16:14 UTC+1000, Ian Smith (smithi@nimnet.asn.au) wrote: > >> Hi, >> >> I'm hoping someone can help me figure out the behaviour of a C program >> executed repeatedly from a shell invoked by my freepascal program. >> >> If anyone might care to download >> (258071 bytes), unzip it and run 'make', the supplied makefile - a copy >> of unixl.mak - should provide ssystem compiled for long double precision >> maths, just as I wanted, with the following output from gcc from FreeBSD >> 4.5 to 9.3-RELEASE. (If clang has trouble on 10.X, please let me know) > That makefile defaults to gcc but allows you to build it with clang > (which spits out a bunch of warnings similar to gcc) using: > > make -f unixl.mak CC=clang > >> smithi@x200:~/de118i-2 % make >> gcc -O2 -c ssystem.c >> ssystem.c: In function 'resstate': >> ssystem.c:150: warning: incompatible implicit declaration of built-in >> function 'exit' >> ssystem.c: In function 'main': >> ssystem.c:180: warning: incompatible implicit declaration of built-in >> function 'malloc' > stdlib.h provides prototypes for exit() and malloc(). > > #include > >> ssystem runs as well as ever, these warnings indicate no functional >> issues, but they do highlight the author's poor (but unsurprising in >> 1993, last updated 2004) choice of return codes both for real errors >> (malloc, file I/O, and maths div by zero, bad args for trig functions >> and such) which mostly exit(1) but some return 0 (!) - but when ending >> successfully it returns _usually_ 22, but sometimes 11, or 10, both seen >> so far, consistently when run with the same (different) parameters. > The code looks like ancient K&R C, which was a lot more relaxed with > syntax than modern ISO C compilers. Even by 1993, most C developers > had moved on from K&R. > >> What's worse is I can't figure out where in ssystem.c any return code >> might be set on completion of main(), which is just declared as: >> >> main() >> { > This is fine in K&R, but the ISO C prototype for main() without arguments is: > > int main(void); > >> and ends with the last of its results and (accuracy) errors printf()s: >> >> ii += 6; >> } >> #if FPESHOW # floating point debug, here set to 0 >> fperem(); >> #endif >> } /* end of main program */ >> >> No variables called rc or anysuch .. so what sets these odd retcodes? > Normally you'd use a return statement, eg. > > #include /* prototype for printf() */ > > int main(void) > { > printf("Hello world.\n"); /* say hi */ > > return 0; /* return zero to the OS */ > } > > I haven't checked the standard but it's plausible that the ISO C spec > allows a random return code if none is given, especially if no > prototype for main() is provided. I believe it's more than plausible, it's defined that unspecified return *will* return random garbage (more precisely, 'results are undefined').... not 100% certain, but about 99.9% confident. $0.02, no more, no less .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Sun May 17 15:17:24 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92A30A70 for ; Sun, 17 May 2015 15:17:24 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 558891A61 for ; Sun, 17 May 2015 15:17:23 +0000 (UTC) Received: from r56.edvax.de (port-92-195-33-186.dynamic.qsc.de [92.195.33.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id DC7E23CC39; Sun, 17 May 2015 17:17:14 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4HFHD5C004851; Sun, 17 May 2015 17:17:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 17 May 2015 17:17:13 +0200 From: Polytropon To: freebsd-questions@freebsd.org Cc: Ian Smith Subject: Re: Strange return codes from old but good C program Message-Id: <20150517171713.09b01ec4.freebsd@edvax.de> In-Reply-To: <5558A2D0.8080207@hiwaay.net> References: <20150517204503.V69409@sola.nimnet.asn.au> <20150517124223.GA82704@ozzmosis.com> <5558A2D0.8080207@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 15:17:24 -0000 On Sun, 17 May 2015 09:23:03 -0453, William A. Mahaffey III wrote: > I believe it's more than plausible, it's defined that unspecified return > *will* return random garbage (more precisely, 'results are > undefined').... not 100% certain, but about 99.9% confident. $0.02, no > more, no less .... If I remember correctly, leaving main() - this is what happens after the last statement executed - will call the kernel function _exit which will then deal with the return code, something that is _usually_ done using a return 0; statement (or exit(), abort() and the like). main() itself is valid, because the compiler will relapse to the default return type, which is (int), at least in K&R per standard. So finding some implementation-specific return code - or garbage, valid as well - will be the result to be expected. Adding the common exit statement "return 0;" as the last instruction will make sure the program will behave nicely within shells and scripts that check for return codes. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun May 17 16:43:11 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C629FD8 for ; Sun, 17 May 2015 16:43:11 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7B231343 for ; Sun, 17 May 2015 16:43:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t4HGh6vE022040; Mon, 18 May 2015 02:43:06 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 18 May 2015 02:43:06 +1000 (EST) From: Ian Smith To: andrew clarke cc: freebsd-questions@freebsd.org, Trev Roydhouse Subject: Re: Strange return codes from old but good C program In-Reply-To: <20150517124223.GA82704@ozzmosis.com> Message-ID: <20150517232103.V69409@sola.nimnet.asn.au> References: <20150517204503.V69409@sola.nimnet.asn.au> <20150517124223.GA82704@ozzmosis.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 16:43:11 -0000 On Sun, 17 May 2015 22:42:24 +1000, andrew clarke wrote: > On Sun 2015-05-17 22:16:14 UTC+1000, Ian Smith (smithi@nimnet.asn.au) wrote: > > > Hi, > > > > I'm hoping someone can help me figure out the behaviour of a C program > > executed repeatedly from a shell invoked by my freepascal program. > > > > If anyone might care to download > > (258071 bytes), unzip it and run 'make', the supplied makefile - a copy > > of unixl.mak - should provide ssystem compiled for long double precision > > maths, just as I wanted, with the following output from gcc from FreeBSD > > 4.5 to 9.3-RELEASE. (If clang has trouble on 10.X, please let me know) > > That makefile defaults to gcc but allows you to build it with clang > (which spits out a bunch of warnings similar to gcc) using: > > make -f unixl.mak CC=clang Thanks, trying that on 9.3 .. ooo yes, lots of warnings until adding #include to the #ifdef UNIX section, as you say. Remaining are only warnings for a number of functions like: ssystem.c:171:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^~~~ ssystem.c:456:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] func( t, yin, v ) ^~~~ ssystem.c:607:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ > > smithi@x200:~/de118i-2 % make > > gcc -O2 -c ssystem.c > > ssystem.c: In function 'resstate': > > ssystem.c:150: warning: incompatible implicit declaration of built-in > > function 'exit' > > ssystem.c: In function 'main': > > ssystem.c:180: warning: incompatible implicit declaration of built-in > > function 'malloc' > > stdlib.h provides prototypes for exit() and malloc(). > > #include They're not declared or overloaded anywhere that I can see but did work? > > ssystem runs as well as ever, these warnings indicate no functional > > issues, but they do highlight the author's poor (but unsurprising in > > 1993, last updated 2004) choice of return codes both for real errors > > (malloc, file I/O, and maths div by zero, bad args for trig functions > > and such) which mostly exit(1) but some return 0 (!) - but when ending > > successfully it returns _usually_ 22, but sometimes 11, or 10, both seen > > so far, consistently when run with the same (different) parameters. > > The code looks like ancient K&R C, which was a lot more relaxed with > syntax than modern ISO C compilers. Even by 1993, most C developers > had moved on from K&R. If you check moshier.net, Steve's written heaps of stuff, advanced maths libraries and lots more but I gather he's more a C user than developer. > > What's worse is I can't figure out where in ssystem.c any return code > > might be set on completion of main(), which is just declared as: > > > > main() > > { > > This is fine in K&R, but the ISO C prototype for main() without arguments is: > > int main(void); C is read-only for me, but that's what I've come to expect seeing. > > and ends with the last of its results and (accuracy) errors printf()s: > > > > ii += 6; > > } > > #if FPESHOW # floating point debug, here set to 0 > > fperem(); > > #endif > > } /* end of main program */ > > > > No variables called rc or anysuch .. so what sets these odd retcodes? > > Normally you'd use a return statement, eg. > > #include /* prototype for printf() */ > > int main(void) > { > printf("Hello world.\n"); /* say hi */ > > return 0; /* return zero to the OS */ > } > > I haven't checked the standard but it's plausible that the ISO C spec > allows a random return code if none is given, especially if no > prototype for main() is provided. Fair enough, but it doesn't seem properly random. Same parameters, same result. Different parameters nearly always give the same result, but not always. It could be an otherwise uninitialised value somewhere, but why half of that sometimes? Or 10 (seen only on amd64 here)? Have you tried running 'ssystem test.ans' to compare test.ans with test.ld? Ahah, that's just where I spotted those 10 and 11 values: smithi@x200:~/de118i-2 % ssystem < test.que > test.ans ; echo $? 10 # above on amd64 (same result when built with clang), but on i386: smithi on t23% ssystem < test.que > test.ans ; echo $? 11 Worse, NO other input parameters in *.que that I try, WON'T return 22 :) Instead of fixing the declaration and adding return 0, would exit(N) do? > There may be tools around to convert K&R C code to ANSI/ISO C syntax, > rather than trying to do it by hand. The code may still need some > tweaking, though, eg. return 0 from main(). This code has been used in some pretty high-powered long-term ephemeris production - patches with 128-bit 'long long doubles' that purport to track (eg) earth's eccentricity back ~1M years - so I'm loathe to mess with it unless necessary. If I were going to touch it for porting I'd need to clean up eg the errors like malloc and failure to find a needed file, that now return 0 (!) also. If I could feel confident that success would never return 0 or 1 - the case so far, over many runs recently - then I needn't worry. As is, I loudly report any non-22 retcodes, so if it ever did return 0 or 1 then at least the (perhaps many hours long) run would stop with that report, so it's not bad in the worst case, but still I can't help wonder, why? > > I'd be grateful for any clue. So far I assume any return code > 1 is > > success, so far so good - but it doesn't feel deterministic enough :) > > > > cheers, Ian (please cc me, I'm subscribed to the digest) > > Pretty sure I know you from FidoNet, years ago. Also Trev Roydhouse. > AUST_C_HERE, or another echo, maybe? Indeed, I've wondered about that myself. Ah, those were the days .. :) I'll reply privately re all that, but not tonight. Thanks for help and encouragement Andrew, cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sun May 17 16:56:41 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B0A03CC for ; Sun, 17 May 2015 16:56:41 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C21B814AB for ; Sun, 17 May 2015 16:56:40 +0000 (UTC) Received: from r56.edvax.de (port-92-195-33-186.dynamic.qsc.de [92.195.33.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 0251524CCA; Sun, 17 May 2015 18:56:30 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4HGuUtg005108; Sun, 17 May 2015 18:56:30 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 17 May 2015 18:56:30 +0200 From: Polytropon To: Ian Smith Cc: freebsd-questions@freebsd.org Subject: Re: Strange return codes from old but good C program Message-Id: <20150517185630.2f291a77.freebsd@edvax.de> In-Reply-To: <20150517232103.V69409@sola.nimnet.asn.au> References: <20150517204503.V69409@sola.nimnet.asn.au> <20150517124223.GA82704@ozzmosis.com> <20150517232103.V69409@sola.nimnet.asn.au> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 16:56:41 -0000 On Mon, 18 May 2015 02:43:06 +1000 (EST), Ian Smith wrote: > Instead of fixing the declaration and adding return 0, would exit(N) do? That would be possible, see "man 3 exit" for details. To signal a normal program termination, use exit(0); and for errors, exit(1); When return 0; is encountered within main(), it will generate exit code via exit() and _exit() in the same way as if you'd just call exit(). The main() function is nothing special - every non-void function returns something. :-) You could explicitely add the (int) return type for the main() function; typical forms are: int main(void) ---> doesn't access command line parameters int main(int argc, char *argv[]) ---> accesses them This is (almost) equivalent to the K&R form: main(argc, argv) int argc; char **argv; which you probably have there somewhere. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun May 17 17:17:35 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D8A8AA3 for ; Sun, 17 May 2015 17:17:35 +0000 (UTC) Received: from mail.pchotshots.com (mail.pchotshots.com [12.172.123.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 045FE174F for ; Sun, 17 May 2015 17:17:34 +0000 (UTC) Received: (qmail 83686 invoked by uid 89); 17 May 2015 17:18:44 -0000 Received: from unknown (HELO ?12.172.123.228?) (bmettee@pchotshots.com@12.172.123.228) by mail.pchotshots.com with ESMTPA; 17 May 2015 17:18:44 -0000 Message-ID: <5558CCC8.9030704@pchotshots.com> Date: Sun, 17 May 2015 13:15:52 -0400 From: Brad Mettee User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Ian Smith , andrew clarke CC: Trev Roydhouse , freebsd-questions@freebsd.org Subject: Re: Strange return codes from old but good C program References: <20150517204503.V69409@sola.nimnet.asn.au> <20150517124223.GA82704@ozzmosis.com> <20150517232103.V69409@sola.nimnet.asn.au> In-Reply-To: <20150517232103.V69409@sola.nimnet.asn.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 17:17:35 -0000 On 5/17/2015 12:43 PM, Ian Smith wrote: > On Sun, 17 May 2015 22:42:24 +1000, andrew clarke wrote: > > On Sun 2015-05-17 22:16:14 UTC+1000, Ian Smith (smithi@nimnet.asn.au) wrote: > > > > > Hi, > > > > > > I'm hoping someone can help me figure out the behaviour of a C program > > > executed repeatedly from a shell invoked by my freepascal program. > > > > > > If anyone might care to download > > > (258071 bytes), unzip it and run 'make', the supplied makefile - a copy > > > of unixl.mak - should provide ssystem compiled for long double precision > > > maths, just as I wanted, with the following output from gcc from FreeBSD > > > 4.5 to 9.3-RELEASE. (If clang has trouble on 10.X, please let me know) > > > > That makefile defaults to gcc but allows you to build it with clang > > (which spits out a bunch of warnings similar to gcc) using: > > > > make -f unixl.mak CC=clang > > Thanks, trying that on 9.3 .. ooo yes, lots of warnings until adding > #include to the #ifdef UNIX section, as you say. Remaining > are only warnings for a number of functions like: > ssystem.c:171:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] > main() > ^~~~ > ssystem.c:456:1: warning: type specifier missing, defaults to 'int' > [-Wimplicit-int] > func( t, yin, v ) > ^~~~ > ssystem.c:607:1: warning: control reaches end of non-void function > [-Wreturn-type] > } > ^ > > > > smithi@x200:~/de118i-2 % make > > > gcc -O2 -c ssystem.c > > > ssystem.c: In function 'resstate': > > > ssystem.c:150: warning: incompatible implicit declaration of built-in > > > function 'exit' > > > ssystem.c: In function 'main': > > > ssystem.c:180: warning: incompatible implicit declaration of built-in > > > function 'malloc' > > > > stdlib.h provides prototypes for exit() and malloc(). > > > > #include > > They're not declared or overloaded anywhere that I can see but did work? > > > > ssystem runs as well as ever, these warnings indicate no functional > > > issues, but they do highlight the author's poor (but unsurprising in > > > 1993, last updated 2004) choice of return codes both for real errors > > > (malloc, file I/O, and maths div by zero, bad args for trig functions > > > and such) which mostly exit(1) but some return 0 (!) - but when ending > > > successfully it returns _usually_ 22, but sometimes 11, or 10, both seen > > > so far, consistently when run with the same (different) parameters. > > > > The code looks like ancient K&R C, which was a lot more relaxed with > > syntax than modern ISO C compilers. Even by 1993, most C developers > > had moved on from K&R. > > If you check moshier.net, Steve's written heaps of stuff, advanced maths > libraries and lots more but I gather he's more a C user than developer. > > > > What's worse is I can't figure out where in ssystem.c any return code > > > might be set on completion of main(), which is just declared as: > > > > > > main() > > > { > > > > This is fine in K&R, but the ISO C prototype for main() without arguments is: > > > > int main(void); > > C is read-only for me, but that's what I've come to expect seeing. > > > > and ends with the last of its results and (accuracy) errors printf()s: > > > > > > ii += 6; > > > } > > > #if FPESHOW # floating point debug, here set to 0 > > > fperem(); > > > #endif > > > } /* end of main program */ > > > > > > No variables called rc or anysuch .. so what sets these odd retcodes? > > > > Normally you'd use a return statement, eg. > > > > #include /* prototype for printf() */ > > > > int main(void) > > { > > printf("Hello world.\n"); /* say hi */ > > > > return 0; /* return zero to the OS */ > > } > > > > I haven't checked the standard but it's plausible that the ISO C spec > > allows a random return code if none is given, especially if no > > prototype for main() is provided. > > Fair enough, but it doesn't seem properly random. Same parameters, same > result. Different parameters nearly always give the same result, but > not always. It could be an otherwise uninitialised value somewhere, but > why half of that sometimes? Or 10 (seen only on amd64 here)? > > Have you tried running 'ssystem test.ans' to compare test.ans > with test.ld? Ahah, that's just where I spotted those 10 and 11 values: > > smithi@x200:~/de118i-2 % ssystem < test.que > test.ans ; echo $? > 10 > > # above on amd64 (same result when built with clang), but on i386: > > smithi on t23% ssystem < test.que > test.ans ; echo $? > 11 > > Worse, NO other input parameters in *.que that I try, WON'T return 22 :) > > Instead of fixing the declaration and adding return 0, would exit(N) do? > > > There may be tools around to convert K&R C code to ANSI/ISO C syntax, > > rather than trying to do it by hand. The code may still need some > > tweaking, though, eg. return 0 from main(). > > This code has been used in some pretty high-powered long-term ephemeris > production - patches with 128-bit 'long long doubles' that purport to > track (eg) earth's eccentricity back ~1M years - so I'm loathe to mess > with it unless necessary. If I were going to touch it for porting I'd > need to clean up eg the errors like malloc and failure to find a needed > file, that now return 0 (!) also. > > If I could feel confident that success would never return 0 or 1 - the > case so far, over many runs recently - then I needn't worry. As is, I > loudly report any non-22 retcodes, so if it ever did return 0 or 1 then > at least the (perhaps many hours long) run would stop with that report, > so it's not bad in the worst case, but still I can't help wonder, why? > > > > I'd be grateful for any clue. So far I assume any return code > 1 is > > > success, so far so good - but it doesn't feel deterministic enough :) > > > > > > cheers, Ian (please cc me, I'm subscribed to the digest) > > > > Pretty sure I know you from FidoNet, years ago. Also Trev Roydhouse. > > AUST_C_HERE, or another echo, maybe? > > Indeed, I've wondered about that myself. Ah, those were the days .. :) > I'll reply privately re all that, but not tonight. > > Thanks for help and encouragement Andrew, > > cheers, Ian > _______________________________________________ > I have a pretty good idea of why certain values are returned most, but not all, of the time. Specific code paths within any given application will regularly leave some CPU registers loaded with specific values (the result of internal maths or pointer usage). What you're seeing, on a normal basis, is the result of these things occurring. The odd time that something else turns up is likely caused by an OS operation that altered the register that's being used for the return value. My suggestion for this specific case would be to find any exit points from the program that don't set a return value, and make sure they set it to something that makes sense. In main, make sure it exits with a 0 (return 0;). That way if you ever get a non-zero return value, you can be pretty sure that the app didn't terminate normally. (Polytropon says pretty much the same thing in his latest post) As for the function definitions causing problems, why not go ahead and modify them? You did say this code hasn't been touched in years, so it's not likely your work will get overwritten with a new release. Hope this helps. -- Brad Mettee From owner-freebsd-questions@FreeBSD.ORG Sun May 17 18:22:15 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F00106BA for ; Sun, 17 May 2015 18:22:15 +0000 (UTC) Received: from nm2.access.bullet.mail.gq1.yahoo.com (nm2.access.bullet.mail.gq1.yahoo.com [216.39.62.33]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C11F61DED for ; Sun, 17 May 2015 18:22:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1431886777; bh=aTcpKWs0aC7W1qoMCkJmS4d2w2D2j9nYx2TPaHQs7UU=; h=From:To:Subject:Date:From:Subject; b=UQNuSLDrWDG+nf1o+47yjQVok2IL6Iedb8WVccNgbQsUpinBSkwsYYQC7pwp+jywFBvDy5HPpC33hiPMLWDgbA6f+zXNWM6rf6FsEcUhdUBR2eVJIwB7VZlMQdxphn4+A/59SvvopROVaWaHBmyAaHXICI2IG4tbRn+Bxkn7+NJotFMz5yWuDebq8Zvznrnz2+R2CcCxt+d2PMbHOWmuwj+b0cQJNmor/O2DwStIZrvPKvngG3ONMcZOjHPHes0NTUI42oG40gVP+/sYE0pXaplyX3lGjnyMVvw0xZ1mTd3aUT/mLvnd45jXi1o5y1dEaVmWXnl+z9u2TljtJUBZmQ== Received: from [216.39.60.172] by nm2.access.bullet.mail.gq1.yahoo.com with NNFMP; 17 May 2015 18:19:37 -0000 Received: from [67.195.23.144] by tm8.access.bullet.mail.gq1.yahoo.com with NNFMP; 17 May 2015 18:19:37 -0000 Received: from [127.0.0.1] by smtp116.sbc.mail.gq1.yahoo.com with NNFMP; 17 May 2015 18:19:37 -0000 X-Yahoo-Newman-Id: 307684.33022.bm@smtp116.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: V7WqK1AVM1msiSy0.N3uhdi5B8bdV9s_QpYexbWZG76VnQY sJcYFMe7ZgPFw61qEMsTkUPT_.HKdUak76GBTUhRGahKVBUGS_oab3rHfdK3 twNktMCcFWZFflJW1FW.Uo8pBVIFSbEqB2G7wJXj7ZcHs.YXLl3b4cYLvgbo V2dMwhnLb0lRfUJV7Q2QAbebTnGmsE.A4TgkvC91ntN0fioCyPQN59V.jVgc Jxk30Oo5Lq5u2db__whPnBiT8h4ONq8EFJ4BURdZ74nTjIOjup76OQbU_fY_ Wb5iP_y.OUGd8OPT26OvhGENnYFcSuj5oZw5t9R5sHzTpA8xARLSzNAKFp_d JjBycnLYcx7m_MAZIHRQts8MqTxGm9511TqEc9MU3qphMN0HAkmAc8XG.kIF pY5lu8KcV1iva6oil3nhs7Tm3zmXwjSt05cQaykBnm818TsLCs8r5IwdmJt_ hUQhIVKo9g3tMSGkLXZ9xsFiY.duYb.5XVlhtJ5kEbkf0Hb1UcszcCRvA1iJ NBvBLLrPFePxDP4z_1VYMDCdhQyuuvQw8ImXxojMvwLRneJxD X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: <42860D1D-6767-4245-95F1-94CC22176266@prodigy.net> From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: next 'for dummies' question Date: Sun, 17 May 2015 11:19:36 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 18:22:16 -0000 Hi; I am trying to build jpeg image processing library and ./configure complains about new file with older than distribution files. And in fact the terminal has the date (today?) as Mon Jan 2 (time) 2006 How do I set the clock with out access to ntp service as yet. I seem to remember seeing some info about cmos/bios battery being low or dead. (that may have shown up during installation process... I don't remember) Thanks for time, attention, and patience JK From owner-freebsd-questions@FreeBSD.ORG Sun May 17 18:36:37 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EFC5AB31 for ; Sun, 17 May 2015 18:36:36 +0000 (UTC) Received: from mail-qc0-f180.google.com (mail-qc0-f180.google.com [209.85.216.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD3251F0D for ; Sun, 17 May 2015 18:36:36 +0000 (UTC) Received: by qcvo8 with SMTP id o8so80128810qcv.0 for ; Sun, 17 May 2015 11:36:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:in-reply-to:references:mime-version :content-type:content-transfer-encoding:subject:from:date:to :message-id; bh=ooxAojRzSEgyPKezBAV7NUFMy8e21zrEz5SA0BW/eOU=; b=kMVqDLnRIXHLW3z0a2ssyzDSUBJx5InuDylQybxIIcG5CCCToGFnD5apT4Z64GzDoK Mw2Z0gm9kSf8hoB2B6F+HZY86nSkqcsKKp2pusiBZDm15sVpxI7Bh++EGSNb+GH4wTjp l0zbVg57FNpE3f2k0LTS0ZdJGv6nCgMcWEsxNF7Xil30tMPexFeP++JUQatjDJXr8QUp uSlpZtectp5YkimSDcIrJBdKj2EjUo6teURqePcrueuroQaxIf/2K4wk9KwcDlGZkSdd 5XkWZCz+7aUMku4Y7ljTQcszKY4uFNeEzLXMGo9X4mQIekCBHHIdrq/6chctI+q/2jjG bsTg== X-Gm-Message-State: ALoCoQnBq2yiIVvlx1S4qvHtRvcpvKk5D35lTUN8tYg1ZERqiEmwP9q3U49nBKO9csQXb0h4113j X-Received: by 10.140.98.148 with SMTP id o20mr24216359qge.99.1431887789008; Sun, 17 May 2015 11:36:29 -0700 (PDT) Received: from ?IPv6:2600:1016:b01e:6b8:24c6:d83f:682d:fb55? ([2600:1016:b01e:6b8:24c6:d83f:682d:fb55]) by mx.google.com with ESMTPSA id c38sm5474583qgd.33.2015.05.17.11.36.27 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 May 2015 11:36:28 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: <42860D1D-6767-4245-95F1-94CC22176266@prodigy.net> References: <42860D1D-6767-4245-95F1-94CC22176266@prodigy.net> MIME-Version: 1.0 Subject: Re: next 'for dummies' question From: James Keener Date: Sun, 17 May 2015 14:36:09 -0400 To: Jeffry Killen ,freebsd-questions@freebsd.org Message-ID: <79DB3439-19B8-4A1F-9C7D-AF1ADC489B46@jimkeener.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 18:36:37 -0000 Look into the date command. Also, it may be that you need to set the time in your bios, the is pulls time from there. Jim On May 17, 2015 2:19:36 PM EDT, Jeffry Killen wrote: >Hi; > >I am trying to build jpeg image processing library and >./configure complains about new file with older than >distribution files. >And in fact the terminal has the date (today?) as >Mon Jan 2 (time) 2006 > >How do I set the clock with out access to ntp service >as yet. > >I seem to remember seeing some info about cmos/bios >battery being low or dead. (that may have shown up >during installation process... I don't remember) > >Thanks for time, attention, and patience >JK >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" -- Sent from my Android device with K-9 Mail. Please excuse my brevity. From owner-freebsd-questions@FreeBSD.ORG Sun May 17 18:51:43 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D9E9CD58 for ; Sun, 17 May 2015 18:51:43 +0000 (UTC) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A37361122 for ; Sun, 17 May 2015 18:51:43 +0000 (UTC) Received: by igblo3 with SMTP id lo3so70813863igb.1 for ; Sun, 17 May 2015 11:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=J4LgJGhnWvHTj4YHIKbCBV44JPsQ065NneSZXXJh5sY=; b=AYpOCApLuOi6gb4QTR7OGwyOunY6u8FD6fqR3Tp5UJwckdOkjI99YL1fyNPMdxJp12 RwzgSsKgMB9Xf0PxeKOx6HX3sGfUyGaFL6VkenZX5CDttmWRTqMHuQDNc4h68bSHTNOH Lm1TJJxs91cguLvlA+N4qqfeVShp504tz1A3FUUj3Gvelzc6EgLaZILnl1skYwPyWLe3 9endNEUrbhc66Z+bO+eSGonBIcoK7i4OKNYZ4gz3+t02En2adEbhCBeldnahf4xhrGoG YKTvE8MDC1zCQqvnFB3tOA7p1XT9mwBnzo6GiCSvPcNUbSQx0rNKFQqsQIy8dEOSqFiC cOlQ== X-Received: by 10.43.65.19 with SMTP id xk19mr31920842icb.20.1431888702910; Sun, 17 May 2015 11:51:42 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by mx.google.com with ESMTPSA id lq3sm3964263igb.3.2015.05.17.11.51.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 May 2015 11:51:42 -0700 (PDT) Message-ID: <5558E357.9020101@gmail.com> Date: Sun, 17 May 2015 14:52:07 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: FreeBSD Questions Subject: dovecot.conf usage Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 18:51:43 -0000 Hello list; Running dovecot2 in pop3 mode. The documentation seems to say that /usr/local/etc/dovecot/dovecot.conf is the first conf file and the place to place all over rides for options in the other conf.d directorys. Placeing "ssl_cert = Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40C74F35 for ; Sun, 17 May 2015 19:10:55 +0000 (UTC) Received: from out-007.lax.mailroute.net (007.lax.mailroute.net [199.89.1.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailroute.net", Issuer "AlphaSSL CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 265EA124C for ; Sun, 17 May 2015 19:10:54 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by out-007.lax.mailroute.net (Postfix) with ESMTP id 3lqXyh5gKKz1msh1; Sun, 17 May 2015 19:06:52 +0000 (UTC) X-Virus-Scanned: by MailRoute Received: from out-007.lax.mailroute.net ([199.89.1.10]) by localhost (007.lax.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id 8fFWdFJIJkFE; Sun, 17 May 2015 19:06:51 +0000 (UTC) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by out-007.lax.mailroute.net (Postfix) with ESMTP id 3lqXyf5Xffz1msZh; Sun, 17 May 2015 19:06:50 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 85EA73A05; Sun, 17 May 2015 12:06:49 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: "John Levine" Cc: freebsd-questions@freebsd.org, jekillen@prodigy.net Subject: Re: Which make? References: <20150517022324.31995.qmail@ary.lan> x-mayan-date: Long count = 13.0.2.7.17; tzolkin = 10 Caban; haab = 5 Zip Date: Sun, 17 May 2015 12:06:49 -0700 In-Reply-To: <20150517022324.31995.qmail@ary.lan> (John Levine's message of "17 May 2015 02:23:24 -0000") Message-ID: <86iobr10s6.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 19:10:55 -0000 >>>>> "John" == John Levine writes: John> In most cases, installing the precompiled packgage with pkg add works John> just as well and is a lot faster. ... until the day you want to tweak a port knob, and then mixing packages and ports is a pain. Thank goodness for poudriere! Packages built *my* way, and upgrades are a snap now. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix consulting, Technical writing, Comedy, etc. etc. Still trying to think of something clever for the fourth line of this .sig From owner-freebsd-questions@FreeBSD.ORG Sun May 17 19:45:23 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 350F84C7 for ; Sun, 17 May 2015 19:45:23 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF7F2162B for ; Sun, 17 May 2015 19:45:22 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Yu4Uw-00034t-UW for freebsd-questions@freebsd.org; Sun, 17 May 2015 21:45:19 +0200 Received: from c-76-28-97-53.hsd1.ct.comcast.net ([76.28.97.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 May 2015 21:45:18 +0200 Received: from gyliamos by c-76-28-97-53.hsd1.ct.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 May 2015 21:45:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Will Parsons Subject: Re: Strange return codes from old but good C program Date: Sun, 17 May 2015 19:45:09 +0000 (UTC) Lines: 30 Message-ID: References: <20150517204503.V69409@sola.nimnet.asn.au> <20150517124223.GA82704@ozzmosis.com> <5558A2D0.8080207@hiwaay.net> <20150517171713.09b01ec4.freebsd@edvax.de> Reply-To: gyliamos@gmail.com X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-97-53.hsd1.ct.comcast.net User-Agent: slrn/1.0.2 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 19:45:23 -0000 On Sunday, 17 May 2015 3:17 PM UTC, Polytropon wrote: > On Sun, 17 May 2015 09:23:03 -0453, William A. Mahaffey III wrote: >> I believe it's more than plausible, it's defined that unspecified return >> *will* return random garbage (more precisely, 'results are >> undefined').... not 100% certain, but about 99.9% confident. $0.02, no >> more, no less .... > > If I remember correctly, leaving main() - this is what > happens after the last statement executed - will call > the kernel function _exit which will then deal with > the return code, something that is _usually_ done using > a return 0; statement (or exit(), abort() and the like). > > main() itself is valid, because the compiler will relapse > to the default return type, which is (int), at least in > K&R per standard. So finding some implementation-specific > return code - or garbage, valid as well - will be the > result to be expected. > > Adding the common exit statement "return 0;" as the last > instruction will make sure the program will behave nicely > within shells and scripts that check for return codes. I don't have the actual C standard, but Harbison & Steele's "C - A Reference Manual" (which I think can be relied on) states "If the end of the body of *main* is reached without returning, it is treated as if *return 0;* were executed". -- Will From owner-freebsd-questions@FreeBSD.ORG Sun May 17 19:55:24 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 882A17F7 for ; Sun, 17 May 2015 19:55:24 +0000 (UTC) Received: from mail.pchotshots.com (mail.pchotshots.com [12.172.123.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FA341713 for ; Sun, 17 May 2015 19:55:23 +0000 (UTC) Received: (qmail 3160 invoked by uid 89); 17 May 2015 19:58:11 -0000 Received: from unknown (HELO ?12.172.123.228?) (bmettee@pchotshots.com@12.172.123.228) by mail.pchotshots.com with ESMTPA; 17 May 2015 19:58:11 -0000 Message-ID: <5558F228.3060509@pchotshots.com> Date: Sun, 17 May 2015 15:55:20 -0400 From: Brad Mettee User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Ernie Luzar , FreeBSD Questions Subject: Re: dovecot.conf usage References: <5558E357.9020101@gmail.com> In-Reply-To: <5558E357.9020101@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 19:55:24 -0000 On 5/17/2015 2:52 PM, Ernie Luzar wrote: > Hello list; > Running dovecot2 in pop3 mode. The documentation seems to say that > /usr/local/etc/dovecot/dovecot.conf is the first conf file and the > place to place all over rides for options in the other conf.d > directorys. Placeing "ssl_cert = "ssl_key = dovecot start" is issued. Error says can not find file > /etc/ssl/certs/dovecot.pem and /etc/ssl/private/dovecot.pem. those are > the options in conf.d/10-ssl.conf. Looks like my over rides did not take. > > Is my reasoning incorrect or the over ride statements incorrect? > Do you have the literal "<" in the conf file? ("... = Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4BD687A4 for ; Sun, 17 May 2015 22:50:17 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.232]) by mx1.freebsd.org (Postfix) with ESMTP id 105FD188E for ; Sun, 17 May 2015 22:50:16 +0000 (UTC) Received: from [75.187.32.8] ([75.187.32.8:35114] helo=raspberrypi.bildanet.com) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id E4/95-00632-B6919555; Sun, 17 May 2015 22:42:52 +0000 Received: from [192.168.1.53] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1Yu7Gl-00075U-HK for freebsd-questions@freebsd.org; Sun, 17 May 2015 18:42:51 -0400 Message-ID: <5558E12C.1050106@columbus.rr.com> Date: Sun, 17 May 2015 14:42:52 -0400 From: Baho Utot User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: ZFS raidz X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 22:50:17 -0000 I have created a ZFS raidz file system. Created like this: The partitions are all the same and the drives are three identical drives. # zpool create storage raidz /dev/ada1p1 /dev/ada2p1 /dev/ada3p1 # zpool status pool: storage state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 ada1p1 ONLINE 0 0 0 ada2p1 ONLINE 0 0 0 ada3p1 ONLINE 0 0 0 The filesystems created |# zfs create storage/home| |||# zfs create storage/ports| || |||# zfs set compression=gzip storage/home| |||# zfs set compression=gzip storage/ports| || |||# zfs set mountpoint=/usr/home storage/home| |||# zfs set mountpoint=/usr/ports storage/ports| Can addtional drive(s) be added to it? What are the downfalls if I add drives? From owner-freebsd-questions@FreeBSD.ORG Sun May 17 23:07:33 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 954B7993 for ; Sun, 17 May 2015 23:07:33 +0000 (UTC) Received: from SNT004-OMC4S15.hotmail.com (snt004-omc4s15.hotmail.com [65.55.90.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66FEC1A7D for ; Sun, 17 May 2015 23:07:32 +0000 (UTC) Received: from SNT146-W47 ([65.55.90.199]) by SNT004-OMC4S15.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sun, 17 May 2015 16:06:26 -0700 X-TMN: [XTnLvV0N+w3rcUZPucBxoCvbf4LmhJBS] X-Originating-Email: [ricky1252@hotmail.com] Message-ID: From: Ricky G To: Baho Utot CC: "freebsd-questions@freebsd.org" Subject: RE: ZFS raidz Date: Sun, 17 May 2015 19:06:25 -0400 Importance: Normal In-Reply-To: <5558E12C.1050106@columbus.rr.com> References: <5558E12C.1050106@columbus.rr.com> MIME-Version: 1.0 X-OriginalArrivalTime: 17 May 2015 23:06:26.0241 (UTC) FILETIME=[19C48B10:01D090F6] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 23:07:33 -0000 > Can addtional drive(s) be added to it? additional vdevs can be added=2C additional drives can not be added to the = vdev after created > What are the downfalls if I add drives? Down sides would be only new data will be striped to the new vdev. The chan= ce of failure would increase due to more vdevs. = From owner-freebsd-questions@FreeBSD.ORG Mon May 18 03:24:52 2015 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 655B6B34 for ; Mon, 18 May 2015 03:24:52 +0000 (UTC) Received: from smtp80067.rsp-apn7.com (smtp80067.rsp-apn2.com [103.250.41.67]) by mx1.freebsd.org (Postfix) with ESMTP id 12F5613E2 for ; Mon, 18 May 2015 03:24:51 +0000 (UTC) Received: from WINDOWS-YV93HWT (smtp93003.rspmail-apn1.com [103.230.32.3]) by smtp80067.rsp-apn7.com (Postfix) with ESMTPA id 509EEA0B4C for ; Sun, 17 May 2015 23:11:13 -0400 (EDT) From: "CNBM" To: "freebsd-questions@FreeBSD.org" Reply-To: wuxidaoshi6@okorder.com Date: Mon, 18 May 2015 11:15:03 +0800 Subject: 500 Fortune CNBM/Ceramic foam filter&Honeycomb ceramic for Foundry&Steel industry /Sarah X-Mailer: aspNetEmail ver 3.7.0.19 X-Spread-CampaignId: 107409 X-Spread-SubscriberId: 170254926 X-Spread-SpreaderId: 34191 X-Spread-Engine-Build: 4.0.5347.20210 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 03:24:52 -0000 Add [1]sales@sendmail.okoder.com to your Address Book to ensure delivery to your inbox. Send message to [2]wuxidaoshi6@okorder.com Dear manager, Hope you're doing well. This is Sarah from CNBM, with SGS approved and ISO9001 certified, etc. We specialized in series of silicon carbide, alumina, zirconia, magnesia ceramic foam filter products and honeycomb ceramic heat storage substrate, RTO series products, applicable in the foundry, steel for making bearings, auto parts, Flange, etc. Hope we can build a good business relationship between us. Sarah Huang Sales Manager High Temperature Project Dept SKYPE ID: lisalisa9250 Email:sarahhuang@okorder.com Address: No.2, Zizhuyuan South Road, Haidian District, Beijing, China Post Code:100044 Tel.: 86-10-57512563 Mon-Sun 8:30am to 5:30pm (China Time) Fax: 86-10-57512626 Email: [3]wuxidaoshi6@okorder.com You received this email because you are a valued, registered member of OKorder.com, with whom we share the latest offerings and business leads. We promise never to share, trade, sell, deliver, reveal, publicize, or market your email in any way. Should you refuse to receive this service, click [4]unsubscribe at any time. This email was sent from a notification-only address that cannot accept incoming email. PLEASE DO NOT REPLY to this message. If you have any questions or concerns, please [5]Contact Us» [107409] References 1. http://l.sendmail.okorder.com/addcontact.aspx?d=FreeBSD.org&from=sales@sendmail.okorder.com 2. mailto:wuxidaoshi6@okorder.com 3. mailto:wuxidaoshi6@okorder.com 4. http://s.sendmail.okorder.com/Unsubscribe.aspx?sub=170254926&user=34191&campid=107409&type=h 5. http://t.sendmail.okorder.com/t.aspx/subid/170254926/camid/107409/linkid/3337171/Default.aspx From owner-freebsd-questions@FreeBSD.ORG Mon May 18 11:03:54 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22B26BE for ; Mon, 18 May 2015 11:03:54 +0000 (UTC) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5D9C1615 for ; Mon, 18 May 2015 11:03:53 +0000 (UTC) Received: by igbyr2 with SMTP id yr2so44703986igb.0 for ; Mon, 18 May 2015 04:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=fPVD06z/01cyQ47dvFkjdcu5eEv8jydGvwkf9hU549c=; b=DTEjMwzyD7lK8cZfkSNxO6g6nV8+8sQs964jWt9gsMHxH/+VPEt8yYoDQQ/+b+iZ4n rABJJfJmKRHFCifBdTYiBYehzkKM33luTgY3PBA6XRoETbKlTKDQqV9vqNHb+mfWwQJh Igp/CCOn0RpEFxoX0kk8GTuYO+VRzh3mJWpcrS3gjHtRBMf8xT5YvOauyU6i45D5VToN NCmswsQutIIWHgwxVfCEqFDd3dEjGfrYuZlg7nFuxTJ4ISlzz1k9NQYFUlphQg9dIhJx x5qrd0MrduMfoo+F5tmfcQ8+SbF3y4KhYj+Qvml4vH7SPSOxSGi0IFfsw/cvJV1DeLBW J/Yg== X-Received: by 10.50.43.196 with SMTP id y4mr13567336igl.14.1431947033353; Mon, 18 May 2015 04:03:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Mon, 18 May 2015 04:03:32 -0700 (PDT) From: Avinash Sonawane Date: Mon, 18 May 2015 16:33:32 +0530 Message-ID: Subject: gnome-terminal failing to start To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 11:03:54 -0000 Hello! I just build and installed x11/gnome3. Now whenever I try to launch gnome-terminal (by clicking on it's icon) it simply doesn't start. Other applications get launched properly though. Also I can't access any of the virtual terminals using Ctrl+Alt+F(n) keys. So basically I have no command-line access in my FreeBSD+GNOME system. Please help. BTW I start GNOME by issuing `startx` and ~.xinitrc being used to start gnome-session. Thank You. -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com From owner-freebsd-questions@FreeBSD.ORG Mon May 18 11:06:52 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBB79464 for ; Mon, 18 May 2015 11:06:52 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E611165E for ; Mon, 18 May 2015 11:06:51 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t4IB6jZ5077695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 18 May 2015 13:06:45 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t4IB6jer077692 for ; Mon, 18 May 2015 13:06:45 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 18 May 2015 13:06:45 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD questions Subject: sysutils/screen and net/nss_ldap on stable/10, and LDAP on Novell NetWare 6.5 SP8 Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 11:06:52 -0000 Hi, I decided to upgrade one of my production systems from stable/8, to stable/9, and finally to stable/10. All is well, except sysutils/screen. GNU screen is the only software not capable of using LDAP after the upgrade. I didn't recompile the ports while the system ran stable/9, only after upgrading to stable/10. I've traced the problem down to net/nss_ldap and getpwuid(). Luckily, this production system isn't in high demand, and only I use GNU screen on this system. The log facility user is filled with: May 18 10:40:24 [HOSTNAME] screen: nss_ldap: failed to bind to LDAP server ldaps://ldap1.fqdn/: Can't contact LDAP server May 18 10:40:24 [HOSTNAME] screen: nss_ldap: failed to bind to LDAP server ldaps://ldap2.fqdn/: Can't contact LDAP server To save some effort: /usr/local/etc/ldap.conf is symlinked to openldap/ldap.conf /usr/local/etc/ldap.secret is symlinked to openldap/ldap.secret /usr/local/etc/nss_ldap.conf is symlinked to ldap.conf (see above) /usr/local/etc/openldap/ldap.conf contains roughly: uri ldaps://ldap1.fqdn/ ldaps://ldap2.fqdn/ base O=XXX scope sub tls_cacert /etc/ssl/certs/somecert.cer ssl on ldap_version 3 binddn CN=[someproxyuser],OU=Proxyusers,O=XXX bindpw [WITHHELD] rootbinddn CN=[administrativeAccount],OU=YYY,O=XXX timeout 15 network_timeout 15 pam_login_attribute uid pam_password nds nss_base_passwd OU=ZZZ,O=XXX nss_base_shadow OU=ZZZ,O=XXX nss_base_groups OU=Unixgroups,O=XXX ldap1.fqdn and ldap2.fqdn runs Novell NetWare 6.5 SP8. GNU screen works flawless with locally defined users. Login, both console and SSH, using LDAP defined users and groups works flawlessly, and the same goes for long listing of directories (ls -l). I noticed net/nss-pam-ldapd in the ports collection. Is it worth the effort to switch from net/nss_ldap to net/nss-pam-ldapd? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Mon May 18 11:30:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3BEE990 for ; Mon, 18 May 2015 11:30:53 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3112B18CE for ; Mon, 18 May 2015 11:30:53 +0000 (UTC) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t4IBUiKC021068 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 18 May 2015 12:30:46 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t4IBUiKC021068 Authentication-Results: smtp.infracaninophile.co.uk/t4IBUiKC021068; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Message-ID: <5559CD42.1070708@FreeBSD.org> Date: Mon, 18 May 2015 12:30:10 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: sysutils/screen and net/nss_ldap on stable/10, and LDAP on Novell NetWare 6.5 SP8 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rE0EIXGX2FiCPDm9bdvHBubsVlj3sies0" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 11:30:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rE0EIXGX2FiCPDm9bdvHBubsVlj3sies0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/05/18 12:06, Trond Endrest=F8l wrote: > I noticed net/nss-pam-ldapd in the ports collection. Is it worth the=20 > effort to switch from net/nss_ldap to net/nss-pam-ldapd? I've tried both nss_ldap and nss-pam-ldapd and I prefer the latter -- it is build around a pretty nice 'nslcd' caching daemon and seems to run more smoothly in general than nss_ldap. Plus only one config file to hookup both pam and nsswitch to LDAP, and it understands LDAP service autodiscovery via SRV records. Cheers, Matthew --rE0EIXGX2FiCPDm9bdvHBubsVlj3sies0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJVWc1CXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTntAAP/jslPR60bCWHaAkMpsvrU1rZ vgrSOTe8AavwSnrkuxbEC0rYeowS2rb9xViXAWBqu4wFbfkHhj2dEFodWt41ujTX JpAFOAgIgOrL3ILn36iE/lW7ioS8+G9Z6EbhsQRygMOs/ijTGtePmCOhLMNpRiTY h5Jvq8NQFu8nHlAKEoZuNoWW9PnHsplwE6gbCaSvZlit3X1fuAhHbk3EujhB/467 xqFHY3/M5UP28c5ckZoV/YRN4jdYOk7BqU1E2W9THo2iem0dXpeMvbVp6CMjKu8V u0oEjiHQtzRAtZma3OHNoRfThOywq7dYuH/4O00hcpMFYyC4mU5TR3HZvDmJF9w+ qZlH4jCwPC1aBL7XgSlrb3+rKxvhIiDDg471atPGMVKb/q3udPIJZ8sQz6iLu24Z h1YDCo3QZIJJBuefPsJfrzIO2rK/FWZwO3iO18R9AAiWb/rrN336RAzy5fkCAymr N6dCGqhHQvAgsUqTwUMY7Fi4cubmDo4f+ucDD+RCsqHbXaGZDzQxggQzDMEYDs8u IGui4xKVZPg6pBIZcOnJtEFjBFPrswF6B43LCosWVEvhDYesVzXcGBfu4WdSWorv kjFBHBXSUGS0E9wlESldHANk6e9v1G8VoY0bpjo1qWALD/T02ET2hyj7UgFK/BCT KDImplbE5lqU/UN5qIZ/ =CZp8 -----END PGP SIGNATURE----- --rE0EIXGX2FiCPDm9bdvHBubsVlj3sies0-- From owner-freebsd-questions@FreeBSD.ORG Mon May 18 11:42:09 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B31EF84; Mon, 18 May 2015 11:42:09 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1160C1AEA; Mon, 18 May 2015 11:42:08 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t4IBg4UK077807 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 18 May 2015 13:42:04 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t4IBg3jW077804; Mon, 18 May 2015 13:42:03 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 18 May 2015 13:42:03 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Matthew Seaman cc: FreeBSD questions Subject: Re: sysutils/screen and net/nss_ldap on stable/10, and LDAP on Novell NetWare 6.5 SP8 In-Reply-To: <5559CD42.1070708@FreeBSD.org> Message-ID: References: <5559CD42.1070708@FreeBSD.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 11:42:09 -0000 On Mon, 18 May 2015 12:30+0100, Matthew Seaman wrote: > On 2015/05/18 12:06, Trond Endrestøl wrote: > > I noticed net/nss-pam-ldapd in the ports collection. Is it worth the > > effort to switch from net/nss_ldap to net/nss-pam-ldapd? > > I've tried both nss_ldap and nss-pam-ldapd and I prefer the latter -- it > is build around a pretty nice 'nslcd' caching daemon and seems to run > more smoothly in general than nss_ldap. Plus only one config file to > hookup both pam and nsswitch to LDAP, and it understands LDAP service > autodiscovery via SRV records. Thanks. I'll give it a try. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Mon May 18 11:45:05 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B430CB for ; Mon, 18 May 2015 11:45:05 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2EC01B0F for ; Mon, 18 May 2015 11:45:04 +0000 (UTC) Received: from r56.edvax.de (port-92-195-33-186.dynamic.qsc.de [92.195.33.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3576D3CDDB; Mon, 18 May 2015 13:45:00 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4IBj0gN002026; Mon, 18 May 2015 13:45:00 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 18 May 2015 13:45:00 +0200 From: Polytropon To: Avinash Sonawane Cc: freebsd-questions@freebsd.org Subject: Re: gnome-terminal failing to start Message-Id: <20150518134500.c63e0719.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 11:45:05 -0000 On Mon, 18 May 2015 16:33:32 +0530, Avinash Sonawane wrote: > Hello! > > I just build and installed x11/gnome3. Now whenever I try to launch > gnome-terminal (by clicking on it's icon) it simply doesn't start. > Other applications get launched properly though. In this case, install the regular xterm or rxvt (or their -unicode version, if you need) and use those for further testing. Start "xterm" using Gnome's "Run..." dialog and then start the "gnome-terminal" (I think that's the binary's name) from within xterm. You should then be able to see an error message. > Also I can't access any of the virtual terminals using Ctrl+Alt+F(n) keys. You're probably using a recent FreeBSD 10 system, so you're affected by the switch from sc to vt. This should help: https://wiki.freebsd.org/Newcons > So basically I have no command-line access in my FreeBSD+GNOME system. That's a terrible situation... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon May 18 11:55:10 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A2991F2 for ; Mon, 18 May 2015 11:55:10 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C5041C20 for ; Mon, 18 May 2015 11:55:09 +0000 (UTC) Received: from r56.edvax.de (port-92-195-33-186.dynamic.qsc.de [92.195.33.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3C4703CD1F; Mon, 18 May 2015 13:55:07 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4IBt7so002069; Mon, 18 May 2015 13:55:07 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 18 May 2015 13:55:07 +0200 From: Polytropon To: gyliamos@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: Strange return codes from old but good C program Message-Id: <20150518135507.ada90d25.freebsd@edvax.de> In-Reply-To: References: <20150517204503.V69409@sola.nimnet.asn.au> <20150517124223.GA82704@ozzmosis.com> <5558A2D0.8080207@hiwaay.net> <20150517171713.09b01ec4.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 11:55:10 -0000 On Sun, 17 May 2015 19:45:09 +0000 (UTC), Will Parsons wrote: > I don't have the actual C standard, but Harbison & Steele's "C - A > Reference Manual" (which I think can be relied on) states "If the end > of the body of *main* is reached without returning, it is treated as > if *return 0;* were executed". In that case, no random return codes should appear. It also doesn't meet the little test I've wrote (which again matches with the initially described problem). I have written (haha) the following "test case": % cat returntest.c main() { int i, j; for(i = 0, j = 0; i < 100; i++) j += i; } There are two "error" in it: main() doesn't have a return type assigned, so per standard (int) will be assumed. And there is no return statement. Compiler is system's gcc (older system, obviously): % cc -Wall -o returntest returntest.c returntest.c:1: warning: return type defaults to 'int' returntest.c: In function 'main': returntest.c:5: warning: control reaches end of non-void function This is what we expect. But the program can be run, and we see: % ./returntest ; echo $? 99 The return code is somehow assigned to the 'i' variable. Why? Probably because it's stored in a register, and this register is being used by the exit() and _exit() chain to represent the return code. Funnily, when the program is modified: main() { int i, j; for(i = 0, j = 0; i > -100; i--) j += i; } The compiler warnings are the same. This is the result now: % ./returntest ; echo $? 157 None of them looks like an implicit "return 0;". I am not judging Harbison & Steele, I'm just observing things. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon May 18 11:57:21 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB64429E for ; Mon, 18 May 2015 11:57:21 +0000 (UTC) Received: from mgaterz1.oekb.co.at (mgaterz1.oekb.co.at [143.245.5.111]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mgaterz1.oekb.co.at", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52E5D1C3E for ; Mon, 18 May 2015 11:57:20 +0000 (UTC) Received: from exchhubcas2.oekb.co.at ([143.245.3.66]) by mgaterz1.oekb.co.at with ESMTP/TLS/AES128-SHA; 18 May 2015 13:56:08 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by internal-relay-exchhubcas2.oekb.co.at (143.245.3.65) with Microsoft SMTP Server id 14.3.210.2; Mon, 18 May 2015 13:56:07 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.9/8.14.9) with ESMTP id t4IBu7hU002932; Mon, 18 May 2015 13:56:07 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.9/8.14.9/Submit) id t4IBu6ci002931; Mon, 18 May 2015 13:56:06 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Mon, 18 May 2015 13:56:06 +0200 From: Ewald Jenisch To: Subject: NTP - ntpdc monlist no longer working (10.1) Message-ID: <20150518115606.GA2898@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 11:57:22 -0000 Hi, Recently I upgraded a system from 8.3 to 10.1 (basically installing from scratch and pulling over all data). Upon checking my config I discovered "ntpc monlist" doesn't work in 10.1 (the monlist command is used for checking for clients that have connected to a NTP server). Please note, that I run the identical NTP-configuration (/etc/ntp.conf) on both the new and old machine. Specifically in my ntp.conf I've got restrict 127.0.0.1 so with this it should definitely be possible to run "ntpdc monlist" on the local machine querying the local ntp server. To track things down I even did a wireshark trace - sure enough I see ntp packets coming in including the "monlist"-packet - but no reply from my server. Also note, that I've got an identical configuration in terms of NTP permissions on a Raspberry - no problems with "ntpdc monlist" there. So here are my questions: o) Is "monlist" completely disabled in newer releases of FreeBSD per default? o) Is there any way to get monlist working again? Thanks in advance for any clue, -ewald PS: I'm well aware that "monlist" was used for NTP reflection attacks with internet facing NTP-servers - we're speaking of an NTP-server behind a firewall though with no inbound connections from the internet allowed. From owner-freebsd-questions@FreeBSD.ORG Mon May 18 11:57:52 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9526F326 for ; Mon, 18 May 2015 11:57:52 +0000 (UTC) Received: from homiemail-a83.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by mx1.freebsd.org (Postfix) with ESMTP id 7A5601C47 for ; Mon, 18 May 2015 11:57:51 +0000 (UTC) Received: from homiemail-a83.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a83.g.dreamhost.com (Postfix) with ESMTP id B3A525E063; Mon, 18 May 2015 04:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type: in-reply-to; s=ozzmosis.com; bh=da7xWzg7THH1/ZZR4rfnwhufn1E=; b= YpzykpcZmaSEv7ZYeROfdIIIzCswqA5i2WPeF5v0UfEcz6nnkIlP7pfq6tamsv0Y MBrseD9rdKhv5QQwwfpIZF5IKpqHlS1xiOvNFGhqARFdg4AyrpmS+J0i2+fF3mfK 8xGCmLqQLZlrnavRApsA0Ta8GjsnnkNxBz3YbWpR7p0= Received: from blizzard.ozzmosis.com (203-214-32-12.dyn.iinet.net.au [203.214.32.12]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by homiemail-a83.g.dreamhost.com (Postfix) with ESMTPSA id 2B0015E060; Mon, 18 May 2015 04:57:45 -0700 (PDT) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id D03516BC; Mon, 18 May 2015 21:57:42 +1000 (AEST) Date: Mon, 18 May 2015 21:57:42 +1000 From: andrew clarke To: "Randal L. Schwartz" Cc: John Levine , freebsd-questions@freebsd.org, jekillen@prodigy.net Subject: Re: Which make? Message-ID: <20150518115742.GA42439@ozzmosis.com> References: <20150517022324.31995.qmail@ary.lan> <86iobr10s6.fsf@red.stonehenge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86iobr10s6.fsf@red.stonehenge.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 11:57:52 -0000 On Sun 2015-05-17 12:06:49 UTC-0700, Randal L. Schwartz (merlyn@stonehenge.com) wrote: > >>>>> "John" == John Levine writes: > > John> In most cases, installing the precompiled packgage with pkg add works > John> just as well and is a lot faster. > > ... until the day you want to tweak a port knob, and then mixing > packages and ports is a pain. > > Thank goodness for poudriere! Packages built *my* way, and upgrades are > a snap now. I feel the same way about Poudriere, although I was recently caught out by the "make config" options changing for the Postfix port (see 20150510 in UPDATING), which meant my options were reset to the defaults. :/ Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Mon May 18 12:03:58 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26036675 for ; Mon, 18 May 2015 12:03:58 +0000 (UTC) Received: from mxout01.bytecamp.net (mxout01.bytecamp.net [212.204.60.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D50C51D57 for ; Mon, 18 May 2015 12:03:57 +0000 (UTC) Received: by mxout01.bytecamp.net (Postfix, from userid 1001) id 7E01730FDBD; Mon, 18 May 2015 13:57:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bytecamp.net; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; s=20140709; bh=i9RGjkIUq2gJbueAroVxJ5gkOp8=; b=zQWqG7uhUqjfhs5AQIU27/uPm6m8ygkWaAwwqOM1WczSi6irB6M/FT4yOdpWmMQGWtA3+Duul/CjxShV5araWyemeHZZ4BZ62RDThlvmasicr5XvuEsU/Uuj7JRzqUps0v9nnod3/GZ5BJve+WPnGaCBJaOrCq3CiCshP1it3bE= Received: from mail.bytecamp.net (mailstore.bytecamp.net [212.204.60.20]) by mxout01.bytecamp.net (Postfix) with ESMTP id 2D34330FD95 for ; Mon, 18 May 2015 13:57:27 +0200 (CEST) Received: (qmail 24283 invoked by uid 89); 18 May 2015 13:57:27 +0200 Received: from stella.bytecamp.net (HELO ?212.204.60.37?) (rs%bytecamp.net@212.204.60.37) by mail.bytecamp.net with AES128-SHA encrypted SMTP; 18 May 2015 13:57:27 +0200 Message-ID: <5559D3A7.3000505@bytecamp.net> Date: Mon, 18 May 2015 13:57:27 +0200 From: Robert Schulze Organization: bytecamp GmbH User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: dovecot.conf usage References: <5558E357.9020101@gmail.com> <5558F228.3060509@pchotshots.com> In-Reply-To: <5558F228.3060509@pchotshots.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 12:03:58 -0000 Hi, Am 17.05.2015 um 21:55 schrieb Brad Mettee: > > Do you have the literal "<" in the conf file? ("... = you shouldn't. documentation says it is OK: http://wiki2.dovecot.org/SSL/DovecotConfiguration regards, Robert Schulze From owner-freebsd-questions@FreeBSD.ORG Mon May 18 12:53:46 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C5124C8 for ; Mon, 18 May 2015 12:53:46 +0000 (UTC) Received: from out-009.ord.mailroute.net (009.ord.mailroute.net [199.89.2.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailroute.net", Issuer "AlphaSSL CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 67A5C1359 for ; Mon, 18 May 2015 12:53:46 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by out-009.ord.mailroute.net (Postfix) with ESMTP id 3lr0Yx5DNpz1fxGN; Mon, 18 May 2015 12:50:29 +0000 (UTC) X-Virus-Scanned: by MailRoute Received: from out-009.ord.mailroute.net ([199.89.2.12]) by localhost (009.ord.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id 05qvwr1sIvBi; Mon, 18 May 2015 12:50:25 +0000 (UTC) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by out-009.ord.mailroute.net (Postfix) with ESMTP id 3lr0Yn3Fqpz1fxGn; Mon, 18 May 2015 12:50:20 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 3052E3FD3; Mon, 18 May 2015 05:50:18 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: andrew clarke Cc: John Levine , freebsd-questions@freebsd.org, jekillen@prodigy.net Subject: Re: Which make? References: <20150517022324.31995.qmail@ary.lan> <86iobr10s6.fsf@red.stonehenge.com> <20150518115742.GA42439@ozzmosis.com> x-mayan-date: Long count = 13.0.2.7.18; tzolkin = 11 Etznab; haab = 6 Zip Date: Mon, 18 May 2015 05:50:18 -0700 In-Reply-To: <20150518115742.GA42439@ozzmosis.com> (andrew clarke's message of "Mon, 18 May 2015 21:57:42 +1000") Message-ID: <86mw12yrqt.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 12:53:46 -0000 >>>>> "andrew" == andrew clarke writes: andrew> I feel the same way about Poudriere, although I was recently caught andrew> out by the "make config" options changing for the Postfix port (see andrew> 20150510 in UPDATING), which meant my options were reset to the andrew> defaults. :/ That's why I have this script: #!/bin/sh poudriere ports -u && poudriere options -f /usr/local/etc/poudriere.d/origins forces "make config" on everything I build every time I fetch new ports. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix consulting, Technical writing, Comedy, etc. etc. Still trying to think of something clever for the fourth line of this .sig From owner-freebsd-questions@FreeBSD.ORG Mon May 18 13:01:04 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B66A6F8 for ; Mon, 18 May 2015 13:01:04 +0000 (UTC) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD83814BA for ; Mon, 18 May 2015 13:01:03 +0000 (UTC) Received: by qcvo8 with SMTP id o8so88643003qcv.0 for ; Mon, 18 May 2015 06:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:mime-version :content-type; bh=EaJIl2b1rhqfTGD21rvQMHAcCSaWJKVWLTNF2vV4dis=; b=K6EPghwNKgdpORqSiGAHihinugGmong/DqkalkSR3EgFQHV52ICAyG17Drqlz5vluZ 1iS//BxvLTpyzlTq2pxKXNQWnnOqVs/db5u99yfoN6AmJM/0KZ/l5Gmfw1sK4pEzLBKV d66H7FPUvCvt6i9Uda1wnz2caFopUSmjnY2Q4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :organization:mime-version:content-type; bh=EaJIl2b1rhqfTGD21rvQMHAcCSaWJKVWLTNF2vV4dis=; b=K7hkhI++jQwcHdlTuq28VDOx+yN6fbyLRodmOdTXDv4sSlzf2rIHfsi6qhZdxXBUe8 0JZuM9AI+fnQcIf+5IVI+UQ2cxyfVxvr/4lTDE4k/sX+kZZPxY//16W+uuHbtw/tO/14 QuzWZmgtfVE4ZptGs0SAFxxFLFzCne809xTIGM4J/4Now+iw5kbwLRXWOSpAwPiRqt1k lfIrdNQhsrim4H4rvn5toNS0rx12X7LbU3ryp/PLudEeb9pWSQlHssFa87tZED3QI+G0 5G/QwCmtzaWwl59D1q0LUhrOzhMJcUGy4MUl821sGQeAnsyx9FOdS8sI+JnzmabZ3Tpd mFag== X-Gm-Message-State: ALoCoQnUyrEzHNXlrzGRjVc2cEVaP4F+9C1pcqDXoXJ+Nlxn2RTvFbs0Lf1fOCaT4KRpIgZ3+7zB X-Received: by 10.55.15.129 with SMTP id 1mr48157787qkp.29.1431954062510; Mon, 18 May 2015 06:01:02 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-23-221.nc.res.rr.com. [174.109.23.221]) by mx.google.com with ESMTPSA id 34sm6987806qkr.47.2015.05.18.06.01.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2015 06:01:02 -0700 (PDT) Received: from localhost (cpe-174-109-23-221.nc.res.rr.com [174.109.23.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3lr0p44scGz3DlVx for ; Mon, 18 May 2015 09:01:00 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.7 at scorpio.seibercom.net Date: Mon, 18 May 2015 09:00:51 -0400 From: Jerry To: FreeBSD FreeBSD Subject: Problem with sed Message-ID: <20150518090051.6600f32a@seibercom.net> Reply-To: FreeBSD FreeBSD Organization: seibercom NET X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/TIBE1TB0pBTV_T3ugX04QVx"; protocol="application/pgp-signature" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 13:01:04 -0000 --Sig_/TIBE1TB0pBTV_T3ugX04QVx Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I rarely use sed, so I admit to not being fully acquainted with its idiosyncrasies,; however, this one is really annoying. I am using this command in an attempt to remove empty lines: $ sed -i /^$/d /var/tmp/myfile.txt and get this error: sed: 1: "/var/tmp/myfile.txt": undefined label 'mp/myfile.txt' I don't understand why. I am following the example I found in the "sed & aw= k" handbook by "O'Reilly" --Sig_/TIBE1TB0pBTV_T3ugX04QVx Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVWeKEAAoJEElTsHIJnX8eflkIAIPDacp5bAZibAA/7OVEw0d+ fXJ2xaGm1L3ALkMr+nbv1Mv0+pcV+Eh6+nTKtBEhs12UlIQNxQ7GV6HF8zT7MQk0 CqVVo9BE7PZ3RgICxATAHK7g/XZDIJ8LU4LoMBFraRrU8qXhOH6FVeW8u2KHvuqB fH1RjpS1okCLhGe+xHtiGvm3lZK8MKCKN7DY4s6gHt/dExT1S62n918nopEFGZ+6 TaDiafVqEBk+AdgbeBK4jHOWRpc4hZ5vqJ4fEdfoRlA5HTk5wztlKKGcuV90dtLH +n3+Tg4T0HLlw165COfqjFRHLCJDJhT/AoXtiWfUc0OXpgop8LoR276kcSrdvSo= =hwKC -----END PGP SIGNATURE----- --Sig_/TIBE1TB0pBTV_T3ugX04QVx-- From owner-freebsd-questions@FreeBSD.ORG Mon May 18 13:13:44 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20EA2AB3 for ; Mon, 18 May 2015 13:13:44 +0000 (UTC) Received: from mx1.bocal.org (mx1.bocal.org [163.5.69.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 014DA168E for ; Mon, 18 May 2015 13:13:42 +0000 (UTC) Received: from mx1.bocal.org (localhost [127.0.0.1]) by mx1.bocal.org (OpenSMTPD) with ESMTP id af9b975f for ; Mon, 18 May 2015 15:06:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bocal.org; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=xHSyjwvquAK+ xg/pqVNiYvkxknU=; b=cFxyi2roun2KF+vZDNYE1twyUdc+HjNrwaJ5DnfRUb3o M7moklPesqmFOspijPNTnODoPsTz+k5Opk7lNsneWKgSrdsAn8d6//tmmG31LJZw IVwbiW/bhRRH2AuUS279wFWAELhWzzYYz1VV1SrkF9tKUY9wCgONzvDD27Q4BRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bocal.org; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=5OcuGh NNBwUzYeo+LDIyBiMKr87CUT7qHM2JPCzwW2npxfTTHdqj9DJbsVrpTU+3CsboV8 UZR1oC3UbVvDH5qx0+EjKABH9WeoFe6GNwerU2cPOMypaavdCvBKav6UIkaK5oui mOJtt5wOl7zxYax6u7sXN+6sSOBBmdQwxAECc= Received: from atlantis.staff.bocal.org (163.5.250.96 [163.5.250.96]) by smtp.bocal.org (OpenSMTPD) with ESMTPSA id d6985648 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO for ; Mon, 18 May 2015 15:06:46 +0200 (CEST) Date: Mon, 18 May 2015 15:06:45 +0200 From: Emmanuel Vadot To: FreeBSD FreeBSD Subject: Re: Problem with sed Message-Id: <20150518150645.0aaf7b513526c4f2a11d85e7@bocal.org> In-Reply-To: <20150518090051.6600f32a@seibercom.net> References: <20150518090051.6600f32a@seibercom.net> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.27; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 13:13:44 -0000 -i is for backup file Use -i"" if you don't want any backup and replace in file Use -i.bak for example to backup the original file as file.bak On Mon, 18 May 2015 09:00:51 -0400 Jerry wrote: > I rarely use sed, so I admit to not being fully acquainted with its > idiosyncrasies,; however, this one is really annoying. > > I am using this command in an attempt to remove empty lines: > > $ sed -i /^$/d /var/tmp/myfile.txt > > and get this error: > > sed: 1: "/var/tmp/myfile.txt": undefined label 'mp/myfile.txt' > > I don't understand why. I am following the example I found in the "sed & awk" handbook by "O'Reilly" -- Emmanuel Vadot From owner-freebsd-questions@FreeBSD.ORG Mon May 18 13:18:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF770BFA for ; Mon, 18 May 2015 13:18:55 +0000 (UTC) Received: from smtp-nf-106.his.com (smtp-nf-106.his.com [216.194.251.35]) by mx1.freebsd.org (Postfix) with ESMTP id 79F9616D3 for ; Mon, 18 May 2015 13:18:54 +0000 (UTC) Received: from cuda201.his.com (cuda201.his.com [216.194.248.226]) by smtp-nf-106.his.com (Postfix) with ESMTPS id 9ED2B60F8C for ; Mon, 18 May 2015 09:11:16 -0400 (EDT) X-ASG-Debug-ID: 1431954676-061c410b465c1220001-jLrpzn Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.248.252]) by cuda201.his.com with ESMTP id i52ylhcFBXRGcGCp for ; Mon, 18 May 2015 09:11:16 -0400 (EDT) X-Barracuda-Envelope-From: dickey@his.com X-Barracuda-RBL-Trusted-Forwarder: 216.194.248.252 Received: from mail-sterling.his.com (mail-sterling.his.com [216.194.248.141]) by smtp-nf-202.his.com (Postfix) with ESMTP id 07A1B6013F for ; Mon, 18 May 2015 09:11:16 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail-sterling.his.com (Postfix) with ESMTP id 68A783FF0004 for ; Mon, 18 May 2015 09:11:15 -0400 (EDT) X-Barracuda-RBL-Trusted-Forwarder: 216.194.248.141 X-Virus-Scanned: amavisd-new at mail-sterling.his.com Received: from mail-sterling.his.com ([127.0.0.1]) by localhost (mail-sterling.his.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00vKmYnlaHTD for ; Mon, 18 May 2015 09:11:11 -0400 (EDT) Received: from mail-sterling.his.com (mail-sterling.his.com [216.194.248.141]) by mail-sterling.his.com (Postfix) with ESMTP id A373C3FF0001 for ; Mon, 18 May 2015 09:11:11 -0400 (EDT) Date: Mon, 18 May 2015 09:11:11 -0400 (EDT) From: Thomas Dickey To: FreeBSD FreeBSD Message-ID: <1038227648.10325165.1431954671299.JavaMail.root@his.com> In-Reply-To: <20150518090051.6600f32a@seibercom.net> Subject: Re: Problem with sed MIME-Version: 1.0 X-ASG-Orig-Subj: Re: Problem with sed Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [66.28.220.34] X-Mailer: Zimbra 7.2.6_GA_2926 (ZimbraWebClient - FF3.0 (Win)/7.2.6_GA_2926) X-Barracuda-Connect: smtp-nf-202.his.com[216.194.248.252] X-Barracuda-Start-Time: 1431954676 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi Received-SPF: pass (his.com: domain of dickey@his.com designates 216.194.248.141 as permitted sender) X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.19052 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 13:18:55 -0000 ----- Original Message ----- | From: "Jerry" | To: "FreeBSD FreeBSD" | Sent: Monday, May 18, 2015 9:00:51 AM | Subject: Problem with sed | | I rarely use sed, so I admit to not being fully acquainted with its | idiosyncrasies,; however, this one is really annoying. | | I am using this command in an attempt to remove empty lines: | | $ sed -i /^$/d /var/tmp/myfile.txt you have to quote the expression to prevent the '^' and '$' characters from being interpreted by the shell, for example sed -i '/^$/d' /var/tmp/myfile.txt -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net From owner-freebsd-questions@FreeBSD.ORG Mon May 18 13:31:50 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1694FF5D for ; Mon, 18 May 2015 13:31:50 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A4BF18F1 for ; Mon, 18 May 2015 13:31:49 +0000 (UTC) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t4IDVhPX023524 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 18 May 2015 14:31:44 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t4IDVhPX023524 Authentication-Results: smtp.infracaninophile.co.uk/t4IDVhPX023524; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Message-ID: <5559E9A4.409@FreeBSD.org> Date: Mon, 18 May 2015 14:31:16 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Problem with sed References: <20150518090051.6600f32a@seibercom.net> In-Reply-To: <20150518090051.6600f32a@seibercom.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="O9NjIEtDsh0W6bh16nqJxlwAe9qsFkQ3c" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 13:31:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --O9NjIEtDsh0W6bh16nqJxlwAe9qsFkQ3c Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015/05/18 14:00, Jerry wrote: > I rarely use sed, so I admit to not being fully acquainted with its > idiosyncrasies,; however, this one is really annoying. >=20 > I am using this command in an attempt to remove empty lines: >=20 > $ sed -i /^$/d /var/tmp/myfile.txt >=20 > and get this error: >=20 > sed: 1: "/var/tmp/myfile.txt": undefined label 'mp/myfile.txt' >=20 > I don't understand why. I am following the example I found in the "sed = & awk" handbook by "O'Reilly" >=20 sed -i.bak -e '/^$/d' /var/tmp/myfile.txt You're getting sed(1) confused as to what is the extension for the backup of the file it creates, what the command you want to rn is and what the input filename is. Also, you need to put some characters of syntactic significance to the shell inside quote marks. Cheers, Matthew --O9NjIEtDsh0W6bh16nqJxlwAe9qsFkQ3c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJVWem0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnJXQP/RykQUGX/Ri0tv7Zh02gZomB lE4jSJeGZ8rNxSwUU3jMdAOMzupvUa7kFXCc4n+4mdqmD18yMkDsjml/La/9qiC4 pnWxkf/dfq4L5eCPedLsjMAR6Xq8OMFeqTdpAG0yinEG4UkETOq3LT7cWjkqrqiR qBI+pouyx8ESZvL1enYM2eK3IhZgXS253RyRgeNPzA7ct36JRKH7BSGDoLfPl+VI roFmSM4GQUym00FrbRw4lwA80/MSB6sqfrh3OKSNy+P//1SogTrJmomTKUXlG2fO Jpsq/VYzgNLx7UU1UsjUBdrNGg2DnyNBKbNTUkfB3bt+OAuUz6WbgZK2lMCKSXPZ DBMVHHMkQUyt/ZKfTAmJYzK90oe8Mu5zhpUuNHW7kLC46Zdp4KAeajQRl0Ay02z7 mu88sC690+Wpzfpzx5ZZwxcVjE8fFnV342pzQQ/O1ERzhUW0dlCgfaRFjInkNSEq TUQIWAZvNPRnIdicNf6yzG5iepE5KuE+cLlODZmbTo2BmQwyoKsQ8FbWGD0Tckg2 w4RD/q4G7wnDzf9MZZ+AXYWls3NIFSMZvpvtoiELVwmYnJCEx30GHY6TZZ/ylDd3 7lBQK2BGWAlUE+uzGXs5p3YODwXtFYpE5U3Qxxz7ZiTMXYLyvIfxBXERDpZL/OQq PFZqiC6bdAye2IbPcDG8 =ZpAW -----END PGP SIGNATURE----- --O9NjIEtDsh0W6bh16nqJxlwAe9qsFkQ3c-- From owner-freebsd-questions@FreeBSD.ORG Mon May 18 14:18:51 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEB3F295 for ; Mon, 18 May 2015 14:18:51 +0000 (UTC) Received: from smtp1.bway.net (smtp1.bway.net [216.220.96.27]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97B4A1E5D for ; Mon, 18 May 2015 14:18:51 +0000 (UTC) Received: from gecko4 (host-216-220-115-37.dsl.bway.net [216.220.115.37]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp1.bway.net (Postfix) with ESMTPSA id 1C28295854; Mon, 18 May 2015 10:18:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1431958722; bh=cENLeASUQGLCvkw0b4t3EyIugUPxlHIWqCUgMXOn63U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Reply-To; b=XirbeDp7QoKZW6qBgD6EGLhyu4xBa4LtV66TD3vJDFzpoMBKl7IpVRCiH54qtrVO0 9MEEnl/GIuP2YbkqVFQmkUEnKwu7+ux3M8Tc7dbla09ugcsbO4nqUY6cPz+EbLSdBM gjzx0bgHSsjYnwGVmW9QkbtyjHdredbxpQRBFeP0= Date: Mon, 18 May 2015 10:18:41 -0400 From: mfv To: Arthur Chance Cc: Warren Block , freebsd-questions@freebsd.org Subject: Re: Setting Trim _AFTER_ a New Install Message-ID: <20150518101841.6fcd9a12@gecko4> In-Reply-To: <55277D4D.4010802@qeng-ho.org> References: <20150409152321.65de5fd0@gecko4> <55277D4D.4010802@qeng-ho.org> Reply-To: mfv@bway.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 14:18:51 -0000 On Fri, 10 Apr 2015 08:35:41 +0100 Arthur Chance wrote: > On 09/04/2015 22:27, Warren Block wrote: > > On Thu, 9 Apr 2015, mfv wrote: > > > >> Hello, > >> > >> I've recently installed FreeBSD r10.1 using bsdinstall and then > >> loaded a large number of programs and data. After spending > >> considerable time on the installation I discovered that my SSD has > >> TRIM which appears to be quite useful. After some investigation I > >> understand that it is a simple flag that can be set after booting > >> into single user mode. > >> > >> I hope my questions are simple: > >> > >> If TRIM is enabled will it mess up the disk so that everything has > >> to be reinstalled? > > > > No, it will not harm the data. That said, before running tunefs to > > enable it, make a backup. Always make a backup. > > > >> If not, is there anything else I should be aware of? > > > > If you used ZFS-on-root, tunefs(8) and TRIM do not apply. ZFS uses > > TRIM natively now, but I'm not sure if that was in 10.1 or only now > > in 10-STABLE. > > I'm on 10.1-REL, it's got TRIM in zfs > > root@arthur# sysctl vfs.zfs | grep trim > vfs.zfs.vdev.trim_on_init: 1 > vfs.zfs.vdev.trim_min_active: 1 > vfs.zfs.vdev.trim_max_active: 64 > vfs.zfs.vdev.trim_max_bytes: 2147483648 > vfs.zfs.vdev.trim_max_pending: 64 > vfs.zfs.trim.enabled: 1 > vfs.zfs.trim.txg_delay: 32 > vfs.zfs.trim.timeout: 30 > vfs.zfs.trim.max_interval: 1 > > Just wanted to send a long overdue thanks for your help. I followed Warren's admonition of doing a backup before changing the flag and was glad I did. Early in the morning, without being sufficiently caffeinated, I typed newfs rather than tunefs. That, of course, wiped out the disk. During re-installation the TRIM flag was set and the old data reloaded. The SSD performance is wonderful. Let this message be another object lesson of doing backups (and a plug for the caffeine industry). Cheers ... __o _ \<,_ Marek (+)/ (+) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-questions@FreeBSD.ORG Mon May 18 17:55:16 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7ACFD578 for ; Mon, 18 May 2015 17:55:16 +0000 (UTC) Received: from mail-qg0-f53.google.com (mail-qg0-f53.google.com [209.85.192.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3EE731BA7 for ; Mon, 18 May 2015 17:55:16 +0000 (UTC) Received: by qgfa7 with SMTP id a7so38899093qgf.1 for ; Mon, 18 May 2015 10:55:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mzlZWPeOcgkVp0BDdGZ2z/BeYlvtdEJ0m1f/k/gYQrY=; b=igq0rXxHl8SHXzl7QxHEHBA8P3Z24sKs5JPlvAuQf/Jp3EvNdQvgAFsRBaNSZQv3+9 0k89dhsZ86VOsiUxJ7fdBeCysQ5LaL50jtmFr91JYKU1u1zOxkAhFSqIcSaGrcaueZvH B5pOnvEbYCbWLGltX6HNfZ2t72me/Jx+xqiJP69iCWMmi2j5QSTSGHI39rlHJTuk7YpE EUwG+Bh62VwCpHDrl1cuGVcL18/ThM1J5wWQo5bvYVzWLX7GowLvYRUJNgMtBnjFH2U+ enx59SRHMfa3V5tpsxSAZQBzorVSrti2Qphzep14zkXNs5s+uMBxIgcSwTq6EBP51DB1 camA== X-Gm-Message-State: ALoCoQk6pTj89h9VkxGoTOoKJJdeUGEQhB/i2nvAJ3dLXmbEz3hEfMKrHogx6PYw5uOOJW6guAre MIME-Version: 1.0 X-Received: by 10.229.184.2 with SMTP id ci2mr8811711qcb.2.1431971709017; Mon, 18 May 2015 10:55:09 -0700 (PDT) Received: by 10.140.104.162 with HTTP; Mon, 18 May 2015 10:55:08 -0700 (PDT) In-Reply-To: <20150518115606.GA2898@aurora.oekb.co.at> References: <20150518115606.GA2898@aurora.oekb.co.at> Date: Mon, 18 May 2015 10:55:08 -0700 Message-ID: Subject: Re: NTP - ntpdc monlist no longer working (10.1) From: Michael Sierchio To: Ewald Jenisch Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 17:55:16 -0000 On Mon, May 18, 2015 at 4:56 AM, Ewald Jenisch wrote: > > > Upon checking my config I discovered "ntpc monlist" doesn't work in > 10.1 (the monlist command is used for checking for clients that have > connected to a NTP server). > > Please note, that I run the identical NTP-configuration (/etc/ntp.conf) on > both the new and old machine. > > Specifically in my ntp.conf I've got > > restrict 127.0.0.1 Have you enabled monitor via ntpc or ntp.conf? enable monitor It's disabled by default, to be sure. From owner-freebsd-questions@FreeBSD.ORG Mon May 18 17:57:49 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5551E622 for ; Mon, 18 May 2015 17:57:49 +0000 (UTC) Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com [209.85.216.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 188CB1BCF for ; Mon, 18 May 2015 17:57:48 +0000 (UTC) Received: by qcvo8 with SMTP id o8so93115339qcv.0 for ; Mon, 18 May 2015 10:57:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=UjBfOVDU8wYn6qHdEeciEonaXfvOULsbJH1BzaiaHHg=; b=MFuOznKzCPWI4h4ag1fneQ+TopjZN1kTuznUDdV9vuFCcUIRIjESSzCd0KQKIsDhho Sb3k3vh33SLBLzWnw+akt9Z0OBAYk87/Jo4yBZS/EF6aC0udOBlXMnpATHl7GiQfK7Ct oIGYPmFVRSAVPzxGQZ+XE+/tN5EbnL3v+/0pm1D65GFviRRHnxpZOonbIu7SdtKL2PZL VKmyx6jPz/43qDoJLrVXMQyOVkwDSPOrbhn4Vw37FCF5F+UDTtKAfhIz16SBiUTcKWTq /C7tlk4um1N5rqiRDs65Q2EJrwk/VSVplPcpZkjV/m3qSBvINs1uIps8OxK7EtefOZ4G Ixrg== X-Gm-Message-State: ALoCoQmC6mPfLLfnvcNJsWEsLXX27eybO25fokILeFVtOl6fjfhiAqxDI1S/mKQuuI3Ye6KtcjsB MIME-Version: 1.0 X-Received: by 10.140.28.102 with SMTP id 93mr30436611qgy.78.1431971861850; Mon, 18 May 2015 10:57:41 -0700 (PDT) Received: by 10.140.104.162 with HTTP; Mon, 18 May 2015 10:57:41 -0700 (PDT) In-Reply-To: References: <20150518115606.GA2898@aurora.oekb.co.at> Date: Mon, 18 May 2015 10:57:41 -0700 Message-ID: Subject: Re: NTP - ntpdc monlist no longer working (10.1) From: Michael Sierchio To: Ewald Jenisch Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 17:57:49 -0000 On Mon, May 18, 2015 at 10:55 AM, Michael Sierchio wrote: > > On Mon, May 18, 2015 at 4:56 AM, Ewald Jenisch wrote: > > > > > > > Upon checking my config I discovered "ntpc monlist" doesn't work in > > 10.1 (the monlist command is used for checking for clients that have > > connected to a NTP server). > > > > Please note, that I run the identical NTP-configuration (/etc/ntp.conf) > on > > both the new and old machine. > > > > Specifically in my ntp.conf I've got > > > > restrict 127.0.0.1 > > Have you enabled monitor via ntpc or ntp.conf? > > enable monitor > > It's disabled by default, to be sure. > The manpage still says otherwise ... From owner-freebsd-questions@FreeBSD.ORG Mon May 18 18:54:09 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9DDD12D for ; Mon, 18 May 2015 18:54:09 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A91ED13BB for ; Mon, 18 May 2015 18:54:09 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YuQAo-0006hV-WA for freebsd-questions@freebsd.org; Mon, 18 May 2015 20:53:59 +0200 Received: from p5dcd6c4b.dip0.t-ipconnect.de ([93.205.108.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 May 2015 20:53:58 +0200 Received: from jumper99 by p5dcd6c4b.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 May 2015 20:53:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Subject: 'mount_smbfs -o' on FreeBSD 10.1 Date: Mon, 18 May 2015 18:53:52 +0000 (UTC) Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5dcd6c4b.dip0.t-ipconnect.de User-Agent: XanaNews/1.19.1.194 X-Ref: news.gmane.org ~XNS:00000065 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 18:54:10 -0000 Hi, I upgraded from 9.3 to 10.1 yesterday. I used to use a script that mounts SMB shares and not fstab because 9.3 booted to single user mode when the SMB server was unavailable. It seems that with 10.1 mount_smbfs does not support the "-o" switch anymore: [helmut@BSDHelmut ~]$ sudo mount_smbfs -o noexec,nosuid,noatime,ro -N -I 192.168.124.251 -W DOMAIN //unix-smb-dummy@fs01/install /var/www/var/www/smbfs/install mount_smbfs: mount error: /var/www/var/www/smbfs/install Invalid option [helmut@BSDHelmut ~]$ sudo mount_smbfs -N -I 192.168.124.251 -W DOMAIN //unix-smb-dummy@fs01/install /var/www/var/www/smbfs/install [helmut@BSDHelmut ~]$ How can I pass those options with 10.1? Thanks, Helmut From owner-freebsd-questions@FreeBSD.ORG Mon May 18 20:40:48 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CF15763 for ; Mon, 18 May 2015 20:40:48 +0000 (UTC) Received: from nm14-vm5.access.bullet.mail.gq1.yahoo.com (nm14-vm5.access.bullet.mail.gq1.yahoo.com [216.39.63.132]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2AA71199 for ; Mon, 18 May 2015 20:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1431981474; bh=X6zIZnpb4t6RVlwHBKszNfjfmMGktlbf19BKbxe7G28=; h=From:To:Subject:Date:From:Subject; b=sK4/jDXH8QYQMIfu8rHhmSvHNUnFP7ZZPn0dgy6qvOEF+NON0vR5UzHo0l0yKjsDQAmXIa3q0rGTdQ38fe5xxqPfbxNb+kxRA2ydZ4k35DVn1nl9x8px1EP8PpxAdGktyH+MN79lHkyX0bsLH2AW6C4QyFl/a23wg6OAzivX0KhwB5tzWUGKPaPT1Amejyrc1D0wuB2o6ihemgRDu2w0C8EH3QrrwoewPo0+3sxnU7A7lqK/o6rkY/qwgeAjeTsEDPuiepDuJY+vzsCJCDscWVauUB42Oms7bGHB43NkW+NOyd5B0lNnvrgtH0thpSfCJT1CBow5sLESwalLZRptQQ== Received: from [216.39.60.170] by nm14.access.bullet.mail.gq1.yahoo.com with NNFMP; 18 May 2015 20:37:54 -0000 Received: from [67.195.22.119] by tm6.access.bullet.mail.gq1.yahoo.com with NNFMP; 18 May 2015 20:37:54 -0000 Received: from [127.0.0.1] by smtp114.sbc.mail.gq1.yahoo.com with NNFMP; 18 May 2015 20:37:54 -0000 X-Yahoo-Newman-Id: 350077.18794.bm@smtp114.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: fDkLNoEVM1lKMgLkznJR0Brh0zBdPEiQGbQgU5iDU8uqMfm p93SVe5dTRH6Z2MenNzdTLHVM0AF9j5UfivXbwbvaFw6jiUj8lsOqK1lOrB2 fsIJjSaPi9qoELvMEc9tnlrqK4gdkv_6Bw.FaJMqIoGP1YO7ti0mawm.vXHR Pr1rtxzM4ROe3wAZHmhjvJwdD1aJiwkFAFhxx_EEYOP.CUV9tulu.p9gROBb Dri03k7WcKYNwvO0fns1Ev859G9Ji2dpa9MK5XnhkdUFnsfVL42BYBvNYgOb TuXt2qTpKwJAHw_BbsP..DJBPRWcQhe_.XlJrkwInSvB4ESF3KBZrEumtd7W C.i1vraMDZHvgrh5ZM4Kl2pUW99zi2aoRGrT0f_0p0JQaCKa.plclv7tJut4 NO1uvjYD.4g9_WPZ3Kk87qdFonM4VmQwbDUbQjXvfsukwsNP6B_yDetX3wJd 6hC7WdGZBdSAXATb5.m6TIQr3zEncrRe1F3xs.iYg7aPGyHo5e8q2k9BJdvN 50Dng4ZGJiWunUQeiaZF6ZKMeEnAZSi01XXFwqt0JWM3gsA46 X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: looking at manual page for rc.conf Date: Mon, 18 May 2015 13:37:52 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 20:40:48 -0000 I am looking at the manual page for rc.conf and am wondering how I would specify default router address when using DHCP? I don't see any further explicit elucidations beyond the text quoted below. text from man page: It is possible to bring up an interface with DHCP by adding ``DHCP'' to the ifconfig_ variable. For instance, to initialize the ed0 device via DHCP, it is possible to use something like: ifconfig_ed0="DHCP" actually, I have ifconfig_em0="DHCP" Is the router address something that DHCP will figure out? This interface will be for connection to internet via DSL modem ISP is CenturyLink. or alternately, suppose I want to assign a static address to interface that would connect to internet via DSL modem. ifconfig_em0="inet 192.168.0.4 netmask 255.255.255.0" When the router is at 192.168.0.1, how would this be specified. I have also looked at ifconfig(8) and have found anything. I have also had the kernel complain via a shell script set to run in I am also concerned about setting up tcp wrappers with inetd to forestal possible attempts to access via telnet, ssh, ftp and even MySql server (as I have seen frequently when I had static ip address service). This I have done when I did have static ip service. But with fire wall in DSL modem and DHCP configuration is it useful and advantageous? From owner-freebsd-questions@FreeBSD.ORG Mon May 18 20:51:40 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77F96C7A for ; Mon, 18 May 2015 20:51:40 +0000 (UTC) Received: from mail-in2.apple.com (mail-out2.apple.com [17.151.62.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54688138A for ; Mon, 18 May 2015 20:51:39 +0000 (UTC) Received: from relay6.apple.com (relay6.apple.com [17.128.113.90]) by mail-in2.apple.com (Apple Secure Mail Relay) with SMTP id 8F.7F.19360.5D05A555; Mon, 18 May 2015 13:51:33 -0700 (PDT) X-AuditID: 11973e11-f79186d000004ba0-3f-555a50d50498 Received: from [17.149.231.16] (Unknown_Domain [17.149.231.16]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by relay6.apple.com (Apple SCV relay) with SMTP id 6E.7A.32468.A905A555; Mon, 18 May 2015 13:50:34 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: looking at manual page for rc.conf From: Charles Swiger In-Reply-To: Date: Mon, 18 May 2015 13:51:33 -0700 Cc: FreeBSD - Content-Transfer-Encoding: quoted-printable Message-Id: <7DCD8F5E-4995-4A65-921C-FA5F8AE4671A@mac.com> References: To: Jeffry Killen X-Mailer: Apple Mail (2.2098) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsUi2FAYpXs1ICrU4Op5KYuXXzexWLy5v4bZ gcljxqf5LB5/Nl9mC2CK4rJJSc3JLEst0rdL4MrYcnM6e8EW/ortFw+zNjAu5Oli5OSQEDCR ODurlx3CFpO4cG89WxcjF4eQwF5GiQN9P1lhiq483s0KkZjKJLH1834WkASzgJbEjX8vmUBs XgE9iUdPH4NNEhbQl/h57AxQnIODTUBNYsJEsGWcAvYSD3buYAaxWQRUJZYcfcoKMUZXounG W0YIW1ti2cLXzBAjrSTeTPgPZgsJ2Ens+nqIDcQWEdCQ+LXiBdh4CQFZia9b5UBOkxD4yirR d+cz0wRGoVlIrpuF5LpZSFYsYGRexSiUm5iZo5uZZ6SXWFCQk6qXnJ+7iREUwNPtBHcwHl9l dYhRgINRiYfX4k1EqBBrYllxZe4hRmkOFiVxXmH7qFAhgfTEktTs1NSC1KL4otKc1OJDjEwc nFINjBYx/07O+HWVWSuz892CtcIPNyVHzt93b1JOm37E/MdfjXIEk78e78t68K7N9bWNX0Nu 4eFbdcwZDkYdDP6Sgg98tEVXXi6J0J8wJf3mes6rsgWpJenSwhvTQuruMZSrR99xXrMx9Bev qbLa/3r+PDGJ1rCMN5NuHu/7H6TlK7CmIklfoJRfiaU4I9FQi7moOBEASb+dcUECAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrILMWRmVeSWpSXmKPExsUiOPW5gO6sgKhQg9uP+Cxeft3EYvHm/hpm ByaPGZ/ms3j82XyZLYApissmJTUnsyy1SN8ugStjy83p7AVb+Cu2XzzM2sC4kKeLkZNDQsBE 4srj3awQtpjEhXvr2boYuTiEBKYySWz9vJ8FJMEsoCVx499LJhCbV0BP4tHTx+wgtrCAvsTP Y2eA4hwcbAJqEhMmgs3kFLCXeLBzBzOIzSKgKrHk6FNWiDG6Ek033jJC2NoSyxa+ZoYYaSXx ZsJ/MFtIwE5i19dDbCC2iICGxK8VL8DGSwjISnzdKjeBkX8WkoNmITloFpKpCxiZVzEKFKXm JFaa6SUWFOSk6iXn525iBAVcQ2HUDsaG5VaHGAU4GJV4eC3eRIQKsSaWFVfmHmKU4GBWEuHd pxgVKsSbklhZlVqUH19UmpNafIhRmoNFSZx3iVRoqJBAemJJanZqakFqEUyWiYNTqoHRRdU7 1vl5076DQsWzfp1suWbr0Ld4mV5+NNdXt6f+1v9+9C0tP5o242av8Z9dU3eedIlrnh3TEqz7 3nXVhN0/7YL9Pe5ofMmY0PIuuzr7c32VUvHpTqHrkb+vHfOcf2DjyQ/9fCrK/os2cPtxNETM 2C/28Ovu5e4e30xbPi7cV3e1X+3i6lvblViKMxINtZiLihMBqZt16DQCAAA= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 20:51:40 -0000 On May 18, 2015, at 1:37 PM, Jeffry Killen wrote: > I am looking at the manual page for rc.conf and am wondering > how I would specify default router address when using DHCP? Normally one doesn't need to do so; DHCP is supposed to configure that = for you. > I don't see any further explicit elucidations beyond the text quoted = below. >=20 > text from man page: >=20 > It is possible to bring up an interface with DHCP by adding = ``DHCP'' to the ifconfig_ variable. > For instance, to initialize the ed0 device via DHCP, it is possible = to use something like: > ifconfig_ed0=3D"DHCP" >=20 > actually, I have > ifconfig_em0=3D"DHCP" > Is the router address something that DHCP will figure out? Yes. > This interface will be for connection to internet via DSL modem > ISP is CenturyLink. >=20 > or alternately, suppose I want to assign a static address to interface > that would connect to internet via DSL modem. > ifconfig_em0=3D"inet 192.168.0.4 netmask 255.255.255.0" > When the router is at 192.168.0.1, how would this be specified. Add: defaultrouter=3D"192.168.0.1" ...to /etc/rc.conf. > I have also looked at ifconfig(8) and have found anything. ifconfig(8) sets up an interface; route(8) manages routing. > I have also had the kernel complain via a shell script set to > run in >=20 > I am also concerned about setting up tcp wrappers with inetd > to forestal possible attempts to access via telnet, ssh, ftp and > even MySql server (as I have seen frequently when I had static > ip address service). tcp wrappers typically only affects services launched by inetd, which doesn't normally include SSH or MySQLd. > This I have done when I did have static ip > service. But with fire wall in DSL modem and DHCP configuration > is it useful and advantageous? Yes, even a local per-host firewall improves security by a useful = amount. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon May 18 23:24:23 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D751690 for ; Mon, 18 May 2015 23:24:23 +0000 (UTC) Received: from nm12-vm4.access.bullet.mail.gq1.yahoo.com (nm12-vm4.access.bullet.mail.gq1.yahoo.com [216.39.63.100]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 715951498 for ; Mon, 18 May 2015 23:24:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1431991252; bh=yLYxWeS01MfjSOyGipvfWkT3trx5JvW9s/G4TQswG/E=; h=Cc:From:To:In-Reply-To:Subject:Date:References:From:Subject; b=Tgjy3H1LPOVa6XseCAaV+ExJ0c8B8szDESsiBgh1XcsQ7WEVNXa9RuRGSDpbN63L+oDvK6AJ2qNkZnhojlo+v0G8wbuvoaQT/HVKQEWFroqrHGvTatFg3vkMRjYnkZ1SI9E8e9JESX3lHuGd0w5HSe9ntcY+1CGLlD6bQJgCk3hWPArZMTp5Y8yItATFkjOKZFMeThjVwFySb8g2Nm6HcXbyERV2qi7Leu0eG1x6fhlNfLjBcmpl1gUUDsBmer4+RMcoZN84d4xO5I31Ywdo1UHwJf+x/Vl6nNFCyY19L/zcaLES3PpWBGF+mn1FB4wk56ese8TadeEmu+lxFepXQw== Received: from [216.39.60.166] by nm12.access.bullet.mail.gq1.yahoo.com with NNFMP; 18 May 2015 23:20:52 -0000 Received: from [67.195.23.146] by tm2.access.bullet.mail.gq1.yahoo.com with NNFMP; 18 May 2015 23:20:52 -0000 Received: from [127.0.0.1] by smtp118.sbc.mail.gq1.yahoo.com with NNFMP; 18 May 2015 23:20:52 -0000 X-Yahoo-Newman-Id: 102517.5366.bm@smtp118.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: AOkYsjoVM1nVnwd_XoN_1ERb8NK4VwoQY5wSKZzcItPG3Oo c5ZbprC0lz7BDwsanqpNNEnptPwM11g6ofPzxJvE091HVUhAYetAZGMISBHj MSzh4sXRxpLUpBSP.2dJ.o0U5Jp4IMEu6vbTGNYPDO2f13xBeATRnZQghm7d muk5z56VqVCYSBdbFOMV6MCXuRbmIFoPtb.X9hs61SFcde0dA.4AaxaIIjp. bxVYDEqPO6t6JC_paRR_ENxFwTTXDrmM8G1de2d20Ed2ZGXLbnzsn8otU86V hgvFo9sb4USBgpd_qoFmDfRWoEu3HnPZqxAGfqjuh35p5oZnC42yR_oVkYGy ebU.bJlzjH8LHuFyVVl3V8sLYf1xmA4v2Z8TJAfSmbyE5dqzRnShPRiP52or L_0cHR6I8hYEPl6mAhlXL_3l9W3.XO3Qi.QUbsX6qXUV_WrWs_xdPbm5wrW6 fJyt30fvDRCYb2px1xPfAJ414E8A6rbol97.JY6CnmMbYsqFHj3KI7VbVKrP 789_RUUMRyMMQjwOinhVM3Y5gUMkphGOSV6V32GrCUDBjFRlH41XWTt8rVsu ORIbVUXU8eQ-- X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Cc: FreeBSD - Message-Id: From: Jeffry Killen To: Charles Swiger In-Reply-To: <7DCD8F5E-4995-4A65-921C-FA5F8AE4671A@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: looking at manual page for rc.conf Date: Mon, 18 May 2015 16:20:50 -0700 References: <7DCD8F5E-4995-4A65-921C-FA5F8AE4671A@mac.com> X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 23:24:23 -0000 On May 18, 2015, at 1:51 PM, Charles Swiger wrote: > On May 18, 2015, at 1:37 PM, Jeffry Killen > wrote: >> I am looking at the manual page for rc.conf and am wondering >> how I would specify default router address when using DHCP? > > Normally one doesn't need to do so; DHCP is supposed to configure > that for you. > >> I don't see any further explicit elucidations beyond the text >> quoted below. >> >> text from man page: >> >> It is possible to bring up an interface with DHCP by adding >> ``DHCP'' to the ifconfig_ variable. >> For instance, to initialize the ed0 device via DHCP, it is possible >> to use something like: >> ifconfig_ed0="DHCP" >> >> actually, I have >> ifconfig_em0="DHCP" >> Is the router address something that DHCP will figure out? > > Yes. > >> This interface will be for connection to internet via DSL modem >> ISP is CenturyLink. >> >> or alternately, suppose I want to assign a static address to >> interface >> that would connect to internet via DSL modem. >> ifconfig_em0="inet 192.168.0.4 netmask 255.255.255.0" >> When the router is at 192.168.0.1, how would this be specified. > > Add: defaultrouter="192.168.0.1" ...to /etc/rc.conf. > >> I have also looked at ifconfig(8) and have not found anything. > > ifconfig(8) sets up an interface; route(8) manages routing. > >> I have also had the kernel complain via a shell script set to >> run in The last was text I started and abandoned and neglected to remove. sorry. roughly, "run by cron every 11 minutes because I had what amounted to commands in rc.conf, or syntax interpreted as commands. That issue was resolved long ago. It sent e-mails to root every 11 minutes complaining about what appeared to be a unrelated issue. >> >> I am also concerned about setting up tcp wrappers with inetd >> to forestal possible attempts to access via telnet, ssh, ftp and >> even MySql server (as I have seen frequently when I had static >> ip address service). > > tcp wrappers typically only affects services launched by inetd, which > doesn't normally include SSH or MySQLd. I did have entries in tcp wrappers config (name escapes me now) and/or inetd.conf for ssh and mysql, as I recall. > >> This I have done when I did have static ip >> service. But with fire wall in DSL modem and DHCP configuration >> is it useful and advantageous? > > Yes, even a local per-host firewall improves security by a useful > amount. > > Regards, > -- > -Chuck Thank you for your time attention and response JK From owner-freebsd-questions@FreeBSD.ORG Tue May 19 09:03:27 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA194949 for ; Tue, 19 May 2015 09:03:27 +0000 (UTC) Received: from mgaterz2.oekb.co.at (mgaterz2.oekb.co.at [143.245.5.112]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mgaterz1.oekb.co.at", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41E5D159C for ; Tue, 19 May 2015 09:03:26 +0000 (UTC) Received: from exchhubcas1.oekb.co.at ([143.245.3.64]) by mgaterz2.oekb.co.at with ESMTP/TLS/AES128-SHA; 19 May 2015 11:02:14 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by internal-relay-exchhubcas1.oekb.co.at (143.245.3.65) with Microsoft SMTP Server id 14.3.210.2; Tue, 19 May 2015 11:02:12 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.9/8.14.9) with ESMTP id t4J92C7F001217; Tue, 19 May 2015 11:02:12 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.9/8.14.9/Submit) id t4J92CVJ001216; Tue, 19 May 2015 11:02:12 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Tue, 19 May 2015 11:02:12 +0200 From: Ewald Jenisch To: Michael Sierchio CC: FreeBSD Questions Subject: Re: NTP - ntpdc monlist no longer working (10.1) Message-ID: <20150519090212.GA1137@aurora.oekb.co.at> References: <20150518115606.GA2898@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 09:03:27 -0000 On Mon, May 18, 2015 at 10:57:41AM -0700, Michael Sierchio wrote: > > Have you enabled monitor via ntpc or ntp.conf? > > > > enable monitor > > > > It's disabled by default, to be sure. > > > > The manpage still says otherwise ... Hi, Thanks alot for the hint that got me on the right track :-) Indeed you've got to explicitly have "enable monitor" in your ntp.conf in order for "ntpdc monlist" to work; and you are right, the manpage says it's enabled by default... -ewald From owner-freebsd-questions@FreeBSD.ORG Tue May 19 10:01:30 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C68A71E for ; Tue, 19 May 2015 10:01:30 +0000 (UTC) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9F591E35 for ; Tue, 19 May 2015 10:01:29 +0000 (UTC) Received: by wichy4 with SMTP id hy4so15490479wic.1 for ; Tue, 19 May 2015 03:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=grDgKMqZmlC5bgkNSEVamssXYou4zisUowXhwBoDXOM=; b=RJ8pc8OMj0I4Lxj4O6lMmc0wjvRpcWO7WC5zIC+bshgDNCWne0BireQodzu66n3jsL k9Un4yiTL3fTU+En/3Wr6z4I5lkDZl7PwXvpO5dvpGlPJHOiYGm1hFU7Xu1OE5DDKP6h 1y5NkvoM1Nrkvd3mritjCu2dq34EfQhijpkC13ZhZJvYaZWbmEwE85/bMDNq5r1EuP9/ VW2KWFN1J6lq8ZId7vTtEducdkLA7xq/RVWu/vhzq8G6yVDPF9xRx6tUWhcGuXFd2YmK EP5AWgpJvpfM11nB91ZLV3KTIEjuXFdZkX0b1krjqAas6JH9yD/jnog6MKK8bjjjJLOy Qmig== MIME-Version: 1.0 X-Received: by 10.180.75.72 with SMTP id a8mr29829355wiw.5.1432029687982; Tue, 19 May 2015 03:01:27 -0700 (PDT) Sender: fluca1978@gmail.com Received: by 10.194.80.163 with HTTP; Tue, 19 May 2015 03:01:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 May 2015 12:01:27 +0200 X-Google-Sender-Auth: NwYgF14o54pgyrqmIiHGjHAlSgE Message-ID: Subject: Re: looking at manual page for rc.conf From: Luca Ferrari To: Jeffry Killen Cc: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 10:01:30 -0000 On Mon, May 18, 2015 at 10:37 PM, Jeffry Killen wrote: > Is the router address something that DHCP will figure out? Well, dhcp is supposed to do its job suggesting an ip address, a gateway, a coupld of dns servers. > I have also looked at ifconfig(8) and have found anything. The command you are looking for is (not surprisingly) route(8). > I am also concerned about setting up tcp wrappers with inetd > to forestal possible attempts to access via telnet, ssh, ftp and > even MySql server (as I have seen frequently when I had static > ip address service). This I have done when I did have static ip > service. But with fire wall in DSL modem and DHCP configuration > is it useful and advantageous? I don't understand the question very well, but I would go for a firewall on the interface (not the ip) with pf. Hope this helps. Luca From owner-freebsd-questions@FreeBSD.ORG Tue May 19 10:21:59 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E38D273 for ; Tue, 19 May 2015 10:21:59 +0000 (UTC) Received: from homiemail-a94.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by mx1.freebsd.org (Postfix) with ESMTP id E7B9213CA for ; Tue, 19 May 2015 10:21:58 +0000 (UTC) Received: from homiemail-a94.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a94.g.dreamhost.com (Postfix) with ESMTP id 2411538A06F; Tue, 19 May 2015 03:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type: in-reply-to; s=ozzmosis.com; bh=CID31NB2kDDIrDtSUJZvwvxrHg8=; b= GFzSTwAlnwBj177RF3mdBHaM7x1in5W8ll6J0YfawBtwQ2EK1i4FlNG6t9l0bH5K YIYv2YVoS47uTVx3hmi5r4s/+Cl1tvMJ881jn2JFwlBhdbLzNJzvOqaSShm0VXiI Zn4b78DXNKHKHagEQWJdOafKpj+8NgERAYNTapzEa9s= Received: from blizzard.ozzmosis.com (203-206-127-199.dyn.iinet.net.au [203.206.127.199]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by homiemail-a94.g.dreamhost.com (Postfix) with ESMTPSA id DF01238A059; Tue, 19 May 2015 03:21:57 -0700 (PDT) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id BE0C4946; Tue, 19 May 2015 20:21:55 +1000 (AEST) Date: Tue, 19 May 2015 20:21:55 +1000 From: andrew clarke To: Helmut Schneider Cc: freebsd-questions@freebsd.org Subject: Re: 'mount_smbfs -o' on FreeBSD 10.1 Message-ID: <20150519102155.GA88695@ozzmosis.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 10:21:59 -0000 On Mon 2015-05-18 18:53:52 UTC+0000, Helmut Schneider (jumper99@gmx.de) wrote: > I upgraded from 9.3 to 10.1 yesterday. I used to use a script that > mounts SMB shares and not fstab because 9.3 booted to single user mode > when the SMB server was unavailable. > > It seems that with 10.1 mount_smbfs does not support the "-o" switch > anymore: I think it does... > [helmut@BSDHelmut ~]$ sudo mount_smbfs -o noexec,nosuid,noatime,ro -N > -I 192.168.124.251 -W DOMAIN //unix-smb-dummy@fs01/install > /var/www/var/www/smbfs/install > mount_smbfs: mount error: /var/www/var/www/smbfs/install Invalid option > [helmut@BSDHelmut ~]$ sudo mount_smbfs -N -I 192.168.124.251 -W DOMAIN > //unix-smb-dummy@fs01/install /var/www/var/www/smbfs/install > [helmut@BSDHelmut ~]$ > > How can I pass those options with 10.1? I suspect it's the "noatime" option that it's objecting to, although you wouldn't know from the error message. Try it without noatime. Also, fwiw, you can use mount -t instead. This works for me on 10.1: $ sudo mount -t smbfs -o -U=ozzmosis -o noexec,nosuid,ro //server/share /mnt From owner-freebsd-questions@FreeBSD.ORG Tue May 19 11:04:59 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 212FAA98 for ; Tue, 19 May 2015 11:04:59 +0000 (UTC) Received: from homiemail-a82.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by mx1.freebsd.org (Postfix) with ESMTP id 01E801918 for ; Tue, 19 May 2015 11:04:58 +0000 (UTC) Received: from homiemail-a82.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a82.g.dreamhost.com (Postfix) with ESMTP id 67C7D282061; Tue, 19 May 2015 04:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; s=ozzmosis.com; bh=qJzMm ygWZjlw1/to74n2d3/Q8WM=; b=kGXNPzeXmS0UfqzwOD4vmuCUlaiskHzVvskew 02uzzd3IQVAoNomeZXw2ToJW9kVCae4njKVARqJxGL4IKKu5l++2Lx3bP/ZCMI1X CR3MZYd1xH7m6wKqcmV+M2Lc3m/AZDBGn2ie4lhy7KT3CWx6TemXMGChJ5cBf5jY XjjXEA= Received: from blizzard.ozzmosis.com (203-206-127-199.dyn.iinet.net.au [203.206.127.199]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by homiemail-a82.g.dreamhost.com (Postfix) with ESMTPSA id EE90C28205F; Tue, 19 May 2015 04:04:57 -0700 (PDT) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id 00682952; Tue, 19 May 2015 21:04:55 +1000 (AEST) Date: Tue, 19 May 2015 21:04:55 +1000 From: andrew clarke To: Polytropon Cc: Ian Smith , Trevor Roydhouse , gyliamos@gmail.com, freebsd-questions@freebsd.org Subject: Re: Strange return codes from old but good C program Message-ID: <20150519110455.GB88695@ozzmosis.com> References: <20150517204503.V69409@sola.nimnet.asn.au> <20150517124223.GA82704@ozzmosis.com> <5558A2D0.8080207@hiwaay.net> <20150517171713.09b01ec4.freebsd@edvax.de> <20150518135507.ada90d25.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150518135507.ada90d25.freebsd@edvax.de> User-Agent: Mutt/1.5.23 (2014-03-12) Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 11:04:59 -0000 On Mon 2015-05-18 13:55:07 UTC+0200, Polytropon (freebsd@edvax.de) wrote: > On Sun, 17 May 2015 19:45:09 +0000 (UTC), Will Parsons wrote: > > I don't have the actual C standard, but Harbison & Steele's "C - A > > Reference Manual" (which I think can be relied on) states "If the end > > of the body of *main* is reached without returning, it is treated as > > if *return 0;* were executed". After a bit of Googling, my understanding is that this is true for C99 (and probably C++98) but the earlier C89 (ANSI X3.159-1989) standard had no implicit return 0 for main(). See below for test results. Ian may want to recompile with -std=3Dc99 for main() to implicitly return 0. Or he could just add "return 0" at the end, probably. I haven't really looked at the code. $ rm -f *.o ssystem $ make -f unixl.mak CC=3Dgcc CFLAGS=3D-std=3Dc99 > In that case, no random return codes should appear. It also > doesn't meet the little test I've wrote (which again matches > with the initially described problem). >=20 > I have written (haha) the following "test case": >=20 > % cat returntest.c > main() { > int i, j; > for(i =3D 0, j =3D 0; i < 100; i++) > j +=3D i; > } >=20 > There are two "error" in it: main() doesn't have a return > type assigned, so per standard (int) will be assumed. And > there is no return statement. >=20 > Compiler is system's gcc (older system, obviously): > > % cc -Wall -o returntest returntest.c=20 > returntest.c:1: warning: return type defaults to 'int' > returntest.c: In function 'main': > returntest.c:5: warning: control reaches end of non-void function >=20 > This is what we expect. >=20 > But the program can be run, and we see: >=20 > % ./returntest ; echo $? > 99 Clang 3.4.1 on FreeBSD 10.1 amd64: $ clang -Wall -o returntest returntest.c returntest.c:1:1: warning: type specifier missing, defaults to 'int' [-Wi= mplicit-int] main() ^~~~ 1 warning generated. $ ./returntest ; echo $? 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GNU C 4.8.4_3 on FreeBSD 10.1 amd64: $ gcc48 -Wall -o returntest returntest.c returntest.c:1:1: warning: return type defaults to 'int' [-Wreturn-type] main() ^ returntest.c: In function 'main': returntest.c:6:1: warning: control reaches end of non-void function [-Wre= turn-type] } ^ $ ./returntest ; echo $? 99 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GNU C 4.8.4_3 on FreeBSD 10.1 amd64 using -std=3Dc99: $ gcc48 -std=3Dc99 -Wall -o returntest returntest.c returntest.c:1:1: warning: return type defaults to 'int' [enabled by defa= ult] main() ^ $ ./returntest ; echo $? 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GNU C 4.8.2 on Ubuntu 14.04 x86_64: $ gcc -Wall -o returntest returntest.c returntest.c:1:1: warning: return type defaults to =E2=80=98int=E2=80=99 = [-Wreturn-type] main() ^ returntest.c: In function =E2=80=98main=E2=80=99: returntest.c:6:1: warning: control reaches end of non-void function [-Wre= turn-type] } ^ $ ./returntest ; echo $? 99 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GNU C 4.8.2 on Ubuntu 14.04 x86_64 using -std=3Dc99: $ gcc -std=3Dc99 -Wall -o returntest returntest.c returntest.c:1:1: warning: return type defaults to =E2=80=98int=E2=80=99 = [enabled by default] main() ^ $ ./returntest ; echo $? 0 Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Tue May 19 12:41:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D3F5415 for ; Tue, 19 May 2015 12:41:55 +0000 (UTC) Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E663C154E for ; Tue, 19 May 2015 12:41:54 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so31828533igb.1 for ; Tue, 19 May 2015 05:41:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=Endj4rh+C5se3DFjzHbfyGHv/yEU1EjDf1zaBGG0v04=; b=U3d2i6c+FeLtHgDAUIOL/UqWvhjcqTQy0mFVhreHJ7Vu809Yq74JxZ1XQcf63lIiko 9PlpZzivVTYHR1x7FgkNTscEbeiYceXHBkL1BCdn12L7MpGUSABW/xeItliW8QUjYn4R PFcKxKTielPhj3AnPZTW2DM91WXkzSAKHEsO7/p/+S2CSfzcxhoHld4kl1zrnnWxTqsk kqscHpRbkNyhYpccGaSj8Rx76YQdGGUDgcCFvmqYVb143WfzDT7vSRZlNZ41fkprO5ET oule4mC7XJXwM9JVxkD5Yux5ZRayThPKYSgSiMUAL5Trs1lakhBUkIeFWwkS9wIoLb57 5Wcg== X-Gm-Message-State: ALoCoQnyRN4N0hwdh/wDV8b9oqSGexJve/FVdFTiGAoojKhUzNMaJ2+ThKsLP7XDfMubn384DHG9kXR5RstZ5O0C1nzwPzBSUXJCCtaYejD0GND43Ob3ZVnxwad+Ksf7ia+KpU7S5GWx X-Received: by 10.107.10.79 with SMTP id u76mr35667340ioi.79.1432039308555; Tue, 19 May 2015 05:41:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.59.148 with HTTP; Tue, 19 May 2015 05:41:27 -0700 (PDT) From: Jaime Kikpole Date: Tue, 19 May 2015 08:41:27 -0400 Message-ID: Subject: SFTP doesn't work from a specific client To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 12:41:55 -0000 I have a system that pushes out data files via SFTP to a FreeBSD system each night. I'm in the process of replacing that FreeBSD system (its really old & still runs 8.x.) My issue is that the data source can't connect via SFTP, but other systems can. When it tries, this appears in /var/log/auth.log: May 19 08:24:56 its1 sshd[38792]: error: PAM: authentication error for from May 19 08:24:56 its1 sshd[38792]: error: Received disconnect from : 3: com.jcraft.jsch.JSchException: Auth cancel [preauth] When I test it from the system that pushes out the data, it prompts me to accept an SSH key and then tells me that it failed to connect. Unfortunately, its a GUI and has basically no diagnostic data to work from. I get the same results when I try to make the data source do SFTP conenctions to other systems, including some that are 10.1-RELEASE-p9 and some that are 10.1-RELEASE-p10. The weird thing is that I can use command line SFTP from any other location (including other FreeBSD systems and even a MacOS 10.9 system at home) to connect to these FreeBSD systems and everything works. I can connect, authenticate, and even ls and cd around the file system. This feels like the data sending software is expecting something that isn't setup on the FreeBSD 10.1 systems, but is setup on the FreeBSD 8.x system. I just don't know what. Any thoughts on how to diagnose this? -- Jaime Kikpole Network Administrator Cairo-Durham Central School District Technical Support: help@cairodurham.org go.cairodurham.org/techtips -- This electronic message and any attachment(s) may contain confidential or legally privileged information protected by law from further disclosure and is intended only for the individual or entity identified above as the addressee. If you are not the addressee (or the employee or agency responsible to deliver it to the addressee), or if this message has been addressed to you in error, you are hereby notified that you may not copy, forward, disclose or use any part of this message or any attachment(s). Please notify the sender immediately by return email or telephone and permanently delete this message and attachment(s) from your system. From owner-freebsd-questions@FreeBSD.ORG Tue May 19 12:58:47 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B218790 for ; Tue, 19 May 2015 12:58:47 +0000 (UTC) Received: from alisocreek.buildingonline.net (alisocreek.buildingonline.net [204.109.62.198]) by mx1.freebsd.org (Postfix) with ESMTP id C8D8F16E4 for ; Tue, 19 May 2015 12:58:45 +0000 (UTC) Received: by alisocreek.buildingonline.net (Postfix, from userid 58) id E0D0BBC9F28; Tue, 19 May 2015 05:53:10 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alisocreek.buildingonline.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from [192.168.1.249] (busarow2 [69.51.79.5]) (Authenticated sender: dan@dpcsys.com) by alisocreek.buildingonline.net (Postfix) with ESMTPA id 47BA7BC9950; Tue, 19 May 2015 05:53:03 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: SFTP doesn't work from a specific client From: Dan Busarow In-Reply-To: Date: Tue, 19 May 2015 06:53:02 -0600 Cc: "freebsd-questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <6C5D9AED-5CEB-45D8-B4EA-3398E3840A59@fishcreekventures.com> References: To: Jaime Kikpole X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 12:58:47 -0000 > On May 19, 2015, at 6:41 AM, Jaime Kikpole = wrote: >=20 > I have a system that pushes out data files via SFTP to a FreeBSD > system each night. I'm in the process of replacing that FreeBSD > system (its really old & still runs 8.x.) My issue is that the data > source can't connect via SFTP, but other systems can. When it tries, > this appears in /var/log/auth.log: >=20 > May 19 08:24:56 its1 sshd[38792]: error: PAM: authentication error for > from > May 19 08:24:56 its1 sshd[38792]: error: Received disconnect from ADDRESS>: 3: com.jcraft.jsch.JSchException: Auth cancel [preauth] >=20 > When I test it from the system that pushes out the data, it prompts me > to accept an SSH key and then tells me that it failed to connect. > Unfortunately, its a GUI and has basically no diagnostic data to work > from. >=20 > I get the same results when I try to make the data source do SFTP > conenctions to other systems, including some that are 10.1-RELEASE-p9 > and some that are 10.1-RELEASE-p10. The weird thing is that I can use > command line SFTP from any other location (including other FreeBSD > systems and even a MacOS 10.9 system at home) to connect to these > FreeBSD systems and everything works. I can connect, authenticate, > and even ls and cd around the file system. >=20 > This feels like the data sending software is expecting something that > isn't setup on the FreeBSD 10.1 systems, but is setup on the FreeBSD > 8.x system. I just don't know what. >=20 > Any thoughts on how to diagnose this? >=20 No ideas for diagnosis. But my guess would be that your failing system is using SSH protocol 1 = and your 10.1 system does not have protocol 1 enabled. sshd_config # The default requires explicit activation of protocol 1 #Protocol 2 Dan >=20 > --=20 > Jaime Kikpole > Network Administrator > Cairo-Durham Central School District >=20 > Technical Support: > help@cairodurham.org > go.cairodurham.org/techtips >=20 > --=20 > This electronic message and any attachment(s) may contain confidential = or=20 > legally privileged information protected by law from further = disclosure and=20 > is intended only for the individual or entity identified above as the=20= > addressee. If you are not the addressee (or the employee or agency=20 > responsible to deliver it to the addressee), or if this message has = been=20 > addressed to you in error, you are hereby notified that you may not = copy,=20 > forward, disclose or use any part of this message or any = attachment(s).=20 > Please notify the sender immediately by return email or telephone and=20= > permanently delete this message and attachment(s) from your system. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue May 19 13:47:07 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5399561 for ; Tue, 19 May 2015 13:47:07 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 75C491D89 for ; Tue, 19 May 2015 13:47:07 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YuhrL-0003CW-E4 for freebsd-questions@freebsd.org; Tue, 19 May 2015 15:47:03 +0200 Received: from p5dcd60e2.dip0.t-ipconnect.de ([93.205.96.226]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 May 2015 15:47:03 +0200 Received: from jumper99 by p5dcd60e2.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 May 2015 15:47:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Subject: Re: 'mount_smbfs -o' on FreeBSD 10.1 Date: Tue, 19 May 2015 13:46:56 +0000 (UTC) Lines: 49 Message-ID: References: <20150519102155.GA88695@ozzmosis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5dcd60e2.dip0.t-ipconnect.de User-Agent: XanaNews/1.19.1.194 X-Ref: news.gmane.org ~XNS:00000066 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 13:47:07 -0000 andrew clarke wrote: > On Mon 2015-05-18 18:53:52 UTC+0000, Helmut Schneider > (jumper99@gmx.de) wrote: > > > I upgraded from 9.3 to 10.1 yesterday. I used to use a script that > > mounts SMB shares and not fstab because 9.3 booted to single user > > mode when the SMB server was unavailable. > > > > It seems that with 10.1 mount_smbfs does not support the "-o" switch > > anymore: > > I think it does... > > > [helmut@BSDHelmut ~]$ sudo mount_smbfs -o noexec,nosuid,noatime,ro > > -N -I 192.168.124.251 -W DOMAIN //unix-smb-dummy@fs01/install > > /var/www/var/www/smbfs/install > > mount_smbfs: mount error: /var/www/var/www/smbfs/install Invalid > > option [helmut@BSDHelmut ~]$ sudo mount_smbfs -N -I 192.168.124.251 > > -W DOMAIN //unix-smb-dummy@fs01/install > > /var/www/var/www/smbfs/install [helmut@BSDHelmut ~]$ > > > > How can I pass those options with 10.1? > > I suspect it's the "noatime" option that it's objecting to, although > you wouldn't know from the error message. Try it without noatime. Good point, and in addition options now have to be separated: [helmut@BSDHelmut ~]$ sudo mount_smbfs -o noexec,nosuid,ro -N -I 192.168.124.251 -W DOMAIN //unix-smb-dummy@fs01/install /var/www/var/www/smbfs/install mount_smbfs: mount error: /var/www/var/www/smbfs/install Invalid option [helmut@BSDHelmut ~]$ [helmut@BSDHelmut ~]$ sudo mount_smbfs -o noexec -o nosuid -o ro -N -I 192.168.124.251 -W DOMAIN //unix-smb-dummy@fs01/install /var/www/var/www/smbfs/install [helmut@BSDHelmut ~]$ > Also, fwiw, you can use mount -t instead. This works for me on 10.1: > > $ sudo mount -t smbfs -o -U=ozzmosis -o noexec,nosuid,ro > //server/share /mnt afaik mount -t smbfs does not know about "-N" (don't ask for a password). Thanks, Helmut From owner-freebsd-questions@FreeBSD.ORG Tue May 19 14:07:51 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33C73EF6 for ; Tue, 19 May 2015 14:07:51 +0000 (UTC) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 019F61008 for ; Tue, 19 May 2015 14:07:50 +0000 (UTC) Received: from [192.168.43.26] (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id t4JE7oZA060376 for ; Tue, 19 May 2015 10:07:50 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <555B43AC.3010807@sentex.net> Date: Tue, 19 May 2015 10:07:40 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions Subject: devfs.rules in a jail Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.75 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 14:07:51 -0000 Hi, I am trying to expose a single ugen device inside a jail. In this case, a pkcs11 token. However, I cant seem to get the config right. I started with a simple ezjail default config export jail_mdtp_sentex_ca_devfs_ruleset="devfsrules_jail" and in the rules file, I have # cat /etc/devfs.rules [devfsrules_jail=5] add path 'ugen[0-9]\*' mode 666 add path 'usb/[0-9]\*' mode 666 and then I restart the jail. However, I dont see it there total 10 dr-xr-xr-x 9 root wheel - 512 May 19 10:06 . drwxr-xr-x 12 root wheel uarch 23 May 15 18:33 .. dr-xr-xr-x 2 root wheel - 512 May 15 14:57 fd crw-rw-rw- 1 root wheel - 0x19 May 19 10:06 null dr-xr-xr-x 2 root wheel - 512 May 19 10:06 pts crw-rw-rw- 1 root wheel - 0x1e May 15 10:57 random lrwxr-xr-x 1 root wheel - 4 May 19 10:06 stderr -> fd/2 lrwxr-xr-x 1 root wheel - 4 May 19 10:06 stdin -> fd/0 lrwxr-xr-x 1 root wheel - 4 May 19 10:06 stdout -> fd/1 lrwxr-xr-x 1 root wheel - 6 May 19 10:06 urandom -> random crw-rw-rw- 1 root wheel - 0x1a May 15 10:57 zero crw-rw-rw- 1 root operator - 0x4d May 15 14:57 zfs What am I missing ? ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@FreeBSD.ORG Tue May 19 14:20:08 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67652B48 for ; Tue, 19 May 2015 14:20:08 +0000 (UTC) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33B8411C4 for ; Tue, 19 May 2015 14:20:08 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so34509677igb.1 for ; Tue, 19 May 2015 07:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ueQNxDuv0Ubb0xOwSePrptaXlUxCs+NzbOnCvTz8AQ4=; b=PjAeBM4qou+9RGaF/WpGlNsB7KeXyr8ZWGKbeYl38a0/ByJ1wzQfVBXDI8z4LI1K3S UfgaspObTvEDe5uyddeUV2Pkb+g4mT7b2k6W/QtPSIGet6eX0+zhaRDoyg3J89xYa4FC oUojLcdBbylB0xXWwnfUmHMrFEr8wtZM3yHYnNqGOmOO77X8aAkKE9e2KJg/Kb379z7g pIrUc83WqmhvWyvXRKywQ/CbvT5v7sEPMVukeexO6PbmY58L1u58cJ25dahpKxj5ij2o ZvTc7Rg2rn2Zx1mwlQ6K0p00RgCxIwgm1QWndbv8DUt/oH8mJkYM8/F6BLrpR6btfq/O qXPQ== X-Received: by 10.107.153.8 with SMTP id b8mr37475410ioe.3.1432045207631; Tue, 19 May 2015 07:20:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Tue, 19 May 2015 07:19:47 -0700 (PDT) In-Reply-To: <20150518134500.c63e0719.freebsd@edvax.de> References: <20150518134500.c63e0719.freebsd@edvax.de> From: Avinash Sonawane Date: Tue, 19 May 2015 19:49:47 +0530 Message-ID: Subject: Re: gnome-terminal failing to start To: Polytropon Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 14:20:08 -0000 On Mon, May 18, 2015 at 5:15 PM, Polytropon wrote: > In this case, install the regular xterm or rxvt (or their > -unicode version, if you need) and use those for further > testing. Start "xterm" using Gnome's "Run..." dialog and > then start the "gnome-terminal" (I think that's the binary's > name) from within xterm. You should then be able to see > an error message. I completely forgot about xterm! When I tried gnome-terminal from xterm it produced an error message as: "Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 8" After searching on the web a bit regarding the above error it turned out to be system locale issue (which is C and not UTF-8 by default). But then I found out other gnome apps were crashing at random and I personally found GNOME3 to be very unstable so I deinstalled gnome3 and installed xfce4 which is my current setup. > You're probably using a recent FreeBSD 10 system, so you're > affected by the switch from sc to vt. This should help: > > https://wiki.freebsd.org/Newcons I am sorry but I couldn't get what I should do to access virtual terminals. From the given link it seems Newcons is a work in progress and may be in the next few months devs will patch the vt issue. Am I wrong in assuming this or should I take any explicit steps to access virtual terminals? -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com From owner-freebsd-questions@FreeBSD.ORG Tue May 19 14:43:58 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 784A2643 for ; Tue, 19 May 2015 14:43:58 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 423E315CA for ; Tue, 19 May 2015 14:43:58 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-51.adsl.hiwaay.net [216.180.19.51]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t4JEhnNU020649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 19 May 2015 09:43:50 -0500 Message-ID: <555B4C25.4050208@hiwaay.net> Date: Tue, 19 May 2015 09:50:04 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org Subject: Re: gnome-terminal failing to start References: <20150518134500.c63e0719.freebsd@edvax.de> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 14:43:58 -0000 On 05/19/15 09:26, Avinash Sonawane wrote: > On Mon, May 18, 2015 at 5:15 PM, Polytropon wrote: > >> In this case, install the regular xterm or rxvt (or their >> -unicode version, if you need) and use those for further >> testing. Start "xterm" using Gnome's "Run..." dialog and >> then start the "gnome-terminal" (I think that's the binary's >> name) from within xterm. You should then be able to see >> an error message. > I completely forgot about xterm! When I tried gnome-terminal from > xterm it produced an error message as: "Error constructing proxy for > org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling > StartServiceByName for org.gnome.Terminal: > GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process > org.gnome.Terminal exited with status 8" > > After searching on the web a bit regarding the above error it turned > out to be system locale issue (which is C and not UTF-8 by default). > > But then I found out other gnome apps were crashing at random and I > personally found GNOME3 to be very unstable so I deinstalled gnome3 > and installed xfce4 which is my current setup. I hereby 2nd the motion on both GNOME3 & especially XFCE4, which is what I am using as I write this. It flats works for me & has a very modest RAM footprint, as well as good compatibility w/ various X11 apps/programs/utilities. YMMV & all that rot .... >> You're probably using a recent FreeBSD 10 system, so you're >> affected by the switch from sc to vt. This should help: >> >> https://wiki.freebsd.org/Newcons > I am sorry but I couldn't get what I should do to access virtual > terminals. From the given link it seems Newcons is a work in progress > and may be in the next few months devs will patch the vt issue. Am I > wrong in assuming this or should I take any explicit steps to access > virtual terminals? Sorry, no help there, I am on 9.3R-p13 .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Tue May 19 17:02:18 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E636D64 for ; Tue, 19 May 2015 17:02:18 +0000 (UTC) Received: from SNT004-OMC4S45.hotmail.com (snt004-omc4s45.hotmail.com [65.54.51.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FF551886 for ; Tue, 19 May 2015 17:02:17 +0000 (UTC) Received: from SNT146-W30 ([65.55.90.201]) by SNT004-OMC4S45.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 19 May 2015 10:01:11 -0700 X-TMN: [f9zd6N9ii2+1nipgkl2R0ompC9YCvMVj] X-Originating-Email: [ricky1252@hotmail.com] Message-ID: From: Ricky G To: Mike Tancsa CC: "freebsd-questions@freebsd.org" Subject: RE: devfs.rules in a jail Date: Tue, 19 May 2015 13:01:10 -0400 Importance: Normal In-Reply-To: <555B43AC.3010807@sentex.net> References: <555B43AC.3010807@sentex.net> MIME-Version: 1.0 X-OriginalArrivalTime: 19 May 2015 17:01:11.0137 (UTC) FILETIME=[682C8D10:01D09255] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 17:02:18 -0000 > Date: Tue=2C 19 May 2015 10:07:40 -0400 > From: mike@sentex.net > To: freebsd-questions@freebsd.org > Subject: devfs.rules in a jail >=20 > Hi=2C > I am trying to expose a single ugen device inside a jail. In this=20 > case=2C a pkcs11 token. However=2C I cant seem to get the config right. >=20 > I started with a simple ezjail default config >=20 > export jail_mdtp_sentex_ca_devfs_ruleset=3D"devfsrules_jail" >=20 > and in the rules file=2C I have >=20 > # cat /etc/devfs.rules > [devfsrules_jail=3D5] > add path 'ugen[0-9]\*' mode 666 > add path 'usb/[0-9]\*' mode 666 export jail_mdtp_sentex_ca_devfs_ruleset=3D"5" I don't know why its possible to name the rules but only the rule number ma= tters when setting the jails ruleset. = From owner-freebsd-questions@FreeBSD.ORG Tue May 19 17:19:54 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B1D835A for ; Tue, 19 May 2015 17:19:54 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7CEDB1A3E for ; Tue, 19 May 2015 17:19:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t4JHJS6E022238; Wed, 20 May 2015 03:19:29 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 20 May 2015 03:19:28 +1000 (EST) From: Ian Smith To: Brad Mettee cc: andrew clarke , Trev Roydhouse , freebsd-questions@freebsd.org, Polytropon Subject: Re: Strange return codes from old but good C program In-Reply-To: <5558CCC8.9030704@pchotshots.com> Message-ID: <20150520024236.N69409@sola.nimnet.asn.au> References: <20150517204503.V69409@sola.nimnet.asn.au> <20150517124223.GA82704@ozzmosis.com> <20150517232103.V69409@sola.nimnet.asn.au> <5558CCC8.9030704@pchotshots.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 17:19:54 -0000 On Sun, 17 May 2015 13:15:52 -0400, Brad Mettee wrote: > On 5/17/2015 12:43 PM, Ian Smith wrote: > > On Sun, 17 May 2015 22:42:24 +1000, andrew clarke wrote: > > > On Sun 2015-05-17 22:16:14 UTC+1000, Ian Smith (smithi@nimnet.asn.au) [..] Firstly, thankyou to all who've contributed, on and off-list. Now I have a pile of mail to fail to get through, but I did ask for it .. > I have a pretty good idea of why certain values are returned most, but not > all, of the time. > > Specific code paths within any given application will regularly leave some > CPU registers loaded with specific values (the result of internal maths or > pointer usage). What you're seeing, on a normal basis, is the result of these > things occurring. The odd time that something else turns up is likely caused > by an OS operation that altered the register that's being used for the return > value. Yes, or slightly different code paths, or things to count, whatever .. If there's historical continuity I'd be betting on our old friend AL, especially after seeing Polytropon's Real Code examples. > My suggestion for this specific case would be to find any exit points from > the program that don't set a return value, and make sure they set it to > something that makes sense. In main, make sure it exits with a 0 (return 0;). > That way if you ever get a non-zero return value, you can be pretty sure that > the app didn't terminate normally. (Polytropon says pretty much the same > thing in his latest post) Yes, and I need to patch a number of 'exit(0)' used for some real! errors, add int declarations to a number of functions and #include to 3 files, etc. One post-extract patch should do the job. > As for the function definitions causing problems, why not go ahead and modify > them? You did say this code hasn't been touched in years, so it's not likely > your work will get overwritten with a new release. Sure, and it's another step towards a port of now three pascal programs, for whom the output of ssystem is mere fodder :) > Hope this helps. Sure has, thanks Brad and all, Ian From owner-freebsd-questions@FreeBSD.ORG Tue May 19 18:02:46 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09A78431 for ; Tue, 19 May 2015 18:02:46 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 591801FB2 for ; Tue, 19 May 2015 18:02:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t4JI2S17023820; Wed, 20 May 2015 04:02:28 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 20 May 2015 04:02:28 +1000 (EST) From: Ian Smith To: Polytropon cc: freebsd-questions@freebsd.org, andrew clarke , Trev Roydhouse Subject: Re: Strange return codes from old but good C program In-Reply-To: Message-ID: <20150520032402.F69409@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 18:02:46 -0000 In freebsd-questions Digest, Vol 572, Issue 1, Message: 22 On Mon, 18 May 2015 13:55:07 +0200 Polytropon wrote: > On Sun, 17 May 2015 19:45:09 +0000 (UTC), Will Parsons wrote: > > I don't have the actual C standard, but Harbison & Steele's "C - A > > Reference Manual" (which I think can be relied on) states "If the end > > of the body of *main* is reached without returning, it is treated as > > if *return 0;* were executed". > > In that case, no random return codes should appear. It also > doesn't meet the little test I've wrote (which again matches > with the initially described problem). Quite closely I think, exiting after an executed for loop. > I have written (haha) the following "test case": > > % cat returntest.c > main() { > int i, j; > for(i = 0, j = 0; i < 100; i++) > j += i; > } > > There are two "error" in it: main() doesn't have a return > type assigned, so per standard (int) will be assumed. And > there is no return statement. > > Compiler is system's gcc (older system, obviously): > > % cc -Wall -o returntest returntest.c > returntest.c:1: warning: return type defaults to 'int' > returntest.c: In function 'main': > returntest.c:5: warning: control reaches end of non-void function > > This is what we expect. > > But the program can be run, and we see: > > % ./returntest ; echo $? > 99 > > The return code is somehow assigned to the 'i' variable. > Why? Probably because it's stored in a register, and this > register is being used by the exit() and _exit() chain to > represent the return code. > > Funnily, when the program is modified: > > main() { > int i, j; > for(i = 0, j = 0; i > -100; i--) > j += i; > } > > The compiler warnings are the same. This is the result now: > > % ./returntest ; echo $? > 157 Not funnily, indicatively; 157 = 0x9d. -99 = 0xffffff9d, as an int. Exit codes would thus appear to be truncated to 0-255 unsigned. If you swapped assignments of i and j, I suspect you may get the unsigned value of the low byte of j as exit code instead? > None of them looks like an implicit "return 0;". I am not > judging Harbison & Steele, I'm just observing things. :-) Real Code beats 'should' every time :) Thanks for this, and your earlier reply. Of course, one could track down which register it is by disassembling the binary or - likely easier - by asking $CC for a listing, if it goes as far as exiting without heading off into a library call .. but I'm not going down that rabbit hole for mere curiosity :) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Tue May 19 19:22:13 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 537F8BB2 for ; Tue, 19 May 2015 19:22:13 +0000 (UTC) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F6AD1A69 for ; Tue, 19 May 2015 19:22:13 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so42479469igb.1 for ; Tue, 19 May 2015 12:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=QgELs7exPp+g+Ulv2xmhUaoNF4Cs2sa69Cbx9yTwZHo=; b=Jr0dw1j58DgpvmzKxS8mKe0R4erKGmd6gOqvDxu3w/nPlR1guHuq0qJ7uCyUoVL90w Ac7QdLRrxzJEZHetLZac0uqynf04qWNnsL9NC3Sm/hMzxUZamR1U77bc29CthT6uBZ3n Y6wZrA50OQkacSZVnCpa8ccMLNrgXE2+FRzxWWorI47X3qQOZckeyGDL52tOwxfu42/K XWWXZnlZ9XX9eN77m/IdviJvJebBRjhWd+9jrLtLuXVtejQgg/UUCHuo99pkU/m8XgUF WUTSEP2arkSckUha7ELEayR5aMfmSCgnJINTu7h+SCsqNrbNlnyrEmrPdDXuVR73lptV cO3Q== MIME-Version: 1.0 X-Received: by 10.42.50.81 with SMTP id z17mr7561734icf.57.1432063332350; Tue, 19 May 2015 12:22:12 -0700 (PDT) Received: by 10.36.141.135 with HTTP; Tue, 19 May 2015 12:22:12 -0700 (PDT) Date: Tue, 19 May 2015 12:22:12 -0700 Message-ID: Subject: Asymmetric routing with FreeBSD on Amazon EC2 within VPC From: Patrick Gibson To: FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 19:22:13 -0000 I'm wondering if anyone has managed to figure out a way to have an Amazon EC2 instance behind a VPC work with multiple public IP addresses? The issue is with asymmetric routing. It's been resolved in the Linux world (http://blog.bluemalkin.net/multiple-ips-and-enis-on-ec2-in-a-vpc/), but I can't seem to get it working under FreeBSD. Using the setfib command, I'm able to manually go out through either interface, but for incoming packets to a webserver that listens to both interfaces, no dice. :( Patrick From owner-freebsd-questions@FreeBSD.ORG Tue May 19 20:01:48 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20F14438 for ; Tue, 19 May 2015 20:01:48 +0000 (UTC) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6A601DF5 for ; Tue, 19 May 2015 20:01:47 +0000 (UTC) Received: from [24.134.157.7] (helo=workstation) by www81.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1YunMW-0007Xk-D4; Tue, 19 May 2015 21:39:36 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "freebsd-questions@freebsd.org" , "Jaime Kikpole" Subject: Re: SFTP doesn't work from a specific client References: Date: Tue, 19 May 2015 21:39:39 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.5/20486/Tue May 19 18:38:33 2015) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 20:01:48 -0000 Am .05.2015, 14:41 Uhr, schrieb Jaime Kikpole : > I have a system that pushes out data files via SFTP to a FreeBSD > system each night. I'm in the process of replacing that FreeBSD > system (its really old & still runs 8.x.) My issue is that the data > source can't connect via SFTP, but other systems can. When it tries, > this appears in /var/log/auth.log: > > May 19 08:24:56 its1 sshd[38792]: error: PAM: authentication error for > from > May 19 08:24:56 its1 sshd[38792]: error: Received disconnect from ADDRESS>: 3: com.jcraft.jsch.JSchException: Auth cancel [preauth] > > When I test it from the system that pushes out the data, it prompts me > to accept an SSH key and then tells me that it failed to connect. > Unfortunately, its a GUI and has basically no diagnostic data to work > from. > > I get the same results when I try to make the data source do SFTP > conenctions to other systems, including some that are 10.1-RELEASE-p9 > and some that are 10.1-RELEASE-p10. The weird thing is that I can use > command line SFTP from any other location (including other FreeBSD > systems and even a MacOS 10.9 system at home) to connect to these > FreeBSD systems and everything works. I can connect, authenticate, > and even ls and cd around the file system. > > This feels like the data sending software is expecting something that > isn't setup on the FreeBSD 10.1 systems, but is setup on the FreeBSD > 8.x system. I just don't know what. > > Any thoughts on how to diagnose this? > > Turn up logging verbosity in /etc/ssh/sshd_config LogLevel Gives the verbosity level that is used when logging messages from sshd(8). The possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. The default is INFO. DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of debugging output. Logging with a DEBUG level violates the privacy of users and is not recommended. Regards, Michael -- Erstellt mit Operas E-Mail-Modul: http://www.opera.com/mail/ From owner-freebsd-questions@FreeBSD.ORG Wed May 20 02:20:56 2015 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E11D25CB for ; Wed, 20 May 2015 02:20:56 +0000 (UTC) Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.isc.org", Issuer "RapidSSL CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A27931A6B for ; Wed, 20 May 2015 02:20:56 +0000 (UTC) Received: from bikeshed.isc.org (bikeshed.isc.org [149.20.48.19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mail.isc.org", Issuer "RapidSSL CA" (not verified)) by mx.ams1.isc.org (Postfix) with ESMTPS id AA7CA1FCB13 for ; Wed, 20 May 2015 02:20:51 +0000 (UTC) Received: by bikeshed.isc.org (Postfix, from userid 10302) id 6E78A216C1E; Wed, 20 May 2015 02:20:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bikeshed.isc.org (Postfix) with ESMTP id 6CCCD216C1C for ; Wed, 20 May 2015 02:20:50 +0000 (UTC) Date: Wed, 20 May 2015 02:20:50 +0000 (UTC) From: Dan Mahoney To: questions@freebsd.org Subject: How difficult would it be to PAM-ify chsh? Message-ID: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) X-OpenPGP-Key-ID: 0xE919EC51 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.ams1.isc.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 02:20:57 -0000 Hey there, It looks like chsh is pretty heavily tied in with YP/NIS, but nothing else (no pam, no libnss support). Here in our work environment at DayJob, Inc, we use Kerberos, which means most of our users have a "*" in their master.passwd entries. Annoyingly, this means that they can't change their base info. So, has anyone come across, perhaps: 1) a third-party installable dropin that could live in /usr/local/bin to do this sort of thing, that knows how to speak pam. 2) Or does someone know how difficult it would be to add the requisite hooks to this code to do the checking. The tool is already setUID, after all, it has to be to manipulate the password file. I could totally turn this into a PR, but I figured I'd ask here first. -Dan From owner-freebsd-questions@FreeBSD.ORG Wed May 20 03:56:35 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24A98436 for ; Wed, 20 May 2015 03:56:35 +0000 (UTC) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E266E156E for ; Wed, 20 May 2015 03:56:34 +0000 (UTC) Received: by igbyr2 with SMTP id yr2so92904854igb.0 for ; Tue, 19 May 2015 20:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=SFYp9Ew+xtSyw3MykCK2YGNopH1SI8uC5YXwNVJ9IZo=; b=wxQNwchsk2r5gFcgc7n+H90BFBqwU8BaVNwwM1fuwbdT2KhTZ+RoPwDAG5tPtHdmPd t9uu579k8pGQuMrabDHy7lJNay8lNqE7uWICHTJXugVZhCORwUmmwu2fkGgPgBTNfoYb n/hI1xR6QeIXe6ysS2hCW3IXc7OXgX8VJB7pYx6/IZasjiIwL/eW4d6tq8lH1iiC+C3L mQM2iu/jByTT0OGHjvFDhIjHfxrlIxfa20TkbWFot1u1zI5r9q01LgkniQCgC7FKxxkA smqsbqWVnbOYY9ms78yFv7KKyuUzKEC0RX6h8AIcMWofX5rZTgE+UULxeFUfCwgh77QL OGdA== MIME-Version: 1.0 X-Received: by 10.107.34.140 with SMTP id i134mr28842175ioi.88.1432094194361; Tue, 19 May 2015 20:56:34 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Tue, 19 May 2015 20:56:34 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 May 2015 20:56:34 -0700 X-Google-Sender-Auth: yRPCRPU9B04BX_CVIWnXLGXTWdw Message-ID: Subject: Re: Asymmetric routing with FreeBSD on Amazon EC2 within VPC From: Adrian Chadd To: Patrick Gibson Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 03:56:35 -0000 Hi, So the "freebsd clean" solution would be to create two listen sockets, one per IP address, and and have each IP address / routing table in a separate FIB, or separate vnet. I don't know if anyone has set that up though. It would be nice to teach some web servers and proxy serversabout FreeBSD FIBs. -adrian On 19 May 2015 at 12:22, Patrick Gibson wrote: > I'm wondering if anyone has managed to figure out a way to have an > Amazon EC2 instance behind a VPC work with multiple public IP > addresses? The issue is with asymmetric routing. It's been resolved in > the Linux world > (http://blog.bluemalkin.net/multiple-ips-and-enis-on-ec2-in-a-vpc/), > but I can't seem to get it working under FreeBSD. Using the setfib > command, I'm able to manually go out through either interface, but for > incoming packets to a webserver that listens to both interfaces, no > dice. :( > > Patrick > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed May 20 05:53:10 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5ACE793 for ; Wed, 20 May 2015 05:53:10 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6B231183 for ; Wed, 20 May 2015 05:53:09 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3A35D207C8 for ; Wed, 20 May 2015 01:43:47 -0400 (EDT) Received: from web2 ([10.202.2.212]) by compute3.internal (MEProxy); Wed, 20 May 2015 01:43:47 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=rubenschade.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=Oyq5LwiU0Hdb4XLYv0sKphnxdWc=; b=EKbaV+ C3IQ/iYPE6yxq2gWXVhpTV3mLUrPWlwfDVqr4zdlCUmyng8HkDaEpspIcrGqZwJq kELGw+8jNyx/2tf3DAvOF2p9ImRx7yrHzbdaiXmnXTRG4/l+Yho3pKNebK7sHjUd KToq2yEF5bn3RtrrHferv0N2IapTH9RyDtIbI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=Oyq5LwiU0Hdb4XL Yv0sKphnxdWc=; b=YQh5UR5+1kKH8GrEh21nI5l3f0MU8fL6UG63goWcjrn8ngX x7jo8g29s0ONgQV5V5RN6efCmLn9VoqU13G1ZkiZwcvIXconLYPUf9dgSXRKwK27 VEv/WtK2mlGD19HQY+mjyLIuqJ3o/uhQKnEDyzBHPDERRWXV6Vl4npkyQZic= Received: by web2.nyi.internal (Postfix, from userid 99) id E64C3540136; Wed, 20 May 2015 01:43:46 -0400 (EDT) Message-Id: <1432100626.4010923.273434345.2D19D51B@webmail.messagingengine.com> X-Sasl-Enc: Atxqk8j45oTKPEojMRE5a4Z5tGr81g1IyOrr0zwvgLSD 1432100626 From: Ruben Schade To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-fd425702 In-Reply-To: <5559E9A4.409@FreeBSD.org> References: <20150518090051.6600f32a@seibercom.net> <5559E9A4.409@FreeBSD.org> Subject: Re: Problem with sed Date: Wed, 20 May 2015 15:43:46 +1000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 05:53:11 -0000 On Mon, 18 May 2015, at 23:31, Matthew Seaman wrote: > On 2015/05/18 14:00, Jerry wrote: > > I rarely use sed, so I admit to not being fully acquainted with its > > idiosyncrasies,; however, this one is really annoying. > > > > I am using this command in an attempt to remove empty lines: > > > > $ sed -i /^$/d /var/tmp/myfile.txt > > > > and get this error: > > > > sed: 1: "/var/tmp/myfile.txt": undefined label 'mp/myfile.txt' > > > > I don't understand why. I am following the example I found in the "sed & awk" handbook by "O'Reilly" > > > > sed -i.bak -e '/^$/d' /var/tmp/myfile.txt > > You're getting sed(1) confused as to what is the extension for the > backup of the file it creates, what the command you want to rn is and > what the input filename is. Also, you need to put some characters of > syntactic significance to the shell inside quote marks. > > Cheers, > > Matthew > > > Email had 1 attachment: > + signature.asc > 1k (application/pgp-signature) Part the confusion may lie in the difference between GNU and BSD userland sed, which I'll admit has bitten me a few times. GNU sed will accept -i (without an argument) as in-line edit to the original file. For BSD sed, you need an empty string (-i ''). -- Cheers, Ruben Schade From owner-freebsd-questions@FreeBSD.ORG Wed May 20 07:03:51 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20250634 for ; Wed, 20 May 2015 07:03:51 +0000 (UTC) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "thoth.sbs.de", Issuer "savelogs.saacon.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AC5171916 for ; Wed, 20 May 2015 07:03:49 +0000 (UTC) Received: from mail2.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.14.3/8.14.3) with ESMTP id t4K6rIAX021561; Wed, 20 May 2015 08:53:18 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail2.siemens.de (8.14.3/8.14.3) with ESMTP id t4K6rI38025206; Wed, 20 May 2015 08:53:18 +0200 Received: (from user@localhost) by curry.mchp.siemens.de (8.14.9/8.14.9) id t4K6rIS2028825; Date: Wed, 20 May 2015 08:53:17 +0200 From: Andre Albsmeier To: Dennis Glatting Cc: Kent Kuriyama , Arthur Chance , FreeBSD-Questions Subject: Re: NTP peering broken since recent security update? Message-ID: <20150520065317.GA69895@bali> References: <5526A2F1.5030609@qeng-ho.org> <1428816325.33049.17.camel@pki2.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1428816325.33049.17.camel@pki2.com> X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 07:03:51 -0000 On Sat, 11-Apr-2015 at 22:25:25 -0700, Dennis Glatting wrote: > On Thu, 2015-04-09 at 08:14 -1000, Kent Kuriyama wrote: > > Are you doing any NTP authentication between peers? > > > > ntp_proto.c appears to be the problem. Same here. I don't use auth between my peers but was hit by the same problem. > * If you make the diffs from the enclosed patch against the updated > ntp_proto.c (i.e., the updated version from svn), peering works. This patch restored functionality here as well. I hope we will get a revised SA-15:07 soon (or an MFC of HEAD's ntp into 9-STABLE). -Andre From owner-freebsd-questions@FreeBSD.ORG Wed May 20 07:35:33 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92B0AC4C; Wed, 20 May 2015 07:35:33 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27FA31CAE; Wed, 20 May 2015 07:35:33 +0000 (UTC) Received: by wicmx19 with SMTP id mx19so140469881wic.0; Wed, 20 May 2015 00:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RPBsScT6PYWIoEMc+Cn2zYmIzsd3lO4WQLK5oI9NpwA=; b=u7AHVWOfxhk1ujZb0dzeB85xPqrZ/5eHhxFEodeqHkRMqSWTckAFqQYTzIepv04osM yIZFbzecVlDsdZohLpl0Zktfx6ppha9f+7IM9aIAlV8fpYjjKbmAsLjp5PZ91VFrmxWW r12MzjmMq+BWY+gmMHTb+L5uxyDtZyRDWjZOB2RmGthBgoRDMhfXpyxKZGWd4a3hHD6f 7gV8PBWm8Y5iTGL69pzyrCXzQxs/WFR1smgEAj1FdSrxAYY2e700gHp7e0MzvNDY23qV 5FGlo0tfgs+Z0A2SJnkn0FWDGxKrym7THZ00JFiwk1VqsbfANk+wsjxldW+6Z33eaK60 m23w== MIME-Version: 1.0 X-Received: by 10.180.79.227 with SMTP id m3mr39374684wix.71.1432107331615; Wed, 20 May 2015 00:35:31 -0700 (PDT) Received: by 10.28.210.149 with HTTP; Wed, 20 May 2015 00:35:31 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 May 2015 08:35:31 +0100 Message-ID: Subject: Re: Asymmetric routing with FreeBSD on Amazon EC2 within VPC From: krad To: Adrian Chadd Cc: Patrick Gibson , FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 07:35:33 -0000 you best bet is to probably run 2 vnet jails one for each ip. Annoying to have to have the extra maintenance and resource overhead I know, but its not a bad thing security wise On 20 May 2015 at 04:56, Adrian Chadd wrote: > Hi, > > So the "freebsd clean" solution would be to create two listen sockets, > one per IP address, and and have each IP address / routing table in a > separate FIB, or separate vnet. > > I don't know if anyone has set that up though. It would be nice to > teach some web servers and proxy serversabout FreeBSD FIBs. > > > > -adrian > > > On 19 May 2015 at 12:22, Patrick Gibson wrote: > > I'm wondering if anyone has managed to figure out a way to have an > > Amazon EC2 instance behind a VPC work with multiple public IP > > addresses? The issue is with asymmetric routing. It's been resolved in > > the Linux world > > (http://blog.bluemalkin.net/multiple-ips-and-enis-on-ec2-in-a-vpc/), > > but I can't seem to get it working under FreeBSD. Using the setfib > > command, I'm able to manually go out through either interface, but for > > incoming packets to a webserver that listens to both interfaces, no > > dice. :( > > > > Patrick > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed May 20 07:36:41 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34593CE9; Wed, 20 May 2015 07:36:41 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCED61CC2; Wed, 20 May 2015 07:36:40 +0000 (UTC) Received: by wicmc15 with SMTP id mc15so140571503wic.1; Wed, 20 May 2015 00:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WIIy/NNv3lJPFtmYmekglovUEsALd5F5qEZMz8mW39w=; b=kVJoeU1zss0/LNsMWpAI15/zluj0C/uj2A4uD17bP0Huq3hPbS2Taf4Ij/Kn55+z7Z CFxCedJTsCcgHKHJy3fQIrTNipx5FlvoxGd9RTmSEGC4CZOIeU9/cRtww1wtbTryzJ2b /4bED1fYb02M4TfYJRoDSXU9snfQsa7yAy45xsD6myIc7t0VTqF5rN1ek6h6crNlpqRD i9qQ0xy3iNgrlu62xNvg7GJwjRgbvMwjw5UwfZgf2vVNl49YZ8YuiyKbcpSOtWmXJte4 LsLxCqa/zYugyOcoZ2L7sNtVFN6Br4OBhFv+ALq0GFVQrt8wQ6Zo8oRiFSh6mCeNXDtK zFUw== MIME-Version: 1.0 X-Received: by 10.180.38.70 with SMTP id e6mr38244625wik.91.1432107399155; Wed, 20 May 2015 00:36:39 -0700 (PDT) Received: by 10.28.210.149 with HTTP; Wed, 20 May 2015 00:36:39 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 May 2015 08:36:39 +0100 Message-ID: Subject: Re: Asymmetric routing with FreeBSD on Amazon EC2 within VPC From: krad To: Adrian Chadd Cc: Patrick Gibson , FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 07:36:41 -0000 oh and dont run pf if you are going to try vnet jails as the two dont play at present On 20 May 2015 at 08:35, krad wrote: > you best bet is to probably run 2 vnet jails one for each ip. Annoying to > have to have the extra maintenance and resource overhead I know, but its > not a bad thing security wise > > On 20 May 2015 at 04:56, Adrian Chadd wrote: > >> Hi, >> >> So the "freebsd clean" solution would be to create two listen sockets, >> one per IP address, and and have each IP address / routing table in a >> separate FIB, or separate vnet. >> >> I don't know if anyone has set that up though. It would be nice to >> teach some web servers and proxy serversabout FreeBSD FIBs. >> >> >> >> -adrian >> >> >> On 19 May 2015 at 12:22, Patrick Gibson wrote: >> > I'm wondering if anyone has managed to figure out a way to have an >> > Amazon EC2 instance behind a VPC work with multiple public IP >> > addresses? The issue is with asymmetric routing. It's been resolved in >> > the Linux world >> > (http://blog.bluemalkin.net/multiple-ips-and-enis-on-ec2-in-a-vpc/), >> > but I can't seem to get it working under FreeBSD. Using the setfib >> > command, I'm able to manually go out through either interface, but for >> > incoming packets to a webserver that listens to both interfaces, no >> > dice. :( >> > >> > Patrick >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > From owner-freebsd-questions@FreeBSD.ORG Wed May 20 10:14:23 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 59AF6A50 for ; Wed, 20 May 2015 10:14:23 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7E9C11D1 for ; Wed, 20 May 2015 10:14:22 +0000 (UTC) Received: by wicmc15 with SMTP id mc15so144643125wic.1 for ; Wed, 20 May 2015 03:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=dGqzN3l6sqSTqdzpW8Ph6jfGJqhfUHcFnGnKNgNta7c=; b=M6vLgzvIrXQD3NMDP6ZOu2YhWY97ScsULXuPRUC8wY/dPddr7tRw4Pp83nPErusEGi N5M2wLHkk03PBPh2h66Ow+P0E9kz8XhsQZn0zvmJflIog55EzWZYi9nHP+pafZlHMiZp vygnco81hafDwLWbz7dJBTqyJQOEF1uvi2pjxRZPIwtIDn2iSalty5AwTh3MZ/z3cgso +fXctqTlMwSlKQzSmxDp/gl635WMlMivC73UgQ9r1qFjXq+ed83xr26J08F63aqk8n4E 3WT2ERrQxIU26mqRdTXrK84kvk0i1lLZsyAco0hKiIhrLnW2ckQHUKPXHuoF+YdMz/Ko E8tQ== MIME-Version: 1.0 X-Received: by 10.194.5.74 with SMTP id q10mr63037444wjq.27.1432116861370; Wed, 20 May 2015 03:14:21 -0700 (PDT) Sender: fluca1978@gmail.com Received: by 10.194.80.163 with HTTP; Wed, 20 May 2015 03:14:21 -0700 (PDT) Date: Wed, 20 May 2015 12:14:21 +0200 X-Google-Sender-Auth: FAccsk3taRQVgYxJz2HL51CEzLk Message-ID: Subject: ports, packages, jails From: Luca Ferrari To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 10:14:23 -0000 Hi all, reading some recent discussions I start wondering what the real problem with mixing ports and packages is and why one should use jails to build ports (e.g., as poudriere does). What is the real advantage of using a building system with regard to a "normal" usage of ports and packages? Thanks, Luca From owner-freebsd-questions@FreeBSD.ORG Wed May 20 11:14:08 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0AD02F3 for ; Wed, 20 May 2015 11:14:08 +0000 (UTC) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44F33182D for ; Wed, 20 May 2015 11:14:07 +0000 (UTC) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.14.9/8.14.7) with ESMTP id t4KAx189031279; Wed, 20 May 2015 11:59:02 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <555C68F5.4080205@qeng-ho.org> Date: Wed, 20 May 2015 11:59:01 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Luca Ferrari , freebsd-questions Subject: Re: ports, packages, jails References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 11:14:08 -0000 On 20/05/2015 11:14, Luca Ferrari wrote: > Hi all, > reading some recent discussions I start wondering what the real > problem with mixing ports and packages is and why one should use jails > to build ports (e.g., as poudriere does). What is the real advantage > of using a building system with regard to a "normal" usage of ports > and packages? To answer your questions in reverse order, building in a jail has the advantage that it doesn't affect the main host until everything has been compiled successfully. In the past, when I used portmaster for updating, on a few occasions it would would update some ports and then fail on one with a buggy update, leaving my machine in mixed state that meant I couldn't use a graphical desktop and/or some services didn't work. Making the update of the running machine separate from rebuilding the ports in poudriere means I don't get those problems. As for mixing ports and packages, there are a couple of possible problems. One is that using ports probably means you've changed some options to non-default values. Packages are built with default options, so clashes can occur. The other is that (re)building all the packages takes time, so for a period a package may be at an earlier version than the same software built from /usr/ports. This can also cause problems. -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@FreeBSD.ORG Wed May 20 11:15:27 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14AD339D for ; Wed, 20 May 2015 11:15:27 +0000 (UTC) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D57101840 for ; Wed, 20 May 2015 11:15:26 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so130770897igb.0 for ; Wed, 20 May 2015 04:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=F9NdeNM1C7L6k0RN3ESTtf+yuIPGnVxJKRk69IMt8FE=; b=gbcEiu6cm3sKdxj/yL/I4GH1i8HbhxCLHt/Ssxaz0fFvsvxzqE2tZykerK0exyRSNK EkRXq98FdWVLe1jpSXZII4y0T0TdF+8yCZJI/VWYkblS4v+Fj+oWTD1BYNmP49mFhIcF 1i7QQAgIUnXDxnV/UWmx+/+tGJPIhdLUmqU4c6CNuzZ4A7U+TD1kL+QD91lZpxtq+ncl rw1nFN/ygiunkOoLTIjfzTweSNGpqGsAjBx40WuBAZ3lOBcKcHte+gTL3f55/RdixtOs UXnRay/uViDzaU9eR4LV4ErI1KDpMCf+mYDIQ+ug0Uw5KYuE2UMFrKp2J/QdJKVmvtVt K8kA== X-Received: by 10.50.59.211 with SMTP id b19mr26983310igr.42.1432120523047; Wed, 20 May 2015 04:15:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Wed, 20 May 2015 04:15:02 -0700 (PDT) From: Avinash Sonawane Date: Wed, 20 May 2015 16:45:02 +0530 Message-ID: Subject: Integrated webcam in Cheese : "No device found" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 11:15:27 -0000 Hello! I am using FreeBSD 10.1-RELEASE on DELL Inspiron 15R N5010 which has an integrated webcam. Whenever I launch Cheese (webcam application) it says "No device found". My /etc/rc.conf has a line webcamd_enable="YES" in it. I also tried # kldload cuse4bsd referring to FreeBSD Forums but still Cheese giving same error. I also tried installing multimedia/v4l-utils port as hinted in #freebsd but it also didn't work. Still the same error. So how do I make Cheese access an integrated webcam of my system? Thank you. -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com From owner-freebsd-questions@FreeBSD.ORG Wed May 20 11:16:37 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 59501567 for ; Wed, 20 May 2015 11:16:37 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CE7421853 for ; Wed, 20 May 2015 11:16:36 +0000 (UTC) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t4KBGTX1099618 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 20 May 2015 12:16:30 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t4KBGTX1099618 Authentication-Results: smtp.infracaninophile.co.uk/t4KBGTX1099618; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Message-ID: <555C6CFD.6000101@FreeBSD.org> Date: Wed, 20 May 2015 12:16:13 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ports, packages, jails References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SDvWxSmrlJXGfaVo4QQsNH5wao1arRbwo" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 11:16:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SDvWxSmrlJXGfaVo4QQsNH5wao1arRbwo Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/05/20 11:14, Luca Ferrari wrote: > reading some recent discussions I start wondering what the real > problem with mixing ports and packages is and why one should use jails > to build ports (e.g., as poudriere does). What is the real advantage > of using a building system with regard to a "normal" usage of ports > and packages? There are really three different sources for ported software at the momen= t: 1) FreeBSD official pkg servers: Advantage: speed -- just install what you want straight away 2) Building using portmaster or the like: Advantages: flexibility -- use whatever combination of options you like. Disadvantage: time and resources -- you have to download and build not just the software you want, but everything else required to do the actual building. Lengthy service disruption while building and installing software updates 3) Local Poudriere instance: Advantage: off-load all the package building onto a separate server. Is a real winner if you have many machines to administer, or you need to manage machines that cannot be taken out of service for extended periods of time. Advantage: clean-room building in a jail with only the software any particular package depends on installed. This gives a more reliable result and avoids accidentally making your package dependent on some other random software you happen to have installed. Disadvantage: some setup required, needs resources to run the actual build server itself. Now, if you are happy with the default options settings from the FreeBSD ports, then it's pretty obvious: just use the official pkg servers. Otherwise you're going to need to build your own in some way shape or for= m. A fairly obvious question at this point is "what about if I only want custom options on one or two ports -- can't I just build those myself, and get the rest from the pkg servers?" Well, yes-ish. It depends on what your custom options do, and where in the dependency hierarchy those packages are. If, for instance, what you want to do is use a different version of mysql or postgresql or php or ruby or python or perl or various other important packages, then trying to mix eg. portmaster and official pkgs will lead to tears before bedtime. Even if it's not one of those sort of structural packages, there is problem with compiled packages having overly specific dependencies 'baked into' them, which often leads to pkg wanting to reinstall or remove your precious locally compiled packages and sulking when it isn't allowed to. In these sot of cases, it's much smoother to use a poudriere instance to build your customized stuff -- which, if you wish, you can then overlay onto the default FreeBSD pkg repos with not too much difficulty. Otherwise, I'd say suck it and see. Have a go at whatever mix of methodologies seems best to you and adapt and evolve until you find a setup that works well for you. If you run into problems, then this list is a good place to ask more specific questions. Cheers, Matthew --SDvWxSmrlJXGfaVo4QQsNH5wao1arRbwo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJVXGz+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnOsEQAJUFs1+hYTB3FOQ92eZZ2VYT x2l0n/N7J8LfCgul22k17lA38huBjWIYWViVupY69p8IEm82Y8DLZVGtafX53Ab0 nfWxM46cckkLgArowe9uE5ay0IPkaikweBKczuP5xBuuMuGkPOlrqvSxbfKIMu3q 5HDVN+nw5ilBhPPxld6/51SyK9qEjcmMCImlNWBjxpO88Z2AWLPDVMBCS5q0EVke swWElv7JfL7Tq7Nf+p1CIkGvFQ9fV9/Y0M5kqZ6n/fxM5yns7ZfjzOEUuJTSJmU4 c1GTbeYQQbJQ5UdOGZyzfAyzNw0I+BhWr2M7LcxHwdRXPKgfn3dY8ZtrbSM4tnex bd/RSoApYRt+sordcuramSsdc12ThTCAkVI4MNWPPoiLyX0KCxnwYNZhrmxre6hV gB14IVTKk+1ZCR+ZcHpZfUD+p8qTT67F3K+GvJxn2IEJZxInuY69BgS5nW4pZZ3U NkOZ+iRdhjLcZwmUqSkQiQa9qEXl1Zl0KIyh/Ga0zZpM4zbagl3o4E33U4X/zHze 3Iblzm0iB5643NTUA30NSZcILXOEYuNv4K/iWM7MSvQAC8qSr4sKSoHI15Gqgi2M zmx7MV+XNcNIecUW5QS6rZ2Rxm0Bfwj2ALCZkGh+/9ZRktifd3NRZC5V0Ew+cUxt Zlb6yXmmjUNzPDQ3/DgB =QmQK -----END PGP SIGNATURE----- --SDvWxSmrlJXGfaVo4QQsNH5wao1arRbwo-- From owner-freebsd-questions@FreeBSD.ORG Wed May 20 11:37:27 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC18A8D4 for ; Wed, 20 May 2015 11:37:27 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 446591AAE for ; Wed, 20 May 2015 11:37:27 +0000 (UTC) Received: from moby.local ([88.65.187.45]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MHso5-1Ys1VY1Iqr-003g24 for ; Wed, 20 May 2015 13:37:25 +0200 Message-ID: <555C71C8.4080007@gmx.com> Date: Wed, 20 May 2015 13:36:40 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org Questions" Subject: CPU frequency doesn't drop below 1200MHz (like it used to) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:74iAKoeC7RsL58em+ZGyEkK926gTnFgQKpQVYMlJzgDGt8DFYnz hsgJQ9NBSzU8czo3soJtCzGko0GL/1/SDLiv9yZmNX7R4PqSp9NnFaF/PLls2BdJycQmiPR ouEQyq1ARCoP7/HW7O0eIIa9Wn7O0pOiUdlKNN87PgGbsgcvJ6+KTYTaZWkgFbPmJJU4IUw X+Z7ODN3YD76gJnnHj1oA== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 11:37:27 -0000 Hi, I just noticed that my CPU's frequency doesn't support dropping below 1200MHz. It used to be able to go down to 150MHz, if I am not mistaken. I'd like it to go down to 600MHz via powerd, like it used to go. This is a month's old 10-STABLE. > [nik@moby ~]$ sysctl dev.cpu.0.freq_levels > dev.cpu.0.freq_levels: 2400/35000 2300/32872 2200/31127 2100/29417 2000/27740 1900/26096 1800/24490 1700/22588 1600/21045 1500/19534 1400/18055 1300/16611 1200/15194 Thanks in advance for any ideas, Nikos From owner-freebsd-questions@FreeBSD.ORG Wed May 20 12:36:44 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64CE7993 for ; Wed, 20 May 2015 12:36:44 +0000 (UTC) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C71A115C for ; Wed, 20 May 2015 12:36:44 +0000 (UTC) Received: by iesa3 with SMTP id a3so37829785ies.2 for ; Wed, 20 May 2015 05:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=DdyvsJRJFwNuf1jg04djOCQGeNQeTgmKP5T2ZX9u2Ks=; b=rDiOIy4Be9EMxUmOUEC8J9REU910HZczS5xoDoU0xAC56DLQMW9FSKc5uq1c16ICzt l4SwuGwWlB5n+rkILrLpA1gbD9kDIoxicNiD9HNKQRRYSzPFMW9oZIAFT8Gzovrx2/2k aTW8a2jc1GKzm/4h0UJ3Vp9IfSwqQLWpLQhU75sLLGJHP6N2H5AxVZMn3tJAlnNbwNII Sdt8EJcEWsR43YClqCuEcdAMlyxG4k0NfRuKMoLRPQxkX9wDW5XYTbWa6PUh4TrwemUS ymm+Kd1i9Bll74p4qX6j90Smt04mpq7DcOXruZyLoQanWWMWU7mPvWr7DTe8kKkAwDPu 45iQ== X-Received: by 10.43.58.201 with SMTP id wl9mr45917954icb.37.1432125402899; Wed, 20 May 2015 05:36:42 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by mx.google.com with ESMTPSA id j124sm12267343ioj.22.2015.05.20.05.36.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 May 2015 05:36:42 -0700 (PDT) Message-ID: <555C7FDC.5050706@gmail.com> Date: Wed, 20 May 2015 08:36:44 -0400 From: Ernie Luzar User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: docecot SSL/TLS without certificate Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 12:36:44 -0000 Is there some way to configure Dovecot pop3 server to provide TLS without Dovecot needing a certificate? The self signed cert that the Dovecot manual shows you how to make is flagged as invaild / un-trusted every time my thunderbird mail reading client fetches mail and I have to answer question about accepting it. I see Dovecot has option to require client to also have a certificate but no where does the Dovecot manual talk about what this certificate is or how to build it. Will importing the Dovecot certificate to Thunderbird stop Thunderbird from issuing that invaild / un-trusted certificate error message? From owner-freebsd-questions@FreeBSD.ORG Wed May 20 12:41:14 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A945BB1 for ; Wed, 20 May 2015 12:41:14 +0000 (UTC) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DE035123A for ; Wed, 20 May 2015 12:41:13 +0000 (UTC) Received: from [192.168.43.26] (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id t4KCfCvM014642; Wed, 20 May 2015 08:41:13 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <555C80DD.70706@sentex.net> Date: Wed, 20 May 2015 08:41:01 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Ricky G CC: "freebsd-questions@freebsd.org" Subject: Re: devfs.rules in a jail References: <555B43AC.3010807@sentex.net> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.75 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 12:41:14 -0000 On 5/19/2015 1:01 PM, Ricky G wrote: > > > export jail_mdtp_sentex_ca_devfs_ruleset="5" > > I don't know why its possible to name the rules but only the rule number > matters when setting the jails ruleset. Thanks! That was it! ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@FreeBSD.ORG Wed May 20 13:11:39 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5DD5D147 for ; Wed, 20 May 2015 13:11:39 +0000 (UTC) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B2E716B0 for ; Wed, 20 May 2015 13:11:39 +0000 (UTC) Received: by igbyr2 with SMTP id yr2so101879558igb.0 for ; Wed, 20 May 2015 06:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=NcMsBYdpBqLY0IG9pWV8eHkAvaPVi+w4u97j/NB07xo=; b=V6Daj1YnlAv4/BbKz7SVkNi3+Vzi2fC3WpoQ2QV1GqcVGB6LcrK/C52aOYXYY77wkF maAXPTbIGL8tVCJ7FBZVmBWWx6OhpeCPGqs5YH8ATIFoPLKcsZr16JWIwCp18vNsH5UM +sqmAZtFbxH1m8SYtAtmvPWmT//TBA+NE1j3zAqtDQc3SC84eiAQo55PBa96l5QwTuYx yKs+/17skk11R3ieVmwJSGtDrjFSIv5Js1hC5m87VJS40i15RsnWO1fdFrp/gVnifDi2 0Nrx6sRC0pGhCqiSkcQ56JV3xeQ+p5NsNyBymOrX3+fi9G3Ztpe2/lICsGxDu/OMDrsC 73DA== X-Received: by 10.42.226.8 with SMTP id iu8mr45506936icb.17.1432127498667; Wed, 20 May 2015 06:11:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Wed, 20 May 2015 06:11:18 -0700 (PDT) From: Avinash Sonawane Date: Wed, 20 May 2015 18:41:18 +0530 Message-ID: Subject: Brightness control in FreeBSD 10.1-RELEASE To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 13:11:39 -0000 Hello! # uname -a FreeBSD titanic.rootkea.me 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 My brightness control keys don't work. When I press "Decrease brightness" key nothing happens whereas when I press "Increase brightness" key the continuous string of . (dot) appears on the application running in foreground. I tried `kldload acpi_video` but then when I tried to decrease the brightness at first nothing happened and the suddenly brightness dropped to minimum. Then when I tried to increase the brightness to normal by pressing "Increase brightness" key the system went to reboot automatically. So how do I control the brightness of my FreeBSD box? -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com From owner-freebsd-questions@FreeBSD.ORG Wed May 20 13:29:37 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06E196E7 for ; Wed, 20 May 2015 13:29:37 +0000 (UTC) Received: from mailout.easymail.ca (mailout.easymail.ca [64.68.201.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C09231884 for ; Wed, 20 May 2015 13:29:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 8AD91E1A7 for ; Wed, 20 May 2015 09:22:11 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mailout.easymail.ca X-Spam-Flag: NO X-Spam-Score: -3.707 X-Spam-Level: X-Spam-Status: No, score=-3.707 required=5 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, DNS_FROM_AHBL_RHSBL=0.692] Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (easymail-mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GejfkYiZZVik for ; Wed, 20 May 2015 09:22:11 -0400 (EDT) Received: from [192.168.42.150] (S0106000c42532c8b.ok.shawcable.net [174.4.61.34]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 3B714E18C for ; Wed, 20 May 2015 09:22:11 -0400 (EDT) Message-ID: <555C8A81.4060601@gooch.io> Date: Wed, 20 May 2015 06:22:09 -0700 From: Jesse Gooch Reply-To: jesse@gooch.io User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: docecot SSL/TLS without certificate References: <555C7FDC.5050706@gmail.com> In-Reply-To: <555C7FDC.5050706@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 13:29:37 -0000 On 5/20/2015 5:36 AM, Ernie Luzar wrote: > Is there some way to configure Dovecot pop3 server to provide TLS > without Dovecot needing a certificate? As far as I know that's not how TLS works. > The self signed cert that the > Dovecot manual shows you how to make is flagged as invaild / un-trusted > every time my thunderbird mail reading client fetches mail and I have to > answer question about accepting it. You could buy a certificate from one of the certificate authorities Thunderbird trusts. Apparently you can get free ones from StartSSL - not sure if Thunderbird trusts them though. > I see Dovecot has option to require client to also have a certificate > but no where does the Dovecot manual talk about what this certificate is > or how to build it. Will importing the Dovecot certificate to > Thunderbird stop Thunderbird from issuing that invaild / un-trusted > certificate error message? I think you can use a certificate for authentication on the client side. I don't think that would get rid of the warning for your server's self-signed cert though. You could also create a CA, create a certificate signed by that CA, and import the CA's public key into Thunderbird. Then you wouldn't get the error anymore. I recommend reading up on how SSL/TLS works! From owner-freebsd-questions@FreeBSD.ORG Wed May 20 15:08:46 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4C8BF0D for ; Wed, 20 May 2015 15:08:46 +0000 (UTC) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E0721546 for ; Wed, 20 May 2015 15:08:46 +0000 (UTC) Received: by iesa3 with SMTP id a3so41478544ies.2 for ; Wed, 20 May 2015 08:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1FSA2RPr6LbmrB7gggF6xUmHguijF5hHn4D5Ke358so=; b=XJP1BdmAuypU6oFUpqWBfBhrYJfYs/RDkT562fd4N8vwGTXsjHPCLZqGAEVF0GOJDv w/nZEV4OMC6ImxMxadSnls3InTWq71FYu38BwG260CnWBlD7M8LIYoUKQrBKP4DVRa+I RmOddVmXK6jv5Z9xyIQJ8E9zmYPL3A4AFRXbZmRBthnCOZ75k8LiTdxX9liK5F70dLKM ziwGQOVB5MWUSP53rBWhoaew1zxWhdLhxWC122Sw2XdKFqKYfMwGqx5hcHXGwLfQXNWm M0okK9kdS62Dd3h0s5TDsqchjX4r4qu4yZf/fPcQN+WEwHqij/aOxFNiVLAbsYfr92+b gyrw== MIME-Version: 1.0 X-Received: by 10.107.157.130 with SMTP id g124mr13603118ioe.11.1432134525721; Wed, 20 May 2015 08:08:45 -0700 (PDT) Received: by 10.36.27.139 with HTTP; Wed, 20 May 2015 08:08:45 -0700 (PDT) Received: by 10.36.27.139 with HTTP; Wed, 20 May 2015 08:08:45 -0700 (PDT) In-Reply-To: <555C80DD.70706@sentex.net> References: <555B43AC.3010807@sentex.net> <555C80DD.70706@sentex.net> Date: Wed, 20 May 2015 11:08:45 -0400 Message-ID: Subject: Re: devfs.rules in a jail From: Jason Unovitch To: Mike Tancsa , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 15:08:46 -0000 On May 20, 2015 8:41 AM, "Mike Tancsa" wrote: > > On 5/19/2015 1:01 PM, Ricky G wrote: >> >> >> >> export jail_mdtp_sentex_ca_devfs_ruleset="5" >> >> I don't know why its possible to name the rules but only the rule number >> matters when setting the jails ruleset. > > > > Thanks! That was it! > > > ---Mike > > > -- > ------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, mike@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada http://www.tancsa.com/ > _______________________________________________ FYI, names used to work on FreeBSD 9.x. Since FreeBSD 10.0 it needs to be the integer for that ruleset. -Jason From owner-freebsd-questions@FreeBSD.ORG Wed May 20 15:30:28 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3DB46766 for ; Wed, 20 May 2015 15:30:28 +0000 (UTC) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0848A1840 for ; Wed, 20 May 2015 15:30:28 +0000 (UTC) Received: by iepj10 with SMTP id j10so41876368iep.3 for ; Wed, 20 May 2015 08:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=vbkwBKLilktWNuNVOACs4FdGgXshyj2B4qAzXuMi6Bo=; b=ToQX37XSfxY1H4R6dEFztSCVKh02kdhz4IDoVWtKk5/CLy2k/Zm3vOLcZx0UB5J8+z 267VPqDoc3l1+ZCKmNt39+D0uOng4x0PxS1v/WxKITJ9/PbhBLhozONmcpPCuTm3MU2Y WgiWpAAoqsFvc4A0OEYZNE8exYk6LFAkuWKpdGCW6A5GoedtYmdvQU+ECdN4ypckSHTT XTKqNVBRdk3kvjWgbqth0wjvgQ3HkVAKynFWUblZcNwo6b8kNs5BshU1yQbG2RWINHs1 mwSwsMjTkdVzYOG4eTEO2l/txp26UGI09oEYWXOwMfrBOIN//tC5HaIIGtvyHQaWpnYk A99A== MIME-Version: 1.0 X-Received: by 10.50.141.198 with SMTP id rq6mr28599864igb.6.1432135827245; Wed, 20 May 2015 08:30:27 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Wed, 20 May 2015 08:30:27 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 May 2015 08:30:27 -0700 X-Google-Sender-Auth: NLqQIqu-CL0bj7aYawrmUmlnxL0 Message-ID: Subject: Re: Brightness control in FreeBSD 10.1-RELEASE From: Adrian Chadd To: Avinash Sonawane Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 15:30:28 -0000 Which hardware is this? :) -a On 20 May 2015 at 06:11, Avinash Sonawane wrote: > Hello! > > # uname -a > FreeBSD titanic.rootkea.me 10.1-RELEASE FreeBSD 10.1-RELEASE #0 > r274401: Tue Nov 11 21:02:49 UTC 2014 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > My brightness control keys don't work. When I press "Decrease > brightness" key nothing happens whereas when I press "Increase > brightness" key the continuous string of . (dot) appears on the > application running in foreground. > > I tried `kldload acpi_video` but then when I tried to decrease the > brightness at first nothing happened and the suddenly brightness > dropped to minimum. Then when I tried to increase the brightness to > normal by pressing "Increase brightness" key the system went to reboot > automatically. > > So how do I control the brightness of my FreeBSD box? > > -- > Avinash Sonawane (RootKea) > PICT, Pune > http://rootkea.wordpress.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed May 20 17:39:38 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 726BC7C2 for ; Wed, 20 May 2015 17:39:38 +0000 (UTC) Received: from nm27-vm5.access.bullet.mail.gq1.yahoo.com (nm27-vm5.access.bullet.mail.gq1.yahoo.com [216.39.63.145]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 435591983 for ; Wed, 20 May 2015 17:39:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432143379; bh=2f5IdLlWqekoI9nijfwbSjxADGGiiP2u/QlBjhi586A=; h=From:To:Subject:Date:From:Subject; b=lzbXW7KOtRu3PX90+IoO2jE/IrOup871pViykt6BEGBiJV+sqeg6h25JITKpsRzJNUAWs98qsG1y1hxN/UGyqYu3aYQLbUIng/G0vPU670BFt27d83CpySy4JOJ2z9yODzUX9pMByX2llFFp3NWqieZvqwPxKSm4ZrvF9Fcj1kehJ1K2PSjRJachXuHZEZvzJ+C6w+LlYsy2sEE2WNE8OVMoK7Ps0AuHMIjrQ9SfD4GlfcAmYLluEIWsRrKFRa69fOKXeA5KDc5atEb1V+Pe0MUeFvfc/nx62lfM95Q2LyhndlVVJ82v4aFBLM8rauLaDXa7nfUJ9r+/Zyr2BWTuCA== Received: from [216.39.60.165] by nm27.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 17:36:19 -0000 Received: from [67.195.22.117] by tm1.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 17:36:19 -0000 Received: from [127.0.0.1] by smtp112.sbc.mail.gq1.yahoo.com with NNFMP; 20 May 2015 17:36:19 -0000 X-Yahoo-Newman-Id: 397463.88962.bm@smtp112.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ioOaDkIVM1mBwXoeJfwJ0gy_xLJuQhBP1im8O_mjoJHGqAv m.3o.rUglmRc92kwvkex6bQPx1FArU_76L4k7fP4Zx_0Wl.5QjC2nuFddOtk VXDDQ4m1CMdsijv4LvXpE1MURo_NpUQyL6GNk5sapF62UeheFOG6r0Y_PgcP ECWTDYbKCcwSk68kIAVxRwJgwNOOm_Y5.Zv_dxGZGQ9O2mq.ShO4bg2_6n.W B26YCUX9fC4rtgs.81i7tz1or7.CWq5jbiYyAWOFcsdCm96RCyqXqAGMhlon lnLtnFTDYRQ_iLUpna4087k7UAsaSDLb0b_rmVDVaFUhaPu_V1.1b0LESBe5 2wnInsRCGsjbXYf8pfTbqFwz9Y_WYf4o0hNCvzyOsqyxNW7cB5FHEyzeBmG4 hICifLxd_KFS8Qs6wNpgt3GrMM2AgFFGClPFSOp2O3OeipzMMH6TTlHHKhCb YStgxc7_k8SUegSQzFa7e5Dq5Yh3ewPK4YywjAlbXWB5O5z8jYOGE4YAmoqU IP9FmchgDk.NtAPomim1Rio4a2zha5iJU00PCk0zM22PDUPqa X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: freetype in ports? Date: Wed, 20 May 2015 10:36:17 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 17:39:38 -0000 Hello; I want to add freetype to system so I can build php5.6x with GD, with freetype ttf font support. I did find /usr/ports *freetype* and no match came up same with find /usr/ports FreeType2 and no match came up I assume this is used in xwindows as well as in php gd for image generation from ttf fonts. Thanks JK From owner-freebsd-questions@FreeBSD.ORG Wed May 20 17:39:41 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 157BA811 for ; Wed, 20 May 2015 17:39:41 +0000 (UTC) Received: from mail.tridentusa.com (mail.tridentusa.com [96.225.19.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.tridentusa.com", Issuer "mail.tridentusa.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AD7951984 for ; Wed, 20 May 2015 17:39:40 +0000 (UTC) Received: (qmail 99732 invoked from network); 20 May 2015 13:32:58 -0400 Received: from john-j (HELO ?172.16.0.90?) (jjohnstone@tridentusa.com@172.16.0.90) by mail.tridentusa.com with AES128-SHA encrypted SMTP; 20 May 2015 13:32:58 -0400 Message-ID: <555CC52D.4030507@tridentusa.com> Date: Wed, 20 May 2015 13:32:29 -0400 From: John Johnstone User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: docecot SSL/TLS without certificate References: <555C7FDC.5050706@gmail.com> In-Reply-To: <555C7FDC.5050706@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 17:39:41 -0000 On 5/20/2015 8:36 AM, Ernie Luzar wrote: > Is there some way to configure Dovecot pop3 server to provide TLS > without Dovecot needing a certificate? The self signed cert that the > Dovecot manual shows you how to make is flagged as invaild / un-trusted > every time my thunderbird mail reading client fetches mail and I have to > answer question about accepting it. > > I see Dovecot has option to require client to also have a certificate > but no where does the Dovecot manual talk about what this certificate is > or how to build it. Will importing the Dovecot certificate to > Thunderbird stop Thunderbird from issuing that invaild / un-trusted > certificate error message? When Thunderbird makes a secure connection to an untrusted server it puts up the Add Security Exception prompt. At the bottom is a checkbox for Permanently store this exception. Just check that and you will only have to confirm the exception that one time. Thunderbird will store the certificate. You can take a look at it under Options > Advanced > Certificates > View Certificates. You won't need a client certificate. This is a fairly old article on SSL/TLS but most of it is probably still valid. https://tidbits.com/article/9049 You can read up on similar articles to help understand all of this. - John J. From owner-freebsd-questions@FreeBSD.ORG Wed May 20 17:49:33 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F5121C1 for ; Wed, 20 May 2015 17:49:33 +0000 (UTC) Received: from nm10-vm6.access.bullet.mail.gq1.yahoo.com (nm10-vm6.access.bullet.mail.gq1.yahoo.com [216.39.63.158]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E39A1AF2 for ; Wed, 20 May 2015 17:49:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432144005; bh=W4jjkqrARgB/C4piZjSqMv/48HYJtCxIfMC4+CW56hA=; h=Cc:From:To:In-Reply-To:Subject:Date:References:From:Subject; b=eVk7M95mgZh9rlTkpXsVhQTx3vTQ/qv3VI0MoxK+uGSAnFNKwA3cx3knAV93PzTOI7gJZHWqm1Ue2aBCd+bdTeIeYCqRttxUGfx9pHDlDaL1FFKtoc00ik+wCgJahrlKVLl/FsjVuL72twwA2PkanT+RhZgKSk/N5MByfkdhIoCCSefS6BTPj2QodD4lJS6qP3S42AVjvRRsvCHblAMuimUbaYJ4512TVrWzLe1DInLEX6Gx50FC/thFiETnEvassjzPun4r9hKsXtdbTeh8lWFNg/pjiIXeyX3isklCeWANdWpTNgZ/uNx9PpQ5hSgOO65kRrHoWIfRW0ywojLDcw== Received: from [216.39.60.172] by nm10.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 17:46:45 -0000 Received: from [67.195.22.116] by tm8.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 17:46:45 -0000 Received: from [127.0.0.1] by smtp111.sbc.mail.gq1.yahoo.com with NNFMP; 20 May 2015 17:46:45 -0000 X-Yahoo-Newman-Id: 965724.7780.bm@smtp111.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: JuNSDTIVM1kIGwcRDNxuHGeJcKWQvXYmrKDwBxI2.5gR1Pw Dfx9E7wJJ635AoDuUIPS0z_S0CO_k7HVEQsvdM7tLfmTLpWbFH0RsfNULAl5 MOGhnv1vdFniyGmmvAe92CJU4yNYO4Ss8t_24.H_j9X4343DZLT7buFmsEZo SYj_haX9ngpEpHhjqCrF.S8ABCxwinu25VFrn6cml6bmwU9hFw2dCd2C27o4 p_85QT5Hrzc5J9.F_t_LR3MmCWy4bYr8saQRvUhmqN3QDFFy6hg9XWVQoSvF .67jZIFBNbI1xtKDBBEwf0IkgGYjPWmN5bY2YHtf6gkvgiDidAvH8pwlryW7 s0txqz_L_bdeL4DiJfauN.VCIF4AQJ26sipwf4ifsoONfUjwYNn6HiAcdHm5 .wsgc.5kdCDAOBO.GB6ryZDMw8_wHfjzuKisUzrI3v3V4pyflfyCAUtlrznY TkXUDZ8nOXOfcTyJeKfQTIz6BeFXB1ClNyemBne3A6Ro0btBUAWJYxLUP4dY 4tiPH0Azxy2lwQGn8SpHLJCEMwnA7fT7fD0yz96GvwgP3cL.O X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Cc: freebsd-questions@freebsd.org Message-Id: <16F5D0D0-10C7-4F68-AC69-14066A978C33@prodigy.net> From: Jeffry Killen To: Jeffry Killen In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: freetype in ports? Date: Wed, 20 May 2015 10:46:44 -0700 References: X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 17:49:33 -0000 On May 20, 2015, at 10:36 AM, Jeffry Killen wrote: > Hello; > > I want to add freetype to system so I can build php5.6x with GD, > with freetype > ttf font support. > > I did > find /usr/ports *freetype* and no match came up > > same with > find /usr/ports FreeType2 and no match came up > > I assume this is used in xwindows as well as in php gd > for image generation from ttf fonts. > > Thanks > JK I found it in the print sub dir From owner-freebsd-questions@FreeBSD.ORG Wed May 20 18:05:06 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06CCEFDF for ; Wed, 20 May 2015 18:05:06 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE249105C for ; Wed, 20 May 2015 18:05:05 +0000 (UTC) Received: from r56.edvax.de (port-92-195-46-95.dynamic.qsc.de [92.195.46.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id B77E32780D; Wed, 20 May 2015 20:04:56 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4KI4uA7002744; Wed, 20 May 2015 20:04:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 20 May 2015 20:04:56 +0200 From: Polytropon To: Jeffry Killen Cc: freebsd-questions@freebsd.org Subject: Re: freetype in ports? Message-Id: <20150520200456.49f6ee31.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 18:05:06 -0000 On Wed, 20 May 2015 10:36:17 -0700, Jeffry Killen wrote: > Hello; > > I want to add freetype to system so I can build php5.6x with GD, with > freetype > ttf font support. > > I did > find /usr/ports *freetype* and no match came up > > same with > find /usr/ports FreeType2 and no match came up See "man 7 ports" and use the power of # make search name="freetype" which will provide the information you need. Note that "freetype" and "freetype2" are individual packages. > I assume this is used in xwindows as well as in php gd > for image generation from ttf fonts. Freetype is a typical installation component of X which uses it as a module. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed May 20 18:41:04 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26188BB0 for ; Wed, 20 May 2015 18:41:04 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id 025F81511 for ; Wed, 20 May 2015 18:41:03 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id B7DACCB8C99; Wed, 20 May 2015 13:17:43 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Wed, 20 May 2015 13:17:43 -0500 (CDT) Message-ID: <50466.128.135.70.2.1432145863.squirrel@cosmo.uchicago.edu> In-Reply-To: <20150520200456.49f6ee31.freebsd@edvax.de> References: <20150520200456.49f6ee31.freebsd@edvax.de> Date: Wed, 20 May 2015 13:17:43 -0500 (CDT) Subject: Re: freetype in ports? From: "Valeri Galtsev" To: "Polytropon" Cc: "Jeffry Killen" , freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 18:41:04 -0000 On Wed, May 20, 2015 1:04 pm, Polytropon wrote: > On Wed, 20 May 2015 10:36:17 -0700, Jeffry Killen wrote: >> Hello; >> >> I want to add freetype to system so I can build php5.6x with GD, with >> freetype >> ttf font support. >> >> I did >> find /usr/ports *freetype* and no match came up >> >> same with >> find /usr/ports FreeType2 and no match came up I would use unix find comand as follows: find /usr/ports -name \*freetype\* But the suggestion by Mr. Polytropon below is much better (as it doesn't care about case to the contrary to find command above... Valeri > > See "man 7 ports" and use the power of > > # make search name="freetype" > > which will provide the information you need. Note > that "freetype" and "freetype2" are individual packages. > > > >> I assume this is used in xwindows as well as in php gd >> for image generation from ttf fonts. > > Freetype is a typical installation component of X which > uses it as a module. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Wed May 20 19:16:16 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4BCEADF2 for ; Wed, 20 May 2015 19:16:16 +0000 (UTC) Received: from mail.tridentusa.com (mail.tridentusa.com [96.225.19.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.tridentusa.com", Issuer "mail.tridentusa.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DF726192F for ; Wed, 20 May 2015 19:16:15 +0000 (UTC) Received: (qmail 3426 invoked from network); 20 May 2015 15:16:14 -0400 Received: from pool-108-35-251-60.nwrknj.fios.verizon.net (HELO ?192.168.1.61?) (jjohnstone@tridentusa.com@108.35.251.60) by mail.tridentusa.com with SMTP; 20 May 2015 15:16:14 -0400 Message-ID: <555CDD7B.5060102@tridentusa.com> Date: Wed, 20 May 2015 15:16:11 -0400 From: John Johnstone User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org CC: Valeri Galtsev , Jeffry Killen Subject: Re: freetype in ports? References: <20150520200456.49f6ee31.freebsd@edvax.de> <50466.128.135.70.2.1432145863.squirrel@cosmo.uchicago.edu> In-Reply-To: <50466.128.135.70.2.1432145863.squirrel@cosmo.uchicago.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 19:16:16 -0000 On 5/20/15 2:17 PM, Valeri Galtsev wrote: > > On Wed, May 20, 2015 1:04 pm, Polytropon wrote: >> On Wed, 20 May 2015 10:36:17 -0700, Jeffry Killen wrote: >>> Hello; >>> >>> I want to add freetype to system so I can build php5.6x with GD, with >>> freetype >>> ttf font support. >>> >>> I did >>> find /usr/ports *freetype* and no match came up >>> >>> same with >>> find /usr/ports FreeType2 and no match came up > > I would use unix find comand as follows: > > find /usr/ports -name \*freetype\* > > But the suggestion by Mr. Polytropon below is much better (as it doesn't > care about case to the contrary to find command above... How about -iname? - John J. From owner-freebsd-questions@FreeBSD.ORG Wed May 20 19:29:19 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18E434EA for ; Wed, 20 May 2015 19:29:19 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C05A31AF1 for ; Wed, 20 May 2015 19:29:18 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t4KJTGMG054904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 20 May 2015 13:29:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id t4KJTFkM054901; Wed, 20 May 2015 13:29:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 20 May 2015 13:29:15 -0600 (MDT) From: Warren Block To: Jeffry Killen cc: freebsd-questions@freebsd.org Subject: Re: freetype in ports? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 20 May 2015 13:29:16 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 19:29:19 -0000 On Wed, 20 May 2015, Jeffry Killen wrote: > Hello; > > I want to add freetype to system so I can build php5.6x with GD, with > freetype > ttf font support. > > I did > find /usr/ports *freetype* and no match came up Use -name. If the stars are used, they have to be protected from shell expansion: find /usr/ports -name "*freetype*" But usually ports can be found quickly with whereis: % whereis freetype freetype: /usr/ports/print/freetype If you don't know the exact name used, there are search options like Polytropon showed, or the freshports.org website can be handy. From owner-freebsd-questions@FreeBSD.ORG Wed May 20 19:30:06 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC6EE58D for ; Wed, 20 May 2015 19:30:06 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE4E61B04 for ; Wed, 20 May 2015 19:30:06 +0000 (UTC) Received: from r56.edvax.de (port-92-195-46-95.dynamic.qsc.de [92.195.46.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id ECB432778E; Wed, 20 May 2015 21:30:03 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4KJU3EB002960; Wed, 20 May 2015 21:30:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 20 May 2015 21:30:03 +0200 From: Polytropon To: John Johnstone Cc: Jeffry Killen , freebsd-questions@freebsd.org Subject: Re: freetype in ports? Message-Id: <20150520213003.81724640.freebsd@edvax.de> In-Reply-To: <555CDD7B.5060102@tridentusa.com> References: <20150520200456.49f6ee31.freebsd@edvax.de> <50466.128.135.70.2.1432145863.squirrel@cosmo.uchicago.edu> <555CDD7B.5060102@tridentusa.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 19:30:07 -0000 On Wed, 20 May 2015 15:16:11 -0400, John Johnstone wrote: > On 5/20/15 2:17 PM, Valeri Galtsev wrote: > > > > On Wed, May 20, 2015 1:04 pm, Polytropon wrote: > >> On Wed, 20 May 2015 10:36:17 -0700, Jeffry Killen wrote: > >>> Hello; > >>> > >>> I want to add freetype to system so I can build php5.6x with GD, with > >>> freetype > >>> ttf font support. > >>> > >>> I did > >>> find /usr/ports *freetype* and no match came up > >>> > >>> same with > >>> find /usr/ports FreeType2 and no match came up > > > > I would use unix find comand as follows: > > > > find /usr/ports -name \*freetype\* > > > > But the suggestion by Mr. Polytropon below is much better (as it doesn't > > care about case to the contrary to find command above... > > How about -iname? Also possible, but it will find _any_ file (or even directory) which contains the search pattern. This may be a lot, whereas the _question_ you want answered is: Where does live within the ports tree? For this question, I think using "make search" is the more convenient method, especially because of its output: Whereas find will list (correctly) found files and directories, "make search" will give you the port directory and additional information. In my opinion, this is easier to read. By the way, you can turn # cd /usr/src # make search name="freetype" into # make -C /usr/ports search name="freetype" and create a shell alias, if you need this more often. :-) Even better: If you intend to search for some word(s) in the ports description, use key= instead of name= to search for keywords. Finally allow me to repeat "man 7 ports" which lists several other search "queries". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed May 20 19:31:59 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A268649 for ; Wed, 20 May 2015 19:31:59 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id 657691BDA for ; Wed, 20 May 2015 19:31:59 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 54DF3CB8C95; Wed, 20 May 2015 14:31:58 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Wed, 20 May 2015 14:31:58 -0500 (CDT) Message-ID: <36123.128.135.70.2.1432150318.squirrel@cosmo.uchicago.edu> In-Reply-To: <555CDD7B.5060102@tridentusa.com> References: <20150520200456.49f6ee31.freebsd@edvax.de> <50466.128.135.70.2.1432145863.squirrel@cosmo.uchicago.edu> <555CDD7B.5060102@tridentusa.com> Date: Wed, 20 May 2015 14:31:58 -0500 (CDT) Subject: Re: freetype in ports? From: "Valeri Galtsev" To: "John Johnstone" Cc: freebsd-questions@freebsd.org, "Jeffry Killen" , "Valeri Galtsev" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 19:31:59 -0000 On Wed, May 20, 2015 2:16 pm, John Johnstone wrote: > On 5/20/15 2:17 PM, Valeri Galtsev wrote: >> >> On Wed, May 20, 2015 1:04 pm, Polytropon wrote: >>> On Wed, 20 May 2015 10:36:17 -0700, Jeffry Killen wrote: >>>> Hello; >>>> >>>> I want to add freetype to system so I can build php5.6x with GD, with >>>> freetype >>>> ttf font support. >>>> >>>> I did >>>> find /usr/ports *freetype* and no match came up >>>> >>>> same with >>>> find /usr/ports FreeType2 and no match came up >> >> I would use unix find comand as follows: >> >> find /usr/ports -name \*freetype\* >> >> But the suggestion by Mr. Polytropon below is much better (as it doesn't >> care about case to the contrary to find command above... > > How about -iname? Indeed. You learn something every day. Thanks John! (I guess I should revisit man pages every so often for all command I use ;-) Valeri > > - > John J. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Wed May 20 19:36:17 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 110E68A5 for ; Wed, 20 May 2015 19:36:17 +0000 (UTC) Received: from nm26-vm7.access.bullet.mail.gq1.yahoo.com (nm26-vm7.access.bullet.mail.gq1.yahoo.com [216.39.63.204]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D51831C17 for ; Wed, 20 May 2015 19:36:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432150404; bh=cwyuKKDpdd8jFQuTLuPaCmcF0Y0GJknG9TW/416sfxs=; h=From:To:Subject:Date:From:Subject; b=qS+i9VKvnxrp8Y1djQPPXQjtt+PX7IO/TZEwNv9AGJAE8WekA2QF211GdopSaLpT4BJfsEDH1kbB+HPQ0tF1cH/0uxA2e5DjdarzbI9GKLgh2u0wf5g9Ls1ug3aC8CL1HmvJZc1BQEWwCBxWJAJW/PJZa/S7NRqTBDOv0XqdIS8nRrC8dbuwn6mtUck6P9Pw4w3Rob0uvc9h1uDWC7OpFcBAlpJpBOOX9AF8HyF4nBb/9UM95D/M7IXymlJWj10Wb5ufDofBfFcP6wET4ERcgv+crCLhKTyF3xXb6Mq93hOfdz56KJy5WW23b6cUXTVDVuLUxrDCxj7otTuTjR9UMg== Received: from [216.39.60.175] by nm26.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 19:33:24 -0000 Received: from [67.195.22.118] by tm11.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 19:33:24 -0000 Received: from [127.0.0.1] by smtp113.sbc.mail.gq1.yahoo.com with NNFMP; 20 May 2015 19:33:24 -0000 X-Yahoo-Newman-Id: 938012.84419.bm@smtp113.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: c12RKDIVM1ksXAvpXCmaxE3ylBozQHcpk4qTaCGcw4SBThz h5WxMVuTDiQopF9Uo8z6EiZvN1r_22OB1G_OdoCI.BQPZHBZwPHCMbGg745x n0poiGKnAr5zeiuB75fCk68iPIbfxB6o97GiSG8VRRTdQvUuTNFoajEn8NAw jkNA8N4OBSnOhl4Ip7DmZBgfG_3M4VQE8lN_zIQsS6LWe6CdsolKchTf8lns 6rjYGzwvJ.icHE6KtTqJZRb3jhRkswXvCBDi5Ws32Gd.0QQonBocK6VUy88I ZO7A6lDeVHcuaEsPgH.1pNoHlCMZuO3BlCzToI18mpt6fnr8ARP.LQppnJ.U 6dsxlOr4bI7zWtDFal.xLvijauARn7pqqD61U_jRy.8bfda64vMQABcZ5Qzt C_xHFXqDurB7mtkl3Si5Uo_X1CG.cXntYOKCdLMIVvx9irObeiFdA.pEmWg1 uowwB4piO7rnt3MGwVrzI6thLi2S8PtPPcg0OdKmn58I54HGiPgowW3PB.dc OY1FmBInzyYFTdGa0b16HSRA9RHypUE1vP7hFwkUFPxJB9ye.8CvCIP0- X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: <49D9CEBA-C50B-4A6C-B08A-C59881571001@prodigy.net> From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: ports freetype2 make build failed Date: Wed, 20 May 2015 12:33:22 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 19:36:17 -0000 Hello; I have been watching progress on this process for about 10 minutes Finally, the process came to a screeching halt: So, in my ignorance, what do I do now? Some of these that failed, such as py-sphinx, were from gui dialog offering the option. ====> Compressing man pages (compress-man) ===> Installing for python27-2.7.8_5 ===> Checking if python27 already installed ===> Registering installation for python27-2.7.8_5 as automatic pkg-static: lstat(/usr/ports/lang/python27/work/stage/usr/local/lib/ python2.7/lib2to3/Grammar2.7.8.final.0.pickle): No such file or directory pkg-static: lstat(/usr/ports/lang/python27/work/stage/usr/local/lib/ python2.7/lib2to3/PatternGrammar2.7.8.final.0.pickle): No such file or directory pkg-static: lstat(/usr/ports/lang/python27/work/stage/usr/local/lib/ python2.7/lib-dynload/_multiprocessing.so): No such file or directory pkg-static: lstat(/usr/ports/lang/python27/work/stage/usr/local/lib/ python2.7/lib-dynload/binascii.so): No such file or directory pkg-static: lstat(/usr/ports/lang/python27/work/stage/usr/local/lib/ python2.7/lib-dynload/zlib.so): No such file or directory *** Error code 74 Stop. make[11]: stopped in /usr/ports/lang/python27 *** Error code 1 Stop. make[10]: stopped in /usr/ports/lang/python27 *** Error code 1 Stop. make[9]: stopped in /usr/ports/devel/py-setuptools27 *** Error code 1 Stop. make[8]: stopped in /usr/ports/devel/py-Jinja2 *** Error code 1 Stop. make[7]: stopped in /usr/ports/devel/py-Jinja2 *** Error code 1 Stop. make[6]: stopped in /usr/ports/textproc/py-sphinx *** Error code 1 Stop. make[5]: stopped in /usr/ports/devel/cmake *** Error code 1 Stop. make[4]: stopped in /usr/ports/devel/cmake *** Error code 1 Stop. make[3]: stopped in /usr/ports/graphics/png *** Error code 1 Stop. make[2]: stopped in /usr/ports/graphics/png *** Error code 1 Stop. make[1]: stopped in /usr/ports/print/freetype2 *** Error code 1 Stop. make: stopped in /usr/ports/print/freetype2 Thanks for time and attention JK From owner-freebsd-questions@FreeBSD.ORG Wed May 20 19:47:09 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DDC0C5D for ; Wed, 20 May 2015 19:47:09 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id 77EF61D51 for ; Wed, 20 May 2015 19:47:09 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id ACD5FCB8C98; Wed, 20 May 2015 14:47:08 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Wed, 20 May 2015 14:47:08 -0500 (CDT) Message-ID: <60123.128.135.70.2.1432151228.squirrel@cosmo.uchicago.edu> In-Reply-To: <20150520213003.81724640.freebsd@edvax.de> References: <20150520200456.49f6ee31.freebsd@edvax.de> <50466.128.135.70.2.1432145863.squirrel@cosmo.uchicago.edu> <555CDD7B.5060102@tridentusa.com> <20150520213003.81724640.freebsd@edvax.de> Date: Wed, 20 May 2015 14:47:08 -0500 (CDT) Subject: Re: freetype in ports? From: "Valeri Galtsev" To: "Polytropon" Cc: "John Johnstone" , "Jeffry Killen" , freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 19:47:09 -0000 On Wed, May 20, 2015 2:30 pm, Polytropon wrote: > On Wed, 20 May 2015 15:16:11 -0400, John Johnstone wrote: >> On 5/20/15 2:17 PM, Valeri Galtsev wrote: >> > >> > On Wed, May 20, 2015 1:04 pm, Polytropon wrote: >> >> On Wed, 20 May 2015 10:36:17 -0700, Jeffry Killen wrote: >> >>> Hello; >> >>> >> >>> I want to add freetype to system so I can build php5.6x with GD, >> with >> >>> freetype >> >>> ttf font support. >> >>> >> >>> I did >> >>> find /usr/ports *freetype* and no match came up >> >>> >> >>> same with >> >>> find /usr/ports FreeType2 and no match came up >> > >> > I would use unix find comand as follows: >> > >> > find /usr/ports -name \*freetype\* >> > >> > But the suggestion by Mr. Polytropon below is much better (as it >> doesn't >> > care about case to the contrary to find command above... >> >> How about -iname? > > Also possible, but it will find _any_ file (or even directory) > which contains the search pattern. This may be a lot, whereas > the _question_ you want answered is: Where does live > within the ports tree? For this question, I think using "make search" > is the more convenient method, especially because of its output: > Whereas find will list (correctly) found files and directories, > "make search" will give you the port directory and additional > information. In my opinion, this is easier to read. > > By the way, you can turn > > # cd /usr/src > # make search name="freetype" > > into > > # make -C /usr/ports search name="freetype" > Thanks Mr. Polytropon! The moment I saw your suggestion I told myself I will never use unix find command when I need something related to ports make search name="[whatever]" in /usr/ports makes much more sense. You learn something every day! Valeri > and create a shell alias, if you need this more often. :-) > > Even better: If you intend to search for some word(s) in the > ports description, use key= instead of name= to search for > keywords. > > Finally allow me to repeat "man 7 ports" which lists several > other search "queries". > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Wed May 20 21:59:16 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA244EE4 for ; Wed, 20 May 2015 21:59:15 +0000 (UTC) Received: from it2pimp.be (www.it2pimp.be [94.23.214.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F8481C91 for ; Wed, 20 May 2015 21:59:14 +0000 (UTC) Received: from hephaestus (ion [81.82.195.181]) by it2pimp.be (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id t4KLsQC8021026 for ; Wed, 20 May 2015 23:54:27 +0200 Message-ID: <1432158865.12990.5.camel@belgoline.com> Subject: NanoBSD: issue including firmware for ral driver in image From: Buzz Zaman To: freebsd-questions@freebsd.org Date: Wed, 20 May 2015 23:54:25 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 (3.12.11-1.fc21) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.98.6 at www.it2pimp.be X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 21:59:16 -0000 Hi all, With my current NanoBSD build I'm not able to bring up the ral0 interface. Instead I get the following: ... rt2561sfw: could not load firmware image, error 2 ral0: rt2661_load_microcode: unable to retrieve firmware image rt2561sfw ral0: rt2661_init_locked: could not load 8051 microcode, error 22 I figured out that I need the firmware for the device which I hoped accomplishing with including the firmware, ral and ralfw modules in my nanobsd.conf (included at the end). However this leads to the kernel failing to install, more specifically I get the following error ===> ral (install) install -o root -g wheel -m 555 if_ral.ko /usr/obj/nanobsd.nano//_.w/boot/kernel install -o root -g wheel -m 555 if_ral.ko.symbols /usr/obj/nanobsd.nano//_.w/boot/kernel ===> ralfw (install) ===> ralfw/rt2561 (install) install -o root -g wheel -m 555 rt2561fw.ko /usr/obj/nanobsd.nano//_.w/boot/kernel install: rt2561fw.ko: No such file or directory *** Error code 71 I'm working with 10.1-RELEASE. I googled around but didn't find anything useful. I guess that this is basic FreeBSD module building stuff... but I don't see it. Apart from that I'm really impressed with NanoBSD, it's simply great! nanobsd.conf: NANO_NAME="nano" NANO_KERNEL=GENERIC NANO_ARCH=i386 TARGET_ARCH=i386; export TARGET_ARCH TARGET_CPUTYPE=i386; export TARGET_CPUTYPE NO_CLEAN=YES NANO_DRIVE=ad1 NANO_MEDIASIZE=1900000 NANO_CONFSIZE=40960 NANO_RAM_ETCSIZE=20480 NANO_RAM_TMPVARSIZE=102400 NANO_NEWFS="-m 0 -b 4096 -f 512 -i 8192 -O1" # NANO_PMAKE="make -j 8" NANO_PMAKE="${NANO_PMAKE} -DDB_FROM_SRC" NANO_MODULES="pf pflog if_bridge bridgestp netgraph/netgraph netgraph/ether netgraph/pppoe netgraph/socket wlan wlan_xauth wlan_tkip wlan_ccmp wlan_wep wlan_rssadapt firmware amdtemp bios wlan_amrr ral ralfw" # 0 -> Leave second image all zeroes so it compresses better. # 1 -> Initialize second image with a copy of the first NANO_INIT_IMG2=0 CONF_INSTALL=' WITHOUT_INSTALLLIB=yes WITHOUT_TOOLCHAIN=yes ' CONF_WORLD=' WITHOUT_ACCT=yes WITHOUT_ACPI=yes WITHOUT_AMD=yes WITHOUT_APM=yes WITHOUT_AT=yes WITHOUT_ATM=yes WITHOUT_AUDIT=yes WITHOUT_AUTHPF=yes WITHOUT_BLUETOOTH=yes WITHOUT_CALENDAR=yes WITHOUT_CDDL=yes WITHOUT_CTM=yes WITHOUT_CVS=yes WITHOUT_DICT=yes WITHOUT_EXAMPLES=yes WITHOUT_FDT=yes WITHOUT_FLOPPY=yes WITHOUT_FREEBSD_UPDATE=yes WITHOUT_GAMES=yes WITHOUT_GCOV=yes WITHOUT_GPIB=yes WITHOUT_GPIO=yes WITHOUT_INFO=yes WITHOUT_IPFILTER=yes WITHOUT_IPFW=yes WITHOUT_IPX=yes WITHOUT_JAIL=yes WITHOUT_LOCALES=yes WITHOUT_LOCATE=yes WITHOUT_LPR=yes WITHOUT_NDIS=yes WITHOUT_NIS=yes WITHOUT_NLS=yes WITHOUT_NLS_CATALOGS=yes WITHOUT_NS_CACHING=yes WITHOUT_PC_SYSINSTALL=yes WITHOUT_PORTSNAP=yes WITHOUT_PROFILE=yes WITHOUT_QUOTAS=yes WITHOUT_RCMDS=yes WITHOUT_RCS=yes WITHOUT_ROUTED=yes WITHOUT_SHAREDOCS=yes WITHOUT_SOURCELESS=yes WITHOUT_SYSINSTALL=yes WITHOUT_USB=yes WITHOUT_MAN=yes WITHOUT_MAN_UTILS=yes ' cust_local() { echo ' sshd_enable=YES ifconfig_re0="DHCP" ' >>${NANO_WORLDDIR}/etc/rc.conf } customize_cmd cust_pkg customize_cmd cust_comconsole customize_cmd cust_install_files customize_cmd cust_allow_ssh_root customize_cmd cust_local Thanks All, B From owner-freebsd-questions@FreeBSD.ORG Wed May 20 23:02:17 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EDC31CF for ; Wed, 20 May 2015 23:02:17 +0000 (UTC) Received: from nm24-vm2.access.bullet.mail.gq1.yahoo.com (nm24-vm2.access.bullet.mail.gq1.yahoo.com [216.39.63.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2DF5141A for ; Wed, 20 May 2015 23:02:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432162803; bh=e+p+ymKWe262sGW4zoIYPa9vv6PdXMe+S8l/Es5AhRY=; h=From:To:Subject:Date:From:Subject; b=VScBZHPgZfCRl6m00i7XMDNXoD50MFHdhWeSoXZAceeT2jjhrafqhd6fmkIZcls3yrm60GLJ99mdU7YfV9rvJaL+wjhnQN7zqtiG+9Mgdictxzs248wP2g276WnATjxA6OdeuUbh0fZT9RWi3ndlvO57aNNQkipsCPIQGAy4JWH3oLIEzo0EUDSK8kCOlwxyQQFJw29zyeFcAYhdPgxMalVuB+d3qQFdJhJv2nLU/6/3D68ckuUeA3JfoM4Cr0TCy+rga2g+ulCjBZ8DsKzPv+acQ3DNdPykClPTjZ+QQKbg1C7+Nv1E4N77FHM2opAM+ifVGoNr8wvhrTV5j8twmg== Received: from [216.39.60.171] by nm24.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 23:00:03 -0000 Received: from [67.195.23.147] by tm7.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 23:00:03 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.gq1.yahoo.com with NNFMP; 20 May 2015 23:00:03 -0000 X-Yahoo-Newman-Id: 334655.6584.bm@smtp119.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 8AhHVfYVM1mIA_haO1BZncDMejt.IoNxL4FE5E61oapxnoz MXcxrs5Utp_JQAPdS1oLPYzCvboSfZSpGX9pQLEg14sDRbVIRTp3u6C8sxH3 eWvgBuA.Rj7Ke2a2usuXsicIYZ1yKSRQwpL8CSzlLFMjPNVst1jgQtWMBexF AnG_Z9rVPl5QGYPNYp8eVGxHbhu1p0GqarDzUdojB5tnFfw82RmwPXR5x8X5 IfHtaXQ4HlBIk7CMFqx_m0Jv7h6L9_1qXkFQG6vYpJ0IVStlw_FLg6SNEeRP GaC9.XqzDSLcsq1hwBkFztbOIPvgYxNUY07i02IycXYRGTFjuRw7OzYdbSbY VJxxmUOc6GryO0HZXO0wegE6dsaqr82.vQkSpPQZD2fRssQ76Nwz.LJSmE6c DAXjAGH6gIcrdSdHnT.9WaTI6ffYyeEOBO5wSpY11xceSmU3SroPB5Vk92x_ 9G31SNJduNvVZhIEWegFBEGmOd1qPChaGghi1aYuTd2B0BSKtPAeA9IXJalr OSb7K5z3jxAgAal6D4LeaJMZlOtKKEqbwFtIlK9SD3FD1stQdwVdN X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: From: Jeffry Killen To: FreeBSD - Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: ports freetype2 make build failed Date: Wed, 20 May 2015 16:00:02 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 23:02:17 -0000 Well, I seem to have solved this problem with drastic measure: I re installed the who FreeBSD system and started from scratch. FInished installing freetype2 jk From owner-freebsd-questions@FreeBSD.ORG Wed May 20 23:21:34 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B50B5A60 for ; Wed, 20 May 2015 23:21:34 +0000 (UTC) Received: from nm17-vm9.access.bullet.mail.gq1.yahoo.com (nm17-vm9.access.bullet.mail.gq1.yahoo.com [216.39.62.64]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8555C1668 for ; Wed, 20 May 2015 23:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432163908; bh=9/+Oo+Mk22Y8q9+J6x6RDM/PuMO/bNa4kEH9hqMVPpc=; h=From:To:Subject:Date:From:Subject; b=A0ybkuF/c3iEquP+BQ55VIdlJVyTKTcCo7GwTI9spFmNi9G+w8RBtxYI1CeR9wuddw4AA95b1o6i6bjqQ6P6oywxGopyYBg6xw4Tk4u9znH1ZQnHJv8BYwGh1JJmle6BH6lGMRciBlo6Rrd9EMnGd/gbUiW5KJugj1EUCKkcXeBRGWuZ+A2xUM4QRttGbfXsWbCyy4KxhkfFMveobFPVbAww+EVdCX8lyvmPGvFW/w1J+/C/yus952jokQfnXKeWssaudUk5Xv3uCanDBL34Ho6I8febPNl6wmgdWx19Gb7Rz2DKA8HBvcss2XEwtzM42E7NNGOsq+vGLf1Or0lqhg== Received: from [216.39.60.176] by nm17.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 23:18:28 -0000 Received: from [67.195.22.118] by tm12.access.bullet.mail.gq1.yahoo.com with NNFMP; 20 May 2015 23:18:28 -0000 Received: from [127.0.0.1] by smtp113.sbc.mail.gq1.yahoo.com with NNFMP; 20 May 2015 23:18:28 -0000 X-Yahoo-Newman-Id: 922800.43044.bm@smtp113.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: J2FlT6YVM1kw5kHG5cPLGbN8dGHBXWjr0ocT4QwO0oSLI3R 2QOpyxKDjInmO57TrPMTklXQB0ezD6vMm.vvD3PkF04sGuyler9PXG4kBapv Wmto.ILRfb1gsIOddqcjMtTGvyk_jjPq5HKpuS5ozTVFkutpTM.CjOJqU7rw _Cmyn3bXPxRIreNZjDtQnHvv6uoJMI_NH.vqF12f.Lul4dn8QsziFbfkXL7X umEX6pD4YM0y1NDc8H8NRdayja0J.hV96UGxpmmjp0ZcJu1ZECI88Snc9yh. iaKhnqc7Ic8O_wrJlzJTHK4tQ4ZSKwALN0dRG5Tc5p_g7z5LfNmgtsKdFvyP 3TLxD4vvhO6s7srRUB6Gl.sw21zdvfM3JBEOW.0n0yxWLN.k3IZxymaeK3uD t4lwisHKwW0HfNQY7dtEjkRYrHyr9_VInCNzIsGVtDw.d4d73ZoPajQGUuYb abdV8GefrZyWgqLLM9Kv3p71BrF8bYkAlyOA2kS1LeFnPsbi7akUwRwwwjmH YiXyiSorpab23Ah9NgqfNRJdKy7TLK7VATEe7B_pm495Hp1Q- X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: ports make search? Date: Wed, 20 May 2015 16:18:26 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 23:21:34 -0000 I am in /usr/ports and did make search name='libjpg' It says that INDEX_10 must be built So now I have excuted the command make index As I type this it appears that the process is completed. But it has been going on for around 20 minutes. Is it common or not unexpected to take that long? JK From owner-freebsd-questions@FreeBSD.ORG Wed May 20 23:53:19 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A304DFA2 for ; Wed, 20 May 2015 23:53:19 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53AC6197C for ; Wed, 20 May 2015 23:53:19 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-153.adsl.hiwaay.net [216.180.76.153]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t4KNrBAW029711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 20 May 2015 18:53:11 -0500 Message-ID: <555D1E67.9090003@hiwaay.net> Date: Wed, 20 May 2015 18:59:26 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ports make search? References: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> In-Reply-To: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 23:53:19 -0000 On 05/20/15 18:24, Jeffry Killen wrote: > I am in /usr/ports and > did make search name='libjpg' > It says that INDEX_10 must be built > > So now I have excuted the command > make index > > As I type this it appears that the process is completed. > > But it has been going on for around 20 minutes. Is it > common or not unexpected to take that long? > > JK > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Yes, that is one of the attractions of pkg's vs. ports, *much* quicker installs. Some months ago, I compiled the iceweb port, took over 5 hours on this box. The pkg install a week or 2 later took 30 sec. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Thu May 21 00:09:44 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA26C621 for ; Thu, 21 May 2015 00:09:44 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B21E71B20 for ; Thu, 21 May 2015 00:09:44 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-153.adsl.hiwaay.net [216.180.76.153]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t4L09geK010103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 20 May 2015 19:09:43 -0500 Message-ID: <555D2246.40201@hiwaay.net> Date: Wed, 20 May 2015 19:15:57 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: pkg upgrade problem References: <5557D47D.2030301@hiwaay.net> <5557D71F.70408@hiwaay.net> In-Reply-To: <5557D71F.70408@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 00:09:45 -0000 On 05/16/15 18:53, William A. Mahaffey III wrote: > On 05/16/15 18:50, Ben Woods wrote: >> On Sunday, May 17, 2015, William A. Mahaffey III wrote: >> >>> >>> I just tried to do a 'pkg upgrade -y' from the console CLI as root. I >>> redirected all output to a file, which I list below: >>> >>> >>> [root@kabini1, /etc, 6:40:13pm] 333 % cat LIST.pkg-upgrade.May2015.txt >>> Updating FreeBSD repository catalogue... >>> Fetching meta.txz... done >>> Fetching packagesite.txz... done >>> Processing entries... done >>> FreeBSD repository update completed. 23971 packages processed. >>> Checking for upgrades (536 candidates)... done >>> Processing candidates (536 candidates)... done >>> pkg: Cannot solve problem using SAT solver: >>> pkg: cannot find libreoffice in the request >>> pkg: cannot solve job using SAT solver >>> [root@kabini1, /etc, 6:40:16pm] 334 % >>> >>> I had cleaned out the /var/db/pkg/ directory of old repo data & meta >>> data. >>> How do I work around this ? Is this a problem w/ remote repos, or >>> something >>> at my end (possibly including pilot error :-/ ) ? TIA & have a nice >>> weekend >>> .... >>> >> I wonder if you have the latest version of pkg (can you please check you >> have 1.5.2 by typing pkg -v). >> >> Perhaps try updating pkg first using "pkg upgrade pkg". Then once >> again try >> your "pkg upgrade". >> >> Regards, >> Ben > > > Slightly more useful than my last reply .... > > [root@kabini1, /etc, 6:53:18pm] 335 % pkg -v > 1.5.2 > [root@kabini1, /etc, 6:53:19pm] 335 % uname -a > FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue > Apr 7 03:01:12 UTC 2015 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > [root@kabini1, /etc, 6:53:22pm] 336 % Anyone got anything on this ? I'm still stuck. If it's pilot error, just say so, I can take it ;-). TIA & have a nice evening .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Thu May 21 00:10:40 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 759A36B0 for ; Thu, 21 May 2015 00:10:40 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 381191B2D for ; Thu, 21 May 2015 00:10:39 +0000 (UTC) Received: from r56.edvax.de (port-92-195-46-95.dynamic.qsc.de [92.195.46.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4C12A3CE33; Thu, 21 May 2015 02:10:30 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4L0AU44006268; Thu, 21 May 2015 02:10:30 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 May 2015 02:10:30 +0200 From: Polytropon To: Jeffry Killen Cc: freebsd-questions@freebsd.org Subject: Re: ports make search? Message-Id: <20150521021030.4a0485ab.freebsd@edvax.de> In-Reply-To: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> References: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 00:10:40 -0000 On Wed, 20 May 2015 16:18:26 -0700, Jeffry Killen wrote: > I am in /usr/ports and > did make search name='libjpg' > It says that INDEX_10 must be built > > So now I have excuted the command > make index > > As I type this it appears that the process is completed. > > But it has been going on for around 20 minutes. Is it > common or not unexpected to take that long? If I remember correctly, the index file can be fetched and doesn't need to be built locally (which really takes some time, as you have noticed): # make fetchindex When the index is present, things like "make search" will work properly. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu May 21 00:20:50 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72BBDAE5 for ; Thu, 21 May 2015 00:20:50 +0000 (UTC) Received: from smtpb.telissant.net (smtpb.telissant.net [199.233.230.156]) by mx1.freebsd.org (Postfix) with ESMTP id 4928F1C70 for ; Thu, 21 May 2015 00:20:49 +0000 (UTC) Received: from barrida.3dresearch.com (localhost [127.0.0.1]) by smtpb.telissant.net (Postfix) with ESMTP id 0BAD82738C for ; Wed, 20 May 2015 20:01:23 -0400 (EDT) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpb.telissant.net ([127.0.0.1]) by barrida.3dresearch.com (barrida.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iXM4TPCo5fJt for ; Wed, 20 May 2015 20:01:06 -0400 (EDT) Received: from almavivazfs.3dresearch.com (pool-108-3-90-219.pitbpa.east.verizon.net [108.3.90.219]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpb.telissant.net (Postfix) with ESMTPSA id 61CD92737B for ; Wed, 20 May 2015 20:01:06 -0400 (EDT) Received: from almavivazfs.3dresearch.com (localhost [127.0.0.1]) by almavivazfs.3dresearch.com (Postfix) with SMTP id B8A089AB1CA for ; Wed, 20 May 2015 20:10:56 -0400 (EDT) Date: Wed, 20 May 2015 20:10:51 -0400 From: Janos Dohanics To: FreeBSD Questions Subject: Re: ports make search? Message-Id: <20150520201051.639919ad37f65336210132dd@3dresearch.com> In-Reply-To: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> References: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.27; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 00:20:50 -0000 On Wed, 20 May 2015 16:18:26 -0700 Jeffry Killen wrote: > I am in /usr/ports and > did make search name='libjpg' > It says that INDEX_10 must be built > > So now I have excuted the command > make index > > As I type this it appears that the process is completed. > > But it has been going on for around 20 minutes. Is it > common or not unexpected to take that long? > > JK You might want to try: make fetchindex -- Janos Dohanics From owner-freebsd-questions@FreeBSD.ORG Thu May 21 00:33:51 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C76A0F4C for ; Thu, 21 May 2015 00:33:51 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 778C81E79 for ; Thu, 21 May 2015 00:33:51 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t4L0XmpH032064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 20 May 2015 18:33:49 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id t4L0Xmn9032061; Wed, 20 May 2015 18:33:48 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 20 May 2015 18:33:48 -0600 (MDT) From: Warren Block To: "William A. Mahaffey III" cc: freebsd-questions@freebsd.org Subject: Re: ports make search? In-Reply-To: <555D1E67.9090003@hiwaay.net> Message-ID: References: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> <555D1E67.9090003@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 20 May 2015 18:33:49 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 00:33:51 -0000 On Wed, 20 May 2015, William A. Mahaffey III wrote: > On 05/20/15 18:24, Jeffry Killen wrote: >> >> So now I have excuted the command >> make index >> >> As I type this it appears that the process is completed. >> >> But it has been going on for around 20 minutes. Is it >> common or not unexpected to take that long? >> > > Yes, that is one of the attractions of pkg's vs. ports, *much* quicker > installs. Some months ago, I compiled the iceweb port, took over 5 hours on > this box. The pkg install a week or 2 later took 30 sec. Not really, the index is a huge database, not related to compiling from source. The built version can be retrieved from the FreeBSD servers. portmaster even fetches the index automatically. I have an article on using ports here: http://www.wonkity.com/~wblock/docs/html/portupgrade.html From owner-freebsd-questions@FreeBSD.ORG Thu May 21 00:35:32 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC0BAFE7 for ; Thu, 21 May 2015 00:35:31 +0000 (UTC) Received: from cvps560138936.hostwindsdns.com (unknown [IPv6:2607:5500:2000:5fc::2d3e]) by mx1.freebsd.org (Postfix) with ESMTP id D10741E8E for ; Thu, 21 May 2015 00:35:31 +0000 (UTC) Received: from AnneyNew (unknown [182.69.250.47]) by cvps560138936.hostwindsdns.com (Postfix) with ESMTPA id 76F366505FE0 for ; Thu, 21 May 2015 04:33:47 +0400 (MSD) From: "Martin Bell" To: Subject: Website Design & Development Solution! Date: Thu, 21 May 2015 05:44:41 +0530 Message-ID: <1167801d0935d$cd19dc10$674d9430$@design-development-service.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdCTFfygHANzcVbpRiyySZ6D6xvy4A== Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 00:35:32 -0000 Greetings, Your Website is Your Online Business Card! Are there things you think you should be doing to improve your website presence but you don't know how? Change the way your business appears online and get unsurpassed response from your visitors! If you want to provide a remarkable experience to your visitors and improve conversion rate, we can help you create a website that is customized as per your requirements. Let our experience help you create a website that is simple, unique and professional. Should you be interested, let us know! Simply reply to this email along with your contact details and we'll get in touch shortly. Looking forward to a prolific association! Best Regards, Martin Bell Marketing Manager ResultFirst Inc. Head Office: #167, San Jose , CA 95120 USA ---------------------------------------------------------------------------- ---------------------------------------- Disclaimer: If we have offended you by sending this to you by mistake, we apologize. Please reply "NO" or "UNSUBSCRIBE" to this email if not interested, so that we shall add you to our "Do Not Contact Again" list. We strictly adhere to United States Federal Laws of Anti-spamming - CAN-SPAM Act of 2003. From owner-freebsd-questions@FreeBSD.ORG Thu May 21 01:44:45 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 375DEBD1; Thu, 21 May 2015 01:44:45 +0000 (UTC) Received: from pandora.au.calorieking.net (mail.au.calorieking.net [115.70.179.114]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8EC5163E; Thu, 21 May 2015 01:44:44 +0000 (UTC) Received: from pandora.au.calorieking.net (localhost [127.0.0.1]) by pandora.au.calorieking.net (Postfix) with ESMTP id C339D93; Thu, 21 May 2015 09:34:53 +0800 (WST) X-Virus-Scanned: amavisd-new at calorieking.com Received: from pandora.au.calorieking.net ([127.0.0.1]) by pandora.au.calorieking.net (mail.au.calorieking.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H8_9nub9KGTA; Thu, 21 May 2015 09:34:52 +0800 (WST) Received: from egeria.internal (egeria.au.calorieking.net [192.168.2.111]) by pandora.au.calorieking.net (Postfix) with ESMTPSA id C6A1591; Thu, 21 May 2015 09:34:52 +0800 (WST) Message-ID: <555D363B.1090905@calorieking.com> Date: Thu, 21 May 2015 09:34:51 +0800 From: Gregory Orange User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org CC: Matthew Seaman , Arthur Chance Subject: Re: ports, packages, jails References: <555C6CFD.6000101@FreeBSD.org> In-Reply-To: <555C6CFD.6000101@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 01:44:45 -0000 Thank you to both Matthew and Arthur for your excellent overview descriptions. I would have rather liked to read them about a year ago, before I embarked upon a poudriere project which is now in the process of being abandoned due to a changing awareness of what's both possible and a good idea, and our requirements. Is this information published somewhere? Clearly I didn't come across it in my searching and reading about poudriere, ports, packages, and general system design decisions. Could it go in the handbook somewhere? That is a high quality set of pages, and I think this material would only add to that. Cheers, Greg. From owner-freebsd-questions@FreeBSD.ORG Thu May 21 01:49:02 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B306E1D for ; Thu, 21 May 2015 01:49:02 +0000 (UTC) Received: from nm10-vm8.access.bullet.mail.gq1.yahoo.com (nm10-vm8.access.bullet.mail.gq1.yahoo.com [216.39.63.218]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68CD0167E for ; Thu, 21 May 2015 01:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432172809; bh=BCxBulUCuhwjRU2wwANkz90zWyQt4TbpDqH5Gn8UzKs=; h=Cc:From:To:In-Reply-To:Subject:Date:References:From:Subject; b=fqizu0plTAI/j9q7pm4NGzFQVbmL6nicN7bawkyDyI32gA1fAbaqsKi+o2MyMVxyLXSpuAVfSGS9PfNTZ+sAkCy8aISxVrrPXXOdtYsBYeF39iq88SRRqSzAVusM34/MjOLuR2D7wBdbhNEhlrkB/TgtxZiPnsg1TWTD3duf0ZqC/vSXGc2UAl+p834eDSZxmSza8tleVdoJTbw5kpsNm5oxntIQNJTJj6LnyE3AHW9l5s+k3/Q80VM1UsDEkiWLbDfiyxsIfE3CjWbMgexplBoq81S1WoDFqdR8C+/Yk5oRpXiQjQCE9vtJkni98PkuZ3JF8tRMsoSioLUoUF8GHw== Received: from [216.39.60.172] by nm10.access.bullet.mail.gq1.yahoo.com with NNFMP; 21 May 2015 01:46:49 -0000 Received: from [67.195.22.113] by tm8.access.bullet.mail.gq1.yahoo.com with NNFMP; 21 May 2015 01:46:49 -0000 Received: from [127.0.0.1] by smtp115.sbc.mail.gq1.yahoo.com with NNFMP; 21 May 2015 01:46:49 -0000 X-Yahoo-Newman-Id: 804961.59907.bm@smtp115.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 5PN2ndEVM1nMiKr3wvfbxrTcwyYGjUpb3KozaOefvjMUBhv ptkeEcvHqKZS9R.wrNNL73tbEihT8YrVa0PencvIyem3hMMmGMPNjjA_9DKV QLnaTGGea3n.CELtVGKeArzs4r3qriWSFzXAfMOEgEt5G..k9SrrhMbOXcrJ OG7CNa7uuBoCwrN5Pz4xSWSzEdp5WSm09m7G5oMjW9zwsZ3iNGZs4oRmsemP 8Vm10eGPXmZGT2Z9GofKMGzOMPGe_bHDdMvAy8Zpfr1zrToI8wxmP6h43ngQ RhHHNu3Ycf2elI37.Tw46ZKcW5e3VwfNH7lxLECZWQ3Lu91CKFien2p97KVq ua4wxIiH198v63WwLKGhjTWHcSWtacIyYQbN6_KM0nHyFd4SGRDf26o4kdu1 ri_a2WUQso5Q51OyFeS8_BH.sgKzwsm2mBDBZhFJIYpQi4IKD_qPMxnZKk8e 2U2YMzcRkpqAbXxgJcZ_Vc5bJQt82TlrKe23MCDqqsBta.J4Y_0LDGymH7bs poW3BsWNn53BbricS90j65VBG4cA4Sr0Hc61qrxI4GIuepI5T X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Cc: freebsd-questions@freebsd.org Message-Id: <42273F5C-2759-4B43-B687-A6CEAAD08594@prodigy.net> From: Jeffry Killen To: Polytropon In-Reply-To: <20150521021030.4a0485ab.freebsd@edvax.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: ports make search? Date: Wed, 20 May 2015 18:46:47 -0700 References: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> <20150521021030.4a0485ab.freebsd@edvax.de> X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 01:49:02 -0000 On May 20, 2015, at 5:10 PM, Polytropon wrote: > On Wed, 20 May 2015 16:18:26 -0700, Jeffry Killen wrote: >> I am in /usr/ports and >> did make search name='libjpg' >> It says that INDEX_10 must be built >> >> So now I have excuted the command >> make index >> >> As I type this it appears that the process is completed. >> >> But it has been going on for around 20 minutes. Is it >> common or not unexpected to take that long? > > If I remember correctly, the index file can be fetched and > doesn't need to be built locally (which really takes some > time, as you have noticed): > > # make fetchindex > > When the index is present, things like "make search" will > work properly. Thanks; I notice that in man ports but I am wondering if the fetch version would be up to date with what I have? To overload this thread: I wanted to build php56 and let it fly. It got all the way to libjpeg and bailed out with the suggestion that I uninstall the version that i installed from ports alone, because it is incompatible with the version that php-extensions is trying to build and install. When I do that and begin the process of installing php56, will it pick up from were it left off, or start over from the top? Precompiled packages might be simpler, but if the prebuild binary does not have all the extensions and features that I want, and has many that I don't need or want. I am stuck with it that way. Thanks for time and attention JK From owner-freebsd-questions@FreeBSD.ORG Thu May 21 03:30:11 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43349815 for ; Thu, 21 May 2015 03:30:11 +0000 (UTC) Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A32E1328 for ; Thu, 21 May 2015 03:30:11 +0000 (UTC) Received: by oihb9 with SMTP id b9so51311599oih.3 for ; Wed, 20 May 2015 20:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eBnXbUlYImBND7CrDutAK5oIq7dtxjhOaOYvJs1kVFU=; b=v+RmWy4Sve5nCNq78fRgL593N8DMt/3QhKBkby4bsOt06gnSLL+vnGESN0jRS2z8/L pYrcHTRrKPXSmsFPEpAxBeUP6g4luwbfeqVRD6v29MEj3zDFWAS7aLaKsN3+ka4gGkkj qZugWkKu2/7yH3TQZRH7hSE1VFSFVae1PwsUf77p2iwR844/YUHLBM3KTs74Zn/raash Vpju5zPlJi7hW54TVlhhxTUsl6d9pRDHXFhUvvHxUve/kI6u192bnT+UybBzVtJsFvWi JbHWdhAeYFOsYt5Raac8BBjHEaSl2538RTOBgMXb4pR6UuSScEE6okre2L1UPLVCmM5g sTlA== MIME-Version: 1.0 X-Received: by 10.202.57.137 with SMTP id g131mr469949oia.122.1432179009906; Wed, 20 May 2015 20:30:09 -0700 (PDT) Received: by 10.202.54.196 with HTTP; Wed, 20 May 2015 20:30:09 -0700 (PDT) In-Reply-To: <555D2246.40201@hiwaay.net> References: <5557D47D.2030301@hiwaay.net> <5557D71F.70408@hiwaay.net> <555D2246.40201@hiwaay.net> Date: Wed, 20 May 2015 21:30:09 -0600 Message-ID: Subject: Re: pkg upgrade problem From: Paul Smith To: "William A. Mahaffey III" Cc: "FreeBSD Questions !!!!" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 03:30:11 -0000 On Wed, May 20, 2015 at 6:08 PM, William A. Mahaffey III wrote: > On 05/16/15 18:53, William A. Mahaffey III wrote: >> >> On 05/16/15 18:50, Ben Woods wrote: >>> >>> On Sunday, May 17, 2015, William A. Mahaffey III wrote: >>> >>>> >>>> I just tried to do a 'pkg upgrade -y' from the console CLI as root. I >>>> redirected all output to a file, which I list below: >>>> >>>> >>>> [root@kabini1, /etc, 6:40:13pm] 333 % cat LIST.pkg-upgrade.May2015.txt >>>> Updating FreeBSD repository catalogue... >>>> Fetching meta.txz... done >>>> Fetching packagesite.txz... done >>>> Processing entries... done >>>> FreeBSD repository update completed. 23971 packages processed. >>>> Checking for upgrades (536 candidates)... done >>>> Processing candidates (536 candidates)... done >>>> pkg: Cannot solve problem using SAT solver: >>>> pkg: cannot find libreoffice in the request >>>> pkg: cannot solve job using SAT solver >>>> [root@kabini1, /etc, 6:40:16pm] 334 % >>>> >>>> I had cleaned out the /var/db/pkg/ directory of old repo data & meta >>>> data. >>>> How do I work around this ? Is this a problem w/ remote repos, or >>>> something >>>> at my end (possibly including pilot error :-/ ) ? TIA & have a nice >>>> weekend >>>> .... >>>> >>> I wonder if you have the latest version of pkg (can you please check you >>> have 1.5.2 by typing pkg -v). >>> >>> Perhaps try updating pkg first using "pkg upgrade pkg". Then once again >>> try >>> your "pkg upgrade". >>> >>> Regards, >>> Ben >> >> >> >> Slightly more useful than my last reply .... >> >> [root@kabini1, /etc, 6:53:18pm] 335 % pkg -v >> 1.5.2 >> [root@kabini1, /etc, 6:53:19pm] 335 % uname -a >> FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue Apr >> 7 03:01:12 UTC 2015 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >> [root@kabini1, /etc, 6:53:22pm] 336 % > > > > Anyone got anything on this ? I'm still stuck. If it's pilot error, just say > so, I can take it ;-). TIA & have a nice evening .... > > > > -- > > William A. Mahaffey III Check out this issue. https://github.com/freebsd/pkg/issues/1248 Paul From owner-freebsd-questions@FreeBSD.ORG Thu May 21 03:40:32 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A30B8C27 for ; Thu, 21 May 2015 03:40:32 +0000 (UTC) Received: from nm23-vm4.access.bullet.mail.gq1.yahoo.com (nm23-vm4.access.bullet.mail.gq1.yahoo.com [216.39.63.111]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72EED1385 for ; Thu, 21 May 2015 03:40:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432179521; bh=SMBw4FkUvgaNXIWj78dqEc0ogEpySxTKCx1w98klm2o=; h=From:To:Subject:Date:From:Subject; b=XFh4QFi7BAkP4JXh0qDzA70hIEMh9MfMZxoDLIQLul2Y47FV7rGz9ewjNMBjFnqvv2Uha/7fsswbw5XV9RZnaEQfaMhklIu85a8dRtDZ1HZZLNU4grdTc1Yv3/RHaN7cBaf0fA/yFfO9olpdgVlm/R8p1z4HjdPRqs4LseahkY97VWoRFbcmR+lbQ8AIYkk2Zb85T4y7j8/kETjodj+cuBF7yace1ruC3rwOt1oTvasQyKwcif0BoEB+z8LpPXzReOpqq/wqZe3Dl+yK/TgaHzo1cHIVJUUdgzvqJjeqqDzI3Q6QlNWHtj22l2NdfYSysp7XU6Mf1V5IUTtsxRSu+w== Received: from [216.39.60.169] by nm23.access.bullet.mail.gq1.yahoo.com with NNFMP; 21 May 2015 03:38:41 -0000 Received: from [67.195.22.116] by tm5.access.bullet.mail.gq1.yahoo.com with NNFMP; 21 May 2015 03:38:41 -0000 Received: from [127.0.0.1] by smtp111.sbc.mail.gq1.yahoo.com with NNFMP; 21 May 2015 03:38:41 -0000 X-Yahoo-Newman-Id: 457560.53766.bm@smtp111.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: TQObU7cVM1kf5cHfat3lpvbq_dShkijD.0NQta4gADwVVZW LBVFqw84k9SLx6FuAhjApKgaNP3XpuP08SxSPp3fR6EniB4pvyMuICzOjOVL tUy8M_11j.Vr7Eg6o.ZJonQjg6IZYUpVrreJB789niZdla7ukwfAri1a.OUM cP5kgGN7XaGAOaZvdQ5Yyxsdwt262yA433xhUkPxf52NlX32lNS7uqIteg3R aawgh.G.T26meCZKRKq2DXzDR9dpA64YRjtlUnZ5f93.fBSmvOPHmn2v7u58 qJC1dKmbFfgDdmlX.7PiZcEcZ0tluTXsor616Lko.HUXg83GZAYTg9rmRJ_y GD43XX2y2y6XOtFSpW8g30Xx0sFqQgc22_1MdbFPH5966zIT6WlmYsbyLsXM q9MIRVyw2Hj4n1ZHOvULGorrgaNtA71Qb9YAa_6B5aKmZ8vZy3AD9kqU5zYC SjRly0sl1lnyQEy_q.1W6TtFEq0hDG8ZlZkE8vl1cHTUr771EWe2XpDu1i1o CrBBfNvuAOQTHerMuFdE.j1fy4NHFMagNR3WpmRQquWITkkKt X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: from ports Apache install missing options Date: Wed, 20 May 2015 20:38:40 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 03:40:32 -0000 I just installed apache22 and was not given an option to include support for php There is no evidence in the httpd.conf file that there is any support for it. I deinstalled apache22 and made and installed apache24. Same story. I don't see a port the expressly include support for any such extension with apache. At the very start of the make stage, a long list of options is presented but no mention of mod_perl, mod_python, mod_php5, nor any ruby related modules Is there a way to do this from ports with a ./configure script? Or, what is the alternative? Just prior I went through the trouble of building and installing php with a bunch of extensions. This is intended to be used with apache. I could just abandon ports and do a manual build of apache myself I suppose. I've done that without memorable trouble on at least 4 machines with FreeBSD 6.2 (about 8 or 9 years ago). But now I am getting hooked on using ports Thanks for time attention and patience. JK From owner-freebsd-questions@FreeBSD.ORG Thu May 21 04:17:48 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0D48193 for ; Thu, 21 May 2015 04:17:48 +0000 (UTC) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68CEC1808 for ; Thu, 21 May 2015 04:17:48 +0000 (UTC) Received: by obbea2 with SMTP id ea2so17455789obb.3 for ; Wed, 20 May 2015 21:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WVXlVDi5Jgwxv6TtIZq/9o7HqBI3Z/kDHD1qRqfchU0=; b=VaDWPdCAhEnCt2Njof/YWcgYFa2E0KBrTNJ03aPe7hU9D782XJX+AhDQ4Npgp4zsUG ngzsqiANJupFsu7efqpJCJRV24FxoauGgUTFsZdqvAwy4m9oruWF8os1Ya2UDKuMd19Z dNvFRIbQT07JJA29tdeEQBdmbPk4dRhUtZ7a1V7YQuIxM3uNas3Epk644iHm+BennRWE t840mmXzc7zWW214wrYPxF38c8IZ+xkvErBsyBNNu7HWEHvxuOthaEn6rBqc/OffSfCJ zF00Nxo2TB+Ken3min4JX3FGYsbXih34aiay2Jx85V4tpP3g5PUVSvw5aDAsx5j2e6VW sZKQ== MIME-Version: 1.0 X-Received: by 10.202.71.1 with SMTP id u1mr619177oia.2.1432181867591; Wed, 20 May 2015 21:17:47 -0700 (PDT) Received: by 10.202.54.196 with HTTP; Wed, 20 May 2015 21:17:47 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 May 2015 22:17:47 -0600 Message-ID: Subject: Re: from ports Apache install missing options From: Paul Smith To: Jeffry Killen Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 04:17:48 -0000 On Wed, May 20, 2015 at 9:38 PM, Jeffry Killen wrote: > I just installed apache22 and was not given an option to include support for > php > There is no evidence in the httpd.conf file that there is any support for > it. > > I deinstalled apache22 and made and installed apache24. Same story. > I don't see a port the expressly include support for any such extension with > apache. > > At the very start of the make stage, a long list of options is presented but > no mention of mod_perl, mod_python, mod_php5, nor any ruby related modules > > Is there a way to do this from ports with a ./configure script? Or, what is > the > alternative? > > Just prior I went through the trouble of building and installing php with a > bunch of extensions. This is intended to be used with apache. > > I could just abandon ports and do a manual build of apache myself I > suppose. > > I've done that without memorable trouble on at least 4 machines with FreeBSD > 6.2 > (about 8 or 9 years ago). But now I am getting hooked on using ports > > Thanks for time attention and patience. > JK Take a look at the ports www/mod_php5 www/mod_php55 www/mod_php56 Paul From owner-freebsd-questions@FreeBSD.ORG Thu May 21 04:20:54 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0312C53B for ; Thu, 21 May 2015 04:20:54 +0000 (UTC) Received: from nm19-vm3.access.bullet.mail.gq1.yahoo.com (nm19-vm3.access.bullet.mail.gq1.yahoo.com [216.39.63.77]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE4D118D6 for ; Thu, 21 May 2015 04:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432182045; bh=Iy68v7QX47NiN55xSD5AasdHLI5y8PAco16iePvMjMs=; h=Cc:From:To:In-Reply-To:Subject:Date:References:From:Subject; b=Uk4GB4pTn0PO1eUspRFp1QLUbkYTiwh9d9K/hYVrFlM+MhKfzYe9Cqi1XSbUCOIPZ8/1kXxRbLJ0X9QYyHsxKaXq2vM8qddl2erQqan7QwS2QVWBR7Iq/hc+A7rB8hA/ZkZxa2Q4KbzzqZf9cdmnYXLtnbMtUDoolJRltMNrqG34IflEdWLejM4bqz5By7YHZAJYqwV5uBr6rsb46RTvLUXvrQJsdXlf5/+wbAc0Y4GN3ygr5Vsz8oXFD/BHP+8GfoSeZ88tz1Y1yK/XlZ8gFe8N9coP0TBnNj+BoX7E0ZxcIOTQcsDmcIYMplG9bSppM3KseiRUoTqfxwhJSJAQmQ== Received: from [216.39.60.167] by nm19.access.bullet.mail.gq1.yahoo.com with NNFMP; 21 May 2015 04:20:45 -0000 Received: from [67.195.23.147] by tm3.access.bullet.mail.gq1.yahoo.com with NNFMP; 21 May 2015 04:20:45 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.gq1.yahoo.com with NNFMP; 21 May 2015 04:20:45 -0000 X-Yahoo-Newman-Id: 139197.51367.bm@smtp119.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: _fG_79wVM1l4TUfjVn2EMkNL9cDB4D531rfc0nirEmsR85n tTizsFv0ydeWFEjxKdEympIt4blGSDLFGSWW3iK7DssMl3tG5lbMWnlGBMNa 8lprgiLTS5IVslKPmg1o63s8mS..sFqVFmSfCA5.CeEIAW.tl6WusRVokh78 24MLLUiIg.x7PSDJTgPeo9hnjkum_nL8KLJE3B4dfb6QeycrgAfUHj.GirZN RuU8olgv8zollTwXwLPKTgjujJwBhDkhTd5ZwNeNgcmqFXbZbXHSMn40WjcX yrBmLC4elWCgwq1YYK4q5HWbjMw3VXIJzr5zxX_g0ON1rodkuLa.I8YeNnIH YmDhoZTSkP4gArGfZOz.stwbiWaxfY1MUt7c0TjONQjaMz.nwE8ALdOsa.6n Z_cM9GCldYEEXguvThy2cG4aFt7txwprfKYNvaGGnd4BNqwPmvIx0mOZ_dWZ bivfVag.t_gVrD7MB1iNk9m1KOkwWdxP5JhgOASsJggFMRsbIrnTBBjopPIE R2MjDj7baZmkTXxa5MZLGHl9grO8SJLMjOccHzmnTRQB8x.TvfT4ifhWAGct W044YxuRTIg-- X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Cc: FreeBSD Questions Message-Id: <4C26AD3A-22C6-430C-9E5C-8548CAB85FA4@prodigy.net> From: Jeffry Killen To: Paul Smith In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: from ports Apache install missing options Date: Wed, 20 May 2015 21:20:42 -0700 References: X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 04:20:54 -0000 On May 20, 2015, at 9:17 PM, Paul Smith wrote: > On Wed, May 20, 2015 at 9:38 PM, Jeffry Killen > wrote: >> I just installed apache22 and was not given an option to include >> support for >> php >> There is no evidence in the httpd.conf file that there is any >> support for >> it. >> >> I deinstalled apache22 and made and installed apache24. Same story. >> I don't see a port the expressly include support for any such >> extension with >> apache. >> >> At the very start of the make stage, a long list of options is >> presented but >> no mention of mod_perl, mod_python, mod_php5, nor any ruby related >> modules >> >> Is there a way to do this from ports with a ./configure script? Or, >> what is >> the >> alternative? >> >> Just prior I went through the trouble of building and installing >> php with a >> bunch of extensions. This is intended to be used with apache. >> >> I could just abandon ports and do a manual build of apache myself I >> suppose. >> >> I've done that without memorable trouble on at least 4 machines >> with FreeBSD >> 6.2 >> (about 8 or 9 years ago). But now I am getting hooked on using ports >> >> Thanks for time attention and patience. >> JK > > Take a look at the ports > www/mod_php5 > www/mod_php55 > www/mod_php56 Thank you JK From owner-freebsd-questions@FreeBSD.ORG Thu May 21 05:45:32 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8401EA14 for ; Thu, 21 May 2015 05:45:32 +0000 (UTC) Received: from nm23-vm3.access.bullet.mail.gq1.yahoo.com (nm23-vm3.access.bullet.mail.gq1.yahoo.com [216.39.63.81]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 549A7114D for ; Thu, 21 May 2015 05:45:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432186965; bh=zVJoHA8ypRaN+tDePlggYYXK9d0XMf8wND1ZvSaNcr0=; h=From:To:Subject:Date:From:Subject; b=WD3Y+RuIpky+AyMxQKSbaaiTegArAvE/myuhAzaaqxOibw69LeWyBjPzIQQ3+TZLdiKjvriGwjDr6VXm1ljVQuvfKHwwVYWRKBzGEeGEIElJE60MioIJdHcgdF3mpCfwRHTQbEJku4QqSMWjfuwDzSBJAV2m+32i0vAFEzhE1/n/NMncz5DUsmQh3FYeVUzC03obH744X127KTx3sKYo/Tp7yi6TjaY7n/3Q8mSMELx7wOdmz/rOElsDJDoZPSIhJJlmzFMaqx40TyuDpkcWca0pTBRAnSvSSRO1/2E57HZzGFNeyGJkCca7Ftqy2PP8i7PkxYYQwx6sHlvlyUJfIg== Received: from [216.39.60.166] by nm23.access.bullet.mail.gq1.yahoo.com with NNFMP; 21 May 2015 05:42:45 -0000 Received: from [67.195.22.113] by tm2.access.bullet.mail.gq1.yahoo.com with NNFMP; 21 May 2015 05:42:45 -0000 Received: from [127.0.0.1] by smtp115.sbc.mail.gq1.yahoo.com with NNFMP; 21 May 2015 05:42:45 -0000 X-Yahoo-Newman-Id: 321356.34164.bm@smtp115.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 6AEVxTcVM1nfCAOiq1fx_Ci9CkSO9nYg6i9F0Tk_ATabhc5 suHoA0TKppFB6XsHA1VyqPvy2cQ8hxsPGWLPAOBMEDqYDeCoH13QYr51QPQ9 9Au7fudcgD3VUoZA2oKI2nhqIkKD6zyJKkxtu_EFq1mG57bFu5icM20bl0NT M0qy6rsb.iZ2Xs6UlYxGJIwU1RmxvBUgk49FE1iterQIuZMPdlR84_lrJHdV uXnRuiDLjEEbGkeK5fWnN8IhoyKgp0_XAk04sZJ9sEecHqk7xa.TCadiivvV eMKBG_8q1H7AUtYAJWlRy80T6VGQPuC7qUZjkEOOYhxky2Ee50tHWY.dN8in g4ByAaGbHB1A5rDPEptpRm7r.lcHs9AxbIjTRQ23xS0Tx8pztZq3wBJBCsfZ NlPhCUBQ5pKu4tTMMYQ3mrxF2lei.iT3.Rbhe8yld9P13hLmI3eLexAu6iY1 rUNWwAD29uj6zGjV.ahDaL_8Zj763gN24wRkwG..BLjQCVyX2iahVRGajdOK HEF5LWP.IT36lvh.Og3_Dib8PqeDmn2OI5GJ0Y1r4lpKWrrDO X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: <8C9A2CF4-BAC6-4228-9EE1-ADE6186E733B@prodigy.net> From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: One more issue Date: Wed, 20 May 2015 22:42:43 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 05:45:32 -0000 I installed apache24 from ports. added the requisite line to rc.conf to start apache on boot. I ran servic apache24 start to start the server. from another machine I established an ftp connection to the doc root and attempted to edit the default index.html page. The ftp client informed me I couldn't edit the page, and I realized that the ownership of the doc root needed to be changed to ftp user. SO, via ssh I attempted to login via su and the root password was refused. I went to the monitor attached to the server and attempted to log in as root. I kept getting refusals. I ended up having to dig up how to boot into single user mode to change root password. That I did. Now I can log in as root or su as usual. The point is that I did not fool around with the password file. Something else altered or corrupted it. Hopefully I don't now have a root kit hanging around. I am conderned about having to be connected to the internet so ports can fetch anything it sees fit. (this is why I had avoided using ports in the past). What services do I have to allow to and from the internet that are secure with respect to hosts.allow and tcpwrappers, for the sake of ports? Thanks for patience JK From owner-freebsd-questions@FreeBSD.ORG Thu May 21 06:02:09 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68459CE2 for ; Thu, 21 May 2015 06:02:09 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2954C1341 for ; Thu, 21 May 2015 06:02:09 +0000 (UTC) Received: from [89.204.135.126] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1YvJYT-00041k-Uc; Thu, 21 May 2015 08:02:06 +0200 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t4L624EN002294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 21 May 2015 08:02:04 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t4L624UC002293; Thu, 21 May 2015 08:02:04 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 21 May 2015 08:02:04 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: looking for software to harden TCP/IP client-server application Message-ID: <20150521060204.GA2203@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.126 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 06:02:09 -0000 Hello, I'm working for a company which develops since "ages" a client-server application: Windows/UNIX Java or Perl written clients are connecting to defined TCP ports where C/C++ written servers are doing LISTEN and serving the connecting clients. The designed protocol is human readable and an example is in clear text (normally SSL is used to protect the data against network sniffing) here: http://www.unixarea.de/slnp.txt What I'm looking for is some (hopefully FreeBSD) software to harden the server side against attacks of all kind of buffer overflow, SQL injection, etc. Any ideas? matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) From owner-freebsd-questions@FreeBSD.ORG Thu May 21 08:41:05 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 852F3279 for ; Thu, 21 May 2015 08:41:05 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EDEEF188C for ; Thu, 21 May 2015 08:41:04 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t4L8ewDE042298 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 21 May 2015 09:40:58 +0100 (BST) (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t4L8ewDE042298 Authentication-Results: smtp.infracaninophile.co.uk/t4L8ewDE042298; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <555D9A12.3030008@freebsd.org> Date: Thu, 21 May 2015 09:40:50 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ports make search? References: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> <20150521021030.4a0485ab.freebsd@edvax.de> <42273F5C-2759-4B43-B687-A6CEAAD08594@prodigy.net> In-Reply-To: <42273F5C-2759-4B43-B687-A6CEAAD08594@prodigy.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nh2M4KGqOnvfa9lQM7vkJ4nTLXLTLJWUt" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 08:41:05 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nh2M4KGqOnvfa9lQM7vkJ4nTLXLTLJWUt Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/21/15 02:46, Jeffry Killen wrote: > I notice that in man ports but I am wondering if the fetch version > would be up to date with what I have? The fetched version is rebuilt every day IIRC, but it reflects the ports tree with all the dependencies etc. you'ld get by using only the default option settings. If you're changing options -- for instance, switching to a different default version of php -- then it won't be accurate. However, one important fact you should understand: the Index is there pretty much entirely for user reference. The software used to build ports or install packages will work perfectly well without any Index being installed[*]. Cheers, Matthew [*] With minor exceptions like 'pkg version -vIL=3D' -- but in that case you're better off using 'pkg version -vRL=3D' anyhow. --nh2M4KGqOnvfa9lQM7vkJ4nTLXLTLJWUt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVXZoSXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTniKIQAKGlQU7Lbfl6pD6hT20tlicb Y8J1nyRX6XGPo1WiKR+MNq0paqPPHrAioYQ2YVHUbkAO1+XhpoTldC5g1pV3wfMO nxB2e5CtffL+/2KnsBM4AIP5xFe2T8epHmM8DTQMi2jbApLiMNveO20S1c3uxryW OFaOsLsIsMF9rAx/qeN5nvYzyWysfkUyGFBMlVI3EMnjAqBzPQ7250RiypwuRHT6 2TBqRbhA7I2LbgzFx+Ipivttfb0pnDJVII4V7rcaViA+V1g7CasRABNDNuqpwi+C eA0LJrZXIN7vaanPEt2kD5jt7bgXMlQDSXwklONgOUEd/Jzp2Bvpr+fT9JJOEBIT Vew4sBSz9+u+r+soqCXDM1qQ0sPqS/I2Y8VJaTTBTnyQxR25Y8+uRcZgb4SZL2ux lJ9IOUkCPU895bCU8oZ8oUJEFxd25Y4RTHUj8a71GAI7NvkiMrQ1wOYlFX+z3xEu eGjsy9vWCyUUVjoqbvsCV7TYd8yq1YFQr2oc4FaJ5E5nBISrEwSGJpQHUI9Cxxu1 93nIguq+xFYdGwPnLuBvofdOrmW0wwW4VozkmH56hXpEQ3Rq+x0SbWQKxMg2GPtD 9tPoPRD0YwBKqp8HwotWtlursAhT5UMRDQGkGfPfvxBl4FU/7Qz79tCryS8kNO38 uR8JbUPrmn83JtA5wt+I =jEbg -----END PGP SIGNATURE----- --nh2M4KGqOnvfa9lQM7vkJ4nTLXLTLJWUt-- From owner-freebsd-questions@FreeBSD.ORG Thu May 21 08:59:22 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF7DC8B5 for ; Thu, 21 May 2015 08:59:22 +0000 (UTC) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C6FD1B3A for ; Thu, 21 May 2015 08:59:22 +0000 (UTC) Received: by igcau1 with SMTP id au1so3615629igc.1 for ; Thu, 21 May 2015 01:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=v4d/MY3NtjxxvTLgt/OyKKqzhEUFVt0Du8/TcDiIxY8=; b=a6oUCNZIm/0NsmqNk5GaskCB6j9NMBVL/eWXnl31RUOGIudd076aMX/Po62ZnVo+62 pxZnlTHVX2MySqkK+LTSdt/80Akrjp6PZ9Va9X+YS1cFuIhI3/8PdVj5Y/HN7a15+tgJ wCIfBaAhV+KzLyRgn7W6Z7quncf8matj1wHubSb8L7U8MlyPfAncph3p20/TRGLPWAuR d5Y+3mn6PThfLC3T0nIgLjiEfFvHM1n5GO6T/Y6v5wSIZXLtRjVps1VOSM+YKyGE9NiA PYHkpvdSEFYL/cnirqU1PokD/d4XbAQKBP2u/Qtrkp5cHeURWx23FhWuH7lTHhX1OHwF 9XGg== MIME-Version: 1.0 X-Received: by 10.107.131.81 with SMTP id f78mr2035193iod.42.1432198761864; Thu, 21 May 2015 01:59:21 -0700 (PDT) Received: by 10.64.236.10 with HTTP; Thu, 21 May 2015 01:59:21 -0700 (PDT) In-Reply-To: References: <5557D47D.2030301@hiwaay.net> <5557D71F.70408@hiwaay.net> <555D2246.40201@hiwaay.net> Date: Thu, 21 May 2015 16:59:21 +0800 Message-ID: Subject: Re: pkg upgrade problem From: Ben Woods To: Paul Smith Cc: "William A. Mahaffey III" , "FreeBSD Questions !!!!" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 08:59:23 -0000 > Check out this issue. > https://github.com/freebsd/pkg/issues/1248 > > Paul > In summary, William this appears to be a bug. You should be able to resolve it by using the following commands: # pkg check -Ba # pkg upgrade If that does not work, then you might try being more forceful: # pkg install -f libreoffice # pkg upgrade Regards, Ben -- -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-questions@FreeBSD.ORG Thu May 21 09:41:40 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18CFC466 for ; Thu, 21 May 2015 09:41:40 +0000 (UTC) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D124D1032 for ; Thu, 21 May 2015 09:41:39 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so5526731igb.1 for ; Thu, 21 May 2015 02:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7LBylOLiQyqRNq6fg8Wi798rIyhy/WpRnsuXAvsy29E=; b=P3QWGbnwqy/IKd/xFCNwfbA4kFjFFOpKJJ2F4OTpkJ2KS3hivMWE0Did0j5E31R5HS gMjya1OZe4KbH1jeLObEAip8jWQOjRXcaOZoCVPacGZT/k2rYrUGC+sHRCO8Hm+6NZXY NkDZlMGKDugFSLL2VrYEAE6S9rOBDns8eyLt+xqjlmgp3MaJ7IbvZBC0xewTGrBMi9RA 1zHJqTAKm0NB4GbARL1256qu2zQOquX0aLf5EsKENSlJ+JGRQMo5La/T7U9XgLyxNUnI 6r2/yB2hz6xbG8Oo/GRrAzJTKMqrOPo2wXiNT3aUZleO6u3w8WiQW31/dgDQoktfkFTR b5hA== MIME-Version: 1.0 X-Received: by 10.43.58.201 with SMTP id wl9mr2248101icb.37.1432201298953; Thu, 21 May 2015 02:41:38 -0700 (PDT) Received: by 10.36.51.76 with HTTP; Thu, 21 May 2015 02:41:38 -0700 (PDT) Date: Thu, 21 May 2015 05:41:38 -0400 Message-ID: Subject: End user RAM usage survey From: grarpamp To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 09:41:40 -0000 For those of you using end user class systems bought within the last few years (Intel: i3, i5, i7, E3; AMD: APU, FX) for things such as desktop, fileserver, multimedia, browsing, development, office, games, and VMs for the same... how much memory are you using? (including swap, excluding ZFS) From owner-freebsd-questions@FreeBSD.ORG Thu May 21 09:59:48 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82815A2D for ; Thu, 21 May 2015 09:59:48 +0000 (UTC) Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com [IPv6:2607:f8b0:4002:c07::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 383B312B4 for ; Thu, 21 May 2015 09:59:47 +0000 (UTC) Received: by ykec202 with SMTP id c202so24746719yke.2 for ; Thu, 21 May 2015 02:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:mime-version:content-type; bh=qDb3fuvM0X+F5Z+Fy2hHpTc8xPLie+TKWSD4rf+vp2Q=; b=aQp41GJ3zeUdOGA7ckLN7852Vu9DpPFJv92rOymm5OW0Q1sWR4vT3WpFzp/3oAAZn1 3Fq5QtL0LH75sKww8cqLH3Gm28OHzMN6soYNlwjvIL5U/goPNnvVXqYCT8U2uESiwrFE lwN8g/Le72U6S1D8iAjRuqiyBTN4aF/uxdu9M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:organization:mime-version:content-type; bh=qDb3fuvM0X+F5Z+Fy2hHpTc8xPLie+TKWSD4rf+vp2Q=; b=Sn5S+Ld08UCTwN95BwzweQB+bwX5TGUrjkn/rieDGG35P7dIm5fkVXafT8vK+d39vn roXtjYbbLX159g35S2WcpBKM8BW5xIsrooTuK6xdbZ5vM8O8+uAbf9I+qu2yFYztOMDG wUP3wYHCfzE8Hdghv6NbaIzahFB0u8f4GcXOoMkosQVUL7lOXpT9PeRS99M0e/XbzYsK VCAJI5PhXNJ+6fbfTEQuNRDGgWCkzlGdhnFCh91523nb8OoiNZA/inxYuG5M3mf2Udz3 8zlsGec8VJeFWQxspdf7/r+qGJKlMNEIflvK6sj3r7zxPKbZQIlbOIa34X9FR02tj5n2 xfAA== X-Gm-Message-State: ALoCoQlcI4MtW6IQGPb02VOmJ1QVpDV0992vPsFHaCiSqkUyVoa8ngXU+EC1ZTcI6ANTjUn0pn1v X-Received: by 10.236.19.170 with SMTP id n30mr1919391yhn.2.1432202386887; Thu, 21 May 2015 02:59:46 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-23-221.nc.res.rr.com. [174.109.23.221]) by mx.google.com with ESMTPSA id m28sm15818480yhm.21.2015.05.21.02.59.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 02:59:45 -0700 (PDT) Received: from localhost (cpe-174-109-23-221.nc.res.rr.com [174.109.23.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3lsmdX55yZz3DlVx for ; Thu, 21 May 2015 05:59:44 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.7 at scorpio.seibercom.net Date: Thu, 21 May 2015 05:59:33 -0400 From: Jerry To: FreeBSD FreeBSD Subject: Re: ports make search? Message-ID: <20150521055933.17877e70@seibercom.net> In-Reply-To: <555D1E67.9090003@hiwaay.net> References: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> <555D1E67.9090003@hiwaay.net> Reply-To: FreeBSD FreeBSD Organization: seibercom NET X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/7_toQveFLdOv79Pz9eBWIku"; protocol="application/pgp-signature" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 09:59:48 -0000 --Sig_/7_toQveFLdOv79Pz9eBWIku Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 20 May 2015 18:59:26 -0453, William A. Mahaffey III stated: > Yes, that is one of the attractions of pkg's vs. ports, *much* quicker=20 > installs. Some months ago, I compiled the iceweb port, took over 5 hours= =20 > on this box. The pkg install a week or 2 later took 30 sec. "pkg" is fine if all you need are default options on your applications. I find that to be a showstopper for me in all too many instances. --=20 Jerry Strange how nations, born with freedom in mind, have turned so intolerant to the individual. --Sig_/7_toQveFLdOv79Pz9eBWIku Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVXayGAAoJEElTsHIJnX8eBkgH/07R2p+wDT9AQaNru6vXz1hE xdCEbFW1aB7rtjWi2CV92A/VTxmigrUxLUFgjiTfU7PSWF2CdJp6/I800uejT8E9 4AgEaXrVEwx8HOWS7Z43DiYskSt2Xot/G0xOgsDQnMqG56MqJsERt+JkBR3g6QUE D0Tv+ztn0GbsC+i6NVB05HibcetMZA6oxJI0ir4qxhZThUWm1O+DTJrYSnlDWPmj RmSp208HxglS992u9yvoFuQf9xtJg3JTsiXtVjdlCQV2R2QUAQlAWO2XsMa2atCK W2CJGyEcK8Q9Qcb2Io66zpW9uAvD0gtAG2WPdhHp8r42K43K2GMb7lBk5qXHVNA= =Xnxs -----END PGP SIGNATURE----- --Sig_/7_toQveFLdOv79Pz9eBWIku-- From owner-freebsd-questions@FreeBSD.ORG Thu May 21 10:01:39 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B8FAAD6 for ; Thu, 21 May 2015 10:01:39 +0000 (UTC) Received: from esa2.chubb.iphmx.com (esa2.chubb.iphmx.com [68.232.129.203]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "*.chubb.iphmx.com", Issuer "VeriSign Class 3 Secure Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BD0B1368 for ; Thu, 21 May 2015 10:01:38 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.13,468,1427774400"; d="scan'208,217";a="53852386" Received: from unknown (HELO lnsmtp2.chubb.com) ([164.44.0.37]) by esa2.chubb.iphmx.com with ESMTP; 21 May 2015 06:00:31 -0400 Subject: AUTO: Nidia Soto/ChubbMail is out of the office. (returning 05/26/2015) Auto-Submitted: auto-generated From: nsoto@chubb.com To: FreeBSD FreeBSD Message-ID: Date: Thu, 21 May 2015 06:00:29 -0400 X-MIMETrack: Serialize by Router on LNSMTP2/SRV/ChubbMail(Release 8.5.3FP6|November 21, 2013) at 05/21/2015 06:00:31 AM MIME-Version: 1.0 X-CFilter-Loop: Reflected Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 10:01:39 -0000 I am out of the office until 05/26/2015. If your inquiry is in regards to NY managed care, please contact Jean Dalton jdalton@chubb.com 203-782-4090. All other matters will be addres= sed upon my return. Note: This is an automated response to your message "Re: ports make search?" sent on 5/21/2015 5:59:33 AM. This is the only notification you will receive while this person is awa= y.= From owner-freebsd-questions@FreeBSD.ORG Thu May 21 10:06:03 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F162FBD8 for ; Thu, 21 May 2015 10:06:03 +0000 (UTC) Received: from smtp209.alice.it (smtp209.alice.it [82.57.200.105]) by mx1.freebsd.org (Postfix) with ESMTP id 590DE1392 for ; Thu, 21 May 2015 10:06:03 +0000 (UTC) Received: from soth.ventu (82.52.27.173) by smtp209.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 552F94EA064FCBAE for freebsd-questions@freebsd.org; Thu, 21 May 2015 12:05:06 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.15.1/8.14.9) with ESMTP id t4LA54ps079365 for ; Thu, 21 May 2015 12:05:04 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <555DADD0.5030404@netfence.it> Date: Thu, 21 May 2015 12:05:04 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: End user RAM usage survey References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 10:06:04 -0000 On 05/21/15 11:41, grarpamp wrote: > For those of you using end user class systems bought within the > last few years (Intel: i3, i5, i7, E3; AMD: APU, FX) for things > such as desktop, fileserver, multimedia, browsing, development, > office, games, and VMs for the same... how much memory are you > using? (including swap, excluding ZFS) 4GiB are more than enough for my desktops (including office, multimedia and development). 4GiB-8GiB are usually enough for servers but that of course depend on features. VMs are hogs, however, so I tend to deploy at least 16GiB if I plan on running some. Just my 2c. bye av. From owner-freebsd-questions@FreeBSD.ORG Thu May 21 11:26:29 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EBEE549F for ; Thu, 21 May 2015 11:26:28 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 856321D43 for ; Thu, 21 May 2015 11:26:27 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id D441527858; Thu, 21 May 2015 13:26:24 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4LBQOKA002054; Thu, 21 May 2015 13:26:24 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 May 2015 13:26:23 +0200 From: Polytropon To: Jeffry Killen Cc: freebsd-questions@freebsd.org Subject: Re: ports make search? Message-Id: <20150521132623.6bb2ca8e.freebsd@edvax.de> In-Reply-To: <42273F5C-2759-4B43-B687-A6CEAAD08594@prodigy.net> References: <29A62BC7-F140-4BA4-B7DF-1B5F47E27889@prodigy.net> <20150521021030.4a0485ab.freebsd@edvax.de> <42273F5C-2759-4B43-B687-A6CEAAD08594@prodigy.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 11:26:29 -0000 On Wed, 20 May 2015 18:46:47 -0700, Jeffry Killen wrote: > > On May 20, 2015, at 5:10 PM, Polytropon wrote: > > > On Wed, 20 May 2015 16:18:26 -0700, Jeffry Killen wrote: > >> I am in /usr/ports and > >> did make search name='libjpg' > >> It says that INDEX_10 must be built > >> > >> So now I have excuted the command > >> make index > >> > >> As I type this it appears that the process is completed. > >> > >> But it has been going on for around 20 minutes. Is it > >> common or not unexpected to take that long? > > > > If I remember correctly, the index file can be fetched and > > doesn't need to be built locally (which really takes some > > time, as you have noticed): > > > > # make fetchindex > > > > When the index is present, things like "make search" will > > work properly. > > Thanks; > I notice that in man ports but I am wondering if the fetch version > would be up to date with what I have? The INDEX file should match the snapshot of the ports tree which you downloaded using portsnap, if I have understood the mechanism correctly. For updates using SVN this _might_ not be the case, but a mismatch would be reported anyway, so it's easy to try out. > To overload this thread: > I wanted to build php56 and let it fly. It got all the way to libjpeg > and bailed out > with the suggestion that I uninstall the version that i installed from > ports alone, > because it is incompatible with the version that php-extensions is > trying to build > and install. > > When I do that and begin the process of installing php56, will it pick > up from were > it left off, or start over from the top? That depends on the dependency version number, or if a port requires an "exact" or "at least" version of a dependency. You can run the # make missing command before you start the build - it will list the things that are missing (or not matching). In case you need to restart a build, # make clean # make # make install is the recommended approach. Running with "partially built stuff" often isn't a good idea and could lead to non-working results, as far as I understand. But you probably don't need to rebuild all the dependencies, so "make clean-recursive" usually isn't needed. > Precompiled packages might be simpler, but if the prebuild binary does > not have > all the extensions and features that I want, and has many that I > don't need or want. That is the main "problem" with precompiled ports: They are being generated from the _default_ options of the port which are set by its maintainer. This will fit in many cases, but not in all cases, and if _your_ case is different, you need to set your individual compile options (which the binary package doesn't reflect). In conclusion, those options might change which dependencies a port requires. As you will see, "make missing" could then lead to a different result. As far as I know, there will be "flavors" of ports that will deal with this "problem", but it's not there yet. Just imagine how many different packages you would need for a port with n options, and then try to find out how to _name_ those... ;-) Typical candidates for this scenario are, for example, multi- media software like mplayer or mencoder, where options might be "I want _all_ codes, even those which are 'illegal' in my country" up to "I just want a very small subset of codecs supported, and I want certain specific compiler optimization flags to make the encoder run on a low-spec system". This is something you usually solve by using ports, manually set options, and maybe even Makefile.local. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu May 21 11:37:47 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B423C97C for ; Thu, 21 May 2015 11:37:47 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5D7111E96 for ; Thu, 21 May 2015 11:37:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 58A693CE7B; Thu, 21 May 2015 13:37:44 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4LBbhvp002100; Thu, 21 May 2015 13:37:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 May 2015 13:37:43 +0200 From: Polytropon To: Jeffry Killen Cc: freebsd-questions@freebsd.org Subject: Re: One more issue Message-Id: <20150521133743.2d088239.freebsd@edvax.de> In-Reply-To: <8C9A2CF4-BAC6-4228-9EE1-ADE6186E733B@prodigy.net> References: <8C9A2CF4-BAC6-4228-9EE1-ADE6186E733B@prodigy.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 11:37:47 -0000 On Wed, 20 May 2015 22:42:43 -0700, Jeffry Killen wrote: > I installed apache24 from ports. > > added the requisite line to rc.conf to start apache on boot. > > I ran servic apache24 start to start the server. > > from another machine I established an ftp connection to the > doc root and attempted to edit the default index.html page. > > The ftp client informed me I couldn't edit the page, and I realized > that the ownership of the doc root needed to be changed to ftp > user. No, that sounds wrong. The user "ftp" is the anonymous (!) FTP user (the one without a name and a password). You probably don't want to give that user access to document files. Do you have ftpd (FreeBSD's FTP server) running, or do you use something different? See the file /etc/ftpusers - it contains those _not_ allowed to run FTP connections: "root" and "ftp" commonly are the two top entries. Make sure that they are there, if you have to use FTP. Which means: Using FTP today is a bad idea, no matter what "reason" you might mention... :-) > SO, via ssh I attempted to login via su and the root password > was refused. The users which are allowed to "su root" have to be member of the "wheel" group. Check /etc/group for the relevant entries. Use "pw groupmod" to add the user, if required. > I went to the monitor attached to the server and attempted to log in > as root. I kept getting refusals. SSH logins for root are usually disallowed. There's an option named "PermitRootLogin yes" in /etc/ssh/sshd_config which can be set. However, it's encouraged not to do this, and instead to use a normal user login + wheel group + su. Also have a look at the "sudo" and "super" tools, available via ports. > I ended up having to dig up how to boot into single user mode to > change root password. That I did. Now I can log in as root or > su as usual. This indicates a password mismatch rather than a "normal" permission problem. > The point is that I did not fool around with the password file. > Something else altered or corrupted it. Hopefully I don't now > have a root kit hanging around. That's worth checking. It's also good to have backups of the relevant files and the databases generated from them. > I am conderned about having to be connected to the internet > so ports can fetch anything it sees fit. (this is why I had avoided > using ports in the past). That's no big deal, and no big difference between ports and packages. Make sure you read about system security, and also make sure you have a firewall in place, just in case. Also know about your log files, for example /var/log/auth.log. In case you're running a FTP server, use /var/log/ftpd.log. > What services do I have to allow to and from the internet that > are secure with respect to hosts.allow and tcpwrappers, for the sake > of ports? Ports are usually obtained with the "fetch" program, using FTP or HTTP, depending on how the port's distfiles are being provided. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu May 21 11:48:06 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAB3ECF6; Thu, 21 May 2015 11:48:06 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88CB41FBD; Thu, 21 May 2015 11:48:06 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so7681669igb.0; Thu, 21 May 2015 04:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=KZCW9BuCM9REzgiAvotM2Jfe7KjkZOJEfgpEgkwtg0c=; b=hK2UkZE/jegjRfpvTnC8V1W9Qg92gW07QQQKlANshj3f+zFvCX9ndwPwq/8RvIxQCl dESNO9rjvwFyhBACQPJ4t8a7y5w7hm1bEIX1VH/yCpPKvehB4EOaB8Kop+1ynvz66bq+ xG19n7fo8Ke/x9rob2Rypge1YQyGBmrG0GKWCMIQ6Vi1DQute8oKDmdwJu+weKvQ+APa jpY5rrYNMErLWhsdyUo6KLYNG3WFFcqa9wVsScTUgW8aouHWSZ3Y52cNUZyroCEHiJBV CEFV6pMBQ5bi3g1+uKZJ3WQUWBAAtmSaIhUzYqKFG1vsagE6xwfd+C1ufoC6N34s2Zhe 9U1Q== X-Received: by 10.50.109.138 with SMTP id hs10mr3353980igb.48.1432208885787; Thu, 21 May 2015 04:48:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Thu, 21 May 2015 04:47:45 -0700 (PDT) In-Reply-To: References: From: Avinash Sonawane Date: Thu, 21 May 2015 17:17:45 +0530 Message-ID: Subject: Re: Brightness control in FreeBSD 10.1-RELEASE To: Adrian Chadd Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 11:48:06 -0000 On Wed, May 20, 2015 at 9:00 PM, Adrian Chadd wrote: > Which hardware is this? :) I don't how to give more specifics but I'm using Dell Inspiron 15R N5010 laptop and the screen is built-in Dell's. I guess I need to provide device id or something but I have no idea how to get that. :( Another observation: I can change the brightness (increase/decrease) while FreeBSD is booting so it looks like FreeBSD does properly loads the driver controlling the brightness change. (?) -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com From owner-freebsd-questions@FreeBSD.ORG Thu May 21 11:50:57 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3926DDD for ; Thu, 21 May 2015 11:50:57 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 763401FEF for ; Thu, 21 May 2015 11:50:57 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 53A533CEAB; Thu, 21 May 2015 13:50:55 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4LBosx5003035; Thu, 21 May 2015 13:50:55 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 May 2015 13:50:54 +0200 From: Polytropon To: Matthias Apitz Cc: freebsd-questions@freebsd.org Subject: Re: looking for software to harden TCP/IP client-server application Message-Id: <20150521135054.87c97a4e.freebsd@edvax.de> In-Reply-To: <20150521060204.GA2203@c720-r276659> References: <20150521060204.GA2203@c720-r276659> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 11:50:57 -0000 On Thu, 21 May 2015 08:02:04 +0200, Matthias Apitz wrote: > > Hello, > > I'm working for a company which develops since "ages" a client-server > application: Windows/UNIX Java or Perl written clients are connecting to > defined TCP ports where C/C++ written servers are doing LISTEN and serving the > connecting clients. The designed protocol is human readable and an > example is in clear text (normally SSL is used to protect the > data against network sniffing) here: http://www.unixarea.de/slnp.txt > > What I'm looking for is some (hopefully FreeBSD) software to harden the > server side against attacks of all kind of buffer overflow, SQL injection, > etc. > > Any ideas? Fuzzing tools are the first things I would think of. Because this is _not_ a web application, tools designed to harden web-based systems probably don't work here (Burp Suite, for example). The ports collection has security/fuzz, security/fuzzdb, and security/honggfuzz. AFL is also worth lookin at - try if it compiles on FreeBSD (it's a Linux program). Here's the source: http://lcamtuf.coredump.cx/afl/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu May 21 12:01:26 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B31DC2B4 for ; Thu, 21 May 2015 12:01:26 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 748DE117D for ; Thu, 21 May 2015 12:01:26 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 516693CE69; Thu, 21 May 2015 14:01:24 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4LC1N2T003169; Thu, 21 May 2015 14:01:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 May 2015 14:01:23 +0200 From: Polytropon To: Avinash Sonawane Cc: FreeBSD Questions Subject: Re: Brightness control in FreeBSD 10.1-RELEASE Message-Id: <20150521140123.a18aadc2.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 12:01:26 -0000 On Thu, 21 May 2015 17:17:45 +0530, Avinash Sonawane wrote: > Another observation: > I can change the brightness (increase/decrease) while FreeBSD is > booting so it looks like FreeBSD does properly loads the driver > controlling the brightness change. (?) Is this really a thing of "driver"? Yes, I know: "Modern" laptops use software to "connect" the keys to the brightness, whereas old laptops did that "in hardware" somehow - independent from the OS, even working in BIOS or during bluescreens. I could imagine that somehow, when the OS and the GUI is loaded, the keys designed to adjust brightness emit a "normal" key code that the GUI (here: X's keyboard input machanism) picks up and does something stupid with it. You can easily check for that possibility: install the "xev" (X event viewer) port and press those keys. Look for "KeyPress" entries. What happens? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu May 21 12:29:10 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C684C8DF for ; Thu, 21 May 2015 12:29:10 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E6DC153B for ; Thu, 21 May 2015 12:29:10 +0000 (UTC) Received: by iebgx4 with SMTP id gx4so6797482ieb.0 for ; Thu, 21 May 2015 05:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=EXtrY+AwZxr/+scpWhnIiPrjkGSprUrHOIlJc3sVI6o=; b=zgs9PoQrAgdO2TaFAPTxZuRG2z9Cy+PY9DNTkjb9jctYGgVJFsR8XhcrteiE8qLgPx h5buwhFMuxxYBF//sAZ1OJQH9IPJO5Zq1GtyBBMcg58mAQS8UALOWME7bGX6WVvvFlVQ UL2iaiuoFmJ4ecMi5zILbdD04IQYgplpyam4RJZsfvztd79RTBD7xc5llBBg64LN6SEh 2DjV5sd8SAYu4cENR8+f7pWZM+3nFkwj4b3HpkTDUumVPzVqjV68CLd1kwnvqUrIVA9H jFMdMV4VUscuHz47WQFH5AGoUSQj+6XWjM9tlck6pDmNcEZ979ZlQVrCIQqjoFDKbesk GTqA== X-Received: by 10.107.132.87 with SMTP id g84mr2951097iod.25.1432211349966; Thu, 21 May 2015 05:29:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Thu, 21 May 2015 05:28:49 -0700 (PDT) In-Reply-To: <20150521140123.a18aadc2.freebsd@edvax.de> References: <20150521140123.a18aadc2.freebsd@edvax.de> From: Avinash Sonawane Date: Thu, 21 May 2015 17:58:49 +0530 Message-ID: Subject: Re: Brightness control in FreeBSD 10.1-RELEASE To: Polytropon Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 12:29:10 -0000 On Thu, May 21, 2015 at 5:31 PM, Polytropon wrote: > I could imagine that somehow, when the OS and the GUI is loaded, > the keys designed to adjust brightness emit a "normal" key code > that the GUI (here: X's keyboard input machanism) picks up and > does something stupid with it. You can easily check for that > possibility: install the "xev" (X event viewer) port and press > those keys. Look for "KeyPress" entries. What happens? My "decrease brightness" key is Fn+F(4) where "Fn" is a separate key. When I press the combination to decrease the brightness i.e. Fn+F(4) on terminal xev produces an infinitely long output which I abort by pressing the "Esc" key. Here are some of the sample entries from the sequence: http://pastebin.com/gxHdYW5u -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com From owner-freebsd-questions@FreeBSD.ORG Thu May 21 12:37:38 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5E05B1E for ; Thu, 21 May 2015 12:37:38 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 659A4165E for ; Thu, 21 May 2015 12:37:37 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 42A0F27703; Thu, 21 May 2015 14:37:34 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4LCbYGb003293; Thu, 21 May 2015 14:37:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 May 2015 14:37:34 +0200 From: Polytropon To: Avinash Sonawane Cc: FreeBSD Questions Subject: Re: Brightness control in FreeBSD 10.1-RELEASE Message-Id: <20150521143734.91ac3a30.freebsd@edvax.de> In-Reply-To: References: <20150521140123.a18aadc2.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 12:37:38 -0000 On Thu, 21 May 2015 17:58:49 +0530, Avinash Sonawane wrote: > On Thu, May 21, 2015 at 5:31 PM, Polytropon wrote: > > > I could imagine that somehow, when the OS and the GUI is loaded, > > the keys designed to adjust brightness emit a "normal" key code > > that the GUI (here: X's keyboard input machanism) picks up and > > does something stupid with it. You can easily check for that > > possibility: install the "xev" (X event viewer) port and press > > those keys. Look for "KeyPress" entries. What happens? > > My "decrease brightness" key is Fn+F(4) where "Fn" is a separate key. > When I press the combination to decrease the brightness i.e. Fn+F(4) > on terminal xev produces an infinitely long output which I abort by > pressing the "Esc" key. Terminating xev is usually done by Ctrl+C. :-) This is the relevant output: KeyPress event, serial 37, synthetic NO, window 0x1e00001, root 0x2b9, subw 0x0, time 2427018, (165,-10), root:(759,313), state 0x10, keycode 133 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 37, synthetic NO, window 0x1e00001, root 0x2b9, subw 0x0, time 2427068, (165,-10), root:(759,313), state 0x10, keycode 133 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False An "endless loop of keypresses" is being generated when you hit Fn+F4 only once? This looks wrong. It should only be one of each events per keypress. Interesting detail: The key issues an individual code (133) and it's _not_ assigned to a symbol, so X and the window manager (or desktop environment) should ignore it. This is only for one of the keys (code 133), what about the other one? If you find a way to modify screen brightness using a command, you can use xmodmap and xbindkeys to connect that command to a keypress of that key. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu May 21 13:02:18 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEE0830A for ; Thu, 21 May 2015 13:02:18 +0000 (UTC) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 971A51979 for ; Thu, 21 May 2015 13:02:18 +0000 (UTC) Received: by igcau1 with SMTP id au1so7757427igc.1 for ; Thu, 21 May 2015 06:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=52IsJ23/yLHfnZX4Z5REhEymgAgP3AfU10YtchpHTDI=; b=BxtBgRfIxNjI1nGpyUieb45BBgHvyK0YEXEzN3sH4NsAthdq3hCYhVpceY1mVGD3la tq+Gf06NCQH1wEtW4FPDIZ3rToA0wmoUPaPR2AF7mZkgeQqeYcmydmsIqqIOgcWSzvLj f7cqNzHiI+NiiWghISkkJ/0wwGZ48djxnhl9wp5GJdjUJAiVeaz6mfP0YXP4Z/Xx4nPM 9gYjVbC0Qr23J6C6EyDBKnAFlJicZcRQwd70EnWTwJc6sp+tbeskkx9Wh5j7lzUBMfR3 YS6r5cMOC58iC2wPaelBbKsDPOUR6tHVwMjU0xmJ/logjK1ziU2O0gNXT7n3+gHshjWp zFqQ== X-Received: by 10.50.59.211 with SMTP id b19mr34173106igr.42.1432213338062; Thu, 21 May 2015 06:02:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Thu, 21 May 2015 06:01:57 -0700 (PDT) In-Reply-To: <20150521143734.91ac3a30.freebsd@edvax.de> References: <20150521140123.a18aadc2.freebsd@edvax.de> <20150521143734.91ac3a30.freebsd@edvax.de> From: Avinash Sonawane Date: Thu, 21 May 2015 18:31:57 +0530 Message-ID: Subject: Re: Brightness control in FreeBSD 10.1-RELEASE To: Polytropon Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 13:02:18 -0000 On Thu, May 21, 2015 at 6:07 PM, Polytropon wrote: > This is only for one of the keys (code 133), what about the > other one? For other one I got same never ending loop. I guess these are the relevant specifics: KeyRelease event, serial 37, synthetic NO, window 0x1e00001, root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436), state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES, XLookupString gives 1 bytes: (2e) "." XFilterEvent returns: False KeyPress event, serial 37, synthetic NO, window 0x1e00001, root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436), state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES, XLookupString gives 1 bytes: (2e) "." XmbLookupString gives 1 bytes: (2e) "." XFilterEvent returns: False > If you find a way to modify screen brightness using a command, > you can use xmodmap and xbindkeys to connect that command to > a keypress of that key. I guess that'll work. I am looking at `man acpi_video` which talks about sysctling brightness variables. -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com From owner-freebsd-questions@FreeBSD.ORG Thu May 21 13:02:49 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBE263CD for ; Thu, 21 May 2015 13:02:49 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 764E51984 for ; Thu, 21 May 2015 13:02:49 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 58B062783C; Thu, 21 May 2015 15:02:47 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4LD2kOG003372; Thu, 21 May 2015 15:02:46 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 May 2015 15:02:46 +0200 From: Polytropon To: grarpamp Cc: freebsd-questions@freebsd.org Subject: Re: End user RAM usage survey Message-Id: <20150521150246.6e2cbbcf.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 13:02:49 -0000 On Thu, 21 May 2015 05:41:38 -0400, grarpamp wrote: > For those of you using end user class systems bought within the > last few years (Intel: i3, i5, i7, E3; AMD: APU, FX) for things > such as desktop, fileserver, multimedia, browsing, development, > office, games, and VMs for the same... how much memory are you > using? (including swap, excluding ZFS) I'm using my home computer for browsing, development, gaming, and multimedia (watching and editing videos, transcoding them and so on), typesetting, image editing and other average stuff. The system has an Intel Core 2 CPU 4300 with 1.8GHz clock, and 2 GB RAM are installed, plus 2 GB swap partition. The RAM is usually used less than half capacity. To start using the swap space, I needed to open more than 70 tabs with "Flash" in the Opera web browser. This was the result (htop summary): 1 [|||| 7.9%] 2 [| 2.6%] Mem[|||||||||||||||||||1601/1990MB] Swp[||||| 275/2047MB] I'm obviously doing something wrong. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu May 21 13:09:37 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4880A9B2 for ; Thu, 21 May 2015 13:09:37 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06B1A1A62 for ; Thu, 21 May 2015 13:09:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id F1C012785F; Thu, 21 May 2015 15:09:34 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4LD9Y7N003391; Thu, 21 May 2015 15:09:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 May 2015 15:09:34 +0200 From: Polytropon To: Avinash Sonawane Cc: FreeBSD Questions Subject: Re: Brightness control in FreeBSD 10.1-RELEASE Message-Id: <20150521150934.c08a920f.freebsd@edvax.de> In-Reply-To: References: <20150521140123.a18aadc2.freebsd@edvax.de> <20150521143734.91ac3a30.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 13:09:37 -0000 On Thu, 21 May 2015 18:31:57 +0530, Avinash Sonawane wrote: > On Thu, May 21, 2015 at 6:07 PM, Polytropon wrote: > > > This is only for one of the keys (code 133), what about the > > other one? > > For other one I got same never ending loop. > I guess these are the relevant specifics: > > KeyRelease event, serial 37, synthetic NO, window 0x1e00001, > root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436), > state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES, > XLookupString gives 1 bytes: (2e) "." > XFilterEvent returns: False > > KeyPress event, serial 37, synthetic NO, window 0x1e00001, > root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436), > state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES, > XLookupString gives 1 bytes: (2e) "." > XmbLookupString gives 1 bytes: (2e) "." > XFilterEvent returns: False Yes. Somehow _this_ key combination (code 134) is assigned to the keypad decimal point (numeric keypad decimal separator, usually code 93), which is wrong - but matches your observation that dots will appear in input fields. I have no idea where this code is introduced. Maybe some crazy auto-detect "magic" usually found in big desktop environments? > > If you find a way to modify screen brightness using a command, > > you can use xmodmap and xbindkeys to connect that command to > > a keypress of that key. > > I guess that'll work. I am looking at `man acpi_video` which talks > about sysctling brightness variables. When you have commands that work, you can start "programming the keys" to act as intended, using xmodmap. It's still strange why code 133 and 134 are being treated that way. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu May 21 13:16:36 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7D6AEE8 for ; Thu, 21 May 2015 13:16:36 +0000 (UTC) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B44AD1BA6 for ; Thu, 21 May 2015 13:16:36 +0000 (UTC) Received: by pdfh10 with SMTP id h10so107943495pdf.3 for ; Thu, 21 May 2015 06:16:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=RdK87jiI5T4yDEepslzkZpUid9ZMVC1+d40acoXISmw=; b=KlRw+0ZnucY/v3TQomPIDkJqxkhmi0f2NpruboNynG99pMKEtIuKbLAFwvmSLZSO5m KeVCdOfEbtlx/yjrMydfMfjgk9ofOd9w/gE3vj9P+Q+3N/+tkSmSx2Z+7wCLp5p+UxWr hKVCOjeHpmqYG2XuLGHY6ev4mMz99m6XHRaKZtYaAQBV/euZ+Q2jgoCo9Yi37PV9VJrx iEB3V6dykVM4WHa5W2A0pHkIt1RwR1hthaohKElvAPMk/8nRO2D23zVnCAW449EudEkJ kKpyOSXnjHMsDMpvjCGyW5xz56pSP163qkWJ6Zmu/X61ZJX9WV4hsFOBscMpwhZl4PX0 wszA== X-Received: by 10.70.49.229 with SMTP id x5mr5381454pdn.81.1432214195877; Thu, 21 May 2015 06:16:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.68.67 with HTTP; Thu, 21 May 2015 06:16:15 -0700 (PDT) In-Reply-To: <20150521150934.c08a920f.freebsd@edvax.de> References: <20150521140123.a18aadc2.freebsd@edvax.de> <20150521143734.91ac3a30.freebsd@edvax.de> <20150521150934.c08a920f.freebsd@edvax.de> From: Michael Schuster Date: Thu, 21 May 2015 15:16:15 +0200 Message-ID: Subject: Re: Brightness control in FreeBSD 10.1-RELEASE To: Polytropon Cc: Avinash Sonawane , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 13:16:37 -0000 I find that window managers (I use enlightenment) often have options to set these key bindings ... maybe yours is interfering. Have you checked something like that? HTH Michael On Thu, May 21, 2015 at 3:09 PM, Polytropon wrote: > On Thu, 21 May 2015 18:31:57 +0530, Avinash Sonawane wrote: > > On Thu, May 21, 2015 at 6:07 PM, Polytropon wrote: > > > > > This is only for one of the keys (code 133), what about the > > > other one? > > > > For other one I got same never ending loop. > > I guess these are the relevant specifics: > > > > KeyRelease event, serial 37, synthetic NO, window 0x1e00001, > > root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436), > > state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES, > > XLookupString gives 1 bytes: (2e) "." > > XFilterEvent returns: False > > > > KeyPress event, serial 37, synthetic NO, window 0x1e00001, > > root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436), > > state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES, > > XLookupString gives 1 bytes: (2e) "." > > XmbLookupString gives 1 bytes: (2e) "." > > XFilterEvent returns: False > > Yes. Somehow _this_ key combination (code 134) is assigned to > the keypad decimal point (numeric keypad decimal separator, > usually code 93), which is wrong - but matches your observation > that dots will appear in input fields. I have no idea where > this code is introduced. Maybe some crazy auto-detect "magic" > usually found in big desktop environments? > > > > > > If you find a way to modify screen brightness using a command, > > > you can use xmodmap and xbindkeys to connect that command to > > > a keypress of that key. > > > > I guess that'll work. I am looking at `man acpi_video` which talks > > about sysctling brightness variables. > > When you have commands that work, you can start "programming > the keys" to act as intended, using xmodmap. It's still strange > why code 133 and 134 are being treated that way. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Michael Schuster http://recursiveramblings.wordpress.com/ From owner-freebsd-questions@FreeBSD.ORG Thu May 21 13:42:00 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 328F08B0 for ; Thu, 21 May 2015 13:42:00 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0454C1F37 for ; Thu, 21 May 2015 13:41:59 +0000 (UTC) Received: by igbsb11 with SMTP id sb11so8695664igb.0 for ; Thu, 21 May 2015 06:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lK2gk78eYtG4leij9HRveKneR00JfHmu1W7jH6V5CxY=; b=nHCY9NWwo4+RMFmjasPQ8xExxt0lKbmKcO+Is4xNu4wv8q6vDQ+yGXWD1tBNrtufu9 pJymTE09T3CF3clAnT9FtBxVzwkUUH6CzYcpp8ObEEjvprXp2OcgxEVaX+FXTArOO5uR 7gA5ZiOJ4AC8JaSnbhSQ1yGTB7R61oXz9gx0GThVQhUdnYbeVKT2boKejhTfUG8rEVjr 8cC5Lp0k+6AJP6bVlGW8+bgpsVo/s1PVw74jKmP34nrbffUwfiWynCRPtgTLP/bpgb1a ypRPxexYk3yPQyVv1OTy5i6vWu2bmFUNniHUDFcvMdraqhxS1T+zTo0QDDtmYV8dLzfx cTeg== X-Received: by 10.42.226.8 with SMTP id iu8mr3242779icb.17.1432215719408; Thu, 21 May 2015 06:41:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Thu, 21 May 2015 06:41:39 -0700 (PDT) In-Reply-To: References: <20150521140123.a18aadc2.freebsd@edvax.de> <20150521143734.91ac3a30.freebsd@edvax.de> <20150521150934.c08a920f.freebsd@edvax.de> From: Avinash Sonawane Date: Thu, 21 May 2015 19:11:39 +0530 Message-ID: Subject: Re: Brightness control in FreeBSD 10.1-RELEASE To: Michael Schuster Cc: Polytropon , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 13:42:00 -0000 On Thu, May 21, 2015 at 6:46 PM, Michael Schuster wrote: > I find that window managers (I use enlightenment) often have options to set > these key bindings ... maybe yours is interfering. Have you checked > something like that? Yes I have. And No there's nothing binded to Fn+F(4) and Fn+F(5) key combinations. And I don't think this is xfce related issue as I have sual boot setup with another OS being Debian with xfce in which brightness control works just fine. So I'm afraid but to infer that this is FreeBSD specific issue. >> Yes. Somehow _this_ key combination (code 134) is assigned to >> the keypad decimal point (numeric keypad decimal separator, >> usually code 93), which is wrong - but matches your observation >> that dots will appear in input fields. I have no idea where >> this code is introduced. Maybe some crazy auto-detect "magic" >> usually found in big desktop environments? I think this is FreeBSD specific issue as my another setup Debian+XFCE is doing just fine with brightness control. -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com From owner-freebsd-questions@FreeBSD.ORG Thu May 21 13:44:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98D6FAA9 for ; Thu, 21 May 2015 13:44:53 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63D0D1F68 for ; Thu, 21 May 2015 13:44:53 +0000 (UTC) Received: by padbw4 with SMTP id bw4so105977583pad.0 for ; Thu, 21 May 2015 06:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=aFBe0x5FCl3kxjxKI/2EiEcDzvibvOS+2hlYR4DpaKk=; b=SThH7Af5pAswquubfsYmc3mq9nb9Ew5uhULBSVyw3LRGDaGOPnMPteDCDqp0t2Yvf3 mP/qubo2ssrLDLd5FeRXnfR4VFbvXLPQ4xtRjkArjlpIiCTo1RVqol9u71jZY0GuylHs j1TABSHQVAu9FyYRAukMlYe8L0Xn95AuguTEuZKvqkM4+UlM+CXA7qzzonzwSgowkq+1 +AyXcDRLvSltHBxsU9F0YQW7LnFNazw41IE3c9bNBaUuzJhea3VwYhVeYsJ20bYJo8ns 9JddTJXZkZIbkBK+ebk3xgJB0CPcqoNP4VCljNgg6lgjCYEUCLChR6e0IwpSVS4txoqR fWBw== X-Received: by 10.68.178.229 with SMTP id db5mr5824093pbc.17.1432215892898; Thu, 21 May 2015 06:44:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.68.67 with HTTP; Thu, 21 May 2015 06:44:32 -0700 (PDT) In-Reply-To: References: <20150521140123.a18aadc2.freebsd@edvax.de> <20150521143734.91ac3a30.freebsd@edvax.de> <20150521150934.c08a920f.freebsd@edvax.de> From: Michael Schuster Date: Thu, 21 May 2015 15:44:32 +0200 Message-ID: Subject: Re: Brightness control in FreeBSD 10.1-RELEASE To: Avinash Sonawane Cc: Polytropon , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 13:44:53 -0000 On Thu, May 21, 2015 at 3:41 PM, Avinash Sonawane wrote: > Yes I have. And No there's nothing binded to Fn+F(4) and Fn+F(5) key > combinations. And I don't think this is xfce related issue as I have > sual boot setup with another OS being Debian with xfce in which > brightness control works just fine. > > So I'm afraid but to infer that this is FreeBSD specific issue. > you may be right ... OTOH, perhaps it's just a case of different defaults in the respective ports of xfce (OK ... in a sense, that's a FreeBSD-specificum as well :-) .. regards Michael -- Michael Schuster http://recursiveramblings.wordpress.com/ From owner-freebsd-questions@FreeBSD.ORG Thu May 21 15:03:49 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06CC329E for ; Thu, 21 May 2015 15:03:49 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C31D1192C for ; Thu, 21 May 2015 15:03:48 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-174.adsl.hiwaay.net [216.180.76.174]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t4LF3jfA021067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 21 May 2015 10:03:46 -0500 Message-ID: <555DF3D1.5090109@hiwaay.net> Date: Thu, 21 May 2015 10:10:00 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: pkg upgrade problem References: <5557D47D.2030301@hiwaay.net> <5557D71F.70408@hiwaay.net> <555D2246.40201@hiwaay.net> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 15:03:49 -0000 On 05/20/15 22:36, Paul Smith wrote: > On Wed, May 20, 2015 at 6:08 PM, William A. Mahaffey III wrote: >> On 05/16/15 18:53, William A. Mahaffey III wrote: >>> On 05/16/15 18:50, Ben Woods wrote: >>>> On Sunday, May 17, 2015, William A. Mahaffey III wrote: >>>> >>>>> I just tried to do a 'pkg upgrade -y' from the console CLI as root. I >>>>> redirected all output to a file, which I list below: >>>>> >>>>> >>>>> [root@kabini1, /etc, 6:40:13pm] 333 % cat LIST.pkg-upgrade.May2015.txt >>>>> Updating FreeBSD repository catalogue... >>>>> Fetching meta.txz... done >>>>> Fetching packagesite.txz... done >>>>> Processing entries... done >>>>> FreeBSD repository update completed. 23971 packages processed. >>>>> Checking for upgrades (536 candidates)... done >>>>> Processing candidates (536 candidates)... done >>>>> pkg: Cannot solve problem using SAT solver: >>>>> pkg: cannot find libreoffice in the request >>>>> pkg: cannot solve job using SAT solver >>>>> [root@kabini1, /etc, 6:40:16pm] 334 % >>>>> >>>>> I had cleaned out the /var/db/pkg/ directory of old repo data & meta >>>>> data. >>>>> How do I work around this ? Is this a problem w/ remote repos, or >>>>> something >>>>> at my end (possibly including pilot error :-/ ) ? TIA & have a nice >>>>> weekend >>>>> .... >>>>> >>>> I wonder if you have the latest version of pkg (can you please check you >>>> have 1.5.2 by typing pkg -v). >>>> >>>> Perhaps try updating pkg first using "pkg upgrade pkg". Then once again >>>> try >>>> your "pkg upgrade". >>>> >>>> Regards, >>>> Ben >>> >>> >>> Slightly more useful than my last reply .... >>> >>> [root@kabini1, /etc, 6:53:18pm] 335 % pkg -v >>> 1.5.2 >>> [root@kabini1, /etc, 6:53:19pm] 335 % uname -a >>> FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue Apr >>> 7 03:01:12 UTC 2015 >>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >>> [root@kabini1, /etc, 6:53:22pm] 336 % >> >> >> Anyone got anything on this ? I'm still stuck. If it's pilot error, just say >> so, I can take it ;-). TIA & have a nice evening .... >> >> >> >> -- >> >> William A. Mahaffey III > Check out this issue. > https://github.com/freebsd/pkg/issues/1248 > > Paul > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > *Booooyah* !!!! The recommendation to do a 'pkg check -Ba', followed by the upgrade worked seamlessly :-). Back in the saddle again !!! -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Thu May 21 15:17:52 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A2B729F0 for ; Thu, 21 May 2015 15:17:52 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68CD21AF4 for ; Thu, 21 May 2015 15:17:52 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-174.adsl.hiwaay.net [216.180.76.174]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t4LFHoa5013000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 21 May 2015 10:17:51 -0500 Message-ID: <555DF71E.3000601@hiwaay.net> Date: Thu, 21 May 2015 10:24:05 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: pkg upgrade problem References: <5557D47D.2030301@hiwaay.net> <5557D71F.70408@hiwaay.net> <555D2246.40201@hiwaay.net> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 15:17:52 -0000 On 05/21/15 04:05, Ben Woods wrote: > > Check out this issue. > https://github.com/freebsd/pkg/issues/1248 > > Paul > > > In summary, William this appears to be a bug. > > You should be able to resolve it by using the following commands: > # pkg check -Ba > # pkg upgrade > > If that does not work, then you might try being more forceful: > # pkg install -f libreoffice > # pkg upgrade > > Regards, > Ben > > > -- > > -- > From: Benjamin Woods > woodsb02@gmail.com Thanks, the 1st option worked AOK & I am off to the races again ;-). Thanks again. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Thu May 21 15:30:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23555DDA for ; Thu, 21 May 2015 15:30:53 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7DDA1C68 for ; Thu, 21 May 2015 15:30:52 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-174.adsl.hiwaay.net [216.180.76.174]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t4LFUoDn029333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 21 May 2015 10:30:51 -0500 Message-ID: <555DFA2A.6060706@hiwaay.net> Date: Thu, 21 May 2015 10:37:05 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: End user RAM usage survey References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 15:30:53 -0000 On 05/21/15 04:47, grarpamp wrote: > For those of you using end user class systems bought within the > last few years (Intel: i3, i5, i7, E3; AMD: APU, FX) for things > such as desktop, fileserver, multimedia, browsing, development, > office, games, and VMs for the same... how much memory are you > using? (including swap, excluding ZFS) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > AMD jaguar kabini CPU (Sempron 3850), 16 GB RAM, 16 GB swap (!!!!!), FreeBSD 9.3R-p13 .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Thu May 21 15:38:16 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30070AA for ; Thu, 21 May 2015 15:38:16 +0000 (UTC) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9B051D7A for ; Thu, 21 May 2015 15:38:15 +0000 (UTC) Received: by lbbuc2 with SMTP id uc2so21031856lbb.2 for ; Thu, 21 May 2015 08:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=w81hACDP6WBt+NrbJhbZbHA09lCuRjG4Tytygsl0/54=; b=vHdFGoJFw/Yyk0TzaLPrBhU3A5clfKqJlHsDNVfVOc9Od563xGQyXh/evt6Vlqfnsa 1FUm/H201WwpkaRsLAJOsWkVfUgJwATm97OGjO7YkVghK/x3bZ8uaASz9yAnGmU3CiHE Aax8iJjuKpAKO0K/qbrL3uoRL4fR7J5hJAmbmpr41z2HHkaQ/1VRo0gnpPZOQBRaCZGn beynq+5TfSeMXeCVh+GDnkIB4sxP4ciKewK7WMLtYyBQPPdN+7qIs43BmqhtofK7DHGk 8voD8HfrNWUwiWpC8mk0HbQHJZ7QjNzeKj7d0525gWpIrtF8VnnOv7k6Q67hbc5VXAZV 3NwA== MIME-Version: 1.0 X-Received: by 10.112.199.1 with SMTP id jg1mr2832936lbc.59.1432222693642; Thu, 21 May 2015 08:38:13 -0700 (PDT) Received: by 10.25.42.146 with HTTP; Thu, 21 May 2015 08:38:13 -0700 (PDT) Date: Thu, 21 May 2015 08:38:13 -0700 Message-ID: Subject: SLOG and SSDs: are "super" capacitors really needed? From: Chris Stankevitz To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 15:38:16 -0000 When sync data is written to the ZIL (or in my case to a SLOG), ZFS waits for the write to be "completed" before continuing. Once the write has "completed", the sync data is considered written, even if it has not yet made it to the real storage devices. Written data has "completed" when the ZIL device (SLOG) reports that the data has been written. Question: do SSD drives report the write has "completed" only after the data has been burned into non-volatile storage? If so, then why do people say a good SLOG SSD has "super capacitors" that allow the drive to continue functioning for a short time after a power failure? It seems to me that there are two scenarios, none of which need super capacitors: 1. A transaction is completely written to the SLOG, but not the storage devices, and the power goes out. No problem, data will write to storage when the pool is imported. 2. A transaction is partially written to the SLOG, but not the storage devices, and the power goes out. No problem, the transaction will be lost and the pool will be imported with the previously committed data/transaction. I don't see a scenario where a power-outage causes a "corrupted transaction" to be posted. Now if an SSD reports data "written" before it makes it to non-volatile storage, then that is another story... but I cannot imagine a HDD manufacturer advertising data written that is not actually written (or guaranteed to be written even in the face of a power outage). Thank you, Chris From owner-freebsd-questions@FreeBSD.ORG Thu May 21 15:51:56 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D02164D3 for ; Thu, 21 May 2015 15:51:56 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id ACFFC1F7B for ; Thu, 21 May 2015 15:51:56 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 465D8CB8C9C; Thu, 21 May 2015 10:51:55 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Thu, 21 May 2015 10:51:55 -0500 (CDT) Message-ID: <43064.128.135.70.2.1432223515.squirrel@cosmo.uchicago.edu> In-Reply-To: References: Date: Thu, 21 May 2015 10:51:55 -0500 (CDT) Subject: Re: End user RAM usage survey From: "Valeri Galtsev" To: "grarpamp" Cc: freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 15:51:56 -0000 On Thu, May 21, 2015 4:41 am, grarpamp wrote: > For those of you using end user class systems bought within the > last few years (Intel: i3, i5, i7, E3; AMD: APU, FX) for things > such as desktop, fileserver, multimedia, browsing, development, > office, games, and VMs for the same... how much memory are you > using? (including swap, excluding ZFS) Majority of our FreeBSD machines are AMD Opterons (2 or 4 socket single to 16 core CPUs), they are servers mostly converted into such from retired (re-purposed) number crunchers, so they usually have larger amounts of RAM than they actually need. Anyway: RAM from 8GB to 64GB (the larger RAM machines can host really many jails). I also have a special note on swap. FreeBSD seems to want you badly to have swap, so I do have swap of FreeBSD machines. However, I never make swap larger than 4GB. If you come to the point you have to swap out some memory pages to disk, then you definitely need extra RAM. Which is cheap, just add RAM. I do respect FreeBDS's requiring me to have some swap. That is the only reason I do have swap on FreeBSD machines. I run a bunch of Linux number crunching machines with large amounts of RAM (16 GB - 512 GB of RAM). I never had set any swap on these machines (running Linux, as you may notice, I'm less respectful to what Linux usual recommendations are - relying more on my own insight there). Just imagine that you need to swap out to disk 4GB, and back from disk into RAM, and this you will have to do any time you switch to and from some of the processes. Process switching happens on the order of milliseconds. And each of the switching requiring swapping will take as long ad disk read/write takes, which is many seconds. The need of such swapping will just bring your box to its knees. Just my $0.02 Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Thu May 21 15:57:59 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 606878BE for ; Thu, 21 May 2015 15:57:59 +0000 (UTC) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28D431009 for ; Thu, 21 May 2015 15:57:59 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so13977592igb.1 for ; Thu, 21 May 2015 08:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dPbLG6O+Bjx64sl27lANEHqxCbDRDGKJhgFUrcdZkNc=; b=S9X6ULWXyUiQ7zcw2np2MMDDUv8+dBT1wwWhrO9TiBAu3wamJ6b/XyBVHVUmQNLeoR bdaH+iOVh8Ra8X/u3pG8zYwBwrvtPm/6znTafoTftbDUwnE55YZ3Kf4xAW6jiuH6cm8K aJWQxEZYOGPwRvToBvVC0tOCF3dMceOM+G4cu2PKR+CD4R7aEw99cfZI9l1nAaDCZZc7 edstPy2tfVoexDQ8UgvWL8kPQZEtNl/ouxdCABTCzlngS7QSDv6u6EIGZ7wEZMe4RGmF uSvkPd7CRBDAcTQV9QX7sojf7s2d7WyE0gb485a2o/G7WyyQ4QUmMKVeOKYy0shy5zCY gPaA== MIME-Version: 1.0 X-Received: by 10.43.18.194 with SMTP id qh2mr4024716icb.36.1432223878078; Thu, 21 May 2015 08:57:58 -0700 (PDT) Received: by 10.79.6.195 with HTTP; Thu, 21 May 2015 08:57:58 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 May 2015 08:57:58 -0700 Message-ID: Subject: Re: SLOG and SSDs: are "super" capacitors really needed? From: Jason Cox To: Chris Stankevitz Cc: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 15:57:59 -0000 I know I might be off here, but I think it goes like this... Write transactions are done in memory, the ZIL/SLOG is just the backup copy. So a write goes into memory, then written to the pool. The purpose of the ZIL is if a transaction does not complete to disk and the power is yanked from the machine, it can replay that transaction from the ZIL. The reason having a fast SLOG device speeds up sync writes is that the SLOG is better able to keep in sync with RAM vs. when the ZIL is on the slower spinning disk. So ZFS will not acknowledge the write till the data is in RAM and secure in the ZIL. So it is very important to have a SLOG device with a super cap for when something like the power goes out and the SSD has not completed the write from its cache to nv storage, you just lost that transaction. On Thu, May 21, 2015 at 8:38 AM, Chris Stankevitz wrote: > When sync data is written to the ZIL (or in my case to a SLOG), ZFS > waits for the write to be "completed" before continuing. Once the > write has "completed", the sync data is considered written, even if it > has not yet made it to the real storage devices. Written data has > "completed" when the ZIL device (SLOG) reports that the data has been > written. > > Question: do SSD drives report the write has "completed" only after > the data has been burned into non-volatile storage? If so, then why > do people say a good SLOG SSD has "super capacitors" that allow the > drive to continue functioning for a short time after a power failure? > It seems to me that there are two scenarios, none of which need super > capacitors: > > 1. A transaction is completely written to the SLOG, but not the > storage devices, and the power goes out. No problem, data will write > to storage when the pool is imported. > > 2. A transaction is partially written to the SLOG, but not the storage > devices, and the power goes out. No problem, the transaction will be > lost and the pool will be imported with the previously committed > data/transaction. > > I don't see a scenario where a power-outage causes a "corrupted > transaction" to be posted. > > Now if an SSD reports data "written" before it makes it to > non-volatile storage, then that is another story... but I cannot > imagine a HDD manufacturer advertising data written that is not > actually written (or guaranteed to be written even in the face of a > power outage). > > Thank you, > > Chris > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Jason Cox From owner-freebsd-questions@FreeBSD.ORG Thu May 21 16:31:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E7EC53D for ; Thu, 21 May 2015 16:31:53 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id 2B2861543 for ; Thu, 21 May 2015 16:31:52 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 7839ACB8C95; Thu, 21 May 2015 11:31:52 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Thu, 21 May 2015 11:31:52 -0500 (CDT) Message-ID: <48018.128.135.70.2.1432225912.squirrel@cosmo.uchicago.edu> In-Reply-To: References: Date: Thu, 21 May 2015 11:31:52 -0500 (CDT) Subject: Re: SLOG and SSDs: are "super" capacitors really needed? From: "Valeri Galtsev" To: "Jason Cox" Cc: "Chris Stankevitz" , "freebsd-questions" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 16:31:53 -0000 On Thu, May 21, 2015 10:57 am, Jason Cox wrote: > I know I might be off here, but I think it goes like this... > > Write transactions are done in memory, the ZIL/SLOG is just the backup > copy. So a write goes into memory, then written to the pool. The purpose > of > the ZIL is if a transaction does not complete to disk and the power is > yanked from the machine, it can replay that transaction from the ZIL. The > reason having a fast SLOG device speeds up sync writes is that the SLOG is > better able to keep in sync with RAM vs. when the ZIL is on the slower > spinning disk. So ZFS will not acknowledge the write till the data is in > RAM and secure in the ZIL. > > So it is very important to have a SLOG device with a super cap for when > something like the power goes out and the SSD has not completed the write > from its cache to nv storage, you just lost that transaction. To re-phrase that (I'm just stealing somebody's else phrase...): all devices (that have RAM cache) lie about "transaction complete". They report it NOT when the transaction is safely dumped from volatile cache into non-volatile storage, but just as soon as the device accepted all data (most of which may be in volatile memory). This makes their specs look good compared to competition. And which technically is bad. As I for one would prefer "transaction complete" (or similar) only when all data are already safely stored in non-volatile part of the storage device. But the life is bad - there is no way of knowing it (as far as I know) ;-( Valeri PS Make use of UPSes! > > On Thu, May 21, 2015 at 8:38 AM, Chris Stankevitz > > wrote: > >> When sync data is written to the ZIL (or in my case to a SLOG), ZFS >> waits for the write to be "completed" before continuing. Once the >> write has "completed", the sync data is considered written, even if it >> has not yet made it to the real storage devices. Written data has >> "completed" when the ZIL device (SLOG) reports that the data has been >> written. >> >> Question: do SSD drives report the write has "completed" only after >> the data has been burned into non-volatile storage? If so, then why >> do people say a good SLOG SSD has "super capacitors" that allow the >> drive to continue functioning for a short time after a power failure? >> It seems to me that there are two scenarios, none of which need super >> capacitors: >> >> 1. A transaction is completely written to the SLOG, but not the >> storage devices, and the power goes out. No problem, data will write >> to storage when the pool is imported. >> >> 2. A transaction is partially written to the SLOG, but not the storage >> devices, and the power goes out. No problem, the transaction will be >> lost and the pool will be imported with the previously committed >> data/transaction. >> >> I don't see a scenario where a power-outage causes a "corrupted >> transaction" to be posted. >> >> Now if an SSD reports data "written" before it makes it to >> non-volatile storage, then that is another story... but I cannot >> imagine a HDD manufacturer advertising data written that is not >> actually written (or guaranteed to be written even in the face of a >> power outage). >> >> Thank you, >> >> Chris >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > > > -- > Jason Cox > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Thu May 21 16:48:54 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F08FEDBB for ; Thu, 21 May 2015 16:48:54 +0000 (UTC) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 791FE16C6 for ; Thu, 21 May 2015 16:48:54 +0000 (UTC) Received: by lbcmx3 with SMTP id mx3so22501754lbc.1 for ; Thu, 21 May 2015 09:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Nupniol+VbQ0UuB8pC2mp61m/f2HshnWLX629RnZY90=; b=XRgt5sSRF7fla2Xw75liFMsjvafWYJSoumWVeNlRblSJjTW4OWVnoVy5OYxi0IfcW/ uxy9sxHQL6e0jrSyhWwql2bb5IsjQ0bj+XwWYx8YYLDEKmELu/RWOEQgn5J4VXIaro8Q nl+nVC8FJxTcGaZ3mCIV7wzRpjh3sXDWyaJe6b7P/lPy55DjxoiyPnLb4XHOjcA7WLWR s9rBLZ8j2JxpKiBjLUUNNoyYxLYLUGp2hdgg+jJQd1kClLTo9rI0y48HR0EevtRYdEUv uX1InAMd0h4M9uvRcmqNXG78tztlX3gHKTey5pqVqwHH5YazuFNETBQhBYZQ5HWOlMD2 RxWw== MIME-Version: 1.0 X-Received: by 10.152.23.4 with SMTP id i4mr2976644laf.51.1432226932394; Thu, 21 May 2015 09:48:52 -0700 (PDT) Received: by 10.25.42.146 with HTTP; Thu, 21 May 2015 09:48:52 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 May 2015 09:48:52 -0700 Message-ID: Subject: Re: SLOG and SSDs: are "super" capacitors really needed? From: Chris Stankevitz To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 16:48:55 -0000 On Thu, May 21, 2015 at 8:38 AM, Chris Stankevitz wrote: > Question: do SSD drives report the write has "completed" only after > the data has been burned into non-volatile storage? Apparently the answer to this is "no. SSDs report the write is completed long before the data has made its way to non-volatile storage": https://www.usenix.org/system/files/conference/fast13/fast13-final80.pdf Thank you for the replies, Chris From owner-freebsd-questions@FreeBSD.ORG Thu May 21 18:19:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B8427A5 for ; Thu, 21 May 2015 18:19:55 +0000 (UTC) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCA1912C2 for ; Thu, 21 May 2015 18:19:54 +0000 (UTC) Received: by ieczm2 with SMTP id zm2so14639180iec.1 for ; Thu, 21 May 2015 11:19:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9rTeG2BmbV9Nj2StO/l4shJ3LXIRivHib++u9lz92gM=; b=aTLrP+wztJg4eBDfC7aYWwh+wMgdTNuwcKf6LlzRFLYhVp0maoQmuRtYkyGFiyumOK SODq7hdw/7Jgwv8IOUQTMv580HpDVPkN+F3xBNFCBVmJD9cvVd5ocx+cd+rZiPnTjmLa wvzj0VdzypaqpXmdS2K5HkiWNuKbO+CZ86ef+WOuEo8cRBzP1YUJQiP7YmGKctPO5d2Y rRnmtC++C5An5wESGMfMh/qpevePFkU76JB8TVjgEl8KNiuUuMsBOwE7bSOjj0jcROyA /JUbUnXlyj2A4E8QkDFtCX6DEDmEaSSNAZ/jvFJJRaOl8uErOh9DG6R07p9gU1y4uYiM 5MEA== MIME-Version: 1.0 X-Received: by 10.107.132.138 with SMTP id o10mr5254093ioi.52.1432232394040; Thu, 21 May 2015 11:19:54 -0700 (PDT) Received: by 10.36.51.76 with HTTP; Thu, 21 May 2015 11:19:54 -0700 (PDT) In-Reply-To: <43064.128.135.70.2.1432223515.squirrel@cosmo.uchicago.edu> References: <43064.128.135.70.2.1432223515.squirrel@cosmo.uchicago.edu> Date: Thu, 21 May 2015 14:19:54 -0400 Message-ID: Subject: Re: End user RAM usage survey From: grarpamp To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 18:19:55 -0000 Posting the "real memory" and the header lines from top would be useful for other users to see, along with the verbal descriptions. I suggested "using" because many users have far more physical memory installed than they will ever need. Thus quoting only the amount of installed memory doesn't provide much realworld usage insight for users. Here's a snapshot of a browsing and general user platform that includes both memory installed and in use. X, Mozilla and ZFS are the big consumers. Were ZFS switched to UFS, headroom does not really exist to permit distribute the RAM (1GB sticks) to other machines. And if they wanted to run VM it may estimate them to add up to 2GB/VM more. # grep "real mem" /var/run/dmesg.boot real memory = 2147483648 (2048 MB) # top 54 processes: 2 running, 51 sleeping, 1 waiting Mem: 479M Active, 90M Inact, 641M Wired, 344K Cache, 112M Buf, 779M Free ARC: 328M Total, 138M MFU, 174M MRU, 16K Anon, 3012K Header, 13M Other Swap: (Swap is disabled so that field shows blank.) (FreeBSD itself does not *require* swap. Swap is only required if your usage would exceed physical RAM and you wish to avoid process killing / crash.) From owner-freebsd-questions@FreeBSD.ORG Thu May 21 18:38:48 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3694149 for ; Thu, 21 May 2015 18:38:48 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id 80A9D15BC for ; Thu, 21 May 2015 18:38:48 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id C42BACB8CA2; Thu, 21 May 2015 13:38:41 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Thu, 21 May 2015 13:38:41 -0500 (CDT) Message-ID: <30988.128.135.70.2.1432233521.squirrel@cosmo.uchicago.edu> In-Reply-To: References: <43064.128.135.70.2.1432223515.squirrel@cosmo.uchicago.edu> Date: Thu, 21 May 2015 13:38:41 -0500 (CDT) Subject: Re: End user RAM usage survey From: "Valeri Galtsev" To: "grarpamp" Cc: freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 18:38:48 -0000 On Thu, May 21, 2015 1:19 pm, grarpamp wrote: > Posting the "real memory" and the header lines from top would be > useful for other users to see, along with the verbal descriptions. > I suggested "using" because many users have far more physical memory > installed than they will ever need. Thus quoting only the amount > of installed memory doesn't provide much realworld usage insight > for users. > > Here's a snapshot of a browsing and general user platform that > includes both memory installed and in use. X, Mozilla and ZFS are > the big consumers. Were ZFS switched to UFS, headroom does not > really exist to permit distribute the RAM (1GB sticks) to other > machines. And if they wanted to run VM it may estimate them to add > up to 2GB/VM more. > > # grep "real mem" /var/run/dmesg.boot > real memory = 2147483648 (2048 MB) > > # top > 54 processes: 2 running, 51 sleeping, 1 waiting > Mem: 479M Active, 90M Inact, 641M Wired, 344K Cache, 112M Buf, 779M Free > ARC: 328M Total, 138M MFU, 174M MRU, 16K Anon, 3012K Header, 13M Other > Swap: > > (Swap is disabled so that field shows blank.) > > (FreeBSD itself does not *require* swap. Thanks! I guess, I didn't read the book carefully enough... The very next thing I'll do will be: disable swap on all large RAM boxes (even though it is merely default 4GB the installer will set for you). Valeri > Swap is only required if > your usage would exceed physical RAM and you wish to avoid process > killing / crash.) ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Thu May 21 19:18:13 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 698B3F1E for ; Thu, 21 May 2015 19:18:13 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32FA61AC1 for ; Thu, 21 May 2015 19:18:12 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-53.adsl.hiwaay.net [216.180.19.53]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t4LJIAWw024106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 21 May 2015 14:18:11 -0500 Message-ID: <555E2F72.7080806@hiwaay.net> Date: Thu, 21 May 2015 14:24:25 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: End user RAM usage survey References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 19:18:13 -0000 On 05/21/15 04:47, grarpamp wrote: > For those of you using end user class systems bought within the > last few years (Intel: i3, i5, i7, E3; AMD: APU, FX) for things > such as desktop, fileserver, multimedia, browsing, development, > office, games, and VMs for the same... how much memory are you > using? (including swap, excluding ZFS) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Updated reply w/ more detail (from 'top -i size'): last pid: 62226; load averages: 0.18, 0.20, 0.42 up 10+04:29:52 14:24:03 153 processes: 1 running, 152 sleeping CPU: 1.9% user, 0.0% nice, 2.7% system, 0.5% interrupt, 94.9% idle Mem: 700M Active, 11G Inact, 1641M Wired, 18M Cache, 1588M Buf, 2148M Free Swap: 16G Total, 16G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 38119 wam 50 20 0 731M 406M uwait 0 8:38 0.00% firefox 36989 wam 33 20 0 593M 298M uwait 3 1:50 1.07% thunderbird 72213 wam 4 20 0 235M 41516K kqread 0 0:16 0.20% xfdesktop 72183 wam 5 20 0 233M 147M uwait 2 85:24 3.08% Xorg 61779 wam 5 52 19 218M 42496K kqread 3 0:01 0.00% tumblerd 72210 wam 4 25 0 207M 28276K kqread 0 0:13 0.68% xfce4-panel 72222 wam 3 48 0 180M 31616K select 0 1:39 0.00% xfce4-terminal 72211 wam 3 44 0 177M 24008K kqread 2 0:02 0.00% xfsettingsd 72191 wam 3 42 0 168M 21932K select 0 0:01 0.00% xfce4-session 72205 wam 1 20 0 159M 23920K select 0 0:04 0.10% xfwm4 72241 wam 1 20 0 156M 21532K select 1 0:00 0.00% wrapper-1.0 72221 wam 1 20 0 152M 19780K select 2 0:00 0.00% wrapper-1.0 72207 wam 1 20 0 152M 20232K select 3 0:00 0.00% thunar 60790 wam 1 20 0 150M 21396K select 3 0:00 0.00% xfce4-notifyd 72233 wam 1 20 0 147M 19552K select 3 4:19 0.00% wrapper-1.0 72243 wam 1 20 0 139M 20880K select 1 0:57 0.00% wrapper-1.0 72223 wam 1 20 0 139M 20876K select 3 0:57 0.00% wrapper-1.0 38685 wam 3 40 0 96516K 12200K select 2 0:00 0.00% gvfsd-http 961 root 17 20 0 84044K 7104K select 1 0:00 0.00% console-kit-daemon 72224 wam 1 20 0 78060K 12484K select 3 0:01 0.00% xterm 72231 wam 1 20 0 73964K 11788K select 1 0:01 0.00% xterm 921 root 1 20 0 69036K 9716K select 1 0:03 0.00% smbd 914 root 1 20 0 68512K 9576K select 1 0:00 0.00% smbd 963 root 3 20 0 67232K 7268K kqread 3 0:00 0.00% polkitd 72230 wam 3 20 0 65308K 8360K kqread 0 0:03 0.00% gvfsd-trash 36996 wam 3 20 0 63708K 8520K select 1 0:00 0.00% at-spi-bus-launcher 1077 haldaemon 2 22 0 61816K 8968K select 3 2:59 0.00% hald -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Thu May 21 20:31:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28A2A534 for ; Thu, 21 May 2015 20:31:55 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.158]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 141C013AB for ; Thu, 21 May 2015 20:31:54 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to:user-agent; b=earmu3LW7AKRb5CNYOyciSFANWg+Yi2L1PtFLek6Iu9nSJPQgihzB8eBYjWSVOUiFWOc6kT2QIMJ c1Kc2r8H5/ougrHOfEdPx+pVDUxoyoiDZ6+VDvOLqIFnWg53yfGy Received: from WorkBox.Home (75-168-135-115.mpls.qwest.net [75.168.135.115]) by mx.zohomail.com with SMTPS id 1432239395513256.37664207180126; Thu, 21 May 2015 13:16:35 -0700 (PDT) Date: Thu, 21 May 2015 15:16:23 -0500 From: Brandon Wandersee To: freebsd-questions@freebsd.org Subject: Re: End user RAM usage survey Message-ID: <20150521201623.GA44817@WorkBox.Home> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 20:31:55 -0000 Currently have Firefox, Emacs server with two clients, LibreOffice writer, cmus, and a couple shell instances open, while running a port upgrade w/ portmaster, all inside the i3 window manager. I'm at 956 megabytes of RAM used. The only time I break 2 gigabytes is when I have a Windows 7 virtual machine running, since I dedicated 4 gigabytes of RAM to it. My multipurpose server/HTPC is using less than that. I've been using these machines (both laptops with Intel i7 CPUs) for almost four years, and never needed a swap file or partition. The only time I've run out of RAM was when I tried building a huge set of Haskell packages entirely in RAM (I thought it was a good idea at the time, for some reason...) -- ============================================================================= :: Brandon Wandersee :: brandon.wandersee@zoho.com :: ============================================================================= "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams ============================================================================= From owner-freebsd-questions@FreeBSD.ORG Thu May 21 21:17:35 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E75617C for ; Thu, 21 May 2015 21:17:35 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.229]) by mx1.freebsd.org (Postfix) with ESMTP id 19C4318AD for ; Thu, 21 May 2015 21:17:34 +0000 (UTC) Received: from [75.187.32.8] ([75.187.32.8:37219] helo=raspberrypi.bildanet.com) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id AB/A5-09484-86B4E555; Thu, 21 May 2015 21:17:28 +0000 Received: from [192.168.1.53] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1YvXqJ-0008Ux-Mk for freebsd-questions@freebsd.org; Thu, 21 May 2015 17:17:27 -0400 Message-ID: <555E4B67.2070506@columbus.rr.com> Date: Thu, 21 May 2015 17:17:27 -0400 From: Baho Utot User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: End user RAM usage survey References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 21:17:35 -0000 On 05/21/15 05:41, grarpamp wrote: > For those of you using end user class systems bought within the > last few years (Intel: i3, i5, i7, E3; AMD: APU, FX) for things > such as desktop, fileserver, multimedia, browsing, development, > office, games, and VMs for the same... how much memory are you > using? (including swap, excluding ZFS) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" 83 processes: 1 running, 82 sleeping CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 3: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 4: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 5: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 6: 0.0% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.6% idle CPU 7: 0.0% user, 0.0% nice, 0.8% system, 0.0% interrupt, 99.2% idle Mem: 676M Active, 344M Inact, 539M Wired, 7456K Cache, 97M Buf, 14G Free ARC: 71M Total, 22M MFU, 47M MRU, 144K Anon, 421K Header, 1839K Other Swap: 23G Total, 23G Free From owner-freebsd-questions@FreeBSD.ORG Thu May 21 22:34:56 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2998154F for ; Thu, 21 May 2015 22:34:56 +0000 (UTC) Received: from sdf.lonestar.org (mx.sdf.org [192.94.73.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "SDF.ORG" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E3BAC11C8 for ; Thu, 21 May 2015 22:34:55 +0000 (UTC) Received: from sdf.org (IDENT:cary@sdf.lonestar.org [192.94.73.15]) by sdf.lonestar.org (8.14.8/8.14.5) with ESMTP id t4LMXUtL017208 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO) for ; Thu, 21 May 2015 22:33:30 GMT Received: (from cary@localhost) by sdf.org (8.14.8/8.12.8/Submit) id t4LMXUbY004649 for freebsd-questions@freebsd.org; Thu, 21 May 2015 22:33:30 GMT Date: Thu, 21 May 2015 22:33:30 +0000 From: Cary To: "freebsd-questions@freebsd.org" Subject: pkg(8) will not install new binaries Message-ID: <20150521223329.GA6673@SDF.ORG> Mail-Followup-To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.sdf.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 22:34:56 -0000 Hello everyone, The build of webkit-gtk2-2.4.8_2 installed on my system segfaulted frequently. I deinstalled it and a few other packages which required it. As an experiment I made an attempt to reinstall from the 2.4.9 version of webkit-gtk2 sources that were released yesterday. ( http://webkitgtk.org/releases/webkitgtk-2.4.9.tar.xz ) After some modifications to Makefile and distinfo the sources built using "make" in the location www/webkit-gkt2 of the ports tree. They won't install though. Pkg(8) is still looking for libraries from the latest version of the port that I deinstalled. "make package" halts with an error. - pkg-static: Unable to access file /usr/ports/www/webkit-gtk2/work/stage/usr/local/lib/libjavascriptcoregtk-1.0.so.0.16.16: No such file or directory pkg-static: Unable to access file /usr/ports/www/webkit-gtk2/work/stage/usr/local/lib/libwebkitgtk-1.0.so.0.22.14: No such file or directory *** [do-package] Error code 1 Stop in /usr/ports/www/webkit-gtk2. *** [package] Error code 1 - The new libraries I have staged are libjavascriptcoregtk-1.0.so.0.16.17 and libwebkitgtk-1.0.so.0.22.15. The plist is new and seems to be accurate. Not understanding the behavior of pkg(8) so well I anticipated some problems might arise. Is there anything I can do other than wait for a maintainer to update the port? thanks for all your help, Cary -- cary@sdf.org SDF Public Access UNIX System - http://sdf.org From owner-freebsd-questions@FreeBSD.ORG Thu May 21 23:58:00 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE5A2A0 for ; Thu, 21 May 2015 23:58:00 +0000 (UTC) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 571F91A7C for ; Thu, 21 May 2015 23:58:00 +0000 (UTC) Received: by lbcmx3 with SMTP id mx3so1780330lbc.1 for ; Thu, 21 May 2015 16:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9QZjHUhQ2sxQO096bUfPgo73x43vrOpgs/GCwFF4QRY=; b=KSfJtbCM0FGx9rxiNI2BhUzryFk+TWXYI4cQjblzBmnizujTkI3U3TTRo9zwDJGX0F 25VUa/Bfss9KTXe/6G93PHx5mKocnBTB/m6pzH/zq3DuDkFx5Lcy6wYou/+TlY6s2/rU ijCt5iePLH66zWcsFWz/5utwodRyAvEODDybcqllC0U8RfsHIWCXaO1g1lrIjLRvQ0NS zmrcJA8XH+a9q8bDgp9VmW4eUcHAG3lMzhpBf6kLbCEqNPuY4eJFd6EHTsBY6M8TY9Qm OrXXx1vryCtM+llYIUmx2oj4elbM8d49CoidFGQNpYlU593FRZSVYxA8iWqLXuggVw6V LJ1A== MIME-Version: 1.0 X-Received: by 10.152.197.2 with SMTP id iq2mr4205812lac.103.1432252678446; Thu, 21 May 2015 16:57:58 -0700 (PDT) Received: by 10.112.252.163 with HTTP; Thu, 21 May 2015 16:57:58 -0700 (PDT) Date: Fri, 22 May 2015 05:27:58 +0530 Message-ID: Subject: compiling freeBSD with LTO From: ervd ervd To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 23:58:00 -0000 Hi I am doing a project in which I need to generate the whole program call graph and for that I need to compile the freeBSD kernel with the LTO option. Has anyone done this work previously? From owner-freebsd-questions@FreeBSD.ORG Fri May 22 00:19:34 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8EF02331 for ; Fri, 22 May 2015 00:19:34 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56FE51CA8 for ; Fri, 22 May 2015 00:19:34 +0000 (UTC) Received: by iepj10 with SMTP id j10so20494151iep.3 for ; Thu, 21 May 2015 17:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=yBJq6pT7BPskDhjZS2RY8G89LU5jON+tCCOxYP5e7ew=; b=nIGBW/4HwA49KnxZ/NskTeKCTJXcEJz4SQfRhq4L7udLCNw/8H2TJDwJk5grRGsLax rWIpx5oxuBwv+opQbIYCcnJAD6xl0XmGWzB/4h/om0Bo9FSMHelgF6Uqd2nC4TWpdqCZ j98rWrTqnhvDiV667v2V8KB/m6ZfgWM0gmhsVoxNEhpZvqbDULqfpa2cjlktobI2xGy+ KZkElsEzU/XLLrRPY1hVyZEeMLRN4L5UMJ/mGJjoXhjcstoWjEsLPye3FcBzQsjBWxU3 gWSGOTS8QSEWpfk2eixjPRG5yeOOP0AFRZxx6fU4jNCpDErBFFoR5fkN65eW1rgSlZwc wD1w== X-Received: by 10.42.213.136 with SMTP id gw8mr6272606icb.95.1432253973373; Thu, 21 May 2015 17:19:33 -0700 (PDT) Received: from localhost.localdomain ([50.243.6.59]) by mx.google.com with ESMTPSA id o9sm401026ioe.35.2015.05.21.17.19.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 17:19:32 -0700 (PDT) Message-ID: <555E760B.109@gmail.com> Date: Thu, 21 May 2015 18:19:23 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: compiling freeBSD with LTO References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 00:19:34 -0000 On 05/21/2015 05:57 PM, ervd ervd wrote: > Hi > I am doing a project in which I need to generate the whole program call > graph and for that I need to compile the freeBSD kernel with the LTO option. > Has anyone done this work previously? You will likely run into problems in programs which make calls via pointers to functions, which the kernel is full of. Many of these pointers are inside of data structures, each of which is initialized in some other function. Thus you will end up generating graph entries to unnamed functions. From owner-freebsd-questions@FreeBSD.ORG Fri May 22 07:22:00 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DFDFDC7D for ; Fri, 22 May 2015 07:22:00 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.227]) by mx1.freebsd.org (Postfix) with ESMTP id A75A218DA for ; Fri, 22 May 2015 07:22:00 +0000 (UTC) Received: from [67.49.10.59] ([67.49.10.59:31944] helo=bsdfull.Belkin) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 2C/7C-23248-CC8DE555; Fri, 22 May 2015 07:20:47 +0000 Message-ID: <555ED8BE.8010308@SDF.org> Date: Fri, 22 May 2015 00:20:30 -0700 From: Cary User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg(8) will not install new binaries References: <20150521223329.GA6673@SDF.ORG> In-Reply-To: <20150521223329.GA6673@SDF.ORG> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 07:22:01 -0000 Cary wrote: > Hello everyone, > > The build of webkit-gtk2-2.4.8_2 installed on my system segfaulted > frequently. I deinstalled it and a few other packages which > required it. > Not understanding the behavior of pkg(8) so well I anticipated > some problems might arise. > > Is there anything I can do other than wait for a maintainer to update > the port? > The package is installed now. To build it I used : pkg create -v -p pkg-plist -r work/stage -m work/.metadir/ -- cary@sdf.org SDF Public Access UNIX System - http://sdf.org ------------------------------ From owner-freebsd-questions@FreeBSD.ORG Fri May 22 09:32:11 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51261D9F for ; Fri, 22 May 2015 09:32:11 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 115DD195E for ; Fri, 22 May 2015 09:32:10 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id F07743CEAB; Fri, 22 May 2015 11:32:01 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4M9W1IQ006858; Fri, 22 May 2015 11:32:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 22 May 2015 11:32:00 +0200 From: Polytropon To: galtsev@kicp.uchicago.edu Cc: freebsd-questions Subject: Re: SLOG and SSDs: are "super" capacitors really needed? Message-Id: <20150522113200.9be131b8.freebsd@edvax.de> In-Reply-To: <48018.128.135.70.2.1432225912.squirrel@cosmo.uchicago.edu> References: <48018.128.135.70.2.1432225912.squirrel@cosmo.uchicago.edu> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 09:32:11 -0000 On Thu, 21 May 2015 11:31:52 -0500 (CDT), Valeri Galtsev wrote: > To re-phrase that (I'm just stealing somebody's else phrase...): all > devices (that have RAM cache) lie about "transaction complete". They > report it NOT when the transaction is safely dumped from volatile cache > into non-volatile storage, but just as soon as the device accepted all > data (most of which may be in volatile memory). This makes their specs > look good compared to competition. And which technically is bad. As I for > one would prefer "transaction complete" (or similar) only when all data > are already safely stored in non-volatile part of the storage device. But > the life is bad - there is no way of knowing it (as far as I know) ;-( This is correct. There are many layers involved which all will comsume some time to "do something" and then report back about the result, like starting from fflush() to the VFS layer, then through the "ada" disk driver, the interface controller, to the drive's internal firmware. (In fact, there are many more layers than those few!) Just because the firmware then says "Done writing!" it doesn't make you 100% certain that the data has actually arrived in the non-volatile memory of the disk (or SSD, for that matter), as this also takes time and may happen _after_ the firmware has reported success. Giving the drive "some time" is always a good idea. > PS Make use of UPSes! This will give you the required time in worst case, hopefully. Still a minimal chance for getting corrupted data... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri May 22 14:11:31 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DAAB7C7 for ; Fri, 22 May 2015 14:11:31 +0000 (UTC) Received: from nm23-vm1.bullet.mail.bf1.yahoo.com (nm23-vm1.bullet.mail.bf1.yahoo.com [98.139.213.141]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C6DD1A25 for ; Fri, 22 May 2015 14:11:31 +0000 (UTC) Received: from [98.139.215.142] by nm23.bullet.mail.bf1.yahoo.com with NNFMP; 22 May 2015 14:11:30 -0000 Received: from [98.139.212.236] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 22 May 2015 14:11:30 -0000 Received: from [127.0.0.1] by omp1045.mail.bf1.yahoo.com with NNFMP; 22 May 2015 14:11:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 33756.43718.bm@omp1045.mail.bf1.yahoo.com Received: (qmail 81688 invoked by uid 60001); 22 May 2015 14:11:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1432303889; bh=7QnwHE0uQmsDV1KmYuAkdAZ0eVZuwqkpq1kWzMsqDU8=; h=Message-ID:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=WhPkDux0BynJxDUFUtvN5DVwwY2sl/5A5WmvcCiqmI9GF//8RrM8b+NDFzTo+qyU4zZ4M4xCvNBygpNRE8qV/sDQlEeR/vsE73Ys6wKvfd2qQ/tiMaxDaptkQnY18QRwHGDvFvey45Nu8OhKHo366GXDk0Eg0OKASHn6/ggoVbA= X-YMail-OSG: cL3r7a4VM1lrgJVrSX0N9hESNr90hBxMXFKo9lFP9_2cONa 43oQUtX8X598.YGpP_.gcngxGdmgIBxk3kZvpiT0bTFowGDgvK2fpcc6m1ZD IB8KUvY4N49bZH2t9Txy0cW3HCd13tNjf6TUw_6CERiKueB353ytDgTyhfjg xAXzzJYNcU_aAjiIQJjOq5p6tBOEpy5KpEwTMMXySSlZzV6X1AajivoqW7tx Z6C9TH_pbsRS0j5ZdWwpTtLBMh52ZXl.e1eDuBEkbTUofNMHJF3mae4yEyfN jWZoLpqT9aPnIDeQoI2SUqnHjNXxSuiPjWemZ7X_eCMB2BOAisfxVQXaHux3 6LNwkRxvu2enMs1BxoKXS1S3ytMUJhG_SIj0qoR.XhRNjjkqW5MpVdTOWcMP QbWvr7sJlznfDQUAWFcBij3LXEtXUudLVCzIOhFgmORlCyi5ddT8dDE4pmUf lIDQ1hPW7l2H6KgMvNWPv7qBZ8KS13Ja_HdLwHj6Nu2Ze6xEQg.yVza7j25X ni.RW6TrGfARzm8FK_mVt_btwmA3FCdbPlruQxUILU1iDyUx_lmYvVwzj0AD 2Otbn_9A0Ls8Z Received: from [66.92.43.99] by web140902.mail.bf1.yahoo.com via HTTP; Fri, 22 May 2015 07:11:29 PDT X-Rocket-MIMEInfo: 002.001, UXVlc3Rpb24gZW1iZWRkZWQgd2l0aGluIHRoZSBmb2xsb3dpbmcgdGhyZWUgYnVpbGQgDQpmYWlsdXJlIGxvZ3M7IHNvcnJ5IGZvciB0aGUgd2VibWFpbCBjbGllbnQgd2hpY2ggZG9lcw0Kbm90IHNob3cgYWxsIHRoZSB0ZXN0IHdoZW4gZm9ybXVsYXRpbmcgaXQuLi4NCg0KU2NyaXB0IHN0YXJ0ZWQgb24gRnJpIE1heSAyMiAwNjozOTozNyAyMDE1DQpjb21tYW5kOiBtYWtlIGJ1aWxkDQo9PT0.ICBGb3VuZCBzYXZlZCBjb25maWd1cmF0aW9uIGZvciBwNS1Nb2R1bGUtU2lnbmF0dXJlLTAuNzkNCj09PT4gICABMAEBAQE- X-Mailer: YahooMailClassic/521 YahooMailWebService/0.8.203.740 Message-ID: <1432303889.63155.YahooMailBasic@web140902.mail.bf1.yahoo.com> Date: Fri, 22 May 2015 07:11:29 -0700 From: Jeffrey Bouquet Subject: Perl Errors (v10) perl5-5.20.2_4 To: freebsd-questions@freebsd.org Cc: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 14:11:31 -0000 Question embedded within the following three build failure logs; sorry for the webmail client which does not show all the test when formulating it... Script started on Fri May 22 06:39:37 2015 command: make build ===> Found saved configuration for p5-Module-Signature-0.79 ===> p5-Module-Signature-0.79 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by p5-Module-Signature-0.79 for building ===> Extracting for p5-Module-Signature-0.79 => SHA256 Checksum OK for Module-Signature-0.79.tar.gz. ===> Patching for p5-Module-Signature-0.79 ===> p5-Module-Signature-0.79 depends on package: p5-PAR-Dist>=0 - found ===> p5-Module-Signature-0.79 depends on executable: gpgv2 - found ===> p5-Module-Signature-0.79 depends on executable: gcc49 - found ===> p5-Module-Signature-0.79 depends on file: /usr/local/bin/as - found ===> p5-Module-Signature-0.79 depends on file: /usr/local/bin/perl5.20.2 - found ===> Configuring for p5-Module-Signature-0.79 Invalid version format (non-numeric data) at /usr/local/lib/perl5/5.20/vars.pm line 3. BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.20/vars.pm line 3. Compilation failed in require at /usr/local/lib/perl5/site_perl/inc/Module/Install.pm line 14. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/inc/Module/Install.pm line 14. Compilation failed in require at ./Makefile.PL line 2. BEGIN failed--compilation aborted at ./Makefile.PL line 2. *** Error code 255 Stop. make[1]: stopped in /usr/ports/security/p5-Module-Signature *** Error code 1 Stop. make: stopped in /usr/ports/security/p5-Module-Signature Script done on Fri May 22 06:39:38 2015 Script started on Fri May 22 06:40:08 2015 command: make build ===> License ART10 GPLv1 accepted by the user ===> p5-IO-AIO-4.32 depends on file: /usr/local/sbin/pkg - found => IO-AIO-4.32.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://cpan.metacpan.org/modules/by-module/IO/IO-AIO-4.32.tar.gz --2015-05-22 06:40:08-- http://cpan.metacpan.org/modules/by-module/IO/IO-AIO-4.32.tar.gz Resolving cpan.metacpan.org (cpan.metacpan.org)... 23.235.47.192, 199.27.79.192 Connecting to cpan.metacpan.org (cpan.metacpan.org)|23.235.47.192|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 150475 (147K) [application/x-gzip] Saving to: 'IO-AIO-4.32.tar.gz' IO-AIO-4.32.tar.gz 0%[ ] 0 --.-KB/s IO-AIO-4.32.tar.gz 20%[========> ] 29.70K 148KB/s IO-AIO-4.32.tar.gz 39%[=================> ] 57.98K 145KB/s IO-AIO-4.32.tar.gz 59%[===========================> ] 87.67K 144KB/s IO-AIO-4.32.tar.gz 79%[====================================> ] 117.37K 145KB/s IO-AIO-4.32.tar.gz 100%[==============================================>] 146.95K 146KB/s in 1.0s 2015-05-22 06:40:09 (146 KB/s) - 'IO-AIO-4.32.tar.gz' saved [150475/150475] ===> Fetching all distfiles required by p5-IO-AIO-4.32 for building ===> Extracting for p5-IO-AIO-4.32 => SHA256 Checksum OK for IO-AIO-4.32.tar.gz. ===> Patching for p5-IO-AIO-4.32 ===> p5-IO-AIO-4.32 depends on package: p5-common-sense>=0 - found ===> p5-IO-AIO-4.32 depends on executable: gcc49 - found ===> p5-IO-AIO-4.32 depends on file: /usr/local/bin/as - found ===> p5-IO-AIO-4.32 depends on file: /usr/local/bin/perl5.20.2 - found ===> Configuring for p5-IO-AIO-4.32 Invalid version format (non-numeric data) at ./Makefile.PL line 1. BEGIN failed--compilation aborted at ./Makefile.PL line 1. *** Error code 255 Stop. make: stopped in /usr/ports/devel/p5-IO-AIO Script done on Fri May 22 06:40:09 2015 Script started on Fri May 22 06:40:30 2015 command: make build ===> p5-Devel-Caller-2.06_1 depends on file: /usr/local/sbin/pkg - found => Devel-Caller-2.06.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/Devel-Caller-2.06.tar.gz --2015-05-22 06:40:30-- http://distcache.freebsd.org/ports-distfiles/Devel-Caller-2.06.tar.gz The same error (3x here) occurs running CLI or GUI perl apps... this has persisted for weeks and weeks. I've posted to the perl list and the ports list and no fix... Resolving distcache.freebsd.org (distcache.freebsd.org)... 149.20.53.28, 2001:4f8:3:ffe0:406a:0:16:1c Connecting to distcache.freebsd.org (distcache.freebsd.org)|149.20.53.28|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 6540 (6.4K) [application/octet-stream] Saving to: 'Devel-Caller-2.06.tar.gz' Devel-Caller-2.06.tar.gz 0%[ ] 0 --.-KB/s Devel-Caller-2.06.tar.gz 100%[==============================================>] 6.39K --.-KB/s in 0.04s 2015-05-22 06:40:31 (165 KB/s) - 'Devel-Caller-2.06.tar.gz' saved [6540/6540] ===> Fetching all distfiles required by p5-Devel-Caller-2.06_1 for building ===> Extracting for p5-Devel-Caller-2.06_1 => SHA256 Checksum OK for Devel-Caller-2.06.tar.gz. ===> Patching for p5-Devel-Caller-2.06_1 ===> p5-Devel-Caller-2.06_1 depends on package: p5-PadWalker>=0.08 - found ===> p5-Devel-Caller-2.06_1 depends on executable: gcc49 - found ===> p5-Devel-Caller-2.06_1 depends on file: /usr/local/bin/as - found ===> p5-Devel-Caller-2.06_1 depends on file: /usr/local/bin/perl5.20.2 - found ===> Configuring for p5-Devel-Caller-2.06_1 Invalid version format (non-numeric data) at /usr/local/lib/perl5/site_perl/ExtUtils/MakeMaker.pm line 6. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/ExtUtils/MakeMaker.pm line 6. Compilation failed in require at ./Makefile.PL line 4. BEGIN failed--compilation aborted at ./Makefile.PL line 4. *** Error code 255 Stop. make: stopped in /usr/ports/devel/p5-Devel-Caller Script done on Fri May 22 06:40:31 2015 From owner-freebsd-questions@FreeBSD.ORG Fri May 22 14:31:15 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 358ACC4A for ; Fri, 22 May 2015 14:31:15 +0000 (UTC) Received: from gproxy5-pub.mail.unifiedlayer.com (gproxy5-pub.mail.unifiedlayer.com [67.222.38.55]) by mx1.freebsd.org (Postfix) with SMTP id EA5981D4C for ; Fri, 22 May 2015 14:31:14 +0000 (UTC) Received: (qmail 6737 invoked by uid 0); 22 May 2015 14:24:34 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy5.mail.unifiedlayer.com with SMTP; 22 May 2015 14:24:34 -0000 Received: from just36.justhost.com ([173.254.28.36]) by cmgw3 with id X8HW1q0140mkzzh018HZbW; Fri, 22 May 2015 14:17:42 -0600 X-Authority-Analysis: v=2.1 cv=d9Vml3TE c=1 sm=1 tr=0 a=Me1JE3XrD4An6Uj/gqOXXg==:117 a=x4lAc6Zg415GnaXF3FxioA==:17 a=BY8XqHikAAAA:8 a=f5113yIGAAAA:8 a=CUpIxNs7s9EA:10 a=8nJEP1OIZ-IA:10 a=plIOPBIvAAAA:8 a=uE-92hwEZwEA:10 a=n_q9HgzzfqAA:10 a=h1PgugrvaO0A:10 a=6I5d2MoRAAAA:8 a=SAfRhbYys_5N_lMkcd4A:9 a=wPNLvfGTeEIA:10 a=fgf5PR_cwQYA:10 Received: from [24.140.227.81] (port=60367 helo=[192.168.123.171]) by just36.justhost.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.84) (envelope-from ) id 1Yvns7-0006i8-1E for freebsd-questions@FreeBSD.org; Fri, 22 May 2015 08:24:23 -0600 Message-ID: <555F3C13.7010306@jrscorp.com> Date: Fri, 22 May 2015 10:24:19 -0400 From: J2R2 P User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130611 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Subject: is the forum down? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {4097:just36.justhost.com:jrscorpc:jrscorp.com} {sentby:smtp auth 24.140.227.81 authed with j2r2@jrscorp.com} X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 14:31:15 -0000 Hi, Thanks for keeping up a great, open system. I have not been able to see any pages in the forum since yesterday whether I click a link from a search engine of navigating directly to the forum from within freebsd.org website. I am located in Toronto in case that it has anything to do. Alternatively, could you please point me to a resource that clearly explains how to allow the user to switch to a regular xterm console after starting xfce4 using startx; and how to return to the normal xterm after login out or exiting the xfce4 session. I seem to just get the monitor turned off no matter all the changes I have made to many config files during the last few days. Thanks Julian From owner-freebsd-questions@FreeBSD.ORG Fri May 22 14:42:59 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 73C46DFB for ; Fri, 22 May 2015 14:42:59 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DC2C71E76 for ; Fri, 22 May 2015 14:42:58 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t4MEge1M062979 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 22 May 2015 15:42:41 +0100 (BST) (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t4MEge1M062979 Authentication-Results: smtp.infracaninophile.co.uk/t4MEge1M062979; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <555F4060.1020007@freebsd.org> Date: Fri, 22 May 2015 15:42:40 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: is the forum down? References: <555F3C13.7010306@jrscorp.com> In-Reply-To: <555F3C13.7010306@jrscorp.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TxXHpeQxku0S9PXjMThw1hbgHIF0fWcgQ" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 14:42:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TxXHpeQxku0S9PXjMThw1hbgHIF0fWcgQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/22/15 15:24, J2R2 P wrote: > I have not been able to see any pages in the forum since yesterday > whether I click a link from a search engine of navigating directly to > the forum from within freebsd.org website. Seems fine to me. The did recently update the TLS configuration of the web server so it now scores 'A+' on the Qualys test site -- which however means that some older browsers or mobile platforms may have problems. Try again with a recent version of FireFox or Chrome. Cheers --TxXHpeQxku0S9PXjMThw1hbgHIF0fWcgQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVX0BgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTngvAP/3Ow2vEvOPup5V3BpgaBKEz9 5OPaAsIZqvfStoBZAJJ55G1pyAZahrqCu0a0tqwpYtUfCW8QSJRkUCSZ4F8k9dXo RMgcI5NiVfeGWkufrcnoYjFKzHFCkXfL8sFvKDcAt2XstfxFkdeQcgJsIo1PRWAK V/Ks4YBZU0LRSRTV+GBkWPGkKqB/OVuGdQYC6Yy1TlTj+d7sYitZhmh1wyvYcJY2 NCqBwxmCTPh+447w4zgsMjCRKWB1Eowm4A+NmyzaCRtdAasCWlEqm8ti5u8rCWGJ XbrByImn8AXezXZ9INEpHrsD9rtF9oUJg4hyoDMJYTXcM/EGgjFgnYfVQpe3uP4F +ZbeuGhGJueOnG7p9rYdDja0kLBBLksrWVPX4tPRBag5SAJ54Ig5c9XH158LhUhL HMeIkvLTmxKQ8SEF+jDFygD90NWhVo9hAtMb74OC51nIqn06b+vu9VMZ/hLScg4p zV7VR0I9JVztwy6gtRcBlAGkdIvXUXisNSjrCTMBX7w2zwVuS/ba67AK8TSu20Ht K48PDraso9/5+KhsImnX/PKTWPqoZ4MSui19BDKJ/x/webSbNzqyryu1NSiIWfyu sTe7X9+hMNRFeyC/BDMrJC32H4Dpnp8He/qRs3QCg6nYKaIBm+YIwy9dZX+22FuH ud6T64hdRgAVOYUji6Va =h189 -----END PGP SIGNATURE----- --TxXHpeQxku0S9PXjMThw1hbgHIF0fWcgQ-- From owner-freebsd-questions@FreeBSD.ORG Fri May 22 15:01:37 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8024A1A1 for ; Fri, 22 May 2015 15:01:37 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2916F2000 for ; Fri, 22 May 2015 15:01:37 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t4MF1RGn063433 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 22 May 2015 16:01:29 +0100 (BST) (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t4MF1RGn063433 Authentication-Results: smtp.infracaninophile.co.uk/t4MF1RGn063433; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <555F44C6.1000800@freebsd.org> Date: Fri, 22 May 2015 16:01:26 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: is the forum down? References: <555F3C13.7010306@jrscorp.com> In-Reply-To: <555F3C13.7010306@jrscorp.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rOhwab83Dq1BwiMUgf7H0VNgwJaeX7FAn" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 15:01:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rOhwab83Dq1BwiMUgf7H0VNgwJaeX7FAn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/22/15 15:24, J2R2 P wrote: > Alternatively, could you please point me to a resource that clearly > explains how to allow the user to switch to a regular xterm console > after starting xfce4 using startx; and how to return to the normal xter= m > after login out or exiting the xfce4 session. I seem to just get the > monitor turned off no matter all the changes I have made to many config= > files during the last few days. Uh... 'xterm' is an X client program that needs to have an X server to connect to -- ie. you have to startx before you can run xterm. Show us your /var/log/Xorg.0.log and we can tell you if that's what is biting you= =2E Do you mean returning to the system console after running X? That depends on your graphics hardware IIRC. For certain Intel chipsets, once you've switched to X windows, you can't get back to the system console without rebooting. If you really need to run X on such a setup, I'd recommend setting up slim (x11/slim) or a similar display manager and always working in the X environment. Or else avoid X completely. Cheers, Matthew --rOhwab83Dq1BwiMUgf7H0VNgwJaeX7FAn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVX0TGXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnUuYP/1/13lTSJJ2n9jDb+MqwusDT NrGvJ7+pZ9LH35MKk2Z1FoOrC9eihOKNI2csqBvO3c1+hMuGS8MZfWong+nmo+7+ PNfQFI1XKajI9q/w/9sjl3pvQyJr0jYTbIZeWvOuk46JErT41S/XnNgQHu1nx2DX yyN4C+xqKNNMdAadZNzi/RlFKcjNTDx5Ao/I/o79Xl3q4S3mVsS/Ynl4mfVMObFk iOGKHDgAg+oRnMc/uVfkk1D/pSGDSURmLutw5g2KEfl12ckocRTecg21sDUPHYmL p2YzZO+OFANxnvwYVAhWaRm1JH5j+EGsACt7uHoZxLA2zht3LFIR5yulDu/9/yPi WmNUsfjRid3h3r7n7pokNmq/a9m8x8cuIu/TYDXhbnbzrrdBioa1MZHZGBc2TceU /CB5pAbMMPLPHdvW6uQhWz+yL4pj0Mvv03M2eTOmDGOzLD2ce3CcpEpdUq9/o7ZO TxZ4gqkUOamaLK/XNLxFWzJFyfqDL8XC1UgDTFpwfrA1xrpfWwbSXQHtufDC6sBg Kamkqd7nSzRxEU4ndE54X7wqJOhtC7Pj5wWNRnUKcEwDa1Ni8Ce7xhlGrh4sA5C1 EdfirI6tcem0mYYecSK8cyVmUOMdfxhDtlAf5UP+L0Y1ud6bRiVciGfTGsdvwaVu qVALkpRbIkE/nseqVi4a =TFS7 -----END PGP SIGNATURE----- --rOhwab83Dq1BwiMUgf7H0VNgwJaeX7FAn-- From owner-freebsd-questions@FreeBSD.ORG Fri May 22 19:08:37 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D54EA5C for ; Fri, 22 May 2015 19:08:37 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D54151EEF for ; Fri, 22 May 2015 19:08:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 26D80254B0; Fri, 22 May 2015 21:08:28 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4MJ8ROC002117; Fri, 22 May 2015 21:08:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 22 May 2015 21:08:27 +0200 From: Polytropon To: J2R2 P Cc: freebsd-questions@freebsd.org Subject: Re: is the forum down? Message-Id: <20150522210827.f1cc9ed2.freebsd@edvax.de> In-Reply-To: <555F3C13.7010306@jrscorp.com> References: <555F3C13.7010306@jrscorp.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 19:08:37 -0000 On Fri, 22 May 2015 10:24:19 -0400, J2R2 P wrote: > Alternatively, could you please point me to a resource that clearly > explains how to allow the user to switch to a regular xterm console > after starting xfce4 using startx; and how to return to the normal xterm > after login out or exiting the xfce4 session. I seem to just get the > monitor turned off no matter all the changes I have made to many config > files during the last few days. You're probably seeing the "new" system console effect: The driver for the text mode console (virtual terminals, _not_ xterms) nas been changed and doesn't work with all graphics cards. So if you press Ctrl+Alt+PF1 (for example), the monitor will switch off due to "no signal". You can maybe switch back with Alt+PF9 (this is the virtual terminal that runs X). This should help: https://wiki.freebsd.org/Newcons See the relationship between the "vt" and "sc" devicd drivers and how to switch. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri May 22 23:52:43 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4AA8227; Fri, 22 May 2015 23:52:43 +0000 (UTC) Received: from mail.monochrome.org (e.febed1.client.atlantech.net [209.190.254.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail", Issuer "mail" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A29141FB3; Fri, 22 May 2015 23:52:42 +0000 (UTC) Received: from [192.168.1.11] (tripel [192.168.1.11]) by mail.monochrome.org (8.14.9/8.14.9) with ESMTP id t4MNnfnL054109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 22 May 2015 19:49:41 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Fri, 22 May 2015 19:50:19 -0400 (EDT) From: Chris Hill To: Matthew Seaman cc: freebsd-questions@freebsd.org Subject: Re: is the forum down? In-Reply-To: <555F44C6.1000800@freebsd.org> Message-ID: References: <555F3C13.7010306@jrscorp.com> <555F44C6.1000800@freebsd.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 23:52:44 -0000 On Fri, 22 May 2015, Matthew Seaman wrote: > On 05/22/15 15:24, J2R2 P wrote: >> Alternatively, could you please point me to a resource that clearly >> explains how to allow the user to switch to a regular xterm console >> after starting xfce4 using startx; and how to return to the normal xterm >> after login out or exiting the xfce4 session. I seem to just get the >> monitor turned off no matter all the changes I have made to many config >> files during the last few days. > > Uh... 'xterm' is an X client program that needs to have an X server to > connect to -- ie. you have to startx before you can run xterm. Show us > your /var/log/Xorg.0.log and we can tell you if that's what is biting you. > > Do you mean returning to the system console after running X? That > depends on your graphics hardware IIRC. For certain Intel chipsets, > once you've switched to X windows, you can't get back to the system > console without rebooting. If you really need to run X on such a setup, > I'd recommend setting up slim (x11/slim) or a similar display manager > and always working in the X environment. Or else avoid X completely. I had this problem (blank screen when exiting X) while I was setting up a new machine two months ago. The solution turned out to be to add kern.vty=vt ...to /boot/loader.conf, as described in the link Polytropon posted. This is on 10.1-RELEASE amd64. My graphics chipset is an Intel Q45 running on a Core2 Duo CPU. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Sat May 23 01:37:25 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E306A378 for ; Sat, 23 May 2015 01:37:25 +0000 (UTC) Received: from nm23-vm3.access.bullet.mail.gq1.yahoo.com (nm23-vm3.access.bullet.mail.gq1.yahoo.com [216.39.63.81]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B41F81990 for ; Sat, 23 May 2015 01:37:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432345038; bh=u+2icLj1OZTecSKbqCOjmYKJCWjYdq/11F9y1uJ0YRw=; h=From:To:Subject:Date:From:Subject; b=i1cQWwf84frh6GQ5t64/Mu3w6cAhk4tWvkkkWL0iorFOD9qE09eJC6bfL/WbsiFnvlgoj4M6oZwy/9PEDcV+20Hsxch1PEGwTnxaCTqTsjyg/vxwHoWilBRAuRQ/UROpfzQh7hC2XHCcIE7zfzYOJhIQGttpFTjkgdil9LFT6jwURylnyiE6enft/LkGcJ2rvJMq0pBFaIMtnvZNRaTUgsYdSxh6qhel3UhqB/5tUwFOMOEM4vK02ckiM/vuwwdRv+LnejxuzERyx07FQRCLwXC1EvTzXWWSORZfkbegZXYJjXxlnOmsg7V/zFFIWq/QSYwvaZAUOqv6qLAL/MN3Ag== Received: from [216.39.60.173] by nm23.access.bullet.mail.gq1.yahoo.com with NNFMP; 23 May 2015 01:37:18 -0000 Received: from [67.195.23.144] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 23 May 2015 01:37:18 -0000 Received: from [127.0.0.1] by smtp116.sbc.mail.gq1.yahoo.com with NNFMP; 23 May 2015 01:37:18 -0000 X-Yahoo-Newman-Id: 137985.16163.bm@smtp116.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Z2RIpB0VM1kyHzonQTLjqP.O4XsGIghR6KZzBXCXhns2pLB pIiKKTYOsywOqsnaRstCWrcic_Q3hexX7t.WCTRKsJjkL9H..Zkr6ie7QWh0 _HSzMlM9AY1XQhIGL3XiJcunbXkFbT5e.A4trGkik0iiadgDMa5a32NaVdIG l8PHm1qehkvrQytuz5bv4fQhLGXT90p84ubgcKdpkKfqbS0HjQS8du0EsoEu TkQCekvURtelMlGMv3eR6V6S0Kh0fCvI95Q6FLO0LGFSAZ.C..WoqsyI5Mua loOsPaOGN3JDE_PQlncoE9eUopNmxcq60WXbO0bzxeCIIBRyRwv86j6DrKpM JeVIx2FP8ZYanaPjwgYay5BXTXGncI3pOrAkUL1vjUPSjAcM4cVPXk3tFhLV frU4jatfuWiuizhC6Haj1xZSNmdOBDq1e7KTWQYl8WXJxnROrXuHqDCz.yI9 MbB7zxUGL.Rt3u.bjCDvLkyLaCHKrLeMscmJZg0hm72JIOCF7NI4kNhvH4fM WJ9vsQQfpboM_gULWJXVA8vcVXlIKAJ7Gj9IBZIz6yxQcHSz7 X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Message-Id: <4CD867E3-5084-4B57-B364-6D07ABA8231D@prodigy.net> From: Jeffry Killen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: ftp timeouts? Date: Fri, 22 May 2015 18:37:17 -0700 X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 01:37:26 -0000 Hi; I have a set up using an installation or FreeBSD 10.1 as a web development server. I use another machine on local network to connect to it via ftp. But I notice the ftp connection from the client is dropped after a certain amount of inactivity. If I open a file and spend too much time editing the file before saving back to the server, the connection is delayed for some 30 seconds before the save process is executed. It also seems to be using SFTP because when I first make the connection my ftp client (gui Fetch on Mac OSX 10.6x) asks me to enter the password even though it is already in the shortcut record. What configuration file would this be dependent on. And what value(s)? Note: I do have ftp called by inetd. Thanks for time and attention JK From owner-freebsd-questions@FreeBSD.ORG Sat May 23 09:14:48 2015 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3BA6531 for ; Sat, 23 May 2015 09:14:47 +0000 (UTC) Received: from smtp207.alice.it (smtp207.alice.it [82.57.200.103]) by mx1.freebsd.org (Postfix) with ESMTP id 8934716E0 for ; Sat, 23 May 2015 09:14:46 +0000 (UTC) Received: from soth.ventu (82.52.27.173) by smtp207.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 547D8BAA1E112F55 for questions@freebsd.org; Sat, 23 May 2015 11:08:42 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.15.1/8.14.9) with ESMTP id t4N98f8C080820 for ; Sat, 23 May 2015 11:08:42 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <55604399.2070404@netfence.it> Date: Sat, 23 May 2015 11:08:41 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: questions@freebsd.org Subject: Troubles with sendmail Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 09:14:48 -0000 Hello. Not sure if this is the right place to ask (maybe ports@? Sendmail's support? Cyrus IMAP mailing lists?). I'm experiencing a strange problem with an MX server (9.3 with sendmail+tls+sasl2+ldap-8.15.1_2) which uses the cyrusv2 mailer to store mail on another server (9.3 with cyrus-imapd23-2.3.18_10). This is what I think is the relevant part of sendmail's MC config file: > define(`CYRUS_MAILER_FLAGS',`A5@w') > define(`CYRUSV2_MAILER_FLAGS',`A5@w') > define(`confLOCAL_MAILER', `cyrusv2') > define(`CYRUSV2_MAILER_ARGS',`TCP [mail.localdomain] lmtp') > MAILER(`cyrusv2') From time to time some message is delayed and a warning bounce is generated with the following: > Deferred: Name server: mail.localdomain.: host name lookup failure Since this is utter nonsense (mail.localdomain is always resolvable), I investigated a bit and found out that what the above really means is that one of the recipient's domain (not *my* recipient) cannot be resolved. An example might clarify: _ a message is sent to user@mydomain.it and to user@otherdomain.it; _ of course it arrives at my server (MX for mydomain.it); _ but ir won't reach its mailbox (user@mydomain.it) since otherdomain.it does not resolve properly. I understand I'm sort of asking for a shot in the dark, but believe me, I've been hitting my head on this for a long time and I cannot understand what the cause may be. Of course I tried many searches on the web, but perhaps I cannot guess the correct terms to search for. Any idea? bye & Thanks av. From owner-freebsd-questions@FreeBSD.ORG Sat May 23 11:11:52 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 578C7938 for ; Sat, 23 May 2015 11:11:52 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AAF01268 for ; Sat, 23 May 2015 11:11:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E4C9624CFF; Sat, 23 May 2015 13:11:47 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4NBBk4o001959; Sat, 23 May 2015 13:11:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 23 May 2015 13:11:46 +0200 From: Polytropon To: Jeffry Killen Cc: freebsd-questions@freebsd.org Subject: Re: ftp timeouts? Message-Id: <20150523131146.dab061dc.freebsd@edvax.de> In-Reply-To: <4CD867E3-5084-4B57-B364-6D07ABA8231D@prodigy.net> References: <4CD867E3-5084-4B57-B364-6D07ABA8231D@prodigy.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 11:11:52 -0000 On Fri, 22 May 2015 18:37:17 -0700, Jeffry Killen wrote: > I use another machine on local network to connect to it via ftp. But I > notice the ftp > connection from the client is dropped after a certain amount of > inactivity. If I open a file > and spend too much time editing the file before saving back to the > server, the connection > is delayed for some 30 seconds before the save process is executed. > > It also seems to be using SFTP because when I first make the > connection my > ftp client (gui Fetch on Mac OSX 10.6x) asks me to enter the password > even > though it is already in the shortcut record. > > What configuration file would this be dependent on. And what value(s)? > > Note: I do have ftp called by inetd. You can do the following: First, read "man ftpd", then use the -t flag in /etc/ined.conf, for example: ftp stream tcp nowait root /usr/libexec/ftpd ftpd -ll -t 60 ^^^^^^^^^^^^^^ This will provide a timeout of 60 minutes. Clients _might_ request a lower timeout value, so check your client's settings as well. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat May 23 17:08:28 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24A11BA5 for ; Sat, 23 May 2015 17:08:28 +0000 (UTC) Received: from mail-qg0-x22a.google.com (mail-qg0-x22a.google.com [IPv6:2607:f8b0:400d:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D51A91655 for ; Sat, 23 May 2015 17:08:27 +0000 (UTC) Received: by qget53 with SMTP id t53so25861144qge.3 for ; Sat, 23 May 2015 10:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=zW/LGenekEf/skn0W4Tx4nM80vM4BNa5P2AQypKrNcg=; b=gfMy3PQXOkhQYdPpeb6PQGUK9Tz99Sq5Gd78N/1x4pgiLB9AGWVZIhBicDRkidUp1V PGvlOo1NQwu2Wi6IHin4+BcuacM8nk2JZPz7YWx/Olb3efosoeFHPlbIGs4KOgXYyoqM fHoxGxobxNUEhOjJwFXFIUeEJrqjegcavwE6RX+sFcQLXxMtATOccwDZ6eLMJy+k+EKP DqtXQAOA1YxlS3NBHeShCJAoHy1enJoOjH99xTQAazc7TW2aAd0h5ePcdx+YSK7ZM8ix kKGcJGq82Dmy0dyBTKAMll9NGprYfRcCadY1oq2IjiFLxf5wo3mFdlcWabqqAqoharbe K44Q== X-Received: by 10.140.233.214 with SMTP id e205mr19229662qhc.68.1432400906964; Sat, 23 May 2015 10:08:26 -0700 (PDT) Received: from localhost.localdomain ([209.181.150.218]) by mx.google.com with ESMTPSA id 195sm3536700qhr.13.2015.05.23.10.08.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 May 2015 10:08:26 -0700 (PDT) Message-ID: <5560B408.4000601@gmail.com> Date: Sat, 23 May 2015 11:08:24 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: FreeBSD Users Subject: Replacing cpu Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 17:08:28 -0000 I have an HP laptop with AMD Turion II X2 mobile processor RM-72 / 2.1 GHz CPU, Socket S1. It is now causing blue screens in windows, and freezes fbsd, pclinuxos, knoppix, fedora live. I have run the x86 mem test for more than a day, and found no problems with the 4GB ram (2GB X 2). I am wondering why the memtest does not freeze???? could it be that only one core is causing the problem? At any rate I wanted to replace it with AMD Turion II Ultra M660 TMM660DBO23GQ 2.7GHz Dual-Core Mobile CPU Processor, Socket S1 Will I be running into any problems? Would the heat be an issue? These are the full technical data on it: General information Type CPU / Microprocessor Market segment Mobile Family AMD Turion II Ultra Dual-Core Mobile Model number *M660 * CPU part number * *TMM660DBO23GQ* is an OEM/tray microprocessor Stepping code NAEIC AE *Frequency* *2700 MHz* *Bus speed* *One 1800 MHz 16-bit HyperTransport link (3.6 GT/s)* *Clock multiplier* *13.5* Package 638-pin lidless organic micro Pin Grid Array (UOL638) *Socket* *Socket S1 (S1g3)* Architecture / Microarchitecture Microarchitecture K10 Platform Tigris Processor core Caspian Core stepping DA-C2 CPUID 100F62 Manufacturing process 0.045 micron silicon-on-insulator (SOI) technology *Data width* *64 bit* *The number of cores* *2* *The number of threads* *2* Floating Point Unit Integrated, 128-bit wide Level 1 cache size 2 x 64 KB 2-way set associative instruction caches 2 x 64 KB 2-way set associative data caches *Level 2 cache size* *2 x 1 MB 16-way set associative caches* *Level 3 cache size* *None* Multiprocessing Uniprocessor Features * MMX instructions * Extensions to MMX * 3DNow! technology * Extensions to 3DNow! * SSE / Streaming SIMD Extensions * SSE2 / Streaming SIMD Extensions 2 * SSE3 / Streaming SIMD Extensions 3 * SSE4a * AMD64 / AMD 64-bit technology * EVP / Enhanced Virus Protection * AMD-V / AMD Virtualization technology Low power features PowerNow! 2.0 Integrated peripherals / components Integrated graphics None Memory controller The number of controllers: 1 Memory channels: 2 Channel width (bits): 64 Supported memory: DDR2-800 Maximum memory bandwidth (GB/s): 12.8 Other peripherals HyperTransport technology 3.0 Electrical / Thermal parameters *Thermal Design Power* *35 Watt* From owner-freebsd-questions@FreeBSD.ORG Sat May 23 17:47:33 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21C3F1BB for ; Sat, 23 May 2015 17:47:33 +0000 (UTC) Received: from nm10-vm6.access.bullet.mail.gq1.yahoo.com (nm10-vm6.access.bullet.mail.gq1.yahoo.com [216.39.63.158]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3F591A67 for ; Sat, 23 May 2015 17:47:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432403244; bh=WJotT72wmmY7ivWeLd4mINiphyto+7u1wnIo84Pui/c=; h=Cc:From:To:In-Reply-To:Subject:Date:References:From:Subject; b=tre6A0T+fL7CO5HwxwFzEfsoVxSp7+TsJT6tHMQmo1WPQwbaP/oKAA0/QJS7CrLT/ZsgmeI3z8TAxdDr2DrRnBqwmwalkL0srEIWWBWFlkhmB9bKgf/Wb80Ju3jn/YwVtj5XdPkTFZbpuuy8vwaCjbzV02x7ssSWJxsl2UTKKQ9HMf+JMG0rZw60tXUPcr03kWqsPouBVMFR6b0BPdKOko0cG55fCUS9fO4WfDhRJk51oXRX4PMBPd09DVRdL/MGX1OVgeDgGojdciDdyFrDttfEVRserCIqd3Z0J8CoIwWKbpLHxqwrvBM6ZRSjMcKRLDHPeb7pae0iKIYR85U9Hw== Received: from [216.39.60.175] by nm10.access.bullet.mail.gq1.yahoo.com with NNFMP; 23 May 2015 17:47:24 -0000 Received: from [67.195.23.147] by tm11.access.bullet.mail.gq1.yahoo.com with NNFMP; 23 May 2015 17:47:24 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.gq1.yahoo.com with NNFMP; 23 May 2015 17:47:24 -0000 X-Yahoo-Newman-Id: 958772.49706.bm@smtp119.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: SF_YQ38VM1n8ri2oKvP4_Z9DVGwkTagYSTo1T4wbrvzoQV2 8kW1poo0mCilgiqmbbMjmYsYEPRxWXDhvhe24RE2AQYEjm4Bhe2ITzVlfjfl 532vCRQQlomheYn6TRVXP_I042xYwtUlj6dZU_JDT6swqF7DQP8md5LErEE1 c0uqs7kXIlJcGHpKii0ZQSlr54NTLlIMnsdbk.b.sgeRhTE4ogZ_17z20opO MlWIasxnfZS2OHEOLVBx2T6LWDICloWXx_OIMft7PMYymJiTqTDeqxUyYwqW y77S62rx1_Emz7BCo0tMNLuFb2nEbCH5EjNkGfOf_asW67gEIOowAGeklKKv CCs.L_bVE1vwn6fsgcD9TnJ0h3s5XOa0bjtsKoCQUXo6MMafXRYEGncGtQdP GzaTqollJw2PmQorXwl2FVZNi7kYwlDJJ1eXrXpqAGAQLLjOXjtxvNt8ka1_ VwtWKmcQGodJvvQCBglFRcZplBmqdVPPmxf73peSF0.ZHlczgIUtFBiWa9_p 1wSgPB151.XcdlvLqC.HPzNSNHTFF6PjIQB5AipMe0FHTJug. X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Cc: freebsd-questions@freebsd.org Message-Id: <30B08A68-1183-474F-B221-49400D1D9BEE@prodigy.net> From: Jeffry Killen To: Polytropon In-Reply-To: <20150523131146.dab061dc.freebsd@edvax.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: ftp timeouts? Date: Sat, 23 May 2015 10:47:23 -0700 References: <4CD867E3-5084-4B57-B364-6D07ABA8231D@prodigy.net> <20150523131146.dab061dc.freebsd@edvax.de> X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 17:47:33 -0000 On May 23, 2015, at 4:11 AM, Polytropon wrote: > On Fri, 22 May 2015 18:37:17 -0700, Jeffry Killen wrote: >> I use another machine on local network to connect to it via ftp. >> But I >> notice the ftp >> connection from the client is dropped after a certain amount of >> inactivity. If I open a file >> and spend too much time editing the file before saving back to the >> server, the connection >> is delayed for some 30 seconds before the save process is executed. >> >> It also seems to be using SFTP because when I first make the >> connection my >> ftp client (gui Fetch on Mac OSX 10.6x) asks me to enter the password >> even >> though it is already in the shortcut record. >> >> What configuration file would this be dependent on. And what >> value(s)? >> >> Note: I do have ftp called by inetd. > > You can do the following: First, read "man ftpd", then use > the -t flag in /etc/ined.conf, for example: > > ftp stream tcp nowait root /usr/libexec/ftpd ftpd -ll -t 60 > ^^^^^^^^^^^^^^ > > This will provide a timeout of 60 minutes. Clients _might_ > request a lower timeout value, so check your client's settings > as well. > Thank you JK From owner-freebsd-questions@FreeBSD.ORG Sat May 23 19:13:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEEE4DF6 for ; Sat, 23 May 2015 19:13:55 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.153]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CAC2612B7 for ; Sat, 23 May 2015 19:13:55 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to:user-agent; b=G27RuKDSbtIVNTNDPvszlab+3Q8BAzUyjoS5DGqdLry2ubJ4gZSPBjR6gYrmeG5dsuiPqHq5R/CP tYMoQ9NRrURhW0I4ynRYhq6xQ/CdrIP9oAO9BP2H2BKKW3OWVOSU Received: from WorkBox.Home (75-168-121-128.mpls.qwest.net [75.168.121.128]) by mx.zohomail.com with SMTPS id 1432408428508196.93045140682057; Sat, 23 May 2015 12:13:48 -0700 (PDT) Date: Sat, 23 May 2015 14:13:45 -0500 From: Brandon Wandersee To: freebsd-questions@freebsd.org Subject: Re: Replacing cpu Message-ID: <20150523191345.GA7122@WorkBox.Home> References: <5560B408.4000601@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5560B408.4000601@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 19:13:56 -0000 Generally speaking, *even if* the sockets match, and *even if* the board firmware can handle it, and *even if* there aren't any foreseeable software problems, if installing a particular CPU model wasn't an option for the laptop when the laptop was first purchased, using that CPU would be a very bad idea. So without knowing the laptop model (or how you concluded this was certainly a CPU problem), I wouldn't guess at an answer myself. -- ============================================ :: Brandon Wandersee :: :: brandon.wandersee@zoho.com :: ============================================ "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams ============================================ From owner-freebsd-questions@FreeBSD.ORG Sat May 23 20:15:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6973A4A for ; Sat, 23 May 2015 20:15:53 +0000 (UTC) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D1D118DA for ; Sat, 23 May 2015 20:15:53 +0000 (UTC) Received: by lbbzk7 with SMTP id zk7so31792958lbb.0 for ; Sat, 23 May 2015 13:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QZXWpgB/ejMaXkWRp2VEbGGzwPDeO8Q0jlH6wVqSMys=; b=B6EaVA0Egy1lSevoMAzISRS8M36prbApVcqzM9Z7V9WnHd7JVeewU9q+GnT3k2H+KT cwZ9n0VV0UfTW31kri4N31OVqtijz5LGGsboR1tzTH9KoRMBEWJsCtqdTARKUzuGH7xr ioQm67Ron/K1ablpeQE88WfgYCl0KRJKB6H6y7hP2QHuwD4FV2PFOcmtlHVZuJeqQb2V ydulQBAsWsRplRNXQHY0su9/xU0Aw7xOrDlsgpgOQpwmOWbi9LU+ROwr9Wat1NngSlA9 GxnIvVmOVMtmjnX8ImaVud7cSZgPN0zf/98DX2gUBv7gTaP/Wt3XifkNbZMaoMgK7k95 lKvg== MIME-Version: 1.0 X-Received: by 10.112.83.135 with SMTP id q7mr11793986lby.13.1432412151329; Sat, 23 May 2015 13:15:51 -0700 (PDT) Received: by 10.152.144.201 with HTTP; Sat, 23 May 2015 13:15:51 -0700 (PDT) In-Reply-To: <20150523191345.GA7122@WorkBox.Home> References: <5560B408.4000601@gmail.com> <20150523191345.GA7122@WorkBox.Home> Date: Sat, 23 May 2015 20:15:51 +0000 Message-ID: Subject: Re: Replacing cpu From: B J To: Brandon Wandersee Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 20:15:53 -0000 On 5/23/15, Brandon Wandersee wrote: > Generally speaking, *even if* the sockets match, and *even if* the board > firmware can handle it, and *even if* there aren't any foreseeable software > problems, if installing a particular CPU model wasn't an option for the > laptop > when the laptop was first purchased, using that CPU would be a very bad > idea. So > without knowing the laptop model (or how you concluded this was certainly a > CPU > problem), I wouldn't guess at an answer myself. Over the years, I've taken apart a number of computers, including laptops. Those that I couldn't fix or get running again were disassembled and now reside in my junk boxes. On the whole, there isn't much that can be repaired on laptops. They're not designed to be and, even if they could be fixed, they're not worth the effort. They're miserable to take apart and equally so to re-assemble. In this situation, I'd recommend obtaining a replacement machine. There are a lot of refurbished machines in good condition, aside from the expected wear and tear, available from reputable dealers, often at good prices. The best thing is to take what can be immediately salvaged from the original unit (i. e., the hard drive, the RAM cards, and, possibly, the external power supply) and put it all to good use in the newer one. I'd hang onto the original laptop as it might be possible to get it running again, but I wouldn't bet on it. If not, there may be parts on it which could be used elsewhere. Otherwise, it'll get a trip to the recycling depot. B. M. Jatzeck From owner-freebsd-questions@FreeBSD.ORG Sat May 23 21:39:06 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7E978AE for ; Sat, 23 May 2015 21:39:06 +0000 (UTC) Received: from know-smtprelay-omc-7.server.virginmedia.net (know-smtprelay-omc-7.server.virginmedia.net [80.0.253.71]) by mx1.freebsd.org (Postfix) with ESMTP id 51EDC10C5 for ; Sat, 23 May 2015 21:39:05 +0000 (UTC) Received: from localhost.localdomain ([81.106.150.188]) by know-smtprelay-7-imp with bizsmtp id XZdv1q00L4481jl01ZdvZ0; Sat, 23 May 2015 22:37:55 +0100 X-Originating-IP: [81.106.150.188] X-Spam: 0 X-Authority: v=2.1 cv=JuUM15MC c=1 sm=1 tr=0 a=DGj713NdaxKrsjjgQne7PA==:117 a=DGj713NdaxKrsjjgQne7PA==:17 a=J0QyKEt1u0cA:10 a=IkcTkHD0fZMA:10 a=NLZqzBF-AAAA:8 a=h1PgugrvaO0A:10 a=hb8eiC_dZrjDKqt6VAYA:9 a=QEXdDO2ut3YA:10 Received: by localhost.localdomain (Postfix, from userid 500) id 4F6AA8887A; Sat, 23 May 2015 22:37:55 +0100 (BST) Date: Sat, 23 May 2015 22:37:55 +0100 From: Ken Moffat To: jd1008 Cc: FreeBSD Users Subject: Re: Replacing cpu Message-ID: <20150523213755.GB9728@milliways> References: <5560B408.4000601@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett Content-Transfer-Encoding: 8bit In-Reply-To: <5560B408.4000601@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 21:39:06 -0000 On Sat, May 23, 2015 at 11:08:24AM -0600, jd1008 wrote: > > I am wondering why the memtest does not freeze???? > could it be that only one core is causing the problem? > If you use current memtest86+ (notthe original memtest86), there is an option to use all cores (F2, I think) but you need to be quick to take advantage of that or the message about it will disappear from the screen. It is off by default because on many machines (including all of those on which I tried it) the box will lock up hard after not very many minutes in one of the tests (around test number 7, if my memory serves). While it runs you will see a |/-\ sequence spinning on each CPU, instead of just on the first. It might also be that memtest does not exercise whatever part of the machine is failing. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m.