From owner-freebsd-questions@FreeBSD.ORG Sun Mar 22 00:48:41 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 19E721FC for ; Sun, 22 Mar 2015 00:48:41 +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 A9E41159 for ; Sun, 22 Mar 2015 00:48:39 +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 t2M0lUFk028028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 21 Mar 2015 20:47:30 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Sat, 21 Mar 2015 20:48:16 -0400 (EDT) From: Chris Hill To: FreeBSD Questions List Subject: Re: Install amd64 over existing i386 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-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2015 00:48:41 -0000 Many thanks to all who replied. I ended up pulling the trigger on the amd64 install, and it went fine. My backups were a couple of days out of date - this was not a planned upgrade! - but I didn't lose anything vitally important. Thanks again. On Sun, 15 Mar 2015, Chris Hill wrote: > Hi list, > > I bought a new machine the other day, and accidentally installed the i386 > version of FreeBSD on it even though it has a 64-bit processor. It works > fine, but I think I'd rather have the "right" version. So, two questions: > > 1. Is it even worth worrying about at this point? > > 2. Can I just install amd64 without destroying existing filesystems and > files? I realize I'll have to reinstall my ports, but that's OK. > > Thanks. > > More info below. Yes, the CMOS clock was set incorrectly when I did the > install. > $ uname -a > FreeBSD tripel.monochrome.org 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: > Tue Nov 11 22:51:51 UTC 2014 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 > > Relevant part of dmesg: > CPU: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz (3158.81-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0x1067a Family = 0x6 Model = 0x17 Stepping > = 10 > Features=0xbfebfbff > Features2=0x408e3fd > AMD Features=0x20100000 > AMD Features2=0x1 > TSC: P-state invariant, performance statistics > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging ] > _______________________________________________ > 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" > -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Sun Mar 22 23:32: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 4B16E869; Sun, 22 Mar 2015 23:32:46 +0000 (UTC) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (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 EFAA9858; Sun, 22 Mar 2015 23:32:45 +0000 (UTC) Received: from laptop2.herveybayaustralia.com.au (laptop2.herveybayaustralia.com.au [192.168.0.185]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 33FD761F9D; Mon, 23 Mar 2015 09:32:33 +1000 (EST) Message-ID: <550F510F.70201@herveybayaustralia.com.au> Date: Mon, 23 Mar 2015 09:32:31 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, mat@FreeBSD.org Subject: [SOLVED] Re: Baikal caldav and documentroot References: <550A2673.7070704@herveybayaustralia.com.au> In-Reply-To: <550A2673.7070704@herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2015 23:32:46 -0000 On 03/19/15 11:29, Da Rock wrote: > Just a quick one: is anyone using Baikal for caldav? Is there a reason > it _must_ be documentroot? > > I haven't been successful in finding out the why - no docs either. Bit > of a pain in the butt with my current setup, but if I _must_ then I > guess I'll have to figure out how to adjust. Well I figured it out, and I thought I'd let those interested ( :) ) know what the solution is to this one. There are practically no docs to this webapp, so I thought I'd check out the rewrite rules in apache (of which I haven't had anything to do with as yet) to see if that might make it work for me. There is a rewrite rule already referencing .well-known/caldav|carddav, and looking at this I decided to run a search to see what might be happening. Apparently this an rfc expectation for easy implementation by clients - although I have yet to find a client that does use it! So, while it is best practice for this to be documentroot - namely this particular rfc requirement, the rewrite rule is supposed to take care of this. An adjustment to this will allow the sysadmin to allocate baikal to a subfolder. This will allow access to baikal, but it still won't allow it to be used as a caldav - yet. To get this working fully, you need to go into system settings in baikal admin and change the variables for the _web path_ only. Keep in mind this is for the port install only, it may be different for a manual install. To summarise, this is what you need to do to make baikal work as a subfolder of another vhost (not necessarily documentroot): 1. Adjust the rewrite rule in your apache setup to reflect the you want your caldav in: RewriteEngine On RewriteRule /.well-known/carddav /card.php [R,L] RewriteRule /.well-known/caldav /cal.php [R,L] 2. Navigate to the baikal admin page and go to system settings and adjust the top 2 variables that relate to the absolute web path _only_. Do not touch the server path settings! PROJECT_BASEURI . "/cal.php/" PROJECT_BASEURI . "/card.php/" 3. Test! Mat, perhaps this will be a good note in the port install message as well, as its not up to the port maintainer to take care of documentation of an application itself. Either that or maybe a readme somewhere in either share/ or the baikal/ directory. A note that this is at the sysadmins own risk might be in order too :) Having said that, it would be good if all projects did at least some basic documentation for the apps created! HTH From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 00:04:45 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 37FA44C1 for ; Mon, 23 Mar 2015 00:04:45 +0000 (UTC) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "neonpark.inter-sonic.com", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE2B3BA4 for ; Mon, 23 Mar 2015 00:04:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <550F5709.2010902@intersonic.se> Date: Mon, 23 Mar 2015 00:58:01 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: gptzfsboot problem - anyone awake Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 00:04:45 -0000 FBSD 10-STABLE and a Proliant P410 controller Rebuilt world and kernel last night, rebooted tonight: gptzfsboot: error 1 lba 32 gptzfsboot: error 1 lba 1 gptzfsboot: No ZFS pools located, can't boot As the boot problem with this controller was known when we installed it we have two logical drives and boots from the second to get around it. The box has been upgraded several times during the last four months with out a problem. I tried to boot from a memstick with latest 10-STABLE (r280048) > load /boot/kernel/kernel > load /boot/kernel/opensolaris.ko > load /boot/kernel/zfs.ko > set vfs.root.mountfrom="pool-name" > boot But that produced a panic panic:mountroot: unable to (re-)mount root Ideas anyone? I'm out of them just now... Thanks! From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 01:01:45 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 B199AB93 for ; Mon, 23 Mar 2015 01:01:45 +0000 (UTC) Received: from mtaout29.012.net.il (mtaout29.012.net.il [80.179.55.185]) by mx1.freebsd.org (Postfix) with ESMTP id F285AA1 for ; Mon, 23 Mar 2015 01:01:44 +0000 (UTC) Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NLN003003GHM500@mtaout29.012.net.il> for freebsd-questions@freebsd.org; Mon, 23 Mar 2015 02:58:30 +0200 (IST) Received: from 87.68.244.32.adsl.012.net.il ([87.68.244.32]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPSA id <0NLN00O7R41HTF50@mtaout29.012.net.il> for freebsd-questions@freebsd.org; Mon, 23 Mar 2015 02:58:30 +0200 (IST) Date: Mon, 23 Mar 2015 03:01:46 +0200 From: Rotem Hecht Subject: Music composer for film, games and Tv commercials X-012-Sender: thetamusic@012.net.il To: freebsd-questions Reply-to: "contact@rotemmusic.com" Message-id: <0NLN00O7S41HTF50@mtaout29.012.net.il> Organization: Rotem Hecht MIME-version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 01:01:45 -0000 Hello=20 =20 I hope you well =20 I am Rotem Hecht. I work as a professional music composer and sound d= esigner, I'm based in Israel and in Los Angeles, California and working with production companies all over the world. I compose original music for movies, TV commercials, video games, even= ts, corporate films and I am open to other media scenarios. My portfolio includes projects performed for Microsoft, Hershey's, Kre= -O, Hasbro, Mercedes, Audi, Nickelodeon, Hop! TV Channel and more =20 I=E2=80=99m capable of delivering high quality products at decent rate= s and in short period of time. I would like to offer you my services. Please check my portfolio on my= website www.rotemmusic.com =20 Thank You for your time. =20 Best Regards , =20 Rotem Hecht Mob:+972-528-227726 rotemhecht@gmail.com Skype: rhecht1282=20 =20 Unsubscribe From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 02:38: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 3CF08A67 for ; Mon, 23 Mar 2015 02:38:41 +0000 (UTC) Received: from nm14-vm0.bullet.mail.bf1.yahoo.com (nm14-vm0.bullet.mail.bf1.yahoo.com [98.139.213.164]) (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 D9C1FA95 for ; Mon, 23 Mar 2015 02:38:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1427078312; bh=fP66qOdZySY9OqQgtPwIdnAeVNX6fYLBFhxxOIIIAZk=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=KaJovFDffh/Fahv/KxUzWu/kT3wQLCSzH5qk0+WR3nksQ4eo4eaP6LbFMrJk6/EWLK2tAgcpEXpF2xWXB5TeDQyWBdIie9vpt4fig1gqPkfp1pPHNM9FHs9g+E87WqsXHxsCNrYaedKluMnVZ0y47t+PFka369F6xJpymocOJjO/lQZ13Uv7eX5yQ+yNoQfZKRDcPVt6Ad0L3uc2MyPsYdAlCgN1dZ27i4hMepTamMl8+ccUdPNux1qXMHymfkbfPQ6pBqYupykSK3xm1UykTKYw++JLB/X3PBmbwWxYGmkk5G6T9zjFtab3veYvFHoCiE1z+cnsqE/dWqwJklfAUg== Received: from [66.196.81.172] by nm14.bullet.mail.bf1.yahoo.com with NNFMP; 23 Mar 2015 02:38:32 -0000 Received: from [68.142.230.69] by tm18.bullet.mail.bf1.yahoo.com with NNFMP; 23 Mar 2015 02:38:32 -0000 Received: from [127.0.0.1] by smtp226.mail.bf1.yahoo.com with NNFMP; 23 Mar 2015 02:38:32 -0000 X-Yahoo-Newman-Id: 930034.18810.bm@smtp226.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: l.65nRYVM1lGHzPEdfI8WencDF4Yl1A.lsyKFW8kg97iFbf bHMZxFpAgKkKaOLWJ.c43vDrb.ylSQ_dqyqrQm_7d.20WfUMdio02YE9nE7O XPVGGfsPFEwSchGpJsudmrYyOEqGzuRzuQ4QSsdzg2A44lDDItXIZzwv4vkJ 1pA4gO6mMG8N0M9ZV4jmwCdgJuUUe9hBOmrMj9mpI4ANFVNKB.LwEy_jd8Ur Hb4.rvZIJIqd2iQYSF_Mk8AOjDwhDtYn8h.A2IpzKgbCmYzW76.l9wTAsyFd fJk5DVY60T177OpgPncK3xtYM0XB.EV.4kUt8.iNNcpQL0t1CuAUPO33_pjx 16NlfHacV_luPS0gYwkIZSNBjEfIJYpr.3lt6PE2z9_Wm1J9w4g_12a3BjsM JRbWmGm1xfOKjrRgqGg9vkUG32GJglvDsKcM3P0dOh7dSx8xNAdKhThQ2Am_ 0WUnaVJ8DQd.nudK5klC0dPjo5pHto28MfW6pNr99SMp.3WwmIuLvAecz9WP DLxmNyftNv4UZrj.IEgMaD4kFGC5wqt0Thg-- X-Yahoo-SMTP: h3Xqg6.swBC0yI913RMMwp94grO_cg-- Message-ID: <550F7CA8.6030604@yahoo.com> Date: Sun, 22 Mar 2015 22:38:32 -0400 From: Paul Pathiakis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: gptzfsboot problem - anyone awake References: <550F5709.2010902@intersonic.se> In-Reply-To: <550F5709.2010902@intersonic.se> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 02:38:41 -0000 Bad memory stick image. Try re-downloading the image and try again. (I had the same problem in the past. Occasionally, it's also a bad USB stick.) P. On 03/22/2015 19:58, Per olof Ljungmark wrote: > FBSD 10-STABLE and a Proliant P410 controller > Rebuilt world and kernel last night, rebooted tonight: > > gptzfsboot: error 1 lba 32 > gptzfsboot: error 1 lba 1 > gptzfsboot: No ZFS pools located, can't boot > > As the boot problem with this controller was known when we installed it > we have two logical drives and boots from the second to get around it. > > The box has been upgraded several times during the last four months with > out a problem. > > > I tried to boot from a memstick with latest 10-STABLE (r280048) > >> load /boot/kernel/kernel >> load /boot/kernel/opensolaris.ko >> load /boot/kernel/zfs.ko >> set vfs.root.mountfrom="pool-name" >> boot > But that produced a panic > > panic:mountroot: unable to (re-)mount root > > Ideas anyone? I'm out of them just now... > > Thanks! > _______________________________________________ > 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 Mon Mar 23 02:39:01 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 A63CCAF8 for ; Mon, 23 Mar 2015 02:39:01 +0000 (UTC) Received: from smtp546-45.vip.sina.com.cn (r3-67.sinamail.sina.com.cn [202.108.3.67]) by mx1.freebsd.org (Postfix) with SMTP id 1DC36AAA for ; Mon, 23 Mar 2015 02:39:00 +0000 (UTC) Received: from unknown( HELO agent01.agent.vmail.yz.sinanode.com)([172.16.53.127]) by vip.sina.com with SMTP 23 Mar 2015 10:38:52 +0800 (CST) X-Sender: jzsf+==znjlzwjzzc1xdwvzdglvbnnaznjlzwjzzc5vcmc===@vip.sina.com X-SMAIL-MID: 1853947691341 Received: by agent01.agent.vmail.yz.sinanode.com (Postfix, from userid 99) id 2650646008D; Mon, 23 Mar 2015 10:38:52 +0800 (CST) Auther: VipMail_1.0 (REM) From: To: Subject: =?utf-8?B?6Ieq5Yqo5Zue5aSN77yaUmU6IGdwdHpmc2Jvb3QgcHJvYmxlbSAtIGFueW9uZSBhd2FrZQ==?= Sender: jzsf+==ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc===@vip.sina.com MIME_version: 1.0 Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: base64 Message-Id: <20150323023852.2650646008D@agent01.agent.vmail.yz.sinanode.com> Date: Mon, 23 Mar 2015 10:38:52 +0800 (CST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 02:39:01 -0000 5bey5pS25Yiw5oKo55qE5p2l5L+h77yBDQogICAgICAgICDosKLosKLvvIENCiAgICAgICAgICAg ICDojYblt57nm5vlj5E= From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 07:39: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 AA11068A for ; Mon, 23 Mar 2015 07:39:59 +0000 (UTC) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "neonpark.inter-sonic.com", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6CCF3C61 for ; Mon, 23 Mar 2015 07:39:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <550FC348.3030009@intersonic.se> Date: Mon, 23 Mar 2015 08:39:52 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Paul Pathiakis , freebsd-questions@freebsd.org Subject: Re: gptzfsboot problem - anyone awake References: <550F5709.2010902@intersonic.se> <550F7CA8.6030604@yahoo.com> In-Reply-To: <550F7CA8.6030604@yahoo.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 07:39:59 -0000 No, already tried. On 2015-03-23 03:38, Paul Pathiakis via freebsd-questions wrote: > Bad memory stick image. > > Try re-downloading the image and try again. (I had the same problem in > the past. Occasionally, it's also a bad USB stick.) > > P. > On 03/22/2015 19:58, Per olof Ljungmark wrote: >> FBSD 10-STABLE and a Proliant P410 controller >> Rebuilt world and kernel last night, rebooted tonight: >> >> gptzfsboot: error 1 lba 32 >> gptzfsboot: error 1 lba 1 >> gptzfsboot: No ZFS pools located, can't boot >> >> As the boot problem with this controller was known when we installed it >> we have two logical drives and boots from the second to get around it. >> >> The box has been upgraded several times during the last four months with >> out a problem. >> >> >> I tried to boot from a memstick with latest 10-STABLE (r280048) >> >>> load /boot/kernel/kernel >>> load /boot/kernel/opensolaris.ko >>> load /boot/kernel/zfs.ko >>> set vfs.root.mountfrom="pool-name" >>> boot >> But that produced a panic >> >> panic:mountroot: unable to (re-)mount root >> >> Ideas anyone? I'm out of them just now... >> >> Thanks! >> _______________________________________________ >> 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" -- Intersonic AB Registered in Solna, Sweden SE556539368201 Member of the Bright Group From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 09: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 F0F4D2ED for ; Mon, 23 Mar 2015 09:59:16 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE955E72 for ; Mon, 23 Mar 2015 09:59:16 +0000 (UTC) Received: from mail.gmx.com ([72.251.118.206]) by mail.gmx.com (mrgmxus001) with ESMTPA (Nemesis) id 0LjISX-1Z4vhh1Fkt-00dVva for ; Mon, 23 Mar 2015 10:59:15 +0100 Date: Mon, 23 Mar 2015 02:00:06 -0800 From: "CK" To: Cc: Subject: Re: thrashing + lost files Reply-To: "CK" X-Mailer: UMail v1.0 Message-ID: <0MIdDC-1YXnHX2oga-002Ftp@mail.gmx.com> X-Provags-ID: V03:K0:CA3Eat3vn+695EAfLHqADvmWzL0GfH2dh/hSeVu1wJjNZivJdjf PH5OzwNsmr+qihFgZs4SsMKFBFjETLjnSDvjhWLjk/lyvo9hk6EeKe3RyjTJzhf36c+htu4 TlgIs7KW+ErP0/19OEbdIP88cP9eCE2VwAMG0C9dz3jYuRbP5+LeXlRoYYsfoXgx0hADWQd oLDOVsSVmDJ30GfVNH2Dw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 09:59:17 -0000 > On March 18, 2015 3:56:25 PM HKT, CK wrote: > > > >PROBLEM: > >------- > >This is a very bad problem I have experienced several times of late, and > >come to think of it, has only happened since using GELI encryption > >(recently upgraded from 4.11 to 9.2). The easy answer may be "turn off > >encryption", but this is not an easy problem to test and verify: > > > >The result is the loss of many critical files from a hard drive, as if a > >"rm *" was done in the home directory. This occurs after the thrashing > >when Xwindow is accidently shutdown with Opera open with many javascript > >page tabs, eg, being a memory pig - consuming 1/2 of RAM (256M), which > >after dumping core, writes a large amount of data (crashlog) even after > >Xwindow is down: > > > >pid 1118 (opera), uid 1001: exited on signal 11 (core dumped) > > To my untrained eye, it looks like the encryption clashing > with the memory usage of Opera. Encryption requires > a significant amount of memory, right? so if it doesn't > have enough it might fail in the middle of encrypting. > > This is just my guess, the logic behind it may be completely flawed. There is 512MB of RAM, and 1G of swap - which is hardly ever used. And it is important to remember that one other user reported the same problem. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 09:59: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 9D0A5372 for ; Mon, 23 Mar 2015 09:59:35 +0000 (UTC) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.95]) (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 5B73FE7B for ; Mon, 23 Mar 2015 09:59:34 +0000 (UTC) Received: from [78.35.139.198] (helo=fabiankeil.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1YZyyL-0001hD-Ay for freebsd-questions@freebsd.org; Mon, 23 Mar 2015 10:48:37 +0100 Date: Mon, 23 Mar 2015 10:48:39 +0100 From: Fabian Keil To: freebsd-questions@freebsd.org Subject: Re: gptzfsboot problem - anyone awake Message-ID: <018062e6.13dd2c75@fabiankeil.de> In-Reply-To: <550F5709.2010902@intersonic.se> References: <550F5709.2010902@intersonic.se> Reply-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/DPsDVQP7i.B51mQeoXMdM3K"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 09:59:35 -0000 --Sig_/DPsDVQP7i.B51mQeoXMdM3K Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Per olof Ljungmark wrote: > FBSD 10-STABLE and a Proliant P410 controller > Rebuilt world and kernel last night, rebooted tonight: >=20 > gptzfsboot: error 1 lba 32 > gptzfsboot: error 1 lba 1 > gptzfsboot: No ZFS pools located, can't boot >=20 > As the boot problem with this controller was known when we installed it > we have two logical drives and boots from the second to get around it. >=20 > The box has been upgraded several times during the last four months with > out a problem. Has the gptzfsboot been updated as well or could it have gotten corrupted? =20 > I tried to boot from a memstick with latest 10-STABLE (r280048) >=20 > > load /boot/kernel/kernel > > load /boot/kernel/opensolaris.ko > > load /boot/kernel/zfs.ko > > set vfs.root.mountfrom=3D"pool-name" > > boot >=20 > But that produced a panic >=20 > panic:mountroot: unable to (re-)mount root >=20 > Ideas anyone? I'm out of them just now... To boot from a ZFS root, the vfs.root.mountfrom value should start with "zfs:". Fabian --Sig_/DPsDVQP7i.B51mQeoXMdM3K Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlUP4XUACgkQBYqIVf93VJ2d8wCgtQ4EUnou0uiHMfcX6pDngdS5 cg4An0GSfaRIvzz8wfJ2bsipVXWxYClj =Mzr7 -----END PGP SIGNATURE----- --Sig_/DPsDVQP7i.B51mQeoXMdM3K-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 09:59: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 D21443F9 for ; Mon, 23 Mar 2015 09:59:51 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92D21E86 for ; Mon, 23 Mar 2015 09:59:51 +0000 (UTC) Received: from mail.gmx.com ([72.251.118.206]) by mail.gmx.com (mrgmxus001) with ESMTPA (Nemesis) id 0MGSQA-1YnAPW1z5E-00DDBJ for ; Mon, 23 Mar 2015 10:59:50 +0100 Date: Mon, 23 Mar 2015 02:00:33 -0800 From: "CK" To: Cc: Subject: Re: thrashing + lost files Reply-To: "CK" X-Mailer: UMail v1.0 Message-ID: <0Lx87b-1ZbIFT2r97-016gJU@mail.gmx.com> X-Provags-ID: V03:K0:Sl59H2P7nlGpIungXgkZqg3+PGdf2F8dtBM9bFnXQjduNKUhh4o eCRLOMpl/D2OtLljslxgMGhQl2yskvPzH5G2o9z7sen0VRSoQhevsVCHMQCQ3hbXH/TmUVj hBZLYyjIswZBU7H1sVf4EJRyAEdXRFma/eC1v42AuyfJqKcYpPYc8VKzRiavtTMCECRdd9C mHJB9cqcQQjhPoBEkuoNQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 09:59:51 -0000 > >> On Tue, 17 Mar 2015 23:56:25 -0800, "CK" said: > > > I would like any thoughts or ideas on how to prevent the following > > problem, because it is making my computer completely unusable, wasting > > many efforts. The result is the loss of many critical files from a hard > > drive, as if a "rm *" was done in the home directory. > > I don't know your hardware or RAM situation, but are you in a position > to use ZFS? I've been using it for quite some time on a Solaris > box, and there's nothing better -- it handles bit-rot, compression, > and encryption automatically if you like. The only downside: it's a > memory hog, and you MUST use ECC or risk data corruption because ZFS > completely trusts what's in RAM. No, I studied ZFS, but it had hardware requirements that were beyond my hardware. I can't remember exactly, but it required a very large amount of RAM or a very large terabyte-type hard drive. I only use 40GB, and my spare is 60GB. > > One bad problem under these conditions, where one has to umount a > > partition, is that umount-ing is not possible if the partition is in > > use, and it seems there is no easy way to find every process using a > > partition ... is there? > > I seem to recall that "fuser -uc /filesystem" would do this, but I > don't have a BSD box available to check. Oh great, thanks! I'll study this more ... fuser -- list IDs of all processes that have one or more files open The fuser utility appeared in FreeBSD 9.0. The command: ``fuser -fu .'' writes to standard output the process IDs of processes that are using the current directory and writes to stderr an indication of how those processes are using the directory and user names associated with the processes that are using this directory. > > A lost+found directory is never created, which ignorantly, I think > > should be created and filled with the "unreferenced inodes" (if that is > > the correct term). > > I know fsck is supposed to make that directory for you, but I still > create one whenever I make a new filesystem. You never know. > > I've had to grub around in a lost+found directory wondering where all > that crap is supposed to go; it's easier if you have something like a > file-DB around to help. There's a script attached that's a shorter > version of one I use to track my own files. It tracks most of the > metadata (including inodes) for a directory tree. > > > Yes, I do [backups] of course, with a USB SDRAM device. But I still > > lose days of work, because I can't back up every minute. > > Do you have another unused (preferably external) drive that could be > added/attached to your system? I got in the habit of backing stuff > up hourly, and it's surprisingly easy to do from cron: Yes, the small 4GB hard drive with checksum errors and the 32GB SDRAM device are used for backups. The checksum errors found with smartctl on the 4GB are not relevant. The drive had problems when it was first purchased, but is reliable in it's use as just a backup drive. > * create a timestamp file (/usr/local/etc/TIME), > * create a year-month-day directory elsewhere, and > * run something like > cd / > find ./your/home -newer /usr/local/etc/TIME -print | > pax -rwd -pe /other/drive/YYYY/MMDD/HHMM > * touch /usr/local/etc/TIME > > You wouldn't believe how often that's gotten me out of jams. Copying > to a local drive is fine as long as you rsync it someplace safe; what > matters is that it's around somewhere to get you out of trouble. Great, thanks! I never got into 'pax/cpio'. When I had time and energy for trying to learn all things, it was something I skipped. I always used a script that txz's a directory, and the reverse as needed. Yes, this thought occurred to me a few days ago, and I am very glad you provided a working example of how to use it well. It is a good idea, but it still would be preferential for this situation never to occur. > > I have used FreeBSD for 20 years, since 1995, and I never had problems > > like this before. > > I've used FreeBSD as a Samba server for several hundred customers in > a production environment where uptime was measured in years, and I would > be surprised (and disgusted) if something like this ever happened to me. > > Good luck! Yes, I agree. The only time I reboot is when the power blinks due to a neighbors welding machine :) I stress my machine quite a bit with encrypting 100s of MB, 600MB MP3 resampling, many filesystem scripts, and other things. And as I said previously, I was doing 'ls' and watching files this last time, and after X was down, top/ps showed Opera was the only thing running, as it was thrashing my hard drive, I could see the files vanishing from my home directory, even Opera's own core. So, the problem definitely occurs at that time. Not this last time (I still have not rebooted since), but the first time this happened, and an additional reason I turned off journaling/soft-updates, is that when I did replace some files from backup copies, after rebooting, fscking/mounting, the files would vanish again! hmmm. I forgot to say that before. I should test this now, and reboot, and see if any files vanish now that journaling/soft-updates are turned off. It seemed to have fixed the problem the 1st time, where I had to reboot several times to make sure files would stop vanishing on me. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 11:13:03 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 B4782233 for ; Mon, 23 Mar 2015 11:13:03 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD8D964 for ; Mon, 23 Mar 2015 11:13:03 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 8B8A1185665F for ; Mon, 23 Mar 2015 04:13:04 -0700 (PDT) Date: Mon, 23 Mar 2015 04:12:49 -0700 (MST) From: BBlister To: freebsd-questions@freebsd.org Message-ID: <1427109169038-5999345.post@n5.nabble.com> Subject: Un-kill-able process hang at umtxpi state with 100% cpu 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 11:13:03 -0000 Hi, On the FreeBSD multiuser student server that I administer, a student managed to created a program that takes 100% of one of the CPU cores with a process that cannot be killed. uname -a FreeBSD zafora 9.2-STABLE FreeBSD 9.2-STABLE #1 r264312: Thu Apr 10 15:25:33 EEST 2014 root@zafora.icte.uowm.gr:/usr/obj/usr/src/sys/zafora amd64 The process (uses 100% cpu): [root@zafora ~]# ps axuwww | grep 35662 ictest00301 35662 100.0 0.0 12684 1912 19- R Tue04PM 8343:29.56 ./c1 and [root@zafora ~]# procstat 35662 PID PPID PGID SID TSID THR LOGIN WCHAN EMUL COMM 35662 35661 35661 20142 20142 4 ictest00301 umtxpi FreeBSD ELF64 c1 which has the parent process of a make command (I killed the parent process, but nothing happened) ictest00301 35661 0.0 0.0 6280 320 19- I Tue04PM 0:00.01 make execute The specific process is blocked (cannot be killed) with the following wait channels: [root@zafora ~]# procstat -t 35662 PID TID COMM TDNAME CPU PRI STATE WCHAN 35662 100196 c1 - 2 122 sleep umtxpi 35662 100997 c1 - 0 122 sleep umtxpi 35662 101757 c1 - 1 122 sleep uwait 35662 102464 c1 - 2 120 run umtxpi Even though I have implemented resource limits in /etc/login.conf as to the CPU usage, they cannot be enforced, and the server's logfile is filled with messages: Mar 23 13:06:46 zafora kernel: pid 35662 (c1), uid 1100301, was killed: exceeded maximum CPU limit but nothing happens. Of course kill -9 35662 has not effect. How I can kill this process? If one student managed to make an un-killable process that gets 100% of the CPU with restrictions cannot be enforced, then soon the server will be filled with such processes, and a reboot will be mandatory. Thank you. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Un-kill-able-process-hang-at-umtxpi-state-with-100-cpu-tp5999345.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 12:25: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 DB1D9952 for ; Mon, 23 Mar 2015 12:25:15 +0000 (UTC) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "neonpark.inter-sonic.com", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D38F12D for ; Mon, 23 Mar 2015 12:25:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <55100628.7090106@intersonic.se> Date: Mon, 23 Mar 2015 13:25:12 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: gptzfsboot problem - anyone awake References: <550F5709.2010902@intersonic.se> <018062e6.13dd2c75@fabiankeil.de> In-Reply-To: <018062e6.13dd2c75@fabiankeil.de> 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 12:25:15 -0000 On 2015-03-23 10:48, Fabian Keil wrote: > Per olof Ljungmark wrote: > >> FBSD 10-STABLE and a Proliant P410 controller >> Rebuilt world and kernel last night, rebooted tonight: >> >> gptzfsboot: error 1 lba 32 >> gptzfsboot: error 1 lba 1 >> gptzfsboot: No ZFS pools located, can't boot >> >> As the boot problem with this controller was known when we installed it >> we have two logical drives and boots from the second to get around it. >> >> The box has been upgraded several times during the last four months with >> out a problem. > > Has the gptzfsboot been updated as well or could it have gotten corrupted? > >> I tried to boot from a memstick with latest 10-STABLE (r280048) >> >>> load /boot/kernel/kernel >>> load /boot/kernel/opensolaris.ko >>> load /boot/kernel/zfs.ko >>> set vfs.root.mountfrom="pool-name" >>> boot >> >> But that produced a panic >> >> panic:mountroot: unable to (re-)mount root >> >> Ideas anyone? I'm out of them just now... > > To boot from a ZFS root, the vfs.root.mountfrom value should > start with "zfs:". Yes, that was it, boot from livecd ok now. What remains to be solved though is why we can not boot the box any longer from the array, nothing was changed except the update on the 21st, before that the OS was updated on the 1st of March without a hinch. //per From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 16:50: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 B619A606 for ; Mon, 23 Mar 2015 16:50:04 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8404C966 for ; Mon, 23 Mar 2015 16:50:04 +0000 (UTC) Received: from mail.gmx.com ([72.251.118.206]) by mail.gmx.com (mrgmxus002) with ESMTPA (Nemesis) id 0MLuWo-1YZ0gY0DG8-007jNC for ; Mon, 23 Mar 2015 17:50:03 +0100 Date: Mon, 23 Mar 2015 08:50:55 -0800 From: "CK" To: Cc: Subject: thrashing + lost files Reply-To: "CK" X-Mailer: UMail v1.0 Message-ID: <0LiT2w-1ZCjDj1FUK-00ceL4@mail.gmx.com> X-Provags-ID: V03:K0:O858sKgAQ6I+JeMuqe7jo5096rjBJHerB1nSbWx8mdYWKgdfBka foAdv49Ct8vryxIKpuek8hT0PtM1Mx/WbmSLXXRy6asRTq9NNkKQv3nEz/9cOhoQHwfsAjr 64Iw8q4ZTIOmSZI6mQR5P1t6WsUo7Xm+4PpNU9R61/GysOrX7fpDKTC6pzJGCPGqhQWqjfB AuauRbhXUzFhb00KfK+OQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 16:50:04 -0000 Unsure if this is related, but this just happened: mtpaint (a graphics program) was opened with a PNG image via an xterm, so there is no prompt in the xterm. It was not put into the background. Then accidently, a double click of the mouse pasted some text from the Opera web-browser in that xterm - making a ^G beep - some text off a FedEx webpage. That locked up the xterm, so it was then killed with the vtwm menu kill signal. The xterm and mtpaint programs were killed. Immediately after, it was discovered that image that was opened with mtpaint was deleted from the drive. This all happened within 2 minutes; the image was not deleted by any other means. Maybe it is an additional clue. No stresses were on the machine, pretty much just idling. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 17:06: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 BBC109A0 for ; Mon, 23 Mar 2015 17:06:43 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72CDBBD3 for ; Mon, 23 Mar 2015 17:06:43 +0000 (UTC) Received: from mail.gmx.com ([72.251.118.206]) by mail.gmx.com (mrgmxus002) with ESMTPA (Nemesis) id 0LztTR-1ZWEq10unr-014yHL for ; Mon, 23 Mar 2015 18:06:42 +0100 Date: Mon, 23 Mar 2015 09:07:33 -0800 From: "CK" To: Cc: Subject: thrashing + lost files Reply-To: "CK" X-Mailer: UMail v1.0 Message-ID: <0Ln7sJ-1Z8cM316Ef-00hPpN@mail.gmx.com> X-Provags-ID: V03:K0:CwdRYoHN2/7pl6GOce+AaHkWooV0g+QN+DNjSXbARIHsNLTnzVR TptaHM1yG5iMNyyTAA9LPabRTsK+vfuOLWdUwhjR3EgcXK+blhDhzCHCjnSoEtQGyn7SH2F ieO89DL+B6t2AZFDoon2qG1Z2evSZjTrUr/Z+2O+I+RfxhmcS7AXw2wwEhFiCh1hbq6vtEY 6MumjOoNQfQONzRlVDBuw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 17:06:43 -0000 In addition the previous post about 'xterm/mtpaint' in this thread, the PNG image was the only file in the directory, so it is not possible to determine if it was the only file removed, or if all files in the directory were removed. In any case, no files should have been removed. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 17:08: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 38952A58 for ; Mon, 23 Mar 2015 17:08:58 +0000 (UTC) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::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 C6061BF4 for ; Mon, 23 Mar 2015 17:08:57 +0000 (UTC) Received: by wixw10 with SMTP id w10so38467319wix.0 for ; Mon, 23 Mar 2015 10:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=pYPuwnSgQo2rDmcTi0cnaFUVH30YOdKqm0sAGwtSnJA=; b=z7t6744GgrBeS37qiFkt8ew/5FCDnSjT8AkFAairYRGEczA0heJlDI2qjhgvYF3lBL 4aG90qWvnCiK65u0GzyRnDUI/MV+Zc4P3cQhDjWbsUIPEl5jKOePNkU7/JV6zJpy3vd+ 0DFCLYynSeq8qnlTAEyYsqQCLfGmsxu++5H16vvG703HGKtoDKe2yVrscG7SMeYTQ3P+ DCUzrFh5csB8A9ZT4UrC2dpIhHUOj0rKVsMHsp+bQkZabzKGiVHHRli82tITet6M09Kz 6q68itt9iITScyF4vP6jjkVTpptLFuMm48woII3ZdWAuFUbFIdjpkaMsEx0p0vlxJxQ3 ViKw== X-Received: by 10.194.60.104 with SMTP id g8mr271129wjr.96.1427130536029; Mon, 23 Mar 2015 10:08:56 -0700 (PDT) Received: from gumby.homeunix.com (5ec3c5e1.skybroadband.com. [94.195.197.225]) by mx.google.com with ESMTPSA id cj9sm2213305wjc.42.2015.03.23.10.08.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2015 10:08:55 -0700 (PDT) Date: Mon, 23 Mar 2015 17:08:53 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: thrashing + lost files Message-ID: <20150323170853.7fd28fd9@gumby.homeunix.com> In-Reply-To: <0MegOs-1Ys1A80zUW-00OIFG@mail.gmx.com> References: <0MegOs-1Ys1A80zUW-00OIFG@mail.gmx.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.0) 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 17:08:58 -0000 On Tue, 17 Mar 2015 23:56:25 -0800 CK wrote: > Features=0x381b83f > VIA Padlock Features=0xdd real memory = 536870912 (512 MB) >... > GEOM_ELI: Device ada0p3.eli created. > GEOM_ELI: Encryption: 3DES-CBC 192 > GEOM_ELI: Crypto: software > GEOM_ELI: Device ada0p6.eli created. > GEOM_ELI: Encryption: AES-XTS 128 > GEOM_ELI: Crypto: software Try setting padlock_load="YES" to loader.conf, and switching your swap partition to use AES-CBC 128. I'm not certain, but I think that's supported in hardware for VIA padlock - you'll see "Crypto: hardware" if it works. Contrary to what someone else said geli doesn't use much memory itself. However it can strain a low-end processor, which is why low-power processors have had acceleration for a long time. Not having much memory exacerbates the problem by reducing disk caching. > 5 Reallocated_Sector_Ct 0x0033 199 199 140 Pre-fail Always - 1 > ... > SMART Self-test log structure revision number 1 > No self-tests have been logged. [To run self-tests, use: smartctl -t] IIWY I'd run "smartctl -t long" on the device, wait an hour or so for it to complete and run smartctl -a again. I'm not an expert on this, but some people advocate replacing drives with any relocated sectors. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 18:14: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 89C33FC for ; Mon, 23 Mar 2015 18:14:49 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id 728F4667 for ; Mon, 23 Mar 2015 18:14:48 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 861C31861B42 for ; Mon, 23 Mar 2015 11:14:50 -0700 (PDT) Date: Mon, 23 Mar 2015 11:14:34 -0700 (MST) From: BBlister To: freebsd-questions@freebsd.org Message-ID: <1427134474819-5999426.post@n5.nabble.com> In-Reply-To: <1427109169038-5999345.post@n5.nabble.com> References: <1427109169038-5999345.post@n5.nabble.com> Subject: Re: Un-kill-able process hang at umtxpi state with 100% cpu 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 18:14:49 -0000 Following an advice from a user of this list, I did a kill -STOP 35662 in order to minimize the CPU consumption and as soon as I hit enter the process disappeared (died). I had already killed its parent, but it was not possible to kill this process. By sending the STOP signal it was killed. Thanks again. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Un-kill-able-process-hang-at-umtxpi-state-with-100-cpu-tp5999345p5999426.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 18:20: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 800A4281 for ; Mon, 23 Mar 2015 18:20:14 +0000 (UTC) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d: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 328976B6 for ; Mon, 23 Mar 2015 18:20:14 +0000 (UTC) Received: by qgf74 with SMTP id 74so32009526qgf.2 for ; Mon, 23 Mar 2015 11:20:13 -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=t6qAui3ieva1aZb3yihLl751e/gmzCeQTVK70rvxb6c=; b=EFFdwGZOC1WjNxcCCvDB8xhoLC8eGfX/gY12HH5whMqnAbq9zvM4lPET2FGPavjWgE p3MVQHjY0/LpFITlygbZvtfckjN0OhEcciC+P2lhsgsK7bVC4qpmpkKOI/a+dd4mtT5p ZLCXUis2HOYZaH03tn/xhW1/7+432XoYbEjQVEuCUSL6Tvqn3rK2P8yxZwZ/Szjkq/GU FC/yEoxl7dc0Ad/9fuGQdHrTFk3o2CCEk0CG8J0glSY0ovzISQQsuIZkIhj3lcslJTbI 6vg7jdPAtOrzOzWrcmEsu3MsG4yXuIUjgjzNLz69Wd3f5Z9eTWzlwBhThXf8RohkM1Ky Ag/A== X-Received: by 10.55.55.8 with SMTP id e8mr1002530qka.9.1427134813008; Mon, 23 Mar 2015 11:20:13 -0700 (PDT) Received: from localhost.localdomain ([209.181.150.218]) by mx.google.com with ESMTPSA id f102sm1016713qki.1.2015.03.23.11.20.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2015 11:20:12 -0700 (PDT) Message-ID: <5510594B.6010602@gmail.com> Date: Mon, 23 Mar 2015 12:19:55 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Un-kill-able process hang at umtxpi state with 100% cpu References: <1427109169038-5999345.post@n5.nabble.com> <1427134474819-5999426.post@n5.nabble.com> In-Reply-To: <1427134474819-5999426.post@n5.nabble.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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 18:20:14 -0000 On 03/23/2015 12:14 PM, BBlister wrote: > Following an advice from a user of this list, > I did a > > kill -STOP 35662 > > in order to minimize the CPU consumption > > and as soon as I hit enter the process disappeared (died). I had already > killed its parent, but > it was not possible to kill this process. By sending the STOP signal it was > killed. > > Thanks again. > > > > -- > View this message in context: http://freebsd.1045724.n5.nabble.com/Un-kill-able-process-hang-at-umtxpi-state-with-100-cpu-tp5999345p5999426.html > Sent from the freebsd-questions mailing list archive at Nabble.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" > Do you know the process name? You might have a malware!!!! Beware!! From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 18:32: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 143DD984 for ; Mon, 23 Mar 2015 18:32:13 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id F065F8ED for ; Mon, 23 Mar 2015 18:32:12 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 16CAF1862152 for ; Mon, 23 Mar 2015 11:32:28 -0700 (PDT) Date: Mon, 23 Mar 2015 11:32:12 -0700 (MST) From: BBlister To: freebsd-questions@freebsd.org Message-ID: <1427135532406-5999436.post@n5.nabble.com> In-Reply-To: <5510594B.6010602@gmail.com> References: <1427109169038-5999345.post@n5.nabble.com> <1427134474819-5999426.post@n5.nabble.com> <5510594B.6010602@gmail.com> Subject: Re: Un-kill-able process hang at umtxpi state with 100% cpu 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 18:32:13 -0000 The process named c1 in the home directory of that student, had an accompanied c1.c file that actually is one that spawn many working pthreads and synchronizes them at the end. I executed by a normal user and nothing strange happened. So I assume that was a rare timing issue/race condition that triggered this error. I will have to upgrade of course to 9.3 in order to rule out old problems. So, the takeaway of this is that sometimes when kill -KILL does not work, kill -STOP may do the job :) -- View this message in context: http://freebsd.1045724.n5.nabble.com/Un-kill-able-process-hang-at-umtxpi-state-with-100-cpu-tp5999345p5999436.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 18:50: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 3722F1D0 for ; Mon, 23 Mar 2015 18:50:34 +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 CB254B3D for ; Mon, 23 Mar 2015 18:50:33 +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 t2NIoQKa072507 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 23 Mar 2015 18:50:26 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t2NIoQKa072507 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1427136627; bh=Cd4L7T+mJNn8AdoasuHotz7v+NfBtOcBKWECfwWFd2k=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2023=20Mar=202015=2018:50:19=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20Un-kill-able=20process=20hang=20a t=20umtxpi=20state=20with=20100%=20cpu|References:=20<142710916903 8-5999345.post@n5.nabble.com>=20<1427134474819-5999426.post@n5.nab ble.com>|In-Reply-To:=20<1427134474819-5999426.post@n5.nabble.com> ; b=Sfci4x2BbMJVqdCz6sZXGhURf7wbkXAzJYKbQkHaaMUQZm7cdFUKMUGvPyQ9m6moB 8W5kHGl8X8UueIfBa/hl2dtt/Ko5m96yb6U6NCN8l/hlCL0lZgaG1Rcoy7Xm9r/mQO ipWxq0JoCJU3yoNQ6Uuv0pzvzyRQYeTdlm9YaHkY= 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: <5510606B.2010400@infracaninophile.co.uk> Date: Mon, 23 Mar 2015 18:50:19 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Un-kill-able process hang at umtxpi state with 100% cpu References: <1427109169038-5999345.post@n5.nabble.com> <1427134474819-5999426.post@n5.nabble.com> In-Reply-To: <1427134474819-5999426.post@n5.nabble.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="67ujVgVBTrpNjNaf5AWmD1qK3xW6LeIwS" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 18:50:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --67ujVgVBTrpNjNaf5AWmD1qK3xW6LeIwS Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/03/23 18:14, BBlister wrote: > Following an advice from a user of this list,=20 > I did a=20 >=20 > kill -STOP 35662=20 >=20 > in order to minimize the CPU consumption=20 >=20 > and as soon as I hit enter the process disappeared (died). I had alread= y > killed its parent, but > it was not possible to kill this process. By sending the STOP signal it= was > killed. Are you sure? STOP usually does exactly what it says on the tin. It's like Ctrl-Z in the shell. You can in theory use 'kill -CONT pid' to wake the process up again. If the process died from a SIGSTOP it must be because there were other pending signals that could somehow be delivered once the process was stopped, but that strikes me as pretty odd. Cheers, Matthew --67ujVgVBTrpNjNaf5AWmD1qK3xW6LeIwS 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 iQIcBAEBCgAGBQJVEGByAAoJEABRPxDgqeTn6yoP/RhqA9z4VQ2yWAKycGAR3F/F +Ml5jJ6CdSOdvgFrR9dtnVHQM1xBb6Cl0A4F1ScL7YI0uhfuAeqbMXhD5hFgTbca siRs5CKyLl2IhFTwenaTJSsRldhtqnjPE8kihFgTLjOHNRQCPOi3b3hm5rGpdiaB /JR2qZFAF4BeN0Ytln4xlbdwVTobbl1l9ynTdJz0Osshre8wRfs6EWvxCAxKjzLO eXZ5czRjITPUfR+L86++NUs/OMIPuiIHnIh3cWH71QyCShv+q9hlqVs7jp8gkGS/ yVx8DHnfoibcWMqS+/zzkrd69b85nkqojVmS7SZlM7dBywIfkzHDps40Bw9TeM6P 0BqKmwp7MBgWN7xGWeSC1OHRktqJcmfS92xbc7ZnHm6WV/+J3a7ZIxxIcZc5GT4C DBBC2q5fAqtrIflTofltWfSDaK8ubaPilXsjfNBmzN/t4q0vsl7XiaxXze8+jEkC mLdW/6TyKuCQQN3uGG11dJJzwRSvQfU/RKRxaVhCxYR2Q4GbfmPnIb4rHJdlllr8 b8W7BgY/cJIyI+dd0JYdRwafPhYp5l6jK7E+8mbTZZXSdqmgnM+CGcNfBr4ZMbVR AD3sIKY0ZAf9RhpxUNleoh2MDMXKV25CiyUmGNbuOfMwkwpmrNJBo2ArlPvIDX0j Vj4sSmHlbExzinMn2Lu9 =kQRf -----END PGP SIGNATURE----- --67ujVgVBTrpNjNaf5AWmD1qK3xW6LeIwS-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 18:54: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 F3B9D30E for ; Mon, 23 Mar 2015 18:54:17 +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 B0F37B8B for ; Mon, 23 Mar 2015 18:54:17 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ya7UG-0006De-5O for freebsd-questions@freebsd.org; Mon, 23 Mar 2015 19:54:08 +0100 Received: from 65.75.36.70 ([65.75.36.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2015 19:54:08 +0100 Received: from gyliamos by 65.75.36.70 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2015 19:54:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Will Parsons Subject: font problem after updating Date: Mon, 23 Mar 2015 18:53:59 +0000 (UTC) Lines: 36 Message-ID: Reply-To: gyliamos@gmail.com X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 65.75.36.70 User-Agent: slrn/1.0.2 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 18:54:18 -0000 After updating my X fonts (via portsnap/portmaster) yesterday, I discover that aterm is started with an uncomfortably small font size. I've using ~/.Xresources to specifiy the font: aterm*font: 10x20 but this does not seem to work now. Trying from the command line: % aterm -fn 10x20 aterm: can't load font "10x20" % aterm -fn 9x15 aterm: can't load font "9x15" Checking UPDATING, I see the following note that may possibly be relevant: 20150321: AFFECTS: Users of x11-servers/xorg-server and other X servers AUTHOR: bapt@FreeBSD.org All fonts ports have been modified to respect XDG and install in share/fonts The Xorg servers now are looking there by default, and have been modified to also look into etc/X11/fontpath.d (see Xserver(1) for more details) adding a symlink in that directory pointing to a font directory will automatically add the later into Xorg FontPath Is this telling me I have to do something, and if so, what? Am I supposed to be adding a symlink where pointing to what? And does this have anything to do with my problem anyway? -- Will From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 19:11: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 52713FD9 for ; Mon, 23 Mar 2015 19:11:19 +0000 (UTC) Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::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 047B4DE0 for ; Mon, 23 Mar 2015 19:11:19 +0000 (UTC) Received: by qgep97 with SMTP id p97so30509478qge.1 for ; Mon, 23 Mar 2015 12:11:18 -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=fogbsmPmgvLBbz4Q8vTAXeliwX87CMQ7G9qalVz2H84=; b=jKnYzX9ST52tqlSETlmBWI72NlqNb4+kySqcCArGhW2WfkmFF5ukjnDMTt6CI5GZ87 wGNzBAAcmUIJPsPY6jjGx32HZj2f7QZdfWRLr6KyuMqi1g52tS/TdW+X1SD2qE6r+QtH sWn/FtVQaG3ybinrVac+hZkLC2ddLAxZumnuZ4/6xxa0HkuzlkBLftKH2QcA1ElVn5Pv csVWEpJo3mdHfXioJv4y/9gHDcfy2u2FgH2MXe2Si2j1I5B+Ecw/00cEtPTzAOGjGVta Y1k7FkpLDKxfEhFaibixPSiDw7ygVQZkXOjvUCj80z6SIesldl4Ijax1Wu+uhUYAe0q5 i49Q== X-Received: by 10.141.18.208 with SMTP id u199mr836443qhd.47.1427137860892; Mon, 23 Mar 2015 12:11:00 -0700 (PDT) Received: from localhost.localdomain ([209.181.150.218]) by mx.google.com with ESMTPSA id 15sm1089054qhx.31.2015.03.23.12.10.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2015 12:11:00 -0700 (PDT) Message-ID: <55106542.6020503@gmail.com> Date: Mon, 23 Mar 2015 13:10:58 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Un-kill-able process hang at umtxpi state with 100% cpu References: <1427109169038-5999345.post@n5.nabble.com> <1427134474819-5999426.post@n5.nabble.com> <5510594B.6010602@gmail.com> <1427135532406-5999436.post@n5.nabble.com> In-Reply-To: <1427135532406-5999436.post@n5.nabble.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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 19:11:19 -0000 On 03/23/2015 12:32 PM, BBlister wrote: > The process named c1 in the home directory of that student, had an > accompanied c1.c file that actually is one that spawn many working pthreads > and synchronizes them at the end. I executed by a normal user > and nothing strange happened. > > So I assume that was a rare timing issue/race condition that triggered this > error. > I will have to upgrade of course to 9.3 in order to rule out old problems. > > So, the takeaway of this is that sometimes when kill -KILL does not work, > kill -STOP may do the job :) About signal 9 (SIGKILL) SIGKILL The SIGKILL signal is sent to a process to cause it to terminate immediately (*kill*). In contrast to SIGTERM and SIGINT, this signal cannot be caught or ignored, and the receiving process cannot perform any clean-up upon receiving this signal. So, the only way a process cannot be killed by a signal 9 is if it is sleeping on an uniterruptible priority (such as when it is holding a lock on a system resource, and sleeps waiting for an even from low lever driver or other process (thread) (which will send a wake signal to the sleeping process). And as soon it is awakened, it is killed and the resource is released. This is why that I suspect that signal STOP did not kill your process that was not killable by SIGKILL (9). What happened is that possibly, the process had woken and the system finally delivered the SIGKILL to to it. I believe you had a conicidence of sending the STOP and then you saw that the process had disappeared. As you know a lot of time can pass (as far as the cpu is concerned) between doing a ps command, seeing the process still running, and then issuing a kill command and then doing ps again to see that the process has disappeared. Cheers JD From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 20:44: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 D25D112A for ; Mon, 23 Mar 2015 20:44:08 +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 8E063AE8 for ; Mon, 23 Mar 2015 20:44:08 +0000 (UTC) Received: from [89.204.137.163] (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 1Ya8F7-0002YD-Qe for freebsd-questions@freebsd.org; Mon, 23 Mar 2015 20:42:34 +0100 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t2NJgQMk001819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 23 Mar 2015 20:42:27 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t2NJgPgL001818 for freebsd-questions@freebsd.org; Mon, 23 Mar 2015 20:42:25 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 23 Mar 2015 20:42:25 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: CPU stress tester Message-ID: <20150323194225.GA1802@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.137.163 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 20:44:08 -0000 Hello, Do we have mersenne http://www.mersenne.org/download/#stresstest in our ports or some othetr CPU stress tester? Thanks matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 "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 From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 20:59: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 213B683B for ; Mon, 23 Mar 2015 20:59:52 +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 C600AC99 for ; Mon, 23 Mar 2015 20:59:51 +0000 (UTC) Received: by qgf74 with SMTP id 74so39320252qgf.2 for ; Mon, 23 Mar 2015 13:59:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=KG96W3PUQuDTac4LtqRnkwz762gf4qb+D4aQO8ZGu0c=; b=hyksLy+sXIbtg3aB+wkmbDeEV5Cln4RHih/zqy891k8hRn79R/QSnlDYE24q9CGAmT U1RyHXUCfmLX0VVB4Am4ryQjM1ZHXKWBz5xXlzCPVMJYOThBoxpX0lU0daOZvwCNEomW +qgFlVUGTMVJAyZdIAR6tp0XWgDVKwN6gWoFXxLeRBAlFPmBvZePGPNGLTRA7Pl0tLmm RW8i36VfE7ocwa6kAIKXSugQrVUvAZaHlSKg/wJtKTSGTFIzHo9qJl28t0UMNuQXdJN7 riMQzfZFSo1NDZhJC/GmGBpJeCoUUW/aQNJr9Or2yCi+vKs4fD0WcEw/Xfq5dMFMEgUg FyLg== X-Received: by 10.55.15.30 with SMTP id z30mr2151619qkg.87.1427144390689; Mon, 23 Mar 2015 13:59:50 -0700 (PDT) Received: from lapsdeb (207-172-207-96.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com. [207.172.207.96]) by mx.google.com with ESMTPSA id t75sm1280406qgd.42.2015.03.23.13.59.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2015 13:59:50 -0700 (PDT) Date: Mon, 23 Mar 2015 16:59:43 -0400 From: Stephen R Guglielmo To: freebsd-questions@freebsd.org Subject: Re: CPU stress tester Message-ID: <20150323165943.0ddb1269@lapsdeb> In-Reply-To: <20150323194225.GA1802@c720-r276659> References: <20150323194225.GA1802@c720-r276659> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/GbRtWr8V2AhI.ZIJt.IJ7IZ"; protocol="application/pgp-signature" Cc: Matthias Apitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 20:59:52 -0000 --Sig_/GbRtWr8V2AhI.ZIJt.IJ7IZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 23 Mar 2015 20:42:25 +0100 Matthias Apitz wrote: > Do we have mersenne http://www.mersenne.org/download/#stresstest in > our ports or some othetr CPU stress tester? A quick search on freshports[1] leads me to believe that freebsd does not have mersenne in the ports collection. I did find a few other stress testers though: benchmarks/forkbomb, sysutils/cpuburn and sysutils/stress. I think at least one of them will do what you want. [1] http://www.freshports.org/search.php?query=3Dmersenne --Sig_/GbRtWr8V2AhI.ZIJt.IJ7IZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJVEH7DAAoJEA8nk/BQet6Lk4cP/RHMt0yd0v4I7l0OjzDjoPX1 LnNTnMnMfoHVPLTYw3HTtFZRCDBxsHJBrjxeNOjfAPdhowFaa0i3gSCZBy/3vuWA LxuascYFkreWUSMvDENKGGHZ4NRQR2rwSwcKskWyiJCsN9YBN+Dwj2EZT2ULr4Ir 713bXNyeuuJPg1wOP4hrtpC2E1uwSmK053kUj86pcmmewTMmD7vyeIc678d1rl9T syRz1znOsWZTotRo4KRCZSeKyMcR/Gj2wLN1j4DjsMFSkUMK/LQ9xIfr91YkInaA mvZsg+CGvTGo0UrIYVwlGpg9E8H5feXJdZc63RjnsNdgGNj2bcDZn5Vf/30J3v9c rTrabstl0GDBoekpTQ43SOb1tRS05hYzy6JAcyzc6nU5fKKO3DknSXYlnY1mnXfC ZBm4j/m2dW3mi2r7wqwJrv8NxVUqL0wn6h6LQtDSlCS5bh/yTaetxcUFxWyRceph 2NECQAYTRJ9jp4week2FO5/YrDLl1kNvpc8EcT1+nJbEEUmRHb4ydJVzms/9pG7v 1vw68H5meUbn4u6yu+NLIygdGhtss09Z3RpUcJqbYkNwxQZLJKpBH3EOM+Z9kBJ5 jDy6RfEhFjaTENp0bdOYxHjhdH6kENI0Qm2foMpAMYVOblaezr905Y+GxldytVJ+ OLXlckAubCqCDMEFIKRe =TGEq -----END PGP SIGNATURE----- --Sig_/GbRtWr8V2AhI.ZIJt.IJ7IZ-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 23:09:13 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 C4A4634D for ; Mon, 23 Mar 2015 23:09:13 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.155]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADDDACCD for ; Mon, 23 Mar 2015 23:09:13 +0000 (UTC) Received: from WorkBox.Home (67-4-199-120.mpls.qwest.net [67.4.199.120]) by mx.zohomail.com with SMTPS id 1427152151980623.8829288817124; Mon, 23 Mar 2015 16:09:11 -0700 (PDT) Date: Mon, 23 Mar 2015 18:09:09 -0500 From: Bigby James To: freebsd-questions@freebsd.org Subject: Re: Exist more advantage in doing design using open source or operating system of closed source? Message-ID: <20150323230909.GB2486@WorkBox.Home> References: <20150321165157.GA2740@WorkBox.Home> <9C384F2A-DE7A-4AEC-AFA5-81FA0901F984@vin-dit.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9C384F2A-DE7A-4AEC-AFA5-81FA0901F984@vin-dit.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 23:09:14 -0000 On 03/21, John Holland wrote: > why the switch to freebsd and what virtualization solution are you using? I just use VirtualBox, with a virtual disk just large enough to hold Windows 7 Pro and Adobe Creative Suite 6, plus some room for updates. I'm using an SSD and quad-core CPU, and dedicate half my (usually unused) RAM to it, so it starts up in ten seconds or so and runs perfectly fine. As for why I switched from Linux to FreeBSD, that's a little involved; I'll try and keep this short. Up to a few months before making the switch I'd been using Arch Linux for several years (still do on my Raspberry Pi), and 90% of the time that worked extremely well. But minor inconveniences due to frequent, untested updates had started to annoy me, and I'd recently gotten on a real kick about system stability and preserving my data. So I started looking at other distros. The problem was that, due to the way GNU/Linux systems are built, there's no way to get a system that offers both a high degree of relatively certain stability, and a high degree of low-level control over the system structure. No distro I tried could be "Arch, but without the risk of breaking something every day." The list of distributions I considered worth my time and effort ended up being pretty small (four, in fact). I'd been interested in FreeBSD for a while because its design philosophy jibed with me---I'd read Matt Fuller's "BSD for Linux Users"[1] some years ago---but since I exclusively use laptops I had to wait 18 months or so for the integrated GPU driver to catch up before giving it a proper try on my present machines. In the meantime I'd grab a snapshot every so often and see how it ran. Through sheer serendipity FreeBSD-RELEASE 10.1 came out while I was on my new OS hunt, and all the important stuff worked out of the box, so I installed FreeBSD to a second disk and figured I'd give it two weeks or so to see how it might work as a primary OS. It only took about four or five days for me to fall in love with FreeBSD. Most of my Linux knowledge translated just fine. The outstanding documentation, the "rolling-release you update anytime you feel like it with substantially lower risk of breaking something" nature of the ports tree and -STABLE branches, the layout of the filesystem, the similarities between Arch and FreeBSD software management (thanks to pkg(8) integration), the quality and features of UFS and ZFS, the astonishing simplicity of building a custom kernel and setting custom build-time options for ports and the base system, the easy manner of configuring and automating system services, the fact that there are conventions of style and organization for the code and documentation, and the careful consideration that clearly goes into choosing components of the base system, and the obvious determination to focus on getting one thing right instead of reinventing the wheel every couple years---it's all just too awesome. Hell, I think one of the most impressive features that helped lure me in was the simple fact that the man pages in FreeBSD are complete, coherent *and* are width-constrained. I'd gotten used to reading poorly written man pages that were 600 characters long and contained little more than "This man page is incomplete. I'll get around to finishing it later. (Dated July 2009)." And the man pages that did it were sound(4) and build(7)---even *concepts* behind the system are documented here. That's some commendably insane attention to detail. As a comparison to Linux, FreeBSD basically takes the best features of Debian, Gentoo and Arch, combines them, and improves upon all of them. Which makes sense, considering that comparison is backwards and all three distributions were in fact inspired in varying degrees by FreeBSD. ;) [1]: http://www.over-yonder.net/~fullermd/rants/bsd4linux/01 -- "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 Mon Mar 23 23:19:50 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 25F9A479 for ; Mon, 23 Mar 2015 23:19:50 +0000 (UTC) Received: from mail.vin-dit.org (mail.vin-dit.org [81.209.165.242]) by mx1.freebsd.org (Postfix) with ESMTP id BBC70DB2 for ; Mon, 23 Mar 2015 23:19:49 +0000 (UTC) Received: from [192.168.61.214] (pool-71-163-186-18.washdc.fios.verizon.net [71.163.186.18]) by mail.vin-dit.org (Postfix) with ESMTPSA id 2D8EC48144; Mon, 23 Mar 2015 19:19:37 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Exist more advantage in doing design using open source or operating system of closed source? From: John Holland In-Reply-To: <20150323230909.GB2486@WorkBox.Home> Date: Mon, 23 Mar 2015 19:19:39 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <1A121D58-971F-4E46-96A3-4B570379AE13@vin-dit.org> References: <20150321165157.GA2740@WorkBox.Home> <9C384F2A-DE7A-4AEC-AFA5-81FA0901F984@vin-dit.org> <20150323230909.GB2486@WorkBox.Home> To: Bigby James X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 23:19:50 -0000 Interesting. I=92ve been using Linux, FreeBSD or Solaris for about 20 = years. I=92d been on Linux (mainly RedHat and Debian) for the last maybe = 8 years. I recently switched to FreeBSD on my server and started booting = into OS X on my Macbook out of disgust with the systemd situation. I = still have a really nice Debian/enlightenment setup on the other = partition on the Macbook. I haven=92t booted it in a few weeks. I=92m finding FreeBSD to be very nice, the fact that it has pkgng now is = a big plus. Everything is very clean and well thought out, and = documented, as you say. I=92ve learned a little new stuff like jails.=20 I was using zfsonlinux.org to get ZFS on Debian, but it is so much = better in FreeBSD where it is well integrated.=20 I think Linux is headed into uncharted territory, that may make the = statement true that =93GNU=92s not UNIX=94. On Mar 23, 2015, at 7:09 PM, Bigby James = wrote: > On 03/21, John Holland wrote: >> why the switch to freebsd and what virtualization solution are you = using? >=20 > I just use VirtualBox, with a virtual disk just large enough to hold = Windows 7 > Pro and Adobe Creative Suite 6, plus some room for updates. I'm using = an SSD and > quad-core CPU, and dedicate half my (usually unused) RAM to it, so it = starts up > in ten seconds or so and runs perfectly fine. >=20 > As for why I switched from Linux to FreeBSD, that's a little involved; = I'll try > and keep this short. Up to a few months before making the switch I'd = been using > Arch Linux for several years (still do on my Raspberry Pi), and 90% of = the time > that worked extremely well. But minor inconveniences due to frequent, = untested > updates had started to annoy me, and I'd recently gotten on a real = kick about > system stability and preserving my data. So I started looking at other = distros. >=20 > The problem was that, due to the way GNU/Linux systems are built, = there's no way > to get a system that offers both a high degree of relatively certain = stability, > and a high degree of low-level control over the system structure. No = distro I > tried could be "Arch, but without the risk of breaking something every = day." The > list of distributions I considered worth my time and effort ended up = being > pretty small (four, in fact). I'd been interested in FreeBSD for a = while because > its design philosophy jibed with me---I'd read Matt Fuller's "BSD for = Linux > Users"[1] some years ago---but since I exclusively use laptops I had = to wait 18 > months or so for the integrated GPU driver to catch up before giving = it a proper > try on my present machines. In the meantime I'd grab a snapshot every = so often > and see how it ran. Through sheer serendipity FreeBSD-RELEASE 10.1 = came out > while I was on my new OS hunt, and all the important stuff worked out = of the > box, so I installed FreeBSD to a second disk and figured I'd give it = two weeks > or so to see how it might work as a primary OS. >=20 > It only took about four or five days for me to fall in love with = FreeBSD. Most > of my Linux knowledge translated just fine. The outstanding = documentation, the > "rolling-release you update anytime you feel like it with = substantially lower > risk of breaking something" nature of the ports tree and -STABLE = branches, the > layout of the filesystem, the similarities between Arch and FreeBSD = software > management (thanks to pkg(8) integration), the quality and features of = UFS and > ZFS, the astonishing simplicity of building a custom kernel and = setting custom > build-time options for ports and the base system, the easy manner of = configuring > and automating system services, the fact that there are conventions of = style and > organization for the code and documentation, and the careful = consideration that > clearly goes into choosing components of the base system, and the = obvious > determination to focus on getting one thing right instead of = reinventing the > wheel every couple years---it's all just too awesome. Hell, I think = one of the > most impressive features that helped lure me in was the simple fact = that the man > pages in FreeBSD are complete, coherent *and* are width-constrained. = I'd gotten > used to reading poorly written man pages that were 600 characters long = and > contained little more than "This man page is incomplete. I'll get = around to > finishing it later. (Dated July 2009)." And the man pages that did it = were > sound(4) and build(7)---even *concepts* behind the system are = documented here. > That's some commendably insane attention to detail. >=20 > As a comparison to Linux, FreeBSD basically takes the best features of = Debian, > Gentoo and Arch, combines them, and improves upon all of them. Which = makes > sense, considering that comparison is backwards and all three = distributions were > in fact inspired in varying degrees by FreeBSD. ;) >=20 > [1]: http://www.over-yonder.net/~fullermd/rants/bsd4linux/01 >=20 > --=20 > "A common mistake that people make when trying to design something = completely > foolproof is to underestimate the ingenuity of complete fools." - = Douglas Adams >=20 > _______________________________________________ > 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 Mon Mar 23 23:31: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 BB3117B7 for ; Mon, 23 Mar 2015 23:31:08 +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 83603F3E for ; Mon, 23 Mar 2015 23:31:08 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-81.adsl.hiwaay.net [216.180.19.81]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2NNUxlW022555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 23 Mar 2015 18:31:00 -0500 Message-ID: <5510A3AA.3020801@hiwaay.net> Date: Mon, 23 Mar 2015 18:37:14 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: freebsd-update question Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 23:31:08 -0000 I just tried to do a freebsd-update from 9.3-RELEASE-p9 to 9.3-RELEASE-p12. It only got as far as 9.3-RELEASE-p10, which I am running as I write this. I was ruinning the update from the console, so I didn't catch most of the output, but I can recreate the important parts here (I think): [root@kabini1, /etc, 6:33:45pm] 323 % freebsd-update fetch Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 9.3-RELEASE from update5.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be added as part of updating to 9.3-RELEASE-p12: /usr/src/contrib/tzdata/zone1970.tab /usr/src/crypto/openssl/crypto/constant_time_locl.h /usr/src/crypto/openssl/crypto/constant_time_test.c /usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod /usr/src/crypto/openssl/test/constant_time_test.c /usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3 whew !!!! that took (24.262 cpu + 8.140 sys) sec., 0:32.91 elapsed time tot, 98.4% CPU efficiency (22 text, 531 data, 5332 max) KB, (2+72) io, 0 pfs + 0 swaps [root@kabini1, /etc, 6:34:24pm] 324 % freebsd-update install Installing updates...install: ///usr/src/contrib/tzdata/zone1970.tab: No such file or directory install: ///usr/src/crypto/openssl/crypto/constant_time_locl.h: No such file or directory install: ///usr/src/crypto/openssl/crypto/constant_time_test.c: No such file or directory install: ///usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod: No such file or directory install: ///usr/src/crypto/openssl/test/constant_time_test.c: No such file or directory install: ///usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3: No such file or directory done. [root@kabini1, /etc, 6:34:35pm] 325 % This is the last part of what I saw when updating p9 from the console (I think) .... Whassup here ? Can I indeed go from p9 --> p12 (or p10 --> p12) in 1 shot ? I am running only plain vanilla RELEASE & pkgs, what am I missing ? Need anything else, just ask .... -- 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 Mon Mar 23 23:40: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 26165AC4 for ; Mon, 23 Mar 2015 23:40:59 +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 DE180FBA for ; Mon, 23 Mar 2015 23:40:58 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-81.adsl.hiwaay.net [216.180.19.81]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2NNeuCr026913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 23 Mar 2015 18:40:57 -0500 Message-ID: <5510A5FF.8060900@hiwaay.net> Date: Mon, 23 Mar 2015 18:47:11 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: pkg upgrade issue Content-Type: multipart/mixed; boundary="------------010404030902080100060300" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 23:40:59 -0000 This is a multi-part message in MIME format. --------------010404030902080100060300 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit After the previously mentioned issue w/ freebsd-update, I decided to upgrade my installed pkg's while I was in console mode & logged in as root. I attach the output from the proceedings. I last pkg-upgraded about 1 month ago & haven't installed any new stuff since then. FreeBSD 9.3-RELEASE-p10, running only GENERIC kernels & std. pkgs, w/ 1 exception, libflash-whatever to support flash in FireFox & opera. Need anything else, just ask. TIA .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. --------------010404030902080100060300 Content-Type: text/plain; charset=us-ascii; name="LIST.pkg-upgrade.Mar2015.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="LIST.pkg-upgrade.Mar2015.txt" VXBkYXRpbmcgRnJlZUJTRCByZXBvc2l0b3J5IGNhdGFsb2d1ZS4uLgpGcmVlQlNEIHJlcG9z aXRvcnkgaXMgdXAtdG8tZGF0ZS4KQWxsIHJlcG9zaXRvcmllcyBhcmUgdXAtdG8tZGF0ZS4K VXBkYXRpbmcgZGF0YWJhc2UgZGlnZXN0cyBmb3JtYXQuLi4gZG9uZQpDaGVja2luZyBmb3Ig dXBncmFkZXMgKDMwMSBjYW5kaWRhdGVzKS4uLiBkb25lClByb2Nlc3NpbmcgY2FuZGlkYXRl cyAoMzAxIGNhbmRpZGF0ZXMpLi4uIGRvbmUKVGhlIGZvbGxvd2luZyA5MyBwYWNrYWdlcyB3 aWxsIGJlIGFmZmVjdGVkIChvZiAwIGNoZWNrZWQpOgoKTmV3IHBhY2thZ2VzIHRvIGJlIElO U1RBTExFRDoKCXBocDU2LXNlc3Npb246IDUuNi42CglwaHA1NjogNS42LjYKCXBocDU2LWpz b246IDUuNi42CglwaHA1Ni1teXNxbDogNS42LjYKCW15c3FsNTYtY2xpZW50OiA1LjYuMjMK CXJ1YnkyMS1iZGI6IDAuNi42XzQKCkluc3RhbGxlZCBwYWNrYWdlcyB0byBiZSBVUEdSQURF RDoKCXpvbmVtaW5kZXI6IDEuMjUuMF82IC0+IDEuMjUuMF83Cgl4dGVybTogMzE0IC0+IDMx NgoJeGxvY2ttb3JlOiA1LjQ1IC0+IDUuNDYKCXhmY2U0LXdtOiA0LjEwLjFfMSAtPiA0LjEy LjIKCXhmY2U0LXR1bWJsZXI6IDAuMS4zMF82IC0+IDAuMS4zMQoJeGZjZTQtdGVybWluYWw6 IDAuNi4zXzEgLT4gMC42LjNfMgoJeGZjZTQtc2V0dGluZ3M6IDQuMTAuMV81IC0+IDQuMTIu MAoJeGZjZTQtc2Vzc2lvbjogNC4xMC4xXzMgLT4gNC4xMi4xCgl4ZmNlNC1wYW5lbDogNC4x MC4xXzMgLT4gNC4xMi4wCgl4ZmNlNC1ub3RpZnlkOiAwLjIuNCAtPiAwLjIuNF8xCgl4ZmNl NC1uZXRsb2FkLXBsdWdpbjogMS4yLjQgLT4gMS4yLjRfMQoJeGZjZTQtZGVza3RvcDogNC4x MC4zXzIgLT4gNC4xMi4wCgl4ZmNlNC1jcHVncmFwaC1wbHVnaW46IDEuMC41XzIgLT4gMS4w LjVfMwoJeGZjZTQtY29uZjogNC4xMC4wXzYgLT4gNC4xMi4wCgl4ZmNlNC1hcHBmaW5kZXI6 IDQuMTAuMV8xIC0+IDQuMTIuMAoJeGZjZTogNC4xMF85IC0+IDQuMTJfMQoJeGNhbGM6IDEu MC41IC0+IDEuMC42Cgl3aXJlc2hhcms6IDEuMTIuMyAtPiAxLjEyLjQKCXdlYnA6IDAuNC4y XzMgLT4gMC40LjMKCXZpcnR1YWxib3gtb3NlLWttb2Q6IDQuMy4yMiAtPiA0LjMuMjYKCXZp cnR1YWxib3gtb3NlLWFkZGl0aW9uczogNC4zLjIyIC0+IDQuMy4yNgoJdmlydHVhbGJveC1v c2U6IDQuMy4yMl8yIC0+IDQuMy4yNgoJdW56aXA6IDYuMF81IC0+IDYuMF82Cgl0azg2OiA4 LjYuMyAtPiA4LjYuNAoJdGh1bmRlcmJpcmQ6IDMxLjQuMF8yIC0+IDMxLjUuMF8xCgl0Y2w4 NjogOC42LjMgLT4gOC42LjQKCXNhbWJhMzYtbGlic21iY2xpZW50OiAzLjYuMjRfMiAtPiAz LjYuMjVfMgoJc2FtYmEzNjogMy42LjI0XzIgLT4gMy42LjI1CglydWJ5OiAyLjAuMC41OThf MiwxIC0+IDIuMS41XzIsMQoJcmlzdHJldHRvOiAwLjYuM18yIC0+IDAuOC4wCglxdDQtZ3Vp OiA0LjguNl8zIC0+IDQuOC42XzQKCXFlbXUtZGV2ZWw6IDIuMi4wIC0+IDIuMi4xCglweTI3 LXR3aXN0ZWRXZWI6IDE0LjAuMCAtPiAxNS4wLjAKCXB5MjctdHdpc3RlZENvcmU6IDE0LjAu MF8xIC0+IDE1LjAuMF8xCglweTI3LW51bXB5OiAxLjkuMV8xLDEgLT4gMS45LjIsMQoJcHky Ny1saWJ0b3JyZW50LXJhc3RlcmJhcjogMC4xNi4xN18xIC0+IDAuMTYuMTkKCXB5MjctZ2Ft ZTogMS45LjFfNSAtPiAxLjkuMV82CglwdjogMS41LjcgLT4gMS42LjAKCXBrZ2NvbmY6IDAu OS43IC0+IDAuOS44CglwaHA1LXNlc3Npb246IDUuNC4zNyAtPiA1LjQuMzgKCXBocDUtbXlz cWw6IDUuNC4zNyAtPiA1LjQuMzgKCXBocDUtanNvbjogNS40LjM3IC0+IDUuNC4zOAoJcGhw NTogNS40LjM3IC0+IDUuNC4zOAoJcGNpaWRzOiAyMDE1MDEyNCAtPiAyMDE1MDMwMwoJcGFy YXZpZXc6IDQuMS4wXzggLT4gNC4zLjEKCXA1LWxpYnd3dzogNi4wOF8xIC0+IDYuMTMKCXA1 LVVSSTogMS42NSAtPiAxLjY3CglwNS1Tb2NrZXQ6IDIuMDE2XzEgLT4gMi4wMTgKCXA1LUlP LVNvY2tldC1TU0w6IDIuMDA5IC0+IDIuMDEyCglwNS1JTy1Tb2NrZXQtSVA6IDAuMzYgLT4g MC4zNwoJb3JhZ2U6IDQuMTAuMF8yIC0+IDQuMTAuMF8zCgltb3VzZXBhZDogMC4zLjAgLT4g MC40LjBfMQoJbWdkaWZmOiAxLjBfMyAtPiAxLjBfNAoJbHVhNTI6IDUuMi4zXzQgLT4gNS4y LjQKCWxzb2Y6IDQuODkuYyw4IC0+IDQuODkuZCw4CglsaWJ4dWw6IDMxLjQuMF8yIC0+IDMx LjUuMAoJbGlieGZjZTR1dGlsOiA0LjEwLjFfMiAtPiA0LjEyLjEKCWxpYnhmY2U0bWVudTog NC4xMC4wXzUgLT4gNC4xMi4xCglsaWJ2b3JiaXM6IDEuMy40XzIsMyAtPiAxLjMuNSwzCgls aWJ2ZHBhdTogMC45IC0+IDEuMAoJbGlidG9ycmVudC1yYXN0ZXJiYXI6IDAuMTYuMTggLT4g MC4xNi4xOQoJbGlicmVvZmZpY2U6IDQuMy41XzMgLT4gNC4zLjYKCWxpYmdjcnlwdDogMS42 LjJfMSAtPiAxLjYuMwoJbGliZXhvOiAwLjEwLjJfNSAtPiAwLjEwLjQKCWxpYmNtaXM6IDAu NC4xXzMgLT4gMC41LjAKCWxpYmFzc3VhbjogMi4xLjMgLT4gMi4yLjAKCWxhcGFjaysrOiAy LjUuM184IC0+IDIuNS40CglsYXBhY2s6IDMuNC4yXzMgLT4gMy41LjAKCWphdmEtem9uZWlu Zm86IDIwMTQuaiAtPiAyMDE1LmEKCWhkZjU6IDEuOC4xNCAtPiAxLjguMTRfMQoJZ3RrLXhm Y2UtZW5naW5lOiAzLjAuMV8xIC0+IDMuMi4wCglnbnVwZzogMi4xLjFfMSAtPiAyLjEuMgoJ Z2l0OiAyLjMuMCAtPiAyLjMuMwoJZ2FyY29uOiAwLjIuMV8yIC0+IDAuNC4wCglmdXNlZnMt bGliczogMi45LjNfMyAtPiAyLjkuM180CglmaXJlZm94OiAzNS4wLjFfMSwxIC0+IDM2LjAu MSwxCglkb2Nib29rLXhtbDogNS4wXzIgLT4gNS4wXzMKCWRlbHVnZTogMS4zLjExXzEsMSAt PiAxLjMuMTFfMiwxCgljdXJsOiA3LjQwLjAgLT4gNy40MS4wCgljbHVjZW5lOiAyLjMuMy40 XzQgLT4gMi4zLjMuNF82CglibGFzOiAzLjQuMl8zIC0+IDMuNS4wXzMKCWFsc2EtcGx1Z2lu czogMS4wLjI4XzEgLT4gMS4wLjI5CglhbHNhLWxpYjogMS4wLjI4IC0+IDEuMC4yOQoJVGh1 bmFyOiAxLjYuNF8xIC0+IDEuNi42XzEKCUltYWdlTWFnaWNrOiA2LjkuMC40LDEgLT4gNi45 LjAuMTAsMQoJR2VvSVA6IDEuNi40IC0+IDEuNi41CgpJbnN0YWxsZWQgcGFja2FnZXMgdG8g YmUgUkVJTlNUQUxMRUQ6Cglwb3J0dXBncmFkZS0yLjQuMTNfMSwyIChkaXJlY3QgZGVwZW5k ZW5jeSBjaGFuZ2VkKQoKVGhlIHByb2Nlc3Mgd2lsbCByZXF1aXJlIDQ2IE1pQiBtb3JlIHNw YWNlLgozODAgTWlCIHRvIGJlIGRvd25sb2FkZWQuCkZldGNoaW5nIHpvbmVtaW5kZXItMS4y NS4wXzcudHh6Li4uIGRvbmUKRmV0Y2hpbmcgeHRlcm0tMzE2LnR4ei4uLiBkb25lCkZldGNo aW5nIHhsb2NrbW9yZS01LjQ2LnR4ei4uLiBkb25lCkZldGNoaW5nIHhmY2U0LXdtLTQuMTIu Mi50eHouLi4gZG9uZQpGZXRjaGluZyB4ZmNlNC10dW1ibGVyLTAuMS4zMS50eHouLi4gZG9u ZQpGZXRjaGluZyB4ZmNlNC10ZXJtaW5hbC0wLjYuM18yLnR4ei4uLiBkb25lCkZldGNoaW5n IHhmY2U0LXNldHRpbmdzLTQuMTIuMC50eHouLi4gZG9uZQpGZXRjaGluZyB4ZmNlNC1zZXNz aW9uLTQuMTIuMS50eHouLi4gZG9uZQpGZXRjaGluZyB4ZmNlNC1wYW5lbC00LjEyLjAudHh6 Li4uIGRvbmUKRmV0Y2hpbmcgeGZjZTQtbm90aWZ5ZC0wLjIuNF8xLnR4ei4uLiBkb25lCkZl dGNoaW5nIHhmY2U0LW5ldGxvYWQtcGx1Z2luLTEuMi40XzEudHh6Li4uIGRvbmUKRmV0Y2hp bmcgeGZjZTQtZGVza3RvcC00LjEyLjAudHh6Li4uIGRvbmUKRmV0Y2hpbmcgeGZjZTQtY3B1 Z3JhcGgtcGx1Z2luLTEuMC41XzMudHh6Li4uIGRvbmUKRmV0Y2hpbmcgeGZjZTQtY29uZi00 LjEyLjAudHh6Li4uIGRvbmUKRmV0Y2hpbmcgeGZjZTQtYXBwZmluZGVyLTQuMTIuMC50eHou Li4gZG9uZQpGZXRjaGluZyB4ZmNlLTQuMTJfMS50eHouLi4gZG9uZQpGZXRjaGluZyB4Y2Fs Yy0xLjAuNi50eHouLi4gZG9uZQpGZXRjaGluZyB3aXJlc2hhcmstMS4xMi40LnR4ei4uLiBk b25lCkZldGNoaW5nIHdlYnAtMC40LjMudHh6Li4uIGRvbmUKRmV0Y2hpbmcgdmlydHVhbGJv eC1vc2Uta21vZC00LjMuMjYudHh6Li4uIGRvbmUKRmV0Y2hpbmcgdmlydHVhbGJveC1vc2Ut YWRkaXRpb25zLTQuMy4yNi50eHouLi4gZG9uZQpGZXRjaGluZyB2aXJ0dWFsYm94LW9zZS00 LjMuMjYudHh6Li4uIGRvbmUKRmV0Y2hpbmcgdW56aXAtNi4wXzYudHh6Li4uIGRvbmUKRmV0 Y2hpbmcgdGs4Ni04LjYuNC50eHouLi4gZG9uZQpGZXRjaGluZyB0aHVuZGVyYmlyZC0zMS41 LjBfMS50eHouLi4gZG9uZQpGZXRjaGluZyB0Y2w4Ni04LjYuNC50eHouLi4gZG9uZQpGZXRj aGluZyBzYW1iYTM2LWxpYnNtYmNsaWVudC0zLjYuMjVfMi50eHouLi4gZG9uZQpGZXRjaGlu ZyBzYW1iYTM2LTMuNi4yNS50eHouLi4gZG9uZQpGZXRjaGluZyBydWJ5LTIuMS41XzIsMS50 eHouLi4gZG9uZQpGZXRjaGluZyByaXN0cmV0dG8tMC44LjAudHh6Li4uIGRvbmUKRmV0Y2hp bmcgcXQ0LWd1aS00LjguNl80LnR4ei4uLiBkb25lCkZldGNoaW5nIHFlbXUtZGV2ZWwtMi4y LjEudHh6Li4uIGRvbmUKRmV0Y2hpbmcgcHkyNy10d2lzdGVkV2ViLTE1LjAuMC50eHouLi4g ZG9uZQpGZXRjaGluZyBweTI3LXR3aXN0ZWRDb3JlLTE1LjAuMF8xLnR4ei4uLiBkb25lCkZl dGNoaW5nIHB5MjctbnVtcHktMS45LjIsMS50eHouLi4gZG9uZQpGZXRjaGluZyBweTI3LWxp YnRvcnJlbnQtcmFzdGVyYmFyLTAuMTYuMTkudHh6Li4uIGRvbmUKRmV0Y2hpbmcgcHkyNy1n YW1lLTEuOS4xXzYudHh6Li4uIGRvbmUKRmV0Y2hpbmcgcHYtMS42LjAudHh6Li4uIGRvbmUK RmV0Y2hpbmcgcG9ydHVwZ3JhZGUtMi40LjEzXzEsMi50eHouLi4gZG9uZQpGZXRjaGluZyBw a2djb25mLTAuOS44LnR4ei4uLiBkb25lCkZldGNoaW5nIHBocDUtc2Vzc2lvbi01LjQuMzgu dHh6Li4uIGRvbmUKRmV0Y2hpbmcgcGhwNS1teXNxbC01LjQuMzgudHh6Li4uIGRvbmUKRmV0 Y2hpbmcgcGhwNS1qc29uLTUuNC4zOC50eHouLi4gZG9uZQpGZXRjaGluZyBwaHA1LTUuNC4z OC50eHouLi4gZG9uZQpGZXRjaGluZyBwY2lpZHMtMjAxNTAzMDMudHh6Li4uIGRvbmUKRmV0 Y2hpbmcgcGFyYXZpZXctNC4zLjEudHh6Li4uIGRvbmUKRmV0Y2hpbmcgcDUtbGlid3d3LTYu MTMudHh6Li4uIGRvbmUKRmV0Y2hpbmcgcDUtVVJJLTEuNjcudHh6Li4uIGRvbmUKRmV0Y2hp bmcgcDUtU29ja2V0LTIuMDE4LnR4ei4uLiBkb25lCkZldGNoaW5nIHA1LUlPLVNvY2tldC1T U0wtMi4wMTIudHh6Li4uIGRvbmUKRmV0Y2hpbmcgcDUtSU8tU29ja2V0LUlQLTAuMzcudHh6 Li4uIGRvbmUKRmV0Y2hpbmcgb3JhZ2UtNC4xMC4wXzMudHh6Li4uIGRvbmUKRmV0Y2hpbmcg bW91c2VwYWQtMC40LjBfMS50eHouLi4gZG9uZQpGZXRjaGluZyBtZ2RpZmYtMS4wXzQudHh6 Li4uIGRvbmUKRmV0Y2hpbmcgbHVhNTItNS4yLjQudHh6Li4uIGRvbmUKRmV0Y2hpbmcgbHNv Zi00Ljg5LmQsOC50eHouLi4gZG9uZQpGZXRjaGluZyBsaWJ4dWwtMzEuNS4wLnR4ei4uLiBk b25lCkZldGNoaW5nIGxpYnhmY2U0dXRpbC00LjEyLjEudHh6Li4uIGRvbmUKRmV0Y2hpbmcg bGlieGZjZTRtZW51LTQuMTIuMS50eHouLi4gZG9uZQpGZXRjaGluZyBsaWJ2b3JiaXMtMS4z LjUsMy50eHouLi4gZG9uZQpGZXRjaGluZyBsaWJ2ZHBhdS0xLjAudHh6Li4uIGRvbmUKRmV0 Y2hpbmcgbGlidG9ycmVudC1yYXN0ZXJiYXItMC4xNi4xOS50eHouLi4gZG9uZQpGZXRjaGlu ZyBsaWJyZW9mZmljZS00LjMuNi50eHouLi4gZG9uZQpGZXRjaGluZyBsaWJnY3J5cHQtMS42 LjMudHh6Li4uIGRvbmUKRmV0Y2hpbmcgbGliZXhvLTAuMTAuNC50eHouLi4gZG9uZQpGZXRj aGluZyBsaWJjbWlzLTAuNS4wLnR4ei4uLiBkb25lCkZldGNoaW5nIGxpYmFzc3Vhbi0yLjIu MC50eHouLi4gZG9uZQpGZXRjaGluZyBsYXBhY2srKy0yLjUuNC50eHouLi4gZG9uZQpGZXRj aGluZyBsYXBhY2stMy41LjAudHh6Li4uIGRvbmUKRmV0Y2hpbmcgamF2YS16b25laW5mby0y MDE1LmEudHh6Li4uIGRvbmUKRmV0Y2hpbmcgaGRmNS0xLjguMTRfMS50eHouLi4gZG9uZQpG ZXRjaGluZyBndGsteGZjZS1lbmdpbmUtMy4yLjAudHh6Li4uIGRvbmUKRmV0Y2hpbmcgZ251 cGctMi4xLjIudHh6Li4uIGRvbmUKRmV0Y2hpbmcgZ2l0LTIuMy4zLnR4ei4uLiBkb25lCkZl dGNoaW5nIGdhcmNvbi0wLjQuMC50eHouLi4gZG9uZQpGZXRjaGluZyBmdXNlZnMtbGlicy0y LjkuM180LnR4ei4uLiBkb25lCkZldGNoaW5nIGZpcmVmb3gtMzYuMC4xLDEudHh6Li4uIGRv bmUKRmV0Y2hpbmcgZG9jYm9vay14bWwtNS4wXzMudHh6Li4uIGRvbmUKRmV0Y2hpbmcgZGVs dWdlLTEuMy4xMV8yLDEudHh6Li4uIGRvbmUKRmV0Y2hpbmcgY3VybC03LjQxLjAudHh6Li4u IGRvbmUKRmV0Y2hpbmcgY2x1Y2VuZS0yLjMuMy40XzYudHh6Li4uIGRvbmUKRmV0Y2hpbmcg Ymxhcy0zLjUuMF8zLnR4ei4uLiBkb25lCkZldGNoaW5nIGFsc2EtcGx1Z2lucy0xLjAuMjku dHh6Li4uIGRvbmUKRmV0Y2hpbmcgYWxzYS1saWItMS4wLjI5LnR4ei4uLiBkb25lCkZldGNo aW5nIFRodW5hci0xLjYuNl8xLnR4ei4uLiBkb25lCkZldGNoaW5nIEltYWdlTWFnaWNrLTYu OS4wLjEwLDEudHh6Li4uIGRvbmUKRmV0Y2hpbmcgR2VvSVAtMS42LjUudHh6Li4uIGRvbmUK RmV0Y2hpbmcgcGhwNTYtc2Vzc2lvbi01LjYuNi50eHouLi4gZG9uZQpGZXRjaGluZyBwaHA1 Ni01LjYuNi50eHouLi4gZG9uZQpGZXRjaGluZyBwaHA1Ni1qc29uLTUuNi42LnR4ei4uLiBk b25lCkZldGNoaW5nIHBocDU2LW15c3FsLTUuNi42LnR4ei4uLiBkb25lCkZldGNoaW5nIG15 c3FsNTYtY2xpZW50LTUuNi4yMy50eHouLi4gZG9uZQpGZXRjaGluZyBydWJ5MjEtYmRiLTAu Ni42XzQudHh6Li4uIGRvbmUKQ2hlY2tpbmcgaW50ZWdyaXR5Li4uIGRvbmUgKDUgY29uZmxp Y3RpbmcpCnBrZzogQ2Fubm90IHNvbHZlIHByb2JsZW0gdXNpbmcgU0FUIHNvbHZlcjoKcGtn OiBjYW5ub3QgZmluZCBwaHA1LXNlc3Npb24gaW4gdGhlIHJlcXVlc3QKcGtnOiBjYW5ub3Qg c29sdmUgam9iIHVzaW5nIFNBVCBzb2x2ZXIKQ2hlY2tpbmcgaW50ZWdyaXR5Li4uIGRvbmUg KDAgY29uZmxpY3RpbmcpCkNvbmZsaWN0cyB3aXRoIHRoZSBleGlzdGluZyBwYWNrYWdlcyBo YXZlIGJlZW4gZm91bmQuCk9uZSBtb3JlIHNvbHZlciBpdGVyYXRpb24gaXMgbmVlZGVkIHRv IHJlc29sdmUgdGhlbS4K --------------010404030902080100060300-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 23:44: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 60B82DD2 for ; Mon, 23 Mar 2015 23:44:41 +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 2426D100 for ; Mon, 23 Mar 2015 23:44:40 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-81.adsl.hiwaay.net [216.180.19.81]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2NNidd8028314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 23 Mar 2015 18:44:39 -0500 Message-ID: <5510A6DE.8020203@hiwaay.net> Date: Mon, 23 Mar 2015 18:50:54 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: Re: pkg upgrade issue References: <5510A5FF.8060900@hiwaay.net> In-Reply-To: <5510A5FF.8060900@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 23:44:41 -0000 On 03/23/15 18:47, William A. Mahaffey III wrote: > > > After the previously mentioned issue w/ freebsd-update, I decided to > upgrade my installed pkg's while I was in console mode & logged in as > root. I attach the output from the proceedings. I last pkg-upgraded > about 1 month ago & haven't installed any new stuff since then. > FreeBSD 9.3-RELEASE-p10, running only GENERIC kernels & std. pkgs, w/ > 1 exception, libflash-whatever to support flash in FireFox & opera. > Need anything else, just ask. TIA .... > > > > > _______________________________________________ > 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" P.S. I tried the following seeming obvious attempts: [root@kabini1, /etc, 6:48:57pm] 345 % pkg upgrade -y Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking for upgrades (301 candidates): 100% Processing candidates (301 candidates): 100% Checking integrity... done (5 conflicting) pkg: Cannot solve problem using SAT solver: pkg: cannot find php5-session in the request pkg: cannot solve job using SAT solver Checking integrity... done (0 conflicting) Your packages are up to date. [root@kabini1, /etc, 6:49:25pm] 346 % pkg install -y php56 Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (1 conflicting) Checking integrity... done (2 conflicting) pkg: Cannot solve problem using SAT solver: pkg: cannot find php56 in the request pkg: cannot solve job using SAT solver Checking integrity... done (0 conflicting) The most recent version of packages are already installed [root@kabini1, /etc, 6:49:38pm] 347 % Still nogo .... Anything else, just ask & TIA .... -- 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 Mon Mar 23 23:45: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 61B94E9F for ; Mon, 23 Mar 2015 23:45:59 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::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 29E5F11E for ; Mon, 23 Mar 2015 23:45:59 +0000 (UTC) Received: by igcau2 with SMTP id au2so57521085igc.0 for ; Mon, 23 Mar 2015 16:45: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=/qAW7vtgemmoO0F2BkMcT/ho7kTzw98hKCSeJj7cVnU=; b=jbMgWWYgZ8v0SIXC/3gJNrH6IAHN8CbxtVTiGT1sw6cROoWDvBVdMS3rdmIA5mXoR0 /uARK4gxznuVtx2rwVd41YK4bHv4cEuFm42gPOxHcrsHCZ1uj7yM7C9pBXYY0F3wKUiK 8UqZoaPjgqJ3JwrNpnII7BdtrYg0YKce28HFJkDRambEGMknANTVjVVj88aodeR9NNI9 l4o+YOiSSn5qPK7hlZemQte2npmNmmlxJipCjfkdiDW1oZBJnmuzzPWNXUrDp9qYNv2X 0ae2M4Ajr+VGjcYkmhpj+yjGiQTl103M62P60m4GAH9IJZl6oqz+ayUlh1RdjhgsRhh/ GNiQ== MIME-Version: 1.0 X-Received: by 10.50.253.12 with SMTP id zw12mr17959723igc.24.1427154358479; Mon, 23 Mar 2015 16:45:58 -0700 (PDT) Received: by 10.36.111.85 with HTTP; Mon, 23 Mar 2015 16:45:58 -0700 (PDT) In-Reply-To: <5510A3AA.3020801@hiwaay.net> References: <5510A3AA.3020801@hiwaay.net> Date: Mon, 23 Mar 2015 19:45:58 -0400 Message-ID: Subject: Re: freebsd-update question From: Jason Unovitch To: "William A. Mahaffey III" Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 23:45:59 -0000 On Mon, Mar 23, 2015 at 7:37 PM, William A. Mahaffey III wrote: > > > I just tried to do a freebsd-update from 9.3-RELEASE-p9 to 9.3-RELEASE-p12. > It only got as far as 9.3-RELEASE-p10, which I am running as I write this. I > was ruinning the update from the console, so I didn't catch most of the > output, but I can recreate the important parts here (I think): > uname(1) would still reflect the kernel version as -p10 as -p11 and -p12 were for the recent OpenSSL updates in SA-15:06 (link below). This is a reason for freebsd-version(1) being introduced in 10.0+ to reduce confusion on userland/kernel versions. https://www.freebsd.org/security/advisories/FreeBSD-SA-15:06.openssl.asc > > [root@kabini1, /etc, 6:33:45pm] 323 % freebsd-update fetch > Looking up update.FreeBSD.org mirrors... 5 mirrors found. > Fetching metadata signature for 9.3-RELEASE from update5.freebsd.org... > done. > Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... done. > > The following files will be added as part of updating to 9.3-RELEASE-p12: > /usr/src/contrib/tzdata/zone1970.tab > /usr/src/crypto/openssl/crypto/constant_time_locl.h > /usr/src/crypto/openssl/crypto/constant_time_test.c > /usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod > /usr/src/crypto/openssl/test/constant_time_test.c > /usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3 > whew !!!! that took (24.262 cpu + 8.140 sys) sec., 0:32.91 elapsed time > tot, 98.4% CPU efficiency > (22 text, 531 data, 5332 max) KB, (2+72) io, 0 pfs + 0 swaps > [root@kabini1, /etc, 6:34:24pm] 324 % freebsd-update install > Installing updates...install: ///usr/src/contrib/tzdata/zone1970.tab: No > such file or directory > install: ///usr/src/crypto/openssl/crypto/constant_time_locl.h: No such file > or directory > install: ///usr/src/crypto/openssl/crypto/constant_time_test.c: No such file > or directory > install: > ///usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod: No > such file or directory > install: ///usr/src/crypto/openssl/test/constant_time_test.c: No such file > or directory > install: > ///usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3: No such > file or directory > done. > [root@kabini1, /etc, 6:34:35pm] 325 % > > This is the last part of what I saw when updating p9 from the console (I > think) .... Whassup here ? Can I indeed go from p9 --> p12 (or p10 --> p12) > in 1 shot ? I am running only plain vanilla RELEASE & pkgs, what am I > missing ? Need anything else, just ask .... > It would appear there is nothing in /usr/src. These errors would be expected since that doesn't exist. You should remove the 'src' keyword current in the default 'Components src world kernel' line in /etc/freebsd-update.conf. That would keep freebsd-update(8) from trying to maintain source and prevent the errors from happening again. Jason From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 01:08: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 AFBBF923 for ; Tue, 24 Mar 2015 01:08:58 +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 6E429BB5 for ; Tue, 24 Mar 2015 01:08:57 +0000 (UTC) Received: from r56.edvax.de (port-92-195-131-196.dynamic.qsc.de [92.195.131.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id C57593CDF0; Tue, 24 Mar 2015 02:01:18 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t2O11HfS002157; Tue, 24 Mar 2015 02:01:18 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 24 Mar 2015 02:01:17 +0100 From: Polytropon To: Matthias Apitz Subject: Re: CPU stress tester Message-Id: <20150324020117.7272af92.freebsd@edvax.de> In-Reply-To: <20150323194225.GA1802@c720-r276659> References: <20150323194225.GA1802@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 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 01:08:58 -0000 On Mon, 23 Mar 2015 20:42:25 +0100, Matthias Apitz wrote: > Do we have mersenne http://www.mersenne.org/download/#stresstest in our > ports or some othetr CPU stress tester? How about sysutils/cpuburn? It's the most famous one. There's also sysutils/stress which can be used for CPU stressing, but can also stress I/O or memory. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 03:30: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 A7F578CC for ; Tue, 24 Mar 2015 03:30:15 +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 608EDD0A for ; Tue, 24 Mar 2015 03:30:14 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-81.adsl.hiwaay.net [216.180.19.81]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2O3UCfE019982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 23 Mar 2015 22:30:12 -0500 Message-ID: <5510DBBB.3040703@hiwaay.net> Date: Mon, 23 Mar 2015 22:36:27 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org Subject: Re: freebsd-update question References: <5510A3AA.3020801@hiwaay.net> 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 03:30:15 -0000 On 03/23/15 18:45, Jason Unovitch wrote: > On Mon, Mar 23, 2015 at 7:37 PM, William A. Mahaffey III wrote: >> >> I just tried to do a freebsd-update from 9.3-RELEASE-p9 to 9.3-RELEASE-p12. >> It only got as far as 9.3-RELEASE-p10, which I am running as I write this. I >> was ruinning the update from the console, so I didn't catch most of the >> output, but I can recreate the important parts here (I think): >> > uname(1) would still reflect the kernel version as -p10 as -p11 and > -p12 were for the recent OpenSSL updates in SA-15:06 (link below). > This is a reason for freebsd-version(1) being introduced in 10.0+ to > reduce confusion on userland/kernel versions. > > https://www.freebsd.org/security/advisories/FreeBSD-SA-15:06.openssl.asc > >> [root@kabini1, /etc, 6:33:45pm] 323 % freebsd-update fetch >> Looking up update.FreeBSD.org mirrors... 5 mirrors found. >> Fetching metadata signature for 9.3-RELEASE from update5.freebsd.org... >> done. >> Fetching metadata index... done. >> Inspecting system... done. >> Preparing to download files... done. >> >> The following files will be added as part of updating to 9.3-RELEASE-p12: >> /usr/src/contrib/tzdata/zone1970.tab >> /usr/src/crypto/openssl/crypto/constant_time_locl.h >> /usr/src/crypto/openssl/crypto/constant_time_test.c >> /usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod >> /usr/src/crypto/openssl/test/constant_time_test.c >> /usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3 >> whew !!!! that took (24.262 cpu + 8.140 sys) sec., 0:32.91 elapsed time >> tot, 98.4% CPU efficiency >> (22 text, 531 data, 5332 max) KB, (2+72) io, 0 pfs + 0 swaps >> [root@kabini1, /etc, 6:34:24pm] 324 % freebsd-update install >> Installing updates...install: ///usr/src/contrib/tzdata/zone1970.tab: No >> such file or directory >> install: ///usr/src/crypto/openssl/crypto/constant_time_locl.h: No such file >> or directory >> install: ///usr/src/crypto/openssl/crypto/constant_time_test.c: No such file >> or directory >> install: >> ///usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod: No >> such file or directory >> install: ///usr/src/crypto/openssl/test/constant_time_test.c: No such file >> or directory >> install: >> ///usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3: No such >> file or directory >> done. >> [root@kabini1, /etc, 6:34:35pm] 325 % >> >> This is the last part of what I saw when updating p9 from the console (I >> think) .... Whassup here ? Can I indeed go from p9 --> p12 (or p10 --> p12) >> in 1 shot ? I am running only plain vanilla RELEASE & pkgs, what am I >> missing ? Need anything else, just ask .... >> > It would appear there is nothing in /usr/src. These errors would be > expected since that doesn't exist. You should remove the 'src' > keyword current in the default 'Components src world kernel' line in > /etc/freebsd-update.conf. That would keep freebsd-update(8) from > trying to maintain source and prevent the errors from happening again. > > Jason > Hmmmmm .... OK, give it a go: [root@kabini1, /etc, 10:33:16pm] 351 % freebsd-update fetch Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 9.3-RELEASE from update6.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 9.3-RELEASE-p12. whew !!!! that took (23.643 cpu + 8.602 sys) sec., 0:32.67 elapsed time tot, 98.6% CPU efficiency (22 text, 524 data, 6644 max) KB, (0+43) io, 0 pfs + 0 swaps [root@kabini1, /etc, 10:34:02pm] 352 % freebsd-update install No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. [root@kabini1, /etc, 10:34:23pm] 353 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p10 FreeBSD 9.3-RELEASE-p10 #0: Tue Feb 24 21:28:03 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 10:34:38pm] 354 % which freebsd-update /usr/sbin/freebsd-update [root@kabini1, /etc, 10:34:59pm] 355 % -- 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 Mar 24 05:09: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 F063C48C for ; Tue, 24 Mar 2015 05:09:45 +0000 (UTC) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) (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 BBBAC8AD for ; Tue, 24 Mar 2015 05:09:45 +0000 (UTC) Received: by oier21 with SMTP id r21so159114029oie.1 for ; Mon, 23 Mar 2015 22:09:44 -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:date:message-id:subject:from:to :content-type; bh=YaQevPVCIDGths6j8Jcx9RUUJClPIsi6cqRDDnHEVaw=; b=YWeS9dZrQnmrlTBHE2oD4whbxAPteD5mB6nHYshTFDj01cQR/S9o1HAxbMo6PAlBI7 ARj34QiGgPbGLyFpZgTeK5CRJYhEVOi/YuXRvPYkTrLDQkzUFtr/azOslpz3GNsaptr7 GltZXlSm6JpabxaMrTl1J2+hwd2X8aNBhX7us9RG04VLB7tnhT6Z2ZClLf5OtnJLjIL9 JR5UEKN6V6d/WRXS41UKahF5johzxOUldQhF/bSsz5u+j+7qXC7U5KpE7VM2XUVApVHM rhdRXHZB1BCPRhr6M574ClqjIHiFOC2ZpApd1cvVdm5uKr4zJBeVTTRsf97Gh9vdBY5t k/vQ== X-Gm-Message-State: ALoCoQmeLvIEo8lDTSEEWBPNdGAN6byTgekUOCmqGX7F1XmsCYShqJTfkdoQrVAB0q+0JMlY3uWu MIME-Version: 1.0 X-Received: by 10.202.218.135 with SMTP id r129mr1887090oig.26.1427173784571; Mon, 23 Mar 2015 22:09:44 -0700 (PDT) Received: by 10.182.60.226 with HTTP; Mon, 23 Mar 2015 22:09:44 -0700 (PDT) X-Originating-IP: [59.167.133.100] Date: Tue, 24 Mar 2015 16:09:44 +1100 Message-ID: Subject: Possible (or smart) to put freebsd-boot on USB stick for root-on-ZFS? From: Jason Birch To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 05:09:46 -0000 Hey there, I'm looking at a relatively old resource (https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE) about how to run root on ZFS for 9.0, and I noticed the section on installing the boot section to all drives that make up the root. In my setup, I'll only be mirroring two SSDs on 10.1, but it made me consider the possibility of having the freebsd-boot partition on a USB stick rather than on each drive itself for basically the following reason: Should an SSD die, I'd need to say "boot from this other device" to get my system back up and running, do the original partitioning magic on the replacement device, get that back into the vdev... Should the USB stick die, I'd need to simply replace it with one that had the same image (that is, only the boot partition), and `zpool replace` a blank device (I won't have a swap partition). However, I can think of some downsides as well - namely that the USB stick is probably more likely to die than the SSDs, and that the image on the USB stick will change over time (This gets mounted as /boot? or am I mistaken here... This would plague the freebsd-boot on the SSDs as well, with drift...) Am I misinterpreting the point of freebsd-boot? Does /boot actually end up living on the ZFS mount, and freebsd-boot just contains enough information to read the kernel and other goodies required to bring up a full system from a ZFS dataset? Is my thought to use a USB stick for this partition a little thick or actually worth trying out? JB From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 07:34: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 4A16AA93 for ; Tue, 24 Mar 2015 07:34:36 +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 D57EAA5D for ; Tue, 24 Mar 2015 07:34:35 +0000 (UTC) Received: from seedling.local ([192.168.100.2]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t2O7YMX0090199 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 24 Mar 2015 07:34:23 GMT (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 t2O7YMX0090199 Authentication-Results: smtp.infracaninophile.co.uk/t2O7YMX0090199; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [192.168.100.2] claimed to be seedling.local Message-ID: <55111373.4070506@FreeBSD.org> Date: Tue, 24 Mar 2015 07:34:11 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg upgrade issue References: <5510A5FF.8060900@hiwaay.net> In-Reply-To: <5510A5FF.8060900@hiwaay.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wmPSXsFo22xNbQbgG1Ak0Ghc292vcBpXQ" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 07:34:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wmPSXsFo22xNbQbgG1Ak0Ghc292vcBpXQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 23/03/2015 23:47, William A. Mahaffey III wrote: > After the previously mentioned issue w/ freebsd-update, I decided to > upgrade my installed pkg's while I was in console mode & logged in as > root. I attach the output from the proceedings. I last pkg-upgraded > about 1 month ago & haven't installed any new stuff since then. FreeBSD= > 9.3-RELEASE-p10, running only GENERIC kernels & std. pkgs, w/ 1 > exception, libflash-whatever to support flash in FireFox & opera. Need > anything else, just ask. TIA .... You've run into a known pkg bug which is fixed in what will be the next release. In your case, it manifests as a conflict between upgrading from php-5.4.x to php-5.6.x (which is a change in the default PHP version in ports IIRC) and individual updates of php modules from 5.4.37 to 5.4.38. Plus a similar change from ruby20 to ruby21. Assuming you're using the default FreeBSD package repositories, you'll want to transition to php56. You can beat the conflicts checking into submission by doing something like this: pkg install -f php56 (which should result in php54 being removed, but not the php54-modules) pkg upgrade You might need to play around with this approach a bit in order to get everything working well. Some combination of forcing updates of key packages, or deleting key packages, upgrading everything else and then reinstalling what you deleted should eventually work. Be sure to pay attention to what pkg says it is going to delete -- it is unfortunately quite easy to end up accidentally deleting something you actually wanted installed. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --wmPSXsFo22xNbQbgG1Ak0Ghc292vcBpXQ 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.20 (Darwin) iQJ8BAEBCgBmBQJVERN9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT7G4P/A1xZ7eQ/H1OZS7AWI2IkrQJ rE6x6P7IPivtDwXxqXOhnBP9S9plJijw7n26wgt58qoogYIyVyTwk8hkryYgexON c0Lmj6BAZ8T01mQa1zKTAXQYEx8SgIrNm9Hlx1UE7TyC+0iSrcTfmEMCHWStzBO7 TcgauFmIpSBbBUzkYueDwF603rPdajzdueH/yIeqiPkHclWpv6xnR7+bMuc+aAIh IUo4lTtb6vW2mfgp5QOWHC1LVp733ymuEkzFQ1+WAsV4FS/aHrNZnBgkQSJkopad GmLUHvv9dWrXiE6IzUnszCLvftU7XemAf0ujF0Vexq/Xn67RrrvxPXXvzbp5Yzb3 jnbXGEhCYLHaesMGD9buqshdDmMHXXvqzpGzpdWmWSZYDZIcooEPkCKwQrbqUd6m vf6FxoiMIGQPtgSSwL5GKyEbUtSz9MDLOTOg6nhSfvjj+aP2zidLQo7pSB9dBF05 I7CkTwspYw8Gg7vB4zDiUyy6HSsNRej19UNUYAsn1frp1SZ+NVgCgl6PB1AnSb8C bsUDLJYLiPqO6aYNCnOqrtAPhtFBk6agfbbMul8AAgki9yLVbwzmTP1xbUVFF/xr t8hfHYHB0yzhBkLFli4vwG+ZTbkAGkyQ0I6RL/UldP907apFj2j4+K0h+iCygBbw zfCxl2NcLegMztvf4ZWE =Qkwp -----END PGP SIGNATURE----- --wmPSXsFo22xNbQbgG1Ak0Ghc292vcBpXQ-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 07:49: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 AD3DEEC7 for ; Tue, 24 Mar 2015 07:49:47 +0000 (UTC) Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com [IPv6:2607:f8b0:4002: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 64779BDD for ; Tue, 24 Mar 2015 07:49:47 +0000 (UTC) Received: by yhch68 with SMTP id h68so80368957yhc.1 for ; Tue, 24 Mar 2015 00:49:46 -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=xWLLDrtvWvoFFn+QezwfOYXjT6jkebN88vQwAzoR348=; b=GmC22esYH7FcFXVzxnB+uOOj0cgx6qLq884mViDRhE4P8Fp7W5feutURyX2/6CvHDq oDOruy1vSIUat94y2ED78ez2J+Z1G2zVKUIXZl2pnTLCNkJzJRh4X3vh0MHiGDMCe44e WTffOPc1Jx6QBzd121Nel/ML8jgXm4tuUiKRyT1Pb6oK0JkcMliOj2VdxwEn1Ibb4rVg M/3nZxzEsugpRqP0j9P0ax1j6TCFwEewD+XwO6z5p1kPpQwaOd/dK1SnjDn7Qtr73VkZ FPxAkIoRLDjPwuePHXQaudsgHhYq9KLUQBAWXGpz9IyVs99I7aSdt2ZGdMgi9u+mwLVU Mhlg== MIME-Version: 1.0 X-Received: by 10.170.117.86 with SMTP id j83mr3796777ykb.8.1427183386395; Tue, 24 Mar 2015 00:49:46 -0700 (PDT) Received: by 10.170.60.69 with HTTP; Tue, 24 Mar 2015 00:49:46 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Mar 2015 00:49:46 -0700 Message-ID: Subject: Re: Possible (or smart) to put freebsd-boot on USB stick for root-on-ZFS? From: Mehmet Erol Sanliturk To: Jason Birch Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 07:49:47 -0000 On Mon, Mar 23, 2015 at 10:09 PM, Jason Birch wrote: > Hey there, > > I'm looking at a relatively old resource > (https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE) about how > to run root on ZFS for 9.0, and I noticed the section on installing > the boot section to all drives that make up the root. In my setup, > I'll only be mirroring two SSDs on 10.1, but it made me consider the > possibility of having the freebsd-boot partition on a USB stick rather > than on each drive itself for basically the following reason: > > Should an SSD die, I'd need to say "boot from this other device" to > get my system back up and running, do the original partitioning magic > on the replacement device, get that back into the vdev... Should the > USB stick die, I'd need to simply replace it with one that had the > same image (that is, only the boot partition), and `zpool replace` a > blank device (I won't have a swap partition). > > However, I can think of some downsides as well - namely that the USB > stick is probably more likely to die than the SSDs, and that the image > on the USB stick will change over time (This gets mounted as /boot? or > am I mistaken here... This would plague the freebsd-boot on the SSDs > as well, with drift...) > > Am I misinterpreting the point of freebsd-boot? Does /boot actually > end up living on the ZFS mount, and freebsd-boot just contains enough > information to read the kernel and other goodies required to bring up > a full system from a ZFS dataset? Is my thought to use a USB stick for > this partition a little thick or actually worth trying out? > > JB > _______________________________________________ > > Not a direct answer to your question , but only an example : I was using a FULL installation previously : Everything on the SAME HDD . When it was becoming necessary to install a new operating system , I was using another HDD and after installation on it the new OS , I was copying my files ( in my home directory in previous HDD ) into new installed HDD . This was taking approximately twelve hours . I one instance , my OS has been corrupted by a malicious inject ( this is my suspect because I could not find a true reason for what was the attack through "Bash" ) . Now , I am using the following set up : I am using TWO HDDs : One is ONLY OS , and other is for my data files ( all of them downloaded from Internet as open source project files ) mounted after installation of OS . When I want to upgrade to a new OS , I am using a NEW HDD ( I am NOT installing onto existing HDD ) by disconnecting power of existing OS and data HDDs . After installing the new OS and verifying that it is working correctly , I am powering the data HDD and using an fstab entry to mount it . I am keeping the old OS HDD for a NEW install . My suggestion : Use a USB stick or HDD ( revolving platter or SSD ) for ONLY OS and OTHER HDDs for your data files . OS my be on any convenient medium : revolving HDD , SSD , USB stick , it is not important . It may be in any form , it is not important . Important point is for your convenience : You may select any form . You may generate any number of copies of it as a spare for possible failures of used OS device : In case of failure , the only thing is to do is to shut down the computer , attach a spare OS medium and boot the computer . I am not using RAID , but "rsync" : one with -"-delete" as a replication of current data disk , another without "--delete" for fear of accidental deletions . I wish that my example may be useful for you . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 08:29:20 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 6BDB59A4 for ; Tue, 24 Mar 2015 08:29:20 +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 F32F6F57 for ; Tue, 24 Mar 2015 08:29:19 +0000 (UTC) Received: from r56.edvax.de (port-92-195-131-196.dynamic.qsc.de [92.195.131.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id DE9813CD96; Tue, 24 Mar 2015 09:29:14 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t2O8TEK2004469; Tue, 24 Mar 2015 09:29:14 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 24 Mar 2015 09:29:14 +0100 From: Polytropon To: Mehmet Erol Sanliturk Subject: Re: Possible (or smart) to put freebsd-boot on USB stick for root-on-ZFS? Message-Id: <20150324092914.ed0ebb7f.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 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 08:29:20 -0000 On Tue, 24 Mar 2015 00:49:46 -0700, Mehmet Erol Sanliturk wrote: > I was using a FULL installation previously : Everything on the SAME HDD . > When it was becoming necessary to install a new operating system , I was > using another HDD and after installation on it the new OS , I was copying > my files ( in my home directory in previous HDD ) into new installed HDD . > This was taking approximately twelve hours . This setup gives you the ability to relapse to the old "state" whenever something fails - both the OS and your files will be as you left them. I think the main problem here is the copying process. If you are using separate UFS partitions, using dump and restore to transfer files might be quicker than "stupid" copying. > I one instance , my OS has been corrupted by a malicious inject ( this is > my suspect because I could not find a true reason for what was the attack > through "Bash" ) . The "modern" installation method of "curl ... | sudo bash" maybe? ;-) > Now , I am using the following set up : > > > I am using TWO HDDs : > > One is ONLY OS , and other is for my data files ( all of them downloaded > from Internet as open source project files ) mounted after installation of > OS . This is a good approach. In case you can't use separate disks, at least use separate UFS partitions. If you're using ZFS, you can apply the restriction that /home is not mounted during OS installation or upgrade. > When I want to upgrade to a new OS , I am using a NEW HDD ( I am NOT > installing onto existing HDD ) by disconnecting power of existing OS and > data HDDs . This will also help you to avoid accidental messing with boot records or partition tables. I "happily" remember the OS/2 installer damaging my partition table, and I had to reconstruct it manually with a hex editor and a handheld calculator. :-) > After installing the new OS and verifying that it is working correctly , I > am powering the data HDD and using an fstab entry to mount it . You can do something similar with ZFS and connected disks: Use boot environments as known on Solaris. Create a snapshot of the working installation first. Then install the new OS. Boot into that environment and check if everything works. Make sure /home is out of scope, just in case. And if you're happy with it, you can delete the snapshot. If not - make it the active installation again and purge the damaged new install. See the "beadm" port for details. > Use a USB stick or HDD ( revolving platter or SSD ) for ONLY OS and OTHER > HDDs for your data files . > > > OS my be on any convenient medium : revolving HDD , SSD , USB stick , it is > not important . If you don't mind longer startup times, you can even use a SD card in an USB enclosure, or a USB stick. This makes it possible to have "pluggable OS versions", like "beadm in hardware". :-) > You may generate any number of copies of it as a spare for possible > failures of used OS device : > In case of failure , the only thing is to do is to shut down the computer , > attach a spare OS medium and boot the computer . Exactly. BEs allow you to do this with your regular set of hard disks. However, by applying ultimate fat fingers, you can still damage things. It's way harder to do that when your old install is on a separate physical disk, disconnected, safely stored. > I am not using RAID , but "rsync" : one with -"-delete" as a replication > of current data disk , another without "--delete" for fear of accidental > deletions . Also have a look at cpdup, it's very handy. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 08:56: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 EADFFFBA for ; Tue, 24 Mar 2015 08:56:55 +0000 (UTC) Received: from mail-yh0-x230.google.com (mail-yh0-x230.google.com [IPv6:2607:f8b0:4002:c01::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 A10AF277 for ; Tue, 24 Mar 2015 08:56:55 +0000 (UTC) Received: by yhch68 with SMTP id h68so80936580yhc.1 for ; Tue, 24 Mar 2015 01:56: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 :cc:content-type; bh=uEmOz9zSQ97GZvDdSiCzRXvjYRuRCgJ5TcvomcMX8K4=; b=HiqZwDw+BWPopg1zRRdGdZNS/giWRwNprdzZtaaj1lgr/blQioKDrhTLkBHFPtAoNU t69wKz/CZqC90kuvBat2l0WarMmr6wcMdELjDVhDy1VaxKql3iFjH5/oJo+ZG6UfISNi VoyT3Pyr80fTJeHYuMaPWfTdjiTYyoUUDQDNmFqaejPvPY5+BPBKErBC12GNzfS0FyrB q1uZ5OOnpRxjyvasO34yiAFTwnFx3wxrKCGj9bkqiAu4VsaXU2hIv7jP/cXudPUHmkEu xsgb+NWQ8UOs+p1lco3UyyBBcYHFq4MFNU+flNvNtpZ7pG/uAlsS8rmWemN+VCLlvYnV q7lA== MIME-Version: 1.0 X-Received: by 10.236.221.136 with SMTP id r8mr3188545yhp.137.1427187414869; Tue, 24 Mar 2015 01:56:54 -0700 (PDT) Received: by 10.170.60.69 with HTTP; Tue, 24 Mar 2015 01:56:54 -0700 (PDT) In-Reply-To: <20150324092914.ed0ebb7f.freebsd@edvax.de> References: <20150324092914.ed0ebb7f.freebsd@edvax.de> Date: Tue, 24 Mar 2015 01:56:54 -0700 Message-ID: Subject: Re: Possible (or smart) to put freebsd-boot on USB stick for root-on-ZFS? From: Mehmet Erol Sanliturk To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 08:56:56 -0000 On Tue, Mar 24, 2015 at 1:29 AM, Polytropon wrote: > On Tue, 24 Mar 2015 00:49:46 -0700, Mehmet Erol Sanliturk wrote: > > I was using a FULL installation previously : Everything on the SAME HDD . > > When it was becoming necessary to install a new operating system , I was > > using another HDD and after installation on it the new OS , I was copying > > my files ( in my home directory in previous HDD ) into new installed HDD > . > > This was taking approximately twelve hours . > > This setup gives you the ability to relapse to the old "state" > whenever something fails - both the OS and your files will be > as you left them. I think the main problem here is the copying > process. If you are using separate UFS partitions, using dump > and restore to transfer files might be quicker than "stupid" > copying. > > > > > I one instance , my OS has been corrupted by a malicious inject ( this is > > my suspect because I could not find a true reason for what was the attack > > through "Bash" ) . > > The "modern" installation method of "curl ... | sudo bash" maybe? ;-) > > > > > Now , I am using the following set up : > > > > > > I am using TWO HDDs : > > > > One is ONLY OS , and other is for my data files ( all of them downloaded > > from Internet as open source project files ) mounted after installation > of > > OS . > > This is a good approach. In case you can't use separate disks, > at least use separate UFS partitions. If you're using ZFS, you > can apply the restriction that /home is not mounted during OS > installation or upgrade. > > > > > When I want to upgrade to a new OS , I am using a NEW HDD ( I am NOT > > installing onto existing HDD ) by disconnecting power of existing OS and > > data HDDs . > > This will also help you to avoid accidental messing with boot > records or partition tables. I "happily" remember the OS/2 installer > damaging my partition table, and I had to reconstruct it manually > with a hex editor and a handheld calculator. :-) > > > > > After installing the new OS and verifying that it is working correctly , > I > > am powering the data HDD and using an fstab entry to mount it . > > You can do something similar with ZFS and connected disks: Use > boot environments as known on Solaris. Create a snapshot of the > working installation first. Then install the new OS. Boot into > that environment and check if everything works. Make sure /home > is out of scope, just in case. And if you're happy with it, you > can delete the snapshot. If not - make it the active installation > again and purge the damaged new install. See the "beadm" port > for details. > > > > > Use a USB stick or HDD ( revolving platter or SSD ) for ONLY OS and OTHER > > HDDs for your data files . > > > > > > OS my be on any convenient medium : revolving HDD , SSD , USB stick , it > is > > not important . > > If you don't mind longer startup times, you can even use a SD > card in an USB enclosure, or a USB stick. This makes it possible > to have "pluggable OS versions", like "beadm in hardware". :-) > > > > > You may generate any number of copies of it as a spare for possible > > failures of used OS device : > > In case of failure , the only thing is to do is to shut down the > computer , > > attach a spare OS medium and boot the computer . > > Exactly. BEs allow you to do this with your regular set of hard > disks. However, by applying ultimate fat fingers, you can still > damage things. It's way harder to do that when your old install > is on a separate physical disk, disconnected, safely stored. > > > > > I am not using RAID , but "rsync" : one with -"-delete" as a replication > > of current data disk , another without "--delete" for fear of accidental > > deletions . > > Also have a look at cpdup, it's very handy. > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > In my set up , my /home/user_name is in OS disk for login purposes and it is mainly empty , it is not in data disks . On NEW OS installs , I am using the SAME user name ( not password ) to prevent user changes in data disks . Data disks are mounted on different directories such as /Data_Files /Saved_Files_A An external HDD ( ntfs ) , synchronized through .../media/... in Linux ( auto mounted when attached ). ( In FreeBSD , this may be an internal HDD mounted by "fstab" into a directory such as /Saved_Files_B and formatted as like /Saved_Files_A or different ( one UFS , other ZFS , etc. ) . ) Owner of /Data_Files /Saved_Files_A directories are my user_name , not "root" . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 09:08:17 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 9C3D7325 for ; Tue, 24 Mar 2015 09:08:17 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) (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 61E323E6 for ; Tue, 24 Mar 2015 09:08:16 +0000 (UTC) Received: by oigv203 with SMTP id v203so162410162oig.3 for ; Tue, 24 Mar 2015 02:08:10 -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:content-type; bh=QfXepDuaW/FG0jI/ITZSWMCQliIPIgd5RKcTE4X9qE8=; b=Dy77paVwg7f0nB+Gy9b4LCj+ixwePZjp+lU2uGMETYogItb9S1P+cgHCreHwcZtBJV i2tdZytkxY92aTzvDL02P63cE2cvgnuJmUf1+4rE2Hm7wIEZmXPjWm2GI/XY0gyQ9qgM ODtt6txF1UIBO4JeWKxX8JZ0G6f8NswD+0uuEHiYNV33aPZsrHm+46qlLOpzyX9WVADk F3bRTcJxoGaF/q5olPZ2x9OXDj4NV6M8e2siChPD+3vEmkohEWF2SaqPNJ7X7G2jwZg4 kM49QnlDs3lQOlWA1AuCMbRhpY+69dje5O9YAzUcF4L1NltF8QGRt5Cb8iS2+hqy+jHi vANg== X-Gm-Message-State: ALoCoQl4ihYNHGjVO17mA6Z23DwRsUD7KTZrmgLvHRwoTBfCpqGiGqmAyUKHE5/GGpSMkELedrFJ MIME-Version: 1.0 X-Received: by 10.60.46.66 with SMTP id t2mr2516427oem.60.1427188090146; Tue, 24 Mar 2015 02:08:10 -0700 (PDT) Received: by 10.182.60.226 with HTTP; Tue, 24 Mar 2015 02:08:10 -0700 (PDT) X-Originating-IP: [2001:44b8:31b0:aa00:5f1:71a8:8124:8af7] In-Reply-To: References: <20150324092914.ed0ebb7f.freebsd@edvax.de> Date: Tue, 24 Mar 2015 20:08:10 +1100 Message-ID: Subject: Fwd: Possible (or smart) to put freebsd-boot on USB stick for root-on-ZFS? From: Jason Birch To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 09:08:17 -0000 On Tue, Mar 24, 2015 at 7:56 PM, Mehmet Erol Sanliturk wrote: > On Tue, Mar 24, 2015 at 1:29 AM, Polytropon wrote: >> On Tue, 24 Mar 2015 00:49:46 -0700, Mehmet Erol Sanliturk wrote: While I appreciate the discussion this has generated, it's not quite related to the questions I had around the freebsd-boot partition alone being on some removable media, and I'd like to try and steer the discussion back in that direction for my benefit (obviously ;)) and for the benefit of anyone trawling the lists looking for a similar answer. For the record, this will be for a reasonably large ZFS file server, and so having things like the home directories live on the larger ZFS volume (and not the mirrored SSDs) is something I'll probably be doing. However, it's more about the partitioning and device arrangement once the machine has booted, and that's not quite what I'm having difficulties understanding. I will, of course, be trying these things out myself on the weekend. But I'm also hoping for some experiences from those who have tried, or who know the innards of freebsd-boot enough to know without trying, such a set up. Thanks, and sorry for being a downer, JB From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 11:39: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 DEF3B358 for ; Tue, 24 Mar 2015 11:39:55 +0000 (UTC) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) (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 68E43A01 for ; Tue, 24 Mar 2015 11:39:54 +0000 (UTC) Received: from [87.79.194.195] (helo=fabiankeil.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1YaN6K-0005Bt-SB for freebsd-questions@freebsd.org; Tue, 24 Mar 2015 12:34:29 +0100 Date: Tue, 24 Mar 2015 12:34:31 +0100 From: Fabian Keil To: freebsd-questions@freebsd.org Subject: Re: Possible (or smart) to put freebsd-boot on USB stick for root-on-ZFS? Message-ID: <36a7230b.16ee04db@fabiankeil.de> In-Reply-To: References: <20150324092914.ed0ebb7f.freebsd@edvax.de> Reply-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/_QcipiFMh377mmS+Yk/ngQI"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 11:39:56 -0000 --Sig_/_QcipiFMh377mmS+Yk/ngQI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Jason Birch wrote: > On Tue, Mar 24, 2015 at 7:56 PM, Mehmet Erol Sanliturk > wrote: > > On Tue, Mar 24, 2015 at 1:29 AM, Polytropon wrote: > >> On Tue, 24 Mar 2015 00:49:46 -0700, Mehmet Erol Sanliturk wrote: >=20 > While I appreciate the discussion this has generated, it's not quite > related to the questions I had around the freebsd-boot partition alone > being on some removable media, and I'd like to try and steer the > discussion back in that direction for my benefit (obviously ;)) and > for the benefit of anyone trawling the lists looking for a similar > answer. >=20 > For the record, this will be for a reasonably large ZFS file server, > and so having things like the home directories live on the larger ZFS > volume (and not the mirrored SSDs) is something I'll probably be > doing. However, it's more about the partitioning and device > arrangement once the machine has booted, and that's not quite what I'm > having difficulties understanding. The freebsd-boot partition merely contains gptzfsboot(8). The kernel gets loaded from a freebsd-zfs partition which can, but doesn't have to, also contain (parts of) the ZFS root pool. Given how small it is, I don't see any advantage in putting the freebsd-boot partition and the freebsd-zfs partition that contains the kernel on different devices, but putting both on multiple devices obviously makes the system more robust against certain failures. Kernel parts that aren't required for the system to boot do not have to be on the same ZFS pool as the kernel parts that are. Nowadays I use system disk layouts like this: $ gpart show ada0 =3D> 40 1250263648 ada0 GPT (596G) 40 128 1 freebsd-boot (64K) 168 1880 - free - (940K) 2048 409600 2 freebsd-zfs (200M) 411648 8388608 3 freebsd-zfs (4.0G) 8800256 8388608 4 freebsd-swap (4.0G) 17188864 1233074816 5 freebsd-zfs (588G) 1250263680 8 - free - (4.0K) That's ElectroBSD's default layout but obviously also works for vanilla FreeBSD. Partition 2 contains the (unencrypted) ZFS boot pool with the kernel parts required for booting, partition 3 contains the encrypted root pool with a complete /boot, and partition 5 contains an encrypted ZFS data pool (optional). Once the system is up, the ZFS boot pool can be erased to harden the system against unsophisticated physical attacks. If you aren't using encryption, splitting /boot probably has no advantage. To finally answer the question in the subject: I think it's a pretty good idea to keep a bootable USB stick around for recovery purposes, but on production servers I do not put the standard ZFS pools or the standard freebsd-boot partition on USB sticks. I sometimes do it for test systems, though. On most of my systems it works out of the box, some need the patch from: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198563 Fabian --Sig_/_QcipiFMh377mmS+Yk/ngQI Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlURS8cACgkQBYqIVf93VJ3aIACeOGho1SrpoFHHpiRUzz5bqblR IBkAnjtNBLmGeXPznpI9e45Bl4h6dn55 =701F -----END PGP SIGNATURE----- --Sig_/_QcipiFMh377mmS+Yk/ngQI-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 11:58: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 34D1951C for ; Tue, 24 Mar 2015 11:58:02 +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 6000CC0A for ; Tue, 24 Mar 2015 11:58:00 +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 t2OBt9Ua014158; Tue, 24 Mar 2015 11:55:10 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <5511509D.6070708@qeng-ho.org> Date: Tue, 24 Mar 2015 11:55:09 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Jason Birch , "freebsd-questions@freebsd.org" Subject: Re: Fwd: Possible (or smart) to put freebsd-boot on USB stick for root-on-ZFS? References: <20150324092914.ed0ebb7f.freebsd@edvax.de> 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 11:58:02 -0000 On 24/03/2015 09:08, Jason Birch wrote: > On Tue, Mar 24, 2015 at 7:56 PM, Mehmet Erol Sanliturk > wrote: >> On Tue, Mar 24, 2015 at 1:29 AM, Polytropon wrote: >>> On Tue, 24 Mar 2015 00:49:46 -0700, Mehmet Erol Sanliturk wrote: > > While I appreciate the discussion this has generated, it's not quite > related to the questions I had around the freebsd-boot partition alone > being on some removable media, and I'd like to try and steer the > discussion back in that direction for my benefit (obviously ;)) and > for the benefit of anyone trawling the lists looking for a similar > answer. > > For the record, this will be for a reasonably large ZFS file server, > and so having things like the home directories live on the larger ZFS > volume (and not the mirrored SSDs) is something I'll probably be > doing. However, it's more about the partitioning and device > arrangement once the machine has booted, and that's not quite what I'm > having difficulties understanding. > > I will, of course, be trying these things out myself on the weekend. > But I'm also hoping for some experiences from those who have tried, or > who know the innards of freebsd-boot enough to know without trying, > such a set up. Sounds like you might want to take a look at the FreeNAS web site, as that's the sort of thing it does. I've not used it myself, but when configuring a new file server I picked up various ideas from the forums there, and one thing I noted in passing was that FreeNAS is often run from a memory stick, leaving the main disks entirely free for data pools. I.e. both the boot partition and / are on the memstick. You don't need all of the root partition to boot the kernel, just /boot, but I don't know whether the gpt*boot programs require /boot to be on the same drive as they are on. I suspect it's highly likely as the boot programs are usually fairly simple. This would mean you'd need two partitions on the memstick, for the boot code and /boot, and suitable entries in /boot/loader.conf > Thanks, and sorry for being a downer, Quite understandable. Discussions here are often enlightening, or at least amusing, to the general reader, but if you want a specific question answered they can be infuriating. BT,DT. -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 12:57:43 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 731128E6 for ; Tue, 24 Mar 2015 12:57:43 +0000 (UTC) Received: from vms173021pub.verizon.net (vms173021pub.verizon.net [206.46.173.21]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50658268 for ; Tue, 24 Mar 2015 12:57:42 +0000 (UTC) Received: from wintermute.jnetmtb.no-ip.org ([108.44.30.115]) by vms173021.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NLP006TXT721050@vms173021.mailsrvcs.net> for freebsd-questions@freebsd.org; Tue, 24 Mar 2015 06:57:03 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=QtXpBu2Y c=1 sm=1 tr=0 a=hdJ8iElEmDVaPlIzXF8MaQ==:117 a=zZ9HcUfB-3oA:10 a=IkcTkHD0fZMA:10 a=o1OHuDzbAAAA:8 a=PwvSRcgRAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=emO1SXQWCLwA:10 a=0UVH4XlCofHRfbFGnLAA:9 a=QEXdDO2ut3YA:10 Message-id: <5511510E.1080809@verizon.net> Date: Tue, 24 Mar 2015 07:57:02 -0400 From: Jason Selwitz User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-version: 1.0 To: freebsd-questions@freebsd.org Subject: Kernel build errors after Buildworld Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 12:57:43 -0000 Hello, I was wondering if someone could help shed some light on this for me, I recently attempted to upgrade from 10.0 to 10.1 from source, while the buildworld finished fine the kernel build failed with the following errors.. /usr/src/sys/modules/ciss/../../dev/ciss/ciss.c:1210:23: error: no member named 'big_map_supported' in 'struct ciss_bmic_id_table' if (!sc->ciss_id->big_map_supported) { ~~~~~~~~~~~ ^ /usr/src/sys/modules/ciss/../../dev/ciss/ciss.c:1240:55: error: no member named 'scsi_bus_count' in 'struct ciss_bmic_id_table'; did you mean 'scsi_chip_count'? ciss_printf(sc, " %d SCSI channels\n", sc->ciss_id->scsi_bus_count); ^~~~~~~~~~~~~~ scsi_chip_count @/dev/ciss/cissvar.h:302:75: note: expanded from macro 'ciss_printf' ...fmt, args...) device_printf(sc->ciss_dev, fmt , ##args) ^ @/dev/ciss/cissreg.h:655:14: note: 'scsi_chip_count' declared here u_int8_t scsi_chip_count; ^ I was hoping someone here might have some suggestions.. I can provide any output necessary.. thanks again! Jason From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 13:54: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 2B615A37 for ; Tue, 24 Mar 2015 13:54:00 +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 D0555B6D for ; Tue, 24 Mar 2015 13:53:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t2ODrord030583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 24 Mar 2015 07:53:51 -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 t2ODro4G030578; Tue, 24 Mar 2015 07:53:50 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 24 Mar 2015 07:53:50 -0600 (MDT) From: Warren Block To: Jason Birch Subject: Re: Possible (or smart) to put freebsd-boot on USB stick for root-on-ZFS? 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]); Tue, 24 Mar 2015 07:53:51 -0600 (MDT) Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 13:54:00 -0000 On Tue, 24 Mar 2015, Jason Birch wrote: > Hey there, > > I'm looking at a relatively old resource > (https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE) about how > to run root on ZFS for 9.0, and I noticed the section on installing > the boot section to all drives that make up the root. In my setup, > I'll only be mirroring two SSDs on 10.1, but it made me consider the > possibility of having the freebsd-boot partition on a USB stick rather > than on each drive itself for basically the following reason: > > Should an SSD die, I'd need to say "boot from this other device" to > get my system back up and running, do the original partitioning magic > on the replacement device, get that back into the vdev... Should the > USB stick die, I'd need to simply replace it with one that had the > same image (that is, only the boot partition), and `zpool replace` a > blank device (I won't have a swap partition). > > However, I can think of some downsides as well - namely that the USB > stick is probably more likely to die than the SSDs, and that the image > on the USB stick will change over time (This gets mounted as /boot? or > am I mistaken here... This would plague the freebsd-boot on the SSDs > as well, with drift...) The freebsd-boot partition does not have a filesystem. The only thing in it is the binary bootcode, like gptzfsboot(8). > Am I misinterpreting the point of freebsd-boot? Does /boot actually > end up living on the ZFS mount, and freebsd-boot just contains enough > information to read the kernel and other goodies required to bring up > a full system from a ZFS dataset? That is correct. > Is my thought to use a USB stick for this partition a little thick or > actually worth trying out? The bootcode changes rarely, and is usually not a problem. Having a separate, duplicate /boot is sometimes done for geli(8). It's kind of a pain, because changes must be made in two places. For a mirror with the OS on it, I'd put a freebsd-boot partition on each drive, manually install the bootcode to each, and call it good. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 14:53: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 071FC63C for ; Tue, 24 Mar 2015 14:53:41 +0000 (UTC) Received: from oslo.ath.cx (oslo.ath.cx [IPv6:2a01:4f8:200:42e4::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oslo.ath.cx", Issuer "oslo.ath.cx" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 69C262F1 for ; Tue, 24 Mar 2015 14:53:40 +0000 (UTC) Received: by oslo.ath.cx (OpenSMTPD) with ESMTP id 7122674a; Tue, 24 Mar 2015 15:53:37 +0100 (CET) Date: Tue, 24 Mar 2015 15:53:37 +0100 From: "Herbert J. Skuhra" To: Jason Selwitz Subject: Re: Kernel build errors after Buildworld Message-ID: <20150324145337.GB9297@oslo.ath.cx> References: <5511510E.1080809@verizon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5511510E.1080809@verizon.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 14:53:41 -0000 On Tue, Mar 24, 2015 at 07:57:02AM -0400, Jason Selwitz wrote: > Hello, > > I was wondering if someone could help shed some light on this for me, > I recently attempted to upgrade from 10.0 to 10.1 from source, while the > buildworld finished fine the kernel build failed with the following errors.. > > /usr/src/sys/modules/ciss/../../dev/ciss/ciss.c:1210:23: error: no > member named > 'big_map_supported' in 'struct ciss_bmic_id_table' > if (!sc->ciss_id->big_map_supported) { > ~~~~~~~~~~~ ^ > /usr/src/sys/modules/ciss/../../dev/ciss/ciss.c:1240:55: error: no > member named > 'scsi_bus_count' in 'struct ciss_bmic_id_table'; did you mean > 'scsi_chip_count'? > ciss_printf(sc, " %d SCSI channels\n", > sc->ciss_id->scsi_bus_count); > ^~~~~~~~~~~~~~ > scsi_chip_count > @/dev/ciss/cissvar.h:302:75: note: expanded from macro 'ciss_printf' > ...fmt, args...) device_printf(sc->ciss_dev, fmt , ##args) > ^ > @/dev/ciss/cissreg.h:655:14: note: 'scsi_chip_count' declared here > u_int8_t scsi_chip_count; > ^ > > I was hoping someone here might have some suggestions.. I can provide > any output necessary.. thanks again! Something is wrong with your /usr/src. Try a fresh checkout! -- Herbert From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 15:03: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 05B0F948 for ; Tue, 24 Mar 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 C08485E6 for ; Tue, 24 Mar 2015 15:03:48 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-22.adsl.hiwaay.net [216.180.19.22]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2OF3kvQ004208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 24 Mar 2015 10:03:46 -0500 Message-ID: <55117E49.30103@hiwaay.net> Date: Tue, 24 Mar 2015 10:10:01 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg upgrade issue References: <5510A5FF.8060900@hiwaay.net> <55111373.4070506@FreeBSD.org> In-Reply-To: <55111373.4070506@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 15:03:49 -0000 On 03/24/15 02:34, Matthew Seaman wrote: > On 23/03/2015 23:47, William A. Mahaffey III wrote: >> After the previously mentioned issue w/ freebsd-update, I decided to >> upgrade my installed pkg's while I was in console mode & logged in as >> root. I attach the output from the proceedings. I last pkg-upgraded >> about 1 month ago & haven't installed any new stuff since then. FreeBSD >> 9.3-RELEASE-p10, running only GENERIC kernels & std. pkgs, w/ 1 >> exception, libflash-whatever to support flash in FireFox & opera. Need >> anything else, just ask. TIA .... > You've run into a known pkg bug which is fixed in what will be the next > release. In your case, it manifests as a conflict between upgrading > from php-5.4.x to php-5.6.x (which is a change in the default PHP > version in ports IIRC) and individual updates of php modules from 5.4.37 > to 5.4.38. Plus a similar change from ruby20 to ruby21. > > Assuming you're using the default FreeBSD package repositories, you'll > want to transition to php56. You can beat the conflicts checking into > submission by doing something like this: > > pkg install -f php56 (which should result in php54 being > removed, but not the php54-modules) > pkg upgrade > > You might need to play around with this approach a bit in order to get > everything working well. Some combination of forcing updates of key > packages, or deleting key packages, upgrading everything else and then > reinstalling what you deleted should eventually work. > > Be sure to pay attention to what pkg says it is going to delete -- it is > unfortunately quite easy to end up accidentally deleting something you > actually wanted installed. > > Cheers, > > Matthew > Thanks, this got me going. I had tried 'pkg install -y php56' before, still nogo. The '-f' still didn't work the 1st time, but listed the problem pkg's, which I manually deleted, then did the 'install -f php56', which worked AOK, then the upgrade, which also worked AOK :-). *Yippeeee* !!!! Now if I can get that freebsd-update situation fixed .... -- 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 Mar 24 18:23: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 B3A1B663 for ; Tue, 24 Mar 2015 18:23:11 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::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 78F20129 for ; Tue, 24 Mar 2015 18:23:11 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so5016306ied.1 for ; Tue, 24 Mar 2015 11:23:11 -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=LBVFHA/rI46k+4ChVsGvOWg+GNDDujAzoscEigPJyug=; b=LnmZ8NgjXuBNeW9o9rn3kfUKG3wRL4JU4TpxfTzgWDGRotyNIpNxuiiXIDiK6ZxU88 J49mocCnf6bUqoV11ngfjlibEMDFMidJPbmLQRS6X4v/kc19NGV9XED9CeQwEWN40Td0 //4Jyp7rlg+FG7weth4zHBLzJ3cXbZQgU8EdXImG7ouOPaGQOsSTo2MEAKlCDL6uzHL2 O6Zfkm7bb6CfSvUZxiQcbWsSYabZQmv0na6gcswsMKsZj16aul+MBnpLiaRuDAJnva7o 9XhuqhBeYB5my6dawmcEB8miniOdI2e7tRTbON1k1AKaB3WRSZG49LYOB0WviikngrvL rDOA== MIME-Version: 1.0 X-Received: by 10.50.137.2 with SMTP id qe2mr5039619igb.20.1427221390962; Tue, 24 Mar 2015 11:23:10 -0700 (PDT) Received: by 10.107.6.8 with HTTP; Tue, 24 Mar 2015 11:23:10 -0700 (PDT) In-Reply-To: <5510DBBB.3040703@hiwaay.net> References: <5510A3AA.3020801@hiwaay.net> <5510DBBB.3040703@hiwaay.net> Date: Tue, 24 Mar 2015 12:23:10 -0600 Message-ID: Subject: Re: freebsd-update question From: Paul Smith To: "William A. Mahaffey III" Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 18:23:11 -0000 >> It would appear there is nothing in /usr/src. These errors would be >> expected since that doesn't exist. You should remove the 'src' >> keyword current in the default 'Components src world kernel' line in >> /etc/freebsd-update.conf. That would keep freebsd-update(8) from >> trying to maintain source and prevent the errors from happening again. >> >> Jason >> > > Hmmmmm .... OK, give it a go: > > [root@kabini1, /etc, 10:33:16pm] 351 % freebsd-update fetch > Looking up update.FreeBSD.org mirrors... 5 mirrors found. > Fetching metadata signature for 9.3-RELEASE from update6.freebsd.org... > done. > Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... done. > > No updates needed to update system to 9.3-RELEASE-p12. > whew !!!! that took (23.643 cpu + 8.602 sys) sec., 0:32.67 elapsed time > tot, 98.6% CPU efficiency > (22 text, 524 data, 6644 max) KB, (0+43) io, 0 pfs + 0 swaps > [root@kabini1, /etc, 10:34:02pm] 352 % freebsd-update install > No updates are available to install. When you ran freebsd-update fetch you received the response "No updates needed to update system to 9.3-RELEASE-p12." So you are at 9.3-RELEASE-p12. As Jason stated, you probably do not have /usr/src on that system which caused the "No such file or directory" errors you received but the binary updates must have been installed. -- Paul Smith From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 18:40: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 8EA5C513 for ; Tue, 24 Mar 2015 18:40:33 +0000 (UTC) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) (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 4F6CB310 for ; Tue, 24 Mar 2015 18:40:32 +0000 (UTC) Received: from che78-3-82-246-30-233.fbx.proxad.net (unknown [82.246.30.233]) by smtp5-g21.free.fr (Postfix) with ESMTP id D02EAD480A6 for ; Tue, 24 Mar 2015 19:38:53 +0100 (CET) Received: by che78-3-82-246-30-233.fbx.proxad.net (Postfix, from userid 2000) id DA5552841D; Tue, 24 Mar 2015 19:40:23 +0100 (CET) Date: Tue, 24 Mar 2015 19:40:23 +0100 From: Harald Weis To: freebsd-questions@freebsd.org Subject: Re: getmail problem Message-ID: <20150324184023.GA1067@pollux.local.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20150313160659.GA4425@pollux.local.net> <20150313140227.63f60ec1@lapsdeb> <20150317121629.GA1077@pollux.local.net> <20150317194302.53b8dea5@lapsdeb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150317194302.53b8dea5@lapsdeb> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 18:40:33 -0000 On Tue, Mar 17, 2015 at 07:43:02PM -0400, Stephen R Guglielmo wrote: > On Tue, 17 Mar 2015 13:16:29 +0100 > Harald Weis wrote: > > On Fri, Mar 13, 2015 at 02:02:27PM -0400, Stephen R Guglielmo wrote: > > > On Fri, 13 Mar 2015 17:06:59 +0100 > > > Harald Weis wrote: > > > > What could be the cause for the following error message: > > > > > > > > SimpleIMAPSSLRetriever:hawei@imap.free.fr:993: > > > > getmail-hawei-rc: operation error (command: LOGIN => socket > > > > error: EOF) > > > > > > > > > It would be my first instinct to blame the remote server, but I > > > don't want to jump to conclusions too quickly. You could run > > > tcpdump (or wireshark if you want a GUI) to get more of an idea of > > > what's causing it. I have used getmail with Gmail in the past > > > through a cronjob and it's worked quite well. I assume you're > > > using the latest version of getmail? > > > > getmail version 4.46.0 seems alright. > > > > Many thanks for your quick response. > > It took me some minutes to read the manpage... > > > > tcpdump -X -r tcpdump.20150315 is a bit longer (6148 bytes). > > But I'm afraid you need to see the data as well. > > Also, I don't know whether it is safe to send the file on-list. > > So whether you like it or not :-) I'll send you the file. > I looked at the tcpdump file you sent me off-list. If you want to read > it yourself, you can install Wireshark and open the file. In fact, tcpdump is alright for me, it allows to read everything. > I'm not an expert, but it looks to me like your client (the 192.168 IP) > is sending a FIN packet (third line from the bottom). This is a request > to close the connection[1]. The remote system then sends a RST to reset > the connection. No, the first FIN packet (sixth line from the bottom) is sent by imap.free.fr. I just checked that the first FIN packet was always sent by the server. > So it seems to be your end terminating the connection. It's quite > possible that it's something other than getmail itself (your local > router?) that is doing this for some reason. I'm not really sure where > to go from here; maybe somebody else can chime in to help. I still don't know whether it's safe to send the whole file to the list. > [1] > https://en.wikipedia.org/wiki/Transmission_Control_Protocol#Connection_termination -- Harald Weis From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 19:43: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 5F7ECB1C for ; Tue, 24 Mar 2015 19:43:25 +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 225BCCBF for ; Tue, 24 Mar 2015 19:43:24 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-65.adsl.hiwaay.net [216.180.19.65]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2OJhMs3022179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 24 Mar 2015 14:43:23 -0500 Message-ID: <5511BFD1.8060202@hiwaay.net> Date: Tue, 24 Mar 2015 14:49:37 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org Subject: Re: freebsd-update question References: <5510A3AA.3020801@hiwaay.net> <5510DBBB.3040703@hiwaay.net> 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 19:43:25 -0000 On 03/24/15 13:23, Paul Smith wrote: >>> It would appear there is nothing in /usr/src. These errors would be >>> expected since that doesn't exist. You should remove the 'src' >>> keyword current in the default 'Components src world kernel' line in >>> /etc/freebsd-update.conf. That would keep freebsd-update(8) from >>> trying to maintain source and prevent the errors from happening again. >>> >>> Jason >>> >> Hmmmmm .... OK, give it a go: >> >> [root@kabini1, /etc, 10:33:16pm] 351 % freebsd-update fetch >> Looking up update.FreeBSD.org mirrors... 5 mirrors found. >> Fetching metadata signature for 9.3-RELEASE from update6.freebsd.org... >> done. >> Fetching metadata index... done. >> Inspecting system... done. >> Preparing to download files... done. >> >> No updates needed to update system to 9.3-RELEASE-p12. >> whew !!!! that took (23.643 cpu + 8.602 sys) sec., 0:32.67 elapsed time >> tot, 98.6% CPU efficiency >> (22 text, 524 data, 6644 max) KB, (0+43) io, 0 pfs + 0 swaps >> [root@kabini1, /etc, 10:34:02pm] 352 % freebsd-update install >> No updates are available to install. > > > When you ran freebsd-update fetch you received the response "No > updates needed to update system to 9.3-RELEASE-p12." So you are at > 9.3-RELEASE-p12. As Jason stated, you probably do not have /usr/src > on that system which caused the "No such file or directory" errors you > received but the binary updates must have been installed. > > -- > Paul Smith > I had /usr/src, but it was empty. I removed 'src' from the freebsd-update-conf file & got the above. uname thinks I am still @ p10: [root@kabini1, /etc, 10:44:24am] 333 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p10 FreeBSD 9.3-RELEASE-p10 #0: Tue Feb 24 21:28:03 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 2:48:47pm] 334 % base DB out of alignment ? -- 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 Mar 24 20:41:43 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 87DDF199 for ; Tue, 24 Mar 2015 20:41:43 +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 34D7E389 for ; Tue, 24 Mar 2015 20:41:42 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-65.adsl.hiwaay.net [216.180.19.65]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2OKffim024052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 24 Mar 2015 15:41:41 -0500 Message-ID: <5511CD7C.4030609@hiwaay.net> Date: Tue, 24 Mar 2015 15:47:56 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: freebsd-update question References: <5510A3AA.3020801@hiwaay.net> <5510DBBB.3040703@hiwaay.net> <5511BFD1.8060202@hiwaay.net> <44bnjigmg5.fsf@lowell-desk.lan> In-Reply-To: <44bnjigmg5.fsf@lowell-desk.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 20:41:43 -0000 On 03/24/15 15:38, Lowell Gilbert wrote: > "William A. Mahaffey III" writes: > >> I had /usr/src, but it was empty. I removed 'src' from the >> freebsd-update-conf file & got the above. uname thinks I am still @ >> p10: >> >> [root@kabini1, /etc, 10:44:24am] 333 % uname -a >> FreeBSD kabini1.local 9.3-RELEASE-p10 FreeBSD 9.3-RELEASE-p10 #0: Tue >> Feb 24 21:28:03 UTC 2015 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >> [root@kabini1, /etc, 2:48:47pm] 334 % >> >> base DB out of alignment ? > No. There were no kernel changes in -p11 or -p12, so no new kernel was > installed, so uname didn't change. See freebsd-version(1). > freebsd-version(1) not available in 9.3R ? -- 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 Mar 24 20:42: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 0966E236 for ; Tue, 24 Mar 2015 20:42:37 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::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 C402D3A1 for ; Tue, 24 Mar 2015 20:42:36 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so8417930ied.1 for ; Tue, 24 Mar 2015 13:42:36 -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=WL52Tfrjtk0+ME7VNKxufwgrjtEEmWhyZxqdJj89eg4=; b=nOBHw2DrI6ThawWxFwXIFmFbPUVhZeAV5GJF4lYpY2UzaeO49G+Y/xfamAcqd6SFLO lUte3f/vUKa8ZNFJSO4mv0D8OWFVkrqKl9m5f+bB1/knz+wsQgo5kB/Wx//Ev4N+NCNU VZzpUFLzq8mYkl6KKCyUxeCD/hZ4+qqr/LWgna6n31PUBgkFFqIWNVcg2pkc91mP+aBl PZs3hUF1at+XO2QmcRZ8o38zh/hmtLJxfIEpozNcXPHLiKyH9ODJ7g8jnmwd93/V9uTZ QbQh/4jeH2PEZpwC6bdPupHBdsEO0UUWci4OXBvNbjguOXlLjZ82bOuBwEj1olkbW36s q7+Q== MIME-Version: 1.0 X-Received: by 10.42.193.205 with SMTP id dv13mr3928855icb.53.1427229756343; Tue, 24 Mar 2015 13:42:36 -0700 (PDT) Received: by 10.107.6.8 with HTTP; Tue, 24 Mar 2015 13:42:36 -0700 (PDT) In-Reply-To: <5511BFD1.8060202@hiwaay.net> References: <5510A3AA.3020801@hiwaay.net> <5510DBBB.3040703@hiwaay.net> <5511BFD1.8060202@hiwaay.net> Date: Tue, 24 Mar 2015 14:42:36 -0600 Message-ID: Subject: Re: freebsd-update question From: Paul Smith To: "William A. Mahaffey III" Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 20:42:37 -0000 > I had /usr/src, but it was empty. I removed 'src' from the > freebsd-update-conf file & got the above. uname thinks I am still @ p10: > > [root@kabini1, /etc, 10:44:24am] 333 % uname -a > FreeBSD kabini1.local 9.3-RELEASE-p10 FreeBSD 9.3-RELEASE-p10 #0: Tue Feb 24 > 21:28:03 UTC 2015 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > [root@kabini1, /etc, 2:48:47pm] 334 % > > base DB out of alignment ? The version stated by uname(1) only updates when there is a change to the actual kernel. Since p11 and p12 dealt only with the OpenSSL issues in the userland, no changes to the kernel took place. So, as Jason stated, uname(1) will still say p10 when you are at p12. FreeBSD 10 and above have tried to fix this confusion with freebsd-version(1). For example, on my 10.1 system, uname(1) states 10.1-RELEASE-p6 while freebsd-version(1) states 10.1-RELEASE-p8. Since freebsd-update(8) thinks you are at p12, you are at p12. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 20:48: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 A3BBC323 for ; Tue, 24 Mar 2015 20:48:11 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 7A1F33EB for ; Tue, 24 Mar 2015 20:48:11 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id EF7FC33C1D; Tue, 24 Mar 2015 16:38:52 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 8733239822; Tue, 24 Mar 2015 16:38:51 -0400 (EDT) From: Lowell Gilbert To: "William A. Mahaffey III" Subject: Re: freebsd-update question References: <5510A3AA.3020801@hiwaay.net> <5510DBBB.3040703@hiwaay.net> <5511BFD1.8060202@hiwaay.net> Reply-To: freebsd-questions@freebsd.org Date: Tue, 24 Mar 2015 16:38:50 -0400 In-Reply-To: <5511BFD1.8060202@hiwaay.net> (William A. Mahaffey, III's message of "Tue, 24 Mar 2015 14:49:37 -0500") Message-ID: <44bnjigmg5.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 20:48:11 -0000 "William A. Mahaffey III" writes: > I had /usr/src, but it was empty. I removed 'src' from the > freebsd-update-conf file & got the above. uname thinks I am still @ > p10: > > [root@kabini1, /etc, 10:44:24am] 333 % uname -a > FreeBSD kabini1.local 9.3-RELEASE-p10 FreeBSD 9.3-RELEASE-p10 #0: Tue > Feb 24 21:28:03 UTC 2015 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > [root@kabini1, /etc, 2:48:47pm] 334 % > > base DB out of alignment ? No. There were no kernel changes in -p11 or -p12, so no new kernel was installed, so uname didn't change. See freebsd-version(1). From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 21:01:07 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 C0FD6660 for ; Tue, 24 Mar 2015 21:01:07 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 97B3E74B for ; Tue, 24 Mar 2015 21:01:07 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 0A44033C1D; Tue, 24 Mar 2015 17:01:01 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id EE22739822; Tue, 24 Mar 2015 17:01:00 -0400 (EDT) From: Lowell Gilbert To: "William A. Mahaffey III" Subject: Re: freebsd-update question References: <5510A3AA.3020801@hiwaay.net> <5510DBBB.3040703@hiwaay.net> <5511BFD1.8060202@hiwaay.net> <44bnjigmg5.fsf@lowell-desk.lan> <5511CD7C.4030609@hiwaay.net> Date: Tue, 24 Mar 2015 17:01:00 -0400 In-Reply-To: <5511CD7C.4030609@hiwaay.net> (William A. Mahaffey, III's message of "Tue, 24 Mar 2015 15:47:56 -0500") Message-ID: <447fu6glf7.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 21:01:07 -0000 "William A. Mahaffey III" writes: > On 03/24/15 15:38, Lowell Gilbert wrote: >> No. There were no kernel changes in -p11 or -p12, so no new kernel was >> installed, so uname didn't change. See freebsd-version(1). >> > > freebsd-version(1) not available in 9.3R ? No, but the manual pages are available online. https://www.freebsd.org/cgi/man.cgi?query=freebsd-version From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 01:41:30 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 30D1D83F for ; Wed, 25 Mar 2015 01:41:30 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (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 07895B97 for ; Wed, 25 Mar 2015 01:41:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=hWqOvNGjquicvoGqVZO9pqNLRo1q0RJujCyyz73uoF8=; b=cN0MEjew0qpQ92yx12t1pli9jqCjJyQMA9iQ0Qa/vN0jZt93CPg+aQDpHNemZ4+W5HhL1TY3GUps4HTqQ9N3Q3jXQjDKocvYwmAMuwTWQtjXYn7ru3SCrlKe1Wz98cJB7saWfo9HKWquVywOKT+LqMIP3WIX8gxPFOe8LWeu7I0=; Received: from [114.124.24.158] (port=44928 helo=B85M-HD3-0.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1YaaJu-002CX5-1q; Tue, 24 Mar 2015 19:41:23 -0600 Date: Wed, 25 Mar 2015 09:41:15 +0800 From: Erich Dollansky To: Jason Birch Subject: Re: Possible (or smart) to put freebsd-boot on USB stick for root-on-ZFS? Message-ID: <20150325094115.6a266a55@B85M-HD3-0.alogt.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 01:41:30 -0000 Hi, On Tue, 24 Mar 2015 16:09:44 +1100 Jason Birch wrote: > > I'll only be mirroring two SSDs on 10.1, but it made me consider the > possibility of having the freebsd-boot partition on a USB stick rather > than on each drive itself for basically the following reason: > > Should an SSD die, I'd need to say "boot from this other device" to > get my system back up and running, do the original partitioning magic I install since some time on all media a bootable FreeBSD system. Of course, the space is mostly wasted but when the time comes ... This concept has another advantage. I can start new hardware immediately, mount the source via NFS and do then an install from the sources. At the end, having the system on every media gives you more flexibility. Erich From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 02:45:30 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 F41A22D2 for ; Wed, 25 Mar 2015 02:45:29 +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 9DBA21E9 for ; Wed, 25 Mar 2015 02:45:29 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-61.adsl.hiwaay.net [216.180.76.61]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2P2jLo9022515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 24 Mar 2015 21:45:22 -0500 Message-ID: <551222B8.2000303@hiwaay.net> Date: Tue, 24 Mar 2015 21:51:36 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org Subject: Re: freebsd-update question References: <5510A3AA.3020801@hiwaay.net> <5510DBBB.3040703@hiwaay.net> <5511BFD1.8060202@hiwaay.net> <44bnjigmg5.fsf@lowell-desk.lan> <5511CD7C.4030609@hiwaay.net> <447fu6glf7.fsf@lowell-desk.lan> In-Reply-To: <447fu6glf7.fsf@lowell-desk.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 02:45:30 -0000 On 03/24/15 16:01, Lowell Gilbert wrote: > "William A. Mahaffey III" writes: > >> On 03/24/15 15:38, Lowell Gilbert wrote: >>> No. There were no kernel changes in -p11 or -p12, so no new kernel was >>> installed, so uname didn't change. See freebsd-version(1). >>> >> freebsd-version(1) not available in 9.3R ? > No, but the manual pages are available online. > https://www.freebsd.org/cgi/man.cgi?query=freebsd-version > _______________________________________________ > 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" > True, but I can't use it to determine version level of my system ;-) .... -- 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 Wed Mar 25 03:21: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 603578F6 for ; Wed, 25 Mar 2015 03:21:17 +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 253E888F for ; Wed, 25 Mar 2015 03:21:16 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-61.adsl.hiwaay.net [216.180.76.61]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2P3LE1f001094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 24 Mar 2015 22:21:15 -0500 Message-ID: <55122B21.60905@hiwaay.net> Date: Tue, 24 Mar 2015 22:27:29 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: ipfw question Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 03:21:17 -0000 I completed a full pkg upgrade & freebsd-update this A.M. & rebooted. I notice the following in my /var/log/security file: Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:32830 in via re0 Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:65133 in via re0 Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:65133 in via re0 Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:29850 in via re0 Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:29850 in via re0 Feb 26 12:14:19 kabini1 kernel: ipfw: 65500 Deny TCP 216.180.54.1:110 192.168.0.27:32249 in via re0 Feb 27 11:23:49 kabini1 kernel: ipfw: 65500 Deny TCP 108.59.11.225:9001 192.168.0.27:30252 in via re0 Feb 27 11:24:36 kabini1 last message repeated 8 times Feb 27 11:25:18 kabini1 kernel: ipfw: 65500 Deny TCP 108.59.11.225:9001 192.168.0.27:30252 in via re0 Mar 14 08:31:42 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:11037 in via re0 Mar 19 08:36:35 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:64292 in via re0 Mar 19 08:36:35 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:64292 in via re0 Mar 19 08:36:35 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:50006 in via re0 Mar 19 08:36:35 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:50006 in via re0 Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:19797 in via re0 Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:23420 in via re0 Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:23420 in via re0 Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:33492 in via re0 Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:33492 in via re0 Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:10331 in via re0 Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:10331 in via re0 Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:52550 in via re0 Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:52550 in via re0 Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:31977 in via re0 Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:31977 in via re0 Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:63154 in via re0 Mar 19 21:55:13 kabini1 kernel: ipfw: 65500 Deny TCP 178.32.219.197:9001 192.168.0.27:37694 in via re0 Mar 19 21:55:46 kabini1 last message repeated 7 times Mar 19 21:57:08 kabini1 last message repeated 2 times Mar 23 15:06:36 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:32015 in via re0 Mar 23 15:06:36 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:32015 in via re0 Mar 23 15:06:40 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:40246 in via re0 Mar 23 15:06:40 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:40246 in via re0 Mar 23 15:07:15 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:38671 in via re0 Mar 23 15:07:15 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 192.168.0.27:38671 in via re0 Mar 23 15:07:20 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:17037 in via re0 Mar 23 15:07:20 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:17037 in via re0 Mar 24 09:59:15 kabini1 kernel: ipfw: 65500 Deny P:2 192.168.0.27 224.0.0.22 out via re0 Mar 24 09:59:22 kabini1 last message repeated 3 times Mar 24 10:01:22 kabini1 last message repeated 4 times Mar 24 10:09:23 kabini1 last message repeated 16 times Mar 24 10:37:08 kabini1 kernel: ipfw: 65500 Deny P:2 192.168.0.27 224.0.0.22 out via re0 Mar 24 10:37:16 kabini1 last message repeated 3 times Mar 24 10:39:15 kabini1 last message repeated 4 times Mar 24 10:49:16 kabini1 last message repeated 20 times Mar 24 10:59:15 kabini1 last message repeated 20 times Mar 24 11:09:16 kabini1 last message repeated 20 times Mar 24 11:19:15 kabini1 last message repeated 20 times Mar 24 11:29:15 kabini1 last message repeated 20 times Mar 24 11:39:16 kabini1 last message repeated 20 times Mar 24 11:49:15 kabini1 last message repeated 20 times The last lines about 'message repeated continue until the present. I show some output for the last few weeks to show this wasn't happening before. Any clues what is causing this ? FreeBSD 9.3-RELEASE-p10, 192.168.0.27 is this box, ipfw rules haven't changed in months & are mostly the stock 'workstation' rules w/ a few extra rules to let NFS work, see below. Need anything else, please ask & TIA .... [root@kabini1, /etc, 10:26:29pm] 366 % ipfw show 00100 211446 127533786 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 00300 0 0 deny ip from 127.0.0.0/8 to any 00400 0 0 deny ip from any to ::1 00500 0 0 deny ip from ::1 to any 00600 0 0 allow ipv6-icmp from :: to ff02::/16 00700 0 0 allow ipv6-icmp from fe80::/10 to fe80::/10 00800 2 152 allow ipv6-icmp from fe80::/10 to ff02::/16 00900 0 0 allow ipv6-icmp from any to any ip6 icmp6types 1 01000 0 0 allow ipv6-icmp from any to any ip6 icmp6types 2,135,136 01100 0 0 check-state 01200 371 38801 allow tcp from me to any established 01300 131125 100329380 allow tcp from me to any setup keep-state 01400 15375 1247143 allow udp from me to any keep-state 01500 0 0 allow icmp from me to any keep-state 01600 0 0 allow ipv6-icmp from me to any keep-state 01700 0 0 allow udp from 0.0.0.0 68 to 255.255.255.255 dst-port 67 out 01800 0 0 allow udp from any 67 to me dst-port 68 in 01900 0 0 allow udp from any 67 to 255.255.255.255 dst-port 68 in 02000 0 0 allow udp from fe80::/10 to me dst-port 546 in 02100 0 0 allow icmp from any to any icmptypes 8 02200 0 0 allow ipv6-icmp from any to any ip6 icmp6types 128,129 02300 3390 189852 allow icmp from any to any icmptypes 3,4,11 02400 0 0 allow ipv6-icmp from any to any ip6 icmp6types 3 02500 164 12060 allow tcp from 192.168.0.0/24 to me 02600 729 139344 allow udp from 192.168.0.0/24 513 to 192.168.0.0/24 dst-port 513 65000 2079 233849 count ip from any to any 65100 334 58174 deny { tcp or udp } from any to any dst-port 111,137,138 in 65200 325 118875 deny { tcp or udp } from 192.168.0.0/24 to me 65300 0 0 deny ip from any to 255.255.255.255 65400 0 0 deny ip from any to 224.0.0.0/24 in 65500 0 0 deny udp from any to any dst-port 520 in 65500 0 0 deny tcp from any 80,443 to any dst-port 1024-65535 in 65500 1420 56800 deny log logamount 5000 ip from any to any 65535 0 0 deny ip from any to any [root@kabini1, /etc, 10:26:37pm] 367 % -- 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 Wed Mar 25 08:52: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 9946C923 for ; Wed, 25 Mar 2015 08:52:59 +0000 (UTC) Received: from DUB004-OMC3S7.hotmail.com (dub004-omc3s7.hotmail.com [157.55.2.16]) (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 29D84B5F for ; Wed, 25 Mar 2015 08:52:58 +0000 (UTC) Received: from DUB118-W19 ([157.55.2.9]) by DUB004-OMC3S7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Wed, 25 Mar 2015 01:51:49 -0700 X-TMN: [ChL/yls8vdAZJW+MtZP71yvROy7rbuhJ] X-Originating-Email: [alexandre_ml@outlook.fr] Message-ID: From: Alexandre Labarre To: "William A. Mahaffey III" Subject: RE: freebsd-update question Date: Wed, 25 Mar 2015 09:51:49 +0100 Importance: Normal In-Reply-To: <551222B8.2000303@hiwaay.net> References: <5510A3AA.3020801@hiwaay.net>, , <5510DBBB.3040703@hiwaay.net>, , <5511BFD1.8060202@hiwaay.net> <44bnjigmg5.fsf@lowell-desk.lan>,<5511CD7C.4030609@hiwaay.net> <447fu6glf7.fsf@lowell-desk.lan>,<551222B8.2000303@hiwaay.net> MIME-Version: 1.0 X-OriginalArrivalTime: 25 Mar 2015 08:51:49.0697 (UTC) FILETIME=[EEAC1B10:01D066D8] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions Mailing List FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 08:52:59 -0000 > Date: Tue=2C 24 Mar 2015 21:51:36 -0500 > From: wam@hiwaay.net > CC: freebsd-questions@freebsd.org > Subject: Re: freebsd-update question >=20 > On 03/24/15 16:01=2C Lowell Gilbert wrote: > > "William A. Mahaffey III" writes: > > > >> On 03/24/15 15:38=2C Lowell Gilbert wrote: > >>> No. There were no kernel changes in -p11 or -p12=2C so no new kernel = was > >>> installed=2C so uname didn't change. See freebsd-version(1). > >>> > >> freebsd-version(1) not available in 9.3R ? > > No=2C but the manual pages are available online. > > https://www.freebsd.org/cgi/man.cgi?query=3Dfreebsd-version > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freeb= sd.org" > > >=20 > True=2C but I can't use it to determine version level of my system =3B-) = .... >=20 > --=20 >=20 > William A. Mahaffey III >=20 > ---------------------------------------------------------------------- >=20 > "The M1 Garand is without doubt the finest implement of war > ever devised by man." > -- Gen. George S. Patton Jr. Hi William=2C You can recompile your kernel with updated /usr/src and your version report= ed by uname will be correct. Regards. Alexandre = From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 12:37:42 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 62A64729 for ; Wed, 25 Mar 2015 12:37:42 +0000 (UTC) Received: from mx1.webtent.net (mx1.webtent.net [208.38.145.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2D3EBA73 for ; Wed, 25 Mar 2015 12:37:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id 5C59ED7B3A for ; Wed, 25 Mar 2015 08:36:26 -0400 (EDT) Received: from mx1.webtent.net ([127.0.0.1]) by localhost (mx1.webtent.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 51347-10 for ; Wed, 25 Mar 2015 08:36:24 -0400 (EDT) Received: from [192.168.1.104] (static-72-64-143-96.tampfl.fios.verizon.net [72.64.143.96]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: robert@mx1.webtent.net) by mx1.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTPSA id 91D01D7B07 for ; Wed, 25 Mar 2015 08:36:24 -0400 (EDT) Message-ID: <5512AC0C.40404@webtent.com> Date: Wed, 25 Mar 2015 08:37:32 -0400 From: Robert Fitzpatrick User-Agent: Postbox 3.0.11 (Windows/20140602) MIME-Version: 1.0 To: FreeBSD Subject: Configure error for cyrus-sasl2-saslauthd after upgrade Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: WebTent Mailguard 1.0.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 12:37:42 -0000 I upgraded a FreeBSD 8.4 server to 10.1 and all went well for the most part except I can't get saslauthd to build now. I run saslauthd with the ldap flag and if I use the binary package install, it complains the ldap is an unknown mechanism. So, I remove the binary package and when I try to build from ports.... configure: error: in `/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.26': configure: error: C compiler cannot create executables See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to ume@FreeBSD.org [maintainer] and attach the "/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.26/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 In the config.log, this is the error section..... Selected GCC installation: configure:3064: $? = 0 configure:3071: cc -V >&5 cc: error: argument to '-V' is missing (expected 1 value) cc: error: no input files configure:3075: $? = 1 configure:3098: checking for C compiler default output file name configure:3120: cc -O2 -pipe -fstack-protector -DLDAP_DEPRECATED -fno-strict-a$ cc: error: unknown argument: '-R/usr/local/lib' configure:3124: $? = 1 configure:3162: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "cyrus-sasl" | #define VERSION "2.1.26" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3168: error: in `/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus$ configure:3170: error: C compiler cannot create executables See `config.log' for more details. I have tried to force rebuild of all ports using portupgrade and applied all Freebsd updates, rebooted, still get the same error. I've searched for a solution on the web, but can't find anything specific to my error. Can someone please tell me what I might be able to do to solve this issue? Other packages build fine, I've removed cyrus-sasl and rebuilt to no avail and many other packages. Thanks, Robert From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 13:03:16 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 809DCAF3 for ; Wed, 25 Mar 2015 13:03:16 +0000 (UTC) Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) (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 16DFDE1B for ; Wed, 25 Mar 2015 13:03:15 +0000 (UTC) Received: by wgbcc7 with SMTP id cc7so26617095wgb.0 for ; Wed, 25 Mar 2015 06:03:13 -0700 (PDT) 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:mail-followup-to :mime-version:content-type:content-disposition:user-agent; bh=WqRRIrK5vB7ggcZeS7q279N25tOMNo/J3C/ZkG1JF4M=; b=RUYI+vgsoXcGsaXAeAHHpCHDC3cv28T1QUiLihDKp0ad+27bxRUUDtjgrCYMNdgwOg Ps9dW+LnoRj24cNXMPyYBxnIjYIlMAhGTberrt/B1YZUqbSvAwDZOszNk+uAYRIAXd5g AFOd9+aUv27eaD6cKedqYDe7ZI0sFSAJZWoFEdi9dUAiwYF0o9aq4lTsmra7H336ByYy nLGGm6RYd/BGHOhd3O4eFF/JzYrXwldiVL8TXyf+QWz3Amk0DoIdR5Cea373JiZZ53Gz acXIlGjX5KiG2aRukbZIlx3wwvXj/zs2oIuvLyj4PqbYhoT2UfPs8wr84GNdLi6lnxhZ GjdA== X-Gm-Message-State: ALoCoQn5SHDy6ngDs2nTego93f7Iy/VJgUQnsAxRtlItxr4dceBhh5QIPvFC9mFmH+MRyFMBNrp9 X-Received: by 10.194.173.199 with SMTP id bm7mr18522000wjc.76.1427288593277; Wed, 25 Mar 2015 06:03:13 -0700 (PDT) Received: from localhost (itcom245.staff.itd.umich.edu. [141.213.135.249]) by mx.google.com with ESMTPSA id o10sm16857655wiy.18.2015.03.25.06.03.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2015 06:03:12 -0700 (PDT) Date: Wed, 25 Mar 2015 08:57:08 -0400 From: William Bulley To: freebsd-questions@freebsd.org Subject: tried everything (Swap Caps_Lock and Control_L) nothing works! Message-ID: <20150325125708.GH3131@itcom245.staff.itd.umich.edu> 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-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 13:03:16 -0000 This is really annoying. I know I have used xmodmap(1) in the past and it served me well. I now have a Dell keyboard on a Dell system and I can't get the caps lock key swapped with the left control key. Here is what I have now (yes, both -- belt and suspenders...): unix% head -6 $HOME/.xmodmaprc remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L unix% grep modmap .xinitrc /usr/local/bin/xmodmap $HOME/.xmodmaprc unix% grep swap /etc/X11/xorg.conf Option "XkbOptions" "ctrl:swapcaps" unix% pkg info | grep xorg-server xorg-server-1.14.7_2,1 X.Org X server and related programs I have rebooted the system as well as restarting Xorg to make sure everything was running from a fresh beginning. One of the above should have worked, but in my xterm window(s) the caps lock is still CAPS LOCK, sigh... Can anyone provide a clue? Regards, web... -- /"\ ASCII RIBBON / William Bulley \ / CAMPAIGN AGAINST / X HTML E-MAIL AND / E-MAIL: web@umich.edu / \ LISTSERV POSTINGS / 72 characters width template ----------------------------------------->| From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 13:32: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 A51CBB24 for ; Wed, 25 Mar 2015 13:32:10 +0000 (UTC) Received: from vps.markoturk.info (vps.markoturk.info [95.154.208.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6C537295 for ; Wed, 25 Mar 2015 13:32:10 +0000 (UTC) Received: by vps.markoturk.info (Postfix, from userid 1001) id C5DC02739D; Wed, 25 Mar 2015 14:31:55 +0100 (CET) Date: Wed, 25 Mar 2015 14:31:55 +0100 From: Marko Turk To: freebsd-questions@freebsd.org Subject: Re: tried everything (Swap Caps_Lock and Control_L) nothing works! Message-ID: <20150325133155.GA56359@vps.markoturk.info> References: <20150325125708.GH3131@itcom245.staff.itd.umich.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20150325125708.GH3131@itcom245.staff.itd.umich.edu> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 13:32:10 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 25, 2015 at 08:57:08AM -0400, William Bulley wrote: > This is really annoying. I know I have used xmodmap(1) in the past > and it served me well. I now have a Dell keyboard on a Dell system > and I can't get the caps lock key swapped with the left control key. >=20 > Here is what I have now (yes, both -- belt and suspenders...): >=20 > unix% head -6 $HOME/.xmodmaprc > remove Lock =3D Caps_Lock > remove Control =3D Control_L > keysym Control_L =3D Caps_Lock > keysym Caps_Lock =3D Control_L > add Lock =3D Caps_Lock > add Control =3D Control_L > unix% grep modmap .xinitrc > /usr/local/bin/xmodmap $HOME/.xmodmaprc > unix% grep swap /etc/X11/xorg.conf > Option "XkbOptions" "ctrl:swapcaps" > unix% pkg info | grep xorg-server > xorg-server-1.14.7_2,1 X.Org X server and related programs >=20 > I have rebooted the system as well as restarting Xorg to make sure > everything was running from a fresh beginning. >=20 > One of the above should have worked, but in my xterm window(s) the > caps lock is still CAPS LOCK, sigh... Can anyone provide a clue? >=20 Hi, this works for me (I put it in .xinitrc): setxkbmap -option ctrl:nocaps BR, Marko --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVErjLAAoJEDcRe7P/w1sjocAP/2hrzq2hxB1Mp3uE6DGkqtIy hZmv+PQQ0vlqpK+op2L6UqXoW8lymcNyBDA2qm7n9hbQL9e0GT06EtXrwoZy8rSd 3oKeWOQUoXLo6OACJXqPkeY2gsWWxbMFFcKWJR0ZzrWP14N3gFwjN1+2vyRxwr7p 3aqop7nMHCHkgIb40p54Ta3tFJhCohN7oCPGMMJ16BhF/ZmkXVVLRCEyCiCnhFZZ n0/sF2aLt/FLqNLX7lcMmPJgGyt5+6z2pYMAiY3P0T5Egf4/mq0ElR/d7IUkzgI0 20Wn8lQSMSyJUEyX+DvF60p+dlm9lrnbkDTV28qVTzmKMZHPjJG5LQzMQ9EL3iKz hHqKqNgkePdFUtF6bli+vDt2MJpl1j1hp+t0i6VSP1qRasbxW/iPjXLKuBlHmQsQ qsm4vI8MKQZ+ZxY2WaoVAg8hqTfc/yx3OlUHB6zhIpVPGvK80TnS1z3Hh2UtyJ9i gI8k0moDbhTBStfV97wyTrQsvKyQzVxEJ1QKJlWB2ZUQlYrJb8RQuQ8CxgGG6blr m/1k7B9tYldw3m0dGw2zNPePBU/xXBE4MEuhuYZtO2TeFTqKaoBNpKqFsVBGQach i6yCG3DLjDS5dZdaxnvBUcK8AZoAQtNu6L35fz2hLpC/cOqjsc6WlG79poOqN/If 0RoS8o+205oLqpxG3aZi =KbMD -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 14:11:05 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 CC642A6F for ; Wed, 25 Mar 2015 14:11:05 +0000 (UTC) Received: from brightstar.bomgardner.net (brightstar.bomgardner.net [63.229.207.48]) by mx1.freebsd.org (Postfix) with ESMTP id A8AA4968 for ; Wed, 25 Mar 2015 14:11:05 +0000 (UTC) Received: from brightstar.bomgardner.net (localhost [127.0.0.1]) by brightstar.bomgardner.net (Postfix) with ESMTP id 667B0798 for ; Wed, 25 Mar 2015 09:02:23 -0500 (CDT) From: "Gene" To: "Freebsd Questions" Subject: KDE broken after general upgrade (FBSD 10.0) Date: Wed, 25 Mar 2015 08:02:22 -0600 Message-Id: <20150325134917.M52033@brightstar.bomgardner.net> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 192.168.0.25 (fbsd) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 14:11:05 -0000 Hello all: I recently upgraded packages on my 10.0 AMD64 sytem (pkg upgrade). Afterwards, xorg started up normally and could be used, but KDE wouldn't run. Among the things I've tried: - Check .xinitrc: "#exec /usr/local/bin/startkde" - completely deleting ~/.kde4 completely re-installing KDE4: "pkg install -f x11/kde4" now xorg is still ok and "startx" results in a white screen that simply says: "Uh-oh. Something went wrong. Log out and try again." Of course I can't actually log out so I connect via ssh and reboot. Running KDM and logging in just jumps to a terminal window after logging in. Any ideas where to continue troubleshooting? Thanks -- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 14:13: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 C586CBA1 for ; Wed, 25 Mar 2015 14:13:28 +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 7AC20A34 for ; Wed, 25 Mar 2015 14:13:27 +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 t2PECBHt090633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 25 Mar 2015 10:12:12 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Wed, 25 Mar 2015 10:12:53 -0400 (EDT) From: Chris Hill To: William Bulley Subject: Re: tried everything (Swap Caps_Lock and Control_L) nothing works! In-Reply-To: <20150325125708.GH3131@itcom245.staff.itd.umich.edu> Message-ID: References: <20150325125708.GH3131@itcom245.staff.itd.umich.edu> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 14:13:28 -0000 On Wed, 25 Mar 2015, William Bulley wrote: > This is really annoying. I know I have used xmodmap(1) in the past > and it served me well. I now have a Dell keyboard on a Dell system > and I can't get the caps lock key swapped with the left control key. > > Here is what I have now (yes, both -- belt and suspenders...): > > unix% head -6 $HOME/.xmodmaprc > remove Lock = Caps_Lock > remove Control = Control_L > keysym Control_L = Caps_Lock > keysym Caps_Lock = Control_L > add Lock = Caps_Lock > add Control = Control_L > unix% grep modmap .xinitrc > /usr/local/bin/xmodmap $HOME/.xmodmaprc > unix% grep swap /etc/X11/xorg.conf > Option "XkbOptions" "ctrl:swapcaps" > unix% pkg info | grep xorg-server > xorg-server-1.14.7_2,1 X.Org X server and related programs The filename might be case sensitive. Here's mine, which works. Note the capital X. chris@tripel$ more /usr/home/chris/.Xmodmap ! Straight from the man page... ! ! Swap Caps_Lock and Control_L ! remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L And... chris@tripel$ grep odmap .xinitrc usermodmap=$HOME/.Xmodmap sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap if [ -f $sysmodmap ]; then xmodmap $sysmodmap if [ -f $usermodmap ]; then xmodmap $usermodmap I don't have an xorg.conf. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 14:19:57 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 A1CE0F39 for ; Wed, 25 Mar 2015 14:19:57 +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 5E214AAC for ; Wed, 25 Mar 2015 14:19:57 +0000 (UTC) Received: from r56.edvax.de (port-92-195-131-196.dynamic.qsc.de [92.195.131.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 9255C277CA; Wed, 25 Mar 2015 15:19:47 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t2PEJkjf002654; Wed, 25 Mar 2015 15:19:46 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 25 Mar 2015 15:19:46 +0100 From: Polytropon To: Chris Hill Subject: Re: tried everything (Swap Caps_Lock and Control_L) nothing works! Message-Id: <20150325151946.88f90a76.freebsd@edvax.de> In-Reply-To: References: <20150325125708.GH3131@itcom245.staff.itd.umich.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 Cc: William Bulley , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 14:19:57 -0000 On Wed, 25 Mar 2015 10:12:53 -0400 (EDT), Chris Hill wrote: > On Wed, 25 Mar 2015, William Bulley wrote: > > > This is really annoying. I know I have used xmodmap(1) in the past > > and it served me well. I now have a Dell keyboard on a Dell system > > and I can't get the caps lock key swapped with the left control key. > > > > Here is what I have now (yes, both -- belt and suspenders...): > > > > unix% head -6 $HOME/.xmodmaprc > > remove Lock = Caps_Lock > > remove Control = Control_L > > keysym Control_L = Caps_Lock > > keysym Caps_Lock = Control_L > > add Lock = Caps_Lock > > add Control = Control_L > > unix% grep modmap .xinitrc > > /usr/local/bin/xmodmap $HOME/.xmodmaprc > > unix% grep swap /etc/X11/xorg.conf > > Option "XkbOptions" "ctrl:swapcaps" > > unix% pkg info | grep xorg-server > > xorg-server-1.14.7_2,1 X.Org X server and related programs > > The filename might be case sensitive. It _is_, but he properly calls it: He cites "head -6 $HOME/.xmodmaprc" and "/usr/local/bin/xmodmap $HOME/.xmodmaprc", so this isn't a problem. Otherwise, the xmodmap program would report an error. This is my ~/.xinitrc entry for xmodmap, for comparison: [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc You can always verify the desired xmodmap effect by calling it within an xterm. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 14:58: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 0D177F1F for ; Wed, 25 Mar 2015 14:58:34 +0000 (UTC) Received: from mail.ngintelligence.com (mail.ngintelligence.com [5.9.85.176]) (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 B57F7FC1 for ; Wed, 25 Mar 2015 14:58:33 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.ngintelligence.com (Postfix) with ESMTP id 491EF8A053F for ; Wed, 25 Mar 2015 15:49:05 +0100 (CET) Received: from mail.ngintelligence.com ([127.0.0.1]) by localhost (mail.ngintelligence.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id dHnHQqc6y5C1 for ; Wed, 25 Mar 2015 15:49:04 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.ngintelligence.com (Postfix) with ESMTP id DD4C68A059A for ; Wed, 25 Mar 2015 15:49:04 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.ngintelligence.com Received: from mail.ngintelligence.com ([127.0.0.1]) by localhost (mail.ngintelligence.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3QnFsBtruJLz for ; Wed, 25 Mar 2015 15:49:04 +0100 (CET) Received: from marcopolo.fritz.box (g230072170.adsl.alicedsl.de [92.230.72.170]) by mail.ngintelligence.com (Postfix) with ESMTPSA id 994618A053F for ; Wed, 25 Mar 2015 15:49:04 +0100 (CET) Message-ID: <1427295020.2355.28.camel@mathiaspicker.net> Subject: Re: KDE broken after general upgrade (FBSD 10.0) From: Mathias Picker To: freebsd-questions@freebsd.org Date: Wed, 25 Mar 2015 15:50:20 +0100 In-Reply-To: <20150325134917.M52033@brightstar.bomgardner.net> References: <20150325134917.M52033@brightstar.bomgardner.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 14:58:34 -0000 Am Mittwoch, den 25.03.2015, 08:02 -0600 schrieb Gene: > Hello all: > > I recently upgraded packages on my 10.0 AMD64 sytem (pkg upgrade). Afterwards, Just a data point: I'm running -stable from a few days ago, with KDE from pkg and everything runs fine after the last update... > xorg started up normally and could be used, but KDE wouldn't run. Among the > things I've tried: > > - Check .xinitrc: "#exec /usr/local/bin/startkde" > - completely deleting ~/.kde4 > completely re-installing KDE4: "pkg install -f x11/kde4" > > now xorg is still ok and "startx" results in a white screen that simply says: > > "Uh-oh. Something went wrong. Log out and try again." Of course I can't > actually log out so I connect via ssh and reboot. > > Running KDM and logging in just jumps to a terminal window after logging in. > > Any ideas where to continue troubleshooting? Well, maybe it's too obvious, but what about .xsession-errors? Anything interesting in there? How about starting a fallback session with only xterm, and starting the kde session from there? > Good Luck, Mathias > Thanks > > > -- > > _______________________________________________ > 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 Mar 25 15:49: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 E2EB520F for ; Wed, 25 Mar 2015 15:49:27 +0000 (UTC) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::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 A6E3295D for ; Wed, 25 Mar 2015 15:49:27 +0000 (UTC) Received: by oiag65 with SMTP id g65so24947232oia.2 for ; Wed, 25 Mar 2015 08:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:content-type:message-id:date:to :content-transfer-encoding:mime-version; bh=2mgdFrCp3ZEpjIQhZURnaZxqvQ1AaNR9DmL/otmc3a8=; b=i84uBsulmK8yAyvoMm9WFK9Z3EvfioEvE8ww53Of1ZtpLfcAobtcMvyf2ji/PO5tMK BRLNqUcg7gI5THLmD2fLbBxlj7lmgtwcl7ca1rIiMom9oLcwpgisPH1Sa/3ckpIUR7sK D/YJZZpQye7IFFpVm3mHzs+D2PEc8gTu8iiXxD53qhGy26r0LoLOs1fgyCEqccyv60H/ I7RSf+jdw6km8gTxCntrAYoM7WGGBQ9U4O39kHd9V/q7OwcuOisex3Dl0uVrkcI6BUHJ mpy0jzuUHceBMI8mSXTWQcuFaSW+YJ/mHVw+FWdKuvCu98id3wS8Bor+4CvsUOri+Zv+ 9x/Q== X-Received: by 10.182.142.101 with SMTP id rv5mr6073598obb.13.1427298566811; Wed, 25 Mar 2015 08:49:26 -0700 (PDT) Received: from [192.168.1.64] (pool-173-71-39-166.dllstx.fios.verizon.net. [173.71.39.166]) by mx.google.com with ESMTPSA id bp2sm2241972oec.0.2015.03.25.08.49.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Mar 2015 08:49:25 -0700 (PDT) Subject: 'pw usermod -G' not removing user from group? From: Matthew Pherigo X-Mailer: iPad Mail (12D508) Message-Id: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> Date: Wed, 25 Mar 2015 10:49:22 -0500 To: FreeBSD Users Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 15:49:28 -0000 Hi all, The manpage for pw(8) says this about the -G flag: > The user's name is added to the group lists in /etc/group, and removed fro= m any groups not specified in grouplist. However, when using this option on 10.1, pw decides to get creative: > $ sudo id -a test > uid=3D1003(test) gid=3D1003(test) groups=3D1003(test),0(wheel),69(network)= > $ sudo pw usermod test -G network > $ sudo id -a test =20 > uid=3D1003(test) gid=3D1003(test) groups=3D1003(test),0(wheel),69(network)= This isn't the end of the creative liberties, though. When checking /etc/gro= up, we find: > network:*:69:test,test pw(8) has added the 'test' user to the network group *twice*. In fact, when I= was checking the /etc/group file, I found this little gem: > wheel:*:0:root,ansible,matt,matt,matt,test That trio of matts is the result of configuration management systems trippin= g over this strange behavior. Was this introduced in a recent patch? I can't imagine this has been around f= or long. Hopefully it's just a doc error! Thanks, --Matt= From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 16:01:42 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 4B36DBBF for ; Wed, 25 Mar 2015 16:01:42 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.155]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 36C20BB2 for ; Wed, 25 Mar 2015 16:01:41 +0000 (UTC) Received: from WorkBox.Home (67-4-199-120.mpls.qwest.net [67.4.199.120]) by mx.zohomail.com with SMTPS id 142729929385018.864088000033234; Wed, 25 Mar 2015 09:01:33 -0700 (PDT) Date: Wed, 25 Mar 2015 11:01:31 -0500 From: Bigby James To: freebsd-questions@freebsd.org Subject: Re: tried everything (Swap Caps_Lock and Control_L) nothing works! Message-ID: <20150325160131.GA8983@WorkBox.Home> References: <20150325125708.GH3131@itcom245.staff.itd.umich.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150325125708.GH3131@itcom245.staff.itd.umich.edu> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 16:01:42 -0000 On 03/25, William Bulley wrote: > This is really annoying. I know I have used xmodmap(1) in the past > and it served me well. I now have a Dell keyboard on a Dell system > and I can't get the caps lock key swapped with the left control key. > > Here is what I have now (yes, both -- belt and suspenders...): > > unix% head -6 $HOME/.xmodmaprc > remove Lock = Caps_Lock > remove Control = Control_L > keysym Control_L = Caps_Lock > keysym Caps_Lock = Control_L > add Lock = Caps_Lock > add Control = Control_L > unix% grep modmap .xinitrc > /usr/local/bin/xmodmap $HOME/.xmodmaprc > unix% grep swap /etc/X11/xorg.conf > Option "XkbOptions" "ctrl:swapcaps" > unix% pkg info | grep xorg-server > xorg-server-1.14.7_2,1 X.Org X server and related programs You can easily do this without using xmodmap. Create the file '/usr/local/etc/X11/xorg.conf.d/10-keyboard.conf' and add the following to it: > Section "InputClass" > Identifier "system-keyboard" > Option "XkbOptions" "ctrl:swapcaps" > EndSection Bingo, bango, done. You can also follow Marko Turk's suggestion, but I think the above method is cleaner myself. -- "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 Wed Mar 25 16:06: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 08533FCA for ; Wed, 25 Mar 2015 16:06:36 +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 BD653C1B for ; Wed, 25 Mar 2015 16:06:35 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-50.adsl.hiwaay.net [216.180.19.50]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2PG6X1d003264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 25 Mar 2015 11:06:34 -0500 Message-ID: <5512DE80.8050407@hiwaay.net> Date: Wed, 25 Mar 2015 11:12:48 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 CC: FreeBSD Questions Mailing List FreeBSD Questions Mailing List Subject: Re: freebsd-update question References: <5510A3AA.3020801@hiwaay.net>, , <5510DBBB.3040703@hiwaay.net>, , <5511BFD1.8060202@hiwaay.net> <44bnjigmg5.fsf@lowell-desk.lan>, <5511CD7C.4030609@hiwaay.net> <447fu6glf7.fsf@lowell-desk.lan>, <551222B8.2000303@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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 16:06:36 -0000 On 03/25/15 03:51, Alexandre Labarre wrote: >> Date: Tue, 24 Mar 2015 21:51:36 -0500 >> From: wam@hiwaay.net >> CC: freebsd-questions@freebsd.org >> Subject: Re: freebsd-update question >> >> On 03/24/15 16:01, Lowell Gilbert wrote: >>> "William A. Mahaffey III" writes: >>> >>>> On 03/24/15 15:38, Lowell Gilbert wrote: >>>>> No. There were no kernel changes in -p11 or -p12, so no new kernel was >>>>> installed, so uname didn't change. See freebsd-version(1). >>>>> >>>> freebsd-version(1) not available in 9.3R ? >>> No, but the manual pages are available online. >>> https://www.freebsd.org/cgi/man.cgi?query=freebsd-version >>> _______________________________________________ >>> 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" >>> >> True, but I can't use it to determine version level of my system ;-) .... >> >> -- >> >> William A. Mahaffey III >> >> ---------------------------------------------------------------------- >> >> "The M1 Garand is without doubt the finest implement of war >> ever devised by man." >> -- Gen. George S. Patton Jr. > Hi William, > You can recompile your kernel with updated /usr/src and your version reported by uname will be correct. > > Regards. > Alexandre > > _______________________________________________ > 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" > Thanks, but I am running 9.3-RELEASE-p10 w/ GENERIC kernels, not recompiling. The question has pretty much been answered, & upon further review I think I remember this happening in the past when I did a freebsd-update & the kernel didn't get upgraded, only other binaries, so I think all is well here. 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 Wed Mar 25 18:09: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 A6F90A0C for ; Wed, 25 Mar 2015 18:09:29 +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 7150FC8C for ; Wed, 25 Mar 2015 18:09:29 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so32021666ied.1 for ; Wed, 25 Mar 2015 11:09: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=WWK1yENfF0ELL6+f7CEVXb7oYRE2zEHPZsQMmYLKmJA=; b=HSh1/v76lAphgF0S79v4KO7L1bCzZF/c96KgQM16ht4mTqT/+lN/hYBTQlO9pt9wjh uIi4DMLeGZmKUUytGo+bwPl0ynguG09ehtLq/Nnc69GwAexXVCO3zvNXfbRJ3G5NG0Ut EVYhBUY7a/8EFGrseKzSMrYJhfE1n9KBD0DFfDZ+w39o9cDiT9rx6ajGsBTsprex6TzY zDQ916gH+8rRP7UEixHNq5C9Byv60NiViHGCeS+BR6MPU78UZ4VfFxMKK1HLD+X2/F30 OmCcdAzzfDSWx8KBlao90WeYnsg/ExXf03SyUsAvxGbmixOkv1J3wVjPVDGM8cNv/LAX VzLw== MIME-Version: 1.0 X-Received: by 10.42.67.19 with SMTP id r19mr8628489ici.30.1427306968819; Wed, 25 Mar 2015 11:09:28 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.150.229 with HTTP; Wed, 25 Mar 2015 11:09:28 -0700 (PDT) In-Reply-To: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> References: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> Date: Wed, 25 Mar 2015 14:09:28 -0400 X-Google-Sender-Auth: uSrqg3DdKdf_CBsDQUcZRzncNQE Message-ID: Subject: Re: 'pw usermod -G' not removing user from group? From: Rick Miller To: Matthew Pherigo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 18:09:29 -0000 On Wed, Mar 25, 2015 at 11:49 AM, Matthew Pherigo wrote: > Hi all, > > The manpage for pw(8) says this about the -G flag: > > The user's name is added to the group lists in /etc/group, and removed > from any groups not specified in grouplist. > > However, when using this option on 10.1, pw decides to get creative: > > $ sudo id -a test > > uid=1003(test) gid=1003(test) groups=1003(test),0(wheel),69(network) > > $ sudo pw usermod test -G network > > $ sudo id -a test > > uid=1003(test) gid=1003(test) groups=1003(test),0(wheel),69(network) > > This isn't the end of the creative liberties, though. When checking > /etc/group, we find: > > network:*:69:test,test > > pw(8) has added the 'test' user to the network group *twice*. In fact, > when I was checking the /etc/group file, I found this little gem: > > wheel:*:0:root,ansible,matt,matt,matt,test > > That trio of matts is the result of configuration management systems > tripping over this strange behavior. > > Was this introduced in a recent patch? I can't imagine this has been > around for long. Hopefully it's just a doc error! This PR[1] describes the problem. It includes a patch, which apparently didn't make it into 10.1 by the looks of it probably due to a code freeze in preparation for release. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187189 -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 21:19:01 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 EB360760 for ; Wed, 25 Mar 2015 21:19:01 +0000 (UTC) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::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 6BC4832F for ; Wed, 25 Mar 2015 21:19:01 +0000 (UTC) Received: by labto5 with SMTP id to5so30702282lab.0 for ; Wed, 25 Mar 2015 14:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:mime-version:in-reply-to:date:message-id:subject:to :cc:content-type; bh=LrHCO5nROKWF0u5qoyVsIETBNmQg0RIXS7dV+iHArNc=; b=FdoIaMTK53nubepfvcNrbhvTqe7kq9IutYuc8IhaJqk/w3/KKhiEGoAXD//qtjM9/S NZW3hjdt20Asb0CNImTY4vKsStdiT2gMusjOVVRjNTRlkxRmEOwm3PK26dciJJGgy+hv PGziyiNdtMqj8Uj8VwJA3pbFM26/VQE7AlmouKu80IBePcxb/FVKnvPsMi2ORNwGcTjd nh18HXMwXtdgX+Qrb1rTi5yXRhHV9l9NTH7SZwJuuGbMB2vhRpl98Q12esIsL+FQQgly KLeT1KfYpbK4jkCr15VJcveUQIlCi90Xot09FqMMHd/AUfQQEO61RvFLyaJm8vXMtJ9c NfZg== X-Received: by 10.152.37.164 with SMTP id z4mr10255831laj.5.1427318339438; Wed, 25 Mar 2015 14:18:59 -0700 (PDT) References: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> From: Matthew Pherigo Mime-Version: 1.0 (1.0) In-Reply-To: Date: Wed, 25 Mar 2015 16:18:58 -0500 Message-ID: <3183757859924107912@unknownmsgid> Subject: Re: 'pw usermod -G' not removing user from group? To: Rick Miller Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 21:19:02 -0000 Thanks, Rick! It's crazy that they didn't allow it in; seems like a pretty big issue. Hopefully they'll release a patch through FreeBSD-update soon. In the meantime, do you or anyone else know how to work around this? --Matt On Mar 25, 2015, at 1:09 PM, Rick Miller wrote: On Wed, Mar 25, 2015 at 11:49 AM, Matthew Pherigo wrote: > Hi all, > > The manpage for pw(8) says this about the -G flag: > > The user's name is added to the group lists in /etc/group, and removed > from any groups not specified in grouplist. > > However, when using this option on 10.1, pw decides to get creative: > > $ sudo id -a test > > uid=1003(test) gid=1003(test) groups=1003(test),0(wheel),69(network) > > $ sudo pw usermod test -G network > > $ sudo id -a test > > uid=1003(test) gid=1003(test) groups=1003(test),0(wheel),69(network) > > This isn't the end of the creative liberties, though. When checking > /etc/group, we find: > > network:*:69:test,test > > pw(8) has added the 'test' user to the network group *twice*. In fact, > when I was checking the /etc/group file, I found this little gem: > > wheel:*:0:root,ansible,matt,matt,matt,test > > That trio of matts is the result of configuration management systems > tripping over this strange behavior. > > Was this introduced in a recent patch? I can't imagine this has been > around for long. Hopefully it's just a doc error! This PR[1] describes the problem. It includes a patch, which apparently didn't make it into 10.1 by the looks of it probably due to a code freeze in preparation for release. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187189 -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 02:49:26 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 444C2E20; Thu, 26 Mar 2015 02:49:26 +0000 (UTC) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) (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 E77E2BBB; Thu, 26 Mar 2015 02:49:25 +0000 (UTC) Received: by gddsn.org.cn (Postfix, from userid 65534) id 6C8832E07F; Thu, 26 Mar 2015 10:49:13 +0800 (CST) Received: from lp.gddsn.org.cn (unknown [10.44.8.136]) (Authenticated sender: wsk) by gddsn.org.cn (Postfix) with ESMTPA id 2B91F2E055; Thu, 26 Mar 2015 10:41:41 +0800 (CST) Message-ID: <551371E7.2070402@gddsn.org.cn> Date: Thu, 26 Mar 2015 10:41:43 +0800 From: Wu ShuKun User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: stable@freebsd.org, questions@freebsd.org Subject: AGAIN 10.1-RELEASE BTX halted on DELL PER900 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 02:49:26 -0000 folks: zfsloader btx halt again on 10.1-RELEASE just like I posted before: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=12563100+0+archive/2014/freebsd-questions/20140716.freebsd-questions below is btx halted picture on 10.1-R http://sw.gddsn.org.cn/jopens/test/btx10.1.JPG It failed with 9.3's zfsloader due to unsupported new version of ZFS on 10.1 http://sw.gddsn.org.cn/jopens/test/btx9.3.JPG thanks with appreciate. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 06:52:33 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 66CD936B; Thu, 26 Mar 2015 06:52:33 +0000 (UTC) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) (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 79A0C7C3; Thu, 26 Mar 2015 06:52:30 +0000 (UTC) Received: by gddsn.org.cn (Postfix, from userid 65534) id C06BC2E0A5; Thu, 26 Mar 2015 14:52:09 +0800 (CST) Received: from lp.gddsn.org.cn (unknown [10.44.8.136]) (Authenticated sender: wsk) by gddsn.org.cn (Postfix) with ESMTPA id 7F6662E018; Thu, 26 Mar 2015 14:44:37 +0800 (CST) Message-ID: <5513AAD8.9060505@gddsn.org.cn> Date: Thu, 26 Mar 2015 14:44:40 +0800 From: Wu ShuKun User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: net@freebsd.org, current@freebsd.org, stable@freebsd.org, questions@freebsd.org Subject: SSH hung with an OpenSSH_6.6.1p1 --> OpenSSH_5.8p2_hpn13v11 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 06:52:33 -0000 greeting! ssh connection failed by using a new version SSH to and old one. Below is the symptoms which on a same network. Connection is Okay with old version SSH %ssh -V OpenSSH_5.4p1 FreeBSD-20100308, OpenSSL 0.9.8q 2 Dec 2010 %ssh -v 10.41.172.19 OpenSSH_5.4p1 FreeBSD-20100308, OpenSSL 0.9.8q 2 Dec 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 10.41.172.19 [10.41.172.19] port 22. debug1: Connection established. debug1: identity file /home/wsk/.ssh/id_rsa type -1 debug1: identity file /home/wsk/.ssh/id_rsa-cert type -1 debug1: identity file /home/wsk/.ssh/id_dsa type -1 debug1: identity file /home/wsk/.ssh/id_dsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p2_hpn13v11 FreeBSD-20110503 debug1: match: OpenSSH_5.8p2_hpn13v11 FreeBSD-20110503 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.4p1 FreeBSD-20100308 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY The authenticity of host '10.41.172.19 (10.41.172.19)' can't be established. RSA key fingerprint is ab:81:83:79:6a:d8:29:23:a0:51:1d:e6:f0:aa:ce:d6. Are you sure you want to continue connecting (yes/no)? --- failed with Latest SSH: % ssh -V OpenSSH_6.6.1p1, OpenSSL 1.0.1l-freebsd 15 Jan 2015 % ssh -v 10.41.172.19 OpenSSH_6.6.1p1, OpenSSL 1.0.1l-freebsd 15 Jan 2015 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 10.41.172.19 [10.41.172.19] port 22. debug1: Connection established. debug1: identity file /home/wsk/.ssh/id_rsa type -1 debug1: identity file /home/wsk/.ssh/id_rsa-cert type -1 debug1: identity file /home/wsk/.ssh/id_dsa type -1 debug1: identity file /home/wsk/.ssh/id_dsa-cert type -1 debug1: identity file /home/wsk/.ssh/id_ecdsa type -1 debug1: identity file /home/wsk/.ssh/id_ecdsa-cert type -1 debug1: identity file /home/wsk/.ssh/id_ed25519 type -1 debug1: identity file /home/wsk/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.6.1_hpn13v11 FreeBSD-20140420 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p2_hpn13v11 FreeBSD-20110503 debug1: match: OpenSSH_5.8p2_hpn13v11 FreeBSD-20110503 pat OpenSSH_5* compat 0x0c000000 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY Connection closed by 10.41.172.19 any ideas? From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 10:12:36 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 DDF769A2; Thu, 26 Mar 2015 10:12:36 +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 A4E5FE44; Thu, 26 Mar 2015 10:12:36 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id t2QACPwt080238; Thu, 26 Mar 2015 06:12:26 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <5513DB89.2050801@sentex.net> Date: Thu, 26 Mar 2015 06:12:25 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Wu ShuKun , net@freebsd.org, current@freebsd.org, stable@freebsd.org, questions@freebsd.org Subject: Re: SSH hung with an OpenSSH_6.6.1p1 --> OpenSSH_5.8p2_hpn13v11 References: <5513AAD8.9060505@gddsn.org.cn> In-Reply-To: <5513AAD8.9060505@gddsn.org.cn> 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 10:12:37 -0000 On 3/26/2015 2:44 AM, Wu ShuKun wrote: > OpenSSH_5.4p1 FreeBSD-20100308, OpenSSL 0.9.8q 2 Dec 2010 > failed with Latest SSH: > % ssh -V > OpenSSH_6.6.1p1, OpenSSL 1.0.1l-freebsd 15 Jan 2015 Hi, The latest is 1.0.1m, no? }# ssh -V OpenSSH_6.6.1p1, OpenSSL 1.0.1m-freebsd 19 Mar 2015 What version of FreeBSD are you using ? Ssh and Openssl from the ports ? or in the base ? ---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 Thu Mar 26 12:28: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 9977BDAF for ; Thu, 26 Mar 2015 12:28:38 +0000 (UTC) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::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 5BA47F03 for ; Thu, 26 Mar 2015 12:28:38 +0000 (UTC) Received: by ieclw3 with SMTP id lw3so44777691iec.2 for ; Thu, 26 Mar 2015 05:28:37 -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=JJs0C5f//yjFoAHdebCQm7D2ZbejRYyEJ3qWkmWe4wo=; b=qHkyJWtvQ5P49gFT14krkRTiOgc9m0HciP471WmvuyP6dY3ubkU1rcTG95ZHbOXYJL keZ9SHg2PePPN0CXJ1L07ucEPdnzpAVqHqdy5e61JRmWysc8KjtiqwmwsxNn062oNwpl uu4N/J34IahDVEbLacBXcD4J+tZfZMowhSALMGhRBTIH6GPsuK/3m80/ciMURXVSxfKa k5VtP3msMCNr0BdFCGfIf90iwwwn5ArepzMGFuScSwaHc5S4YF9ag1st7QUceZr/Q0Ey DksvK6hZTHu3dnWtrI9LdsMWYDRXm3+75wxfs1LgXa5Yam6f9eUz4eW8yH/YjatTgh6b Fszg== MIME-Version: 1.0 X-Received: by 10.107.166.11 with SMTP id p11mr20759744ioe.30.1427372917654; Thu, 26 Mar 2015 05:28:37 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.150.229 with HTTP; Thu, 26 Mar 2015 05:28:37 -0700 (PDT) In-Reply-To: <3183757859924107912@unknownmsgid> References: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> <3183757859924107912@unknownmsgid> Date: Thu, 26 Mar 2015 08:28:37 -0400 X-Google-Sender-Auth: E8ZL-82xdY89VC_j0rDpHb8Tpwc Message-ID: Subject: Re: 'pw usermod -G' not removing user from group? From: Rick Miller To: Matthew Pherigo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 12:28:38 -0000 On Wed, Mar 25, 2015 at 5:18 PM, Matthew Pherigo wrote: > Thanks, Rick! It's crazy that they didn't allow it in; seems like a pretty > big issue. Hopefully they'll release a patch through FreeBSD-update > soon. In the meantime, do you or anyone else know how to work around this? > I believe it's unlikely to hit releng/10.1, but I could be wrong. The reason I don't think it will be merged is because RE and/or security officer probably don't believe it fits the criteria for merging into a releng branch, which typically only receive security and errata updates. That said, because it did get merged into stable/10, it will be included in releng/10.2. I merged the patch from stable/10 into our internal development branches so that it would be available in our internal distributions. It was caught in time so that we did not have to go to great lengths to get it deployed. It was simply a matter of compiling the distribution. For systems already installed it is necessary to apply the patch to the sources and recompile and reinstall base. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 12:46: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 7F90D25A for ; Thu, 26 Mar 2015 12:46:50 +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 06ED4133 for ; Thu, 26 Mar 2015 12:46:49 +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 t2QCkeix020612 for ; Thu, 26 Mar 2015 12:46:40 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <5513FFB0.8000100@qeng-ho.org> Date: Thu, 26 Mar 2015 12:46:40 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: FreeBSD-Questions Subject: Swap, SSDs and ZFS Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 12:46:50 -0000 Warren Block's page on using SSDs with FreeBSD (http://www.wonkity.com/~wblock/docs/html/ssd.html) suggests that as swap doesn't use TRIM it's better to use a swap file if your disk is an SSD. However, this is in the context of a UFS file system. What if you have a pure ZFS system? Searching for an answer I found mailing list threads that say that ZVOLs can hang when under memory pressure, i.e. at the exact point when you need swap, so aren't recommended. However using a swap file will potentially waste space if the file system has snapshots. What do other people do in these circumstances? -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 14:25: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 5A16B9C5 for ; Thu, 26 Mar 2015 14:25:02 +0000 (UTC) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::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 123ABFB4 for ; Thu, 26 Mar 2015 14:25:02 +0000 (UTC) Received: by obcxo2 with SMTP id xo2so46896509obc.0 for ; Thu, 26 Mar 2015 07:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=/OQ8HRZVO9gf7tEIva8h+nlYEGzmEe0GQ3cMkZ1z6o8=; b=iCWtAkN1GvH3TKuHvRRpqiWgmOtUKBtvLMLD4tFIOl0mgibCp3zLc5kI+HJlwyOIOS G7gI3KvSyzGFXeMq1uyi7/QJ4JDCD8NZ+HCluGglHO2hwG5liRsRUnoWs0YUJddNf8o/ zy0PKYIhqWQTFm8qIoDpJkqPmIXWRQJA/meVaOHpnuEvYCp0BSkLNGuhzN6HWahyJkr+ IcGcKMhhbBp/ja7fd/YZwf0vpThf7ZjbBF93zBncNkHHUHN9uuTkGyr3V9gemMtB3UwD JMGg9jXJ4thWJp7eJd1frKdnXpYbIgg3svcQS29BzcUe2mfPuh97QoJPPy9zOk4Q4Cg5 ewUg== X-Received: by 10.60.63.238 with SMTP id j14mr12277178oes.3.1427379901384; Thu, 26 Mar 2015 07:25:01 -0700 (PDT) Received: from [192.168.1.64] (pool-173-71-39-166.dllstx.fios.verizon.net. [173.71.39.166]) by mx.google.com with ESMTPSA id xk11sm4440473oeb.6.2015.03.26.07.24.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Mar 2015 07:24:59 -0700 (PDT) References: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> <3183757859924107912@unknownmsgid> Mime-Version: 1.0 (1.0) In-Reply-To: Message-Id: X-Mailer: iPad Mail (12D508) From: Matthew Pherigo Subject: Re: 'pw usermod -G' not removing user from group? Date: Thu, 26 Mar 2015 09:24:58 -0500 To: Rick Miller Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 14:25:02 -0000 Thanks for your email, Rick. While I understand the necessity of the securit= y-patch-only limitation, I would argue that this issue actually IS a securit= y risk, like so: Case 1: admin needs to add a user to a group. This works correctly. Case 2: admin needs to remove a user from a group. This doesn't work, but si= nce the admin has just shown that he doesn't need or want this user to be pa= rt of the group, he won't attempt to access those group resources by the use= r unless he is explicitly testing it. I only noticed this bug because Salt h= ad a test case for it. Case 3: admin needs to remove one group and add another. The new group is ad= ded correctly, but the old group is not removed. It's much more likely that t= he addition will be noticed while the failed removal will not. I would argue that this is much more dangerous than the opposite (Addition o= f groups failing but removal of groups succeeding), as giving an account too= much privilege is a security risk while an account not having enough privil= ege is simply an inconvenience. Hopefully this can be resolved soon. --Matt > On Mar 26, 2015, at 7:28 AM, Rick Miller wrote:= >=20 >=20 >=20 >> On Wed, Mar 25, 2015 at 5:18 PM, Matthew Pherigo wr= ote: >> Thanks, Rick! It's crazy that they didn't allow it in; seems like a prett= y big issue. Hopefully they'll release a patch through FreeBSD-update soon. I= n the meantime, do you or anyone else know how to work around this? >=20 > I believe it's unlikely to hit releng/10.1, but I could be wrong. The rea= son I don't think it will be merged is because RE and/or security officer pr= obably don't believe it fits the criteria for merging into a releng branch, w= hich typically only receive security and errata updates. That said, because= it did get merged into stable/10, it will be included in releng/10.2. >=20 > I merged the patch from stable/10 into our internal development branches s= o that it would be available in our internal distributions. It was caught i= n time so that we did not have to go to great lengths to get it deployed. I= t was simply a matter of compiling the distribution. For systems already in= stalled it is necessary to apply the patch to the sources and recompile and r= einstall base. >=20 > --=20 > Take care > Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 15:37:12 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 DFC46ACF for ; Thu, 26 Mar 2015 15:37:12 +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 A087AB73 for ; Thu, 26 Mar 2015 15:37:12 +0000 (UTC) Received: by ignm3 with SMTP id m3so15659051ign.0 for ; Thu, 26 Mar 2015 08:37:12 -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=+JvUBIHtJ0mOKwDz4Q/1kPX1OtBsWLlmgKxdHjdf9NQ=; b=Yj9s1FkbBSW2/q6sumYRGg1SbhowE6ii6gEkaueAZR373OXQZfqvY6ThRj/ZopZ/vy T+yg2dL/eDhT944hEWg4nsQcmK4XryGGjVMFtcbaQafWm7lBxhcV8XHcUFJMLcyvyNEj gmH80EB7/1FTEPrf/MbjtwJFI93eRyEWeXxE8P760OOiBaKr03SIxGMvevsg3l5HhvQf zH5QkNy5vYZ0jUadB1uat3L7+M7MT1O9oEOJbuZjNkJY3cwdnEQB9NotXxxTHdrqdbbS WQI6wSK6reIM+/3y+dml0eJ6vyrs0e7L75na4b9aaXAUC2N9Uq9NQVcFueTcBls702Jc oHqw== MIME-Version: 1.0 X-Received: by 10.43.66.131 with SMTP id xq3mr40223165icb.9.1427384232035; Thu, 26 Mar 2015 08:37:12 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.150.229 with HTTP; Thu, 26 Mar 2015 08:37:11 -0700 (PDT) In-Reply-To: References: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> <3183757859924107912@unknownmsgid> Date: Thu, 26 Mar 2015 11:37:11 -0400 X-Google-Sender-Auth: BpdXBk_ykqQZalrN5Q24-T0lB10 Message-ID: Subject: Re: 'pw usermod -G' not removing user from group? From: Rick Miller To: Matthew Pherigo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 15:37:13 -0000 On Thu, Mar 26, 2015 at 10:24 AM, Matthew Pherigo wrote: > Thanks for your email, Rick. While I understand the necessity of the > security-patch-only limitation, I would argue that this issue actually IS a > security risk, like so: > > Case 1: admin needs to add a user to a group. This works correctly. > Case 2: admin needs to remove a user from a group. This doesn't work, but > since the admin has just shown that he doesn't need or want this user to be > part of the group, he won't attempt to access those group resources by the > user unless he is explicitly testing it. I only noticed this bug because > Salt had a test case for it. > Case 3: admin needs to remove one group and add another. The new group is > added correctly, but the old group is not removed. It's much more likely > that the addition will be noticed while the failed removal will not. > > I would argue that this is much more dangerous than the opposite (Addition > of groups failing but removal of groups succeeding), as giving an account > too much privilege is a security risk while an account not having enough > privilege is simply an inconvenience. > Just a quick nitpick...on mailing lists where threads can often be very lengthy it is generally accepted that inline posting is preferred to top-posting. This practice helps to maintain the readability of a thread. That said, after closer inspection, the behavior you described is not identical to the behavior described and illustrated in the PR referenced. Chalk it up to me not reading your post closely enough. My apologies. PR187189 specifically addresses duplicate groups with differing ID's where the behavior you're experiencing, while similar, does not include duplicate groups. You may consider opening a PR for this if one is not already open. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 15:45:22 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 454EF7A for ; Thu, 26 Mar 2015 15:45:22 +0000 (UTC) Received: from mail-yh0-x233.google.com (mail-yh0-x233.google.com [IPv6:2607:f8b0:4002:c01::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 F3783CA6 for ; Thu, 26 Mar 2015 15:45:21 +0000 (UTC) Received: by yhch68 with SMTP id h68so28041740yhc.1 for ; Thu, 26 Mar 2015 08:45:21 -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=9bFarjXrNC6yFXWxQROxVLv/K3waRQZI1ENtwrt3x5o=; b=XxtcBkRRgfwL25Oj+MVkn9fl0UDtl8JqnLdUxLGDlQ1rClb/01jzHe7k2dDbRdysyZ 9hzYsaupQ1JsETaRLMRxhL/YhwXK0gG9FHuk2sKc1E3KWpYb5ZxOmflCVCWa41pCYwPJ 7wwIMDNdVqdNPQmWpnJ6Chp57r60ivYJh/oEiMb0o5VkPFOGXlDiEaS82RZdHz2TpSpI wqt6l6CqUN1bAANS8pl4ugjLyp02W8vdRor8JLg664NrEwTnk7TKinICHecyT7tPeHEl 9kgx3r+f3gLmo5Cr6IwP98j6egG2s97ROOE5MgxYbr408+i5N4BhnKVy/wBR3C0rw8Gr xjoA== X-Received: by 10.52.137.80 with SMTP id qg16mr17687609vdb.66.1427384721104; Thu, 26 Mar 2015 08:45:21 -0700 (PDT) Received: from [10.0.10.1] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by mx.google.com with ESMTPSA id cw4sm4378456vdd.14.2015.03.26.08.45.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Mar 2015 08:45:20 -0700 (PDT) Message-ID: <5514299D.4030802@gmail.com> Date: Thu, 26 Mar 2015 11:45:33 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: FreeBSD Questions Subject: what does "t" is /tmp permissions mean 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 15:45:22 -0000 doing "ls -l /" shows that the /tmp directory has these permissions drwxrwxrwt What does the "t" under other user mean? Where can I find documentation on permissions? Thanks in advance. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 15:57:20 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 019144C6 for ; Thu, 26 Mar 2015 15:57: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 867F5DF3 for ; Thu, 26 Mar 2015 15:57:19 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t2QFvBBX041128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 Mar 2015 09:57:11 -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 t2QFvBDq041125; Thu, 26 Mar 2015 09:57:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 26 Mar 2015 09:57:11 -0600 (MDT) From: Warren Block To: Ernie Luzar Subject: Re: what does "t" is /tmp permissions mean In-Reply-To: <5514299D.4030802@gmail.com> Message-ID: References: <5514299D.4030802@gmail.com> 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]); Thu, 26 Mar 2015 09:57:12 -0600 (MDT) Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 15:57:20 -0000 On Thu, 26 Mar 2015, Ernie Luzar wrote: > doing "ls -l /" shows that the /tmp directory has these permissions > drwxrwxrwt > > What does the "t" under other user mean? > Where can I find documentation on permissions? The ls(1) man page has an overview and pointers to other pages. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 15:57: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 E62B7560 for ; Thu, 26 Mar 2015 15:57:57 +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 ADB27E0B for ; Thu, 26 Mar 2015 15:57:57 +0000 (UTC) Received: by igcau2 with SMTP id au2so15878397igc.1 for ; Thu, 26 Mar 2015 08:57:57 -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=889HmNudHg7WtcktL6zW20LGpnIVPO010RNL3Wf35qs=; b=oP1Z1zhjXS8qfz1FZGp6Jdt4S2g0fSDygCVHPSR2uSF6RBUTvBaH36dQl/yEXNujcu nq7Cp20g462wFqvdzUpi4VzPNxJVTiRjXt2T6/BEskjSH7p3xOBAGWcC0ScaIRKWOxvv AXE4I6oEOWw0vulHJ0J5zhMRhs1u1XhMgYyRzvU7RLEcUHf2Z6qAW/Bw+eCPvO6jX36a FhTVr+IYx/8GgJ5i4fdyp/u9DB+RBfQbWeTuamAVCfdXb1sVWPDy2QqC8/B+KNoE062R 3Lo5+tw4XdJ+0j23eNS/sSrx7uNUo1RlGiuZ6Nqcmt4zlLsPf0JHSzL+cfRxhIRIYeu6 ZnKQ== MIME-Version: 1.0 X-Received: by 10.50.137.2 with SMTP id qe2mr19024636igb.20.1427385477157; Thu, 26 Mar 2015 08:57:57 -0700 (PDT) Received: by 10.107.6.8 with HTTP; Thu, 26 Mar 2015 08:57:57 -0700 (PDT) In-Reply-To: <5514299D.4030802@gmail.com> References: <5514299D.4030802@gmail.com> Date: Thu, 26 Mar 2015 09:57:57 -0600 Message-ID: Subject: Re: what does "t" is /tmp permissions mean From: Paul Smith To: Ernie Luzar Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 15:57:58 -0000 Ernie Luzar wrote: > doing "ls -l /" shows that the /tmp directory has these permissions > drwxrwxrwt > > What does the "t" under other user mean? > Where can I find documentation on permissions? > Section 4.4 in the handbook is about permissions. https://www.freebsd.org/doc/handbook/permissions.html t is the sticky bit. "When the sticky bit is set on a directory, it allows file deletion only by the file owner. This is useful to prevent file deletion in public directories, such as /tmp, by users who do not own the file." -- Paul Smith From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 16:49:12 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 53A7646E; Thu, 26 Mar 2015 16:49:12 +0000 (UTC) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com [IPv6:2a00:1450:4010:c03::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 E67AF656; Thu, 26 Mar 2015 16:49:11 +0000 (UTC) Received: by labe2 with SMTP id e2so50316594lab.3; Thu, 26 Mar 2015 09:49:10 -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=B6n/6Erp2xYYjpUpw/1OxDXCqsIeJ/usPA0L0Bw27FA=; b=Psi1NttnLocGFAB68DrW7tMvMqub+2hU2TVPxNNKvyDYazdY1jyxKQDWhrsKLhcbmF tM4+aAuopBCai8UeMqigIrr0Sk3I/sVZ0iS23TrmvdwzYEV++W4ydG2u18KURmjnCHco eXl14ENRKdFyn9fPUOLZlxHgude9VSztnilUto8VFx5Ypaj8uQcRskF7uZ5zI53LgZ4f C9yNJ9ZepEbYxnu1muvD1LYZrFZ9t1n9HlQctpz8KTtRGuawONPvfa9pqxyYbLnwiAkw 7bqrtDtIrKTa0QU4ywPZhNVfOp+2RZlmZScem5K/TVBTyOhDaOPpkqO9xhqiHGlP3s63 3dcQ== MIME-Version: 1.0 X-Received: by 10.112.212.106 with SMTP id nj10mr14135425lbc.36.1427388550077; Thu, 26 Mar 2015 09:49:10 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.25.145.205 with HTTP; Thu, 26 Mar 2015 09:49:09 -0700 (PDT) Date: Thu, 26 Mar 2015 09:49:09 -0700 X-Google-Sender-Auth: NBilI4HWCXo7_zxpp8g-w81UsaE Message-ID: Subject: Unable to boot system over BOOTP From: Justin Hibbits To: FreeBSD PowerPC ML , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 16:49:12 -0000 Bringing up a RouterBoard RB800, I'm trying to use the bootpd server that comes in base to netboot the board from another system. The kernel boots fine, but when it tries to mount the root, it attempts another DHCP/BOOTP request, and continuously times out. Has anyone else been able to get a machine to boot from BOOTP (not DHCP) using the base utilities? The configuration is as follows: /etc/bootptab: jumpgate:hn:ha=000c42aedcc6:bf=kernel.rb800:ip=10.0.0.2:rp="10.0.0.5:/zhabar/jails/rb800":vm=rfc1048:sa=10.0.0.5: Relevant logs: RouterBoard: ... bootpc_init: wired to interface 'tsec0' Sending DHCP Discover packet from interface tsec0 (00:0c:42:ae:dc:c6) tsec0: link state changed to DOWN tsec0: link state changed to UP DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 ... bootpd: bootpd: info(6): recvd pkt from IP addr 0.0.0.0 bootpd: info(6): bootptab mtime: Wed Mar 25 23:04:17 2015 bootpd: info(6): request from Ethernet address 00:0C:42:AE:DC:C6 bootpd: info(6): found 10.0.0.2 (jumpgate) bootpd: info(6): bootfile="/kernel.rb800" bootpd: info(6): vendor magic field is 99.130.83.99 bootpd: info(6): request message length=1460 bootpd: info(6): request has DHCP msglen=1460 bootpd: info(6): extended reply, length=1418, options=1182 bootpd: info(6): sending reply (with RFC1048 options) bootpd: info(6): setarp 10.0.0.2 - 00:0C:42:AE:DC:C6 Every request looks like that. I also ran tcpdump to check, and that looks fine. I'm using the stock MPC85XX kernel config with unrelated changes (additional devices, debugging, for other purposes). Thanks, Justin From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 17:34: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 C50B54F4 for ; Thu, 26 Mar 2015 17:34:09 +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 7FD99CC7 for ; Thu, 26 Mar 2015 17:34:08 +0000 (UTC) Received: from [24.134.63.13] (helo=michael-think.fritz.box) by www81.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1YbAxO-0002Oq-KL; Thu, 26 Mar 2015 17:48:34 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Matthew Pherigo" , "Rick Miller" Subject: Re: 'pw usermod -G' not removing user from group? References: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> <3183757859924107912@unknownmsgid> Date: Thu, 26 Mar 2015 17:48:29 +0100 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/20244/Thu Mar 26 11:48:38 2015) Cc: FreeBSD Users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 17:34:09 -0000 On Thu, 26 Mar 2015 16:37:11 +0100, Rick Miller wrote: > On Thu, Mar 26, 2015 at 10:24 AM, Matthew Pherigo > wrote: > >> Thanks for your email, Rick. While I understand the necessity of the >> security-patch-only limitation, I would argue that this issue actually >> IS a >> security risk, like so: >> >> Case 1: admin needs to add a user to a group. This works correctly. >> Case 2: admin needs to remove a user from a group. This doesn't work, >> but >> since the admin has just shown that he doesn't need or want this user >> to be >> part of the group, he won't attempt to access those group resources by >> the >> user unless he is explicitly testing it. I only noticed this bug because >> Salt had a test case for it. >> Case 3: admin needs to remove one group and add another. The new group >> is >> added correctly, but the old group is not removed. It's much more likely >> that the addition will be noticed while the failed removal will not. >> >> I would argue that this is much more dangerous than the opposite >> (Addition >> of groups failing but removal of groups succeeding), as giving an >> account >> too much privilege is a security risk while an account not having enough >> privilege is simply an inconvenience. >> > > Just a quick nitpick...on mailing lists where threads can often be very > lengthy it is generally accepted that inline posting is preferred to > top-posting. This practice helps to maintain the readability of a > thread. > > That said, after closer inspection, the behavior you described is not > identical to the behavior described and illustrated in the PR referenced. > Chalk it up to me not reading your post closely enough. My apologies. > PR187189 specifically addresses duplicate groups with differing ID's > where > the behavior you're experiencing, while similar, does not include > duplicate > groups. > > You may consider opening a PR for this if one is not already open. > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185666 dated 2014/01/11, patched 2014/10/28 and 2014/11/04 From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 17:49:43 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 74AD1B1A for ; Thu, 26 Mar 2015 17:49:43 +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 3030BE9B for ; Thu, 26 Mar 2015 17:49:43 +0000 (UTC) Received: by ieclw3 with SMTP id lw3so52511713iec.2 for ; Thu, 26 Mar 2015 10:49:42 -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=db7IcBVw1HZY7PloNrHgU4ahxliLAjC7x8Y3hM5sPfg=; b=WUwwe9SUa/FmRBauW4OuLZ0C2Ro2myhS+Rdfue3l/cJsG5Nm2xNVWCmJcHqv2kGcbC XxYsAciBSdozyWOCUP7kFHcj8Ubm6qrO8gqBmNEwNulVguZnM3m0nM9qIdnBzIjjTNMV 3lKkqA8u1OFhyfG0yqxCoohjw3rERsfav9UgTj3FzBPz4Sp+G/Da5k3ugVOeOzUoDUrf Kg1MzpyJSRrAM8P/Cp2C2qV0RINldgBDxSGeWL/tVJBazwzNmw97MG2jmIb9pLxUQOZz kKs7aargVo1cQYlujgUFRDZj8x3f3slqtYFlPfZZd5MYvRX4AAM2v57E6wcvwlF+54Kw QNng== MIME-Version: 1.0 X-Received: by 10.107.47.26 with SMTP id j26mr22675377ioo.36.1427392182591; Thu, 26 Mar 2015 10:49:42 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.150.229 with HTTP; Thu, 26 Mar 2015 10:49:42 -0700 (PDT) In-Reply-To: References: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> <3183757859924107912@unknownmsgid> Date: Thu, 26 Mar 2015 13:49:42 -0400 X-Google-Sender-Auth: OhpnDpRMp_6eskmGf5QaGUn5DIE Message-ID: Subject: Re: 'pw usermod -G' not removing user from group? From: Rick Miller To: Michael Ross Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Matthew Pherigo , FreeBSD Users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 17:49:43 -0000 On Thu, Mar 26, 2015 at 12:48 PM, Michael Ross wrote: > On Thu, 26 Mar 2015 16:37:11 +0100, Rick Miller > wrote: > > On Thu, Mar 26, 2015 at 10:24 AM, Matthew Pherigo >> wrote: >> >> Thanks for your email, Rick. While I understand the necessity of the >>> security-patch-only limitation, I would argue that this issue actually >>> IS a >>> security risk, like so: >>> >>> Case 1: admin needs to add a user to a group. This works correctly. >>> Case 2: admin needs to remove a user from a group. This doesn't work, but >>> since the admin has just shown that he doesn't need or want this user to >>> be >>> part of the group, he won't attempt to access those group resources by >>> the >>> user unless he is explicitly testing it. I only noticed this bug because >>> Salt had a test case for it. >>> Case 3: admin needs to remove one group and add another. The new group is >>> added correctly, but the old group is not removed. It's much more likely >>> that the addition will be noticed while the failed removal will not. >>> >>> I would argue that this is much more dangerous than the opposite >>> (Addition >>> of groups failing but removal of groups succeeding), as giving an account >>> too much privilege is a security risk while an account not having enough >>> privilege is simply an inconvenience. >>> >>> >> Just a quick nitpick...on mailing lists where threads can often be very >> lengthy it is generally accepted that inline posting is preferred to >> top-posting. This practice helps to maintain the readability of a thread. >> >> That said, after closer inspection, the behavior you described is not >> identical to the behavior described and illustrated in the PR referenced. >> Chalk it up to me not reading your post closely enough. My apologies. >> PR187189 specifically addresses duplicate groups with differing ID's where >> the behavior you're experiencing, while similar, does not include >> duplicate >> groups. >> >> You may consider opening a PR for this if one is not already open. >> >> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185666 > > dated 2014/01/11, patched 2014/10/28 and 2014/11/04 > Thanks, Michael...So, another PR exists for this behavior addressed by the same patch. The patch that was not merged into releng/10.1. My original statement still applies. I cannot speak as to why the patch was not MFC'd into releng/10.1 as I am unfamiliar with the exact criteria. I can confirm the patch works as it was tested within my environments. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 17:50: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 3726EBF3 for ; Thu, 26 Mar 2015 17:50:32 +0000 (UTC) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::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 AA8A1EAF for ; Thu, 26 Mar 2015 17:50:31 +0000 (UTC) Received: by lbbsy1 with SMTP id sy1so46707031lbb.1 for ; Thu, 26 Mar 2015 10:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:mime-version:in-reply-to:date:message-id:subject:to :cc:content-type; bh=R4zLykGY0ueGu0oklFk/bXFpE1P1oCHLRUIPwtoQGTE=; b=w21XByPrBYLcyHaB/sQt9YQbCQgBF/OaZawEHqgW70qm75Ke901oAj+ZEinLdDxzZ0 HH3rH0lCIdSvkzUP6kfbriF6OrtnbdEElgPgA6EIPu/AxcCfo7VrBsqa1x9SWKqQgPUV /BrElaokfbi1m9gR3eVWZWIANAfOqtvUvqVwu4vUU7KJy8el5M/ZZNVmxj1qjhMrkXUg cgrwn+dE3L5Djei+O0MGuAHoMV/ZP2sBwYxaBUmom8jSmcCRLUWkSB6aaAoCpYN8bh8z W+VYwPWwNMwNh/5AtuigJejm2M2sG8TQt4+3zl9tnts9NO4JQwdIYHO6Tw0hXNHjXmau 6g+A== X-Received: by 10.113.11.12 with SMTP id ee12mr14235282lbd.5.1427392229563; Thu, 26 Mar 2015 10:50:29 -0700 (PDT) References: <474FEC65-4E15-4972-A411-E91569B4E2A5@gmail.com> <3183757859924107912@unknownmsgid> From: Matthew Pherigo Mime-Version: 1.0 (1.0) In-Reply-To: Date: Thu, 26 Mar 2015 12:50:27 -0500 Message-ID: <3450412217143430232@unknownmsgid> Subject: Re: 'pw usermod -G' not removing user from group? To: Michael Ross Content-Type: text/plain; charset=UTF-8 Cc: Rick Miller , FreeBSD Users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 17:50:32 -0000 > On Mar 26, 2015, at 12:04 PM, Michael Ross wrote: > >> On Thu, 26 Mar 2015 16:37:11 +0100, Rick Miller wrote: >> >> On Thu, Mar 26, 2015 at 10:24 AM, Matthew Pherigo >> wrote: >> >>> Thanks for your email, Rick. While I understand the necessity of the >>> security-patch-only limitation, I would argue that this issue actually IS a >>> security risk, like so: >>> >>> Case 1: admin needs to add a user to a group. This works correctly. >>> Case 2: admin needs to remove a user from a group. This doesn't work, but >>> since the admin has just shown that he doesn't need or want this user to be >>> part of the group, he won't attempt to access those group resources by the >>> user unless he is explicitly testing it. I only noticed this bug because >>> Salt had a test case for it. >>> Case 3: admin needs to remove one group and add another. The new group is >>> added correctly, but the old group is not removed. It's much more likely >>> that the addition will be noticed while the failed removal will not. >>> >>> I would argue that this is much more dangerous than the opposite (Addition >>> of groups failing but removal of groups succeeding), as giving an account >>> too much privilege is a security risk while an account not having enough >>> privilege is simply an inconvenience. >> >> Just a quick nitpick...on mailing lists where threads can often be very >> lengthy it is generally accepted that inline posting is preferred to >> top-posting. This practice helps to maintain the readability of a thread. >> >> That said, after closer inspection, the behavior you described is not >> identical to the behavior described and illustrated in the PR referenced. >> Chalk it up to me not reading your post closely enough. My apologies. >> PR187189 specifically addresses duplicate groups with differing ID's where >> the behavior you're experiencing, while similar, does not include duplicate >> groups. >> >> You may consider opening a PR for this if one is not already open. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185666 > > dated 2014/01/11, patched 2014/10/28 and 2014/11/04 Oh dear, that describes the behavior I'm experiencing exactly. I'll test this out on a fresh install; if it still happens there, then it must be another regression? Thanks for showing me this PR, Michael. --Matt From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 18: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 00072575 for ; Thu, 26 Mar 2015 18:17:23 +0000 (UTC) Received: from fallback1.mail.ru (fallback1.mail.ru [94.100.181.184]) by mx1.freebsd.org (Postfix) with ESMTP id 358E6262 for ; Thu, 26 Mar 2015 18:17:22 +0000 (UTC) Received: from smtp26.mail.ru (smtp26.mail.ru [94.100.181.181]) by fallback1.mail.ru (mPOP.Fallback_MX) with ESMTP id 7B8ED542311E for ; Thu, 26 Mar 2015 20:46:26 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=nrdOcr+Vd28G7WT5K/IlMf0deQKBj6L5TtEHv/bb22E=; b=kIn7YsIfi35rvLjPjdI4yF9dzoQPjN2tVFWLLzGEFc44+uzru8wYtOFD5zs6QNOyYYPlrMDWU8H79+f4BwOhIrguidJdgptqn1d3j5x2rJsGO9ZwYNRClW3lahCh5WWIT6rU1nCuO2sO1mQFPCf2T8GwB/JIn6Ug0pKOz/VW3Vg=; Received: from [109.188.127.13] (port=52239 helo=[192.168.0.12]) by smtp26.mail.ru with esmtpa (envelope-from ) id 1YbBrF-00048r-Im for freebsd-questions@freebsd.org; Thu, 26 Mar 2015 20:46:17 +0300 Message-ID: <55144606.7000003@artem.ru> Date: Thu, 26 Mar 2015 20:46:46 +0300 From: Artem Kuchin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: rm -rf stalls server Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 18:17:24 -0000 Hello! I have a server with 100+ sites running nginx, apache,mysql The disk system is 2 TOSHIBA 3TB disk in geom mirror FS is UFS SU+J tunefs -p / tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: soft update journaling: (-j) enabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: space to hold for metadata blocks: (-k) 6408 tunefs: optimization preference: (-o) time tunefs: volume label: (-L) root Ram is 32GB load averages: 1.83, 1.77, 1.83 usually about 500 processes are started Everything run nice and smooth. Periodically i need to run fs intensive tasks, like tar for backup. That kills server after 5 minutes of running. I worked it around using pv limiting bandwidth to 10M. But, sometimes i need to delete huge amount of small files in different dirs. Yes, i just need to do it. So, i do rm -rf tree_root After i do it in 5 minutes process count goes over 1000, mysql is flooded with request it cannot complete. I can barely type anything. Top shown tons of processes in 'ufs' status. So, I ctrl-C rm command and kill -9 apache, otherwise it will take like 20 minutes to resume normal operations. Then i do /usr/bin/nice -n 20 rm -rf tree_root And it seems like rm -rf now is playing nice :) But, if load for web sites rises even for about 30% during this command server goes to stall again, 1000 process, hundereds of stuck mysql requests, tons of processes in ufs state. As i understand, freebsd does not have ionice So, any idea how to make this rm -rf work reaaaaaaly slow, not creating any load on hdd or metadata locks (i think it is actually fs meta data locks fault). Artem From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 18:22: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 E494074D for ; Thu, 26 Mar 2015 18:22:54 +0000 (UTC) Received: from mail.qcislands.net (mail.qcislands.net [23.235.65.68]) (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 C601D35B for ; Thu, 26 Mar 2015 18:22:54 +0000 (UTC) Received: from 254-68-235-23.qcislands.net ([23.235.68.254] helo=[192.168.1.8]) by mail.qcislands.net with esmtp (Exim 4.82) (envelope-from ) id 1YbCMr-000BD4-7C; Thu, 26 Mar 2015 11:18:57 -0700 Message-ID: <55144D86.2080105@paz.bz> Date: Thu, 26 Mar 2015 11:18:46 -0700 From: Jim Pazarena User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: dhcpd logging Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-local_scan: locally submitted (54) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 18:22:55 -0000 I want to place dhcpd log messages in a file rather than the syslog facility LOG_DAEMON. So I see that with the command line flag "-d" I can direct messages to stderr. How can I adjust the normal rc.conf to actually TELL the system the file name? Is there a way? Also, I would want to append to the file via ">>" rather than clobber it every time I reload dhcpd. Thanks ! From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 19:34: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 021823F0 for ; Thu, 26 Mar 2015 19:34:39 +0000 (UTC) Received: from mail.silvertree.org (arthur.silvertree.org [173.11.101.153]) by mx1.freebsd.org (Postfix) with SMTP id C4463C79 for ; Thu, 26 Mar 2015 19:29:35 +0000 (UTC) Received: (qmail 3952 invoked from network); 26 Mar 2015 19:22:50 -0000 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by mail.silvertree.org with SMTP; 26 Mar 2015 19:22:50 -0000 Message-ID: <55145C8A.3030206@silvertree.org> Date: Thu, 26 Mar 2015 12:22:50 -0700 From: Scott Schappell User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: FreeBSD 8.4 - Can't mount nfs over tcp, but can mount over udp Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 19:34:39 -0000 I have a FreeNAS 9.3 server exporting an NFS share over UDP and TCP. Everything works great over UDP, but over TCP, everything times out. I'm running ipfilter, but rebooting with it disabled didn't fix the issue. Here's the relevant line in ipf.rules: pass out log quick on em1 proto tcp/udp from any to any keep state pass in log quick on em1 proto tcp/udp from any to any keep state em1 is 192.168.0.0/24, em0 is the public facing NIC. /etc/hosts.allow on both servers is set to just allow everything: # Start by allowing everything (this prevents the rest of the file # from working, so remove it when you need protection). # The rules here work on a "First match wins" basis. ALL : ALL : allow Running ipmon I see the requests go out (eventually, note it takes about 30 seconds or so to get this output): 26/03/2015 12:12:23.502793 em1 @0:2 p 192.168.0.126,870 -> 192.168.0.12,111 PR tcp len 20 60 -S K-S OUT 26/03/2015 12:13:05.302609 em1 @0:2 p 192.168.0.126,825 -> 192.168.0.12,111 PR tcp len 20 60 -S K-S OUT 26/03/2015 12:13:08.302618 em1 @0:2 p 192.168.0.126,825 -> 192.168.0.12,111 PR tcp len 20 60 -S K-S OUT 26/03/2015 12:13:11.502684 em1 @0:2 p 192.168.0.126,825 -> 192.168.0.12,111 PR tcp len 20 60 -S K-S OUT 26/03/2015 12:13:14.702750 em1 @0:2 p 192.168.0.126,825 -> 192.168.0.12,111 PR tcp len 20 48 -S K-S OUT 26/03/2015 12:13:39.503401 em1 @0:2 p 192.168.0.126,825 -> 192.168.0.12,111 PR tcp len 20 48 -S K-S OUT 26/03/2015 12:14:03.703756 em1 @0:2 p 192.168.0.126,825 -> 192.168.0.12,111 PR tcp len 20 48 -S K-S OUT Both hosts are in DNS, forward and reverse so IP validation should work. I set NFS ip paranoia to 0 in sysctl to no effect as well. [root@arthur /etc/namedb/master]# rpcinfo -T tcp avalon.wlan.silvertree.org rpcinfo: can't contact rpcbind: RPC: Remote system error - Operation timed out [root@arthur /etc/namedb/master]# rpcinfo -T udp avalon.wlan.silvertree.org program version netid address service owner 100000 4 tcp 0.0.0.0.0.111 rpcbind superuser 100000 3 tcp 0.0.0.0.0.111 rpcbind superuser 100000 2 tcp 0.0.0.0.0.111 rpcbind superuser 100000 4 udp 0.0.0.0.0.111 rpcbind superuser 100000 3 udp 0.0.0.0.0.111 rpcbind superuser 100000 2 udp 0.0.0.0.0.111 rpcbind superuser 100000 4 tcp6 ::.0.111 rpcbind superuser 100000 3 tcp6 ::.0.111 rpcbind superuser 100000 4 udp6 ::.0.111 rpcbind superuser 100000 3 udp6 ::.0.111 rpcbind superuser 100000 4 local /var/run/rpcbind.sock rpcbind superuser 100000 3 local /var/run/rpcbind.sock rpcbind superuser 100000 2 local /var/run/rpcbind.sock rpcbind superuser 100005 1 udp6 ::.2.94 mountd superuser 100005 3 udp6 ::.2.94 mountd superuser 100005 1 tcp6 ::.2.94 mountd superuser 100005 3 tcp6 ::.2.94 mountd superuser 100005 1 udp 0.0.0.0.2.94 mountd superuser 100005 3 udp 0.0.0.0.2.94 mountd superuser 100005 1 tcp 0.0.0.0.2.94 mountd superuser 100005 3 tcp 0.0.0.0.2.94 mountd superuser 100003 2 udp 0.0.0.0.8.1 nfs superuser 100003 3 udp 0.0.0.0.8.1 nfs superuser 100003 2 udp6 ::.8.1 nfs superuser 100003 3 udp6 ::.8.1 nfs superuser 100003 2 tcp 0.0.0.0.8.1 nfs superuser 100003 3 tcp 0.0.0.0.8.1 nfs superuser 100003 2 tcp6 ::.8.1 nfs superuser 100003 3 tcp6 ::.8.1 nfs superuser 100024 1 udp6 ::.3.104 status superuser 100024 1 tcp6 ::.3.104 status superuser 100024 1 udp 0.0.0.0.3.104 status superuser 100024 1 tcp 0.0.0.0.3.104 status superuser 100021 0 udp6 ::.2.151 nlockmgr superuser 100021 0 tcp6 ::.2.191 nlockmgr superuser 100021 0 udp 0.0.0.0.3.2 nlockmgr superuser 100021 0 tcp 0.0.0.0.3.6 nlockmgr superuser 100021 1 udp6 ::.2.151 nlockmgr superuser 100021 1 tcp6 ::.2.191 nlockmgr superuser 100021 1 udp 0.0.0.0.3.2 nlockmgr superuser 100021 1 tcp 0.0.0.0.3.6 nlockmgr superuser 100021 3 udp6 ::.2.151 nlockmgr superuser 100021 3 tcp6 ::.2.191 nlockmgr superuser 100021 3 udp 0.0.0.0.3.2 nlockmgr superuser 100021 3 tcp 0.0.0.0.3.6 nlockmgr superuser 100021 4 udp6 ::.2.151 nlockmgr superuser 100021 4 tcp6 ::.2.191 nlockmgr superuser 100021 4 udp 0.0.0.0.3.2 nlockmgr superuser 100021 4 tcp 0.0.0.0.3.6 nlockmgr superuser My Google Fu has failed me miserably.Any suggestions would be helpful, even if that suggestion is "Use UDP, it's fine". Thanks! From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 19:46:05 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 DF18D8A0; Thu, 26 Mar 2015 19:46:05 +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 A3401E92; Thu, 26 Mar 2015 19:46:05 +0000 (UTC) Received: by igcxg11 with SMTP id xg11so1817664igc.0; Thu, 26 Mar 2015 12:46:05 -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=v4CpH3nIi14MWPQHaE725rhotM9U81oHmOz4AkhSxKY=; b=03L1BGyCkd4tVQlBINvmUjXy6BTSyfAzIRKOqFZQABMdJtVsruYjFUh36azpwwr2U+ ESmjxEEC7J7MB3UVb8hG/6JF2JIFJCyhCD2Gxt6T2AgYsYgMH0zOCmmNwHaKoI3lNKZ0 i3fDT/kPuREnZmJyW9n9le4iwEnbZtRc7gqGaZUwf5ot/N5HHvVw1pRbFuFI/6lx8n0g d7A1vf71kS+VphnpjQ8N2vTjgNhjnkLC+BkRFiqsOgMkZyrNXmxRpkCKNukZ4hM4yoS1 RRqoq9tExCOhT/ZQVEQjb2zFW/klOzqRRgVnfsyapzaRkbV1Dr7hJ96Cc6+R9PRklCol b1eQ== MIME-Version: 1.0 X-Received: by 10.50.30.130 with SMTP id s2mr39698547igh.11.1427399165096; Thu, 26 Mar 2015 12:46:05 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.36.67.139 with HTTP; Thu, 26 Mar 2015 12:46:05 -0700 (PDT) In-Reply-To: References: <20150316232404.GM2379@kib.kiev.ua> Date: Thu, 26 Mar 2015 15:46:05 -0400 X-Google-Sender-Auth: vZFI7aRJztBZXJqUcqlojPg1MA4 Message-ID: Subject: Re: Significant memory leak in 9.3p10? From: J David To: freebsd-stable Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 19:46:06 -0000 On Mon, Mar 16, 2015 at 7:52 PM, J David wrote: > On Mon, Mar 16, 2015 at 7:24 PM, Konstantin Belousov > wrote: >> There are a lot of possibilities to create persistent anonymous shared >> memory objects. Not complete list is tmpfs mounts, swap-backed md disks, >> sysv shared memory, possibly posix shared memory (I do not remember which >> implementation is used in stable/9). > > If that's the explanation, how could it be > detected/measured/investigated/resolved/prevented? > > Under ordinary circumstances, machines will go run like this for days/weeks: > > Mem: 549M Active, 3623M Inact, 567M Wired, 3484K Cache, 827M Buf, 3156M Free > Swap: 1024M Total, 1024M Free > > Then, when this happens, it rapidly degrades from that to so bad that > processes start getting killed for being out of swap space. These FreeBSD machines running out of swap space and dying continues to be a daily problem causing outages and unscheduled reboots. Is there really no way to even research what might be causing the problem? (Widening the cross-posting in the hopes of eliciting more help, so the brief summary of the problem orginally posted to freebsd-stable is that an unknown actor consumes all the user-space memory in the system, including swap space, to the point where processes are killed for being out of swap space, but if every process on the machine is stopped, very little of the user-space memory in use is freed. Original message with more details is here: https://lists.freebsd.org/pipermail/freebsd-stable/2015-March/081986.html .) There are no tmpfs mounts or md disks, so it would have to be one of the other causes. How can FreeBSD's use of persistent, anonymous shared memory objects be investigated, measured, or controlled so we can get a handle on this issue? Thanks! From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 19:50: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 4C3B1AC4; Thu, 26 Mar 2015 19:50:49 +0000 (UTC) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.38]) by mx1.freebsd.org (Postfix) with ESMTP id E1DFDEDB; Thu, 26 Mar 2015 19:50:48 +0000 (UTC) Received: from [192.168.100.30] (cpc72297-sgyl28-2-0-cust55.18-2.cable.virginm.net [81.98.112.56]) (authenticated bits=0) by outbound.ifdnrg.com (8.15.1/8.14.9) with ESMTPSA id t2QJenBD097705 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 26 Mar 2015 19:40:52 GMT (envelope-from paul@ifdnrg.com) X-Authentication-Warning: outbound.ifdnrg.com: Host cpc72297-sgyl28-2-0-cust55.18-2.cable.virginm.net [81.98.112.56] claimed to be [192.168.100.30] Message-ID: <551460C0.3060609@ifdnrg.com> Date: Thu, 26 Mar 2015 19:40:48 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org, FreeBSD Questions , info Subject: Proftpd bug, chroot does not allow for access to or creation of folders named 'lib' Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 19:50:49 -0000 AFFECTS 10.1 BUG: Proftpd with chroot on does not allow for the creation of or uploading to folders named 'lib' I have installed proftpd-basic_1.3.4a-5+deb7u2_armhf.deb onto a raspberry pi to test if problem is upstream and can create and upload to 'lib' folders there. As many wordpress plugins use such folders, this is quite problematic. I'd appreciate it if anyone else can test this ( i've tried on several servers) thanks Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from £100.00pm ---------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 20:25: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 16923770 for ; Thu, 26 Mar 2015 20:25:58 +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 C3AAF359 for ; Thu, 26 Mar 2015 20:25:57 +0000 (UTC) Received: by ykef74 with SMTP id f74so10441979yke.1 for ; Thu, 26 Mar 2015 13:25:57 -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=HBZg2N2bDT9NoBjFkhyf+iS2PANIR/OuH7iVJDUnO8E=; b=TdjLso9KHeUn5280D/QOzH3Dvvz1bBXyKms4m+5N106I3BHfYT8hufnBprw+pH3Vb3 1/cNo9J1JgPU2PZRr0OsdEve0wHseuKa1LLx/04ENUl3Dnx+8pkPJAeDoVir3oll2RIG lvrbIwD51z0Y7fZLihnxqoA8C+5KARPHZtehrnQrOopFaC+FGe2Dz0pJoo4pcxxM0zh6 RsQBM9Mhmk2pg0XYoNamnppsYSoyrLSGya8beuAyKUKrRm0QW14dMKnn07GBJS5ibjQ1 wZXxy9XCL4DbS3z1Uuo6lxhghIMUmVPCMtA45F06hrKa6Lor4QZFLA0xXpJm4rnktiYG 56RA== MIME-Version: 1.0 X-Received: by 10.236.231.72 with SMTP id k68mr16499621yhq.28.1427401556895; Thu, 26 Mar 2015 13:25:56 -0700 (PDT) Received: by 10.170.60.69 with HTTP; Thu, 26 Mar 2015 13:25:56 -0700 (PDT) In-Reply-To: <55144606.7000003@artem.ru> References: <55144606.7000003@artem.ru> Date: Thu, 26 Mar 2015 13:25:56 -0700 Message-ID: Subject: Re: rm -rf stalls server From: Mehmet Erol Sanliturk To: Artem Kuchin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 20:25:58 -0000 On Thu, Mar 26, 2015 at 10:46 AM, Artem Kuchin wrote: > Hello! > > I have a server with 100+ sites running nginx, apache,mysql > The disk system is 2 TOSHIBA 3TB disk in geom mirror > > FS is UFS SU+J > > tunefs -p / > tunefs: POSIX.1e ACLs: (-a) disabled > tunefs: NFSv4 ACLs: (-N) disabled > tunefs: MAC multilabel: (-l) disabled > tunefs: soft updates: (-n) enabled > tunefs: soft update journaling: (-j) enabled > tunefs: gjournal: (-J) disabled > tunefs: trim: (-t) disabled > tunefs: maximum blocks per file in a cylinder group: (-e) 4096 > tunefs: average file size: (-f) 16384 > tunefs: average number of files in a directory: (-s) 64 > tunefs: minimum percentage of free space: (-m) 8% > tunefs: space to hold for metadata blocks: (-k) 6408 > tunefs: optimization preference: (-o) time > tunefs: volume label: (-L) root > > > Ram is 32GB > > load averages: 1.83, 1.77, 1.83 > usually about 500 processes are started > Everything run nice and smooth. > > Periodically i need to run fs intensive tasks, like tar for backup. > That kills server after 5 minutes of running. I worked it around using pv > limiting bandwidth to 10M. > > But, sometimes i need to delete huge amount of small files in different > dirs. > Yes, i just need to do it. > So, i do > rm -rf tree_root > > After i do it in 5 minutes process count goes over 1000, mysql is flooded > with > request it cannot complete. I can barely type anything. Top shown tons of > processes > in 'ufs' status. > So, I ctrl-C rm command > and kill -9 apache, otherwise it will take like 20 minutes to resume > normal operations. > > Then i do > /usr/bin/nice -n 20 rm -rf tree_root > > And it seems like rm -rf now is playing nice :) > > But, if load for web sites rises even for about 30% during this command > server goes > to stall again, 1000 process, hundereds of stuck mysql requests, tons of > processes > in ufs state. > > As i understand, freebsd does not have ionice > So, any idea how to make this rm -rf work reaaaaaaly slow, not creating any > load on hdd or metadata locks (i think it is actually fs meta data locks > fault). > > Artem > > > > > > > > > _______________________________________________ > > I am using a script to delete .BAK files from many directories with lines like rm path/*.BAK find path -name '*.BAK' -exec rm -f '{}' + for each different path names which contains such files . You may use such a script by inserting a delay causing statement between rm - find pairs . With these delays , it will not load CPU with a continuous successive executions . I do not know what a delay causing statement will be . Perhaps the above hint may be useful for you . Instead of using a single rm statement for all of the directories from starting from the root directory , you may use different subdirectories in a script like defined above . In that way it will not be necessary to scan subdirectories which do not contain files to remove , if they exist . Another idea may the following ( I did not such an application . My opinion is only theoretical which may not be true ) . Use a cron job definition having many script execution lines where each script contains a small number of ( rm - find ) pairs and executed with time interval spanning a defined time duration , for example one hour . For example , with one minutes intervals such 60 scripts may be executed to cover your subdirectories . Number of scripts and time intervals my be planned with respect to your work loads and starting to execution of scripts may be adjusted for least work load times of your server , for example between hours 02:00 to 03:00 AM . I think , it will not load your CPU continuously with a single execution for all of the directories . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 21:03: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 99C65505; Thu, 26 Mar 2015 21:03:46 +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 5EC17A06; Thu, 26 Mar 2015 21:03:46 +0000 (UTC) Received: by igcau2 with SMTP id au2so3650765igc.0; Thu, 26 Mar 2015 14:03:45 -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=lm6YCH4QGKFXtMhAQGYmxRQgkPvXVbfYDgUI/PEqNqc=; b=qKFaSTeOyJbwquO4GtB8cq8XMNrRtGmtHK/JVgqc6qTKcWd4Fgjb4NsyDTgs0OLl3b JJPp9LebaLREtf/QQEajud6Ohu4Mh7SGjVtErh6LfUcJqzsODhCfsUIUiP7ojwDL6d6p i7QabMObIDam2HC3qkgld73tMmVfHTSFpPmzPBwbYwW1OxYC3a/SxBq/aBGbJeef+sJv bBmM5c4Psglh+JILrsaPyPlvYxgm6g3yNVvKk5Ps+kr2T5gFCyn94gEXIW+JX5T178hr LEGHObhBrGpEcm0fOJ66xJwCn0J/vVisO4cxynfYlwfdYgUqe+Ttndrk7Zg7XxpudvWC Vy1A== MIME-Version: 1.0 X-Received: by 10.50.29.68 with SMTP id i4mr3769987igh.35.1427403825652; Thu, 26 Mar 2015 14:03:45 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.174.86 with HTTP; Thu, 26 Mar 2015 14:03:45 -0700 (PDT) In-Reply-To: References: <20150316232404.GM2379@kib.kiev.ua> Date: Thu, 26 Mar 2015 14:03:45 -0700 X-Google-Sender-Auth: qnnW-2Iq4OeJGmyAGshRxGHbcLg Message-ID: Subject: Re: Significant memory leak in 9.3p10? From: Kevin Oberman To: J David Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-stable , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 21:03:46 -0000 On Thu, Mar 26, 2015 at 12:46 PM, J David wrote: > On Mon, Mar 16, 2015 at 7:52 PM, J David wrote: > > On Mon, Mar 16, 2015 at 7:24 PM, Konstantin Belousov > > wrote: > >> There are a lot of possibilities to create persistent anonymous shared > >> memory objects. Not complete list is tmpfs mounts, swap-backed md > disks, > >> sysv shared memory, possibly posix shared memory (I do not remember > which > >> implementation is used in stable/9). > > > > If that's the explanation, how could it be > > detected/measured/investigated/resolved/prevented? > > > > Under ordinary circumstances, machines will go run like this for > days/weeks: > > > > Mem: 549M Active, 3623M Inact, 567M Wired, 3484K Cache, 827M Buf, 3156M > Free > > Swap: 1024M Total, 1024M Free > > > > Then, when this happens, it rapidly degrades from that to so bad that > > processes start getting killed for being out of swap space. > > These FreeBSD machines running out of swap space and dying continues > to be a daily problem causing outages and unscheduled reboots. Is > there really no way to even research what might be causing the > problem? > > (Widening the cross-posting in the hopes of eliciting more help, so > the brief summary of the problem orginally posted to freebsd-stable is > that an unknown actor consumes all the user-space memory in the > system, including swap space, to the point where processes are killed > for being out of swap space, but if every process on the machine is > stopped, very little of the user-space memory in use is freed. > Original message with more details is here: > https://lists.freebsd.org/pipermail/freebsd-stable/2015-March/081986.html > .) > > There are no tmpfs mounts or md disks, so it would have to be one of > the other causes. How can FreeBSD's use of persistent, anonymous > shared memory objects be investigated, measured, or controlled so we > can get a handle on this issue? > This is just a shot in the dark and not a really likely one, but I have had issues with Firefox leaking memory badly. I can free the space by killing firefox and restarting it. It seems to be linked to certain web sites, probably javascript. I have not been able to confirm which one does it. It just will start growing until the system slows to a crawl as too many things are swapped out. Normally my system does not touch swap. If it is in user space, top should show it under RES. -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 21:05:21 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 3898B79C for ; Thu, 26 Mar 2015 21:05:21 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 0EA80A30 for ; Thu, 26 Mar 2015 21:05:20 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 5259033C49; Thu, 26 Mar 2015 17:05:09 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id BAAAF39828; Thu, 26 Mar 2015 17:05:08 -0400 (EDT) From: Lowell Gilbert To: Mehmet Erol Sanliturk Subject: Re: rm -rf stalls server References: <55144606.7000003@artem.ru> Date: Thu, 26 Mar 2015 17:05:08 -0400 In-Reply-To: (Mehmet Erol Sanliturk's message of "Thu, 26 Mar 2015 13:25:56 -0700") Message-ID: <44iodneagr.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: Artem Kuchin , FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 21:05:21 -0000 Mehmet Erol Sanliturk writes: > I am using a script to delete .BAK files from many directories with lines > like > > rm path/*.BAK > find path -name '*.BAK' -exec rm -f '{}' + > > > for each different path names which contains such files . Surely you would see a significant performance improvement just by using "-delete" instead of "-exec rm" From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 23:39:14 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 CA93B7E for ; Thu, 26 Mar 2015 23:39:14 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::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 85648C94 for ; Thu, 26 Mar 2015 23:39:14 +0000 (UTC) Received: by igcau2 with SMTP id au2so22534058igc.1 for ; Thu, 26 Mar 2015 16:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=SoBp8O1qCSNL+Iy1/AHqiIVeXHWVRu1GJI924jK0naI=; b=n+FG+jVYxvZexx5HQ6t+hyVxBL4pxA/agn8BaOLejljqQZoBuDY9u/O8nQ4G1To8FA 63EWHurB2a0Yu9mnoS7yLFOgpaHLLfiqdyRg2frMJOavFym7S7M3TYAU0gmEt3tbxXKH fmRNFX3sDij3AEAY0FFH0t00sGs7ABwMfje7HiXbQ4JeQC+AkmIKDPmxciHToHcA1+mx nfLM5nfySvonP8q9A6KGDbJDZyzKbn7pnREj5lnkd21H6uB31WBI80IGYw3f+Bt5axav lUwJy8uPsSwoz93I1g++PZhoy8EmDo9ZYfHmbVOuKxtp+jPHbQoAvFoT96IRGlTC3NXW OUNw== X-Received: by 10.50.253.12 with SMTP id zw12mr40158857igc.24.1427413153942; Thu, 26 Mar 2015 16:39:13 -0700 (PDT) Received: from [192.168.89.100] (192-171-49-199.cpe.pppoe.ca. [192.171.49.199]) by mx.google.com with ESMTPSA id i20sm207876igh.16.2015.03.26.16.39.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Mar 2015 16:39:12 -0700 (PDT) From: The Lost Admin Message-Id: <79371E33-B999-4CAC-A8E4-8D5DDBF043E6@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Significant memory leak in 9.3p10? Date: Thu, 26 Mar 2015 19:39:08 -0400 References: <20150316232404.GM2379@kib.kiev.ua> To: "freebsd-questions@freebsd.org" In-Reply-To: X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 23:39:14 -0000 The Lost Admin thelostadmin@gmail.com On Mar 26, 2015, at 3:46 PM, J David wrote: > On Mon, Mar 16, 2015 at 7:52 PM, J David = wrote: >> On Mon, Mar 16, 2015 at 7:24 PM, Konstantin Belousov >> wrote: >>> There are a lot of possibilities to create persistent anonymous = shared >>> memory objects. Not complete list is tmpfs mounts, swap-backed md = disks, >>> sysv shared memory, possibly posix shared memory (I do not remember = which >>> implementation is used in stable/9). >>=20 >> If that's the explanation, how could it be >> detected/measured/investigated/resolved/prevented? >>=20 >> Under ordinary circumstances, machines will go run like this for = days/weeks: >>=20 >> Mem: 549M Active, 3623M Inact, 567M Wired, 3484K Cache, 827M Buf, = 3156M Free >> Swap: 1024M Total, 1024M Free >>=20 >> Then, when this happens, it rapidly degrades from that to so bad that >> processes start getting killed for being out of swap space. >=20 > These FreeBSD machines running out of swap space and dying continues > to be a daily problem causing outages and unscheduled reboots. Is > there really no way to even research what might be causing the > problem? >=20 > (Widening the cross-posting in the hopes of eliciting more help, so > the brief summary of the problem orginally posted to freebsd-stable is > that an unknown actor consumes all the user-space memory in the > system, including swap space, to the point where processes are killed > for being out of swap space, but if every process on the machine is > stopped, very little of the user-space memory in use is freed. > Original message with more details is here: > = https://lists.freebsd.org/pipermail/freebsd-stable/2015-March/081986.html > .) >=20 > There are no tmpfs mounts or md disks, so it would have to be one of > the other causes. How can FreeBSD's use of persistent, anonymous > shared memory objects be investigated, measured, or controlled so we > can get a handle on this issue? In your initial thread, you said: $ sudo halt -p > Waiting (max 60 seconds) for system process `vnlru' to stop...done > Waiting (max 60 seconds) for system process `bufdaemon' to stop...done > Waiting (max 60 seconds) for system process `syncer' to stop=85 > Syncing disks, vnodes remaining...0 0 0 0 0 0 0 0 0 done > All buffers synced. <----- 10 MINUTE HANG AFTER PRINTING THIS > Uptime: 3d15h56m32s > usbus0: Controller shutdown > uhub0: at usbus0, port 1, addr 1 (disconnected) > usbus0: controller did not stop > usbus0: Controller shutdown complete > acpi0: Powering system off > Connection closed by foreign host. > So it seems like somewhere after "All buffers synced" and printing the > uptime, it's very slowly unwinding whatever is using up all that RAM > and swap. Have you looked through the system shutdown scripts (part of init/rc) to = see what happens after the uptime is printed? that might give you a = lead. The output from your PS seams to be much shorter than I would expect. = Are you sure it included everything? For example, I would expect to see = processes for cron, syslog, and normally sshd. I=92ve also got a few = more kernel processes that you don=92t appear to have. Most notably is = pagedaemon For what it=92s worth, I=92m running 9.3 RELEASE-P12 (the -p10 kernel) = on a system 24x7 (6 days since the last reboot) and I haven=92t had an = issue. It=92s a low volume NFS server.= From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 23:47: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 2364E30A; Thu, 26 Mar 2015 23:47:44 +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 D9323D83; Thu, 26 Mar 2015 23:47:43 +0000 (UTC) Received: by igbud6 with SMTP id ud6so6686103igb.1; Thu, 26 Mar 2015 16:47:43 -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=4aq9CONvYpkVGEa8WjI0ztLXCrqR0JdhdlQWEd4Gxfk=; b=C1lAiJQ3tgDVF9WatacU3sL0zVxwj6gRqi7yZAxdui3BBRsE2F5zdbkb6w804O8rgD mK2sH331XPStae8uphS5a7X5fZvpp9Y30VkktPYzNkxcvaS3Ng9UcK/iaNxUVvG8TVxw K88Er+f09XXGZO+ay4fCLpiTBXjFvhXs6OnCK1QzPX6mK5yLQW/S6DuFdonl3CMHBIqP +gSoF5aC5NQHWNMM+g9CVeifzWVC7YklQbY7PqGCL/QBUygwOL1aA2c/5Xp7+k4CSTD1 NRsm6EwfCNRm9y+rClhH9uLbE9cKzS5d1HrAJTtjbP07dDKfnubaAv/Nrcqk+OZuNjAu JKJQ== MIME-Version: 1.0 X-Received: by 10.50.29.109 with SMTP id j13mr41127544igh.2.1427413663335; Thu, 26 Mar 2015 16:47:43 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.36.67.139 with HTTP; Thu, 26 Mar 2015 16:47:43 -0700 (PDT) In-Reply-To: References: <20150316232404.GM2379@kib.kiev.ua> Date: Thu, 26 Mar 2015 19:47:43 -0400 X-Google-Sender-Auth: S9qMFSAlrMC7reQGIB825L5YsMo Message-ID: Subject: Re: Significant memory leak in 9.3p10? From: J David To: Kevin Oberman Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 23:47:44 -0000 In our case, On Thu, Mar 26, 2015 at 5:03 PM, Kevin Oberman wrote: > This is just a shot in the dark and not a really likely one, but I have had > issues with Firefox leaking memory badly. I can free the space by killing > firefox and restarting it. In our case, we can log in from the console, kill every single user-mode process on the system except the init, login, and the console shell, and the memory is not recovered. Gigabytes and gigabytes user memory of it are being held by some un-findable anonymous persistent structure not linked to any process. Konstantin proposed that it was some sort of shared memory usage, but there appears to be no way to check or investigate most types of shared memory usage on FreeBSD. > If it is in user space, top should show it under RES. This is definitely *not* the case. Whatever is using the memory is not associated with any user-space process, and does not show up on top or ps. It also does not appear to be SysV shared memory, as that reports: $ ipcs -m Shared Memory: T ID KEY MODE OWNER GROUP $ Also, kern.ipc.shmmax is only 512MB whereas this problem is consuming usually 8-10GB. So I guess the remaining possibilities are anonymous mmap's that are somehow not associated with any process and Posix shared memory. Are there any ways to investigate either possibility? Thanks! From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 23:56: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 95D5656E for ; Thu, 26 Mar 2015 23:56:15 +0000 (UTC) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::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 4F73DE95 for ; Thu, 26 Mar 2015 23:56:15 +0000 (UTC) Received: by obcjt1 with SMTP id jt1so59142536obc.2 for ; Thu, 26 Mar 2015 16:56:14 -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=5mIvvo8bDbgsHLs2j14DJqEDMSfiZrNb539CFJQL+vs=; b=sJ56jblnvtteJtEVPMA3aqwq6xBHBYgwWTBHS10n7KRPt8q6PB+DEH+w3BOXvTFzDV pWXy465TzAkJfd700ahT+AsSuVWR9z9B+st3Axgf/IDf4YbfHyyUlyP4goaSpvIN3p0k ezcOh+PU1539yDmvFdCeRgC4Gr5NSWw1B5bVko+oIQGxMuVfIrrj+SgJnGSBiqfl4CH4 XXCZuU+fnGmajsNn6IYHNKnNmc4vqpXqhFZoXgil/bceIWpeN0kFI1l+OI3wwTxiA2Go tp9CmJgDIJgQ8WdlXZAEBpSCCSPHif5HtyOVYm4Uwse3mZuWH/Tg+dkxRuMD+zc+efoK Xd0A== X-Received: by 10.182.236.196 with SMTP id uw4mr14168389obc.41.1427414174460; Thu, 26 Mar 2015 16:56:14 -0700 (PDT) Received: from localhost.localdomain ([209.181.150.218]) by mx.google.com with ESMTPSA id c77sm202781oib.10.2015.03.26.16.56.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 16:56:13 -0700 (PDT) Message-ID: <55149C9C.8040302@gmail.com> Date: Thu, 26 Mar 2015 17:56:12 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Significant memory leak in 9.3p10? References: <20150316232404.GM2379@kib.kiev.ua> 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 23:56:15 -0000 On 03/26/2015 05:47 PM, J David wrote: > In our case, > > On Thu, Mar 26, 2015 at 5:03 PM, Kevin Oberman wrote: >> This is just a shot in the dark and not a really likely one, but I have had >> issues with Firefox leaking memory badly. I can free the space by killing >> firefox and restarting it. > In our case, we can log in from the console, kill every single > user-mode process on the system except the init, login, and the > console shell, and the memory is not recovered. Gigabytes and > gigabytes user memory of it are being held by some un-findable > anonymous persistent structure not linked to any process. Konstantin > proposed that it was some sort of shared memory usage, but there > appears to be no way to check or investigate most types of shared > memory usage on FreeBSD. > >> If it is in user space, top should show it under RES. > This is definitely *not* the case. Whatever is using the memory is > not associated with any user-space process, and does not show up on > top or ps. > > It also does not appear to be SysV shared memory, as that reports: > > $ ipcs -m > > Shared Memory: > > T ID KEY MODE OWNER GROUP > > > $ > > > Also, kern.ipc.shmmax is only 512MB whereas this problem is consuming > usually 8-10GB. So I guess the remaining possibilities are anonymous > mmap's that are somehow not associated with any process and Posix > shared memory. Are there any ways to investigate either possibility? > > Thanks! > __________________ I was wondering if those pages might be held in the filesystem page cache??? Just a wild guess. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 23:57:21 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 7A8F9603; Thu, 26 Mar 2015 23:57:21 +0000 (UTC) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::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 3BBFBEA5; Thu, 26 Mar 2015 23:57:21 +0000 (UTC) Received: by igbud6 with SMTP id ud6so6851122igb.1; Thu, 26 Mar 2015 16:57:20 -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:content-transfer-encoding; bh=EjN/UMjMuCVxOz1qT/x30pkoRpOIvph/jkbtM5MCJJM=; b=hN7Zm+0HLg45MbpAn3CehkkxWrgtExiHRkSFszTvAb2u5SrJV9hvnNwNLwhspQdn2T 2Ct0Df6bbgrX+kimXFmb6WyPhBNfi8Wd5GxyMSW57/KIZ6FSQY7pVrUEaziH80oPgu7I vxgQ1SZc/8kuTlU08Lni/W7NYvapYqBnaLsF2oSePWwlGNk4n6P7s0XS+1Fq9YlTO9kz ilGEZCcWGzfDyO+1i0OJZy9nBvQWYm07J9pa9KsylmIDidXT58WLGpNs08w698Q/PmvD sNYlYkltUG7JwQkYXQFg6GjssyWGPgNDIJK0AlJj4DcR6qhMsUh92WLGYal0/YFfAdJr ZKWg== MIME-Version: 1.0 X-Received: by 10.50.66.37 with SMTP id c5mr166400igt.26.1427414240660; Thu, 26 Mar 2015 16:57:20 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.36.67.139 with HTTP; Thu, 26 Mar 2015 16:57:20 -0700 (PDT) In-Reply-To: <79371E33-B999-4CAC-A8E4-8D5DDBF043E6@gmail.com> References: <20150316232404.GM2379@kib.kiev.ua> <79371E33-B999-4CAC-A8E4-8D5DDBF043E6@gmail.com> Date: Thu, 26 Mar 2015 19:57:20 -0400 X-Google-Sender-Auth: 2n6_9p_uZd-esWNkJLb-5PbAMO8 Message-ID: Subject: Re: Significant memory leak in 9.3p10? From: J David To: The Lost Admin , freebsd-stable Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 23:57:21 -0000 On Thu, Mar 26, 2015 at 7:39 PM, The Lost Admin wr= ote: > Have you looked through the system shutdown scripts (part of init/rc) to = see what happens after the uptime is printed? that might give you a lead. All of that output is printed by the kernel (see sys/kern/kern_shutdown.c), not by scripts. It happens after any shutdown scripts are run. > The output from your PS seams to be much shorter than I would expect. Are= you sure it included everything? For example, I would expect to see proces= ses for cron, syslog, and normally sshd. Killed them all. Killed absolutely user process but init, login, and the shell. Memory not freed. > I=E2=80=99ve also got a few more kernel processes that you don=E2=80=99t = appear to have. Most notably is pagedaemon pagedaemon is on the list with pid 5. Thanks! From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 00:22: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 B96FD312; Fri, 27 Mar 2015 00:22:46 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (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 831BB1F3; Fri, 27 Mar 2015 00:22:46 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t2R0PMqt053074; Thu, 26 Mar 2015 17:25:28 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: J David , Kevin Oberman In-Reply-To: References: <20150316232404.GM2379@kib.kiev.ua> , From: "Chris H" Subject: Re: Significant memory leak in 9.3p10? Date: Thu, 26 Mar 2015 17:25:28 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <1a80c0a3a7a587eef36118fd736203d9@ultimatedns.net> Content-Transfer-Encoding: 8bit Cc: freebsd-stable , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 00:22:46 -0000 On Thu, 26 Mar 2015 14:03:45 -0700 Kevin Oberman wrote > On Thu, Mar 26, 2015 at 12:46 PM, J David wrote: > > > On Mon, Mar 16, 2015 at 7:52 PM, J David wrote: > > > On Mon, Mar 16, 2015 at 7:24 PM, Konstantin Belousov > > > wrote: > > >> There are a lot of possibilities to create persistent anonymous shared > > >> memory objects. Not complete list is tmpfs mounts, swap-backed md > > disks, > > >> sysv shared memory, possibly posix shared memory (I do not remember > > which > > >> implementation is used in stable/9). > > > > > > If that's the explanation, how could it be > > > detected/measured/investigated/resolved/prevented? > > > > > > Under ordinary circumstances, machines will go run like this for > > days/weeks: > > > > > > Mem: 549M Active, 3623M Inact, 567M Wired, 3484K Cache, 827M Buf, 3156M > > Free > > > Swap: 1024M Total, 1024M Free > > > > > > Then, when this happens, it rapidly degrades from that to so bad that > > > processes start getting killed for being out of swap space. > > > > These FreeBSD machines running out of swap space and dying continues > > to be a daily problem causing outages and unscheduled reboots. Is > > there really no way to even research what might be causing the > > problem? > > > > (Widening the cross-posting in the hopes of eliciting more help, so > > the brief summary of the problem orginally posted to freebsd-stable is > > that an unknown actor consumes all the user-space memory in the > > system, including swap space, to the point where processes are killed > > for being out of swap space, but if every process on the machine is > > stopped, very little of the user-space memory in use is freed. > > Original message with more details is here: > > https://lists.freebsd.org/pipermail/freebsd-stable/2015-March/081986.html > > .) > > > > There are no tmpfs mounts or md disks, so it would have to be one of > > the other causes. How can FreeBSD's use of persistent, anonymous > > shared memory objects be investigated, measured, or controlled so we > > can get a handle on this issue? > > > > This is just a shot in the dark and not a really likely one, but I have had > issues with Firefox leaking memory badly. I can free the space by killing > firefox and restarting it. > > It seems to be linked to certain web sites, probably javascript. I have not > been able to confirm which one does it. It just will start growing until > the system slows to a crawl as too many things are swapped out. Normally my > system does not touch swap. I can confirm this -- both regular, as well as ESR. Upgrading firefox [ultimately] has little-to-no effect. I have experienced this for near 2yrs. I suspect the [firefoxes] js engine. Any one of any number of sites could/would/will cause it. As Kevin already noted; stopping firefox, and starting it again, seems the only solution. > > If it is in user space, top should show it under RES. > -- > Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --Chris From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 00:28:16 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 A2B08520; Fri, 27 Mar 2015 00:28:16 +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 7336724A; Fri, 27 Mar 2015 00:28:16 +0000 (UTC) Received: by igbud6 with SMTP id ud6so7360411igb.1; Thu, 26 Mar 2015 17:28:15 -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=fozeCqu6rCHBNUTXRzlNAUkgj6Y/snNvQrVqG18/588=; b=mlqdGGSyrX8Mewyh+rqtAaJbXkPp3+IKuOGjUdl1a6xuI0YenmqK4B9CAMPHLJP0Dp rQ4HMAv1bhpkqAEK5LUsaF/V1wwuBhtZcClJEQrqJDcUvS0qNm2As0OXm5+XcD5/alIn UJ3kJtPtPDcrKllP07n47+8K+jlv7ohP5GSoWIM09uAyIXSh0VUmFF/Mr6aGRzuwzL6V 7I4rAUbtWHX4SEJEcpdp7PD3PaIe5N5QlnA84js+AAl2SVG/kdPIC90/Xzs01Xyflmc1 kce7yWygXJvvXo7OCD36Zvc5JFl4S7NJQzB0hhXfiUVNyHa1X4+vZWWuQTezHlPe1xtZ w3SQ== MIME-Version: 1.0 X-Received: by 10.50.30.130 with SMTP id s2mr41217900igh.11.1427416095772; Thu, 26 Mar 2015 17:28:15 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.36.67.139 with HTTP; Thu, 26 Mar 2015 17:28:15 -0700 (PDT) In-Reply-To: <1a80c0a3a7a587eef36118fd736203d9@ultimatedns.net> References: <20150316232404.GM2379@kib.kiev.ua> <1a80c0a3a7a587eef36118fd736203d9@ultimatedns.net> Date: Thu, 26 Mar 2015 20:28:15 -0400 X-Google-Sender-Auth: 1hiY-wfYArA_Ugqw4y88XSrhP8w Message-ID: Subject: Re: Significant memory leak in 9.3p10? From: J David To: Chris H Content-Type: text/plain; charset=UTF-8 Cc: Kevin Oberman , freebsd-stable , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 00:28:16 -0000 On Thu, Mar 26, 2015 at 8:25 PM, Chris H wrote: > As Kevin already noted; stopping firefox, and starting it again, > seems the only solution. The machines in questions are servers, they do not run Firefox or any GUI. And whatever is using the memory does not show up on ps or top. Thanks! From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 00:32:57 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 63AEF7C6 for ; Fri, 27 Mar 2015 00:32:57 +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 2AA43347 for ; Fri, 27 Mar 2015 00:32:57 +0000 (UTC) Received: by igbud6 with SMTP id ud6so7430917igb.1 for ; Thu, 26 Mar 2015 17:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:from:date:message-id:subject:to :content-type; bh=nJhJM2S6XEYMY73Qr4UAzQK82bAUSiNiAxL2h12zpeo=; b=yULVJWoBFBQsAuink4zkGrGHbz8p7GLToyT1H6Fz7jeKLsqYXn2bjKT7F+nc8qZ7fB SAR4gbqH/P7ZV25lc9s/2pRhrA7rR4yXPHmBBnR/y9prJnAvOAEGqoTogewEdHrMzkvX 2AjXQCf6jNjE9HQ9agsNKtamf0gKw/sy6bvy/+gFIfmkeuO7g8N0O1GCEyMChl61m+mw bZhdTdcUYy1lI0YjyQZnqKJC8EnOrShTifcrE+ipJdL9KLwQmOb/ms4c3cbNFHZiqVxL tLsshhYNiO13rIP/sivDEMABikje+KCs4egiba8rXZe8P+AqQp/UiWVg/H6E2xlQpqoH keCg== X-Received: by 10.107.13.144 with SMTP id 138mr25278399ion.24.1427416376477; Thu, 26 Mar 2015 17:32:56 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <55144D86.2080105@paz.bz> From: Ben Woods Date: Fri, 27 Mar 2015 00:32:55 +0000 Message-ID: Subject: Re: dhcpd logging To: Jim Pazarena , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 00:32:57 -0000 Why not continue to use syslog, but tell it to log dhcpd to a separate log file? Just add these two lines at the bottom of your /etc/syslog.conf (above the !* line): !dhcpd *.* /var/log/dhcpd.log More information is in syslog.conf(5) man page, or here: https://www.freebsd.org/doc/en/books/handbook/configtuning-syslog.html Regards, Ben On Fri, 27 Mar 2015 at 2:23 am Jim Pazarena wrote: > I want to place dhcpd log messages in a file rather than the > syslog facility LOG_DAEMON. > So I see that with the command line flag "-d" I can direct messages > to stderr. > > How can I adjust the normal rc.conf to actually TELL the system > the file name? Is there a way? Also, I would want to append to the > file via ">>" rather than clobber it every time I reload dhcpd. > > Thanks ! > _______________________________________________ > 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 Fri Mar 27 00:59: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 35781F84; Fri, 27 Mar 2015 00:59:58 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (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 EAAA1786; Fri, 27 Mar 2015 00:59:57 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t2R12YUM056338; Thu, 26 Mar 2015 18:02:40 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: J David In-Reply-To: References: <20150316232404.GM2379@kib.kiev.ua> <1a80c0a3a7a587eef36118fd736203d9@ultimatedns.net>, From: "Chris H" Subject: Re: Significant memory leak in 9.3p10? Date: Thu, 26 Mar 2015 18:02:40 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <8ff850e3a89d01436d3ab488a2f1f425@ultimatedns.net> Content-Transfer-Encoding: 8bit Cc: Kevin Oberman , freebsd-stable , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 00:59:58 -0000 On Thu, 26 Mar 2015 20:28:15 -0400 J David wrote > On Thu, Mar 26, 2015 at 8:25 PM, Chris H wrote: > > As Kevin already noted; stopping firefox, and starting it again, > > seems the only solution. > > The machines in questions are servers, they do not run Firefox or any > GUI. And whatever is using the memory does not show up on ps or top. Fair enough. I'm still getting caught up, on the thread. Maybe another "shot in the dark". But speaking of Servers. We ran into trouble with a web server generating *enormous* error logs -- a runaway script. The result was, even tho there was far more than adequate space for the swelling log(s). Memory, and eventually Swap usage, began to climb quite steadily. Like I said; maybe a shot in the dark. But just thought I'd mention it. > > Thanks! --Chris -- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 01:10:57 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 7463D1FE for ; Fri, 27 Mar 2015 01:10:57 +0000 (UTC) Received: from smtp68.ord1c.emailsrvr.com (smtp68.ord1c.emailsrvr.com [108.166.43.68]) (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 4BB4E876 for ; Fri, 27 Mar 2015 01:10:57 +0000 (UTC) Received: from smtp9.relay.ord1c.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp9.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 797163801BC for ; Thu, 26 Mar 2015 21:03:32 -0400 (EDT) Received: by smtp9.relay.ord1c.emailsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id 203703801AC for ; Thu, 26 Mar 2015 21:03:32 -0400 (EDT) X-Sender-Id: rhavenn@rhavenn.net Received: from vash.rhavenn.local ([UNAVAILABLE]. [209.112.171.194]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.4.2); Fri, 27 Mar 2015 01:03:32 GMT Received: from localhost (vash.rhavenn.local [local]); by vash.rhavenn.local (OpenSMTPD) with ESMTPA id 17b7cf61; for ; Thu, 26 Mar 2015 17:03:30 -0800 (AKDT) Date: Thu, 26 Mar 2015 17:03:30 -0800 From: Henrik Hudson To: freebsd-questions@freebsd.org Subject: pw -h file descriptor flag and python scripts... Message-ID: <20150327010330.GA70222@vash.rhavenn.local> 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 01:10:57 -0000 Hey List, I've been trying to write a Python script that does some systems management. Part of this is to add a new user account. I'd like to set the password for this account. The route I was taking is using Python's subprocess module, but I seem to be getting stuck in that Python treats everything as strings and the pw -h option is expecting a fd (file descriptor) back. The command I'm trying to run is: /usr/sbin/pw useradd foobar2 -C /usr/local/etc/bsdmanage/etc/pw.conf -m -c "BSDmanage foobar2 user" -G foobar2-www -h I'm doing this in Python via: listCmdArgs = shlex.split(strPwUserCmd) processUser = subprocess.Popen(listCmdArgs,stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.PIPE) strOutPut, strErrorValue = processUser.communicate('password') print(strOutPut + ' wa ' + strErrorValue) strPwUserCmd = the pw command from above. processUser.commmunicate wants to pass in a string value. I also tried doing it via: listCmdArgs = shlex.split(strPwUserCmd) processUser = subprocess.Popen(listCmdArgs,stdin=objTempPassFile.fileno(),stdout=subprocess.PIPE,stderr=subprocess.PIPE) and listCmdArgs = shlex.split(strPwUserCmd) processUser = subprocess.Popen(listCmdArgs,stdin=objTempPassFile,stdout=subprocess.PIPE,stderr=subprocess.PIPE) where the objTempPassFile is a file object I've written the password too, done a seek(0) to reset it and left it open. like: objTempPassFile = open(strTempDir + 'foobar.txt', 'w+') objTempPassFile.write(strTempPass) objTempPassFile.seek(0) I realize this is more of a "Python" question, but figured someone on here might be able to get me straightened out. thanks. henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 00:05:30 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 DF6ECAE3; Fri, 27 Mar 2015 00:05:30 +0000 (UTC) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) (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 9CED7FB9; Fri, 27 Mar 2015 00:05:30 +0000 (UTC) Received: by gddsn.org.cn (Postfix, from userid 65534) id E4CD02E087; Fri, 27 Mar 2015 08:05:27 +0800 (CST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on gddsn.org.cn X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lp.gddsn.org.cn (unknown [10.44.8.136]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: wsk) by gddsn.org.cn (Postfix) with ESMTPSA id B1EC92E035; Fri, 27 Mar 2015 08:05:07 +0800 (CST) Content-Type: text/plain; charset=gb2312 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: SSH hung with an OpenSSH_6.6.1p1 --> OpenSSH_5.8p2_hpn13v11 From: =?gb2312?B?zuLK5cCk?= In-Reply-To: <5513DB89.2050801@sentex.net> Date: Fri, 27 Mar 2015 08:05:06 +0800 Content-Transfer-Encoding: quoted-printable Message-Id: <108DC3D1-8B34-4221-B6ED-8700BAF08D2C@gddsn.org.cn> References: <5513AAD8.9060505@gddsn.org.cn> <5513DB89.2050801@sentex.net> To: Mike Tancsa X-Mailer: Apple Mail (2.2070.6) X-Mailman-Approved-At: Fri, 27 Mar 2015 01:24:00 +0000 Cc: stable@freebsd.org, questions@freebsd.org, current@freebsd.org, net@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 00:05:31 -0000 all set are in base. and I=A1=AFm using 10.1-RELEASE-p8 BTW > =D4=DA 2015=C4=EA3=D4=C226=C8=D5=A3=AC=CF=C2=CE=E76:12=A3=ACMike = Tancsa =D0=B4=B5=C0=A3=BA >=20 > On 3/26/2015 2:44 AM, Wu ShuKun wrote: >=20 >> OpenSSH_5.4p1 FreeBSD-20100308, OpenSSL 0.9.8q 2 Dec 2010 >> failed with Latest SSH: >> % ssh -V >> OpenSSH_6.6.1p1, OpenSSL 1.0.1l-freebsd 15 Jan 2015 >=20 > Hi, > The latest is 1.0.1m, no? >=20 > }# ssh -V > OpenSSH_6.6.1p1, OpenSSL 1.0.1m-freebsd 19 Mar 2015 >=20 > What version of FreeBSD are you using ? Ssh and Openssl from the = ports ? or in the base ? >=20 > ---Mike >=20 > --=20 > ------------------- > 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 Fri Mar 27 02:29: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 029D65A3; Fri, 27 Mar 2015 02:29:24 +0000 (UTC) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id A5A02FB1; Fri, 27 Mar 2015 02:29:23 +0000 (UTC) Received: from [10.0.1.2] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.7/8.14.9) with ESMTP id t2R2Oxi7032249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Mar 2015 19:24:59 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Significant memory leak in 9.3p10? From: Doug Hardie In-Reply-To: <8ff850e3a89d01436d3ab488a2f1f425@ultimatedns.net> Date: Thu, 26 Mar 2015 19:24:59 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1AA74AFB-EBB4-48EE-A4A8-F7E5597F16A7@lafn.org> References: <20150316232404.GM2379@kib.kiev.ua> <1a80c0a3a7a587eef36118fd736203d9@ultimatedns.net> <, > <8ff850e3a89d01436d3ab488a2f1f425@ultimatedns.net> To: Chris H X-Mailer: Apple Mail (2.2070.6) X-Virus-Scanned: clamav-milter 0.98 at zoom.lafn.org X-Virus-Status: Clean Cc: Kevin Oberman , J David , freebsd-stable , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 02:29:24 -0000 > On 26 March 2015, at 18:02, Chris H wrote: >=20 > On Thu, 26 Mar 2015 20:28:15 -0400 J David = wrote >=20 >> On Thu, Mar 26, 2015 at 8:25 PM, Chris H = wrote: >>> As Kevin already noted; stopping firefox, and starting it again, >>> seems the only solution. >>=20 >> The machines in questions are servers, they do not run Firefox or any >> GUI. And whatever is using the memory does not show up on ps or top. > Fair enough. I'm still getting caught up, on the thread. >=20 > Maybe another "shot in the dark". But speaking of Servers. We > ran into trouble with a web server generating *enormous* error > logs -- a runaway script. The result was, even tho there was > far more than adequate space for the swelling log(s). Memory, > and eventually Swap usage, began to climb quite steadily. >=20 > Like I said; maybe a shot in the dark. But just thought I'd > mention it. I just encountered the same problem on a FreeBSD 8.2-RELEASE-p3 server = today. Swap was at 100% and processes were being killed. I used ps ax = and killed all the processes with W status that I could. Swap usage = went down to 99%. This was a production server so was forced to reboot. = After the reboot, the system came back up with the same process set and = zero swap used. Shortly after that a core image appeared and the root = filesystem was full. The core file was about 1 GB. However, none of my = processes are anywhere near that. The specific process that was dumped = is only about 140 lines of C code and doesn=E2=80=99t have any dynamic = storage used, just a couple of short character strings and one integer. = The binary file is 23KB. I couldn=E2=80=99t take time to run gdb on it = as it was affecting production. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 02:58: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 E0526EBD; Fri, 27 Mar 2015 02:58:55 +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 A14D32CE; Fri, 27 Mar 2015 02:58:55 +0000 (UTC) Received: by ignm3 with SMTP id m3so24660200ign.0; Thu, 26 Mar 2015 19:58:55 -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=pSUoS/QMhWlm1Xv6O7SZZqqpmd1/N5hKGAQRXRO2wEE=; b=k2snxicHjiIZzZBf9xrUlQnV5a209XvWwknf+aGJGV8y9EPz/xTta7UFww/wAd34nZ m7xaFwP08tvM3C9XGz8EdIzxyLM0Fh3KM9B2x7TkF7XtQ13MEq1/zpLTPfS3aQbkJ/C4 FvjnV0J51Y6Lntluk9AiBN5xS6zbYa/ZZNKj+Dp9aVHzXUH8YZCJpomAbi/WFn01BQh/ mTlPTlKnvVOi3tZkMs84+oZJvCmyL6dOv9I1J8lJGTb8qYM2E6Wl4ykbtFmoWiJL/I3c UgNAX88TtDZ2kLb/yzZvDR1FhObjO3oC2lcv87/BUz5MQzyegEqiZ9eYz1XRb/O1MVpQ Ty5w== MIME-Version: 1.0 X-Received: by 10.42.123.77 with SMTP id q13mr8966336icr.29.1427425134999; Thu, 26 Mar 2015 19:58:54 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.36.67.139 with HTTP; Thu, 26 Mar 2015 19:58:54 -0700 (PDT) In-Reply-To: <5514B220.6080308@multiplay.co.uk> References: <20150316232404.GM2379@kib.kiev.ua> <5514B220.6080308@multiplay.co.uk> Date: Thu, 26 Mar 2015 22:58:54 -0400 X-Google-Sender-Auth: ZKKY5exEolGe8F8hZTp0T5Ml3K4 Message-ID: Subject: Re: Significant memory leak in 9.3p10? From: J David To: Steven Hartland , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 02:58:56 -0000 On Thu, Mar 26, 2015 at 9:28 PM, Steven Hartland wrote: > Does vmstat -m or vmstat -z shed any light? None, as those show kernel memory usage, not user space. Looking at them anyway shows nothing unusual, consuming large amounts of memory, or disproportionate to the kernel memory shown as in-use. The list of suspects that can consume user memory without being associated with any user process is very short: some sort of anonymous, persistent shared memory object. Konstantin offered a partial list of some likely candidates in response to the initial message, including: - NO: tmpfs mounts (not used) - NO: swap-backed md disks (not used) - PROBABLY NO: sysv shared memory (believed not to be used) - MAYBE: possibly posix shared memory (unknown whether used) - MAYBE: anonymous mmap segments that have somehow got lost (i.e. file descriptor is hanging around in the kernel somewhere) -- proposed by someone off-list - MAYBE: others? Of the two remaining known possibilities, posix shared memory seems more likely than an unknown mmap bug. Unfortunately, I have not found any way to gather statistics and/or get/set limits on posix shared memory usage. Does such a method exist? Really, it would be great if there were a tool that could walk the entire list of VM blocks and generate some kind of report or statistics (like vmstat -z or vmstat -m, but for VM rather than kernel memory). As it is, we are reduced to guessing what might be going on, which is decidedly suboptimal. However, I have no idea if such a tool exists, if it is even possible to write, or (if it is) how to go about writing it. Thanks! From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 05:27:05 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 395A2719 for ; Fri, 27 Mar 2015 05:27:05 +0000 (UTC) Received: from mail.silvertree.org (arthur.silvertree.org [173.11.101.153]) by mx1.freebsd.org (Postfix) with SMTP id F22FA3B3 for ; Fri, 27 Mar 2015 05:27:04 +0000 (UTC) Received: (qmail 61550 invoked from network); 27 Mar 2015 05:27:03 -0000 Received: from tintagel.silvertree.org (tintagel.silvertree.org [173.11.101.157]) by arthur.silvertree.org ([173.11.101.153]) with ESMTP via TCP; 27 Mar 2015 05:27:03 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: FreeBSD 8.4 - Can't mount nfs over tcp, but can mount over udp From: Scott Schappell In-Reply-To: <55145C8A.3030206@silvertree.org> Date: Thu, 26 Mar 2015 22:27:03 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <55145C8A.3030206@silvertree.org> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.2070.6) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 05:27:05 -0000 On Mar 26, 2015, at 12:22 PM, Scott Schappell = wrote: >=20 > I have a FreeNAS 9.3 server exporting an NFS share over UDP and TCP. = Everything works great over UDP, but over TCP, everything times out. >=20 Ok, this is weird. As my normal user in =E2=80=9Cwheel=E2=80=9D group, = rpcinfo -T tcp or rpcinfo -p doesn=E2=80=99t time out. But when I become = root or run via sudo, it does. This really has me flummoxed now. Has = anyone come across something like this?= From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 07:37: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 0BA1AAAC for ; Fri, 27 Mar 2015 07:37:11 +0000 (UTC) Received: from fallback4.mail.ru (fallback4.mail.ru [94.100.181.169]) by mx1.freebsd.org (Postfix) with ESMTP id 7BDC818D for ; Fri, 27 Mar 2015 07:37:09 +0000 (UTC) Received: from smtp1.mail.ru (smtp1.mail.ru [94.100.179.111]) by fallback4.mail.ru (mPOP.Fallback_MX) with ESMTP id 0DB613C6B41 for ; Fri, 27 Mar 2015 10:35:58 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Type:In-Reply-To:References:Subject:CC:MIME-Version:From:Date:Message-ID; bh=s6ZaDnTgu9Jp66gvKd0vX2VHptzFExQxc+1H1mSsvVI=; b=OF8wTwaT0tAux7vKLtrQZ8bD1KLOiHoMKAnppVISBTwVU8DBvWayhUQpb7rVfH3K7YmD3l+LmyOIU7VIqdNRS/NmJMfOih+GZKQlLwHyLkxfWNeftDqU8L4M6x6RXJAKQjS+2c8bh9qNWDkuwsEivN8mbHBylF4iyyDxGqig1vk=; Received: from [109.188.127.13] (port=50660 helo=[192.168.0.12]) by smtp1.mail.ru with esmtpa (envelope-from ) id 1YbOo1-0002wa-6B for freebsd-questions@freebsd.org; Fri, 27 Mar 2015 10:35:49 +0300 Message-ID: <55150872.3010205@artem.ru> Date: Fri, 27 Mar 2015 10:36:18 +0300 From: Artem Kuchin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 CC: FreeBSD Questions Mailing List Subject: Re: rm -rf stalls server References: <55144606.7000003@artem.ru> In-Reply-To: X-Spam: Not detected X-Mras: Ok Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 07:37:11 -0000 26.03.2015 23:25, Mehmet Erol Sanliturk пишет: > > > On Thu, Mar 26, 2015 at 10:46 AM, Artem Kuchin > wrote: > > So, i do > rm -rf tree_root > > After i do it in 5 minutes process count goes over 1000, mysql is > flooded with > request it cannot complete. I can barely type anything. Top shown > tons of processes > in 'ufs' status. > So, I ctrl-C rm command > and kill -9 apache, otherwise it will take like 20 minutes to > resume normal operations. > > > > > I am using a script to delete .BAK files from many directories with > lines like > > rm path/*.BAK > find path -name '*.BAK' -exec rm -f '{}' + > > > I think , it will not load your CPU continuously with a single > execution for all of the directories . > > Well, it is not about CPU load. Disk system is overloaded. I probably missed one important point What if user starts tarring or rmrfing something and stalls server? Is there system way to lower io priority or limit io ops per user? Basically, if user does rm -rf on huge tree it is an equivalent of a fork bomb. Artem From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 09:16: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 4D4BA43C; Fri, 27 Mar 2015 09:16:44 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::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 E3EB9EA6; Fri, 27 Mar 2015 09:16:43 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id t2R9Gc7e052295 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 27 Mar 2015 11:16:38 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua t2R9Gc7e052295 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id t2R9Gbbu052294; Fri, 27 Mar 2015 11:16:37 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 27 Mar 2015 11:16:37 +0200 From: Konstantin Belousov To: J David Subject: Re: Significant memory leak in 9.3p10? Message-ID: <20150327091637.GH2379@kib.kiev.ua> References: <20150316232404.GM2379@kib.kiev.ua> 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-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: freebsd-stable , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 09:16:44 -0000 On Thu, Mar 26, 2015 at 03:46:05PM -0400, J David wrote: > On Mon, Mar 16, 2015 at 7:52 PM, J David wrote: > > On Mon, Mar 16, 2015 at 7:24 PM, Konstantin Belousov > > wrote: > >> There are a lot of possibilities to create persistent anonymous shared > >> memory objects. Not complete list is tmpfs mounts, swap-backed md disks, > >> sysv shared memory, possibly posix shared memory (I do not remember which > >> implementation is used in stable/9). > > > > If that's the explanation, how could it be > > detected/measured/investigated/resolved/prevented? > > > > Under ordinary circumstances, machines will go run like this for days/weeks: > > > > Mem: 549M Active, 3623M Inact, 567M Wired, 3484K Cache, 827M Buf, 3156M Free > > Swap: 1024M Total, 1024M Free > > > > Then, when this happens, it rapidly degrades from that to so bad that > > processes start getting killed for being out of swap space. > > These FreeBSD machines running out of swap space and dying continues > to be a daily problem causing outages and unscheduled reboots. Is > there really no way to even research what might be causing the > problem? > > (Widening the cross-posting in the hopes of eliciting more help, so > the brief summary of the problem orginally posted to freebsd-stable is > that an unknown actor consumes all the user-space memory in the > system, including swap space, to the point where processes are killed > for being out of swap space, but if every process on the machine is > stopped, very little of the user-space memory in use is freed. > Original message with more details is here: > https://lists.freebsd.org/pipermail/freebsd-stable/2015-March/081986.html > .) > > There are no tmpfs mounts or md disks, so it would have to be one of > the other causes. How can FreeBSD's use of persistent, anonymous > shared memory objects be investigated, measured, or controlled so we > can get a handle on this issue? Start by providing useful information about your system, not a description of the information. E.g., a consistent snapshot of the following: ps auxww swapinfo mount -v mdconfig -lv vmstat -z vmstat -m vmstat -s sysctl -a ipcs -a Collect this data both during the normal run, run while the problem appear but userspace is not killed, and after you killed the processes. Just in case, show kldstat. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 09:24: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 EFBA4809 for ; Fri, 27 Mar 2015 09:24:46 +0000 (UTC) Received: from mail.xtaz.uk (tao.xtaz.uk [IPv6:2001:8b0:202::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B22CCFB3 for ; Fri, 27 Mar 2015 09:24:46 +0000 (UTC) Received: by mail.xtaz.uk (Postfix, from userid 1001) id AE698209AF2F; Fri, 27 Mar 2015 09:24:42 +0000 (GMT) Date: Fri, 27 Mar 2015 09:24:42 +0000 From: Matt Smith To: Jim Pazarena Subject: Re: dhcpd logging Message-ID: <20150327092442.GB51823@xtaz.uk> Mail-Followup-To: Matt Smith , Jim Pazarena , freebsd-questions@freebsd.org References: <55144D86.2080105@paz.bz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <55144D86.2080105@paz.bz> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 09:24:47 -0000 On Mar 26 11:18, Jim Pazarena wrote: >I want to place dhcpd log messages in a file rather than the >syslog facility LOG_DAEMON. >So I see that with the command line flag "-d" I can direct messages >to stderr. > >How can I adjust the normal rc.conf to actually TELL the system >the file name? Is there a way? Also, I would want to append to the >file via ">>" rather than clobber it every time I reload dhcpd. > As Ben said in the other reply. Why not just use syslog? I do this in /etc/syslog.conf: At the top of the file above all the other lines: !-dhcpd ... At the bottom of the file below all the other lines: !dhcpd *.* /var/log/dhcpd.log !* This will cause all log lines from dhcpd to go to that file and remove them from all of the other files. And then something like this in /etc/newsyslog.conf: /var/log/dhcpd.log 640 3 * $W6D0 Which will rotate it every week. -- Matt From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 13:31:21 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 304E4F55 for ; Fri, 27 Mar 2015 13:31:21 +0000 (UTC) Received: from relay.netserv.kiev.ua (relay.netserv.kiev.ua [77.88.208.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9782D1CC for ; Fri, 27 Mar 2015 13:31:19 +0000 (UTC) Received: from 00-w01.mgcnet.local (sa1.mcnet [172.26.139.41]) by relay.netserv.kiev.ua (8.13.5/8.13.5) with ESMTP id t2RDOjbC027578 for ; Fri, 27 Mar 2015 15:24:46 +0200 Date: Fri, 27 Mar 2015 15:24:51 +0200 From: Subscriber Reply-To: Subscriber X-Priority: 3 (Normal) Message-ID: <1912673295.20150327152451@agoris.net.ua> To: freebsd-questions@freebsd.org Subject: System based openssl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 13:31:21 -0000 =0D=0AHi. Witch version of system based OpenSSL last for FreeBSD 10.1? I have # uname -srm FreeBSD 10.1-RELEASE-p8 amd64 # freebsd-version -ku 10.1-RELEASE-p8 10.1-RELEASE-p8 # /usr/bin/openssl version OpenSSL 1.0.1l-freebsd 15 Jan 2015 But openssl.org says the last version OpenSSL in 1.0.1 tree is 1.0.1m (19-Mar-2015) No OpenSSL files available during freebsd-update: # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 10.1-RELEASE from update4.freebsd.org... do= ne. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 10.1-RELEASE-p8: /boot/kernel/kernel What is wrong? Thx. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 16:05: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 47BF9E03 for ; Fri, 27 Mar 2015 16:05:33 +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 20987A9A for ; Fri, 27 Mar 2015 16:05:33 +0000 (UTC) Received: by igcau2 with SMTP id au2so34329584igc.1 for ; Fri, 27 Mar 2015 09:05:32 -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=tuDNDeiExnsPR+jC9kHhqIIN0t0Y3IxnbRD2zexpmCI=; b=SGpibMc5c3UkYitX9uS4+Vi/MJ1nNNv4vhICu322WSUKZYRCR90hh10Gn3escaPXoh BJdg1k+3hmZfMQkUvclo2dkyE7VqvwLEktgDJPFL5yMwjV0uRfs0VWCdT2pA7DjsTQhJ Q3vzqwCndEQTQkrvIOApdC8mNH5EN3dEqkA6NJFpIbvxTd+AFkobN0WJKNWurE6gkF4z 4SHBR4uX+DRs1StNp9FPN9sjRrs2iiRZcl5UqQfChg/Wh+3cuGxg9zvOqBzkzTxZFlh6 X70pfS6/w3bomB5E2Mmf7jpKywA+w6N9ddnBMBGOsBZZt6+H2bgz8nTjjcn4w/A1OrNF 44pg== MIME-Version: 1.0 X-Received: by 10.50.132.66 with SMTP id os2mr45402959igb.6.1427472332328; Fri, 27 Mar 2015 09:05:32 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.107.4.13 with HTTP; Fri, 27 Mar 2015 09:05:32 -0700 (PDT) Date: Fri, 27 Mar 2015 09:05:32 -0700 X-Google-Sender-Auth: Fwb9pDNTHdOijHmy9K-05A0ymvc Message-ID: Subject: System Compile Failure From: Chris Maness To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 16:05:33 -0000 I am having trouble compiling the system and kernel for 10.1-RELEASE on my server. It exits with a failure on the base compilation and kernel. As a solution I compiled everything on another system then tarball the whole src tree. However, when I go to install the kernel via #make installkernel, it complains that no kernel has been compiled (even though it was before I changed systems). Now the only thing that comes to mind is that this is an AMD64 system. Maybe the install scripts know this and want to install a customized kernel for AMD64. However, I only compiled the generic kernel. However, that is what is running the system now, an i386 generic kernel. I prefer src installs because of the mergemaster stages. I like how quickly I can merge files with it. I have found an article about converting a system to AMD64, but it was a bit on the old side. I am not sure if it was still relevant. It was written circa 9.0. Appreciate the help, I spent about six hours trying my own little fixes to no avail. Regards, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 16:13: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 F3B9D1BC for ; Fri, 27 Mar 2015 16:13:39 +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 B94C4C19 for ; Fri, 27 Mar 2015 16:13:39 +0000 (UTC) Received: by iecvj10 with SMTP id vj10so74369578iec.0 for ; Fri, 27 Mar 2015 09:13: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=X8By7O7xky/0TAi2HBI7B8Qjvdzolk2NMXqS54TSrJI=; b=gYAbbYA97eOXCOttBav1pnXP7N1PR9CAW7ubL3VyI+a3KPX4o8GuSfOifx/0foc718 IgmStTEwVJH0A3Oezin/QqI6Yh5421zsd4Wj3B3aEEQ8N8ITj0HgfLIV2fg5KZ7riIPx ZKftAbaJD8DR07DWpvYeZlXvNFt9p8kBYC7r97MpPfxqK6UL+4keSGiL++7/lNqFebuY 1ZReqebBYyWdG5KKMc7urtfEnYpFhxdUOlJVujBIe4dMm9vKRx3id3C35og3BEEAQQRG SGXnNK/UJm5XBPkUwgLpJk0PmfSTBAp+SfZndn8w9s5AW3Snfpdrcx11gV0yU6LRevis AQqA== MIME-Version: 1.0 X-Received: by 10.50.97.41 with SMTP id dx9mr45439849igb.1.1427472819287; Fri, 27 Mar 2015 09:13:39 -0700 (PDT) Received: by 10.50.232.134 with HTTP; Fri, 27 Mar 2015 09:13:39 -0700 (PDT) Date: Sat, 28 Mar 2015 00:13:39 +0800 Message-ID: Subject: From: Ruel Borais To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 16:13:40 -0000 -- www.rmsilkscreenprint.net/A From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 17:27: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 2110FBA4 for ; Fri, 27 Mar 2015 17:27:37 +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 D9B2380F for ; Fri, 27 Mar 2015 17:27:36 +0000 (UTC) Received: by ignm3 with SMTP id m3so35741997ign.0 for ; Fri, 27 Mar 2015 10:27:36 -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=PYjHq+o4PEJdIaujQofZXsETDed49TDsui6Em1ZKy18=; b=UdVqnAWLYRHFD0F8P5ShLjzasnoihmfu58dFJpcal+Wuyn9ZG4VqDn3jI7EV+nOMgl NCRq32EuiqWTNTLpPNIcP0qfCdDFKYT/Q+3P+ihDbBKukmpXI7IEXVLnS/fS4+pLN181 YK/phJVVkI4ZRGJQAGs4LFz/m2hck5H3QW8Z4ikeKEHhnVHhKjlPv8GgGHaJZcBE1AZq ppdEPUh+9bhB3l7/K7GWhH5VMweS4E9PNd9W0ikMbpqOzSf8t3DgzcXorBMlWg9GbG1M aaV7X08l1Lzmmk5U2guoBJUGx77ui+ib4RZlMB+RsZARze1DZ+IxsxabOjtv2Yfr/mtT fv5A== MIME-Version: 1.0 X-Received: by 10.42.226.69 with SMTP id iv5mr38217144icb.58.1427477256289; Fri, 27 Mar 2015 10:27:36 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.107.9.224 with HTTP; Fri, 27 Mar 2015 10:27:36 -0700 (PDT) In-Reply-To: References: Date: Sat, 28 Mar 2015 00:27:36 +0700 X-Google-Sender-Auth: FZTJkkcQyhHr8gVgj0D1LCfdKIU Message-ID: Subject: Re: System Compile Failure From: Olivier Nicole To: Chris Maness Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 17:27:37 -0000 Chris, > I am having trouble compiling the system and kernel for 10.1-RELEASE > on my server. It exits with a failure on the base compilation and > kernel. I had the same problem yesterday. I tried to delete /usr/obj before make buildworld, then I tried to delete /usr/src and svn a new copy of the system and it worked. Olivier > > As a solution I compiled everything on another system then tarball the > whole src tree. However, when I go to install the kernel via #make > installkernel, it complains that no kernel has been compiled (even > though it was before I changed systems). Now the only thing that > comes to mind is that this is an AMD64 system. Maybe the install > scripts know this and want to install a customized kernel for AMD64. > However, I only compiled the generic kernel. However, that is what is > running the system now, an i386 generic kernel. > > I prefer src installs because of the mergemaster stages. I like how > quickly I can merge files with it. > > I have found an article about converting a system to AMD64, but it was > a bit on the old side. I am not sure if it was still relevant. It > was written circa 9.0. > > Appreciate the help, I spent about six hours trying my own little > fixes to no avail. > > Regards, > Chris Maness > _______________________________________________ > 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 Fri Mar 27 20:04: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 6593A91D for ; Fri, 27 Mar 2015 20:04:14 +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 27F94E40 for ; Fri, 27 Mar 2015 20:04:14 +0000 (UTC) Received: by igcxg11 with SMTP id xg11so29756586igc.0 for ; Fri, 27 Mar 2015 13:04:13 -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:content-type; bh=zYgNwVq7YQEDOGWybHq0y0s0dLizBVowm9EWG8tVRXk=; b=FQwwynFfy6RF9ev+hx6uniOHq/me2aCqc3HidzIjThRuTxlIb5XJ6xTtVN8ozEerSc A5OuPVtJ+CnZW/mzMIobdJXPg/XNxm7ZcZEhyo8oqlJRPeSzPv6x4FieDbO/tiW1qUxX xDnQ9CZyxOrGJiK7WjPdAZuXWnz7xljL/VnftaSHxGrZM8mAvOacvPBO9BEhn7qhNN6f ldNYVnxJZUnk1XpBdCX06TSd39G696U0JgxDb/ADHpX8AotlZLwZSowmX+IE+dHZ8bgF tDvN3/VUC8pdv3WU1U9SsBSju1pjUOwgPH3JHjnQoVVNTMt2HYNE/OkF2ln4dkE8+l0r 62uQ== MIME-Version: 1.0 X-Received: by 10.50.43.227 with SMTP id z3mr889083igl.6.1427486653501; Fri, 27 Mar 2015 13:04:13 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.107.4.13 with HTTP; Fri, 27 Mar 2015 13:04:13 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 Mar 2015 13:04:13 -0700 X-Google-Sender-Auth: XzwvwgL_kCgSwgsBZMCgMZO8QUg Message-ID: Subject: Re: System Compile Failure From: Chris Maness To: Olivier Nicole , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 20:04:14 -0000 Ok, I temporarily moved /src/obj and buildworld fails with error 1, so it is not that. Any other suggestions? Regards, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 00:29:39 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 2BB66BD6 for ; Sat, 28 Mar 2015 00:29:39 +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 E1B02E3C for ; Sat, 28 Mar 2015 00:29:38 +0000 (UTC) Received: by igcau2 with SMTP id au2so34547291igc.0 for ; Fri, 27 Mar 2015 17:29:38 -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=F4y6xaTY9J7ow/dL1bNNX+bcq+fnDdTLxn4rI7z/MPM=; b=O90QzAsZpBK8ADFR667jJVOxmT+RIZMr55sozTKl3x846JGCEgkaoBl9l6tXeVwoFK r0+1/igdvmDXJf7UYBJNyQm+p6OMsVPtnyTNBlUo+69A6Bqrd8JiCae8L8Jx/SZTU+ny EJ/aMD0HGPLFTVrUU0ZdsuKQx/8z2vDDr6E9d53zSPQEmBdgw0VpDaov49sQfYLiPRJx O2Z0JOUr7gt2jAau9k/96gYXFzjIDfRtRvZlVjXvYVS+24UMkdwDGCoYe+XRbqTlNtrQ Bxb+lcWCIkRdvh9QfW17wpcMLky7AA157BsaLSGnefK0LryhzQZWqrwfwf0klbjRujsm BDFQ== MIME-Version: 1.0 X-Received: by 10.42.88.206 with SMTP id d14mr47931515icm.40.1427502578305; Fri, 27 Mar 2015 17:29:38 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.107.9.224 with HTTP; Fri, 27 Mar 2015 17:29:38 -0700 (PDT) In-Reply-To: References: Date: Sat, 28 Mar 2015 07:29:38 +0700 X-Google-Sender-Auth: _wCFKy97wGqXVZLzzP7N4Sl8zPE Message-ID: Subject: Re: System Compile Failure From: Olivier Nicole To: Chris Maness Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 00:29:39 -0000 Chris, Have you tried to reload the source? For me it failed when I copied the source tree from one machine to another, but worked well after I reinstalled a fresh source tree. You can also look at the environment ariables, but iy should not be an issue. Bests, Olivier On Sat, Mar 28, 2015 at 3:04 AM, Chris Maness wrote: > Ok, I temporarily moved /src/obj and buildworld fails with error 1, so > it is not that. > > Any other suggestions? > > Regards, > Chris Maness > _______________________________________________ > 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 Sat Mar 28 00:36:40 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 CDE80CE5 for ; Sat, 28 Mar 2015 00:36:40 +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 8FD69F0E for ; Sat, 28 Mar 2015 00:36:40 +0000 (UTC) Received: by igbud6 with SMTP id ud6so34652687igb.1 for ; Fri, 27 Mar 2015 17:36:39 -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=+CrWzZZjfdQoFd+Eoq2Koeu2lhx4v8GQpXCbpuoIoxg=; b=L54W3IrfplWzRJz5/H3LCJqZZElyH963cj4DKcjHe9SnfMIRdtpu+DGsSlWJVJicgg qWLkrEdMbZpZqiJHKtr4pSwAnq77gG7u2iwUHOy2lnAPtkjb605ygewNid+xq0LoUVKf 5t31rIx0nty0Ge9NKZaLO19fgmZBmCWKhkM0gDEOR49TkCqqA2zI0EsxOvARKr5T56xl VlUHkPDojw3qddrKmmfDhpXFUzg9YoT3PAlV/n3NM9d+LvL2QzCOVcx5GqUpC6mEw5Bt UbWD6AqlO+bRUZXOu8YT8udPpL4exJwPV0WiHUi4NtktTf4VwkKnXCvh0JWKYNlHSXb0 EP/w== MIME-Version: 1.0 X-Received: by 10.107.155.131 with SMTP id d125mr33355346ioe.17.1427502999870; Fri, 27 Mar 2015 17:36:39 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.107.4.13 with HTTP; Fri, 27 Mar 2015 17:36:39 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 Mar 2015 17:36:39 -0700 X-Google-Sender-Auth: W0v41sSDP7Wi4LeykIg9IEMJT70 Message-ID: Subject: Re: System Compile Failure From: Chris Maness To: Olivier Nicole Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 00:36:40 -0000 On Fri, Mar 27, 2015 at 5:29 PM, Olivier Nicole wrote: > Chris, > > Have you tried to reload the source? For me it failed when I copied > the source tree from one machine to another, but worked well after I > reinstalled a fresh source tree. > > You can also look at the environment ariables, but iy should not be an issue. > > Bests, > > Olivier > This was with a fresh tree. I deleted the old one and used SVN to fetch the latest on the RELEASE tree. How do I check the environment variables? What should I be looking for? Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 03:33: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 D982D83B for ; Sat, 28 Mar 2015 03:33:41 +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 9DFC12FA for ; Sat, 28 Mar 2015 03:33:41 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-69.adsl.hiwaay.net [216.180.19.69]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2S3XXW4028219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 27 Mar 2015 22:33:34 -0500 Message-ID: <55162284.6040806@hiwaay.net> Date: Fri, 27 Mar 2015 22:39:48 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: Re: ipfw question References: <55122B21.60905@hiwaay.net> In-Reply-To: <55122B21.60905@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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 03:33:41 -0000 On 03/24/15 22:27, William A. Mahaffey III wrote: > > > I completed a full pkg upgrade & freebsd-update this A.M. & rebooted. > I notice the following in my /var/log/security file: > > > Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:32830 in via re0 > Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:65133 in via re0 > Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:65133 in via re0 > Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:29850 in via re0 > Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:29850 in via re0 > Feb 26 12:14:19 kabini1 kernel: ipfw: 65500 Deny TCP 216.180.54.1:110 > 192.168.0.27:32249 in via re0 > Feb 27 11:23:49 kabini1 kernel: ipfw: 65500 Deny TCP > 108.59.11.225:9001 192.168.0.27:30252 in via re0 > Feb 27 11:24:36 kabini1 last message repeated 8 times > Feb 27 11:25:18 kabini1 kernel: ipfw: 65500 Deny TCP > 108.59.11.225:9001 192.168.0.27:30252 in via re0 > Mar 14 08:31:42 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:11037 in via re0 > Mar 19 08:36:35 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:64292 in via re0 > Mar 19 08:36:35 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:64292 in via re0 > Mar 19 08:36:35 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:50006 in via re0 > Mar 19 08:36:35 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:50006 in via re0 > Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:19797 in via re0 > Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:23420 in via re0 > Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:23420 in via re0 > Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:33492 in via re0 > Mar 19 08:36:44 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:33492 in via re0 > Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:10331 in via re0 > Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:10331 in via re0 > Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:52550 in via re0 > Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:52550 in via re0 > Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:31977 in via re0 > Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:31977 in via re0 > Mar 19 08:38:04 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:63154 in via re0 > Mar 19 21:55:13 kabini1 kernel: ipfw: 65500 Deny TCP > 178.32.219.197:9001 192.168.0.27:37694 in via re0 > Mar 19 21:55:46 kabini1 last message repeated 7 times > Mar 19 21:57:08 kabini1 last message repeated 2 times > Mar 23 15:06:36 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:32015 in via re0 > Mar 23 15:06:36 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:32015 in via re0 > Mar 23 15:06:40 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:40246 in via re0 > Mar 23 15:06:40 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:40246 in via re0 > Mar 23 15:07:15 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:38671 in via re0 > Mar 23 15:07:15 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.99.2:53 > 192.168.0.27:38671 in via re0 > Mar 23 15:07:20 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:17037 in via re0 > Mar 23 15:07:20 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 > 192.168.0.27:17037 in via re0 > Mar 24 09:59:15 kabini1 kernel: ipfw: 65500 Deny P:2 192.168.0.27 > 224.0.0.22 out via re0 > Mar 24 09:59:22 kabini1 last message repeated 3 times > Mar 24 10:01:22 kabini1 last message repeated 4 times > Mar 24 10:09:23 kabini1 last message repeated 16 times > Mar 24 10:37:08 kabini1 kernel: ipfw: 65500 Deny P:2 192.168.0.27 > 224.0.0.22 out via re0 > Mar 24 10:37:16 kabini1 last message repeated 3 times > Mar 24 10:39:15 kabini1 last message repeated 4 times > Mar 24 10:49:16 kabini1 last message repeated 20 times > Mar 24 10:59:15 kabini1 last message repeated 20 times > Mar 24 11:09:16 kabini1 last message repeated 20 times > Mar 24 11:19:15 kabini1 last message repeated 20 times > Mar 24 11:29:15 kabini1 last message repeated 20 times > Mar 24 11:39:16 kabini1 last message repeated 20 times > Mar 24 11:49:15 kabini1 last message repeated 20 times > > > The last lines about 'message repeated continue until the present. I > show some output for the last few weeks to show this wasn't happening > before. Any clues what is causing this ? FreeBSD 9.3-RELEASE-p10, > 192.168.0.27 is this box, ipfw rules haven't changed in months & are > mostly the stock 'workstation' rules w/ a few extra rules to let NFS > work, see below. Need anything else, please ask & TIA .... > > > [root@kabini1, /etc, 10:26:29pm] 366 % ipfw show > 00100 211446 127533786 allow ip from any to any via lo0 > 00200 0 0 deny ip from any to 127.0.0.0/8 > 00300 0 0 deny ip from 127.0.0.0/8 to any > 00400 0 0 deny ip from any to ::1 > 00500 0 0 deny ip from ::1 to any > 00600 0 0 allow ipv6-icmp from :: to ff02::/16 > 00700 0 0 allow ipv6-icmp from fe80::/10 to fe80::/10 > 00800 2 152 allow ipv6-icmp from fe80::/10 to ff02::/16 > 00900 0 0 allow ipv6-icmp from any to any ip6 icmp6types 1 > 01000 0 0 allow ipv6-icmp from any to any ip6 icmp6types > 2,135,136 > 01100 0 0 check-state > 01200 371 38801 allow tcp from me to any established > 01300 131125 100329380 allow tcp from me to any setup keep-state > 01400 15375 1247143 allow udp from me to any keep-state > 01500 0 0 allow icmp from me to any keep-state > 01600 0 0 allow ipv6-icmp from me to any keep-state > 01700 0 0 allow udp from 0.0.0.0 68 to 255.255.255.255 > dst-port 67 out > 01800 0 0 allow udp from any 67 to me dst-port 68 in > 01900 0 0 allow udp from any 67 to 255.255.255.255 > dst-port 68 in > 02000 0 0 allow udp from fe80::/10 to me dst-port 546 in > 02100 0 0 allow icmp from any to any icmptypes 8 > 02200 0 0 allow ipv6-icmp from any to any ip6 icmp6types > 128,129 > 02300 3390 189852 allow icmp from any to any icmptypes 3,4,11 > 02400 0 0 allow ipv6-icmp from any to any ip6 icmp6types 3 > 02500 164 12060 allow tcp from 192.168.0.0/24 to me > 02600 729 139344 allow udp from 192.168.0.0/24 513 to > 192.168.0.0/24 dst-port 513 > 65000 2079 233849 count ip from any to any > 65100 334 58174 deny { tcp or udp } from any to any dst-port > 111,137,138 in > 65200 325 118875 deny { tcp or udp } from 192.168.0.0/24 to me > 65300 0 0 deny ip from any to 255.255.255.255 > 65400 0 0 deny ip from any to 224.0.0.0/24 in > 65500 0 0 deny udp from any to any dst-port 520 in > 65500 0 0 deny tcp from any 80,443 to any dst-port > 1024-65535 in > 65500 1420 56800 deny log logamount 5000 ip from any to any > 65535 0 0 deny ip from any to any > [root@kabini1, /etc, 10:26:37pm] 367 % > Anyone ? I'm over 5000 warnings, saw that in my messages file ? What gives here ? -- 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 Sat Mar 28 05:04: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 82778269 for ; Sat, 28 Mar 2015 05:04:19 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 286FAD9D for ; Sat, 28 Mar 2015 05:04:18 +0000 (UTC) Received: from mail.gmx.com ([72.251.118.123]) by mail.gmx.com (mrgmx001) with ESMTPA (Nemesis) id 0LjrDd-1ZDXm33nzN-00bu39 for ; Sat, 28 Mar 2015 06:04:09 +0100 Date: Fri, 27 Mar 2015 21:05:29 -0800 From: "CK" To: Cc: Subject: smartctl Reply-To: "CK" X-Mailer: UMail v1.0 Message-ID: <0LzskF-1ZWnak3ftL-0150PB@mail.gmx.com> X-Provags-ID: V03:K0:LFg3RSCYAPx3+gMderVvxHYLNcuJ4uB/TkhiSLonNIs2nFMO0oc +mrLimIcjkBA6eJA2Gqc2psQ8W4u4XI3oNamDDfjYECPPaZ+KomtgkuECwTmMrq3TaeObpK ILraKJAJqSSRheZzMFFvWJfClhLTagjcJ8tsqX9TKj8uno6sthRn7nNw5Ge5RPI1+JdT9OI Oh3SIvWIJ8zcBwNE4WGjw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 05:04:19 -0000 Regarding the unexpected loss of files from the filesystem under various loads, is the appended 'smartctl' data sufficient to make the determination that the loss of files while the operating system is in use could be due to the condition of the drive? I didn't think so at first, because: 1) I would expect a FreeBSD error to the effect of "unable to read/write /dev/ada0" or "block checksum does not match block data". 2) I would expect that all data read/written to from a drive is verfied to be correct by FreeBSD with checksums, and that it is guaranteed to be correct if there are no serious and fatal errors reported by the operating system. But I may be wrong in these assumptions. Anybody know for sure? I have never seen FreeBSD report any filesystem r/w errors. My past experience has only taught me that when a drive begins to make very bad noises, this generally accompanies obvious and serious problems; and that a drive fails when the mechanical parts fail, but not due to wear on heads/platters or other things that may cause failures that are not detected/reported by the operating system. I can't see how the loss of files could occur without FreeBSD noticing it and reporting on it. Does FreeBSD just trust drives to do everything correctly at all times? -- smartctl 6.2 2014-02-18 r3874 [FreeBSD 9.2-RELEASE i386] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Caviar WDxxxAB Device Model: WDC WD400AB-22CDB0 Serial Number: WD-WMA9T1222658 Firmware Version: 22.04A22 User Capacity: 40,020,664,320 bytes [40.0 GB] Sector Size: 512 bytes logical/physical Device is: In smartctl database [for details use: -P show] ATA Version is: ATA/ATAPI-5 (minor revision not indicated) Local Time is: Fri Mar 27 20:35:32 2015 AKDT SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x84) Offline data collection activity was suspended by an interrupting command from host. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 2376) seconds. Offline data collection capabilities: (0x3b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. No Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. No General Purpose Logging support. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 42) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0007 102 099 021 Pre-fail Always - 3975 4 Start_Stop_Count 0x0032 100 100 040 Old_age Always - 58 5 Reallocated_Sector_Ct 0x0033 199 199 140 Pre-fail Always - 1 7 Seek_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0 9 Power_On_Hours 0x0032 083 083 000 Old_age Always - 12540 10 Spin_Retry_Count 0x0013 100 253 051 Pre-fail Always - 0 11 Calibration_Retry_Count 0x0013 100 253 051 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 57 196 Reallocated_Event_Count 0x0032 199 199 000 Old_age Always - 1 197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0012 200 200 000 Old_age Always - 0 199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0009 200 200 051 Pre-fail Offline - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] Selective Self-tests/Logging not supported From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 06:15: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 8C20EB43 for ; Sat, 28 Mar 2015 06:15:09 +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 EA656361 for ; Sat, 28 Mar 2015 06:15:08 +0000 (UTC) Received: from localhost.localdomain ([81.106.150.188]) by know-smtprelay-7-imp with bizsmtp id 8uDx1q01N4481jl01uDxG9; Sat, 28 Mar 2015 06:13:58 +0000 X-Originating-IP: [81.106.150.188] X-Spam: 0 X-Authority: v=2.1 cv=cpwVkjIi c=1 sm=1 tr=0 a=DGj713NdaxKrsjjgQne7PA==:117 a=DGj713NdaxKrsjjgQne7PA==:17 a=J0QyKEt1u0cA:10 a=IkcTkHD0fZMA:10 a=NLZqzBF-AAAA:8 a=emO1SXQWCLwA:10 a=-9fLHVDCAAAA:8 a=6I5d2MoRAAAA:8 a=PZ8aFhzBlsYE0_cGU5MA:9 a=5oRma74kqghcA8kQ:21 a=Mzqb5po2o4ipaTfE:21 a=QEXdDO2ut3YA:10 Received: by localhost.localdomain (Postfix, from userid 500) id AD6EB848A2; Sat, 28 Mar 2015 06:13:57 +0000 (GMT) Date: Sat, 28 Mar 2015 06:13:57 +0000 From: Ken Moffat To: CK Subject: Re: smartctl Message-ID: <20150328061357.GA18597@milliways> References: <0LzskF-1ZWnak3ftL-0150PB@mail.gmx.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: <0LzskF-1ZWnak3ftL-0150PB@mail.gmx.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 06:15:09 -0000 On Fri, Mar 27, 2015 at 09:05:29PM -0800, CK wrote: > Regarding the unexpected loss of files from the filesystem under various > loads, is the appended 'smartctl' data sufficient to make the determination > that the loss of files while the operating system is in use could be due to > the condition of the drive? > Drives fail. Sometimes smartctl reports problems _if_ you run the tests, other times they fail suddenly. The drive is old (only 40GB), so although the hours are only 12540 (500 days) I suspect it might have been "round the clock". Apparently it is a 5400rpm PATA drive - I used to use a pair of 5400rpm drives for RAID1 on a previous server, but I think I bought those 6 or more years ago, and even then they were 320GB. So old age seems a possible answer. > I didn't think so at first, because: > > 1) I would expect a FreeBSD error to the effect of "unable to read/write > /dev/ada0" or "block checksum does not match block data". > > 2) I would expect that all data read/written to from a drive is verfied to be > correct by FreeBSD with checksums, and that it is guaranteed to be correct > if there are no serious and fatal errors reported by the operating system. I cannot comment on that (except in VMs I'm a linux user), but if the drive's write cache is enabled then technically all bets are off - most modern drives will do that to improve throughput. You can also get filesystem errors, and unfortunate use of 'rm -rf'. > > But I may be wrong in these assumptions. Anybody know for sure? I have never > seen FreeBSD report any filesystem r/w errors. My past experience has only > taught me that when a drive begins to make very bad noises, this generally > accompanies obvious and serious problems; and that a drive fails when the > mechanical parts fail, but not due to wear on heads/platters or other things > that may cause failures that are not detected/reported by the operating > system. > My experience is limited (starting with two or three machines, mostly with one drive each, through to the current day where I have 4 desktop machines with one drive each, and machine used as a server with 3 drives). But recently I seem to have to replace at least one drive every year (although the last one was "just in case" because the SMART checks were often reporting unreadable sectors - not permanent errors, and it was in RAID-1 so ok while the other one still worked - and I've discarded others because they became too slow or too antiquated (IDE, SATAv1). But I would seriously suggest that if you have installed smartmontools then you ought to run some of the tests - on a server I tend to run long tests daily, at a time when I hope it is quiet, but on desktops less frequently. For a laptop I probably only run them when I think about it and know it will be on mains power. > I can't see how the loss of files could occur without FreeBSD noticing it and > reporting on it. Does FreeBSD just trust drives to do everything correctly > at all times? > > -- > > smartctl 6.2 2014-02-18 r3874 [FreeBSD 9.2-RELEASE i386] (local build) > Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org > > === START OF INFORMATION SECTION === > Model Family: Western Digital Caviar WDxxxAB > Device Model: WDC WD400AB-22CDB0 > Serial Number: WD-WMA9T1222658 > Firmware Version: 22.04A22 > User Capacity: 40,020,664,320 bytes [40.0 GB] > Sector Size: 512 bytes logical/physical > Device is: In smartctl database [for details use: -P show] > ATA Version is: ATA/ATAPI-5 (minor revision not indicated) > Local Time is: Fri Mar 27 20:35:32 2015 AKDT > SMART support is: Available - device has SMART capability. > SMART support is: Enabled > > === START OF READ SMART DATA SECTION === > SMART overall-health self-assessment test result: PASSED > > General SMART Values: > Offline data collection status: (0x84) Offline data collection activity > was suspended by an interrupting command from host. > Auto Offline Data Collection: Enabled. > Self-test execution status: ( 0) The previous self-test routine completed > without error or no self-test has ever > been run. > Total time to complete Offline > data collection: ( 2376) seconds. > Offline data collection > capabilities: (0x3b) SMART execute Offline immediate. > Auto Offline data collection on/off support. > Suspend Offline collection upon new > command. > Offline surface scan supported. > Self-test supported. > Conveyance Self-test supported. > No Selective Self-test supported. > SMART capabilities: (0x0003) Saves SMART data before entering > power-saving mode. > Supports SMART auto save timer. > Error logging capability: (0x01) Error logging supported. > No General Purpose Logging support. > Short self-test routine > recommended polling time: ( 2) minutes. > Extended self-test routine > recommended polling time: ( 42) minutes. > Conveyance self-test routine > recommended polling time: ( 5) minutes. > > SMART Attributes Data Structure revision number: 16 > Vendor Specific SMART Attributes with Thresholds: > ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE > 1 Raw_Read_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0 > 3 Spin_Up_Time 0x0007 102 099 021 Pre-fail Always - 3975 > 4 Start_Stop_Count 0x0032 100 100 040 Old_age Always - 58 > 5 Reallocated_Sector_Ct 0x0033 199 199 140 Pre-fail Always - 1 I've had recent drives which started to give problems (particularly, unreadable sectors) around the time the Reallocated Sector Count became non-zero. > 7 Seek_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0 > 9 Power_On_Hours 0x0032 083 083 000 Old_age Always - 12540 > 10 Spin_Retry_Count 0x0013 100 253 051 Pre-fail Always - 0 > 11 Calibration_Retry_Count 0x0013 100 253 051 Pre-fail Always - 0 > 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 57 > 196 Reallocated_Event_Count 0x0032 199 199 000 Old_age Always - 1 > 197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always - 0 > 198 Offline_Uncorrectable 0x0012 200 200 000 Old_age Always - 0 > 199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 0 > 200 Multi_Zone_Error_Rate 0x0009 200 200 051 Pre-fail Offline - 0 > > SMART Error Log Version: 1 > No Errors Logged > > SMART Self-test log structure revision number 1 > No self-tests have been logged. [To run self-tests, use: smartctl -t] > I would try running some self-tests. > > Selective Self-tests/Logging not supported > > _______________________________________________ > 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" ĸ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. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 07:23: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 5B0304A2 for ; Sat, 28 Mar 2015 07:23:18 +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 14E73BE1 for ; Sat, 28 Mar 2015 07:23:17 +0000 (UTC) Received: from r56.edvax.de (port-92-195-131-196.dynamic.qsc.de [92.195.131.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2447A3CE33; Sat, 28 Mar 2015 08:23:06 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t2S7N5FN001931; Sat, 28 Mar 2015 08:23:06 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 28 Mar 2015 08:23:05 +0100 From: Polytropon To: Chris Maness Subject: Re: System Compile Failure Message-Id: <20150328082305.eb2c45cd.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 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 07:23:18 -0000 On Fri, 27 Mar 2015 17:36:39 -0700, Chris Maness wrote: > On Fri, Mar 27, 2015 at 5:29 PM, Olivier Nicole > wrote: > > Chris, > > > > Have you tried to reload the source? For me it failed when I copied > > the source tree from one machine to another, but worked well after I > > reinstalled a fresh source tree. > > > > You can also look at the environment ariables, but iy should not be an issue. > > > > Bests, > > > > Olivier > > > > This was with a fresh tree. I deleted the old one and used SVN to > fetch the latest on the RELEASE tree. How do I check the environment > variables? What should I be looking for? Check the output of "printenv" (csh), also have a look at your /etc/make.conf for variables that will be set when make is run. Anything offending or strange there? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 09:32: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 88A7FBD8 for ; Sat, 28 Mar 2015 09:32:32 +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 41191ABD for ; Sat, 28 Mar 2015 09:32:31 +0000 (UTC) Received: from [93.104.10.102] (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 1Ybn6N-0001pk-0N for freebsd-questions@freebsd.org; Sat, 28 Mar 2015 10:32:23 +0100 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t2S9WLQH001719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 28 Mar 2015 10:32:21 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t2S9WKSF001718 for freebsd-questions@freebsd.org; Sat, 28 Mar 2015 10:32:20 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 28 Mar 2015 10:32:20 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: dump aborted due to /etc/dumpdates on read-only file system Message-ID: <20150328093220.GA1588@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: 93.104.10.102 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 09:32:32 -0000 Hello, I did a dump of the read-only root fs (in single user mode) and at the end it said: ... DUMP: finished in 9837 seconds, throughput 3766 KByte/sec DUMP: cannot rewrite /etc/dumpdates: Read-only file system DUMP: The ENTIRE dump is aborted. I know, I could have specified with -D ... another file, but I did not. The written dump file looks fine (I can read it with restore -t -f ...). My question is: Is the dumpfile fine, despite of the above message. Thanks matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 "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 Sat Mar 28 10:03: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 69B4FF15 for ; Sat, 28 Mar 2015 10:03:13 +0000 (UTC) Received: from smtp206.alice.it (smtp206.alice.it [82.57.200.102]) by mx1.freebsd.org (Postfix) with ESMTP id EF891D82 for ; Sat, 28 Mar 2015 10:03:12 +0000 (UTC) Received: from soth.ventu (87.18.56.84) by smtp206.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 547D8AFA15DF92F3 for freebsd-questions@freebsd.org; Sat, 28 Mar 2015 11:03:05 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.15.1/8.14.9) with ESMTP id t2SA34G6087598 for ; Sat, 28 Mar 2015 11:03:04 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <55167C58.5000809@netfence.it> Date: Sat, 28 Mar 2015 11:03:04 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: smartctl References: <0LzskF-1ZWnak3ftL-0150PB@mail.gmx.com> In-Reply-To: <0LzskF-1ZWnak3ftL-0150PB@mail.gmx.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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 10:03:13 -0000 On 03/28/15 06:05, CK wrote: > Regarding the unexpected loss of files from the filesystem under various > loads, is the appended 'smartctl' data sufficient to make the determination > that the loss of files while the operating system is in use could be due to > the condition of the drive? I half trust smartctl and I half trust the logs: if these give errors, the drive is bad (although it could possibly be repaired by the vendor tools). The only thing I really trust are the vendors testing tools (Ultimate Boor CD might be a good start), but you can't run them while the disk is mounted on a running system. > 1) I would expect a FreeBSD error to the effect of "unable to read/write > /dev/ada0" or "block checksum does not match block data". Usually I get read errors in the log when a drive is bad. > 2) I would expect that all data read/written to from a drive is verfied to be > correct by FreeBSD with checksums, and that it is guaranteed to be correct > if there are no serious and fatal errors reported by the operating system. Can't tell, sorry. > My past experience has only > taught me that when a drive begins to make very bad noises, this generally > accompanies obvious and serious problems When a drive starts making noises it's already too late; SMART was born to warn in advance. Whether it works (or to what extent) is an open issue. > and that a drive fails when the mechanical parts fail, I've also seen dead drive which were mechanically perfect: it was the electronics which died (although I admin this is less frequent). > SMART overall-health self-assessment test result: PASSED > ... > SMART Error Log Version: 1 > No Errors Logged This is a little reassuring, but don't trust it blindly. If you suspect something, run the tests. > Offline data collection status: (0x84) Offline data collection activity > was suspended by an interrupting command from host. Maybe it's normal, I don't know, but I would investigate this. > Self-test execution status: ( 0) The previous self-test routine completed > without error or no self-test has ever > been run. > ... > No self-tests have been logged. [To run self-tests, use: smartctl -t] If you cannot stop the system and run the vendor tools, I strongly suggest to at least run these tests. bye av. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 15:19: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 5D5CEB2C for ; Sat, 28 Mar 2015 15:19: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 17D52EA4 for ; Sat, 28 Mar 2015 15:19:06 +0000 (UTC) Received: by igcxg11 with SMTP id xg11so42031408igc.0 for ; Sat, 28 Mar 2015 08:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=1zXmtnN1wy3+zFeqhG2ojgUlqhmy1Q+vSbelkpHVVQs=; b=qCq7cZhXPElwelGSqmRfAt+cqwZXtzSkXwGaKTGqasa4z7X7xy9vyvIfr1jLeh606G 7hrs98R58Qorc/USdrkCji4TdnO+bhlgwh51pmJywEvdCrbvyN/apDZWF7R8KJ4G9KLG cWGdkv0C4HOYC2FYK7MwJmjUQy9cOq/2/t54Fl5le9pcLkGXI6/bpgdb0ejs6eqgDi05 /D8simIjyfqfV8E/zWEgNP8Cb6aCk20XDN1c5DzhmF7aAPsjCtywBSrcn0a62Gu7kvGN /7+1peIwuJGN+2Cmg+YMxVNCsT3s4EAB7IM1fJXz5fXH8uPZ5oLM0cGLum9yiZyKXGy6 kFeQ== X-Received: by 10.107.130.16 with SMTP id e16mr36209844iod.80.1427555945441; Sat, 28 Mar 2015 08:19:05 -0700 (PDT) Received: from [192.168.89.100] (192-171-49-199.cpe.pppoe.ca. [192.171.49.199]) by mx.google.com with ESMTPSA id d1sm3593405igr.20.2015.03.28.08.19.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Mar 2015 08:19:04 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: ipfw question From: The Lost Admin In-Reply-To: <5516C210.6090806@hiwaay.net> Date: Sat, 28 Mar 2015 11:19:02 -0400 Message-Id: <07C9255C-5CDA-4C96-A227-EB28FC836BF5@gmail.com> References: <55122B21.60905@hiwaay.net> <55162284.6040806@hiwaay.net> <5516BB73.7010108@hiwaay.net> <26D37EC0-1C91-4009-A5C6-7B40CDE4099B@gmail.com> <5516BF68.9040806@hiwaay.net> <3782D86A-E280-4C01-B492-D1982D372808@gmail.com> <5516C210.6090806@hiwaay.net> To: "freebsd-questions@freebsd.org" X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "William A. Mahaffey III" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 15:19:06 -0000 On Mar 28, 2015, at 11:00 AM, William A. Mahaffey III = wrote: > On 03/28/15 09:49, The Lost Admin wrote: >>=20 >> On Mar 28, 2015, at 10:49 AM, William A. Mahaffey III = wrote: >>=20 >>> On 03/28/15 09:37, The Lost Admin wrote: >>>>=20 >>>> On Mar 28, 2015, at 10:32 AM, William A. Mahaffey III = wrote: >>>>=20 >>>>> On 03/28/15 09:13, The Lost Admin wrote: >>>>>>=20 >>>>>>=20 >>>>>> On Mar 27, 2015, at 11:39 PM, William A. Mahaffey III = wrote: >>>>>>=20 >>>>>>> On 03/24/15 22:27, William A. Mahaffey III wrote: >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> I completed a full pkg upgrade & freebsd-update this A.M. & = rebooted. I notice the following in my /var/log/security file: >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP = 216.180.122.2:53 192.168.0.27:32830 in via re0 >>>>>>>> [CUT] >>>>>>>>=20 >>>>>>>> [root@kabini1, /etc, 10:26:29pm] 366 % ipfw show >>>>>>>> 00100 211446 127533786 allow ip from any to any via lo0 >>>>>>>> 00200 0 0 deny ip from any to 127.0.0.0/8 >>>>>>>> 00300 0 0 deny ip from 127.0.0.0/8 to any >>>>>>>> 00400 0 0 deny ip from any to ::1 >>>>>>>> 00500 0 0 deny ip from ::1 to any >>>>>>>> 00600 0 0 allow ipv6-icmp from :: to ff02::/16 >>>>>>>> 00700 0 0 allow ipv6-icmp from fe80::/10 to = fe80::/10 >>>>>>>> 00800 2 152 allow ipv6-icmp from fe80::/10 to = ff02::/16 >>>>>>>> 00900 0 0 allow ipv6-icmp from any to any ip6 = icmp6types 1 >>>>>>>> 01000 0 0 allow ipv6-icmp from any to any ip6 = icmp6types 2,135,136 >>>>>>>> 01100 0 0 check-state >>>>>>>> 01200 371 38801 allow tcp from me to any established >>>>>>>> 01300 131125 100329380 allow tcp from me to any setup = keep-state >>>>>>>> 01400 15375 1247143 allow udp from me to any keep-state >>>>>>>> 01500 0 0 allow icmp from me to any keep-state >>>>>>>> 01600 0 0 allow ipv6-icmp from me to any = keep-state >>>>>>>> 01700 0 0 allow udp from 0.0.0.0 68 to = 255.255.255.255 dst-port 67 out >>>>>>>> 01800 0 0 allow udp from any 67 to me dst-port 68 = in >>>>>>>> 01900 0 0 allow udp from any 67 to 255.255.255.255 = dst-port 68 in >>>>>>>> 02000 0 0 allow udp from fe80::/10 to me dst-port = 546 in >>>>>>>> 02100 0 0 allow icmp from any to any icmptypes 8 >>>>>>>> 02200 0 0 allow ipv6-icmp from any to any ip6 = icmp6types 128,129 >>>>>>>> 02300 3390 189852 allow icmp from any to any icmptypes = 3,4,11 >>>>>>>> 02400 0 0 allow ipv6-icmp from any to any ip6 = icmp6types 3 >>>>>>>> 02500 164 12060 allow tcp from 192.168.0.0/24 to me >>>>>>>> 02600 729 139344 allow udp from 192.168.0.0/24 513 to = 192.168.0.0/24 dst-port 513 >>>>>>>> 65000 2079 233849 count ip from any to any >>>>>>>> 65100 334 58174 deny { tcp or udp } from any to any = dst-port 111,137,138 in >>>>>>>> 65200 325 118875 deny { tcp or udp } from 192.168.0.0/24 = to me >>>>>>>> 65300 0 0 deny ip from any to 255.255.255.255 >>>>>>>> 65400 0 0 deny ip from any to 224.0.0.0/24 in >>>>>>>> 65500 0 0 deny udp from any to any dst-port 520 in >>>>>>>> 65500 0 0 deny tcp from any 80,443 to any dst-port = 1024-65535 in >>>>>>>> 65500 1420 56800 deny log logamount 5000 ip from any to = any >>>>>>>> 65535 0 0 deny ip from any to any >>>>>>>> [root@kabini1, /etc, 10:26:37pm] 367 % >>>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> Anyone ? I'm over 5000 warnings, saw that in my messages file ? = What gives here ? >>>>>>>=20 >>>>>>> --=20 >>>>>>>=20 >>>>>> I could be wrong, but I think the 2nd column (1420) is the number = of packets (log entries generated by that line) and the second column is = the total bytes that those packets contained. >>>>>>=20 >>>>>> The Lost Admin >>>>>> thelostadmin@gmail.com >>>>>=20 >>>>> Thanks for your reply. I think you are correct, but I don't think = those are the problems here. After the last 'pkg upgrade' & = freebsd-update, *something* is broadcasting to 224.0.0.22 which wasn't = doing it before. I have had the above rules for months, & before the = upgrade, nothing was trying to broadcast. Now something is & it is = swamping ipfw logging to my messages file. Any clue what it is or how to = find it ? TIA & thanks again. >>>>>=20 >>>>> --=20 >>>>>=20 >>>>> William A. Mahaffey III >>>> I was answering the question about the 5000 log entries. I missed = the original question. >>>>=20 >>>> 224.0.0.22 is a multicast address used for IGMP (Internet Group = Management Protocol). You probably upgraded something = that has initiated some sort of multicast group request. >>>>=20 >>>>=20 >>>=20 >>> Hmmmmm .... OK, good by me. Any idea how to identify that something = that is now broadcasting (which wasn't before) :-) ? TIA & thanks again. >>>=20 >>> --=20 >>>=20 >>> William A. Mahaffey III >>>=20 >>> = ---------------------------------------------------------------------- >>>=20 >>> "The M1 Garand is without doubt the finest implement of war >>> ever devised by man." >>> -- Gen. George S. Patton Jr. >> Read the release notes of the things that got upgraded and see if any = of them introduced multicast for something. >>=20 >> Run a sniffer that is IGMP aware and see what=92s going on with those = packets. It=92s probably a request to be added to a multicast group or = an advertisement for one. >>=20 >=20 > What sniffer could you suggest ? I am new to the *BSD's :-/ .... >=20 > --=20 >=20 > William A. Mahaffey III >=20 > = ---------------------------------------------------------------------- >=20 > "The M1 Garand is without doubt the finest implement of war > ever devised by man." > -- Gen. George S. Patton Jr. Wireshark is pretty but requires X11. It also does a better job of = making the output understandable. tcpdump should be included in the base system and is text so works = without a GUI. You used to be able to take a tcpdump output file and = feed it to Wireshark for viewing.= From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 15:23: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 49501DE3 for ; Sat, 28 Mar 2015 15:23:04 +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 0B503F65 for ; Sat, 28 Mar 2015 15:23:03 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-46.adsl.hiwaay.net [216.180.76.46]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2SFN1da007054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 28 Mar 2015 10:23:01 -0500 Message-ID: <5516C8CB.4050505@hiwaay.net> Date: Sat, 28 Mar 2015 10:29:15 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Re: ipfw question References: <55122B21.60905@hiwaay.net> <55162284.6040806@hiwaay.net> <5516BB73.7010108@hiwaay.net> <26D37EC0-1C91-4009-A5C6-7B40CDE4099B@gmail.com> <5516BF68.9040806@hiwaay.net> <3782D86A-E280-4C01-B492-D1982D372808@gmail.com> <5516C210.6090806@hiwaay.net> <07C9255C-5CDA-4C96-A227-EB28FC836BF5@gmail.com> In-Reply-To: <07C9255C-5CDA-4C96-A227-EB28FC836BF5@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 15:23:04 -0000 On 03/28/15 10:19, The Lost Admin wrote: > On Mar 28, 2015, at 11:00 AM, William A. Mahaffey III wrote: > >> On 03/28/15 09:49, The Lost Admin wrote: >>> On Mar 28, 2015, at 10:49 AM, William A. Mahaffey III wrote: >>> >>>> On 03/28/15 09:37, The Lost Admin wrote: >>>>> On Mar 28, 2015, at 10:32 AM, William A. Mahaffey III wrote: >>>>> >>>>>> On 03/28/15 09:13, The Lost Admin wrote: >>>>>>> >>>>>>> On Mar 27, 2015, at 11:39 PM, William A. Mahaffey III wrote: >>>>>>> >>>>>>>> On 03/24/15 22:27, William A. Mahaffey III wrote: >>>>>>>>> >>>>>>>>> I completed a full pkg upgrade & freebsd-update this A.M. & rebooted. I notice the following in my /var/log/security file: >>>>>>>>> >>>>>>>>> >>>>>>>>> Feb 20 09:52:49 kabini1 kernel: ipfw: 65500 Deny UDP 216.180.122.2:53 192.168.0.27:32830 in via re0 >>>>>>>>> [CUT] >>>>>>>>> >>>>>>>>> [root@kabini1, /etc, 10:26:29pm] 366 % ipfw show >>>>>>>>> 00100 211446 127533786 allow ip from any to any via lo0 >>>>>>>>> 00200 0 0 deny ip from any to 127.0.0.0/8 >>>>>>>>> 00300 0 0 deny ip from 127.0.0.0/8 to any >>>>>>>>> 00400 0 0 deny ip from any to ::1 >>>>>>>>> 00500 0 0 deny ip from ::1 to any >>>>>>>>> 00600 0 0 allow ipv6-icmp from :: to ff02::/16 >>>>>>>>> 00700 0 0 allow ipv6-icmp from fe80::/10 to fe80::/10 >>>>>>>>> 00800 2 152 allow ipv6-icmp from fe80::/10 to ff02::/16 >>>>>>>>> 00900 0 0 allow ipv6-icmp from any to any ip6 icmp6types 1 >>>>>>>>> 01000 0 0 allow ipv6-icmp from any to any ip6 icmp6types 2,135,136 >>>>>>>>> 01100 0 0 check-state >>>>>>>>> 01200 371 38801 allow tcp from me to any established >>>>>>>>> 01300 131125 100329380 allow tcp from me to any setup keep-state >>>>>>>>> 01400 15375 1247143 allow udp from me to any keep-state >>>>>>>>> 01500 0 0 allow icmp from me to any keep-state >>>>>>>>> 01600 0 0 allow ipv6-icmp from me to any keep-state >>>>>>>>> 01700 0 0 allow udp from 0.0.0.0 68 to 255.255.255.255 dst-port 67 out >>>>>>>>> 01800 0 0 allow udp from any 67 to me dst-port 68 in >>>>>>>>> 01900 0 0 allow udp from any 67 to 255.255.255.255 dst-port 68 in >>>>>>>>> 02000 0 0 allow udp from fe80::/10 to me dst-port 546 in >>>>>>>>> 02100 0 0 allow icmp from any to any icmptypes 8 >>>>>>>>> 02200 0 0 allow ipv6-icmp from any to any ip6 icmp6types 128,129 >>>>>>>>> 02300 3390 189852 allow icmp from any to any icmptypes 3,4,11 >>>>>>>>> 02400 0 0 allow ipv6-icmp from any to any ip6 icmp6types 3 >>>>>>>>> 02500 164 12060 allow tcp from 192.168.0.0/24 to me >>>>>>>>> 02600 729 139344 allow udp from 192.168.0.0/24 513 to 192.168.0.0/24 dst-port 513 >>>>>>>>> 65000 2079 233849 count ip from any to any >>>>>>>>> 65100 334 58174 deny { tcp or udp } from any to any dst-port 111,137,138 in >>>>>>>>> 65200 325 118875 deny { tcp or udp } from 192.168.0.0/24 to me >>>>>>>>> 65300 0 0 deny ip from any to 255.255.255.255 >>>>>>>>> 65400 0 0 deny ip from any to 224.0.0.0/24 in >>>>>>>>> 65500 0 0 deny udp from any to any dst-port 520 in >>>>>>>>> 65500 0 0 deny tcp from any 80,443 to any dst-port 1024-65535 in >>>>>>>>> 65500 1420 56800 deny log logamount 5000 ip from any to any >>>>>>>>> 65535 0 0 deny ip from any to any >>>>>>>>> [root@kabini1, /etc, 10:26:37pm] 367 % >>>>>>>>> >>>>>>>> >>>>>>>> Anyone ? I'm over 5000 warnings, saw that in my messages file ? What gives here ? >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>> I could be wrong, but I think the 2nd column (1420) is the number of packets (log entries generated by that line) and the second column is the total bytes that those packets contained. >>>>>>> >>>>>>> The Lost Admin >>>>>>> thelostadmin@gmail.com >>>>>> Thanks for your reply. I think you are correct, but I don't think those are the problems here. After the last 'pkg upgrade' & freebsd-update, *something* is broadcasting to 224.0.0.22 which wasn't doing it before. I have had the above rules for months, & before the upgrade, nothing was trying to broadcast. Now something is & it is swamping ipfw logging to my messages file. Any clue what it is or how to find it ? TIA & thanks again. >>>>>> >>>>>> -- >>>>>> >>>>>> William A. Mahaffey III >>>>> I was answering the question about the 5000 log entries. I missed the original question. >>>>> >>>>> 224.0.0.22 is a multicast address used for IGMP (Internet Group Management Protocol). You probably upgraded something that has initiated some sort of multicast group request. >>>>> >>>>> >>>> Hmmmmm .... OK, good by me. Any idea how to identify that something that is now broadcasting (which wasn't before) :-) ? TIA & 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. >>> Read the release notes of the things that got upgraded and see if any of them introduced multicast for something. >>> >>> Run a sniffer that is IGMP aware and see what’s going on with those packets. It’s probably a request to be added to a multicast group or an advertisement for one. >>> >> What sniffer could you suggest ? I am new to the *BSD's :-/ .... >> >> -- >> >> William A. Mahaffey III >> >> ---------------------------------------------------------------------- >> >> "The M1 Garand is without doubt the finest implement of war >> ever devised by man." >> -- Gen. George S. Patton Jr. > Wireshark is pretty but requires X11. It also does a better job of making the output understandable. > > tcpdump should be included in the base system and is text so works without a GUI. You used to be able to take a tcpdump output file and feed it to Wireshark for viewing. > _______________________________________________ > 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" > Very well, I have wireshark already installed (this is a desktop box), I'll poke around & see what I find. Thanks :-). -- 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 Sat Mar 28 18:08: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 83B16EFA for ; Sat, 28 Mar 2015 18:08:10 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.163]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F12419C for ; Sat, 28 Mar 2015 18:08:09 +0000 (UTC) Received: from WorkBox.Home (184-100-67-185.mpls.qwest.net [184.100.67.185]) by mx.zohomail.com with SMTPS id 1427565159442571.4502020161091; Sat, 28 Mar 2015 10:52:39 -0700 (PDT) Date: Sat, 28 Mar 2015 12:52:36 -0500 From: Bigby James To: freebsd-questions@freebsd.org Subject: Re: dump aborted due to /etc/dumpdates on read-only file system Message-ID: <20150328175236.GA8485@WorkBox.Home> References: <20150328093220.GA1588@c720-r276659> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150328093220.GA1588@c720-r276659> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Matthias Apitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 18:08:10 -0000 On 03/28, Matthias Apitz wrote: > > Hello, > > I did a dump of the read-only root fs (in single user mode) and at the > end it said: > > ... > DUMP: finished in 9837 seconds, throughput 3766 KByte/sec > DUMP: cannot rewrite /etc/dumpdates: Read-only file system > DUMP: The ENTIRE dump is aborted. > > I know, I could have specified with -D ... another file, but I did not. > The written dump file looks fine (I can read it with restore -t -f ...). > > My question is: Is the dumpfile fine, despite of the above message. > > Thanks > > matthias The dump file may be fine (I still too new to FreeBSD to say for certain), but you may wish to make another just to be safe. The dumpdates file is used to record when a dump was made and which level was used for the dump, and so is really only important if you want to make incremental backups. You can either specify a different, modifiable dumpdates file with the '-D' flag if you want to perform incremental backups, or just make full backups each time by excluding the '-u' flag and a level specification when making the dump. -- "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 Mar 28 19:22:10 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 25BFA179 for ; Sat, 28 Mar 2015 19:22:10 +0000 (UTC) Received: from kaywinnit.conundrum.com (smtp.conundrum.com [IPv6:2001:4900:1:213::2:20]) (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 F3A2DC37 for ; Sat, 28 Mar 2015 19:22:09 +0000 (UTC) Received: from aeryn.conundrum.com ([216.235.10.37]) by kaywinnit.conundrum.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1YbwJ3-0007rY-EP; Sat, 28 Mar 2015 19:22:05 +0000 From: Matthew Pounsett Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sat, 28 Mar 2015 15:21:58 -0400 Subject: rc.conf configured jail not getting IP addresses To: "freebsd-questions@freebsd.org Mailing List" Message-Id: <760A9E00-EA43-4DF1-8259-376D1987B2D5@conundrum.com> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) X-Mailer: Apple Mail (2.2070.6) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 19:22:10 -0000 I've been having some issues with ezjail and freebsd-update, so I = decided to give a more basic jail setup a try. I'm following the = instructions in the handbook[1] for setting up a new jail, but seem to = have run into an issue with jail startup and IP address assignment. My host system is 9.3-RELEASE-p10. My rc.conf looks like the following: % grep jail /etc/rc.conf=20 jail_enable=3D"YES" jail_list=3D"test" jail_test_rootdir=3D"/var/jail/test" jail_test_hostname=3D"redacted" jail_test_ip=3D"67.xxx.xxx.xxx,2001:xxxx::xxxx" jail_test_devfs_enable=3D"YES" Startup of the jail takes a surprising amount of time .. about 30 = seconds, but no errors are reported. % time sudo service jail start test Configuring jails:. Starting jails: redacted. sudo service jail start test 0.13s user 0.16s system 0% cpu 30.292 = total The jail starts, but no addresses are assigned to it. % sudo jexec test tcsh # ifconfig igb0 igb0: flags=3D8843 metric 0 mtu = 1500 = options=3D401bb ether d4:85:64:53:91:44 media: Ethernet autoselect (100baseTX ) status: active Am I missing something here? I've double checked the docs in the = handbook, and it doesn't look like I've missed any steps up to this = point. [1]: From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 19:40: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 E1D8877C for ; Sat, 28 Mar 2015 19:40:43 +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 990AAD99 for ; Sat, 28 Mar 2015 19:40:43 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ybwap-0002d4-DL for freebsd-questions@freebsd.org; Sat, 28 Mar 2015 20:40:27 +0100 Received: from pool-72-66-1-32.washdc.fios.verizon.net ([72.66.1.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Mar 2015 20:40:27 +0100 Received: from nightrecon by pool-72-66-1-32.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Mar 2015 20:40:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: ipfw question Date: Sat, 28 Mar 2015 15:40:17 -0400 Lines: 35 Message-ID: References: <55122B21.60905@hiwaay.net> <55162284.6040806@hiwaay.net> <5516BB73.7010108@hiwaay.net> <26D37EC0-1C91-4009-A5C6-7B40CDE4099B@gmail.com> <5516BF68.9040806@hiwaay.net> <3782D86A-E280-4C01-B492-D1982D372808@gmail.com> <5516C210.6090806@hiwaay.net> <07C9255C-5CDA-4C96-A227-EB28FC836BF5@gmail.com> <5516C8CB.4050505@hiwaay.net> Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-66-1-32.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 19:40:44 -0000 William A. Mahaffey III wrote: [snip] >>> >>> "The M1 Garand is without doubt the finest implement of war >>> ever devised by man." >>> -- Gen. George S. Patton Jr. And, oddly enough after many, many years mine still works fine. >> Wireshark is pretty but requires X11. It also does a better job of making >> the output understandable. >> >> tcpdump should be included in the base system and is text so works >> without a GUI. You used to be able to take a tcpdump output file and feed >> it to Wireshark for viewing. [snip] > > Very well, I have wireshark already installed (this is a desktop box), > I'll poke around & see what I find. Thanks :-). > tcpdump can save output in a file which Wireshark can import and read. Both have filtering capabilities, so you can use tcpdump to capture everything and use Wireshark to winnow out of the spew what you find interesting. Or, if you already know pretty much which traffic you want to see it's often easier and quicker (come time to view in Wireshark) to do some basic filtering with tcpdump's myriad command line switches first. I do this on interfaces of remote machines which are servers and have no X, copying the file to the desktop with Wireshark. This can improve signal-to-noise ratio. The same information is present, but Wireshark is just better presentation- wise and can perform some analysis that tcpdump can not. -Mike From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 20:02: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 E3C02138 for ; Sat, 28 Mar 2015 20:02:44 +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 A02DFC7 for ; Sat, 28 Mar 2015 20:02:44 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YbwwL-0003Ji-7Z for freebsd-questions@freebsd.org; Sat, 28 Mar 2015 21:02:41 +0100 Received: from pool-72-66-1-32.washdc.fios.verizon.net ([72.66.1.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Mar 2015 21:02:41 +0100 Received: from nightrecon by pool-72-66-1-32.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Mar 2015 21:02:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: System based openssl Date: Sat, 28 Mar 2015 16:02:26 -0400 Lines: 54 Message-ID: References: <1912673295.20150327152451@agoris.net.ua> Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-66-1-32.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 20:02:45 -0000 Subscriber wrote: > > Hi. > Witch version of system based OpenSSL last for FreeBSD 10.1? > > I have # uname -srm > FreeBSD 10.1-RELEASE-p8 amd64 > > # freebsd-version -ku > 10.1-RELEASE-p8 > 10.1-RELEASE-p8 > > # /usr/bin/openssl version > OpenSSL 1.0.1l-freebsd 15 Jan 2015 This is correct. This is what is currently in the system base. > But openssl.org says the last version OpenSSL in 1.0.1 tree is 1.0.1m > (19-Mar-2015) This would have to be imported into the system base. This involves developer time and effort. It is not quite trivial. There is also a newer OpenSSL in the ports tree. Version 1.0.2 if memory serves. I have seen bugs and problem reports filed against the 1.0.2 so I would be hesitant to just blindly 'install the port version' simply because it's newer. The FreeBSD devs do a pretty fair job at vetting what gets into the system base, and the resulting maintenance issues which arise from time to time. Trying to "outsmart" ones self with the delusion that I know more than they do is how many go about creating their own problems. > No OpenSSL files available during freebsd-update: > # freebsd-update fetch > Looking up update.FreeBSD.org mirrors... 5 mirrors found. > Fetching metadata signature for 10.1-RELEASE from update4.freebsd.org... > done. Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... done. > > The following files will be updated as part of updating to > 10.1-RELEASE-p8: /boot/kernel/kernel > > What is wrong? > Thx. My first impression is nothing is wrong. You have what you're supposed to have. Other than that, I have never used freebsd-update so can't speak to anything relevant to that. -Mike From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 20:32: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 7B0A49A2 for ; Sat, 28 Mar 2015 20:32:47 +0000 (UTC) Received: from mail.tu-berlin.de (mail.tu-berlin.de [130.149.7.33]) (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 38561403 for ; Sat, 28 Mar 2015 20:32:46 +0000 (UTC) X-tubIT-Incoming-IP: 130.149.7.200 Received: from www.redaktion.tu-berlin.de ([130.149.7.200] helo=webhaupt-4.intern.tu-berlin.de) by mail.tu-berlin.de (exim-4.76/mailfrontend-6) with esmtps [TLSv1:AES256-SHA:256] for id 1YbxPP-0000sW-4S; Sat, 28 Mar 2015 21:32:44 +0100 Received: from x5ce137c8.dyn.telefonica.de (x5ce137c8.dyn.telefonica.de [92.225.55.200]) by webmail.tu-berlin.de (Horde Framework) with HTTP; Sat, 28 Mar 2015 21:32:43 +0100 Date: Sat, 28 Mar 2015 21:32:43 +0100 Message-ID: <20150328213243.Horde.OyOwQ_OX34VGxi5GTMKaMA1@webmail.tu-berlin.de> From: dreismann@mailbox.tu-berlin.de To: freebsd-questions@freebsd.org Subject: ?? usage of one daemon figure in a scientific paper -- request for permission Importance: High X-Priority: 1 (Highest) User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 20:32:47 -0000 Dear Sirs, I would like to use your "daemon with hammer" http://www.freebsd.org/gifs/daemon_hammer.jpg in a Figure of my work for a scientific paper (non-profite) I am preparing for "International Journal of Quantum Chemistry" This daemon is listed in "FreeBSD Art". But the "graphics use" is not clear to me. Therefore herewith I would like to kindly ask for your permission to make the aforementioned use of your deamon-figure. A short reponse would be filly sufficient. Thank you in advance foryour help sincerely Aris Dreismann *********************************** Prof. C.A.Dreismann Institute of Chemistry Sekr: C2 TU Berlin Strasse des 17 Juni 135 D-10623 Berlin, GERMANY Tel: +49 30 314-22692 E-Mail: dreismann@chem.TU-Berlin.de From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 21:34: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 CF478BBF for ; Sat, 28 Mar 2015 21:34:36 +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 91EB5C7E for ; Sat, 28 Mar 2015 21:34:36 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-53.adsl.hiwaay.net [216.180.76.53]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2SLYYwV000630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 28 Mar 2015 16:34:34 -0500 Message-ID: <55171FE0.3080303@hiwaay.net> Date: Sat, 28 Mar 2015 16:40:48 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ipfw question References: <55122B21.60905@hiwaay.net> <55162284.6040806@hiwaay.net> <5516BB73.7010108@hiwaay.net> <26D37EC0-1C91-4009-A5C6-7B40CDE4099B@gmail.com> <5516BF68.9040806@hiwaay.net> <3782D86A-E280-4C01-B492-D1982D372808@gmail.com> <5516C210.6090806@hiwaay.net> <07C9255C-5CDA-4C96-A227-EB28FC836BF5@gmail.com> <5516C8CB.4050505@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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 21:34:36 -0000 On 03/28/15 14:40, Michael Powell wrote: > William A. Mahaffey III wrote: > > [snip] >>>> "The M1 Garand is without doubt the finest implement of war >>>> ever devised by man." >>>> -- Gen. George S. Patton Jr. > And, oddly enough after many, many years mine still works fine. > >>> Wireshark is pretty but requires X11. It also does a better job of making >>> the output understandable. >>> >>> tcpdump should be included in the base system and is text so works >>> without a GUI. You used to be able to take a tcpdump output file and feed >>> it to Wireshark for viewing. > [snip] >> Very well, I have wireshark already installed (this is a desktop box), >> I'll poke around & see what I find. Thanks :-). >> > tcpdump can save output in a file which Wireshark can import and read. Both > have filtering capabilities, so you can use tcpdump to capture everything > and use Wireshark to winnow out of the spew what you find interesting. Or, > if you already know pretty much which traffic you want to see it's often > easier and quicker (come time to view in Wireshark) to do some basic > filtering with tcpdump's myriad command line switches first. I do this on > interfaces of remote machines which are servers and have no X, copying the > file to the desktop with Wireshark. This can improve signal-to-noise ratio. > The same information is present, but Wireshark is just better presentation- > wise and can perform some analysis that tcpdump can not. > > -Mike > > > _______________________________________________ > 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" > Thanks, I am running it now, saving output: ( tcpdump -v > & LIST.tcpdump.txt & ) 1 question. does tcpdump print stuff before or after ipfw messes with it ? I only see 2 lines w/ the word BROADCAST in it (& they are input from another box), but still see lines indicating BROADCAST stuff being filtered out (& logged) by ipfw .... -- 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 Sat Mar 28 21:34: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 32EF2C54 for ; Sat, 28 Mar 2015 21:34:57 +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 98A88C8F for ; Sat, 28 Mar 2015 21:34:56 +0000 (UTC) Received: from zero-gravitas.local (vpn-1.adestra.com [46.236.37.122]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t2SLYnjL060225 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 28 Mar 2015 21:34:50 GMT (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 t2SLYnjL060225 Authentication-Results: smtp.infracaninophile.co.uk/t2SLYnjL060225; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host vpn-1.adestra.com [46.236.37.122] claimed to be zero-gravitas.local Message-ID: <55171E79.4070407@FreeBSD.org> Date: Sat, 28 Mar 2015 21:34:49 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ?? usage of one daemon figure in a scientific paper -- request for permission References: <20150328213243.Horde.OyOwQ_OX34VGxi5GTMKaMA1@webmail.tu-berlin.de> In-Reply-To: <20150328213243.Horde.OyOwQ_OX34VGxi5GTMKaMA1@webmail.tu-berlin.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DEAR_SOMETHING autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 21:34:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 2015/03/28 20:32, dreismann@mailbox.tu-berlin.de wrote: > Dear Sirs, > > I would like to use your "daemon with hammer" > http://www.freebsd.org/gifs/daemon_hammer.jpg in a Figure of my > work for a scientific paper (non-profite) I am preparing for > "International Journal of Quantum Chemistry" > > This daemon is listed in "FreeBSD Art". But the "graphics use" is > not clear to me. Therefore herewith I would like to kindly ask for > your permission to make the aforementioned use of your > deamon-figure. > > A short reponse would be filly sufficient. > > Thank you in advance foryour help Ooops. Apologies for sending the previous message encrypted by accident. What I meant to say in the clear was: You need to ask Kirk McKusic, who is the copyright holder for the BSD Daemon image. You can reach him via mckusic@FreeBSD.org Cheers, Matthew -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVFx55AAoJEABRPxDgqeTnmZYQAKmSPG1fX26jEQsgapQ6X7PM RvR/Cm8WZ3G7tXCwwG/v9whK2gEuw0vmFW6oTrbkTgP+J0RiS1Vi3cAMNaFLznGk XbK/vIhuTsF1DRm6EL9RWPrrJXkUTZnlFrwT9+OrdkqasMsy/9wq2n6lWZP96QKk jYCUndSbtWZRepU6E8o+4qJgnYEhol6eHO/32Zc/TrQbxlKjDXurZtGbEOQrRLVB acrWPZ8xex9/oZRsXvz+TAIsS/7ntGyoZky/EfrzJEpbl3Xz/Lr8NmQYc6LhiFEC AC3mKBKz8HmIrdtTpSxWK3XaXl56MtbmSN7ZY66mpHpFmqVrVdPBuO07O/vXwQXy dSCaroo4vIVKEtLyglUBtZ36y40VD1h+w+6gCCW9d4vfSg1/Z0VvrHdMimeqL4qW +HP6CbKPsYPIwUCmPnjrXTR/HgEF4hveFjyKmTkf7XPKaib6teHncfptsYcxJMuD tSEuTfrhNxZtrSOzMt+d+acE88O0MqyuYeqewn2dqckrybMZX6CrC3uSoJyldd/9 kJ/vqr6vxVQugPuKtCi7no422U9o/CpJMZIADb7tSLjUVe/9CVgl9/sDfEwTJdB0 s2f7vDkzQwkeaPfZ2WIsWbSfH0RtQL/Wu8TWCbVM+ifgvtj6YTvRislmZVAMon/7 ulVj6pkb0tijluy8ENYB =OzyM -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 21:38: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 47D6AD25 for ; Sat, 28 Mar 2015 21:38:21 +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 DA2D0CC0 for ; Sat, 28 Mar 2015 21:38:20 +0000 (UTC) Received: from seedling.local ([192.168.100.2]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t2SLc30d060299 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 28 Mar 2015 21:38:10 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t2SLc30d060299 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1427578691; bh=Le3xUYTJaYjgUmJlweHc+YW6yf3J9oZkJKeTIG0h0VM=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Sat,=2028=20Mar=202015=2021:37:53=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20??=20usage=20of=20one=20daemon=20 figure=20in=20a=20scientific=20paper=20--=20request=0D=0A=20for=20 permission|References:=20<20150328213243.Horde.OyOwQ_OX34VGxi5GTMK aMA1@webmail.tu-berlin.de>=20<55171E79.4070407@FreeBSD.org>|In-Rep ly-To:=20<55171E79.4070407@FreeBSD.org>; b=ivisjAofx8wJXPU62w7mz4as+CtGketlezegASSNveD+Gw9TnDnIqX1KKL9ex8O85 8zALhxr1mEv6RNS52ouqaNwWuEyC7sWaPQ30f520vl/iVutEmZD/mM6DxHYP2TpLa4 nFsRO7A7gjBMUJvd++jUWonTGZYOMNpCmIApPUa8= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [192.168.100.2] claimed to be seedling.local Message-ID: <55171F31.6090403@infracaninophile.co.uk> Date: Sat, 28 Mar 2015 21:37:53 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ?? usage of one daemon figure in a scientific paper -- request for permission References: <20150328213243.Horde.OyOwQ_OX34VGxi5GTMKaMA1@webmail.tu-berlin.de> <55171E79.4070407@FreeBSD.org> In-Reply-To: <55171E79.4070407@FreeBSD.org> OpenPGP: id=C07BF5E310AE64BF6120B0F636A7C05FE1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uAsCpP6vh1RGoD71jqAkKOuLAfDPvtD3C" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DEAR_SOMETHING,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 21:38:21 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --uAsCpP6vh1RGoD71jqAkKOuLAfDPvtD3C Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 28/03/2015 21:34, Matthew Seaman wrote: > On 2015/03/28 20:32, dreismann@mailbox.tu-berlin.de wrote: >> Dear Sirs, >=20 >> I would like to use your "daemon with hammer"=20 >> http://www.freebsd.org/gifs/daemon_hammer.jpg in a Figure of my >> work for a scientific paper (non-profite) I am preparing for >> "International Journal of Quantum Chemistry" >=20 >> This daemon is listed in "FreeBSD Art". But the "graphics use" is >> not clear to me. Therefore herewith I would like to kindly ask for >> your permission to make the aforementioned use of your >> deamon-figure. >=20 >> A short reponse would be filly sufficient. >=20 >> Thank you in advance foryour help >=20 > Ooops. Apologies for sending the previous message encrypted by > accident. What I meant to say in the clear was: >=20 > You need to ask Kirk McKusic, who is the copyright holder for the BSD > Daemon image. You can reach him via mckusic@FreeBSD.org Not doing well tonight: it's mckusick@FreeBSD.org Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --uAsCpP6vh1RGoD71jqAkKOuLAfDPvtD3C 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.20 (Darwin) iQJ8BAEBCgBmBQJVFx87XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATkosQAK/g2N+Iq1sidHOxNCRjthMz /aVl6nXO7RqYTogqHB9KYFmUFF2af/JGeyJidQWuHKzE6FjsSupGoJVLpPYhn3dv 23RTZsfRvrbs4eUuyj1BSJ8l+aflTqL/uUsPmnZuJNm0dmD/+Fkt3V/bWTWudGgF PcZ39Qsk5S8Nr9X71MKl+71NvF/AlXPflQILd2SgUISKByLXGi4t3NymTJq3qZhg wE/Yyk0QzBT7Jp4JxlRItYkkmSM8y9+y9kmC+3ag0XnsNl5m0+r++AhhLUqgBVAE piqp2m83ITeeiXeXyd+xPoil6vWknoLqsZqLxpP9a5/nsiwFJ6exdjCqJuXAJCzG ngRw5HDasdg3LD7pR6RybK4qWyNHRTWKnrEm5W3I2hMbH1iVJ/JqrKqvh/MX1H8L 2JvM5u+dC7+tqHVAWav7yhdHkN9LYiEHdwDbcapWa4YWs+eN4/6u6qB/W9psdGGr zBq4Ya3lM+91ZIZ4UR4o35VBcECtYaSMsCJoCely5+R9ToYnPAXV1dn66w/ifoM1 yk5xnyIb6wr6YXTB3nR0sW56KbPxi/f5pPf2o1RaydAGtX3uQGzSl6WVxMFTrp0e V12IsjiAokTfcTYvFLfDxDIOMj4AzmQl+ipHBrY86qjxd7EWI9XB19TZ5TQHIada QzDlXTnwljih6miEgJM+ =UMBO -----END PGP SIGNATURE----- --uAsCpP6vh1RGoD71jqAkKOuLAfDPvtD3C-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 21:45: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 A1740147 for ; Sat, 28 Mar 2015 21:45:09 +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 6373FDBA for ; Sat, 28 Mar 2015 21:45:09 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-53.adsl.hiwaay.net [216.180.76.53]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2SLj79h007580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 28 Mar 2015 16:45:07 -0500 Message-ID: <5517225A.5090702@hiwaay.net> Date: Sat, 28 Mar 2015 16:51:22 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ipfw question References: <55122B21.60905@hiwaay.net> <55162284.6040806@hiwaay.net> <5516BB73.7010108@hiwaay.net> <26D37EC0-1C91-4009-A5C6-7B40CDE4099B@gmail.com> <5516BF68.9040806@hiwaay.net> <3782D86A-E280-4C01-B492-D1982D372808@gmail.com> <5516C210.6090806@hiwaay.net> <07C9255C-5CDA-4C96-A227-EB28FC836BF5@gmail.com> <5516C8CB.4050505@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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 21:45:09 -0000 On 03/28/15 14:40, Michael Powell wrote: > William A. Mahaffey III wrote: > > [snip] >>>> "The M1 Garand is without doubt the finest implement of war >>>> ever devised by man." >>>> -- Gen. George S. Patton Jr. > And, oddly enough after many, many years mine still works fine. > >>> Wireshark is pretty but requires X11. It also does a better job of making >>> the output understandable. >>> >>> tcpdump should be included in the base system and is text so works >>> without a GUI. You used to be able to take a tcpdump output file and feed >>> it to Wireshark for viewing. > [snip] >> Very well, I have wireshark already installed (this is a desktop box), >> I'll poke around & see what I find. Thanks :-). >> > tcpdump can save output in a file which Wireshark can import and read. Both > have filtering capabilities, so you can use tcpdump to capture everything > and use Wireshark to winnow out of the spew what you find interesting. Or, > if you already know pretty much which traffic you want to see it's often > easier and quicker (come time to view in Wireshark) to do some basic > filtering with tcpdump's myriad command line switches first. I do this on > interfaces of remote machines which are servers and have no X, copying the > file to the desktop with Wireshark. This can improve signal-to-noise ratio. > The same information is present, but Wireshark is just better presentation- > wise and can perform some analysis that tcpdump can not. > > -Mike > > > _______________________________________________ > 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" > P.S.: After a few min. of running tcpdump, I notice traffic to & from 'pperikov.static.corbina.ru.9001', nobody I know or recognize :-/ .... Does this ring a bell w/ anyone ? -- 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 Sat Mar 28 21:57: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 1284F447 for ; Sat, 28 Mar 2015 21:57:48 +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 C4E57EFF for ; Sat, 28 Mar 2015 21:57:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-131-196.dynamic.qsc.de [92.195.131.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 570FF3CCA0; Sat, 28 Mar 2015 22:57:44 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t2SLviLs002810; Sat, 28 Mar 2015 22:57:44 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 28 Mar 2015 22:57:44 +0100 From: Polytropon To: dreismann@mailbox.tu-berlin.de Subject: Re: ?? usage of one daemon figure in a scientific paper -- request for permission Message-Id: <20150328225744.7118ed2a.freebsd@edvax.de> In-Reply-To: <20150328213243.Horde.OyOwQ_OX34VGxi5GTMKaMA1@webmail.tu-berlin.de> References: <20150328213243.Horde.OyOwQ_OX34VGxi5GTMKaMA1@webmail.tu-berlin.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 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 21:57:48 -0000 On Sat, 28 Mar 2015 21:32:43 +0100, dreismann@mailbox.tu-berlin.de wrote: > This daemon is listed in "FreeBSD Art". But the "graphics use" is not > clear to me. > Therefore herewith I would like to kindly ask for your permission to > make the aforementioned > use of your deamon-figure. You should contact the copyright holder and ask him for permission: it's M. K. McKusick. https://www.mckusick.com/beastie/ https://www.freebsd.org/copyright/daemon.html http://en.wikipedia.org/wiki/BSD_Daemon#Copyright -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Mar 28 22:09: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 9422888E for ; Sat, 28 Mar 2015 22:09:35 +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 55D79FEE for ; Sat, 28 Mar 2015 22:09:35 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-53.adsl.hiwaay.net [216.180.76.53]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2SM9XCw020512 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 28 Mar 2015 17:09:34 -0500 Message-ID: <55172813.8050606@hiwaay.net> Date: Sat, 28 Mar 2015 17:15:47 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ipfw question References: <55122B21.60905@hiwaay.net> <55162284.6040806@hiwaay.net> <5516BB73.7010108@hiwaay.net> <26D37EC0-1C91-4009-A5C6-7B40CDE4099B@gmail.com> <5516BF68.9040806@hiwaay.net> <3782D86A-E280-4C01-B492-D1982D372808@gmail.com> <5516C210.6090806@hiwaay.net> <07C9255C-5CDA-4C96-A227-EB28FC836BF5@gmail.com> <5516C8CB.4050505@hiwaay.net> <5517225A.5090702@hiwaay.net> In-Reply-To: <5517225A.5090702@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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 22:09:35 -0000 On 03/28/15 16:51, William A. Mahaffey III wrote: > On 03/28/15 14:40, Michael Powell wrote: >> William A. Mahaffey III wrote: >> >> [snip] >>>>> "The M1 Garand is without doubt the finest implement of war >>>>> ever devised by man." >>>>> -- Gen. George S. Patton Jr. >> And, oddly enough after many, many years mine still works fine. >> >>>> Wireshark is pretty but requires X11. It also does a better job of >>>> making >>>> the output understandable. >>>> >>>> tcpdump should be included in the base system and is text so works >>>> without a GUI. You used to be able to take a tcpdump output file >>>> and feed >>>> it to Wireshark for viewing. >> [snip] >>> Very well, I have wireshark already installed (this is a desktop box), >>> I'll poke around & see what I find. Thanks :-). >>> >> tcpdump can save output in a file which Wireshark can import and >> read. Both >> have filtering capabilities, so you can use tcpdump to capture >> everything >> and use Wireshark to winnow out of the spew what you find >> interesting. Or, >> if you already know pretty much which traffic you want to see it's often >> easier and quicker (come time to view in Wireshark) to do some basic >> filtering with tcpdump's myriad command line switches first. I do >> this on >> interfaces of remote machines which are servers and have no X, >> copying the >> file to the desktop with Wireshark. This can improve signal-to-noise >> ratio. >> The same information is present, but Wireshark is just better >> presentation- >> wise and can perform some analysis that tcpdump can not. >> >> -Mike >> >> _______________________________________________ >> 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" >> > > > P.S.: After a few min. of running tcpdump, I notice traffic to & from > 'pperikov.static.corbina.ru.9001', nobody I know or recognize :-/ .... > Does this ring a bell w/ anyone ? > > OK, relax Willie, it's something TOR-related (which I am running) .... Sorry for the noise :-/ .... -- 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 Sat Mar 28 23:54:20 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 B867D74D for ; Sat, 28 Mar 2015 23:54:20 +0000 (UTC) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) (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 82436D57 for ; Sat, 28 Mar 2015 23:54:19 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id E752B520 for ; Sat, 28 Mar 2015 19:54:14 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 28 Mar 2015 19:54:17 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=stevenpeguero.com; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:reply-to:subject:to:x-sasl-enc:x-sasl-enc; s= mesmtp; bh=nKwheW6/YfBgJMpG1d7ZFyKYfEs=; b=kmAYuc7Ndi+O8L03SQ2iq d9w4MEzgUp4NnqpzUf1HlYu/45xmG+2uPJ43+VtVgzBhVAZqosWh1HDjfxZlQFn/ 5ZY1kYlODDpnkwsikkEV8ifw4yQkViIGUWFbC3FeCiEWwBKFurWNMy651mOsUxeT OQVbSZO829N7HDga5OP8r0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:reply-to:subject:to :x-sasl-enc:x-sasl-enc; s=smtpout; bh=nKwheW6/YfBgJMpG1d7ZFyKYfE s=; b=DizAHBHA2/Xk0xBm+XISgfLKSRV/SYCWL5+vSeg0JNEDJfyPe5ITbuotUe FPORmKMjnTXUalIqij4/7HRXQa1znbl9xE0W8tSoLhbaVVjErw2NLqpT4L26S6af fP+ucBxPSDsmO+3+2QAQp7iz4cTdrMd3tbCgqqXJqcvKNeqW0= X-Sasl-enc: OHZCYivktjYRXauIT5/2WVeqchFWNsRmX+YmBKmBtyqp 1427586857 Received: from sidekick.stvnwst.com (unknown [67.134.206.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 892F5680204 for ; Sat, 28 Mar 2015 19:54:17 -0400 (EDT) Message-ID: <55173F0B.8000605@stevenpeguero.com> Date: Sat, 28 Mar 2015 19:53:47 -0400 From: Steven Peguero Reply-To: steven@stevenpeguero.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: ZFS Encryption Availability Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 23:54:20 -0000 Hello, In advance, I apologize for asking this particular question, as I'm coming from the Linux world, but I wanted to know if encryption is natively supported on FreeBSD for miscellaneous ZFS pools/datasets. If such functionality does exist, how exactly would I go about initially setting up encryption for a particular ZFS pool/dataset and manually decrypting it at boot using a passphrase? It seems as though this particular topic has not yet been mentioned in the official handbook, unfortunately. In advance, thank you for your response! Steven