From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 00:15: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 0F3A5C43 for ; Sun, 22 Feb 2015 00:15:49 +0000 (UTC) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::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 B6B3AC7C for ; Sun, 22 Feb 2015 00:15:48 +0000 (UTC) Received: by qcyl6 with SMTP id l6so6334389qcy.2 for ; Sat, 21 Feb 2015 16:15:47 -0800 (PST) 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=l1+6v98oQCw4TyvFYJJNn4qkzvB8XIt3rfzx3T42MA0=; b=Z/a+ge07tIJRWT0AkVw7PrwQvlMynfqxkM7Yqz8jCaEx4NiH43QtYAPBv0MGzD2j+e jDHICBx3ep4UpZdIFC+tPrSWNRdM+Pck/eOKjSa8MV9fL6GSwrKO/98JS+LUpXK/j81D wIDMD8jPQVxzsQUzOGML8Txzk34tgwHk5ErQAlE/M0ybYJIyf3ucnBpKJSPDCykDq6vM gr9qtqL1UplfW3uXzJV9LewLC0zfRmwHBkxhbG8g6dz7rUhqpx3O8LI8qBOVsLP0tKUT BNTNULgX6cjsD4rIx/Z8q8BITpZp+vOkcOjW9CVQ2MjFfZ2LwQDqpyM2X8ezuquvhd4l pg5g== X-Received: by 10.140.21.232 with SMTP id 95mr9729366qgl.29.1424564147901; Sat, 21 Feb 2015 16:15:47 -0800 (PST) Received: from localhost.localdomain ([209.181.150.218]) by mx.google.com with ESMTPSA id w21sm24724717qgd.15.2015.02.21.16.15.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 16:15:47 -0800 (PST) Message-ID: <54E91FA7.2030900@gmail.com> Date: Sat, 21 Feb 2015 17:15:35 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: why would I get a segmentation fault on one system but not the other? References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> In-Reply-To: <390c4c0547fc27e91d28872d29aa2e04@sdf.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 00:15:49 -0000 On 02/21/2015 04:03 PM, cpet wrote: > On 2015-02-21 17:01, cpet wrote: >> On 2015-02-21 16:40, David Benfell wrote: >>> Hi all, >>> >>> I am running into a segmentation fault that I don't know how to track >>> down. It appears on one system but not the other. It seems to afflict >>> both apache24 and php-fpm. >>> >>> apache logs lots of segementation faults but I don't have any idea >>> where they're coming from. >>> >>> When I try to start php-fpm it dies instantly with a segmentation >>> fault. I think it's one of the modules, but I don't know which one. >>> >>> And I'm absolutely baffled that this occurs on one system and not the >>> other. Both are fairly recent FreeBSD Stable. >>> >>> I do not see the segmentation faults (or at least not in such a dire >>> way) on: >>> >>> 10.1-STABLE >>> FreeBSD home.parts-unknown.org 10.1-STABLE FreeBSD 10.1-STABLE #0 >>> r278923: Tue Feb 17 15:27:20 PST 2015 >>> root@home.parts-unknown.org:/usr/obj/usr/src/sys/GENERIC amd64 >>> >>> I do see them on: >>> >>> 10.1-STABLE >>> FreeBSD vegan.parts-unknown.org 10.1-STABLE FreeBSD 10.1-STABLE #0 >>> r278934: Wed Feb 18 09:11:24 UTC 2015 >>> root@home.parts-unknown.org:/usr/obj/usr/src/sys/GENERIC amd64 >> >> You have 2 systems one running a different svn rev than the other, >> first I would suggest before suggesting bad ram is to sync both to be >> equal, meaning the one that is failing to either upgrade or downgrade >> it. if it's seg faulting I would mem test that and replace failing >> module. >> Any kernel crashes on the system where apache is segfaulting? From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 01:56: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 1DA3B5F8 for ; Sun, 22 Feb 2015 01:56:16 +0000 (UTC) Received: from mail-vc0-x22c.google.com (mail-vc0-x22c.google.com [IPv6:2607:f8b0:400c:c03::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 C4D7B7EB for ; Sun, 22 Feb 2015 01:56:15 +0000 (UTC) Received: by mail-vc0-f172.google.com with SMTP id kv7so5281528vcb.3 for ; Sat, 21 Feb 2015 17:56:14 -0800 (PST) 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=EXc5npywUh8PSIgqq/WuJpu28G1i25WewzqTlAkK/wg=; b=Lf2IvAbAnljCOLdd00GujC5HSWR/KW0/697LKsFJr0UByD/bs47mc7WuqDw/1Uo6u9 Mlh+v4ocor1I++1XEPFgeafkMey9bBI4qb5PYJ7pBSWOikY4MXJi78IO3IZ+qr6VJBI8 mbHQmNpx4QZ/93jCbL68nHiN2ED1NeFAxZDy/vybt1iouNp4TvdiQMAZoSRlojBXi9Fn gx7jBPXOrJWEDx1qbUnawiK2TaE5dVbv6V3D37XsQYP5fVKndEvWe4aK3z7oQ14AW7LQ /epF9ZLX2Bh1dFR77exq5iPHoQu3IT33IfB8MARjtMjxGLlKWBdERaXeO+FUljPpReQl aDqw== X-Received: by 10.52.136.98 with SMTP id pz2mr4632026vdb.26.1424570174663; Sat, 21 Feb 2015 17:56:14 -0800 (PST) Received: from [127.0.0.1] (ool-44c7befc.dyn.optonline.net. [68.199.190.252]) by mx.google.com with ESMTPSA id j5sm5367597vdy.0.2015.02.21.17.56.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 17:56:13 -0800 (PST) Message-ID: <54E93745.3000709@gmail.com> Date: Sat, 21 Feb 2015 20:56:21 -0500 From: Stephen Cook User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: FreeBSD Questions Subject: Upgrade from 9.1 to 10.1 broke my ports 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: Sun, 22 Feb 2015 01:56:16 -0000 Hello! I recently used freebsd-update to upgrade my hosted FreeBSD box (well, VPS) from 9.1-RELEASE to 10.1-RELEASE. One of the steps is to update any ports installed, before running "freebsd-update install" again. However, it seems that any ports I had installed are forgotten. That is, I can still use the programs themselves, but portmaster, pkg info, etc all think there are none installed. So, I can't update or uninstall them. Any ideas how I can fix this? Thanks! -- Stephen From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 03:45: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 7E6066D4 for ; Sun, 22 Feb 2015 03:45:51 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c: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 1036B2B1 for ; Sun, 22 Feb 2015 03:45:51 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id h11so10291717wiw.3 for ; Sat, 21 Feb 2015 19:45:48 -0800 (PST) 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=+N8s+iUc87jZZqTIJikuY1/JOMITWYY2+Y65ZD1tAFY=; b=gIHQ6W6ZbhUz7KVyLAFB9SR7n14g1FwroiPqwmfbrUWKr++zqAAXQ6BL2xF2cK/1Gg u9FmUJsFioBpkP88lJefAU2aBn06CWPy5chJcTMg9WwyzoAptuLVzmm/p+GeB+sTlKB+ 4kUjlAIByyxZGTvpWSDk7jSynBB0kqQxa0iNKENqgih1ysx+YeO0Iulokd9B0vkaCtPm rO7bapcyRfJKoZtGcDxBtoqdGAI1rNI4t7Rrms0Fvsgo0STrIQQoUrsxv5mMukcjAAyr hUfMhBJX3Lz93FOC0C2QqayDbjrXyK/bdi7yjZlLsSFa2CmLYchiSdljMXS/BJPunH9U ogog== MIME-Version: 1.0 X-Received: by 10.194.84.176 with SMTP id a16mr9311279wjz.113.1424576748665; Sat, 21 Feb 2015 19:45:48 -0800 (PST) Received: by 10.194.241.132 with HTTP; Sat, 21 Feb 2015 19:45:48 -0800 (PST) In-Reply-To: <54E93745.3000709@gmail.com> References: <54E93745.3000709@gmail.com> Date: Sun, 22 Feb 2015 11:45:48 +0800 Message-ID: Subject: Re: Upgrade from 9.1 to 10.1 broke my ports From: Ben Woods To: Stephen Cook Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sun, 22 Feb 2015 03:45:51 -0000 Have you tried running pkg2ng? On Sunday, February 22, 2015, Stephen Cook wrote: > Hello! > > I recently used freebsd-update to upgrade my hosted FreeBSD box (well, > VPS) from 9.1-RELEASE to 10.1-RELEASE. > > One of the steps is to update any ports installed, before running > "freebsd-update install" again. However, it seems that any ports I had > installed are forgotten. That is, I can still use the programs themselves, > but portmaster, pkg info, etc all think there are none installed. So, I > can't update or uninstall them. > > Any ideas how I can fix this? Thanks! > > -- Stephen > > _______________________________________________ > 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: Benjamin Woods woodsb02@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 04:11: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 C10E67FB for ; Sun, 22 Feb 2015 04:11:49 +0000 (UTC) Received: from mail-vc0-x232.google.com (mail-vc0-x232.google.com [IPv6:2607:f8b0:400c: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 6FE0F6CF for ; Sun, 22 Feb 2015 04:11:49 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id hq11so5390077vcb.9 for ; Sat, 21 Feb 2015 20:11:48 -0800 (PST) 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:cc:subject :references:in-reply-to:content-type; bh=Dprep2eA6Ok+7/fOmOyCi7R7m2SiXwkw3ypz+0BVuWU=; b=gMVBKxvo4vyRglsVWhzjQq3+MuyWGqntIqOIYDR9TLcGkRjtQB0Ud321DIAqN1sdAh Z/9X32ioB3a4KC6s8R8MPds/OURnVlFL7hoa5zYK8GmQC38AYw/lwFWWdYPaVmWNaIY0 T/yrDTLV2QnjCSoJinhXi/WYVDsPB7xLvXbCqaliQ7Nd/XFk/yM/Ba7BCFCcaMgI6urC ZbCi+VJKu67fxMQaCJ4NK600ude0KeQ2R1DyjiNBb3NMpKkGrZg/LFaTyWQEWCE+qSgw /HZplCJ48vvop4Nj9WNl2vt4VhCg7S7hBH6KVgBwXT+a7t67ZI5YDOOgNOc+42GEC3EW xJiw== X-Received: by 10.52.248.179 with SMTP id yn19mr5003422vdc.32.1424578308308; Sat, 21 Feb 2015 20:11:48 -0800 (PST) Received: from [127.0.0.1] (ool-44c7befc.dyn.optonline.net. [68.199.190.252]) by mx.google.com with ESMTPSA id tb3sm241073vdb.23.2015.02.21.20.11.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 20:11:47 -0800 (PST) Message-ID: <54E9570B.8070206@gmail.com> Date: Sat, 21 Feb 2015 23:11:55 -0500 From: Stephen Cook User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Ben Woods Subject: Re: Upgrade from 9.1 to 10.1 broke my ports References: <54E93745.3000709@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sun, 22 Feb 2015 04:11:49 -0000 That worked, thank you very much! -- Stephen On 2/21/2015 10:45 PM, Ben Woods wrote: > Have you tried running pkg2ng? > > On Sunday, February 22, 2015, Stephen Cook > wrote: > > Hello! > > I recently used freebsd-update to upgrade my hosted FreeBSD box > (well, VPS) from 9.1-RELEASE to 10.1-RELEASE. > > One of the steps is to update any ports installed, before running > "freebsd-update install" again. However, it seems that any ports I > had installed are forgotten. That is, I can still use the programs > themselves, but portmaster, pkg info, etc all think there are none > installed. So, I can't update or uninstall them. > > Any ideas how I can fix this? Thanks! > From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 04:14:23 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 145708A8 for ; Sun, 22 Feb 2015 04:14:23 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [IPv6:2001:470:67:119::4]) (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 E558774A for ; Sun, 22 Feb 2015 04:14:22 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 517F45B3BD21; Sat, 21 Feb 2015 20:14:21 -0800 (PST) Date: Sat, 21 Feb 2015 20:14:21 -0800 From: David Benfell To: cpet Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150222041421.GA36213@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <09da5ec0816e098badc49432c802dc18@sdf.org> 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: Sun, 22 Feb 2015 04:14:23 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 21, 2015 at 05:01:17PM -0600, cpet wrote: >=20 > You have 2 systems one running a different svn rev than the other, first= =20 > I would suggest before suggesting bad ram is to sync both to be equal,=20 > meaning the one that is failing to either upgrade or downgrade it. if=20 > it's seg faulting I would mem test that and replace failing module. >=20 The system experiencing the segfaults is new--and from a vendor that has previously shipped me a system with bad memory. So I think you'll understand if I reversed the order of your suggested steps. I haven't stopped the memory test yet. But it has been running for an hour and completed one pass without error. From what I can see on line, that's a pretty good sign. So, now the second step. The implication of what you're suggesting is fairly obviously that the segfaults are originating in the base system. I'm now worried about upgrading the old system (which is working fine and, oh, by the way, is the one that had originally been shipped with memory problems). If you're right, to upgrade it might break what is a (maybe not quite) perfectly good system. So how would I downgrade to the earlier revision? Thanks! --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --KsGdsel6WgEHnImy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6VedAAoJEBV64x4SNmAra2cQAIywKE2YxkCi6SJk1muLYcGC 1zO+4GDzwnXnhCxR2U1DoGdcWfPnjjZTHd0DVSfRYhiBZv6ujB5kPuifffDFNO14 mUfco+ioe5hjeQDGERYsv4PwHtL5PfyH42NvaaDi/6Jp+b6kfYIuAvwSeQ9q0lIB ynD2VQTuhYPjNjbSqv1dZJsfeUNe/jInskyHtO208YFzOD4qDeRxumWGXvgH9u9v IHVVrLH0OgvUX0mpw8dfPqUnVifX4Uk1Oblzs44P5dteSpOeog5EQqWoxtwPB1Xo nkwZMvIecH+m4fzhmR7I45CwSyrhYxPb2W8LRIXWkv56Cm50lxDzaXSXv2XLTl5J GMopIS/Cu21kx7/I/zCSDZiG4mAxhFeeCdKiBiQFYDITCtgke8D/02hAyCCBCZYz 59JjmC4shLVK8x/frzTsTbHtWZ6HqOrr5JgTknhNan5eH5LJf9Ti5D80nuNOwo8d p/hgouz2Iap0ejRw8XgM3B1SBBp4Z33u7YlMvx29QlVTKk72qslCjpizMQq5eP9q vWtg69fc+hP1sEr5hi4jpZv5JTjmzrNX/1gKvYuDaLMlfl5ow6fQQ6F43duAwXw+ Mw2PataWefFiJQNJAlQbUYhtrwIF1y/sAbhAO8ZuQBkQaUORHHQ221pvq92kaDhD CmoZ+cSmBc/OTvAmAMbS =JW8/ -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 08:20:06 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA954A2A for ; Sun, 22 Feb 2015 08:20:06 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78BDED3D for ; Sun, 22 Feb 2015 08:20:05 +0000 (UTC) Received: from r56.edvax.de (port-92-195-149-162.dynamic.qsc.de [92.195.149.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 5933D27789; Sun, 22 Feb 2015 09:19:57 +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 t1M8JuVg002052; Sun, 22 Feb 2015 09:19:56 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 22 Feb 2015 09:19:56 +0100 From: Polytropon To: cpet Subject: Re: why would I get a segmentation fault on one system but not the other? Message-Id: <20150222091956.fd1ec914.freebsd@edvax.de> In-Reply-To: <390c4c0547fc27e91d28872d29aa2e04@sdf.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> 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: Sun, 22 Feb 2015 08:20:06 -0000 On Sat, 21 Feb 2015 17:03:50 -0600, cpet wrote: > As well as don't use stable on a production box as STABLE doesn't mean > what it means. STABLE means that the API/ABI is stable. Unlike HEAD (CURRENT), STABLE still is actually _stable_ in most cases, so it's a valid solution for production systems (given that you're prepared well, and you know what you're doing). I'm running STABLE on few production machines myself (where this is needed), but I usually prefer (and often recommend) using RELEASE and add the security patches when they are available. STABLE does _not_ mean it's an experimental branch such as HEAD. In HEAD, you might experience the following things: (a) system doesn't even build (b) system builds, but crashes (c) system works perfectly fine In cases of (a) and (b), updating your sources a few hours later may turn the whole thing into case (c). Also note that a feature tested in HEAD _may_ disappear. HEAD is "filtered" to STABLE, and STABLE is "filtered" to RELEASE. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 08:34:23 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8AAAFC5E for ; Sun, 22 Feb 2015 08:34:23 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [50.250.218.162]) (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 6EAC4EC7 for ; Sun, 22 Feb 2015 08:34:23 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 51C615B3BD21; Sun, 22 Feb 2015 00:34:22 -0800 (PST) Date: Sun, 22 Feb 2015 00:34:22 -0800 From: David Benfell To: jd1008 Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150222083422.GA41895@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <54E91FA7.2030900@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <54E91FA7.2030900@gmail.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: Sun, 22 Feb 2015 08:34:23 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 21, 2015 at 05:15:35PM -0700, jd1008 wrote: > >> > Any kernel crashes on the system where apache is segfaulting? No. From that perspective, the system has been rock solid. I've now been running the memtest for over five hours (completing three passes), with zero errors. I'm planning to let it run overnight, which seems to be the consensus on the superuser stackexchange forum. Thanks! --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6ZSOAAoJEBV64x4SNmAr0xAQAJUZt1BD1TWckbgP6iHnKLip oAlWgHM9TpAv2WHArp7uTo3O4MtKtt3rXmAarNRXLrqOXjZ1eAUaqK2jF+UvefAk u/qRz57/wWRLhEorvnyatnDOVTO8Nux/I68pSkOq48WVfeALvAotKhrTNqHpqPHA 3Bq5oPS05Z0NDYlaeRqmxEzOlK/IjgZoIQUynX5MwKQDzdqGPcB14rekoI19ddbR 7BEP4/vTdAT68DQCIIuGv2bYYVrHXQjHNyZ37HJ8nMy0SL9pZE59VkUnL/OvXu0Z K3j8I0Cs7TcGRqXXVoOpoK9MiHzlG92RhiCMBd/igUYqbG+/NUoovgLk8dwww2XL peks9EgjpboH2Zkr9PXBylapjnjeMKj60JSvTi69QAl7ErTtNWflUDYVx0mTNMdI ZfKCa+bW5nNdTuMa3PCczWTVjTAPMTQaoNJ/CDMpQQVWbNFD8T5230C4TQ/XuqDt BoaSo7C0T1pHXehh8mX8+b9S7iPjXqkdLwIU4bU/qk+W0Uni/jh2+NHk3yRCVk4z uYYamT1nK+tZHx0N5trFLtVrOayrW3rlfMKLdEbAM2eytbhcdCG6jMgq7NtFPdON o+p0diBZGqalLlr77Oc0/B9sdnxisqOKzOOo54akLiOr/kKmgtKjXHI5Ehy+9lql CoHFGTQ5oo1FYaip3b3s =rL3J -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 10:44:26 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C13AF733 for ; Sun, 22 Feb 2015 10:44:26 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [50.250.218.162]) (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 A5931C88 for ; Sun, 22 Feb 2015 10:44:26 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 900825B3BC39; Sun, 22 Feb 2015 02:44:25 -0800 (PST) Date: Sun, 22 Feb 2015 02:44:25 -0800 From: David Benfell To: Polytropon Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150222104425.GA44573@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <20150222091956.fd1ec914.freebsd@edvax.de> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , 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: Sun, 22 Feb 2015 10:44:26 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 22, 2015 at 09:19:56AM +0100, Polytropon wrote: > On Sat, 21 Feb 2015 17:03:50 -0600, cpet wrote: > > As well as don't use stable on a production box as STABLE doesn't mean= =20 > > what it means. >=20 > STABLE means that the API/ABI is stable. Unlike HEAD (CURRENT), > STABLE still is actually _stable_ in most cases, so it's a valid > solution for production systems (given that you're prepared well, > and you know what you're doing). I'm running STABLE on few > production machines myself (where this is needed), but I usually > prefer (and often recommend) using RELEASE and add the security > patches when they are available. >=20 Thinking about this more, I'm inclined to think my problem is not with the base system. I haven't seen *any* crashes with stuff that can be clearly identified as being in the base system, let alone the kernel. My memory test has just completed a 4th pass with zero errors. It's now been running for 7.5 hours. I think my problem is somewhere in the ports. --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6bMJAAoJEBV64x4SNmArJNoQAKFdVbopzBLMiyoGeRzUy/cb ty8K4Qlznf3d5DO9LRUXjwK+V5rlbfgkdQyFRl74sI82dM4ubwJI00aLCWd/r0PB 024Ll4lqiM/tKV5HAxrZxUncEf9TEYXILOKqImWo8vI79llqDy/exTXhQfZnh66P vkERyb+9AxrXtkrYMiXZX/6/vpzg/bQCwFt+qgNKYCRp9I6pi82msWEIKBGSJafm pQOAKQlp9oFuP4U6kSVqyG+dzrkTKkCF49u462POlg7kx/6pAo93xzuAb3N8y8Oj LGYs9esSDnYouMzVaHz5Er4ZpF/xQU2NziPl/4Mqpw0c+VGRcNMU+utOfGM3YRub WhuLAdPHUdC3mymkyIC/n5Y6VpCTiH9Mjd18u+n84IwLeDzb0ztke9HN8IQWOX67 stW5qdS4pun6KNsa9TgaMBICxHrOAywXRS2O9Q1GnWbjkhpe2b5uxmlqWZ1DPBuP j/Q1zQf0PkyL7bZvBuV5xp5OFaBtRWjRhbfSbxbxGos+iQ3Rz5pqrEyjL5IzCaEq jAsHBaJ/99mH44a1UCEbfmtyAgyT2aO0oi/zIGGU0Nqb0i0XvBj93unazyNKdsEz m+5ioF5hS92pUX88lyjUUbtHs3KodG95gkw3V/diBAEvCEMkJD7Qc4T5UL8b8VJB ibXPqZspAVIlQgWfjyXs =pe2W -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 10:44:27 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 B5F69792; Sun, 22 Feb 2015 10:44:27 +0000 (UTC) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::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 67A3AC8B; Sun, 22 Feb 2015 10:44:27 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id u20so9359625oif.12; Sun, 22 Feb 2015 02:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=5bTmRMMzWxCy9BNX0El8108LCPylMOfAaV9Pj4AWGB4=; b=PSJCQSyi0uelGFudkoSnpcE/1BrZtHznD1mQSlFAgu4M1QpR4lRGdjATbsLCQ6YXe2 E/pr03vkJLnvg6YxSENZ//rFZfJlI3VNCOtfC56MbihjiD/KP/no6IoeaIE24Ql5Qa2F 83MxB7xltqgxaE+FtMsU2D6BSkvkEjm0ZSSTzPwO1I0K3A+r1oYgb0HqkqUadvYbl049 tEYGZ2sBynftIrUCZNN6rOox88ty8hSWj3D8LX0nHki8B+vgAQdGIw5jDG5K1GTPNMdd DV4McaehCGFVzW6Y3pr0SS7eUuh58+rmjbqGswZassz5Bb7GKxTz/jVsJOIhi1qt8z5M 18Dw== MIME-Version: 1.0 X-Received: by 10.60.133.174 with SMTP id pd14mr3993951oeb.79.1424601866636; Sun, 22 Feb 2015 02:44:26 -0800 (PST) Received: by 10.60.140.199 with HTTP; Sun, 22 Feb 2015 02:44:26 -0800 (PST) Date: Sun, 22 Feb 2015 05:44:26 -0500 Message-ID: Subject: trojans in the firmware From: grarpamp To: freebsd-security@freebsd.org 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: Sun, 22 Feb 2015 10:44:28 -0000 On Sat, Feb 21, 2015 at 8:41 AM, Kay Rydyger : Please do not quote 200 lines of text just to insert your ten. And if using the digest, use the original subject line. Else it's lazy bad form at the expense of other readers of the list. >> > Alfred Hegemeier saith: >> > just encrypt the whole hard drive with Geli. >> >> GELI works under your control for what you store on the >> drive, and you can even enable the AES encryption feature >> of the drive itself as a no cost to performance extra freebie >> underneath that. However since the raw device interface is still >> accessible, neither of them do anything to block firmware >> updates. > what has blocking firmware updates to do with > firmware being able to read the data passing > through the controller ? Reread the entire thread and all the linked materials. If your drive is clean and you kernel block the malicious firmware update command, the exploit fails and your drive remains clean. If you don't block it, then your drive gets rooted and then yes, there's nothing you can do after that. And since users don't have JTAG gear/skills and device vendors usually never publish a firmware update anyway, you can't verify or securely reflash even if you did discover it got rooted. Thus you now own a worthless brick with a warranty that won't be honored. > That encryption is a good line of defense, you can > read here: > https://www.ibr.cs.tu-bs.de/users/kurmus/papers/acsac13.pdf > in section 4.1. No hardware and software disk encryption themselves don't prevent installation of the firmware, nor help much afterwards given the current as yet non-ideal state of the entire system protection/crypto ecosystem. The MBR, boot, loader and whatever other early stages, are not encrypted or signed... malicious firmware can exploit that. It could also use DMA to read/write RAM to get your FDE keys and so on. Even SecureBoot with FDE doesn't help there. It's all caveated in the doc. To be more secure you need to disallow the malicious firmware update from taking place to begin with. The standard interface for that is through the /dev device provided by the disk driver over the bus subsystem. Block/filter out all non-production opcodes from those interfaces and and it becomes more work for kids to exploit. Add that to other defenses in depth and you're better off. Long term, you should demand the vendors include a $0.10 hardware read-only update jumper and a signed authority root anchored in the mask ROM. You should demand the t10/t11/t13/serialata standards bodies include a readout command for firmware verification and backup. For that matter, you should demand vendors include another jumper for pointing to your own installable ROM space in flash (or via pin header) and to also open up their specs so you don't have to use their literally stupid and broken firmware blobs [1]. How many tens of thousands of users strong are you BSD? How many tens of thousands of users strong is Linux? Yet all of you combined can't seem to place even two calls/mails per month to each vendor asking for these things... shame. You can and should be overloading their switchboards... they'd drop to their knees before your armies in a week. [1] Vendor code is generally buggy crap quality, quite often highly guarded just to save embarassement there, to dodge responsibility for making fixes by saying "what bugs, where", and to speed up obsolesense. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 12:20:04 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 384ADA46 for ; Sun, 22 Feb 2015 12:20:04 +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 E8ABF98A for ; Sun, 22 Feb 2015 12:20:03 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YPVVq-0007hj-7m for freebsd-questions@freebsd.org; Sun, 22 Feb 2015 13:19:54 +0100 Received: from 5e1bff31.mobile.pool.telekom.hu ([94.27.255.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Feb 2015 13:19:54 +0100 Received: from leventelist by 5e1bff31.mobile.pool.telekom.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Feb 2015 13:19:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Lev Subject: lost icons in gtk app Date: Sun, 22 Feb 2015 13:19:47 +0100 Lines: 8 Message-ID: <20150222131947.770440ad@jive> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 5e1bff31.mobile.pool.telekom.hu X-Newsreader: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) 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 Feb 2015 12:20:04 -0000 SSByZWNlbnRseSBpbnN0YWxsZWQgKGZyb20gc291cmNlKSBhbiBFREEgc29mdHdhcmUgKGdFREEp IG9uIG15IEZyZWVCU0QNClZNLiBXaGVuIEkgcnVuIGl0IHRoZSBhcHBsaWNhdGlvbiBzcGVjaWZp YyBpY29ucyBhcmUgbm90IHNob3duLiBJDQp0aGluayBpdCBpcyBHVEsgcmVsYXRlZC4gVGhlIGlj b25zIGFyZSBpbnN0YWxsZWQgaW4gL29wdC9zaGFyZS9pY29ucy4gSQ0KaGF2ZSB0aGUgc2FtZSBy ZXN1bHQgaWYgSSBpbnN0YWxsIGl0IHRvIC91c3IvbG9jYWwvaWNvbnMuDQoNCkhvdyBjYW4gSSBt YWtlIHRoZSAnc3lzdGVtJyBmaW5kIG15IGljb25zPw0KDQpJZiB5b3Ugd2FudCBJIGNhbiBzZW5k IGEgc2NyZWVuc2hvb3QuDQoNClRoYW5rcywNCkxldmVudGUNCg0K From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 12:22:34 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EFE08B35 for ; Sun, 22 Feb 2015 12:22:34 +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 B037EA5F for ; Sun, 22 Feb 2015 12:22:34 +0000 (UTC) Received: from r56.edvax.de (port-92-195-149-162.dynamic.qsc.de [92.195.149.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id ACA043CC66; Sun, 22 Feb 2015 13:22:25 +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 t1MCMOa2004656; Sun, 22 Feb 2015 13:22:24 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 22 Feb 2015 13:22:24 +0100 From: Polytropon To: Lev Subject: Re: lost icons in gtk app Message-Id: <20150222132224.7c3db0f8.freebsd@edvax.de> In-Reply-To: <20150222131947.770440ad@jive> References: <20150222131947.770440ad@jive> 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: Sun, 22 Feb 2015 12:22:35 -0000 On Sun, 22 Feb 2015 13:19:47 +0100, Lev wrote: > I recently installed (from source) an EDA software (gEDA) on my FreeBSD > VM. When I run it the application specific icons are not shown. I > think it is GTK related. The icons are installed in /opt/share/icons. I > have the same result if I install it to /usr/local/icons. Neither of those paths is a location where Gtk would typically search for icons. > How can I make the 'system' find my icons? Maybe use /usr/local/share/icons, or a subdirecory thereof. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 12:38: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 8DFDACEA for ; Sun, 22 Feb 2015 12:38:46 +0000 (UTC) Received: from papyrus.altaweb.hu (papyrus.altaweb.hu [195.228.155.151]) (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 467A0BCB for ; Sun, 22 Feb 2015 12:38:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by papyrus.altaweb.hu (Postfix) with ESMTP id 63BE7A02FC; Sun, 22 Feb 2015 13:27:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at papyrus.altaweb.hu Received: from papyrus.altaweb.hu ([127.0.0.1]) by localhost (papyrus.altaweb.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ORRG6O0ahyJf; Sun, 22 Feb 2015 13:27:36 +0100 (CET) Received: from chacha.levalinux.org (5E1BFF31.mobile.pool.telekom.hu [94.27.255.49]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: levente@altanet.hu) by papyrus.altaweb.hu (Postfix) with ESMTPSA id 21156A02FB; Sun, 22 Feb 2015 13:27:36 +0100 (CET) Received: from jive (jive.levalinux.org [192.168.1.1]) by chacha.levalinux.org (Postfix) with ESMTPS id 105CA2220AD; Sun, 22 Feb 2015 13:29:55 +0100 (CET) Date: Sun, 22 Feb 2015 13:29:53 +0100 From: Lev To: Polytropon Subject: Re: lost icons in gtk app Message-ID: <20150222132953.1225dcc2@jive> In-Reply-To: <20150222132224.7c3db0f8.freebsd@edvax.de> References: <20150222131947.770440ad@jive> <20150222132224.7c3db0f8.freebsd@edvax.de> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 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: Sun, 22 Feb 2015 12:38:46 -0000 DQo+ID4gSG93IGNhbiBJIG1ha2UgdGhlICdzeXN0ZW0nIGZpbmQgbXkgaWNvbnM/DQo+IA0KPiBN YXliZSB1c2UgL3Vzci9sb2NhbC9zaGFyZS9pY29ucywgb3IgYSBzdWJkaXJlY29yeSB0aGVyZW9m Lg0KDQpObyBzdWNjZXNzLiA6LSggSXMgdGhlcmUgYW55IGNvbW1hbmQgdG8gdXBkYXRlIGFueSBk YXRhYmFzZSBvZiB0aGUgaWNvbnM/IE15DQpHVEsga25vd2xlZGdlIGlzIGxpbWl0ZWQuIA0KIA0K DQo= From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 14:04:31 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 4B6B8C56 for ; Sun, 22 Feb 2015 14:04:31 +0000 (UTC) Received: from mail1.g16.pair.com (unknown [IPv6:2607:f440::4227:4116]) (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 299036C4 for ; Sun, 22 Feb 2015 14:04:31 +0000 (UTC) Received: from atomizer (c-71-60-227-57.hsd1.pa.comcast.net [71.60.227.57]) by mail1.g16.pair.com (Postfix) with ESMTPSA id 8C7FB5CD7; Sun, 22 Feb 2015 09:04:23 -0500 (EST) Date: Sun, 22 Feb 2015 09:04:29 -0500 From: Rod Person To: Lev Subject: Re: lost icons in gtk app Message-ID: <20150222090429.0717c14c@atomizer> In-Reply-To: <20150222131947.770440ad@jive> References: <20150222131947.770440ad@jive> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) 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: Sun, 22 Feb 2015 14:04:31 -0000 On Sun, 22 Feb 2015 13:19:47 +0100 Lev wrote: > I recently installed (from source) an EDA software (gEDA) on my > FreeBSD VM. When I run it the application specific icons are not > shown. I think it is GTK related. The icons are installed > in /opt/share/icons. I have the same result if I install it > to /usr/local/icons. > > How can I make the 'system' find my icons? Assuming this is a Linux app from source, try: /usr/compat/linux/opt/share/icons > > If you want I can send a screenshoot. > > Thanks, > Levente -- Rod http://www.rodperson.com He who knows himself to be one way and pretends it is another way is a thief who robs his own soul. The Mahabharata Sakuntala 25 From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 15:48: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 EFBDB4CC for ; Sun, 22 Feb 2015 15:48:36 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id AD090C4 for ; Sun, 22 Feb 2015 15:48:36 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 8B9F9CB8C9F; Sun, 22 Feb 2015 09:48:30 -0600 (CST) Received: from 76.193.19.10 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 22 Feb 2015 09:48:30 -0600 (CST) Message-ID: <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> In-Reply-To: <20150222104425.GA44573@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> Date: Sun, 22 Feb 2015 09:48:30 -0600 (CST) Subject: Re: why would I get a segmentation fault on one system but not the other? From: "Valeri Galtsev" To: "David Benfell" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: cpet , Polytropon , 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: Sun, 22 Feb 2015 15:48:37 -0000 On Sun, February 22, 2015 4:44 am, David Benfell wrote: > On Sun, Feb 22, 2015 at 09:19:56AM +0100, Polytropon wrote: >> On Sat, 21 Feb 2015 17:03:50 -0600, cpet wrote: >> > As well as don't use stable on a production box as STABLE doesn't mean >> > what it means. >> >> STABLE means that the API/ABI is stable. Unlike HEAD (CURRENT), >> STABLE still is actually _stable_ in most cases, so it's a valid >> solution for production systems (given that you're prepared well, >> and you know what you're doing). I'm running STABLE on few >> production machines myself (where this is needed), but I usually >> prefer (and often recommend) using RELEASE and add the security >> patches when they are available. >> > Thinking about this more, I'm inclined to think my problem is not with > the base system. I haven't seen *any* crashes with stuff that can be > clearly identified as being in the base system, let alone the kernel. > > My memory test has just completed a 4th pass with zero errors. It's > now been running for 7.5 hours. > How long does the box run before segfault? Some memory errors may happen with smaller probability, then short memtest may be OK, not detecting memory errors happening less often. What is the load of machine when segfault happens? During memtest86 the load is "zero". During actual server run, you may be heating the interior of the box to higher temperatures, namely memory controller to higher temperatures, which increases chance of malfunction. Do you have ECC memory or non-ECC? If non-ECC can you replace it with ECC? (some memory controllers accept both). Is it possible that you have mixture of different types of RAM attached to the same memory controller (I've seen even different brands claiming the same specs did cause occasional malfunctions). Also, which slots do you use for RAM? If not all slots have RAM, start filling the slots that are farther away from memory controller (which is on CPU substrate these days, hence from CPU). If you leave fartherst slots open you will have open (not terminated) portion of transmission line causing reflections interfering with signal, leading to trouble. Some fancy system boards do have memory bus terminators so what I said about slots deasn't matter for them, but majority of boards do not. If the hardware is a suspect, I would begin with minimal amount of known good RAM. Swapping RAM between good and bad machines is another thing to try. I however, would try instead to swap hard drives, and see which of machines will start failing after that. This way you will know for sure if software (+ hard drive) is to blame (if different machine starts failing) or hardware (if the same machine with system from good machine keeps failing). Goog luck! Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 16:33:26 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 512D220B for ; Sun, 22 Feb 2015 16:33:26 +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 021F9767 for ; Sun, 22 Feb 2015 16:33:26 +0000 (UTC) Received: by mail-qg0-f44.google.com with SMTP id j5so21205401qga.3 for ; Sun, 22 Feb 2015 08:33:25 -0800 (PST) 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=yTJma6lsoQqRj+NKvTkKpwkFpexltjljBQ5BJJZHmww=; b=X+W8yYPgYUezRy0l6aL9goWLCYDCN66c60dTHxOsNhIFhfweaH6LMTQOOsEKQCszG0 f6/CKLhBE2WDIYDuqOm/apjp30szJ+y3Y7mnoEK1nNeLQCNl+PJKYisgiNKksknvz2sm du/j4iYoTIh5Yu9YqaZo6PbJ+MsQijnZq8pXh4m5qL7wzwztL4y03YBCBvcjEv1NyZSN IEx4yt75ebafVxwzZsX3fcoHAoZ07LoTnq9i0A+piumojpUDuPoKdfSEWN5WTFVX2A3g kfTP0f2MUj96i/yiTHIvG8Og7klq7rb94E5SObIXrwW5uZUHEeuNpJHJxdUr3CZVA5G2 8h7g== X-Received: by 10.140.93.139 with SMTP id d11mr15276915qge.101.1424622805109; Sun, 22 Feb 2015 08:33:25 -0800 (PST) Received: from localhost.localdomain ([209.181.150.218]) by mx.google.com with ESMTPSA id 131sm15808124qhh.48.2015.02.22.08.33.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 08:33:24 -0800 (PST) Message-ID: <54EA04D2.6090208@gmail.com> Date: Sun, 22 Feb 2015 09:33:22 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: why would I get a segmentation fault on one system but not the other? References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> In-Reply-To: <20150222104425.GA44573@home.parts-unknown.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 16:33:26 -0000 On 02/22/2015 03:44 AM, David Benfell wrote: > On Sun, Feb 22, 2015 at 09:19:56AM +0100, Polytropon wrote: >> On Sat, 21 Feb 2015 17:03:50 -0600, cpet wrote: >>> As well as don't use stable on a production box as STABLE doesn't mean >>> what it means. >> STABLE means that the API/ABI is stable. Unlike HEAD (CURRENT), >> STABLE still is actually _stable_ in most cases, so it's a valid >> solution for production systems (given that you're prepared well, >> and you know what you're doing). I'm running STABLE on few >> production machines myself (where this is needed), but I usually >> prefer (and often recommend) using RELEASE and add the security >> patches when they are available. >> > Thinking about this more, I'm inclined to think my problem is not with > the base system. I haven't seen *any* crashes with stuff that can be > clearly identified as being in the base system, let alone the kernel. > > My memory test has just completed a 4th pass with zero errors. It's > now been running for 7.5 hours. > > I think my problem is somewhere in the ports. > A crazy possibility - but thought I would mention it. Is it possible you are having overheating problems, fans not running well?... From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 16:34: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 0B972290 for ; Sun, 22 Feb 2015 16:34:37 +0000 (UTC) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B0EFB771 for ; Sun, 22 Feb 2015 16:34:36 +0000 (UTC) Received: by mail-qg0-f47.google.com with SMTP id q107so21272412qgd.6 for ; Sun, 22 Feb 2015 08:34:36 -0800 (PST) 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=1pd56iPoJK2/dQ9fEKsjcYW+a2ib6y1raf+2AWU/J2M=; b=Bml01f+/QbY3Q1Ti0DCHCmVGCWfGtir/NfyP8064t7Y3E4FzTcCVltnXeTQV+LM6J4 D+O7wK/eNMMdkL6ha+Kk2jJRMvBeLGbr6hiGojbKtx819X6KSSS/xlyTVwjI/RX6Hrao yQ+5dcL2PI/fxHzFm4RZVdNb1ageXgLmw8o9Z2X1sdmZWijsV+5ZKXQZn4xgHt1ic6SE kVnBDEEDnnpXv0jvKVxq731NDs4vrEVtcHDWuFQxbgR9EIyeO0UDArBhuZYwcs2RxBhZ XeEzFrN4owg00wT7HRTA9DXQLhS/PSW2oghZfqABt4sI1p072dVd1gzTquHCTSc6xK0q Vbfg== X-Received: by 10.140.97.38 with SMTP id l35mr15812480qge.47.1424622876020; Sun, 22 Feb 2015 08:34:36 -0800 (PST) Received: from localhost.localdomain ([209.181.150.218]) by mx.google.com with ESMTPSA id n34sm13959871qge.27.2015.02.22.08.34.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 08:34:34 -0800 (PST) Message-ID: <54EA0517.2000000@gmail.com> Date: Sun, 22 Feb 2015 09:34:31 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: why would I get a segmentation fault on one system but not the other? References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> In-Reply-To: <20150222104425.GA44573@home.parts-unknown.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 16:34:37 -0000 On 02/22/2015 03:44 AM, David Benfell wrote: > On Sun, Feb 22, 2015 at 09:19:56AM +0100, Polytropon wrote: >> On Sat, 21 Feb 2015 17:03:50 -0600, cpet wrote: >>> As well as don't use stable on a production box as STABLE doesn't mean >>> what it means. >> STABLE means that the API/ABI is stable. Unlike HEAD (CURRENT), >> STABLE still is actually _stable_ in most cases, so it's a valid >> solution for production systems (given that you're prepared well, >> and you know what you're doing). I'm running STABLE on few >> production machines myself (where this is needed), but I usually >> prefer (and often recommend) using RELEASE and add the security >> patches when they are available. >> > Thinking about this more, I'm inclined to think my problem is not with > the base system. I haven't seen *any* crashes with stuff that can be > clearly identified as being in the base system, let alone the kernel. > > My memory test has just completed a 4th pass with zero errors. It's > now been running for 7.5 hours. > > I think my problem is somewhere in the ports. > A crazy possibility - but thought I would mention it. Is it possible you are having overheating problems, fans not running well?... What about power supply. Is it stable? Are voltage levels stable? How about re-seating the ram sticks? From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 16:44: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 BF5D6672 for ; Sun, 22 Feb 2015 16:44:29 +0000 (UTC) Received: from smtp2.hushmail.com (smtp2.hushmail.com [65.39.178.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.hushmail.com", Issuer "Self-signed" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A4DEF876 for ; Sun, 22 Feb 2015 16:44:29 +0000 (UTC) Received: from smtp2.hushmail.com (localhost [127.0.0.1]) by smtp2.hushmail.com (Postfix) with SMTP id 1A2FCA015E for ; Sun, 22 Feb 2015 16:44:23 +0000 (UTC) Received: from smtp.hushmail.com (w5.hushmail.com [65.39.178.80]) by smtp2.hushmail.com (Postfix) with ESMTP for ; Sun, 22 Feb 2015 16:44:22 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id D89FCA0168; Sun, 22 Feb 2015 16:44:22 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 22 Feb 2015 16:44:22 +0000 To: freebsd-questions@freebsd.org Subject: Why all the fancy ASCII art in the boot loader? From: opendaddy@hushmail.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20150222164422.D89FCA0168@smtp.hushmail.com> 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 Feb 2015 16:44:29 -0000 Hello! Why all the fancy ASCII art in the boot loader? Every time I boot I'm distracted by it. Feels like I'm reading an 80s e-zine. Can't we be more like OpenBSD and keep things simple? http://en.wikipedia.org/wiki/KISS_principle Sorry for the rant. Thanks! O.D. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 16:51: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 1265079F for ; Sun, 22 Feb 2015 16:51:50 +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 C6564939 for ; Sun, 22 Feb 2015 16:51:49 +0000 (UTC) Received: from r56.edvax.de (port-92-195-149-162.dynamic.qsc.de [92.195.149.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id AFEC43CC48; Sun, 22 Feb 2015 17:51:45 +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 t1MGpjDr002235; Sun, 22 Feb 2015 17:51:45 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 22 Feb 2015 17:51:45 +0100 From: Polytropon To: opendaddy@hushmail.com Subject: Re: Why all the fancy ASCII art in the boot loader? Message-Id: <20150222175145.6b2cb583.freebsd@edvax.de> In-Reply-To: <20150222164422.D89FCA0168@smtp.hushmail.com> References: <20150222164422.D89FCA0168@smtp.hushmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Sun, 22 Feb 2015 16:51:50 -0000 On Sun, 22 Feb 2015 16:44:22 +0000, opendaddy@hushmail.com wrote: > Hello! > > Why all the fancy ASCII art in the boot loader? Every time I boot > I'm distracted by it. Feels like I'm reading an 80s e-zine. It's easy to switch those off, and even the delay (mostly unneccessary). Add those to /boot/loader.conf: autoboot_delay="1" beastie_disable="YES" You still have the option to interrupt booting at this early stage. > Can't we be more like OpenBSD and keep things simple? > http://en.wikipedia.org/wiki/KISS_principle FreeBSD's configuration mechanism for the boot loader easily allows that. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 17:24: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 BB716BF3 for ; Sun, 22 Feb 2015 17:24:47 +0000 (UTC) Received: from wnls-smtp1.wa.co.za (wnls-smtp1.wa.co.za [41.185.62.206]) by mx1.freebsd.org (Postfix) with ESMTP id 54EA6C1A for ; Sun, 22 Feb 2015 17:24:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by wnls-smtp1.wa.co.za (Postfix) with ESMTP id 79CE67FEAD for ; Sun, 22 Feb 2015 19:16:59 +0200 (SAST) X-Quarantine-ID: X-Virus-Scanned: Debian amavisd-new at wnls-smtp1.wa.co.za X-Spam-Flag: NO X-Spam-Score: -0.893 X-Spam-Level: X-Spam-Status: No, score=-0.893 tagged_above=-999 required=6 tests=[ALL_TRUSTED=-1.8, BAYES_50=0.8, HTML_MESSAGE=0.107] autolearn=disabled Received: from wnls-smtp1.wa.co.za ([127.0.0.1]) by localhost (wnls-smtp1.wa.co.za [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lDnhMYK9IBu5 for ; Sun, 22 Feb 2015 19:16:58 +0200 (SAST) Received: from workstation (admin.cnet.co.za [41.185.32.164]) by wnls-smtp1.wa.co.za (Postfix) with SMTP id AFA577F5EC for ; Sun, 22 Feb 2015 19:16:58 +0200 (SAST) Message-ID: <09E6484BDC7F4979A42684F2B9C0DA00@workstation> Reply-To: "Godfrey Hamshire" From: "Godfrey Hamshire" To: "FreeBSD Users" Subject: bsnmpd and set ip range to access snmpd Date: Sun, 22 Feb 2015 19:18:16 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Content-Type: text/plain; charset="iso-8859-1" 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: Sun, 22 Feb 2015 17:24:47 -0000 Hello=20 I am trying to get bsnmpd's snmpd.conf to allow access from an number = of ip's or a /29=20 My snmpd.conf is stock standard barring a few changes for security.=20 It works just fine for localhost but I want to add a few ips and no = luck.=20 I googled myself silly but there seems no reference for setting = additional ips to access snmpd for info.=20 Again all help is most appreciated=20 Godfrey From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 17:27:18 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 9AC68C86 for ; Sun, 22 Feb 2015 17:27:18 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id 70344C30 for ; Sun, 22 Feb 2015 17:27:17 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 29493CB8CA0; Sun, 22 Feb 2015 11:27:17 -0600 (CST) Received: from 76.193.19.10 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 22 Feb 2015 11:27:17 -0600 (CST) Message-ID: <9984.76.193.19.10.1424626037.squirrel@cosmo.uchicago.edu> In-Reply-To: <20150222104425.GA44573@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> Date: Sun, 22 Feb 2015 11:27:17 -0600 (CST) Subject: Re: why would I get a segmentation fault on one system but not the other? From: "Valeri Galtsev" To: "David Benfell" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: cpet , Polytropon , 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: Sun, 22 Feb 2015 17:27:18 -0000 On Sun, February 22, 2015 4:44 am, David Benfell wrote: > On Sun, Feb 22, 2015 at 09:19:56AM +0100, Polytropon wrote: >> On Sat, 21 Feb 2015 17:03:50 -0600, cpet wrote: >> > As well as don't use stable on a production box as STABLE doesn't mean >> > what it means. >> >> STABLE means that the API/ABI is stable. Unlike HEAD (CURRENT), >> STABLE still is actually _stable_ in most cases, so it's a valid >> solution for production systems (given that you're prepared well, >> and you know what you're doing). I'm running STABLE on few >> production machines myself (where this is needed), but I usually >> prefer (and often recommend) using RELEASE and add the security >> patches when they are available. >> > Thinking about this more, I'm inclined to think my problem is not with > the base system. I haven't seen *any* crashes with stuff that can be > clearly identified as being in the base system, let alone the kernel. > > My memory test has just completed a 4th pass with zero errors. It's > now been running for 7.5 hours. > > I think my problem is somewhere in the ports. > After you definitely know where the failure source is memory or system/software (e.g. by swapping drives and seeing which system fails after that), and if it turns out to be hardware, I would suggest to try one more thing. Clock down RAM speed just to the next slower setting (you usually can do that in BIOS). If RAM or memory controller is marginally on the edge of their capabilities, stepping down RAM speed may bring them to speeds at which they are reliable (electronics wise you are just going to longer pulses, so front steepness, and delays between different signal line fronts matter less. This solves, e.g. the case when memory controller can marginally not handle too high capacitive load of what is attached to address lines of memory bus). Good luck! Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 17:51:27 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 01D45537 for ; Sun, 22 Feb 2015 17:51:27 +0000 (UTC) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::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 B901FE96 for ; Sun, 22 Feb 2015 17:51:26 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id z81so10159735oif.0 for ; Sun, 22 Feb 2015 09:51:26 -0800 (PST) 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=PGst/6CIgywnZeYuOfkls8lBsAQbYhUVZUYKNHm6Bbs=; b=nUarOc0E+2yJG1W85RaU0AysMgCxUCadbJfwBFUkqUpJUrJwRLD1sNleW6m9LomeFt kZ6sbyPJHfvznsh0f4g1sHiSN9FUmo/kGSFuZgFntOGSPp2pepQUyMjPbpzkhUstvaa8 G4YCyctLg/ssrCgilaAlznZrpPQhcmHZb5m9uTShgUWmut9CJpPsxdo7YjBMIOfA2IxU LDwqkPj6U9xKn3yfV+JpUW8K46IFqrsF9icy08nYr2aE2NZdIz6HA5rRHsbYehjBi0w2 H0qWVEBITWiHqEKrVuWjWOlbysSNjPgC9n2UUw5NkgeoaVcsFSapqOf2woruUtPoaAzf Vc6A== MIME-Version: 1.0 X-Received: by 10.202.86.212 with SMTP id k203mr4777307oib.42.1424627486060; Sun, 22 Feb 2015 09:51:26 -0800 (PST) Received: by 10.202.213.83 with HTTP; Sun, 22 Feb 2015 09:51:26 -0800 (PST) Date: Sun, 22 Feb 2015 11:51:26 -0600 Message-ID: Subject: Error building pkg repository From: Dan Lists To: freebsd-questions 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: Sun, 22 Feb 2015 17:51:27 -0000 I maintain a couple local package repositories. I have not had any problems creating the repositories until today. I went to update a repository and this is what I got: # pkg repo . Creating repository in .: 0% pkg: pkg_create_repo(pipe): Protocol not supported Cannot create repository catalogue I searched the web and the list archives, but I did not find anything. Can anyone help with this issue? Thanks, Dan From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 18:31: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 061E5BF7 for ; Sun, 22 Feb 2015 18:31:52 +0000 (UTC) Received: from h3lix.wtfayla.net (helix.wtfayla.net [24.105.170.68]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CCF9E2D1 for ; Sun, 22 Feb 2015 18:31:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by h3lix.wtfayla.net (Postfix) with ESMTP id 76C6C84FE1; Sun, 22 Feb 2015 13:30:18 -0500 (EST) Received: from h3lix.wtfayla.net ([127.0.0.1]) by localhost (h3lix.wtfayla.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 57891-02; Sun, 22 Feb 2015 13:30:18 -0500 (EST) Received: from helix.wtfayla.net (helix.wtfayla.net [24.105.170.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by h3lix.wtfayla.net (Postfix) with ESMTPS id 14DA884FCD; Sun, 22 Feb 2015 13:30:18 -0500 (EST) Date: Sun, 22 Feb 2015 13:30:17 -0500 (EST) From: freebsd@fongaboo.com X-X-Sender: fongaboo@helix.wtfayla.net To: freebsd-questions@freebsd.org Subject: OpenVPN with NAT In-Reply-To: <20150126213658.48423c08.freebsd@edvax.de> Message-ID: References: <3kWFlD70VnzRRrw@baobab.bilink.it> <20150126213658.48423c08.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) 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 Feb 2015 18:31:52 -0000 Have a FreeBSD 10 box I have set up with OpenVPN. I've gotten it working, terminating at the server, with both a FreeBSD and a Windows client. Now I am trying to route Internet traffic through the VPN and out the server's gateway. From what I have read, it involves: 1) Configuring the FreeBSD server to be a gateway router: gateway_enable="YES" (in /etc/rc.conf) 2) Enabling gateway redirection in OpenVPN on the server: push "redirect-gateway def1 bypass-dhcp" (in /usr/local/etc/openvpn/openvpn.conf) 3) NAT'ing the OpenVPN clients to the WAN interface of the server: From what I've read, this can be done three ways: A) Using IPFW and NATD B) Using IPFW and kernel-based NAT C) Using NAT functions in PF At the moment, I don't really want to go for option C, although open to it in the long-run. But switching to PF would require getting myself, and others working on this box, up to speed on PF... and recreating all my existing IPFW rules in PF. I've tried Option B, by entering IPFW rules such as: ipfw nat 1 config if em0 ipfw add nat 1 all from 10.8.0.0/24 to any out via bge0 ipfw add nat 1 all from any to any in via bge0 And I've tried Option A by enabling NATD as described below in a post from last month. Unlike that poster, I want ALL my clients to route out through the VPN gateway. So I tried the 'unrefined' line as it is displayed below. In all cases, the OpenVPN client does take over the gateway, but traffic goes nowhere. Nothing seems to make it out the external interface and back. NAT seems not to be succeeding no matter what I do. Any advice? TIA On Mon, 26 Jan 2015, Polytropon wrote: > On Mon, 26 Jan 2015 16:45:16 +0100, Luciano Mannucci wrote: >> I have a freebsd machine (FreeBSD troika 10.1-RELEASE FreeBSD 10.1-RELEASE #0 >> r274401) with openvpn that works like a charm :-)... >> I wish to nat one and only one of my openvpn clients, possibly for a >> single destination. What's the better way to avoid disturbing the rest >> of the operations? >> Any clues? >> Is IPFW my friend? > > Yes, that should work. In /etc/rc.conf, set > > natd_enable="YES" > natd_interface="xl0" > > where "xl0" is the "outer" interface. > > In your custom /etc/ipfw.conf, add the rule > > add divert natd ip from any to any via xl0 > > and refine the "from any to any" part to reflect the > IP addresses (and maybe specific ports) for the connection > you want to translate, so the rule will only allow for > that _one_ destination you want to enable. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 18:45: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 255DEE4 for ; Sun, 22 Feb 2015 18:45:44 +0000 (UTC) Received: from h3lix.wtfayla.net (helix.wtfayla.net [24.105.170.68]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D631C3EA for ; Sun, 22 Feb 2015 18:45:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by h3lix.wtfayla.net (Postfix) with ESMTP id C2B4C851C6 for ; Sun, 22 Feb 2015 13:44:17 -0500 (EST) Received: from h3lix.wtfayla.net ([127.0.0.1]) by localhost (h3lix.wtfayla.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 58153-06 for ; Sun, 22 Feb 2015 13:44:17 -0500 (EST) Received: from helix.wtfayla.net (helix.wtfayla.net [24.105.170.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by h3lix.wtfayla.net (Postfix) with ESMTPS id 7592B84AB7 for ; Sun, 22 Feb 2015 13:44:17 -0500 (EST) Date: Sun, 22 Feb 2015 13:44:17 -0500 (EST) From: freebsd@fongaboo.com X-X-Sender: fongaboo@helix.wtfayla.net To: freebsd-questions@freebsd.org Subject: Re: OpenVPN with NAT In-Reply-To: Message-ID: References: <3kWFlD70VnzRRrw@baobab.bilink.it> <20150126213658.48423c08.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) 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 Feb 2015 18:45:44 -0000 P.S. I believe I enabled the server to be a gateway immediately (without reboot) with: sysctl net.inet.ip.forwarding=1 > sysctl -a | grep forwarding net.inet.ip.forwarding: 1 I also had to do kldload ipdivert and kldload ipfw_nat before I could get a lot of what I described to run without error (however, still non-functional). On Sun, 22 Feb 2015, freebsd@fongaboo.com wrote: > > Have a FreeBSD 10 box I have set up with OpenVPN. I've gotten it working, > terminating at the server, with both a FreeBSD and a Windows client. > > Now I am trying to route Internet traffic through the VPN and out the > server's gateway. From what I have read, it involves: > > 1) Configuring the FreeBSD server to be a gateway router: > > gateway_enable="YES" (in /etc/rc.conf) > > 2) Enabling gateway redirection in OpenVPN on the server: > > push "redirect-gateway def1 bypass-dhcp" (in > /usr/local/etc/openvpn/openvpn.conf) > > 3) NAT'ing the OpenVPN clients to the WAN interface of the server: > > From what I've read, this can be done three ways: > > A) Using IPFW and NATD > > B) Using IPFW and kernel-based NAT > > C) Using NAT functions in PF > > > At the moment, I don't really want to go for option C, although open to it in > the long-run. But switching to PF would require getting myself, and others > working on this box, up to speed on PF... and recreating all my existing IPFW > rules in PF. > > I've tried Option B, by entering IPFW rules such as: > > ipfw nat 1 config if em0 > ipfw add nat 1 all from 10.8.0.0/24 to any out via bge0 > ipfw add nat 1 all from any to any in via bge0 > > And I've tried Option A by enabling NATD as described below in a post from > last month. Unlike that poster, I want ALL my clients to route out through > the VPN gateway. So I tried the 'unrefined' line as it is displayed below. > > In all cases, the OpenVPN client does take over the gateway, but traffic goes > nowhere. Nothing seems to make it out the external interface and back. NAT > seems not to be succeeding no matter what I do. Any advice? TIA > > > On Mon, 26 Jan 2015, Polytropon wrote: > >> On Mon, 26 Jan 2015 16:45:16 +0100, Luciano Mannucci wrote: >>> I have a freebsd machine (FreeBSD troika 10.1-RELEASE FreeBSD 10.1-RELEASE >>> #0 >>> r274401) with openvpn that works like a charm :-)... >>> I wish to nat one and only one of my openvpn clients, possibly for a >>> single destination. What's the better way to avoid disturbing the rest >>> of the operations? >>> Any clues? >>> Is IPFW my friend? >> >> Yes, that should work. In /etc/rc.conf, set >> >> natd_enable="YES" >> natd_interface="xl0" >> >> where "xl0" is the "outer" interface. >> >> In your custom /etc/ipfw.conf, add the rule >> >> add divert natd ip from any to any via xl0 >> >> and refine the "from any to any" part to reflect the >> IP addresses (and maybe specific ports) for the connection >> you want to translate, so the rule will only allow for >> that _one_ destination you want to enable. >> >> >> -- >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ... >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > 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 Sun Feb 22 19:02: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 B90004C9 for ; Sun, 22 Feb 2015 19:02:56 +0000 (UTC) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::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 79367873 for ; Sun, 22 Feb 2015 19:02:56 +0000 (UTC) Received: by mail-oi0-f48.google.com with SMTP id a3so10330664oib.7 for ; Sun, 22 Feb 2015 11:02:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jH2b1CXpB30Jp8YmlcJtkPDgDcOrhl8l+s/ufO8dFs8=; b=t0plG+5cHFSvrYabBk/AHZSxLcOpLUscpoKIRnIranS0F9OVwT9YYMo3SCmA9ABCCE arhdAxsWJWpTLXeza3YfmK6AVfFS3GKNF+40Pz32otOfo9tebu7qOI7Iyde0WoZjHcK5 avPCLb1FG1MOID3Txsvq5Yss/XJyWGpOmRPVfaivTRWKr6JWrArXmwyMpZtV2lhrkvgK JnKQnziBuBMbjXbDQ6VcbhQqbXvgDbVZw9kaxBavpEsA+RKzqmzSI2re8ujZdFgDnV5S 8hzLdKV2sYWaHxXjGEhu4c26eoEibvqqzG5XfPrVDrSKoGf3BeIkI/F1mALiT/b+N1nv 8sTg== MIME-Version: 1.0 X-Received: by 10.202.196.137 with SMTP id u131mr4887754oif.78.1424631775974; Sun, 22 Feb 2015 11:02:55 -0800 (PST) Received: by 10.202.213.83 with HTTP; Sun, 22 Feb 2015 11:02:55 -0800 (PST) In-Reply-To: References: Date: Sun, 22 Feb 2015 13:02:55 -0600 Message-ID: Subject: Re: Error building pkg repository From: Dan Lists To: freebsd-questions 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: Sun, 22 Feb 2015 19:02:56 -0000 On Sun, Feb 22, 2015 at 11:51 AM, Dan Lists wrote: > > I maintain a couple local package repositories. I have not had any > problems creating the repositories until today. I went to update a > repository and this is what I got: > > # pkg repo . > Creating repository in .: 0% > pkg: pkg_create_repo(pipe): Protocol not supported > Cannot create repository catalogue > > I searched the web and the list archives, but I did not find anything. > Can anyone help with this issue? > > I built pkg from source and it works fine. There must be something wrong with the pre-built package of pkg from the FreeBSD repository. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 20:23:05 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61D60906 for ; Sun, 22 Feb 2015 20:23:05 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [50.250.218.162]) (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 3A576F6D for ; Sun, 22 Feb 2015 20:23:04 +0000 (UTC) Received: from [IPv6:2600:1010:b018:42cb:4ef0:7b40:8f0:19cb] (unknown [IPv6:2600:1010:b018:42cb:4ef0:7b40:8f0:19cb]) by mail.parts-unknown.org (Postfix) with ESMTPSA id BF7BB5B3BC39; Sun, 22 Feb 2015 12:23:02 -0800 (PST) User-Agent: K-9 Mail for Android In-Reply-To: <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: why would I get a segmentation fault on one system but not the other? From: David Benfell Date: Sun, 22 Feb 2015 12:22:59 -0800 To: galtsev@kicp.uchicago.edu Message-ID: <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> Cc: cpet , Polytropon , 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: Sun, 22 Feb 2015 20:23:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On February 22, 2015 7:48:30 AM PST, Valeri Galtsev wrote: > >On Sun, February 22, 2015 4:44 am, David Benfell wrote: >> On Sun, Feb 22, 2015 at 09:19:56AM +0100, Polytropon wrote: >>> On Sat, 21 Feb 2015 17:03:50 -0600, cpet wrote: >>> > As well as don't use stable on a production box as STABLE doesn't >mean >>> > what it means. >>> >>> STABLE means that the API/ABI is stable. Unlike HEAD (CURRENT), >>> STABLE still is actually _stable_ in most cases, so it's a valid >>> solution for production systems (given that you're prepared well, >>> and you know what you're doing). I'm running STABLE on few >>> production machines myself (where this is needed), but I usually >>> prefer (and often recommend) using RELEASE and add the security >>> patches when they are available. >>> >> Thinking about this more, I'm inclined to think my problem is not >with >> the base system. I haven't seen *any* crashes with stuff that can be >> clearly identified as being in the base system, let alone the kernel. >> >> My memory test has just completed a 4th pass with zero errors. It's >> now been running for 7.5 hours. >> > >How long does the box run before segfault? Some memory errors may >happen >with smaller probability, then short memtest may be OK, not detecting >memory errors happening less often. > >What is the load of machine when segfault happens? During memtest86 the >load is "zero". During actual server run, you may be heating the >interior >of the box to higher temperatures, namely memory controller to higher >temperatures, which increases chance of malfunction. > >Do you have ECC memory or non-ECC? If non-ECC can you replace it with >ECC? >(some memory controllers accept both). Is it possible that you have >mixture of different types of RAM attached to the same memory >controller >(I've seen even different brands claiming the same specs did cause >occasional malfunctions). Also, which slots do you use for RAM? If not >all >slots have RAM, start filling the slots that are farther away from >memory >controller (which is on CPU substrate these days, hence from CPU). If >you >leave fartherst slots open you will have open (not terminated) portion >of >transmission line causing reflections interfering with signal, leading >to >trouble. Some fancy system boards do have memory bus terminators so >what I >said about slots deasn't matter for them, but majority of boards do >not. >If the hardware is a suspect, I would begin with minimal amount of >known >good RAM. > >Swapping RAM between good and bad machines is another thing to try. I >however, would try instead to swap hard drives, and see which of >machines >will start failing after that. This way you will know for sure if >software >(+ hard drive) is to blame (if different machine starts failing) or >hardware (if the same machine with system from good machine keeps >failing). > >Goog luck! > >Valeri > >++++++++++++++++++++++++++++++++++++++++ >Valeri Galtsev >Sr System Administrator >Department of Astronomy and Astrophysics >Kavli Institute for Cosmological Physics >University of Chicago >Phone: 773-702-4247 >++++++++++++++++++++++++++++++++++++++++ Sorry for the top post; I'm on my phone now. A photo of the memtest from just before I shut it down is here: https://parts-unknown.org/wp/wp-content/uploads/2015/02/0222150941.jpg Hopefully it will answer some of the questions you pose. The segfaults occur at start-up and consistently thereafter but only, so far as I know, with apache and php-fpm. I have not seen segfaults anywhere else on this system. It is plausible that apache is simply reporting segfaults from php. This is why I think something nefarious is happening within the ports. Your other suggestions will have to wait until I get back on site. Thanks - -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -----BEGIN PGP SIGNATURE----- Version: APG v1.1.1 iQJfBAEBCgBJBQJU6jqjQhxEYXZpZCBCZW5mZWxsICgqc2lnaCouIFRyeWluZyBh Z2Fpbi4pIDxiZW5mZWxsQHBhcnRzLXVua25vd24ub3JnPgAKCRAVeuMeEjZgK8uv D/9sXo5akh5MCcjMKy7OIFKI6eM8pnh1VMZNe/qPgVNB7usCTS0/zGqwPEsXAsjH Oh1Yrm/XQ7rMSpYMRzR7DrjIiUl2Qz1cH9Xj5xpB4dtD99pCMgo7XeyB7P0598fS 60MUcLqtDnzoN4QIKA0lSi/7mu50KYm+nhylIkl3C9S+ZtadeccM+Z+sXmW84JVB DMtyEvcpV8fgA88uv5VPqGga2mOMlYRBKWFbElSdCJjS5L3mUIiNIxiN7iGZagyw W89KbdbkJoEZ7ID/V0maMU9CzGA0QQWmfD3O4c0YQJAZeUiFuIf5VY9SgUi3rkvP E7meqsJkHF4kpO/Iadr/C5zWetiAnhGU4FcdqdY1wqHGC2jywyQervyTDN6VPAnq slwQQj1xJ99WPQ0Io7Ok4Td6vODtMESUDJ/NAcE4eWugp8FR6WQOldiCNeQnSsf6 LSWgaISijNRhDitM15ooWjpK/ehYECodmAItYPjWzwDwqnLrrM5R1bexGzmXuOoH P6UdLHzWDYQvltdistw4seEOliufu8NQpHKnueMAtyCOyYsH5Fe3QJYaRajp+6FB niyYDiN8CCugxcW8C1xoU+RNsRmhmDBqEvHUqckYs23rbuWAYxSc65zz5VD9WFro hPYyUfHRQCtUjuV3AiyOb0QH78Y4EL1nrEargo07Md3gXg== =bbfG -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 20:36:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FCF7A36; Sun, 22 Feb 2015 20:36:53 +0000 (UTC) Received: from d2ux.org (static.140.151.9.5.clients.your-server.de [5.9.151.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3C623F1; Sun, 22 Feb 2015 20:36:52 +0000 (UTC) Received: from d2ux.org (unknown [10.0.0.4]) by d2ux.org (Postfix) with ESMTP id 6BEDD1FE144; Sun, 22 Feb 2015 21:36:45 +0100 (CET) Received: from d2ux.org ([10.0.0.4]) by d2ux.org (d2ux.org [10.0.0.4]) (amavisd-new, port 10024) with ESMTP id 3ADTp41ACQZh; Sun, 22 Feb 2015 21:36:42 +0100 (CET) Received: from [192.168.2.5] (p54B466AE.dip0.t-ipconnect.de [84.180.102.174]) by d2ux.org (Postfix) with ESMTPSA id 887E61FDC4D; Sun, 22 Feb 2015 21:36:42 +0100 (CET) Message-ID: <54EA3DC6.8090406@petermann-it.de> Date: Sun, 22 Feb 2015 21:36:22 +0100 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: freebsd-python@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Questions about packaging Python modules in Ports Collection References: <3c81f98fe02d3047ca3ddf3ced1dcf1f@mail.d2ux.org> <20150220142701.GA1033@medusa.sysfault.org> In-Reply-To: <20150220142701.GA1033@medusa.sysfault.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 20:36:53 -0000 Hallo Marcus, many thanks for sharing your recommendations and advice. I fully agree and will definitely engage with the meta ports. This appears very handy to me, too. Best regards, Matthias Am 20.02.2015 um 15:27 schrieb Marcus von Appen: > On, Fri Feb 20, 2015, Matthias Petermann wrote: > >> Hello, >> >> I am maintaining the Tryton ports for FreeBSD and am about to prepare >> the update from 2.8 to 3.4. Because I think there is some potential to >> improve, I would like to address some questions and ask for advice from >> the FreeBSD Python community. >> >> First, please allow me to give you some background. Tryton consists of a >> framework (client and server component), as well as a large number (67) >> of functional modules that add business domain functionality to the >> framework. All this modules together make up a comprehensive ERP >> solution. If one wants to use only a subset from them, the framework >> allows to enable / disable them on the fly, even if they all are >> installed. >> >> The framework components are located in: >> >> /usr/ports/finance/tryton28 (client) >> /usr/ports/finance/trytond28 (server) >> >> and most of the functional modules in: >> >> /usr/ports/finance/trytond28_* >> >> For each of the functional modules there is a separate port provided, >> utilizing distutils and autoplist. >> >> This works good, but I think of the following potential issues: >> >> I) Looking on this with a users eye, it doesn't make too much sense to >> install only a subset of the modules. Some don't even provide standalone >> functionality but only provide dependencies to other modules. So most >> users likely want to install the complete set of Tryton modules and turn >> them on / off in the frameworks configuration later. >> >> II) Supporting multiple Tryton versions at the same time. The Tryton >> project does a very good job in providing security fixes for legacy >> releases for a quite long period. From a users point of view it is >> desirable to have the versions introduced to Ports Collection supported >> until their upstream EOL. This is required to not force anyone to >> upgrade to the newest version each, because this is not always possible >> when running this in production. On the other hand, having at least the >> newest version available in the ports is required to keep FreeBSD >> attractive as the platform for new Tryton users. >> >> What do you think on the following? >> >> 1) Is the large number of separate modules in the sense of the >> principles of the ports collection? My observations is that this blows >> up the directory pretty much. > They do not violate the principles. I do not know enough about tryton, > but if a single module contains some critical issue, it may come in > handy to only update that seperate module, especially, if this is > according to how the upstream vendor provides updates and fixes. > >> 2) Is the statement II) valid or do I overestimate the needs of the >> typical FreeBSD user base? > You do not. FreeBSD is a typical server operating system. Continuity as > well as providing long-term support for mission-critical software is > fairly common. The python bits (speaking for lang/pythonXX) are usually > offered as ports for as long as upstream offers updates and patches > (until the EOL). The same goes for other software. > >> 3) Is it technically possible to bundle multiple distutils python >> modules into one port? Is there a good example you know? > In your specific case, the tryton modules are offered as seperate > distutils packages, if I understand it correctly. In my opinion, > meta-ports, which pull in the modules as run dependencies and bundle > them into useful groups, would ease the setup of an ERP system for the > user base. There are similar ports around for other software, > e.g. x11/xorg, x11/xorg-apps, etc., which pull in relevant X.org bits > and pieces to provide users a far easier way to install a fully > functional X.org environment (or parts of it). > >> 4) With regards to I), is it suggested to keep the functional modules as >> separate ports, or should I apply 3) if technically possible? > See my first comment. If upstram provides them as seperate modules, > which might be updated individually within the EOL of a major release, > it would make sense to keep them as seperate ports and use meta-ports to > bundle functional parts. > >> 5) In ports collection, is it allowed in a port to reference a (common) >> Makefile of another port? I have seen in NetBSDs pkgsrc for the Tryton >> port, they source common stuff like the version number of Tryton from a >> common Makefile: >> >> For example, this modules Makefile: >> http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/finance/py-trytond-account/Makefile >> uses this: >> http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/py-trytond/Makefile.common > Yes. This is heavily used by e.g. the OpenGL and Mesa ports, PostgreSQL > and others. You should keep in mind that this also bears certain risks > (breaking all ports using that common Makefile on updates, keeping the > include order in mind, etc.). I'd rather recommend to create a tryton > Uses to be included, especially if your functional meta-ports require > bits of other functional parts. That way, you could provide functional > parts for users (meta-ports) and provide logical/technical parts > internally for all the consumers. Something like: > > finance/tryton-debitor > # Provide debit functionality > USES= tryton:base,accounts,sale > > > finance/tryton-accounts > # Pull in all relevant accounting bits > USES= tryton:base > # Do not use USES=tryton:accounts, since this port provides it > RUN_DEPENDS= finance/tryton-account finance/tryton-account_asset ... > > Mk/Uses/tryton.mk > # Similar to e.g. Uses/twisted.mk or bsd.sdl.mk, etc.pp., depending > # on the granularity. > > Additionally, the Uses can be easily used by consumer ports of Tryton, > which are not maintained by yourself, providing a sort of standard > approach for other maintainers. > > Cheers > Marcus From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 20:59: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 5029AE80 for ; Sun, 22 Feb 2015 20:59:19 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [IPv6:2001:470:67:119::4]) (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 260552C9 for ; Sun, 22 Feb 2015 20:59:19 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 484885B3BD23; Sun, 22 Feb 2015 12:59:18 -0800 (PST) Date: Sun, 22 Feb 2015 12:59:18 -0800 From: David Benfell To: galtsev@kicp.uchicago.edu Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150222205918.GA68253@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , Polytropon , 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: Sun, 22 Feb 2015 20:59:19 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 22, 2015 at 12:22:59PM -0800, David Benfell wrote: >=20 > Sorry for the top post; I'm on my phone now. A photo of the memtest from = just before I shut it down is here: https://parts-unknown.org/wp/wp-content= /uploads/2015/02/0222150941.jpg Hopefully it will answer some of the questi= ons you pose. Oh, so I *did* manage to get K-9 configured not to top-post. ;-) >=20 > The segfaults occur at start-up and consistently thereafter but only, so = far as I know, with apache and php-fpm. I have not seen segfaults anywhere = else on this system. It is plausible that apache is simply reporting segfau= lts from php. This is why I think something nefarious is happening within t= he ports. I am back on site now and, with some help from grep, established that the *only* Segmentation faults logged are associated with httpd or apache24. Is it really plausible that this can be hardware? Thanks! --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6kMmAAoJEBV64x4SNmArfpYQAKbHcrCUEEbn1pf5UX+ebsfS elgObTr7oZ4S69GAZ5y3D3ryK4Vc0ByLFZVOLWV37oKx6dvJcSo+S1SlFJfMqa6p I7OTCOtg/X/FlCY178sRKAk4eGt28ZkHWWV+DQ1cveUOZfHHN063pri0y+/zwPqy PvZ3zvA/I+7ONX9UDXe84JAqTyPs1/GWrDYf0jXQV7yaWZY1HIHM4GVjY8tJDGZ1 oTmbq2w18SkuEnm6ztSX/zRDosY/6rh/QEDDlu3MrQl8b+BLELn3ntdzZP2BJbCE 0UHqeooUmARkOYzt1M91R7FgcKrpUSV+Rg3QxnIxCSSafqmkbTFxpqdGwPRJHUXP xrx+iOXFYVccrP/KJXYX98uWTpAljmyIlRwFVrIhn9v4Ec+fIBLG0tSF6wicYQhi 8UMLrySWNKZwM4ZhgjSnLD+ph/FBP+tHlv2Ry7abqdzmt+mVKi6vdEjp6S8mRrR7 8WusBos2PxB5zfld7MnywmpZH0Op8rFUfcUhnuhSdrlVesuX4+E0rPcinl5c1pp8 /X26XgQ4O+Hojpxt/0Ev/v7r5qUHlXscs3VDAr3YnuKsCm3BfaX35rTlffy6CiSD uli+xHWhkrHWCQMBrb6qgcgwcfz3PC2rzQcUlt0hMv2l6aXSTq2UeXiFZmNEQZcG bXVhDUU7/yrFVOaL27hx =LhVc -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 21:04: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 EE2403A8 for ; Sun, 22 Feb 2015 21:04:51 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [IPv6:2001:470:67:119::4]) (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 C723A64F for ; Sun, 22 Feb 2015 21:04:51 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 439815B3BD23; Sun, 22 Feb 2015 13:04:51 -0800 (PST) Date: Sun, 22 Feb 2015 13:04:51 -0800 From: David Benfell To: jd1008 Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150222210451.GA74450@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <54EA04D2.6090208@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <54EA04D2.6090208@gmail.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: Sun, 22 Feb 2015 21:04:52 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 22, 2015 at 09:33:22AM -0700, jd1008 wrote: > > > A crazy possibility - but thought I would mention it. > Is it possible you are having overheating problems, > fans not running well?... >=20 Actually, Valeri seemed to be arguing along a similar vein. So, from https://forums.freebsd.org/threads/your-laptop-temperature.39785/ vegan# kldload coretemp vegan# sysctl -a | grep temperature hw.acpi.thermal.tz0.temperature: 27.8C hw.acpi.thermal.tz1.temperature: 29.8C dev.cpu.0.temperature: 27.0C dev.cpu.1.temperature: 27.0C dev.cpu.2.temperature: 28.0C dev.cpu.3.temperature: 28.0C dev.cpu.4.temperature: 25.0C dev.cpu.5.temperature: 25.0C dev.cpu.6.temperature: 24.0C dev.cpu.7.temperature: 23.0C vegan# uname -a FreeBSD vegan.parts-unknown.org 10.1-STABLE FreeBSD 10.1-STABLE #0 r279117: Sat Feb 21 15:57:40 PST 2015 root@vegan.parts-unknown.org:/usr/obj/usr/src/sys/GENERIC amd64 This is actually significantly lower than the temperature it was running at for the memtest, where it ran from 45-50C, from what I saw in sporadic observations. (The photo at http://parts-unknown.org/wp/wp-content/uploads/2015/02/0222150941.jpg shows 46C.) --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6kRzAAoJEBV64x4SNmArlk4QAKDjNy1VP6ansFZZeEm2BhGe 8LaxdO/CuTQ6LnBnJC+mhNVB31zfPCQHtsdiImO2Es7/8HIpYgPBTR9cdvFBKeLL skS1r8L5HgRiYvWDHT9sV2HYMt4hwzuo/4z5slzpqM53lS03nbnJdMXEjiPsMV3w GqEDjk01sqIC9sZrUYjCcbT0rUcRe81io6DRPHPUJHwCxLQZ7/JK2mgrPA5P0ns6 ppql9+MVEwqOXE3wfcdH6V3plB4Wft0FfOmQ7HrZ0heoLP92EUNr6BDDUZ678NUE YpFNnuMS9gffHRPpPI4XnkXBboHNb5yLFN3Qsh6WXZFbyQCizi0KZi+h2HvuMc2a J2FwWaA+Icj6Xvn01tmG0KU49hG5CF232uKLJBpmJUM1FrznJjPhuX/1t9qgkzPp +9eTNqR0klQb6h2GdshEYZotlRTAxFw/5IyQX08ceogV875UaU7IF1GwQfaoam+3 K3Ce/rLf8pketU41OjqiVnfu41PLfhsXshj00rioBif89lbaxADKpRIo+mDiy0U7 ARYw0o22vRqBufaryLUJCBiiVBs6yPCOAURqWQIbWe0mPTsiR/I0rOrsWoXbTnfb MNN6ettFoV8WW/zkbaqaRMEe+XcEFucH0C2k7ZgbirB5w04H6//IRkxkkav+E5b0 wkE5y8rKxHpeQukgHw/R =hOYQ -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 21:43:04 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3CE6D7C for ; Sun, 22 Feb 2015 21:43:04 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id B55F7A61 for ; Sun, 22 Feb 2015 21:43:04 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id A9959CB8CA1; Sun, 22 Feb 2015 15:43:03 -0600 (CST) Received: from 76.193.19.10 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 22 Feb 2015 15:43:03 -0600 (CST) Message-ID: <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> In-Reply-To: <20150222205918.GA68253@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> Date: Sun, 22 Feb 2015 15:43:03 -0600 (CST) Subject: Re: why would I get a segmentation fault on one system but not the other? From: "Valeri Galtsev" To: "David Benfell" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: cpet , Polytropon , freebsd-questions@freebsd.org, galtsev@kicp.uchicago.edu 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 Feb 2015 21:43:05 -0000 On Sun, February 22, 2015 2:59 pm, David Benfell wrote: > On Sun, Feb 22, 2015 at 12:22:59PM -0800, David Benfell wrote: >> >> Sorry for the top post; I'm on my phone now. A photo of the memtest from >> just before I shut it down is here: >> https://parts-unknown.org/wp/wp-content/uploads/2015/02/0222150941.jpg >> Hopefully it will answer some of the questions you pose. > > Oh, so I *did* manage to get K-9 configured not to top-post. ;-) > >> >> The segfaults occur at start-up and consistently thereafter but only, so >> far as I know, with apache and php-fpm. I have not seen segfaults >> anywhere else on this system. It is plausible that apache is simply >> reporting segfaults from php. This is why I think something nefarious is >> happening within the ports. > > I am back on site now and, with some help from grep, established that > the *only* Segmentation faults logged are associated with httpd or > apache24. Is it really plausible that this can be hardware? > No, I'm too inclined now to think it is not hardware. Swapping the drives between two boxes will confirm that that is not the hardwre case definitely... At this point I would think of likely memory leak somewhere. One of the things would be just run that thing in debugger. You will know exact place where it fails, and will see if failure reproduces. Before that I would do some quick look around. Is it possible that some thing calls itself recursively? This will create quickly new processes, the last you can spot happening, right? I do realize now the other machine is production machine. Can you use recovery from backup of production machine to re-create it exactly on failing box? This will cover what swapping the drive will do. And in case of success you will have working box. Still, on production machines I would use RELEASE (as it was already mentioned). Sorry, I didn't follow this thread from beginning; I may be suggesting something irrelevant... Good luck! Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 22:00:52 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 308FCF96 for ; Sun, 22 Feb 2015 22:00:52 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id 03558BB1 for ; Sun, 22 Feb 2015 22:00:51 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 173E9CB8CA0; Sun, 22 Feb 2015 16:00:51 -0600 (CST) Received: from 76.193.19.10 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 22 Feb 2015 16:00:50 -0600 (CST) Message-ID: <11645.76.193.19.10.1424642451.squirrel@cosmo.uchicago.edu> In-Reply-To: <20150222205918.GA68253@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> Date: Sun, 22 Feb 2015 16:00:50 -0600 (CST) Subject: Re: why would I get a segmentation fault on one system but not the other? From: "Valeri Galtsev" To: "David Benfell" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: cpet , Polytropon , 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: Sun, 22 Feb 2015 22:00:52 -0000 On Sun, February 22, 2015 2:59 pm, David Benfell wrote: > On Sun, Feb 22, 2015 at 12:22:59PM -0800, David Benfell wrote: >> >> Sorry for the top post; I'm on my phone now. A photo of the memtest from >> just before I shut it down is here: >> https://parts-unknown.org/wp/wp-content/uploads/2015/02/0222150941.jpg >> Hopefully it will answer some of the questions you pose. > > Oh, so I *did* manage to get K-9 configured not to top-post. ;-) > >> >> The segfaults occur at start-up and consistently thereafter but only, so >> far as I know, with apache and php-fpm. I have not seen segfaults >> anywhere else on this system. It is plausible that apache is simply >> reporting segfaults from php. This is why I think something nefarious is >> happening within the ports. > > I am back on site now and, with some help from grep, established that > the *only* Segmentation faults logged are associated with httpd or > apache24. Is it really plausible that this can be hardware? > One more thing. If you can not run it under debugger for whatever reason, you can take a look which libraries the main binary, and php module (and other things that are used by crashing apache) are linked to (ldd is your friend ;-). And which libraries these libraries are linked to. And so on until you have exhaustive list. Check they all exist, and have correct checksums if they came from central package repository. Or rebuild all of them (reinstall ports they come from). Rsyncing port tree directly from working machine may make sense here. The same about main system (and someone already mentioned it and told to match svn version If you built ans installed main system by compiling source, you may rsync source directly from good machine, make sure you move off the way source on bad machine before doing that). Lot of manual work. Restoring "working box" from backup onto the failing box sounds like much less work to me - almost a "shortcut"... Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 23:48: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 0F13254B for ; Sun, 22 Feb 2015 23:48:56 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [50.250.218.162]) (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 DD491853 for ; Sun, 22 Feb 2015 23:48:55 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 593FB5B3BD1B; Sun, 22 Feb 2015 15:48:49 -0800 (PST) Date: Sun, 22 Feb 2015 15:48:49 -0800 From: David Benfell To: Valeri Galtsev Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150222234849.GA44067@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , Polytropon , 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: Sun, 22 Feb 2015 23:48:56 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 22, 2015 at 03:43:03PM -0600, Valeri Galtsev wrote: >=20 > No, I'm too inclined now to think it is not hardware. Swapping the drives > between two boxes will confirm that that is not the hardwre case > definitely... At this point I would think of likely memory leak somewhere. > One of the things would be just run that thing in debugger. You will know > exact place where it fails, and will see if failure reproduces. I hope I did this right. It's the first time I've tried working with the debugger. If I did this right, then ick: vegan# gdb /usr/local/sbin/php-fpm GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... (gdb) break main Breakpoint 1 at 0x648214 (gdb) run Starting program: /usr/local/sbin/php-fpm=20 (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New LWP 100184] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New Thread 802806400 (LWP 100184/php-fpm)] [Switching to Thread 802806400 (LWP 100184/php-fpm)] Breakpoint 1, 0x0000000000648214 in main () (gdb) attach 1458 A program is being debugged already. Kill it? (y or n) n Not killed. (gdb) n Single stepping until exit from function main,=20 which has no line number information. (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x000000080a9903e8 in hash_lookup () from /usr/local/lib/libc-client4.so.9 > Before > that I would do some quick look around. Is it possible that some thing > calls itself recursively? This will create quickly new processes, the last > you can spot happening, right? I do realize now the other machine is > production machine. Can you use recovery from backup of production machine > to re-create it exactly on failing box? This will cover what swapping the > drive will do. And in case of success you will have working box. Still, on > production machines I would use RELEASE (as it was already mentioned). > Sorry, I didn't follow this thread from beginning; I may be suggesting > something irrelevant... >=20 > Good luck! >=20 > Valeri >=20 > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6mrhAAoJEBV64x4SNmArzX0QALRc59NFihiM+JTol8YvIND5 EFCJzD0gphaE2akQAN4Wlasw3ZBX/X+NenLr+2+qhiVbgVzVYcFtzBLO/e0HPFQT AqXdcA9PFl22amzV0Bpk+gyd5XR4SkRuQ8koQMQ50652osMILEy5q1DE3f6mmHqr F61SxIdL32ol9ifhr3tFSOJQH+6bmshSD1QwF6jEDcZsqRymE3UO7TUwRaI7rRyC mKo1ERFcXxz1byXf0QZvwC0fnw0Vy9PZ322Zwqu927Pz/cI0epbWNxuxE0orBco2 ai3GXxJ2z6miiQVia3VmAkc9d6XpmNRwYDOTKJHuYzZy5iPSgSNWkF/SX8m1HiOe tPwOVQU7W5rIarU0s/j4vjlsypJih6p01NFpx5O3v09WVXDDhlQBj3Tto3M2jq5b R3MWsPJn9coZIt99ureC82bNKzeQ4+2WyZlLR9Tqo1Uqy4lNlfOeqaoZ8XsAuvjU H97u745naucxyc6secwGTdDBQsVJ3CmDVXkdgxaOvIczIRTwu7MAOkIX1MqrSBSE bEd8bzCsEIouBsN/ozDCuXtMI2qMX0nvh9Hl3WC0mIuQarzUcDGCJKfaidaSgUYn AoCryC6QjVN0lRO37+l1zTk8Mdg503MzlDmYtUhhkN6OJyIX+V5sbgXFd2c9jxjJ SjvheiwIfmWRAu2Rfc90 =SIcC -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 00:15: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 334F5BAB for ; Mon, 23 Feb 2015 00:15:45 +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 95A36BEF for ; Mon, 23 Feb 2015 00:15:43 +0000 (UTC) Received: from localhost.localdomain ([81.106.150.188]) by know-smtprelay-7-imp with bizsmtp id vcEa1p00J4481jl01cEaMq; Mon, 23 Feb 2015 00:14:34 +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=0HtSIViG9nkA:10 a=67BIL_jfAAAA:8 a=xGYHk0FKopWRZmhQxEYA:9 a=QEXdDO2ut3YA:10 a=udp4jTLay8sA:10 Received: by localhost.localdomain (Postfix, from userid 500) id 02663866CB; Mon, 23 Feb 2015 00:14:33 +0000 (GMT) Date: Mon, 23 Feb 2015 00:14:33 +0000 From: Ken Moffat To: David Benfell Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223001433.GB7342@milliways> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150222234849.GA44067@home.parts-unknown.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , Polytropon , freebsd-questions@freebsd.org, Valeri Galtsev 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 Feb 2015 00:15:45 -0000 On Sun, Feb 22, 2015 at 03:48:49PM -0800, David Benfell wrote: > Program received signal SIGSEGV, Segmentation fault. > 0x000000080a9903e8 in hash_lookup () from > /usr/local/lib/libc-client4.so.9 > Perhaps related to https://bugs.php.net/bug.php?id=66313&edit=3 ? For program crashes with binary software on what you guys call amd64, my backup guess is that the program was compiled with a compiler which made assumptions about sse3-related things, and in this case that particular machine does not support that option (I've seen that in one of the linux texlive binaries on one of my machines - the newest, as it happens, with lots of newer shinier options, but omitting one of the older ones). Perhaps grep Features /var/run/dmesg.boot might show a difference between the machines. ĸ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 Mon Feb 23 00:31:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44A92E63 for ; Mon, 23 Feb 2015 00:31:53 +0000 (UTC) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::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 11857D9A for ; Mon, 23 Feb 2015 00:31:53 +0000 (UTC) Received: by iecar1 with SMTP id ar1so19781618iec.11 for ; Sun, 22 Feb 2015 16:31:52 -0800 (PST) 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=WHtLRqNMMdySw2pmhz5n7d8PhzAl2unZ8z8vIfBHJ+k=; b=01mKi8pkVmZHKZKc3CYGLxcgWInUwpbPjZjSS+6ravHPGEQR9/eTJhRKWPsBsKOZ+S 4qplQ9LXsb5hLPebaXOve/oh3qdw94es4Uq3cUxVkPgjFT6fxqD1aZdasJD8AeIGyq8g tzK7mO1tTSLcAISQ6LcTDgtllmZsDlG4L2xMcD6TdpBF2yKdwvIYhf7+67vGmn7/eAet wAKfbRUnSu0xom2uSc8dazOeDSe7VuvE8lEuzv3PCfPSR5lwARsuKtfdRqeAPx+Y7e5d NeF39JqbEhsh8TvIqkU72tC53oumkaT+70/Ptw8WT8f9x08Vmuf+qkKxkY9vqfPhF1le PASA== X-Received: by 10.107.8.213 with SMTP id h82mr10203548ioi.89.1424651512275; Sun, 22 Feb 2015 16:31:52 -0800 (PST) Received: from localhost.localdomain ([50.243.6.59]) by mx.google.com with ESMTPSA id q89sm9132210ioi.37.2015.02.22.16.31.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 16:31:51 -0800 (PST) Message-ID: <54EA74F6.6070008@gmail.com> Date: Sun, 22 Feb 2015 17:31:50 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: why would I get a segmentation fault on one system but not the other? References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> In-Reply-To: <20150222234849.GA44067@home.parts-unknown.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 00:31:53 -0000 On 02/22/2015 04:48 PM, David Benfell wrote: > I hope I did this right. It's the first time I've tried working with > the debugger. If I did this right, then ick: > > vegan# gdb /usr/local/sbin/php-fpm > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "amd64-marcel-freebsd"...(no debugging > symbols found)... > (gdb) break main > Breakpoint 1 at 0x648214 > (gdb) run > Starting program: /usr/local/sbin/php-fpm > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...[New LWP > 100184] > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...[New Thread 802806400 (LWP 100184/php-fpm)] > [Switching to Thread 802806400 (LWP 100184/php-fpm)] > > Breakpoint 1, 0x0000000000648214 in main () > (gdb) attach 1458 > A program is being debugged already. Kill it? (y or n) n > Not killed. > (gdb) n > Single stepping until exit from function main, > which has no line number information. > (no debugging symbols found)...(no debugging symbols found)...(no > ....Snipped..... > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)... > Program received signal SIGSEGV, Segmentation fault. > 0x000000080a9903e8 in hash_lookup () from > /usr/local/lib/libc-client4.so.9 Are your binaries in /usr//local? From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 01:05:02 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 EF3F1F8 for ; Mon, 23 Feb 2015 01:05:02 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [IPv6:2001:470:67:119::4]) (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 C496DFE6 for ; Mon, 23 Feb 2015 01:05:02 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 837BF5B3BD23; Sun, 22 Feb 2015 17:05:01 -0800 (PST) Date: Sun, 22 Feb 2015 17:05:01 -0800 From: David Benfell To: Valeri Galtsev Subject: RESOLVED, SORT OF: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223010501.GA48633@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11645.76.193.19.10.1424642451.squirrel@cosmo.uchicago.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <11645.76.193.19.10.1424642451.squirrel@cosmo.uchicago.edu> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , Polytropon , 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 Feb 2015 01:05:03 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 22, 2015 at 04:00:50PM -0600, Valeri Galtsev wrote: >=20 > One more thing. If you can not run it under debugger for whatever reason, > you can take a look which libraries the main binary, and php module (and > other things that are used by crashing apache) are linked to (ldd is your > friend ;-). As it happens, I *was* able to run it under debugger. And traced it to mail/cclient . It's an odd and unhappy result. I have the exact same version running on the older machine. But cclient is fairly obviously a dependency of php55-imap and removing that extension indeed enables php-fpm to start. Before removing the extension, I tried portmaster -Rft on cclient; it completed successfully, but running php-fpm still yielded the segfault. That this appears on one machine and not the other suggests unreproducibility; should I file a bug report? php-imap isn't something I personally use. I think some of my web applications are able to use it. --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6ny9AAoJEBV64x4SNmArvFYP/imcXbmF3s7THSzNpkD4xMyK WW1FG3VB23CalW9GwgbVpT8wXzRnAEeYupWBF5aYEmCi/FH3sRorzPIoXfPxQ1Kt 29kTYGQ/A6nATCPGP2vrMx5z/943EBIX43diGIhSHBDxKgnsLVPPVHQ7Qhtt1uo0 OAhiR7pu2Z0ZkrP6Jl9dNRpNwa6JnzKhb5rzuG0dK/HsBCvrvP1ll5Zm0wm3U5CW ohTp4O3wL7Vh8kLrcWUu6tDN8qnMQAoz7LGHkTt8bl3TItMKOCRnIPOfGvnWHt98 wV7eg6dfS1TPNy9D/1OnI4/rBhieEHE6C9T2YOr3NjLfhT9N3QCAcljo92SRgSzx Q1YTE/Y81n+2iU9qPs3tuFQJ13FY3k/qR1SCSJS6NlfoMbt0y7EQIBlR4ercXnPa aQcFwzF/AraiIXgsHIakcs6/fEF9GPiNiWiIGapMr5ltN0BpRfrSvVm5P7Fki2ow hhmqWDqcnntk80r8tgMef/L4rj0LQfSpOhW3GNRX5KN/Xj/pjyGLqed3lCevqGss OZYQKvYWJErlQljZjRbkh4pmkCuTGKF4H6PFJ750wXf1blo2/8DGlq/asQbCeDt5 dgUJ3jseNr6gNO0gRi2XJrLPC1vEhqRuos+siyA76SBBVcBUNyaMxnUVfMgqRF/M 4+V9iWY6qJ8t60X95Tk1 =BmXR -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 01:11: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 58A8E1A2 for ; Mon, 23 Feb 2015 01:11:24 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [50.250.218.162]) (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 316B79B for ; Mon, 23 Feb 2015 01:11:24 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 73D875B3BD1B; Sun, 22 Feb 2015 17:11:23 -0800 (PST) Date: Sun, 22 Feb 2015 17:11:23 -0800 From: David Benfell To: Ken Moffat Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223011123.GB48633@home.parts-unknown.org> References: <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> <20150223001433.GB7342@milliways> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8GpibOaaTibBMecb" Content-Disposition: inline In-Reply-To: <20150223001433.GB7342@milliways> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , Polytropon , freebsd-questions@freebsd.org, Valeri Galtsev 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 Feb 2015 01:11:24 -0000 --8GpibOaaTibBMecb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 23, 2015 at 12:14:33AM +0000, Ken Moffat wrote: Hmmm, don't know why your suggestion didn't appear. First the old machine: [benfell@home ~]% grep Features /var/run/dmesg.boot=20 Features=3D0xbfebfbff Features2=3D0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAV= E,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended Features=3D0x27ab XSAVE Features=3D0x1 Features=3D0xbfebfbff Features2=3D0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAV= E,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended Features=3D0x27ab XSAVE Features=3D0x1 Now the newer machine: vegan# grep Features /var/run/dmesg.boot=20 Features=3D0xbfebfbff Features2=3D0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT= ,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended Features=3D0x27ab XSAVE Features=3D0x1 Features=3D0xbfebfbff Features2=3D0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT= ,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended Features=3D0x27ab XSAVE Features=3D0x1 This all Greek to me. Perhaps a diff will help: [benfell@vegan ~]% diff -u Features.home Features.vegan --- Features.home 2015-02-22 17:09:32.000000000 -0800 +++ Features.vegan 2015-02-22 17:09:01.000000000 -0800 @@ -1,15 +1,13 @@ -[benfell@home ~]% grep Features /var/run/dmesg.boot +vegan# grep Features /var/run/dmesg.boot=20 Features=3D0xbfebfbff - Features2=3D0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSA= VE,OSXSAVE,AVX,F16C,RDRAND> + Features2=3D0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,A= ESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2c100800 AMD Features2=3D0x21 - Structured Extended -Features=3D0x27ab + Structured Extended Features=3D0x27ab XSAVE Features=3D0x1 Features=3D0xbfebfbff - Features2=3D0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSA= VE,OSXSAVE,AVX,F16C,RDRAND> + Features2=3D0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,A= ESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2c100800 AMD Features2=3D0x21 - Structured Extended -Features=3D0x27ab + Structured Extended Features=3D0x27ab XSAVE Features=3D0x1 Thanks! --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --8GpibOaaTibBMecb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6n47AAoJEBV64x4SNmArJZ0P/3BkuZStwzuZPBfZAOyUBYiu gEyhnDGnQNBfmmVwTlSox3CFUnB3nKY3j/f7sA6YXdLQDGDh+miNJ00DnO1PHOO+ pV4LlpAvWE6daXP5cV4AXQ56WSIrIvfFm8K+td+rqt830eekKB3uGZHlbfFblu8J kyQhbRAGrCeD8jVd7qXFbSHyxWwAfUxNQIZoCs1rv7YKPjZFlUnCPAAWWWBsIUEe DVJXV1HiHHCMbEJ3x+PdIfhYbqprOU5oEK7RoVVOJGEsitfLmPVt5Psgt6fSBVWk NdbzlwF0zkVTaRLZZkp2hHLdQkreg/VyC4zxYxtG2cV7RLsb6Qs0amGLFV8u1/Mu yVTuScCVJLNP7OU1yFO7MdzkuOAoBReFHlTZeGPMt1Jy2PThn9j1PYmj1zFgulnr TS690nb1C+6DnDtWTaOx17ypxn+5f+SsXk7wXqtxRxcJpb6TGTcXNHmtQMm5wwyA uFE9mm9dN67rtZpXD90ooFYPI9Blc4cuPWsfoTvD2QdzNbBT6dXhnpEdgRF/qfR7 Kp5lTJ5Ot0aSUp/7mSqhU5OLl7vM4kuaYC5VvqrBGUq99Vs1u4s3xxrxMqsz1aaF 4mZw0spldcMmCR9KFWd/EFa9u/hPcmzLLbmDqMm1CUcfiElbQHeSHAzE30PtIBl8 zhK2DA+70hS/KCWlu0x8 =rT+b -----END PGP SIGNATURE----- --8GpibOaaTibBMecb-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 01:14: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 7339B24B for ; Mon, 23 Feb 2015 01:14:55 +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 2ED9414A for ; Mon, 23 Feb 2015 01:14:55 +0000 (UTC) Received: by mail-ig0-f180.google.com with SMTP id b16so14914099igk.1 for ; Sun, 22 Feb 2015 17:14:54 -0800 (PST) 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=1gy7m53lkkKXp62OVSTw/OXlv4Ao1ObJD9flqVSOuPY=; b=FGYW65/Oem4BOchhEZuQ25RVnQ1K5Kd/LLxMkSiiuYGRIiNdYI9wnYcd6vNbd5nr17 M4CGG/Cj+x2BVOfZLdsicj0OldIIaG3PDaMt7D76yudKMeQEe2KPkyM58HaiNQUOvaUg A7YWa/zcjzEa4jWIYlCvPz+7tk2g3RVi438rPUuMbJTge2ruflUCwT3Miy6EMALwfvYU mTWpgRfr2fVJHYeQEalxjf39+fsWkZtKYDU9xkh3TumP9W7g2ULqyw/MpUp2kWzsNSJK YKVBws3YPyLyl/WCY1GENtTnBI4Cmz1iNPdM0Ufd+KeQEa1dgltFTWIK2s6WY9cgXN6A FCZA== X-Received: by 10.107.30.148 with SMTP id e142mr1937157ioe.4.1424654094735; Sun, 22 Feb 2015 17:14:54 -0800 (PST) Received: from localhost.localdomain ([50.243.6.59]) by mx.google.com with ESMTPSA id 184sm11823326ion.14.2015.02.22.17.14.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 17:14:53 -0800 (PST) Message-ID: <54EA7F0D.4080008@gmail.com> Date: Sun, 22 Feb 2015 18:14:53 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: RESOLVED, SORT OF: Re: why would I get a segmentation fault on one system but not the other? References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11645.76.193.19.10.1424642451.squirrel@cosmo.uchicago.edu> <20150223010501.GA48633@home.parts-unknown.org> In-Reply-To: <20150223010501.GA48633@home.parts-unknown.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 01:14:55 -0000 On 02/22/2015 06:05 PM, David Benfell wrote: > On Sun, Feb 22, 2015 at 04:00:50PM -0600, Valeri Galtsev wrote: >> One more thing. If you can not run it under debugger for whatever reason, >> you can take a look which libraries the main binary, and php module (and >> other things that are used by crashing apache) are linked to (ldd is your >> friend ;-). > As it happens, I *was* able to run it under debugger. And traced it to > mail/cclient . > > It's an odd and unhappy result. I have the exact same version running > on the older machine. But cclient is fairly obviously a dependency of > php55-imap and removing that extension indeed enables php-fpm to start. > > Before removing the extension, I tried portmaster -Rft on cclient; it > completed successfully, but running php-fpm still yielded the > segfault. > > That this appears on one machine and not the other suggests > unreproducibility; should I file a bug report? > > php-imap isn't something I personally use. I think some of my web > applications are able to use it. > Personally, I am not convinced. Even if your 2 machines were 100% identical in every respect to the minutest details, I would need to test on another 10 identical machines. But then, that's just me :) Cheers, JD From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 01:22: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 C332FB8C for ; Mon, 23 Feb 2015 01:22:16 +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 34B70241 for ; Mon, 23 Feb 2015 01:22:15 +0000 (UTC) Received: from localhost.localdomain ([81.106.150.188]) by know-smtprelay-7-imp with bizsmtp id vdNE1p00Z4481jl01dNEPg; Mon, 23 Feb 2015 01:22:14 +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=0HtSIViG9nkA:10 a=3j4gRMhX9bnap0P_0RkA:9 a=QEXdDO2ut3YA:10 Received: by localhost.localdomain (Postfix, from userid 500) id 26F98866CB; Mon, 23 Feb 2015 01:22:14 +0000 (GMT) Date: Mon, 23 Feb 2015 01:22:14 +0000 From: Ken Moffat To: David Benfell Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223012214.GA9147@milliways> References: <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> <20150223001433.GB7342@milliways> <20150223011123.GB48633@home.parts-unknown.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150223011123.GB48633@home.parts-unknown.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , Polytropon , freebsd-questions@freebsd.org, Valeri Galtsev 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 Feb 2015 01:22:16 -0000 On Sun, Feb 22, 2015 at 05:11:23PM -0800, David Benfell wrote: > On Mon, Feb 23, 2015 at 12:14:33AM +0000, Ken Moffat wrote: > > > > > This all Greek to me. Perhaps a diff will help: > Sorry, it is greek to me too. I can barely work out what the linux options mean, after several years of building kernels there. But maybe somebody can diagnose from that diff. ĸ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 Mon Feb 23 01:35:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93F66EDD for ; Mon, 23 Feb 2015 01:35:53 +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 5668E376 for ; Mon, 23 Feb 2015 01:35:53 +0000 (UTC) Received: by iecrp18 with SMTP id rp18so19959392iec.9 for ; Sun, 22 Feb 2015 17:35:52 -0800 (PST) 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=HIwrDoF4DNm+h90uwS14wh4FPW4k+Y1ED/naZVsR1F8=; b=Prl5INunqJB7/5Ux/ubv0ZANudpc8QgiG1TRLEuMP3qMAU8PuoPkSRamHAeq2uckB0 Tf6TL9sEoR8kT82QWuRl5hu2fXFVgTCxngGb/aT5qoz4rdaqx9fJu0cFdOzt3UiGeuLg mlKuHOFZX4FCSxTyn0S2TOZxViQoERKI68vO7Aheqf1/PYRmfRQdQ8sj4a7qIYdV2y5p 8hlvDRO+/vScBG7b6Dv8wNy5hC/38SRoTvJz1tyXlNtRkchX/H6Y/vG0v6TD7atLWQNe /aG4wGqka3UOn4XDzTbaXi6/q/2BIZV6bHRA1ncYc/++JWfuzuyL3kTEMmhvTLEvtcn2 Cg5Q== X-Received: by 10.43.142.4 with SMTP id jg4mr9488316icc.42.1424655352728; Sun, 22 Feb 2015 17:35:52 -0800 (PST) Received: from localhost.localdomain ([50.243.6.59]) by mx.google.com with ESMTPSA id g71sm13346415ioe.43.2015.02.22.17.35.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 17:35:52 -0800 (PST) Message-ID: <54EA83F2.5000103@gmail.com> Date: Sun, 22 Feb 2015 18:35:46 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: why would I get a segmentation fault on one system but not the other? References: <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> <20150223001433.GB7342@milliways> <20150223011123.GB48633@home.parts-unknown.org> In-Reply-To: <20150223011123.GB48633@home.parts-unknown.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 01:35:53 -0000 On 02/22/2015 06:11 PM, David Benfell wrote: > On Mon, Feb 23, 2015 at 12:14:33AM +0000, Ken Moffat wrote: > > > > Hmmm, don't know why your suggestion didn't appear. First the old > machine: > > [benfell@home ~]% grep Features /var/run/dmesg.boot > Features=0xbfebfbff > Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2c100800 > AMD Features2=0x21 > Structured Extended > Features=0x27ab > XSAVE Features=0x1 > Features=0xbfebfbff > Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2c100800 > AMD Features2=0x21 > Structured Extended > Features=0x27ab > XSAVE Features=0x1 > > Now the newer machine: > > vegan# grep Features /var/run/dmesg.boot > Features=0xbfebfbff > Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2c100800 > AMD Features2=0x21 > Structured Extended > Features=0x27ab > XSAVE Features=0x1 > Features=0xbfebfbff > Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2c100800 > AMD Features2=0x21 > Structured Extended > Features=0x27ab > XSAVE Features=0x1 > > This all Greek to me. Perhaps a diff will help: > > [benfell@vegan ~]% diff -u Features.home Features.vegan > --- Features.home 2015-02-22 17:09:32.000000000 -0800 > +++ Features.vegan 2015-02-22 17:09:01.000000000 -0800 > @@ -1,15 +1,13 @@ > -[benfell@home ~]% grep Features /var/run/dmesg.boot > +vegan# grep Features /var/run/dmesg.boot > Features=0xbfebfbff > - Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > + > Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2c100800 > AMD Features2=0x21 > - Structured Extended > -Features=0x27ab > + Structured Extended > Features=0x27ab > XSAVE Features=0x1 > Features=0xbfebfbff > - Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > + > Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2c100800 > AMD Features2=0x21 > - Structured Extended > -Features=0x27ab > + Structured Extended > Features=0x27ab > XSAVE Features=0x1 > > Thanks! Well, I see this fundamental difference: ,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> >Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2, ,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> The 2nd line is lacking cpu features SMX and x2APIC I have not dabbled in compilers for many years, but one OP already mentioned the possibility of differences in AMD 64 architecture instruction generation by the C compiler. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 01:39: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 33854F9D for ; Mon, 23 Feb 2015 01:39:10 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id E6FDE3B4 for ; Mon, 23 Feb 2015 01:39:09 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 70383CB8CA0; Sun, 22 Feb 2015 19:39:08 -0600 (CST) Received: from 76.193.19.10 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 22 Feb 2015 19:39:08 -0600 (CST) Message-ID: <12918.76.193.19.10.1424655548.squirrel@cosmo.uchicago.edu> In-Reply-To: <20150223010501.GA48633@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11645.76.193.19.10.1424642451.squirrel@cosmo.uchicago.edu> <20150223010501.GA48633@home.parts-unknown.org> Date: Sun, 22 Feb 2015 19:39:08 -0600 (CST) Subject: Re: RESOLVED, SORT OF: Re: why would I get a segmentation fault on one system but not the other? From: "Valeri Galtsev" To: "David Benfell" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: cpet , Polytropon , 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 Feb 2015 01:39:10 -0000 On Sun, February 22, 2015 7:05 pm, David Benfell wrote: > On Sun, Feb 22, 2015 at 04:00:50PM -0600, Valeri Galtsev wrote: >> >> One more thing. If you can not run it under debugger for whatever >> reason, >> you can take a look which libraries the main binary, and php module (and >> other things that are used by crashing apache) are linked to (ldd is >> your >> friend ;-). > > As it happens, I *was* able to run it under debugger. And traced it to > mail/cclient . > > It's an odd and unhappy result. I have the exact same version running > on the older machine. But cclient is fairly obviously a dependency of > php55-imap and removing that extension indeed enables php-fpm to start. > > Before removing the extension, I tried portmaster -Rft on cclient; it > completed successfully, but running php-fpm still yielded the > segfault. > > That this appears on one machine and not the other suggests > unreproducibility; should I file a bug report? > > php-imap isn't something I personally use. I think some of my web > applications are able to use it. > Great, I'm glad you are in business. If I were through that I would file bug report, but one needs to read the rules of filing bug reports carefully first. As you don't want to give programmers bogus something that is not related to their software. First: one has to find simple way to reproduce the problem. It shouldn't be unique to that particular box. As if, say, some crippled external for that software library is what is to blame on faulty box, then it is not bug in this software. Anyway, I would read the whole good memo on how to file bug report. Then, it will require to do all on your side to make sure it is not bogus. But if indeed it is due to some bug, you will be doing great service to others (code maintainers will also be grateful!) Thanks. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 01:46: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 359BCEB for ; Mon, 23 Feb 2015 01:46:42 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [IPv6:2001:470:67:119::4]) (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 0B327657 for ; Mon, 23 Feb 2015 01:46:42 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 2ADE85B3BD22; Sun, 22 Feb 2015 17:46:41 -0800 (PST) Date: Sun, 22 Feb 2015 17:46:41 -0800 From: David Benfell To: Ken Moffat Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223014641.GC48633@home.parts-unknown.org> References: <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> <20150223001433.GB7342@milliways> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0lnxQi9hkpPO77W3" Content-Disposition: inline In-Reply-To: <20150223001433.GB7342@milliways> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , Polytropon , freebsd-questions@freebsd.org, Valeri Galtsev 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 Feb 2015 01:46:42 -0000 --0lnxQi9hkpPO77W3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 23, 2015 at 12:14:33AM +0000, Ken Moffat wrote: > On Sun, Feb 22, 2015 at 03:48:49PM -0800, David Benfell wrote: > > Program received signal SIGSEGV, Segmentation fault. > > 0x000000080a9903e8 in hash_lookup () from > > /usr/local/lib/libc-client4.so.9 > >=20 > Perhaps related to https://bugs.php.net/bug.php?id=3D66313&edit=3D3 ? Sorry, I didn't notice this part earlier. That particular bug refers to the recode extension. [benfell@vegan ~]% pkg info | grep php55-recode php55-recode-5.5.22 The recode shared extension for php So I don't know. It isn't causing me a problem here. --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --0lnxQi9hkpPO77W3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6oaBAAoJEBV64x4SNmArGIkQAJDhOwkPf+/H/PSWcaX0GgXC UIAfCWia+pfmoSwfsAto7oXf7HbVbZpfntV1ESOX+3oUbta6QZS8BRBHYpeWjkhY jakeRCHMxJaUndPCieZR/4zonhqEOAqjw28cN3KlQ7hxmWDpmC9ErtLngEzVvER2 RK9Tyfxn6fOEZpfSl/sbnCHVy2UkI1LaMAPx54VL8pnIroYptFDqmZp6ceDBMfwc GjqEL8zG1wqWYAlfjiHyNLkCZ8J1JpiuKIZaUXruVfD3qp9YL/OlLXzdjAlyqGVR zBxok7jxPm1iY+YUYe/ogHWdUeudgkFOWU8LTnFxK2ql5kFpFBtpnR40vIQjKWSN p+Gyf3102h94tNT26UYMolnVoCv/1uqJDGH+la4HDS0qUKT5HaoyCksHLQzpptrP oUUEIN6UDq6/rOQac/gTiFXZE5hjSOBX3rgJfDk9NIEMqpQnUbavuYgU45/fDSP9 pPlmM4HndO/zCmPA4lZC9uefvmsPRTF4PB0CEkr4UP0tVv+833JcMSRrh/fRNdfL jPK0NXDk9sU3W44KyjdtVgllpEA0bjqZGSvQs8kHvPp8SnX9ykp/UTywHCFiOX3P sJfD5tb8Q6DFg/W5hRqrX2Qz5eDROW8PM+jYFZbn3gJ4L/th8Dsnde5wr11+ztQ6 uK2A9KUclm8FwPYQmXx5 =MejK -----END PGP SIGNATURE----- --0lnxQi9hkpPO77W3-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 02:03: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 97DA7213 for ; Mon, 23 Feb 2015 02:03:21 +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 09BC8835 for ; Mon, 23 Feb 2015 02:03:20 +0000 (UTC) Received: from localhost.localdomain ([81.106.150.188]) by know-smtprelay-7-imp with bizsmtp id ve3K1p0254481jl01e3KKs; Mon, 23 Feb 2015 02:03:19 +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=0HtSIViG9nkA:10 a=C-Cn-2hRBVVu-Y4oArwA:9 a=QEXdDO2ut3YA:10 Received: by localhost.localdomain (Postfix, from userid 500) id 93442885A7; Mon, 23 Feb 2015 02:03:19 +0000 (GMT) Date: Mon, 23 Feb 2015 02:03:19 +0000 From: Ken Moffat To: jd1008 Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223020319.GA9764@milliways> References: <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> <20150223001433.GB7342@milliways> <20150223011123.GB48633@home.parts-unknown.org> <54EA83F2.5000103@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54EA83F2.5000103@gmail.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: Mon, 23 Feb 2015 02:03:21 -0000 On Sun, Feb 22, 2015 at 06:35:46PM -0700, jd1008 wrote: > > On 02/22/2015 06:11 PM, David Benfell wrote: > >On Mon, Feb 23, 2015 at 12:14:33AM +0000, Ken Moffat wrote: > > > > > >This all Greek to me. Perhaps a diff will help: > > > Well, I see this fundamental difference: > > > ,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > > >Features2=0x7fdafbbf ,EST,TM2,SSSE3,,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2, > ,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > > The 2nd line is lacking cpu features SMX and x2APIC > I have not dabbled in compilers for many years, but one OP already mentioned > the possibility of differences in AMD 64 architecture instruction generation > by the C compiler. If they are the same as on linux, SMX is the same as TPM (Trusted Platform Module), i.e. a crypto processor, and x2APIC is the newest programmable interrupt controller - both explained on wikipedia. Neither appear to be related to the minor sse3 variations which gave me problems on linux, so I think I took the thread off at a tangent. ĸ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 Mon Feb 23 02:38:28 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2612D3DF for ; Mon, 23 Feb 2015 02:38:28 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [50.250.218.162]) (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 05BBBA8A for ; Mon, 23 Feb 2015 02:38:27 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 12EDB5B3BD1B; Sun, 22 Feb 2015 18:38:27 -0800 (PST) Date: Sun, 22 Feb 2015 18:38:27 -0800 From: David Benfell To: Valeri Galtsev Subject: Re: RESOLVED, SORT OF: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223023827.GD48633@home.parts-unknown.org> References: <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11645.76.193.19.10.1424642451.squirrel@cosmo.uchicago.edu> <20150223010501.GA48633@home.parts-unknown.org> <12918.76.193.19.10.1424655548.squirrel@cosmo.uchicago.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UoPmpPX/dBe4BELn" Content-Disposition: inline In-Reply-To: <12918.76.193.19.10.1424655548.squirrel@cosmo.uchicago.edu> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , Polytropon , 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 Feb 2015 02:38:28 -0000 --UoPmpPX/dBe4BELn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 22, 2015 at 07:39:08PM -0600, Valeri Galtsev wrote: >=20 > Great, I'm glad you are in business. If I were through that I would file > bug report, but one needs to read the rules of filing bug reports > carefully first. As you don't want to give programmers bogus something > that is not related to their software. First: one has to find simple way > to reproduce the problem. It shouldn't be unique to that particular box. > As if, say, some crippled external for that software library is what is to > blame on faulty box, then it is not bug in this software. Anyway, I would > read the whole good memo on how to file bug report. Then, it will require > to do all on your side to make sure it is not bogus. But if indeed it is > due to some bug, you will be doing great service to others (code > maintainers will also be grateful!) >=20 I don't have an obvious way to reproduce it, so I'm really not sure that it isn't bogus according to your definition. I did make clear that it only appeared on one of my systems: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197941 I also included the features output that (I think) Ken Moffat had suggested obtaining. Finally, I tried to file it against mail/cclient rather than lang/php55. All I can do at this point is to hope for the best. Thanks to all! --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --UoPmpPX/dBe4BELn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6pKiAAoJEBV64x4SNmArvc4P/jkI9ZCaMFlN765WircfwzXH yJYBsOFypRRzBlxHafBvcPhGOd65ZB/fZh61LtKjPpH7+4Q0ZuFVQdJl2ilMZauy grnyLFIiheF/OOtEsSTziVIkYRPJjbLrWEQwknnVJL5H5pHMQxfTCMK/fWl6SQwh IkRx3NnUcput3IfhFftU2uzK+3/DUkNsnIF5LW70C2K3A0WTCpYBJi33e19rjujC Sy42MQKhwNvE1SpevyDuMCCqB3+oIzHnGKjiBTF8ApgK/xAeqx70d4k1l6QSq76D mlicxYLd3Y8sfoHefnP9iq9xF9DFhUALe7NM59TCxienW643jlpRxC40cPdCPeDP dzlBtIyUVa4/xS/04ySt+YR4b4yo4t2DmAKJZP51gBPuf2I6JKwHDbii1QPTM12p ZdqS8u7GUxhO5pm49fsiDx1jf8wvM/lqbwni+je3yhqfBt6QO30S1LUa/Vi9oTKl Bt1zcfHVzTAm1gzj2Ga53b7O/rnWW/fFRlgfTC9efJys24iOuf3Icg6zYYKqbUil VXGKxR0+a5PJF67gAu+NlWUDCNQODoyY+EvZfArY3mITNv6hd/F6mncuUyp1HlMP IRvgccdljEb6XWGfuI2QQJ3ag5ApiHL/C/A8EuRt/Bn55vELd/MpLcu88ciGwkSP CTibMIm8brhd0ieFjXY1 =acNF -----END PGP SIGNATURE----- --UoPmpPX/dBe4BELn-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 02:43:54 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8AE547A for ; Mon, 23 Feb 2015 02:43:54 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [50.250.218.162]) (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 CA856B81 for ; Mon, 23 Feb 2015 02:43:54 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 4917D5B3BD1B; Sun, 22 Feb 2015 18:43:54 -0800 (PST) Date: Sun, 22 Feb 2015 18:43:54 -0800 From: David Benfell To: jd1008 Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223024354.GE48633@home.parts-unknown.org> References: <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> <54EA74F6.6070008@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dzs2zDY0zgkG72+7" Content-Disposition: inline In-Reply-To: <54EA74F6.6070008@gmail.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: Mon, 23 Feb 2015 02:43:55 -0000 --Dzs2zDY0zgkG72+7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 22, 2015 at 05:31:50PM -0700, jd1008 wrote: >=20 > > debugging symbols found)...(no debugging symbols found)...(no > > debugging symbols found)... > > Program received signal SIGSEGV, Segmentation fault. > > 0x000000080a9903e8 in hash_lookup () from > > /usr/local/lib/libc-client4.so.9 > Are your binaries in /usr//local? >=20 Both php-fpm (part of lang/php55) and mail/cclient, the latter being the apparent source of the segmentation fault, are ports, so yes, they would be in the /usr/local tree. Thanks! --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --Dzs2zDY0zgkG72+7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6pPqAAoJEBV64x4SNmArXhkP/1CWBzZ8aWgDC3IU4OVqB+9I w2Jb/YTYfIkWGsU+KGq9y0zWjsn6k7M+J1rQrYHC0DKtUikc7i5uNc0YcnwX+lBq hgp2o5ZqKN3gkqMEZCD1W9UQS643f2WNAMxAh86g23cRfpJIKigVM5t8axGYYR6X ySByfrnGWd2U4Q7CGlbLd/fjPJ8u6Q1HkQt6Rohc1FlcxDSnHM4+HtSvHw/8XLWk yJCBz4BQiGCjU61eAT5pnPv03w2ZacPAM7OGvpGrKxZQLkyEcvGkJX4hZ6RtJP3b t0LyUCnglWMSd+DDep7Vi0LDIgGpUXrURHXOkJU4ZpKIECB4ahV1gmvfpVrJgZ68 HjkdoKGbz5KKEsNaQ0iecy8SSGfM9ekwitBZn9Dev7q9V+3PCpdVK3RT1dGlViui 220qrfBnIjpW9PRGtkUcdYrC+ZmnOxEcif4Qw2UAwl/PFa6zNhPjPqjBUmTrZiRP mXhYIxSwhNE0KV2BraT7JIadeIF9I92l+MZtcNjqUcBv+cUcdr4bpCeIthUBYds4 aUi4rZncMcE1GD7COfMTXI21UN8PpoWNZjR92tmn5AV4eJLz50fj6tKmSqVtkmK7 pDVN+6Mk+a5PLF3MikvuibS5Hj8NHcZEA8+9/Qr7KBrTYsUZX3IFW0iJazb2rs8i OixqFwt8sxnDsOqjgfPc =pczK -----END PGP SIGNATURE----- --Dzs2zDY0zgkG72+7-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 07:56: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 4E6A3722 for ; Mon, 23 Feb 2015 07:56:54 +0000 (UTC) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F379BB74 for ; Mon, 23 Feb 2015 07:56:53 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id C884939847; Mon, 23 Feb 2015 09:56:43 +0200 (EET) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uZxTWp4X8cRE; Mon, 23 Feb 2015 09:56:39 +0200 (EET) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id 4CEC939820; Mon, 23 Feb 2015 09:56:38 +0200 (EET) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [213.184.43.2]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Mon, 23 Feb 2015 09:56:38 +0200 Message-ID: <20150223095638.16931qisqwbvhx5w@webmail.raad.tartu.ee> Date: Mon, 23 Feb 2015 09:56:38 +0200 From: Toomas Aas To: Pavel Timofeev Subject: Re: Gnome3 no animation References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 213.184.43.2 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 Feb 2015 07:56:54 -0000 Hello Pavel! > > Access can be granted by adding the user(s) to the wheel group or using > a devfs.rules(5) to change the mode of the /dev/dri/card0 on creation. > > add path 'dri/*' mode 0666 group operator > > But the way with devfs.rules doesn't work. > Maybe try using devfs.conf instead of devfs.rules? The syntax is a bit different, but you should find a default file with commented examples in /etc -- Toomas Aas From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 08:42: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 8695DD82 for ; Mon, 23 Feb 2015 08:42:22 +0000 (UTC) Received: from formentor.toolfactory.net (pina.toolfactory.net [213.97.158.39]) by mx1.freebsd.org (Postfix) with ESMTP id 20BB5FD7 for ; Mon, 23 Feb 2015 08:42:21 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 0C42B177BBD for ; Mon, 23 Feb 2015 09:42:14 +0100 (CET) Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id lw_0l9EBQZeW for ; Mon, 23 Feb 2015 09:42:13 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id A02361780F7 for ; Mon, 23 Feb 2015 09:42:13 +0100 (CET) X-Virus-Scanned: amavisd-new at logpmzimmta01v.toolfactory.net Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id r1cnZL4Osai2 for ; Mon, 23 Feb 2015 09:42:13 +0100 (CET) Received: from xorrigo.toolfactory.net (unknown [192.168.2.210]) by formentor.toolfactory.net (Postfix) with ESMTP id 7C2F51780F5 for ; Mon, 23 Feb 2015 09:42:13 +0100 (CET) Date: Mon, 23 Feb 2015 09:42:30 +0100 (CET) From: Raimund Sacherer Reply-To: Raimund Sacherer To: freebsd-questions@freebsd.org Message-ID: <1587845035.91715373.1424680950928.JavaMail.zimbra@logitravel.com> In-Reply-To: <1556736143.91711691.1424680724984.JavaMail.zimbra@logitravel.com> Subject: Question regarding local scripts MIME-Version: 1.0 X-Originating-IP: [192.168.2.213] X-Mailer: Zimbra 8.0.8_GA_6184 (ZimbraWebClient - SAF7 (Mac)/8.0.8_GA_6184) Thread-Topic: Question regarding local scripts Thread-Index: o+wpUR/0xiWUuPsu4Ial9/hnCpKBxw== Content-Type: text/plain; charset=utf-8 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 Feb 2015 08:42:22 -0000 Hello, I am rather new to FreeBSD, putting a couple of new servers in production. I read a lot in the manuals, the man hier and googled around, but I can't find best practices for storing local scripts / apps. In Debian this part was easy, Debian never touches /usr/local, so I had this complete namespace for internal use. How to do this in FreeBSD the sane way? I thought of creating /scripts, but this seems odd, I thought of /opt/scripts or /opt/scripts/[s]bin hierarchy, or /opt/local/[s]bin hierarchy, but I am not sure how you are doing this sort of thing. I think what I like best would be to recreate a sort of /usr/local hierarchy under /opt/local. Best R. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 08:58: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 D85E12F0 for ; Mon, 23 Feb 2015 08:58:35 +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 6F82E1FB for ; Mon, 23 Feb 2015 08:58:34 +0000 (UTC) Received: from r56.edvax.de (port-92-195-149-162.dynamic.qsc.de [92.195.149.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id BED0A24D39; Mon, 23 Feb 2015 09:58:25 +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 t1N8wOYG003166; Mon, 23 Feb 2015 09:58:25 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 23 Feb 2015 09:58:24 +0100 From: Polytropon To: Raimund Sacherer Subject: Re: Question regarding local scripts Message-Id: <20150223095824.ec1e20d8.freebsd@edvax.de> In-Reply-To: <1587845035.91715373.1424680950928.JavaMail.zimbra@logitravel.com> References: <1556736143.91711691.1424680724984.JavaMail.zimbra@logitravel.com> <1587845035.91715373.1424680950928.JavaMail.zimbra@logitravel.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Feb 2015 08:58:36 -0000 On Mon, 23 Feb 2015 09:42:30 +0100 (CET), Raimund Sacherer wrote: > Hello, > > I am rather new to FreeBSD, putting a couple of new servers in > production. I read a lot in the manuals, the man hier and googled > around, but I can't find best practices for storing local > scripts / apps. What do you mean by "local" in relation to apps? Software you install with the port collection (or via pkg) will be installed into /usr/local, and this will be recorded (!) by the system's package system. > In Debian this part was easy, Debian never touches /usr/local, > so I had this complete namespace for internal use. FreeBSD is different: /usr/local is for locally installed programs, as the name suggests, and those are managed by the system. In the "top level" directories only the OS is installed. So when you would remove /usr/local entirely, the OS would not be affected. > How to do this in FreeBSD the sane way? There are different ways to do this on FreeBSD, but they aren't standardized. Allow me to mention _one_ example. The use of the Solarisism /opt is possible. Inside /opt, you can basically do what you want. /opt/bin is a central "hub" for scripts and binaries, as well as for symlinks which are required by programs that reside in, let's say, /opt/foo/program. You can also have /opt/src for sources, /opt/lib for libraries and /opt/libexec for daemons; for example, my printer filters reside there. Keep in mind the OS does not record anything you do in /opt. You need to do things manually (like updating stuff), and even adding paths (like /opt/bin to $PATH). For things that you wish to be able to use by _one_ user only, you can put scripts in his ~/bin, and add that to $PATH. Also consider using version control for your scripts; just the mandatory sidenote. :-) But there's probably an easier way: Read the porter's handbook and create ports for your program or (collections of) scripts which you can't manage via ports/pkg. It's not that hard, and there are many advantages over /opt. > I thought of creating /scripts, but this seems odd, I thought > of /opt/scripts or /opt/scripts/[s]bin hierarchy, or > /opt/local/[s]bin hierarchy, but I am not sure how you are > doing this sort of thing. Don't make things more complicated than they need to be. :-) > I think what I like best would be to recreate a sort of > /usr/local hierarchy under /opt/local. You can root the hierarchy directly to /opt, because /opt does not exist to the system (in a sense of "man hier"). If you place /opt on an individual partition, it's also very easy to forbid executing (in case of security concerns) by a simple mount option, or entirely removing access to the local additions by unmounting it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 14:36:48 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6AB714D0 for ; Mon, 23 Feb 2015 14:36:48 +0000 (UTC) Received: from mail-yh0-x22c.google.com (mail-yh0-x22c.google.com [IPv6:2607:f8b0:4002:c01::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 1EC2AC15 for ; Mon, 23 Feb 2015 14:36:48 +0000 (UTC) Received: by yhai57 with SMTP id i57so10353363yha.12 for ; Mon, 23 Feb 2015 06:36:47 -0800 (PST) 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=ZQULgNTvZUmbDc0VXmrCogJPf2NmpA7tLen48PlIbfo=; b=CMBeR9wBZJQ06brScSDYOzd6X5rUdiposfdzDwpClI5Vdal+cbaTpalBlXnzWGpaNa LT+8c6jCQz98cG6/c4JaBS8l3FR5h6dnx6tNAQnt9BkLRWMc1iWkznYTzoseQK4MlEcn AvGZc84Vf9ZmkTQMPEeSUEK8raRHZ7VmXFR0AoLdM5P375iTZuHKvB80MvvdpDU2hSZ4 Q3yUcu67OhKV0Kb7LwqR//6t+hqWw27ScQA0tZ7XBgoQdQCGNNWrG11P6FXnFXJSLKuD CnCrA7iOnrWBrJ5FSHuazKJt/QiqE5fUeQZ44vUtsaHHY2dQdHBC0GJG3jLD8kDb1o8k wBUg== MIME-Version: 1.0 X-Received: by 10.170.188.10 with SMTP id f10mr11405718yke.22.1424702207068; Mon, 23 Feb 2015 06:36:47 -0800 (PST) Received: by 10.170.188.1 with HTTP; Mon, 23 Feb 2015 06:36:47 -0800 (PST) In-Reply-To: References: <54E01849.3020500@complete.org> Date: Mon, 23 Feb 2015 14:36:47 +0000 Message-ID: Subject: Re: 10.1 ZFS - why canmount=off for /usr and /var by default? From: krad To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: John Goerzen , 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: Mon, 23 Feb 2015 14:36:48 -0000 It makes a degree of sense, however what are the properties most people set to inherit? Compression, atime, for me and I do that at the root dataset anyway, and sometimes dedup if its an ssd based pool. I still dont see why we set the mountpoint as this just confuses imho On 19 February 2015 at 15:49, Trond Endrest=C3=B8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > On Thu, 19 Feb 2015 12:06-0000, krad wrote: > > > It is a bit confusing, I have to ask why call it zroot/usr at all? I us= e > > /os/ for stuff like ports etc and then set the mountpoint. If we > must > > use usr in the name why not set the mountpoint to legacy as well, as it= s > > more clearly not used? > > Sorry for jumping in, but it's done simply to inherit the mountpoint. > > It has already been said, but here's a recap. > > Most of what you'll find in /usr belongs to the current BE. Datasets > create below zroot/usr, e.g. zroot/usr/local, magically appears as > /usr/foo, e.g. /usr/local. The same goes for zroot/var and /var. > > If you want to install FreeBSD with ZFS using some other train of > thought, then feel free to do so. > > I have my own set of scripts at > http://ximalas.info/~trond/create-zfs/canmount/, and they certainly > have their flaws, and maybe I even change these scripts in the future > as I move along and change my perspective on FreeBSD and ZFS. > > > On 15 February 2015 at 13:52, John Goerzen > wrote: > > > > > Ben Woods gmail.com> writes: > > > > > > > > > > > To quote Allan Jude when I posed this question to him: > > > > > > > > "The /usr dataset has 'canmount' set to off. It only exists so that > other > > > > datasets can be created under it. > > > > > > That makes sense. But it is misleading to have the mountpoint set to > /usr > > > and /var, isn't it? In a zfs list, it looks as if it's being used fo= r > /usr > > > and /var, when really as you say it's a container. > > > > > > I wonder - would there be a place I could submit a bug report to > suggest > > > that the mountpoint property be inherited at the default rather than > set > > > for > > > these two filesystems? > > > > > > > To use boot environments, you need to install the tool from the por= ts > > > tree: > > > > sysutils/beadm-devel > > > > > > Interesting. That looks quite nice. I need to read up a bit more on > it, > > > clearly, since it seems to be more than just a zfs clone and zpool se= t > > > bootfs that I was expecting. > > > > > > Thanks, > > > > > > John > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=C3=B8l, | Trond Endrest=C3=B8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=C3=B8vik Technical College, Norway, = | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 15:49: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 61ABFAFB for ; Mon, 23 Feb 2015 15:49:42 +0000 (UTC) Received: from glockenspiel.complete.org (glockenspiel.complete.org [192.99.4.47]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31C46666 for ; Mon, 23 Feb 2015 15:49:41 +0000 (UTC) Received: from [63.245.179.205] (helo=athena.lan.complete.org) by glockenspiel.complete.org with esmtps (with TLS1.2:RSA_AES_128_CBC_SHA1:128) (TLS peer CN christoph.complete.org, certificate verified) (Exim 4.80) id 1YPuw5-0000Gb-0f; Mon, 23 Feb 2015 09:28:41 -0600 Received: from [::1] by athena.lan.complete.org with esmtp (Exim 4.84) (envelope-from ) id 1YPuw1-0001hR-OW; Mon, 23 Feb 2015 09:28:37 -0600 Message-ID: <54EB4724.7050302@complete.org> Date: Mon, 23 Feb 2015 09:28:36 -0600 From: John Goerzen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: krad , =?UTF-8?B?VHJvbmQgRW5kcmVzdMO4bA==?= Subject: Re: 10.1 ZFS - why canmount=off for /usr and /var by default? References: <54E01849.3020500@complete.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Mon, 23 Feb 2015 15:49:42 -0000 Yep. Even if the dataset exists, all the benefits of it could still be obtained without setting mointpoint=. I find mountpoint= to be misleading for a dataset where canmount is off. John On 02/23/2015 08:36 AM, krad wrote: > It makes a degree of sense, however what are the properties most > people set to inherit? Compression, atime, for me and I do that at the > root dataset anyway, and sometimes dedup if its an ssd based pool. > > I still dont see why we set the mountpoint as this just confuses imho > > On 19 February 2015 at 15:49, Trond Endrestøl > > wrote: > > On Thu, 19 Feb 2015 12:06-0000, krad wrote: > > > It is a bit confusing, I have to ask why call it zroot/usr at > all? I use > > /os/ for stuff like ports etc and then set the mountpoint. > If we must > > use usr in the name why not set the mountpoint to legacy as > well, as its > > more clearly not used? > > Sorry for jumping in, but it's done simply to inherit the mountpoint. > > It has already been said, but here's a recap. > > Most of what you'll find in /usr belongs to the current BE. Datasets > create below zroot/usr, e.g. zroot/usr/local, magically appears as > /usr/foo, e.g. /usr/local. The same goes for zroot/var and /var. > > If you want to install FreeBSD with ZFS using some other train of > thought, then feel free to do so. > > I have my own set of scripts at > http://ximalas.info/~trond/create-zfs/canmount/ > , and they > certainly > have their flaws, and maybe I even change these scripts in the future > as I move along and change my perspective on FreeBSD and ZFS. > > > On 15 February 2015 at 13:52, John Goerzen > > wrote: > > > > > Ben Woods gmail.com > writes: > > > > > > > > > > > To quote Allan Jude when I posed this question to him: > > > > > > > > "The /usr dataset has 'canmount' set to off. It only exists > so that other > > > > datasets can be created under it. > > > > > > That makes sense. But it is misleading to have the mountpoint > set to /usr > > > and /var, isn't it? In a zfs list, it looks as if it's being > used for /usr > > > and /var, when really as you say it's a container. > > > > > > I wonder - would there be a place I could submit a bug report > to suggest > > > that the mountpoint property be inherited at the default > rather than set > > > for > > > these two filesystems? > > > > > > > To use boot environments, you need to install the tool from > the ports > > > tree: > > > > sysutils/beadm-devel > > > > > > Interesting. That looks quite nice. I need to read up a bit > more on it, > > > clearly, since it seems to be more than just a zfs clone and > zpool set > > > bootfs that I was expecting. > > > > > > Thanks, > > > > > > John > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrestøl, | Trond Endrestøl, | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567 > , | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00 > . | > +-------------------------------+------------------------------------+ > > From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 18:32:00 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 665AA7E9 for ; Mon, 23 Feb 2015 18:32:00 +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 21E25B56 for ; Mon, 23 Feb 2015 18:31:59 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YPxnO-0001HP-7W for freebsd-questions@freebsd.org; Mon, 23 Feb 2015 19:31:55 +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 Feb 2015 19:31:54 +0100 Received: from gyliamos by 65.75.36.70 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Feb 2015 19:31:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Will Parsons Subject: Re: Question regarding local scripts Date: Mon, 23 Feb 2015 18:31:40 +0000 (UTC) Lines: 21 Message-ID: References: <1556736143.91711691.1424680724984.JavaMail.zimbra@logitravel.com> <1587845035.91715373.1424680950928.JavaMail.zimbra@logitravel.com> 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 Feb 2015 18:32:00 -0000 Raimund Sacherer wrote: > Hello, > > I am rather new to FreeBSD, putting a couple of new servers in production. I read a lot in the manuals, the man hier and googled around, but I can't find best practices for storing local scripts / apps. > > In Debian this part was easy, Debian never touches /usr/local, so I had this complete namespace for internal use. > > How to do this in FreeBSD the sane way? > > I thought of creating /scripts, but this seems odd, I thought of /opt/scripts or /opt/scripts/[s]bin hierarchy, or /opt/local/[s]bin hierarchy, but I am not sure how you are doing this sort of thing. > > I think what I like best would be to recreate a sort of /usr/local hierarchy under /opt/local. I was a bit hesitant at first too, when I moved from Linux to freeBSD, but now I have no qualms at all about installing local software under /usr/local (assuming the software is meant for general use - if just for one user, install under $HOME). There's really no need IMO to keep it separate from software installed by pkg. -- Will From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 18:55: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 EBF10176 for ; Mon, 23 Feb 2015 18:55:34 +0000 (UTC) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 805ECDAC for ; Mon, 23 Feb 2015 18:55:34 +0000 (UTC) Received: by wesx3 with SMTP id x3so20625295wes.7 for ; Mon, 23 Feb 2015 10:55:33 -0800 (PST) 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=sYWhNUQ/szi4dDRjfaSBVympXyniAyIJdwk8VnHgEQM=; b=xQRnuyXcLsxSU6qzgvOR9u7baSV8kXM80gWjipGSZi7KF4q28txba5lp7kiE2lEdZf ksi2MCVAthp6KCLZtvf+UFSkMlMMgbhwfImwKASxrSTLWTDuukNwzIbD/kigUu4Mdw2z NUtAKC2ozG36oKcd/gF+eNmIh+p5vOt7+nxuxtpO7SZaagAxBeqzyPF8LCkHIMLc3yzP a/SvJrum4CCaMcXrhEhKQ0z5QxdLtrZAS7RaJREABR3AbOprrZUNGHHTnquZiGIFrDcy ybCY6NJl3AHVF5EoRLCGOm2ObkYId1MmmAGrBKlB6U6M4rVhEiTo5/si1AKDYSABJZ0C 7YZA== MIME-Version: 1.0 X-Received: by 10.180.36.212 with SMTP id s20mr23461857wij.58.1424717731897; Mon, 23 Feb 2015 10:55:31 -0800 (PST) Received: by 10.180.88.230 with HTTP; Mon, 23 Feb 2015 10:55:31 -0800 (PST) Date: Mon, 23 Feb 2015 22:55:31 +0400 Message-ID: Subject: FreeBSD 8.4 freeze From: =?UTF-8?B?0KDRg9GB0LvQsNC9INCR0YPRgNGF0LDQvdC+0LI=?= To: freebsd-questions 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: Mon, 23 Feb 2015 18:55:35 -0000 For the last time, some of my FreeBSD servers intermittently freeze, meaning that their normal network services stop responding (Servers unreachable over network, including ping). IPMI over the same network continues to work on these frozen boxes. I am successfully rebooting the frozen services via IPMI, and I can see the last console screen via IPMI prior to the freeze. That last console screen does not contain any kind of "panic" output from the kernel. I don't see any suspicious entries in /var/log/messages or console.log after rebooting. The problem is as dedicated servers and on platforms over KVM hosts. First assumption, the problem is in the kernel. But i reproduced the situation as at 8.4 RELEASE (various patchset's), and 8.4 STABLE. Kernel with "DEBUG=-g, KDB, KDB_TRACE". And it is no kernel panic. Thank you for any advance. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 19:07: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 D21C152C for ; Mon, 23 Feb 2015 19:07:49 +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 8F03AEB8 for ; Mon, 23 Feb 2015 19:07:49 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id hn18so20850440igb.2 for ; Mon, 23 Feb 2015 11:07:49 -0800 (PST) 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=ZHF1eTURa/bSelv5dYYXbYI5zYgSQj/MJ991FHGXgs8=; b=YtzMZITjZeu84G/5vRsjTZLQfQt5qqfJrLlBQ33P+rIj51E+xnlM0Jr8iwQTfmUl+0 PgQsy0/O79vZTMOw1kS2osGajeCRiSHIewmuHdWJ3+xOt2E9leCP9xrMTPOofqoojBdh 3KskL9geBjZzo9GeAWzpO+T1NuQpPdk4CWhliPjFvAd4ZFuVHWRptQJm2bfaMT9neZrY EoCwaMdluKUyDDOTKBCiAl95rqFknCNaEMvxkwqvBjo0jG1CEYFh162BaCiMutwjlzF4 IwPx4f8CIinrQpFaeU+WIJnWwQSiESaGQBiH6dW4FAGnA6nsa312FtOl9E7s3NBUIQF/ sRQQ== X-Received: by 10.107.32.14 with SMTP id g14mr16359155iog.3.1424718468934; Mon, 23 Feb 2015 11:07:48 -0800 (PST) Received: from localhost.localdomain ([73.3.70.211]) by mx.google.com with ESMTPSA id d6sm11986882ioe.44.2015.02.23.11.07.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 11:07:47 -0800 (PST) Message-ID: <54EB7A76.1070009@gmail.com> Date: Mon, 23 Feb 2015 12:07:34 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: FreeBSD Users Subject: Re: why would I get a segmentation fault on one system but not the other? References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <54EA04D2.6090208@gmail.com> <20150222210451.GA74450@home.parts-unknown.org> <54EA4625.4070608@gmail.com> <20150223033144.GA99783@home.parts-unknown.org> In-Reply-To: <20150223033144.GA99783@home.parts-unknown.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 19:07:49 -0000 On 02/22/2015 08:31 PM, David Benfell wrote: > On Sun, Feb 22, 2015 at 02:12:05PM -0700, jd1008 wrote: >> The only thing left for me to guess at is >> that you might possibly have hard disk errors >> either at the spots (sectors) where the binary lives >> or at the spots in the swap partition where the data >> and stack pages of the application get paged out to. >> Do you have any errors logged in messages (kernel logs)?? >> > Just found this and checked. No, nothing of the sort is logged. Just > to be sure, I did a copy from the library that seems problematic to > /dev/null and checked /var/log/messages again. Still nothing. > > I don't quite understand how to interpret all of the following, but it > says no errors: > > vegan# smartctl -a /dev/ada0 > smartctl 6.3 2014-07-26 r3976 [FreeBSD 10.1-STABLE amd64] (local > build) > Copyright (C) 2002-14, Bruce Allen, Christian Franke, > www.smartmontools.org > > === START OF INFORMATION SECTION === > Model Family: Toshiba 3.5" HDD DT01ACA... > Device Model: TOSHIBA DT01ACA300 > Serial Number: X4ENH8BGS > LU WWN Device Id: 5 000039 ff4e57fc0 > Firmware Version: MX6OABB0 > User Capacity: 3,000,592,982,016 bytes [3.00 TB] > Sector Sizes: 512 bytes logical, 4096 bytes physical > Rotation Rate: 7200 rpm > Form Factor: 3.5 inches > Device is: In smartctl database [for details use: -P show] > ATA Version is: ATA8-ACS T13/1699-D revision 4 > SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s) > Local Time is: Sun Feb 22 19:29:57 2015 PST > 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: (0x80) Offline data collection > activity > was never started. > 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: (22078) seconds. > Offline data collection > capabilities: (0x5b) SMART execute Offline > immediate. > Auto Offline data collection > on/off support. > Suspend Offline collection > upon new > command. > Offline surface scan > supported. > Self-test supported. > No Conveyance Self-test > supported. > 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. > General Purpose Logging > supported. > Short self-test routine > recommended polling time: ( 1) minutes. > Extended self-test routine > recommended polling time: ( 368) minutes. > SCT capabilities: (0x003d) SCT Status supported. > SCT Error Recovery Control > supported. > SCT Feature Control supported. > SCT Data Table supported. > > 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 100 100 016 Pre-fail > Always - 0 > 2 Throughput_Performance 0x0005 139 139 054 Pre-fail > Offline - 71 > 3 Spin_Up_Time 0x0007 100 100 024 Pre-fail > Always - 389 > 4 Start_Stop_Count 0x0012 100 100 000 Old_age > Always - 8 > 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail > Always - 0 > 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail > Always - 0 > 8 Seek_Time_Performance 0x0005 124 124 020 Pre-fail > Offline - 33 > 9 Power_On_Hours 0x0012 100 100 000 Old_age > Always - 100 > 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail > Always - 0 > 12 Power_Cycle_Count 0x0032 100 100 000 Old_age > Always - 8 > 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age > Always - 9 > 193 Load_Cycle_Count 0x0012 100 100 000 Old_age > Always - 9 > 194 Temperature_Celsius 0x0002 214 214 000 Old_age > Always - 28 (Min/Max 20/31) > 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age > Always - 0 > 197 Current_Pending_Sector 0x0022 100 100 000 Old_age > Always - 0 > 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age > Offline - 0 > 199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age > Always - 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] > > SMART Selective self-test log data structure revision number 1 > SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS > 1 0 0 Not_testing > 2 0 0 Not_testing > 3 0 0 Not_testing > 4 0 0 Not_testing > 5 0 0 Not_testing > Selective self-test flags (0x0): > After scanning selected spans, do NOT read-scan remainder of disk. > If Selective self-test is pending on power-up, resume after 0 minute > delay. > > Thanks! > OK, so how old is the hard drive? I have issues with smartctl labeling drives as being in prefail condition. I have heard from HD experts that smartctl cannot be relied upon in making such a judgement. Regards, JD From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 19:22:43 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 0EB96700 for ; Mon, 23 Feb 2015 19:22:43 +0000 (UTC) Received: from cz-prg-mx-01.inhio.eu (178-238-36-224.static.masterinter.net [178.238.36.224]) by mx1.freebsd.org (Postfix) with ESMTP id C8C8B101 for ; Mon, 23 Feb 2015 19:22:41 +0000 (UTC) Received: from [10.0.1.5] (titanio.inhio.eu [10.0.0.21]) by cz-prg-mx-01.inhio.eu (Postfix) with ESMTPSA id 8C2596176E for ; Mon, 23 Feb 2015 19:13:32 +0000 (UTC) Message-ID: <1424718731.3100.16.camel@inhio.eu> Subject: Vinum ... to oblivion? From: asv To: questions@freebsd.org Date: Mon, 23 Feb 2015 20:12:11 +0100 Content-Type: text/plain; charset="us-ascii" 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: Mon, 23 Feb 2015 19:22:43 -0000 Hi everyone, I sadly realised that the gvinum section in handbook is gone (possibly since quite a while already). Nonetheless the tool is still available on 10.1-RELEASE. But I don't understand why bringing this valuable tool to oblivion as I don't see other alternatives to (for example) achieve the following: MIRRORING + LVM + UFS2 (with MAC labels) - ZFS doesn't support MAC labels - gmirror doesn't provide LVM if I look for lvm in the man the only thing found is: geom_linux_lvm(4) - GEOM based Linux LVM logical volume mapping but I'm not really sure what's that as I cannot find anything related under the handbook index at 19. GEOM: Modular Disk Transformation Framework neither I can find anything on the man pages apart for the aforementioned entry through "man -k lvm" Am I missing something? Any hint would be appreciated, tnx in advance. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 23:10:00 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 BF927D9C; Mon, 23 Feb 2015 23:10:00 +0000 (UTC) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 771A5E91; Mon, 23 Feb 2015 23:10:00 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id va2so39969224obc.6; Mon, 23 Feb 2015 15:09:59 -0800 (PST) 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:content-transfer-encoding; bh=C418XS7f9XMZtG5l2BlGRQPBxcAfn2oBZzX6lltXWEI=; b=EM5VERUEd4VigSX8GFMxg9WJexery77NM2asv8UqRFnthhsmV6V6iihSf595t41VaK V1rCQWEb8QQOrX+UZe9x9o7k4X9LvTUacAHfSYgtX8dAxbDj8r2nOEe1wvsN4gFvXtY9 jXVOBP7d8WEBABz1UrSThZOOGijsrgpH+A+fAvM3EWj3QJThyXr3MYO0EIOZxuyT1ZHh t4AKfIXfSJV8+xMdSLWnN5HkG1s/hA/RupTamO18vNc0At0oWokcIs0nLLb99Sti2f8J 1zmphKzI2xNhxE/VdbAEuqym+trgYgi3Dkt0/xdpBx01wYY4LIfAhEzscnHWUB+TrrlP /ZIQ== MIME-Version: 1.0 X-Received: by 10.182.165.202 with SMTP id za10mr9095760obb.8.1424732999673; Mon, 23 Feb 2015 15:09:59 -0800 (PST) Received: by 10.60.140.199 with HTTP; Mon, 23 Feb 2015 15:09:59 -0800 (PST) In-Reply-To: References: <54E2B04C.9080707@av8n.com> <54E436FB.9000709@deadhat.com> <711B69EB-1CBF-4F03-9336-AFEBE0B857A0@callas.org> Date: Mon, 23 Feb 2015 18:09:59 -0500 Message-ID: Subject: Fwd: [Cryptography] trojans in the firmware From: grarpamp To: cypherpunks@cpunks.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-security@freebsd.org, 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 Feb 2015 23:10:00 -0000 > http://www.recover.co.il/SA-cover/SA-cover.pdf Since the firmware rules over everything, all the spare sectors for block reallocation must be considered too, not just the service areas. Then there is the per sector CRC space that could perhaps be reutilized if CRC is implemented as software function. Kernel options to permit only your approved list of opcodes and block all else by default would seem useful to have. > http://www.spiegel.de/media/media-35661.pdf Again, look at the list of Unix operating systems and file systems. These guys are calling Unix out by name, and soon the common script kid will be too. Unix is under attack and this stuff can't be ignored as "too rare and/or hard and/or low market share to be relavent" anymore. ---------- Forwarded message ---------- Date: Mon, Feb 23, 2015 at 12:10 PM Subject: Re: [Cryptography] trojans in the firmware FYI -- CMU has been hacking disk drive firmware since the 1990's for "smart disks" and "performance"; UCSD has been hacking flash drive firmware more recently. I believe that DARPA has also openly solicited for disk drive/flash drive firmware hacking capabilities. Both CMU & UCSD are hotbeds of NSA recruitment activity. We now know that in NSA parlance "smart" anything =3D "spying" anything; e.g., "smart disks" =3D "spying disks"; "smart phones" =3D "spying phones", etc. BTW, hiding stuff in a flash memory stick is even easier than in a hard drive. This is because flash memory is so unreliable, that there is typically a huge percentage of unused space; the cheaper the flash memory, the smaller the fraction of usable reliable memory space. So it wouldn't be at all surprising to find that your 32GB flash drive is really constructed from 64GB chips, and that 50% of the device is unavailable for use. It is highly unlikely that _all_ of this unused space is unreliable, so this leaves plenty of room for NSA lurking. But even if the device were 100% reliable, noticing that only 50% was actually in use would be unremarkable, given the typical degree of unreliability of these types of devices. For these reasons, it is critical for flash memory devices to _open up_ their API's, so that the raw memory (with all of its warts) can be inspected and verified. http://www.wired.com/2015/02/nsa-firmware-hacking/ How the NSA=E2=80=99s Firmware Hacking Works and Why It=E2=80=99s So Unsett= ling By Kim Zetter 02.22.15 8:09 pm One of the most shocking parts of the recently discovered spying network Equation Group is its mysterious module designed to reprogram or reflash a computer hard drive=E2=80=99s firmware with malicious code. T= he Kaspersky researchers who uncovered this said its ability to subvert hard drive firmware=E2=80=94-the guts of any computer=E2=80=94-=E2=80=9Csur= passes anything else=E2=80=9D they had ever seen. The hacking tool, believed to be a product of the NSA, is significant because subverting the firmware gives the attackers God-like control of the system in a way that is stealthy and persistent even through software updates. The module, named =E2=80=9Cnls_933w.dll=E2=80=9D, is the= first of its kind found in the wild and is used with both the EquationDrug and GrayFish spy platforms Kaspersky uncovered. It also has another capability: to create invisible storage space on the hard drive to hide data stolen from the system so the attackers can retrieve it later. This lets spies like the Equation Group bypass disk encryption by secreting documents they want to seize in areas that don=E2=80=99t get encrypted. Kaspersky has so far uncovered 500 victims of the Equation Group, but only five of these had the firmware-flashing module on their systems. The flasher module is likely reserved for significant systems that present special surveillance challenges. Costin Raiu, director of Kaspersky=E2=80=99s Global Research and Analysis Team, believes these are high-value computers that are not connected to the internet and are protected with disk encryption. Here=E2=80=99s what we know about the firmware-flashing module. How It Works Hard drive disks have a controller, essentially a mini-computer, that includes a memory chip or flash ROM where the firmware code for operating the hard drive resides. When a machine is infected with EquationDrug or GrayFish, the firmware flasher module gets deposited onto the system and reaches out to a command server to obtain payload code that it then flashes to the firmware, replacing the existing firmware with a malicious one. The researchers uncovered two versions of the flasher module: one that appears to have been compiled in 2010 and is used with EquatinoDrug and one with a 2013 compilation date that is used with GrayFish. The Trojanized firmware lets attackers stay on the system even through software updates. If a victim, thinking his or her computer is infected, wipes the computer=E2=80=99s operating system and reinstalls it t= o eliminate any malicious code, the malicious firmware code remains untouched. It can then reach out to the command server to restore all of the other malicious components that got wiped from the system. Even if the firmware itself is updated with a new vendor release, the malicious firmware code may still persist because some firmware updates replace only parts of the firmware, meaning the malicious portions may not get overwritten with the update. The only solution for victims is to trash their hard drive and start over with a new one. The attack works because firmware was never designed with security in mind. Hard disk makers don=E2=80=99t cryptographically sign the firmware t= hey install on drives the way software vendors do. Nor do hard drive disk designs have authentication built in to check for signed firmware. This makes it possible for someone to change the firmware. And firmware is the perfect place to conceal malware because antivirus scanners don=E2=80=99t examine it. There=E2=80=99s also no easy way for us= ers to read the firmware and manually check if it=E2=80=99s been altered. The firmware flasher module can reprogram the firmware of more than a dozen different hard drive brands, including IBM, Seagate, Western Digital, and Toshiba. =E2=80=9CYou know how much effort it takes to land just one firmware for a hard drive? You need to know specifications, the CPU, the architecture of the firmware, how it works,=E2=80=9D Raiu says. The Kasper= sky researchers have called it =E2=80=9Can astonishing technical accomplishment and is testament to the group=E2=80=99s abilities.=E2=80=9D Once the firmware is replaced with the Trojanized version, the flasher module creates an API that can communicate with other malicious modules on the system and also access hidden sectors of the disk where the attackers want to conceal data they intend to steal. They hide this data in the so-called service area of the hard drive disk where the hard disk stores data needed for its internal operation. Hidden Storage Is the Holy Grail The revelation that the firmware hack helps store data the attackers want to steal didn=E2=80=99t get much play when the story broke last week, = but it=E2=80=99s the most significant part of the hack. It also raises a numbe= r of questions about how exactly the attackers are pulling this off. Without an actual copy of the firmware payload that gets flashed to infected systems, there=E2=80=99s still a lot that=E2=80=99s unknown about = the attack, but some of it can be surmised. The ROM chip that contains the firmware includes a small amount of storage that goes unused. If the ROM chip is 2 megabytes, the firmware might take up just 1.5 megabytes, leaving half a megabyte of unused space that can be employed for hiding data the attackers want to steal. This is particularly useful if the computer has disk encryption enabled. Because the EquationDrug and GrayFish malware run in Windows, they can grab a copy of documents while they=E2=80=99re unencrypte= d and save them to this hidden area on the machine that doesn=E2=80=99t get encrypted. There isn=E2=80=99t much space on the chip for a lot of data or documents, however, so the attackers can also just store something equally as valuable to bypass encryption. =E2=80=9CTaking into account the fact that their GrayFish implant is active from the very boot of the system, they have the ability to capture the encryption password and save it into this hidden area,=E2=80=9D Raiu says. Authorities could later grab the computer, perhaps through border interdiction or something the NSA calls =E2=80=9Ccustoms opportunities,=E2= =80=9D and extract the password from this hidden area to unlock the encrypted disk. http://cryptome.org/2014/05/nsa-customs.htm Raiu thinks the intended targets of such a scheme are limited to machines that are not connected to the internet and have encrypted hard drives. One of the five machines they found hit with the firmware flasher module had no internet connection and was used for special secure communications. =E2=80=9C[The owners] only use it in some very specific cases where there i= s no other way around it,=E2=80=9D Raiu says. =E2=80=9CThink about Bin Laden= who lived in the desert in an isolated compound=E2=80=94-doesn=E2=80=99t have interne= t and no electronic footprint. So if you want information from his computer how do you get it? You get documents into the hidden area and you wait, and then after one or two years you come back and steal it. The benefits [of using this] are very specific.=E2=80=9D Raiu thinks, however, that the attackers have a grander scheme in mind. =E2=80=9CIn the future probably they want to take it to the next lev= el where they just copy all the documents [into the hidden area] instead of the password. [Then] at some point, when they have an opportunity to have physical access to the system, they can then access that hidden area and get the unencrypted docs.=E2=80=9D They wouldn=E2=80=99t need the password if they could copy an entire direct= ory from the operating system to the hidden sector for accessing later. But the flash chip where the firmware resides is too small for large amounts of data. So the attackers would need a bigger hidden space for storage. Luckily for them, it exists. There are large sectors in the service area of the hard drive disk that are also unused and could be commandeered to store a large cache of documents, even ones that might have been deleted from other parts of the computer. This service area, also called the reserved are or system area, stores the firmware and other data needed to operate drives, but it also contains large portions of unused space. An interesting paper (.pdf) published in February 2013 by Ariel Berkman, a data recovery specialist at the Israeli firm Recover, noted =E2=80=9Cnot only that these areas can=E2=80=99t be sanitized (via standard= tools), they cannot be accessed via anti-virus software [or] computer forensics tools.=E2=80=9D http://www.recover.co.il/SA-cover/SA-cover.pdf Berkman points out that one particular model of Western Digital drives has 141 MB reserved for the service area, but only uses 12 MB of this, leaving the rest free for stealth storage. To write or copy data to service area requires special commands that are specific to each vendor and are not publicly documented, so an attacker would need to uncover what these are. But once they do, =E2=80=9C[b]y sending Vendor Specific Commands (VSCs) directly to the hard-drive, one can manipulate these [service] areas to read and write data that are otherwise inaccessible,=E2=80=9D Berkman writes. It is also possible, though not trivial, to write a program to automatically copy documents to this area. Berkman himself wrote a proof-of-concept program to read and write a file of up to 94 MB to the service area, but the program was a bit unstable and he noted that it could cause some data loss or cause the hard drive to fail. One problem with hiding large amounts of data like this, however, is that its presence might be detected by examining the size of the used space in the service area. If there should be 129 MB of unused space in this sector but there=E2=80=99s only 80 MB, it=E2=80=99s a dead giveaway= that something is there that shouldn=E2=80=99t be. But a leaked NSA document th= at was written in 2006 but was published by Der Spiegel last month suggests the spy agency might have resolved this particular problem. NSA Interns to the Rescue The document (.pdf) is essentially a wish list of future spy capabilities the NSA hoped to develop for its so-called Persistence Division, a division that has an attack team within it that focuses on establishing and maintaining persistence on compromised machines by subverting their firmware, BIOS, BUS or drivers. The document lists a number of projects the NSA put together for interns to tackle on behalf of this attack team. Among them is the =E2=80=9CCovert Storage=E2= =80=9D project for developing a hard drive firmware implant that can prevent covert storage on disks from being detected. To do this, the implant prevents the system from disclosing the true amount of free space available on the disk. http://www.spiegel.de/media/media-35661.pdf =E2=80=9CThe idea would be to modify the firmware of a particular hard driv= e so that it normally only recognizes, say, half of its available space,=E2=80=9D the document reads. =E2=80=9CIt would report this size bac= k to the operating system and not provide any way to access the additional space.=E2=80=9D Only one partition of the drive would be visible on the partition table, leaving the other partitions=E2=80=94-where the hidden dat= a was stored=E2=80=94-invisible and inaccessible. The modified firmware would have a special hook embedded in it that would unlock this hidden storage space only after a custom command was sent to the drive and the computer was rebooted. The hidden partition would then be available on the partition table and accessible until the secret storage was locked again with another custom command. How exactly the spy agency planned to retrieve the hidden data was unclear from the eight-year-old document. Also unclear is whether the interns ever produced a firmware implant that accomplished what the NSA sought. But given that the document includes a note that interns would be expected to produce a solution for their project within six months after assignment, and considering the proven ingenuity of the NSA in other matters, they no doubt figured it out. _______________________________________________ From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 07:29:02 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 9D645C7E for ; Tue, 24 Feb 2015 07:29:02 +0000 (UTC) Received: from n7.mxout.mta1.net (n7.mxout.mta1.net [178.33.9.166]) by mx1.freebsd.org (Postfix) with SMTP id 3B0E8A1A for ; Tue, 24 Feb 2015 07:29:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=elasticemail.com; h=MIME-Version:Subject:Date:From:Reply-To:To:Message-ID:List-Unsubscribe:Content-Type; q=dns/txt; s=api; t=1424740714; bh=MXvFNK8TVi1RfH9lnDZoltWPK7U=; b= gqKdE8zcnzanwC6aV/+1VWDzbE4YKHXtMlZXYkn9F6hj/MLlRxm46y06DcNNAjcM5lAvywLxW6M/K2waIwwSrpqe5OJ7wKlX2If/sLSIWVfXE49oNqJlM6/+wrRQulcErR/2ZQm8Xs4PkymX9amjPnAss6em03MRHKmUyAe5zgk= From: Karl-Philipp Richter To: freebsd-questions@freebsd.org Date: Tue, 24 Feb 2015 01:18:35 +0000 Subject: How to obtain qemu-bridge-helper? Message-Id: <4tuelbjnwk1e.ma9n39-4bwqrkjq5uru5j@api.elasticemail.com> Reply-To: Karl-Philipp Richter Sender: Elastic Email X-Mailer: api.elasticemail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-lib1Mt1tZcdchFt7rCGjhw==" 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 Feb 2015 07:29:02 -0000 --=-lib1Mt1tZcdchFt7rCGjhw== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I'm having trouble setting up a bridge with `qemu` which uses the `qemu-bridge-helper` script to do that. The binary/script isn't installed by any of the `emulator/qemu*` ports and with the `qemu*` `pkg` packages neither (checked with `find`) and building from source doesn't work. Best regards, Kalle = --=-lib1Mt1tZcdchFt7rCGjhw== Content-Type: application/pgp-signature Content-Disposition: attachment; filename=signature.asc Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxDQoNCmlR RWNCQUVCQWdBR0JRSlU2OUZhQUFvSkVHYWRLSjhlSjdaR2VyUUgvMThlamxOcUVDdzc0OFFN QXRXVTg1VHMNCmEzc2xyQ2xUSG1veEh3Y0NJM2ZUd0hIS2NCNjM0OEFnekhJc3FHeWZzUUVE emE0aGZCRDZhR2R3N09INWRwc0sNCkRmdWpjQU1lN1N1RUljTEpOL1FqRDE5YnI2WUdlMjNo L3I1N21XTkR1djFMWWVjN2lHU01pUUYxTEhvWVdDcFoNCktVdFIzbnVxVjhJS3lNUEtUbEo4 QVN3a2dlbkJZd1p2d2NpaGRTSDJ1b1lWUjFDMEFlcTc4V3M1RURGRy9pQ04NCm92cy90V0Jj c00yV3JKVEFTU0Q4YjZ4dGNhbjB4SllGT0F2TnpVYWVLZGliRDNRdEtWZDc4Zzc3S1RCcVRz eEcNCklkUWZ1d1pQNi82cXpNODJ2b1pNcEYwVFZFNDJ3cS8ySVNCZDRBM3JJV3F1N1I0anFL UjBnR0VWL1JXOU5nZz0NCj1ISG8wDQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg== --=-lib1Mt1tZcdchFt7rCGjhw==-- From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 12:09: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 6041DF1B for ; Tue, 24 Feb 2015 12:09:30 +0000 (UTC) Received: from d2ux.org (static.140.151.9.5.clients.your-server.de [5.9.151.140]) by mx1.freebsd.org (Postfix) with ESMTP id 20446DD3 for ; Tue, 24 Feb 2015 12:09:29 +0000 (UTC) Received: from d2ux.org (unknown [10.0.0.4]) by d2ux.org (Postfix) with ESMTP id 225321FE14A; Tue, 24 Feb 2015 13:09:22 +0100 (CET) Received: from d2ux.org ([10.0.0.4]) by d2ux.org (d2ux.org [10.0.0.4]) (amavisd-new, port 10024) with ESMTP id bwe4n5ZAJgiB; Tue, 24 Feb 2015 13:09:21 +0100 (CET) Received: from mail.d2ux.org (unknown [10.0.0.7]) by d2ux.org (Postfix) with ESMTP id C8E131FD809; Tue, 24 Feb 2015 13:09:21 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 24 Feb 2015 13:09:21 +0100 From: Matthias Petermann To: asv Subject: Re: Vinum ... to =?UTF-8?Q?oblivion=3F?= In-Reply-To: <1424718731.3100.16.camel@inhio.eu> References: <1424718731.3100.16.camel@inhio.eu> Message-ID: <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> X-Sender: matthias@d2ux.org User-Agent: Roundcube Webmail/1.0.5 Cc: 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 Feb 2015 12:09:30 -0000 Am 2015-02-23 20:12, schrieb asv: > Hi everyone, > I sadly realised that the gvinum section in handbook is gone (possibly > since quite a while already). Nonetheless the tool is still available > on > 10.1-RELEASE. > But I don't understand why bringing this valuable tool to oblivion as I > don't see other alternatives to (for example) achieve the following: > MIRRORING + LVM + UFS2 (with MAC labels) A bit surprising to me, too. Haven't seen any note on gvinum deprecation. I'd also be interested in lightweight alternatives. I currently use gvinum for on the fly creation of volumes with UFS2 on a Raspberry Pi with just 512MB of RAM. Best regards, Matthias From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 13:51:39 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 7DB4D305 for ; Tue, 24 Feb 2015 13:51:39 +0000 (UTC) Received: from cz-prg-mx-01.inhio.eu (178-238-36-224.static.masterinter.net [178.238.36.224]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD1DC57 for ; Tue, 24 Feb 2015 13:51:37 +0000 (UTC) Received: from [10.0.1.5] (titanio.inhio.eu [10.0.0.21]) by cz-prg-mx-01.inhio.eu (Postfix) with ESMTPSA id DBE2561C20; Tue, 24 Feb 2015 13:51:34 +0000 (UTC) Message-ID: <1424785894.5033.4.camel@inhio.eu> Subject: Re: Vinum ... to oblivion? From: asv To: Matthias Petermann Date: Tue, 24 Feb 2015 14:51:34 +0100 In-Reply-To: <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> References: <1424718731.3100.16.camel@inhio.eu> <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: 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 Feb 2015 13:51:39 -0000 Yes, I'd actually expect a documentation improvement considering how messy it is the first approach to gvinum based on the current documentation still available on the net (no longer on FBSD handbooks), NOT the only official docs to be gone for good! I'm spending a very long time building/destroing things to understand how to operate with it. Coming from Linux LVM, Veritas FS and ZFS .... I though I wouldn't have such a problems in getting acquainted with it. Sadly, I was wrong. On Tue, 2015-02-24 at 13:09 +0100, Matthias Petermann wrote: > Am 2015-02-23 20:12, schrieb asv: > > Hi everyone, > > I sadly realised that the gvinum section in handbook is gone (possibly > > since quite a while already). Nonetheless the tool is still available > > on > > 10.1-RELEASE. > > But I don't understand why bringing this valuable tool to oblivion as I > > don't see other alternatives to (for example) achieve the following: > > MIRRORING + LVM + UFS2 (with MAC labels) > > A bit surprising to me, too. Haven't seen any note on gvinum > deprecation. I'd also be interested in lightweight alternatives. I > currently use gvinum for on the fly creation of volumes with UFS2 on a > Raspberry Pi with just 512MB of RAM. > > Best regards, > Matthias > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 13:54: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 A6D8C4B4; Tue, 24 Feb 2015 13:54:42 +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 68616C8E; Tue, 24 Feb 2015 13:54:42 +0000 (UTC) Received: by mail-ig0-f176.google.com with SMTP id hl2so26659956igb.3; Tue, 24 Feb 2015 05:54:41 -0800 (PST) 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=dim6QY6A+sjuWQIiSmoHVRUpLglMk/F4IiDpdusPq0E=; b=UwwagmN1KP1xyQNauaIwUt16zkM5yTIzj6cM74DwczFuezdoOgPTWXYKjkPBiaDSoT w2R9ckP3JZyUDQtbTNEgPX2oKGh5ZmyAQQHnsyKnHW0GKIBFNgM2D2qC3pJFpVNhdTEs Jq55Ec/NFma0mvE7Qj2mH88Typ0HQhXIQkWTUdsB/jCLHHyjL9LCp40rynVWKN+BEkhq pgI5ur68oQzoM04ifg2sjYtWEw/5qLcSRgJ1k5muPCJRwpwTooQ1gmjQ09f+Y5AUZUJg Djs7ke6JnEimjJEdoHDtdfBKOxqrfpoCBDk3HDmVDAVbJSCxJzvdt1LDN8JGZjYz2T13 JkYw== MIME-Version: 1.0 X-Received: by 10.42.113.2 with SMTP id a2mr17565971icq.30.1424786081723; Tue, 24 Feb 2015 05:54:41 -0800 (PST) Received: by 10.64.18.161 with HTTP; Tue, 24 Feb 2015 05:54:41 -0800 (PST) In-Reply-To: References: Date: Tue, 24 Feb 2015 14:54:41 +0100 Message-ID: Subject: Re: HTTPS/TLS issue on a NDIS wrapped NIC From: Simone Lombardo To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Adrian Chadd 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 Feb 2015 13:54:42 -0000 Hi, still regarding the issue, I have made some more tests on the weekend. A---------------->B browser webserver Monitoring the packets on the NIC endpoints via Wireshark and doing HTTP and HTTPS/TLS calls to a demo webserver, I have found the origin of both the problems is due to the A nic not trasmitting packets while not reporting them as dropped. The TCP rentrasmission is due to B not receiving the packet and triggering the A fast rexmit routine due to missing ACK of the lost packet. The packet rexmit always fail and so after the retry count limit is hit, the connection is reset. I have made some more tuning and the issue seems related to TCP send buffer. With the default FreeBSD 10.1 value for net.inet.tcp.sendspace (32768) e net.inet.tcp.sendbuf_max (2097152), I can't transmit more than 15Kb of a binary via POST without provoking the issue. Changing them both to a certain values makes the behaviour better. For example, I have tried to set both oid it to 512,1024 and 5000 and now I could upload up to 1.5 Mb data without issue. But changing it to other values, for example 513, 1025 and 5001 makes the behaviour triggering. Since lowering the buffer makes the perfomance worse, I have thought about upload rate being much faster than the NIC could currently support so I have set up a IPFW filter and pipeing the data to a really limited outgoing bandwitch (for example 6kb/s) but it made no effect. I have the sensation it is due some buffer alignment from the TCP buffer size and the internal NIC buffer, but I have not yet investigate so far (that it would probably requires if_ndis module tweaking). The receiving buffer settings have no problems and changing MTU/MSS makes no effect in the test case. If someone has a sudden inspiration and advices, in the meantime I am collecting some more evidences :) Thanks, Simone 2015-02-08 15:59 GMT+01:00 Simone Lombardo : > Hi Adrian, > > thanks for the reply. I have not seen other side effect other than cited > ones. it works fine also with various P2P and FTP protocols for instance. > > I have probed the interface with netstat -id but the dropped and error > packet counters sign 0, so it doesn't seem explicity droppped by the > if_ndis module. > I guess further investigations requires a demo web server to check if it > is the remote peer to discard packets or the nic is falsely reporting their > transmission. > > Is there any sysctl or debug feature you know to check if it discarded by > the local upper layers? > > Thanks, > Simone > > 2015-02-07 17:30 GMT+01:00 Adrian Chadd : > >> .. or if that isn't breaking things, maybe there's some packet >> corruption going on that triggers encryption failures? Normally a >> corrupted packet would just be dropped by some part of the stack. >> >> >> -adrian >> > > From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 13:59:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C5FDB37 for ; Tue, 24 Feb 2015 13:59:53 +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 F0024D00 for ; Tue, 24 Feb 2015 13:59:52 +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 7096B3CF3B for ; Tue, 24 Feb 2015 14:59: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 t1ODxhvE002379 for ; Tue, 24 Feb 2015 14:59:43 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 24 Feb 2015 14:59:43 +0100 From: Polytropon To: FreeBSD Questions Subject: Using dotmatrix printer with (or without) CUPS for graphics printing Message-Id: <20150224145943.6216e9d3.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 13:59:53 -0000 I have a dotmatrix printer Epson LQ 570+ attached to a parallel port and can print text (using the "recode" utility even with special german characters). The printer is being used outside of CUPS which I am "forced" to use even though _I_ don't need it (but some programs insist on it in order to print). % dmesg | grep lpt lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven por Is there a way I can add this printer to CUPS (of course none of the auto-detect capabilities work here) so I can print graphics with it? Out of programs (Gimp, OpenOffice)? I know this could be done with apsfilter (chained to system's lpd) in the past, but how to do that with CUPS? Is it even possible? It's also an acceptable solution to do this without CUPS, for example by somehow "preprocessing" the PS output of the application and then writing that to the printer, as I'm doing with the crappy Samsung CLX-2160 laser printer I have (speaks "Splix"): % foo2qpdl-wrapper -p 2 -r 1200x600 -z 0 file.ps > /dev/ulpt0 So using CUPS is not mandatory as I can "print to file" in programs like Gimp or OpenOffice, and then use that file. Any ideas? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 14:14:59 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 9E1D3124 for ; Tue, 24 Feb 2015 14:14:59 +0000 (UTC) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c: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 2EBB5F05 for ; Tue, 24 Feb 2015 14:14:59 +0000 (UTC) Received: by wesw62 with SMTP id w62so25376553wes.9 for ; Tue, 24 Feb 2015 06:14:57 -0800 (PST) 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=qt4pLr+TRCyEx8jxQL/x96+mF6oCcXWXCnA3HZY6LSQ=; b=YSuN+6XcWPHfpxZQYupfSETIf47zoUMXwmkWK+ibUebXQqIH2UI8vWpTHBclakDobh zYDQnTNBy0D6REH8qMuJEmD6SUY+2VBz8S3cvUBzHdf5xmC1ExLpXoUj6L6NzyjjdcCi gU5Q4f03vjdbbdxJaMFHbo6oniiqhRLHNpWDwABSK9WWbonM0XkoGY0WJ3Xglj4ahT+b X24d6hV+7BNldWYMvGLW8m/5knIotYfjdPbjmW/wVU0yzjO1J/A+ARatonELRjL7aqoL tzNMIkgwUFAV+jGjWQS4Xmpq0C5wx20RsTisnXhOBFGEInkleZJrMRos6nYdPZCp64oa ZQIg== MIME-Version: 1.0 X-Received: by 10.194.84.176 with SMTP id a16mr32227836wjz.113.1424787297451; Tue, 24 Feb 2015 06:14:57 -0800 (PST) Received: by 10.194.241.132 with HTTP; Tue, 24 Feb 2015 06:14:57 -0800 (PST) In-Reply-To: <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> References: <1424718731.3100.16.camel@inhio.eu> <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> Date: Tue, 24 Feb 2015 22:14:57 +0800 Message-ID: Subject: Re: Vinum ... to oblivion? From: Ben Woods To: Matthias Petermann Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org" , asv 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 Feb 2015 14:14:59 -0000 The FreeBSD 10.1 release notes actually note some minor changes to gvinum... so it definitely doesn't appear to be deprecated. -- From: Benjamin Woods woodsb02@gmail.com On 24 February 2015 at 20:09, Matthias Petermann wrote: > Am 2015-02-23 20:12, schrieb asv: > >> Hi everyone, >> I sadly realised that the gvinum section in handbook is gone (possibly >> since quite a while already). Nonetheless the tool is still available on >> 10.1-RELEASE. >> But I don't understand why bringing this valuable tool to oblivion as I >> don't see other alternatives to (for example) achieve the following: >> MIRRORING + LVM + UFS2 (with MAC labels) >> > > A bit surprising to me, too. Haven't seen any note on gvinum deprecation. > I'd also be interested in lightweight alternatives. I currently use gvinum > for on the fly creation of volumes with UFS2 on a Raspberry Pi with just > 512MB of RAM. > > Best regards, > Matthias > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 14:31: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 04CD540D for ; Tue, 24 Feb 2015 14:31:33 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::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 781D5146 for ; Tue, 24 Feb 2015 14:31:32 +0000 (UTC) Received: by labhv19 with SMTP id hv19so3376828lab.10 for ; Tue, 24 Feb 2015 06:31:30 -0800 (PST) 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=LteKP8eZ34dRTJwL5eBRqgC+Zn/wqOxeoRS+GbuSijk=; b=NNOGCnqZOG4rsBhp41E+qmlruHqMHAjusqtcnxiDv0aQpTmJSilcxM6LpGYbKc3FYP aLumUREQrlV/fliX1RRn9L0iP5U88BRapWuTLD9Mtly31TaZ/LmVx6Sw2tfwkEsSLX23 NJNIVPv6Yg+DxQz+YshZl4zhA6lkUCGZ3x64P0zViG6qO3dJ0hb06bEoNvx5RHFTtUra vHszSwO2qGnBoWJs+o5rSvK9xFF36VTlRX6sgsuk6gyoRwxRe5EyL+UxHiiUSs9nbhWK hTuQznXghVLIdypzp4lO7UhPBl18Cz6o1di5Ddy38jN4olZ1C3bLqWfMXqkHfEHkxJWa G12w== MIME-Version: 1.0 X-Received: by 10.152.115.136 with SMTP id jo8mr11006444lab.32.1424788290422; Tue, 24 Feb 2015 06:31:30 -0800 (PST) Received: by 10.25.34.68 with HTTP; Tue, 24 Feb 2015 06:31:30 -0800 (PST) In-Reply-To: <20150224145943.6216e9d3.freebsd@edvax.de> References: <20150224145943.6216e9d3.freebsd@edvax.de> Date: Tue, 24 Feb 2015 08:31:30 -0600 Message-ID: Subject: Re: Using dotmatrix printer with (or without) CUPS for graphics printing From: Andrew Gould To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Tue, 24 Feb 2015 14:31:33 -0000 On Tue, Feb 24, 2015 at 7:59 AM, Polytropon wrote: > I have a dotmatrix printer Epson LQ 570+ attached to a parallel port > and can print text (using the "recode" utility even with special > german characters). The printer is being used outside of CUPS > which I am "forced" to use even though _I_ don't need it (but some > programs insist on it in order to print). > > % dmesg | grep lpt > lpt0: on ppbus0 > lpt0: [ITHREAD] > lpt0: Interrupt-driven por > > Is there a way I can add this printer to CUPS (of course none of > the auto-detect capabilities work here) so I can print graphics > with it? Out of programs (Gimp, OpenOffice)? I know this could > be done with apsfilter (chained to system's lpd) in the past, > but how to do that with CUPS? Is it even possible? > > It's also an acceptable solution to do this without CUPS, for > example by somehow "preprocessing" the PS output of the application > and then writing that to the printer, as I'm doing with the > crappy Samsung CLX-2160 laser printer I have (speaks "Splix"): > > % foo2qpdl-wrapper -p 2 -r 1200x600 -z 0 file.ps > /dev/ulpt0 > > So using CUPS is not mandatory as I can "print to file" in > programs like Gimp or OpenOffice, and then use that file. > > Any ideas? > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Are PPD files cross-platform? If so, you could try adding the PPD file manually during printer configuration. The related openprinting page for your printer is here: http://www.openprinting.org/printer/Epson/Epson-LQ-570plus Andrew From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 14:43:38 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 D5BDD840 for ; Tue, 24 Feb 2015 14:43:38 +0000 (UTC) Received: from kukulies.org (mail.kukulies.org [78.47.239.221]) by mx1.freebsd.org (Postfix) with ESMTP id 93A61283 for ; Tue, 24 Feb 2015 14:43:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by kukulies.org (Postfix) with ESMTP id 27B2B4DA403 for ; Tue, 24 Feb 2015 15:35:22 +0100 (CET) Received: from kukulies.org ([127.0.0.1]) by localhost (exapt.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4NIhdQDv_hPw for ; Tue, 24 Feb 2015 15:35:21 +0100 (CET) Received: from [172.27.4.215] (unknown [87.79.34.228]) by kukulies.org (Postfix) with ESMTPSA id C0A054DA402 for ; Tue, 24 Feb 2015 15:35:21 +0100 (CET) Message-ID: <54EC8C1F.4010805@kukulies.org> Date: Tue, 24 Feb 2015 15:35:11 +0100 From: "Christoph P.U. Kukulies" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: locate.updatedb SEARCHPATHS 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 Feb 2015 14:43:38 -0000 Where are searchpaths where /etc/periodic/weekly/310.locate normally wired? I have some filesystems mounted which I want to include into the search. Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 14:53: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 873709CE for ; Tue, 24 Feb 2015 14:53:04 +0000 (UTC) Received: from mail.xtaz.uk (tao.xtaz.uk [IPv6:2001:8b0:202::10]) (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 4B204399 for ; Tue, 24 Feb 2015 14:53:03 +0000 (UTC) Received: by mail.xtaz.uk (Postfix, from userid 1001) id 9F9E7209B057; Tue, 24 Feb 2015 14:52:59 +0000 (GMT) Date: Tue, 24 Feb 2015 14:52:59 +0000 From: Matt Smith To: "Christoph P.U. Kukulies" Subject: Re: locate.updatedb SEARCHPATHS Message-ID: <20150224145259.GA1262@xtaz.uk> Mail-Followup-To: Matt Smith , "Christoph P.U. Kukulies" , "freebsd-questions@freebsd.org" References: <54EC8C1F.4010805@kukulies.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <54EC8C1F.4010805@kukulies.org> 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 Feb 2015 14:53:04 -0000 On Feb 24 15:35, Christoph P.U. Kukulies wrote: >Where are searchpaths where /etc/periodic/weekly/310.locate normally >wired? I have some filesystems mounted which I want to include into >the search. > Take a look at /etc/locate.rc. Specifically the SEARCHPATHS variable. It's normally just set to / though. -- Matt From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 15:05: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 A8D15F01 for ; Tue, 24 Feb 2015 15:05:14 +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 65B466CF for ; Tue, 24 Feb 2015 15:05:13 +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 8D2183CE69; Tue, 24 Feb 2015 16:05:11 +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 t1OF5A3h002879; Tue, 24 Feb 2015 16:05:10 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 24 Feb 2015 16:05:10 +0100 From: Polytropon To: Andrew Gould Subject: Re: Using dotmatrix printer with (or without) CUPS for graphics printing Message-Id: <20150224160510.62fabf51.freebsd@edvax.de> In-Reply-To: References: <20150224145943.6216e9d3.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 24 Feb 2015 15:05:14 -0000 On Tue, 24 Feb 2015 08:31:30 -0600, Andrew Gould wrote: > Are PPD files cross-platform? If so, you could try adding the PPD file > manually during printer configuration. The related openprinting page for > your printer is here: > > http://www.openprinting.org/printer/Epson/Epson-LQ-570plus Many thanks! This actually is the _first_ time something related to CUPS works on the first try as expected! :-) I had to "guess" the device URI. For further reference, the following settings resulted in success: Driver: Epson LQ-570+ Foomatic/epson (recommended) (grayscale, 2-sided printing) Connection: parallel:/dev/lpt0 Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided I haven't tried printing from Gimp, because that forces me to configure a _new_ printer, and the "Epson" category doesn't list old dotmatrix printers anymore. So printing to a file (PS) and then printing them via "lpr -PEpson_LQ_570+ file.ps" works perfectly; printing also works from xpdf or gv, so all I need is there. Again, thanks for your advice! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 15:11:30 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E116626A for ; Tue, 24 Feb 2015 15:11:30 +0000 (UTC) Received: from kukulies.org (mail.kukulies.org [78.47.239.221]) by mx1.freebsd.org (Postfix) with ESMTP id 9EE9E80D for ; Tue, 24 Feb 2015 15:11:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by kukulies.org (Postfix) with ESMTP id 937F24DA403; Tue, 24 Feb 2015 16:11:28 +0100 (CET) Received: from kukulies.org ([127.0.0.1]) by localhost (exapt.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q9aYA-tiUEOj; Tue, 24 Feb 2015 16:11:28 +0100 (CET) Received: from [172.27.4.215] (unknown [87.79.34.228]) by kukulies.org (Postfix) with ESMTPSA id 2E5834DA402; Tue, 24 Feb 2015 16:11:28 +0100 (CET) Message-ID: <54EC9495.3060406@kukulies.org> Date: Tue, 24 Feb 2015 16:11:17 +0100 From: "Christoph P.U. Kukulies" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Matt Smith , "freebsd-questions@freebsd.org" Subject: Re: locate.updatedb SEARCHPATHS References: <54EC8C1F.4010805@kukulies.org> <20150224145259.GA1262@xtaz.uk> In-Reply-To: <20150224145259.GA1262@xtaz.uk> 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 Feb 2015 15:11:31 -0000 Am 24.02.2015 um 15:52 schrieb Matt Smith: > On Feb 24 15:35, Christoph P.U. Kukulies wrote: >> Where are searchpaths where /etc/periodic/weekly/310.locate normally >> wired? I have some filesystems mounted which I want to include into >> the search. >> > > Take a look at /etc/locate.rc. Specifically the SEARCHPATHS variable. > It's normally just set to / though. > Thanks. Got it. Blanks separated, all in one string, in double quotes. Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 15: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 AF04AC0B for ; Tue, 24 Feb 2015 15:31:21 +0000 (UTC) Received: from mail.xtaz.uk (tao.xtaz.uk [IPv6:2001:8b0:202::10]) (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 731399BC for ; Tue, 24 Feb 2015 15:31:21 +0000 (UTC) Received: by mail.xtaz.uk (Postfix, from userid 1001) id 4FE5F209B057; Tue, 24 Feb 2015 15:31:19 +0000 (GMT) Date: Tue, 24 Feb 2015 15:31:19 +0000 From: Matt Smith To: "Christoph P.U. Kukulies" Subject: Re: locate.updatedb SEARCHPATHS Message-ID: <20150224153119.GB1262@xtaz.uk> Mail-Followup-To: Matt Smith , "Christoph P.U. Kukulies" , "freebsd-questions@freebsd.org" References: <54EC8C1F.4010805@kukulies.org> <20150224145259.GA1262@xtaz.uk> <54EC9495.3060406@kukulies.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <54EC9495.3060406@kukulies.org> 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 Feb 2015 15:31:21 -0000 On Feb 24 16:11, Christoph P.U. Kukulies wrote: >Am 24.02.2015 um 15:52 schrieb Matt Smith: >>On Feb 24 15:35, Christoph P.U. Kukulies wrote: >>>Where are searchpaths where /etc/periodic/weekly/310.locate >>>normally wired? I have some filesystems mounted which I want to >>>include into the search. >>> >> >>Take a look at /etc/locate.rc. Specifically the SEARCHPATHS >>variable. It's normally just set to / though. >> >Thanks. Got it. Blanks separated, all in one string, in double quotes. Thinking about it based on what you said about mounted filesystems you might also need to change the FILESYSTEMS variable at the bottom of that file. I guess it might not be being searched because it's not one of those listed filesystems. -- Matt From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 15:34:33 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42ABEF43 for ; Tue, 24 Feb 2015 15:34:33 +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 D49B2A90 for ; Tue, 24 Feb 2015 15:34:32 +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 t1OFYNin008366; Tue, 24 Feb 2015 15:34:24 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <54EC99FF.7020407@qeng-ho.org> Date: Tue, 24 Feb 2015 15:34:23 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Matt Smith , "Christoph P.U. Kukulies" , "freebsd-questions@freebsd.org" Subject: Re: locate.updatedb SEARCHPATHS References: <54EC8C1F.4010805@kukulies.org> <20150224145259.GA1262@xtaz.uk> In-Reply-To: <20150224145259.GA1262@xtaz.uk> 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 Feb 2015 15:34:33 -0000 On 24/02/2015 14:52, Matt Smith wrote: > On Feb 24 15:35, Christoph P.U. Kukulies wrote: >> Where are searchpaths where /etc/periodic/weekly/310.locate normally >> wired? I have some filesystems mounted which I want to include into >> the search. >> > > Take a look at /etc/locate.rc. Specifically the SEARCHPATHS variable. > It's normally just set to / though. > I'd guess it's probably FILESYSTEMS the OP wants rather than SEARCHPATHS, because '/' should cover everything local. The default FILESYSTEMS excludes loopback, network and synthetic file systems. Excluding network file systems means that NFS mounted directories will not be searched (and presumably MS shares will be skipped as well). Setting FILESYSTEMS="ufs zfs nfs" will index NFS mounted files as well as local [uz]fs ones. Adjust depending on what kind of mounts you've got. -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 16:41:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3DBBF8C2 for ; Tue, 24 Feb 2015 16:41:55 +0000 (UTC) Received: from na3sys009aog117.obsmtp.com (na3sys009aog117.obsmtp.com [74.125.149.242]) (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 BEE0E35D for ; Tue, 24 Feb 2015 16:41:54 +0000 (UTC) Received: from mail-oi0-f42.google.com ([209.85.218.42]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKVOypzN48T3psKgj9++xuEz2uV8AIQ1mq@postini.com; Tue, 24 Feb 2015 08:41:54 PST Received: by mail-oi0-f42.google.com with SMTP id h136so20274497oig.1 for ; Tue, 24 Feb 2015 08:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourcefire.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cYJTS7cRBsUMzbMrD1oyD1TcW80FtP2S6xmamTkVt8M=; b=e+4eplx3qqQ2y4Ioy/UPQYeAih4kDQkQs4P5Lp+7FRwvgVvobHqbu1p6+Sd2oS4I74 Y/TuRkN44IQMX5BnGqLLEza5mGwXa7GZpSggPhdksrlskEkBsl8CFKMvhjQnqYku9sAt UGyKPzJPlCsEij1EOO0NjJYEKirqiTSzGlW+c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cYJTS7cRBsUMzbMrD1oyD1TcW80FtP2S6xmamTkVt8M=; b=Ig3Kgi592uhvAQMJwriNX1j9hWBwL7+KJgHH5FkYAhT5psFyz1cG3BOc/cLPThLZBV 1Va5rI1lcJTzLz3Lc6QqVPPEqOsqdQna+Epoliv/ODwao/OizSSXeeQSpw/SGbWm7izh 5Nq24iWQ39agDw4eFsfACWZxfu0i1jV53bFb8uoG3M7EM+N73k7DItLsLrIUgWy5CqpK xR+fhKwZA/ESFB/yyMXHQi/uXimdIrKt/dFdNFqlGYXI0hlFPUin8DRk1V/Ol+pekQVS VdzntFa7VZiJ8NLAFP1VF5Tj77DZ1s4i4g+8JVVuE7jS5+xvOpg/0YeGztuuFx8L5yVz J7QQ== X-Received: by 10.202.215.212 with SMTP id o203mr10497769oig.85.1424786190361; Tue, 24 Feb 2015 05:56:30 -0800 (PST) X-Gm-Message-State: ALoCoQngASa9WPi0Tujhi8STWvLeEZqdTO/wb3hgR5HcYj+kHCA3ozp4T+Y7+LA6yHMSGMVP8F6ppAMBpsExsGA9YKHLsL7nhQqLu32nScOvIk+nYUZm8ItREEZy0l0hhGLXJ9VovAlvqlp7W3rvFJvkTagVnYBzxQ== MIME-Version: 1.0 X-Received: by 10.202.215.212 with SMTP id o203mr10497763oig.85.1424786190258; Tue, 24 Feb 2015 05:56:30 -0800 (PST) Received: by 10.202.108.148 with HTTP; Tue, 24 Feb 2015 05:56:30 -0800 (PST) In-Reply-To: <54E6F04A.5080409@gmail.com> References: <54E6B8B9.1060204@hiwaay.net> <54E6F04A.5080409@gmail.com> Date: Tue, 24 Feb 2015 08:56:30 -0500 Message-ID: Subject: Re: What's the latest release from freebsd-update? From: Dan Langille To: Johan Hendriks 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 Feb 2015 16:41:55 -0000 I think that none of these suggestions, while useful, are easily programmed into a Nagios check (for example). On Fri, Feb 20, 2015 at 3:28 AM, Johan Hendriks wrote: > > Op 20-02-15 om 05:31 schreef William A. Mahaffey III: > > On 02/19/15 08:34, Dan Langille wrote: >> >>> I want to write a check to let us know if a given server is on the >>> latest >>> version. >>> >>> For example, how can I determine that FreeBSD 9.3-RELEASE-p5 is the >>> latest >>> and greatest? >>> >>> I could run freebsd-update and see what comes back, but that's not ideal >>> for a Nagios check. >>> >>> This output seems promising: >>> >>> $ sysctl kern.version >>> kern.version: FreeBSD 9.3-RELEASE-p5 #0: Mon Nov 3 22:38:58 UTC 2014 >>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >>> >>> Let's assume we use that as the check for the host. >>> >>> What do we compare it to? Where can I find out that 9.3-RELEASE-p6 is >>> available? >>> >> >> >> I'm running 9.3 (FreeBSD 9.3-RELEASE-p5) as well, & I have noticed >> posts going by onlist referencing 9.3-RELEASE-p9 (I think, might have >> been 8), although that is little help to you. You & I are several >> months back from today, probably safe to assume something newer is >> available. The bottom of >> https://www.freebsd.org/doc/handbook/updating-upgrading- >> freebsdupdate.html >> talks about comparing system versions. If you do a 'freebsd-update >> fetch' followed by a 'freebsd-update install' you will be updated to >> the latest & greatest patch level, but I'm not sure there is a way of >> checking that level apriori .... $0.02, no more, no less .... >> >> > Go to the website www.freebsd.org, on the right site there is a colum > security advisories > > click on the latest, and it will show you the latest patch level of all > versions. Like the example below, the advisory for sctp. > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > ============================================================ > ================= > FreeBSD-SA-15:03.sctp Security > Advisory > The FreeBSD > Project > > Topic: SCTP stream reset vulnerability > > Category: core > Module: sctp > Announced: 2015-01-27 > Credits: Gerasimos Dimitriadis > Affects: All supported versions of FreeBSD. > Corrected: 2015-01-27 19:36:08 UTC (stable/10, 10.1-STABLE) > 2015-01-27 19:37:02 UTC (releng/10.1, 10.1-RELEASE-p5) > 2015-01-27 19:37:02 UTC (releng/10.0, 10.0-RELEASE-p17) > 2015-01-27 19:36:08 UTC (stable/9, 9.3-STABLE) > 2015-01-27 19:37:02 UTC (releng/9.3, 9.3-RELEASE-p9) > 2015-01-27 19:36:08 UTC (stable/8, 8.4-STABLE) > 2015-01-27 19:37:02 UTC (releng/8.4, 8.4-RELEASE-p23) > CVE Name: CVE-2014-8613 > > > > _______________________________________________ > 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" > -- Dan Langille Infrastructure & Operations Talos Group Sourcefire, Inc. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 16:56: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 65A58D29 for ; Tue, 24 Feb 2015 16:56:14 +0000 (UTC) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) (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 D93306A9 for ; Tue, 24 Feb 2015 16:56:13 +0000 (UTC) Received: by labhv19 with SMTP id hv19so4403419lab.10 for ; Tue, 24 Feb 2015 08:56:06 -0800 (PST) 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=bNDbyTcVpk32ERgXdHblgOuIjEEjco3yUq2YocqIgM8=; b=HTRfv3J1GTcJSOFBt9U3LAt4O30UGlygPAid00S7wKK9B7l2z961JNGMQsUWECNihT kTJ27QoUHCeO8UTXvwtDxO0kK2VTh4vAcRcDzcD0/69yfyrXEgAvOpjhLW5Yk8TGEMrH 0yq3jBMmmMBBnsjub9syFDLGt45mc+ec4s4sYyPT1kFsVq3iVr3hhytuhIIRQUAlSACa ANrp9zVJDrekvm86gzuSHqkYPLC/4Ig0RDLxDFq4t3/u9Y2LbLX4nXZJnDqU0CQCMoPo JDXBerS8mR0EUhzorxajdS1HSktr69Fv8rLrDKqP0/jP8bVBBxKUpWKYX8j3XXXa8PDX /yTA== X-Gm-Message-State: ALoCoQkKjlIdiqHVexm68FOeLzG9mETqRi/rx7ZY6T3HjvqMAag3ws0iLNXFT6B5dT44BkwjbL6d MIME-Version: 1.0 X-Received: by 10.152.43.228 with SMTP id z4mr14902685lal.111.1424796966360; Tue, 24 Feb 2015 08:56:06 -0800 (PST) Received: by 10.152.8.170 with HTTP; Tue, 24 Feb 2015 08:56:06 -0800 (PST) X-Originating-IP: [76.252.236.89] Received: by 10.152.8.170 with HTTP; Tue, 24 Feb 2015 08:56:06 -0800 (PST) In-Reply-To: References: <54E6B8B9.1060204@hiwaay.net> <54E6F04A.5080409@gmail.com> Date: Tue, 24 Feb 2015 08:56:06 -0800 Message-ID: Subject: Re: What's the latest release from freebsd-update? From: "Brian W." To: FreeBSD Mailing List 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: Tue, 24 Feb 2015 16:56:14 -0000 I haven't used Nagios much but can't a freebsd-update fetch be run and then the contents of /var/db/freebsd-update/ examined? If updates are ready to be installed there will be stuff there. On Feb 24, 2015 8:42 AM, "Dan Langille" wrote: > I think that none of these suggestions, while useful, are easily programmed > into a Nagios check (for example). > > On Fri, Feb 20, 2015 at 3:28 AM, Johan Hendriks > wrote: > > > > > Op 20-02-15 om 05:31 schreef William A. Mahaffey III: > > > > On 02/19/15 08:34, Dan Langille wrote: > >> > >>> I want to write a check to let us know if a given server is on the > >>> latest > >>> version. > >>> > >>> For example, how can I determine that FreeBSD 9.3-RELEASE-p5 is the > >>> latest > >>> and greatest? > >>> > >>> I could run freebsd-update and see what comes back, but that's not > ideal > >>> for a Nagios check. > >>> > >>> This output seems promising: > >>> > >>> $ sysctl kern.version > >>> kern.version: FreeBSD 9.3-RELEASE-p5 #0: Mon Nov 3 22:38:58 UTC 2014 > >>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > >>> > >>> Let's assume we use that as the check for the host. > >>> > >>> What do we compare it to? Where can I find out that 9.3-RELEASE-p6 is > >>> available? > >>> > >> > >> > >> I'm running 9.3 (FreeBSD 9.3-RELEASE-p5) as well, & I have noticed > >> posts going by onlist referencing 9.3-RELEASE-p9 (I think, might have > >> been 8), although that is little help to you. You & I are several > >> months back from today, probably safe to assume something newer is > >> available. The bottom of > >> https://www.freebsd.org/doc/handbook/updating-upgrading- > >> freebsdupdate.html > >> talks about comparing system versions. If you do a 'freebsd-update > >> fetch' followed by a 'freebsd-update install' you will be updated to > >> the latest & greatest patch level, but I'm not sure there is a way of > >> checking that level apriori .... $0.02, no more, no less .... > >> > >> > > Go to the website www.freebsd.org, on the right site there is a colum > > security advisories > > > > click on the latest, and it will show you the latest patch level of all > > versions. Like the example below, the advisory for sctp. > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA512 > > > > ============================================================ > > ================= > > FreeBSD-SA-15:03.sctp Security > > Advisory > > The FreeBSD > > Project > > > > Topic: SCTP stream reset vulnerability > > > > Category: core > > Module: sctp > > Announced: 2015-01-27 > > Credits: Gerasimos Dimitriadis > > Affects: All supported versions of FreeBSD. > > Corrected: 2015-01-27 19:36:08 UTC (stable/10, 10.1-STABLE) > > 2015-01-27 19:37:02 UTC (releng/10.1, 10.1-RELEASE-p5) > > 2015-01-27 19:37:02 UTC (releng/10.0, 10.0-RELEASE-p17) > > 2015-01-27 19:36:08 UTC (stable/9, 9.3-STABLE) > > 2015-01-27 19:37:02 UTC (releng/9.3, 9.3-RELEASE-p9) > > 2015-01-27 19:36:08 UTC (stable/8, 8.4-STABLE) > > 2015-01-27 19:37:02 UTC (releng/8.4, 8.4-RELEASE-p23) > > CVE Name: CVE-2014-8613 > > > > > > > > _______________________________________________ > > 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" > > > > > > -- > Dan Langille > Infrastructure & Operations > Talos Group > Sourcefire, Inc. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 18:04: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 399AE7FF for ; Tue, 24 Feb 2015 18:04:21 +0000 (UTC) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010: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 ADBD7EC1 for ; Tue, 24 Feb 2015 18:04:20 +0000 (UTC) Received: by labgf13 with SMTP id gf13so4837229lab.0 for ; Tue, 24 Feb 2015 10:04:19 -0800 (PST) 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=3rDt3LP0+o/P2fVYYq9KfvhdzjXRJjUo07aedO2CpzQ=; b=n0i3mvr+SSZDy4/8Zaf65B3hCo7dk/DpGomKWrTccCb75k5oUjN7+QC9UmZg3IkmQd fDTcF35hkpgb1cGAB8dx8NVAOBU8GezyOn9VSt/R5bd1yAYUB6MzrrTCmdE5nZtRPlTh hr6y5Xbatv1UwZGAOhqE14Fb9yHgAC7pdVgvkvjxnDPyIhLFPhEihqbNfpytMVXeAB0Z inYkzQEZ8JRjm+WBEYMEOr490/w8rJdBdyE/NjQ8wPzwypBr65IiM3zHvDyi8AtXTlBW 0iobotSl+Gm4F3CRU6KHxw0DBjwARbi5tWFJuOj4s82YKfQw3vWM9QfWw6DzyTf8HPt2 DGBQ== MIME-Version: 1.0 X-Received: by 10.152.115.136 with SMTP id jo8mr11834004lab.32.1424801058923; Tue, 24 Feb 2015 10:04:18 -0800 (PST) Received: by 10.25.34.68 with HTTP; Tue, 24 Feb 2015 10:04:18 -0800 (PST) In-Reply-To: <20150224160510.62fabf51.freebsd@edvax.de> References: <20150224145943.6216e9d3.freebsd@edvax.de> <20150224160510.62fabf51.freebsd@edvax.de> Date: Tue, 24 Feb 2015 12:04:18 -0600 Message-ID: Subject: Re: Using dotmatrix printer with (or without) CUPS for graphics printing From: Andrew Gould To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Tue, 24 Feb 2015 18:04:21 -0000 On Tue, Feb 24, 2015 at 9:05 AM, Polytropon wrote: > On Tue, 24 Feb 2015 08:31:30 -0600, Andrew Gould wrote: > > Are PPD files cross-platform? If so, you could try adding the PPD file > > manually during printer configuration. The related openprinting page for > > your printer is here: > > > > http://www.openprinting.org/printer/Epson/Epson-LQ-570plus > > Many thanks! This actually is the _first_ time something related > to CUPS works on the first try as expected! :-) > > I had to "guess" the device URI. For further reference, the following > settings resulted in success: > > Driver: Epson LQ-570+ Foomatic/epson (recommended) > (grayscale, 2-sided printing) > Connection: parallel:/dev/lpt0 > Defaults: job-sheets=none, none media=iso_a4_210x297mm > sides=one-sided > > I haven't tried printing from Gimp, because that forces me to > configure a _new_ printer, and the "Epson" category doesn't > list old dotmatrix printers anymore. So printing to a file > (PS) and then printing them via "lpr -PEpson_LQ_570+ file.ps" > works perfectly; printing also works from xpdf or gv, so all > I need is there. > > Again, thanks for your advice! > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > I'm glad it worked! I was guessing because I've seen the option in my own, past failures. I had to configure my networked, postscript, laser printer using apsfilter. :-) Andrew From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 18:47: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 7C20B6B9 for ; Tue, 24 Feb 2015 18:47:37 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::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 2E2193F0 for ; Tue, 24 Feb 2015 18:47:37 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id w8so28453735qac.1 for ; Tue, 24 Feb 2015 10:47:36 -0800 (PST) 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=ftRIndMqLlzmxIr68qInQ+N3OuXhFNjvoXzGuoiANpA=; b=CAeVhnQoFQEaFinZcG7IHfHgvuxW1fdsJn3LesnYhtMwmh4Pzg9Z8+d/KaY+f2WQE7 fCSLFQwyRetNzJKgMnO9Ug5KHgTTOjXSbO2CLJ/YQtoE2+Aiit10mtlJTZ8b3eBzaFYG KrmwcIF1L0znlhnRbpXTqdpPqv5GlnMrvjJlt4u6GNgwjnYn/zBnmoC09SPUPnbIEdNQ w+zPaS0lZ1Ra3Ez694mMKytSu4C1GkwB/VRnGyBfa4D/dIVerJZkWbOGY9BYGu3GAY2I SgimPy6tYnIg+sjVj4cwqTNoSAPKQv3oP0yUp3e8Z9smz3GUwN0aclKcgGFX8alENFau 2QWQ== X-Received: by 10.140.202.144 with SMTP id x138mr39483064qha.14.1424803656332; Tue, 24 Feb 2015 10:47:36 -0800 (PST) Received: from localhost.localdomain ([209.181.150.218]) by mx.google.com with ESMTPSA id h6sm29988733qgh.32.2015.02.24.10.47.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 10:47:35 -0800 (PST) Message-ID: <54ECC745.9040303@gmail.com> Date: Tue, 24 Feb 2015 11:47:33 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: why would I get a segmentation fault on one system but not the other? References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <20150222041421.GA36213@home.parts-unknown.org> <20150224024309.GA8251@neutralgood.org> In-Reply-To: <20150224024309.GA8251@neutralgood.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 18:47:37 -0000 On 02/23/2015 07:43 PM, kpneal@pobox.com wrote: > On Sat, Feb 21, 2015 at 08:14:21PM -0800, David Benfell wrote: >> The system experiencing the segfaults is new--and from a vendor that >> has previously shipped me a system with bad memory. > >> I haven't stopped the memory test yet. But it has been running for an >> hour and completed one pass without error. From what I can see on >> line, that's a pretty good sign. > Memory testers reporting bad memory means you know you have bad memory. > > Memory testers _not_ reporting bad memory tells you nothing. > > Don't rely on memory testers to diagnose bad memory. In the past 20 years > I've seen a number of really weird cases where machines had problems but > only under certain workloads. Right. When running the standalone mem86 tester, the CPU and memory might not be getting clocked at high clock rates. Sometimes when the system load gets high and clocking is upped either by the chipset (I had a system that did that), or by the kernel issuing directives to the hardware to up the clock, the it is possible for the hardware to muck up the data read from the RAM (especially when the data happens to be addresses of user or kernel data). From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 19:40:23 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 BA5E479E for ; Tue, 24 Feb 2015 19:40:23 +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 7F028C98 for ; Tue, 24 Feb 2015 19:40:23 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id wp4so45797606obc.0 for ; Tue, 24 Feb 2015 11:40:22 -0800 (PST) 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=6wbT2tdM3mfeA2Tj1qaGYeGwYsdUqyjO4wV3+fGI+Ow=; b=pqRXR9fDxQmgXMOXgO0htE85SjF1Wc5lfB0jO417qHNTGuhNBHsZgbChNuQjoixeu1 qL36DB98o8WsmUPN4AA8lxvNeTq0IRsEwscI6xbf2y3utz5vMgF3YTsua2fWLxJgaOr3 SXlA2mlBjHzGrZItaNDiUwL7yaaOjzPn5wdTU2fG/2dnuiXUhrBBoC2f/uoTiGqCj+lI UgifV8Ky0lW+sFUgahHeAft8rR5TVEdIidjvxcSdLverWZ+jVq5dM2N6d7Q2We9LOqzF r9Y5OEyUuVlJ6rFbWS1ssRTDgNgIzh+u76X2sR4fti3NvwJXeCyRn9cNrNXcQnc2A8dY nn/Q== MIME-Version: 1.0 X-Received: by 10.60.120.36 with SMTP id kz4mr12097624oeb.80.1424806822708; Tue, 24 Feb 2015 11:40:22 -0800 (PST) Received: by 10.60.92.194 with HTTP; Tue, 24 Feb 2015 11:40:22 -0800 (PST) Date: Tue, 24 Feb 2015 14:40:22 -0500 Message-ID: Subject: System to install FreeBSD From: BINDU PULIYANKODAN KAROTH To: 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: Tue, 24 Feb 2015 19:40:23 -0000 Hi, I am planning to buy a system to install FreeBSD for training on UNIX Administration. My broad choices are to go for either a laptop or a desktop. Laptop ------ >From looking around the web , I found that Laptops are generally windows compatible and may run in to issues with other OS. Can you suggest me some good laptops that would be good for this purpose. Desktop ------- If I choose to go for a desktop ( I do not have any specific hardware in mind) is it okay if go with any of them available in the market? Also , in general 1) Are there any specific system requirements in terms of the memory and hard drive or other requirements 2) Is it necessary to purchase a system with any UNIX OS in it , to ensure that it will work fine with BSD. Kindly advise Thanks Bindu From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 19:52: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 C06EBA9B for ; Tue, 24 Feb 2015 19:52:41 +0000 (UTC) Received: from mail-vc0-x231.google.com (mail-vc0-x231.google.com [IPv6:2607:f8b0:400c: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 72BDEDBF for ; Tue, 24 Feb 2015 19:52:41 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id hy10so10724801vcb.8 for ; Tue, 24 Feb 2015 11:52:40 -0800 (PST) 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=E6VDp/XUP5oToqfmBX2IelcYd30NUucS47sgvxvYftw=; b=ycZaawJ6iOGezFjZGlD5okq1gIiqgpxMQCskGqHo4n7oTFHbTfS70sne1x2bgGsO6J kCNBorL0rWZhXKBmq2eDMfJ0E/thK+MmQiSDkN4ObmajeA3BXor1fFa8r9LzJqyjSgOZ skULojgV4yitSq5tgLOtBP27JVhmK7jamUPOS+wqxHRabBNQCBqA2nH3KCzYq3RZtlcQ AvwXo/Qd4+MzUERbCPANHzjRj6tdY+jEKUIaZV11gj9O/fZU6uZmS2Oe9mc1HoF09Xdp Mbk6tYOz0LJRN5NnXR75vxJNz40kchMFudFx8Z4MT5Yo4UH5I57fK9A4SDV09PpN1VNH pMIg== X-Received: by 10.52.116.204 with SMTP id jy12mr3940710vdb.10.1424807559996; Tue, 24 Feb 2015 11:52:39 -0800 (PST) Received: from smaug.zep.net (pool-173-73-139-83.washdc.fios.verizon.net. [173.73.139.83]) by mx.google.com with ESMTPSA id ci3sm7653419vdd.3.2015.02.24.11.52.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 11:52:39 -0800 (PST) Message-ID: <54ECD686.7000504@gmail.com> Date: Tue, 24 Feb 2015 14:52:38 -0500 From: zep User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: System to install FreeBSD References: In-Reply-To: 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: Tue, 24 Feb 2015 19:52:41 -0000 On 02/24/2015 02:40 PM, BINDU PULIYANKODAN KAROTH wrote: > Hi, > > I am planning to buy a system to install FreeBSD for training on UNIX > Administration. My broad choices are to go for either a laptop or a desktop. > > Laptop > ------ > From looking around the web , I found that Laptops are generally windows > compatible and may run in to issues with other OS. > Can you suggest me some good laptops that would be good for this purpose. > > Desktop > ------- > If I choose to go for a desktop ( I do not have any specific > hardware in mind) is it okay if go with any of them available in the market? > > Also , in general > 1) Are there any specific system requirements in terms of the memory and > hard drive > or other requirements > 2) Is it necessary to purchase a system with any UNIX OS in it , to ensure > that it will work fine with BSD. > > Kindly advise > > given that it's for training, wouldn't it make more sense to be pretty much hardware agnostic and use virtulization (either virtualbox, xen, or any of several commercial options) and make the BSD machine a VM that you can snapshot back to after training is done? -- public gpg key id: AE60F64C From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 20:56:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50979F78 for ; Tue, 24 Feb 2015 20:56:53 +0000 (UTC) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d: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 062E26D0 for ; Tue, 24 Feb 2015 20:56:52 +0000 (UTC) Received: by qcwr17 with SMTP id r17so6436762qcw.1 for ; Tue, 24 Feb 2015 12:56:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ideapod.com; s=google; h=date:from:to:message-id:subject:mime-version:content-type :content-transfer-encoding; bh=05yKlyVKlRiAt0JjqtF27sh9Atq1mlEw/JqzoQ4TqII=; b=cV9CmGJ8qev1NGC807ii0wNkzT01FkxpCTzPb5nFhJEoUVCPeR2PxVegf19U3iIHG+ 23NH1gpi4uXxRfFoD4ia/4xnC6Wf5X4sJCwYQOEu2Pq+BHi81IWf+8ERNzGJqWqworq9 XES8P5rrgel+o46LpQnk5NjZYZ3+AM+nzDKjA= 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:message-id:subject:mime-version :content-type:content-transfer-encoding; bh=05yKlyVKlRiAt0JjqtF27sh9Atq1mlEw/JqzoQ4TqII=; b=Fd+ZU/n49tfI5zo5NuaWGhxcJi5g2Dia/8MTZYLlL9YzpuH6NwUpf/IcFuyIBC9yfI rbfK3QdPH1CKF8DIdZCCD+zP9k0JSHAO/yPB5etcGbwx2DRASu53EV2RToC+tVl3hOf5 1nLMXkdtf/05ognVdbFd2P17AV5IzUSrukLAs8NRvIigx4CVvwfhDB4zfNwPCa8YEvb0 jeVVz0s8jRvxwFn3Acg5NaUlDUfhgcoiOwdOGqxRSbvaTUrdmNkHlM+glCuzzb+lhrKb KMAwblPwlsa6w1Nrjre7YZwdTc9Mk6zYnG6Cfppc+opabMCU2q+8DjkNgj2c1fxEVNgh S6Wg== X-Gm-Message-State: ALoCoQmuDd9WEaePI/ujn+qxr+RWleOr5/8MOA9W8oPTHPeqTAjaqzDLDtHi4/xHZgDMn3FtdVcP X-Received: by 10.229.80.72 with SMTP id s8mr41095624qck.24.1424811411893; Tue, 24 Feb 2015 12:56:51 -0800 (PST) Received: from (ec2-54-227-23-142.compute-1.amazonaws.com. [54.227.23.142]) by mx.google.com with ESMTPSA id k17sm24536022qab.1.2015.02.24.12.56.50 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 24 Feb 2015 12:56:51 -0800 (PST) Date: Tue, 24 Feb 2015 20:56:50 +0000 From: Adrianna Roberts To: freebsd-questions@FreeBSD.org Message-ID: <54ece5929a301_33faecb1f8aec9704986@b32e447c-6170-4d08-81ae-30d138b39571.mail> Subject: Invitation for FreeBSD to a new social media platform dedicated to ideas Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: Tue, 24 Feb 2015 20:56:53 -0000 Hi FreeBSD, I=E2=80=99m Adrianna from Ideapod - a new social media platform for shari= ng and connecting ideas. Richard Branson recently wrote a blog post about= us, saying that Ideapod will =E2=80=9Cincrease the chances of society co= ming up with more game changing concepts.=E2=80=9D (you can read the blog= here: http://virg.in/cwi (https://t.yesware.com/tl/256baff2bc9b778a7b8ba= add3a86b4987ae5d866/7e67c407d794ba57e63cdbaa311082aa/7709b1066cc06963be30= eee884bb1963?ytl=3Dhttp%3A%2F%2Fvirg.in%2Fcwi) ) I thought you might be interested in joining Ideapod and learning more ab= out how the platform works. You can browse Ideapod here: http://www.ideap= od.com (https://t.yesware.com/tl/256baff2bc9b778a7b8baadd3a86b4987ae5d866= /7e67c407d794ba57e63cdbaa311082aa/43fe0e735e8cfb220b54550afd635d4a?ytl=3D= http%3A%2F%2Fwww.ideapod.com) If you think it's something you would enjoy, or that your readers would b= e interested in, you can use this link to create an account instantly: ht= tp://www.ideapod.com/users/sign_up?source=3DQMD (https://t.yesware.com/tl= /256baff2bc9b778a7b8baadd3a86b4987ae5d866/7e67c407d794ba57e63cdbaa311082a= a/1826370062c7a80e355d06342ebb7b63?ytl=3Dhttp%3A%2F%2Fwww.ideapod.com%2Fu= sers%2Fsign_up%3Fsource%3DQMD) =C2=A0 Ideas are 1,000 character limited posts, containing pictures or videos. Y= ou can also respond to any ideas and relate ideas with each other.=C2=A0 If you have any questions, please let me know. Regards, Adrianna --=C2=A0 Adrianna Roberts P.R & Press Contact, Ideapod w:=C2=A0ideapod.com (https://t.yesware.com/tl/256baff2bc9b778a7b8baadd3a8= 6b4987ae5d866/7e67c407d794ba57e63cdbaa311082aa/b6bb9379ec274f5a636c871c18= afd303?ytl=3Dhttp%3A%2F%2Fwww.ideapod.com%2F) t:=C2=A0@ideas (https://t.yesware.com/tl/256baff2bc9b778a7b8baadd3a86b498= 7ae5d866/7e67c407d794ba57e63cdbaa311082aa/62c8368140579fdf0900017e33c58a1= 6?ytl=3Dhttp%3A%2F%2Fwww.twitter.com%2Fideas) fb:=C2=A0fb.com/ideapods (https://t.yesware.com/tl/256baff2bc9b778a7b8baa= dd3a86b4987ae5d866/7e67c407d794ba57e63cdbaa311082aa/5674b11ddd8317868f46b= 05cdee516a8?ytl=3Dhttp%3A%2F%2Fwww.facebook.com%2Fideapods)= From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 21:09: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 6886C5B7; Tue, 24 Feb 2015 21:09:09 +0000 (UTC) Received: from sdf.org (ma.sdf.org [192.94.73.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ma.sdf.org", Issuer "ma.sdf.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49AA885F; Tue, 24 Feb 2015 21:09:08 +0000 (UTC) Received: from ma.sdf.org (IDENT:U2FsdGVkX18r5/1Folticrf5CZA8jLwadCTlY54sJn4@ma.sdf.org [192.94.73.31]) by sdf.org (8.14.4/8.14.3) with ESMTP id t1OL90Bj019723; Tue, 24 Feb 2015 21:09:00 GMT MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 24 Feb 2015 15:09:00 -0600 From: cpet To: zep Subject: Re: System to install FreeBSD In-Reply-To: <54ECD686.7000504@gmail.com> References: <54ECD686.7000504@gmail.com> Message-ID: <30f203dea165c7336b0b6661cc84e547@sdf.org> X-Sender: cpet@sdf.org User-Agent: Roundcube Webmail/1.0.1 Cc: freebsd-questions@freebsd.org, owner-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 Feb 2015 21:09:09 -0000 On 2015-02-24 13:52, zep wrote: > On 02/24/2015 02:40 PM, BINDU PULIYANKODAN KAROTH wrote: >> Hi, >> >> I am planning to buy a system to install FreeBSD for training on UNIX >> Administration. My broad choices are to go for either a laptop or a >> desktop. >> >> Laptop >> ------ >> From looking around the web , I found that Laptops are generally >> windows >> compatible and may run in to issues with other OS. >> Can you suggest me some good laptops that would be good for this >> purpose. >> >> Desktop >> ------- >> If I choose to go for a desktop ( I do not have any specific >> hardware in mind) is it okay if go with any of them available in the >> market? >> >> Also , in general >> 1) Are there any specific system requirements in terms of the memory >> and >> hard drive >> or other requirements >> 2) Is it necessary to purchase a system with any UNIX OS in it , to >> ensure >> that it will work fine with BSD. >> >> Kindly advise >> >> > > given that it's for training, wouldn't it make more sense to be pretty > much hardware agnostic and use virtulization (either virtualbox, xen, > or > any of several commercial options) and make the BSD machine a VM that > you can snapshot back to after training is done? You can get a el cheapo ATOM box for cheap if you want a dedicated box for testing and learning. Personally I would run it in a VM if I was you but. You are entitled to do as you wish. SuperMicro makes nice servers and desktops which are known to be fully compatible with Linux/BSD iX systems does as well but I think they stopped making desktops. You need to be careful of the MB you buy if you want to build your own learn to build a desktop as well as UNIX would be good. My 2 cents. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 22:01: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 EEBE5FD0 for ; Tue, 24 Feb 2015 22:01:09 +0000 (UTC) Received: from papyrus.altaweb.hu (papyrus.altaweb.hu [195.228.155.151]) (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 A5B86F1B for ; Tue, 24 Feb 2015 22:01:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by papyrus.altaweb.hu (Postfix) with ESMTP id E4729A031A for ; Tue, 24 Feb 2015 22:58:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at papyrus.altaweb.hu Received: from papyrus.altaweb.hu ([127.0.0.1]) by localhost (papyrus.altaweb.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BxcqhYqznICy for ; Tue, 24 Feb 2015 22:58:33 +0100 (CET) Received: from chacha.levalinux.org (5E1BB1FB.mobile.pool.telekom.hu [94.27.177.251]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: levente@altanet.hu) by papyrus.altaweb.hu (Postfix) with ESMTPSA id F16D2A0312 for ; Tue, 24 Feb 2015 22:58:32 +0100 (CET) Received: from jive (jive.levalinux.org [192.168.1.1]) by chacha.levalinux.org (Postfix) with ESMTPS id CAB9B2220AD for ; Tue, 24 Feb 2015 23:00:56 +0100 (CET) Date: Tue, 24 Feb 2015 23:00:56 +0100 From: Lev To: freebsd-questions@freebsd.org Subject: Re: lost icons in gtk app Message-ID: <20150224230056.292e78dd@jive> In-Reply-To: <20150222090429.0717c14c@atomizer> References: <20150222131947.770440ad@jive> <20150222090429.0717c14c@atomizer> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 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 Feb 2015 22:01:10 -0000 T24gU3VuLCAyMiBGZWIgMjAxNSAwOTowNDoyOSAtMDUwMA0KUm9kIFBlcnNvbiA8cm9kcGVyc29u QHJvZHBlcnNvbi5jb20+IHdyb3RlOg0KDQo+IEFzc3VtaW5nIHRoaXMgaXMgYSBMaW51eCBhcHAg ZnJvbSBzb3VyY2UsIHRyeToNCj4gL3Vzci9jb21wYXQvbGludXgvb3B0L3NoYXJlL2ljb25zDQoN ClNvbHZlZC4gVGhlcmUgd2FzIGEgYnVnIGluIHRoZSBpbnN0YWxsYXRpb24gc2NyaXB0IG9mIHRo ZSBzb2Z0d2FyZS4NCg0KTGV2ZW50ZQ0KDQo= From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 22:13:06 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E0AEA33 for ; Tue, 24 Feb 2015 22:13:06 +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 BDB6816B for ; Tue, 24 Feb 2015 22:13:05 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YQNio-0004Jz-St for freebsd-questions@freebsd.org; Tue, 24 Feb 2015 23:12:54 +0100 Received: from 5e1bb1fb.mobile.pool.telekom.hu ([94.27.177.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Feb 2015 23:12:54 +0100 Received: from leventelist by 5e1bb1fb.mobile.pool.telekom.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Feb 2015 23:12:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Lev Subject: git gui Date: Tue, 24 Feb 2015 23:12:48 +0100 Lines: 5 Message-ID: <20150224231248.10f7ac10@jive> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 5e1bb1fb.mobile.pool.telekom.hu X-Newsreader: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) 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 Feb 2015 22:13:06 -0000 SSB3YW50IHRvIHVzZSB0aGUgZm9sbG93aW5nIGd1aXMgZm9yIGdpdC4NCg0KZ2l0IGd1aQ0KZ2l0 aw0KDQpJIGNhbid0IGZpbmQgdGhlbSBpbiB0aGUgcG9ydCByZXBvc2l0b3J5LiBEbyBJIG1pc3Mg c29tZXRoaW5nPyBJcyB0aGVyZSBhbnkNCndheSB0byBpbnN0YWxsIHRoZW0/DQoNClRoYW5rcywN CkxldmVudGUNCg0K From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 22:46:36 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 C3EAD766 for ; Tue, 24 Feb 2015 22:46:36 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c: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 55A65764 for ; Tue, 24 Feb 2015 22:46:36 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id ex7so7978855wid.1 for ; Tue, 24 Feb 2015 14:46:34 -0800 (PST) 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=k4P3YdsQImiLb7YimJT2kF1MmsZuA5w+XIBcF5SjZ5Q=; b=hKaq6F8hjq172Gz2eNipR6E1rAyHLFCdjn21oe1qPLP9TtUI7eu+koEMZ3rwdvPwrD vyhSNbL2w0AS9sm5sCmj1K4BZKJ46nlZ4VCswRCtH8Gc6kYiOXwhEznlgVFSjkAdNcVu ume6yziwSKnoGfpOJTpxSS8a8YSH2D0QEjkhYK+o7cN9LgJ0+cL2tfgrC6ylZn1Uhc3X ke4gjXv54H6RLlyGLJo7RbHo57hnz1G6r5znreqyyJTs+tnmZitVF9iIUeo+ZnX7j2vc ncXxXt61BB834t/A2mnzY1ucy/pckpOgKo330xyaSb0TGt8mZEiU7PxT12M+TA7Q+ysW q/BA== MIME-Version: 1.0 X-Received: by 10.194.84.176 with SMTP id a16mr103416wjz.113.1424817994803; Tue, 24 Feb 2015 14:46:34 -0800 (PST) Received: by 10.194.241.132 with HTTP; Tue, 24 Feb 2015 14:46:34 -0800 (PST) In-Reply-To: <20150224231248.10f7ac10@jive> References: <20150224231248.10f7ac10@jive> Date: Wed, 25 Feb 2015 06:46:34 +0800 Message-ID: Subject: Re: git gui From: Ben Woods To: Lev 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 Feb 2015 22:46:37 -0000 The gitk gui is disabled by default in the FreeBSD packages. To enable it, you must build it from ports yourself: (Ensure you have an up to date ports tree) # cd /usr/ports/devel/git # make config (enable the gui option) # make install clean More details of how to build ports are here: https://www.freebsd.org/doc/en/books/handbook/ports-using.html Regards, Ben On Wednesday, February 25, 2015, Lev wrote: > I want to use the following guis for git. > > git gui > gitk > > I can't find them in the port repository. Do I miss something? Is there any > way to install them? > > Thanks, > Levente > > _______________________________________________ > 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: Benjamin Woods woodsb02@gmail.com From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 22:51:31 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 0F6E68A1 for ; Tue, 24 Feb 2015 22:51:31 +0000 (UTC) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::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 81645838 for ; Tue, 24 Feb 2015 22:51:30 +0000 (UTC) Received: by labhs14 with SMTP id hs14so128684lab.4 for ; Tue, 24 Feb 2015 14:51:28 -0800 (PST) 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:content-transfer-encoding; bh=YDKDYjHGY3mwADUpHyUeqZFNHYybg0jbDySB7sAReB0=; b=wLT7hPEjrp9jEqQ22Zrk+22dBIV5ACWBoUPAUFbBOB6tNEdTOiACgE2pTxv7bjqUsb LXrQ/1wxzloe4L6Eium7oySMKJYOrApNFfcYIsKLKZIv+RhzppYpAvQJfGnMb9soTjQF qTGsu5MXTCfMlp5kyfce5zjk8tSUlOOsO/FraWzeiv7C1tlmVex2GeCTmpbCN7ccPA5R WliAKQIxzcLnYzmve9q4m53YFUxK6DAkUjmUhxI+4TNtrCu9KU29w6jPb7OkGeQtORKY zwF1V0MgueU7cKSBtF1FwNlYzzew4W/9rrgrTl/qqGIWfRgxVhjrTdGxrLPdVXzJLfuV 2FNQ== X-Received: by 10.152.1.1 with SMTP id 1mr119314lai.63.1424818288505; Tue, 24 Feb 2015 14:51:28 -0800 (PST) Received: from DaemON.home (90-156-31-193.internetia.net.pl. [90.156.31.193]) by mx.google.com with ESMTPSA id la1sm7869079lab.2.2015.02.24.14.51.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 14:51:28 -0800 (PST) Date: Tue, 24 Feb 2015 23:49:56 +0100 From: Serpent7776 To: freebsd-questions@freebsd.org Subject: Re: git gui Message-ID: <20150224234956.5cdaac5a@DaemON.home> In-Reply-To: <20150224231248.10f7ac10@jive> References: <20150224231248.10f7ac10@jive> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Lev 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 Feb 2015 22:51:31 -0000 On Tue, 24 Feb 2015 23:12:48 +0100 Lev wrote: > I want to use the following guis for git. > > git gui > gitk > > I can't find them in the port repository. Do I miss something? Is there any > way to install them? on my system: # pkg which `which gitk` /usr/local/bin/gitk was installed by package git-2.3.0 git gui: # pkg which /usr/local/libexec/git-core/git-gui /usr/local/libexec/git-core/git-gui was installed by package git-2.3.0 So both are installed by devel/git for git gui you have to enable GUI option when compiling (by default its off) -- //Serpent7776 From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 01:52:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 246BD8CF for ; Wed, 25 Feb 2015 01:52:55 +0000 (UTC) Received: from maul.immure.com (108-84-10-9.lightspeed.austtx.sbcglobal.net [108.84.10.9]) (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 E2E8FCE6 for ; Wed, 25 Feb 2015 01:52:54 +0000 (UTC) Received: from rancor.immure.com ([10.1.132.9]) by maul.immure.com with esmtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1YQOr8-000POJ-R3 for freebsd-questions@freebsd.org; Tue, 24 Feb 2015 17:25:35 -0600 Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.14.9/8.14.9) with ESMTP id t1ONPY22066418 for ; Tue, 24 Feb 2015 17:25:34 -0600 (CST) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.14.9/8.14.9/Submit) id t1ONPYHX066417 for freebsd-questions@freebsd.org; Tue, 24 Feb 2015 17:25:34 -0600 (CST) (envelope-from bob) Date: Tue, 24 Feb 2015 17:25:34 -0600 From: Bob Willcox To: questions list Message-ID: <20150224232534.GB64649@rancor.immure.com> Reply-To: Bob Willcox MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 10.1.132.9 X-SA-Exim-Mail-From: bob@immure.com X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on maul.immure.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Subject: Installing/running wine on amd64 system X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on maul.immure.com) 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 Feb 2015 01:52:55 -0000 I've been trying to get my head around what I need to do to be able to install and run wine on a FreeBSD 10.1-stable amd64 system without much success (or progress). I read and followed the some of the steps that I found here: https://wiki.freebsd.org/i386-Wine but didn't really understand what I was doing, and it didn't work, spewing this: Updating wine repository catalogue... pkg: http://distcache.FreeBSD.org/local-distfiles/dbn/repos/wine/FreeBSD:10:amd64/latest/meta.txz: Not Found pkg: repository wine has no meta file, using default settings pkg: http://distcache.FreeBSD.org/local-distfiles/dbn/repos/wine/FreeBSD:10:amd64/latest/packagesite.txz: Not Found pkg: Unable to update repository wine So, I guess my first question is: is what I'm trying to do make any sense? At this point I'm not sure if this is an exercise in futility or not. Does anybody have any tips or pointers on what I should be doing here? Is it possible to be able to install wine on an amd64 system, and will it be worth it? (I'd like to be able to play some 3D games on it). Thanks for any help in advance, Bob -- Bob Willcox | File cabinet: bob@immure.com | A four drawer, manually activated trash Austin, TX | compactor. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 05:22: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 81CEF522 for ; Wed, 25 Feb 2015 05:22:25 +0000 (UTC) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c: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 18863632 for ; Wed, 25 Feb 2015 05:22:25 +0000 (UTC) Received: by wevk48 with SMTP id k48so1328448wev.3 for ; Tue, 24 Feb 2015 21:22:23 -0800 (PST) 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=1Wp+pAulStJpiLEc1c9ZXeqNWrHVQ0YeY1d90FMA5YM=; b=kEv+A29LOVF7um49WWXaFilyeWC/tpN49qmmZSKbA7fNGkfaMenj8a0+ZUOek2+dPJ MOL85PSc7eSZOyWLOx1oGOVCwg5dG1YeaCpft6I5P1iRzCqDma/iqxomIi48dY72RY4K I8lYN/dhtfqdtHlei8PZwwJNJvVHHyzphxwBJYiQAwCXaWJQiUqJjrwPvnl5oP5qUq49 GgP2+MnKgJH/9IFUCBo7HOXk1c111BjzrkebkgfX83Z7eCwf4yhrx8dlexVfov5iGQlj AElBmmHTle/Zxiow1ep0EYyFvRsQXLgRKNZt58ZQAEqoPaXsB6BZXyCzfTFntoJTUTo7 tVrQ== MIME-Version: 1.0 X-Received: by 10.180.8.98 with SMTP id q2mr35698261wia.80.1424841743432; Tue, 24 Feb 2015 21:22:23 -0800 (PST) Received: by 10.181.8.102 with HTTP; Tue, 24 Feb 2015 21:22:23 -0800 (PST) Date: Wed, 25 Feb 2015 10:52:23 +0530 Message-ID: Subject: Install python 2.4.6 in freebsd 10 From: eras mus 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: Wed, 25 Feb 2015 05:22:25 -0000 Hi All, i have an old application which requires python 2.4.6 . I want it to be run in FreeBSD 10. Kindly help me to install Python 2.4.6 in FreeBSD 10. Thanks in Advance. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 06:16: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 0F32F3A2 for ; Wed, 25 Feb 2015 06:16:45 +0000 (UTC) Received: from k44.mxout.mta4.net (k44.mxout.mta4.net [46.105.146.43]) by mx1.freebsd.org (Postfix) with SMTP id 925E5B3F for ; Wed, 25 Feb 2015 06:16:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=elasticemail.com; h=MIME-Version:Subject:Date:From:Reply-To:To:Message-ID:List-Unsubscribe:Content-Type; q=dns/txt; s=api; t=1424840795; bh=FQTgoFEjdF0oynTYyFasQtFqsis=; b= URXJMwZS3w7O2wjzsLDxmscn4gEKIlOUHPlQlz9E4Yc6ynkcnS6MC0k4ukioThAYufHreczmV4KMRugb7XQLiPnXSRHtt2iEOrvhNoTv924czLj57x0IeQQ6FEZGRgYywRfbh/2UlLuQTBxF/R2kuJ+FIlOhEWer0yqtmrkspGg= From: Karl-Philipp Richter To: freebsd-questions@freebsd.org Date: Wed, 25 Feb 2015 05:06:32 +0000 Subject: How to fix error `cached package a-x.y.z: size mismatch, cannot continue` during `pkg upgrade`? Message-Id: <4tuey3akkcb4.ma9n39-4c0vk8az116k5a@api.elasticemail.com> Reply-To: Karl-Philipp Richter Sender: Elastic Email X-Mailer: api.elasticemail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-ewM3jKzNDV48FLcq0YsOeg==" 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 Feb 2015 06:16:45 -0000 --=-ewM3jKzNDV48FLcq0YsOeg== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, According to `man pkg` `pkg clean` should fix the issue, but doesn't. = Is that a bug? Experienced with `pkg` 1.4.12 on FreeBSD 10.1. -Kalle = --=-ewM3jKzNDV48FLcq0YsOeg== Content-Type: application/pgp-signature Content-Disposition: attachment; filename=signature.asc Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxDQoNCmlR RWNCQUVCQWdBR0JRSlU3VmhHQUFvSkVHYWRLSjhlSjdaR09lUUlBTE1nTWhvY2lwZTBMMHhZ RFBjMDg3emsNCnV4NWw1NVV0WnpNWGtpbnZvTnVobVBDcUZaM01iL0daN3lCRE1xcDhHZG5G eWxSTGhRbDhaWjJFRStvZDhmOHcNCmQ5Z0RWYmhOTUhIcHJ2ejRZMzZKTDlxV1pVYm54d2xs UmRQTlNUUUhWeW4wVkloZjRiZEZ6NFRBT1Nnai9FUzgNCkJYWFM1TWhDODNPaTlLcVFjZUcw aFlQVVRqdm83cjVSZVl0OWFoY3FSTkZuSGEzSldtSzFReE1lUVQyVnV5T0MNCnFaN3ROa3ov Tm12bTJHM1ZFVmpCUytzRnRTUnljZFE2U0hPZDk3alNRQXlGYnhMRGlQcW1CNmNoZXV5blI3 SnENCjc4M2ppVkpJQ244aHFxNnlQcTBzdy9iSHVrSytvZUxVcjRDb1V0d2hmODFMSm1tSzVj Z21ycDJCcnBaWFlrbz0NCj00Nnh5DQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg== --=-ewM3jKzNDV48FLcq0YsOeg==-- From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 07:20: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 3A8C329B for ; Wed, 25 Feb 2015 07:20:38 +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 EAB3577A for ; Wed, 25 Feb 2015 07:20:37 +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 17FF23CCFC; Wed, 25 Feb 2015 08:20:33 +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 t1P7KXFp002059; Wed, 25 Feb 2015 08:20:33 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 25 Feb 2015 08:20:33 +0100 From: Polytropon To: Andrew Gould Subject: Re: Using dotmatrix printer with (or without) CUPS for graphics printing Message-Id: <20150225082033.92b4f5fb.freebsd@edvax.de> In-Reply-To: References: <20150224145943.6216e9d3.freebsd@edvax.de> <20150224160510.62fabf51.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Wed, 25 Feb 2015 07:20:38 -0000 On Tue, 24 Feb 2015 12:04:18 -0600, Andrew Gould wrote: > I'm glad it worked! I was guessing because I've seen the option in my own, > past failures. I had to configure my networked, postscript, laser printer > using apsfilter. :-) Comparing apsfilter configuration with CUPS, well... I'd say apsfilter is easier to work with. The idea that _programs_ require me to use CUPS to be able to print (to a networked PS-capable office laser printer) just sounds wrong. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 09:42: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 43727746 for ; Wed, 25 Feb 2015 09:42:12 +0000 (UTC) Received: from mail.vlymskerp.net (mail.vlymskerp.net [197.189.214.107]) by mx1.freebsd.org (Postfix) with ESMTP id D26B49CE for ; Wed, 25 Feb 2015 09:42:11 +0000 (UTC) Received: from mail.vlymskerp.net (localhost [127.0.0.1]) by mail.vlymskerp.net (Postfix) with ESMTP id 39270D338A; Wed, 25 Feb 2015 10:19:28 +0200 (SAST) Received: from penguin.cerberia (penguin.vlymskerp.vpn [10.8.0.14]) by mail.vlymskerp.net (Postfix) with ESMTPSA id 22FD4D3388; Wed, 25 Feb 2015 10:19:28 +0200 (SAST) From: Coert To: freebsd-questions@freebsd.org, Karl-Philipp Richter Subject: Re: How to fix error `cached package a-x.y.z: size mismatch, cannot continue` during `pkg upgrade`? Date: Wed, 25 Feb 2015 11:42:01 +0200 Message-ID: <3052711.WVW98RKCKH@penguin.cerberia> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RELEASE-p5; KDE/4.14.2; amd64; ; ) In-Reply-To: <4tuey3akkcb4.ma9n39-4c0vk8az116k5a@api.elasticemail.com> References: <4tuey3akkcb4.ma9n39-4c0vk8az116k5a@api.elasticemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Virus-Scanned: ClamAV using ClamSMTP 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 Feb 2015 09:42:12 -0000 On Wednesday 25 February 2015 05:06:32 Karl-Philipp Richter wrote: > Hi, > According to `man pkg` `pkg clean` should fix the issue, but doesn't. Is > that a bug? Experienced with `pkg` 1.4.12 on FreeBSD 10.1. > > -Kalle Try deleting either everything or just the offending package from /var/cache/pkg/ -Coert From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 09:46:22 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAA57817 for ; Wed, 25 Feb 2015 09:46:22 +0000 (UTC) Received: from mail.vlymskerp.net (mail.vlymskerp.net [197.189.214.107]) by mx1.freebsd.org (Postfix) with ESMTP id 56E0B9FC for ; Wed, 25 Feb 2015 09:46:22 +0000 (UTC) Received: from mail.vlymskerp.net (localhost [127.0.0.1]) by mail.vlymskerp.net (Postfix) with ESMTP id 66B7FD338B; Wed, 25 Feb 2015 10:23:46 +0200 (SAST) Received: from penguin.cerberia (penguin.vlymskerp.vpn [10.8.0.14]) by mail.vlymskerp.net (Postfix) with ESMTPSA id 4F21DD3388; Wed, 25 Feb 2015 10:23:46 +0200 (SAST) From: Coert To: freebsd-questions@freebsd.org, Bob Willcox Subject: Re: Installing/running wine on amd64 system Date: Wed, 25 Feb 2015 11:46:19 +0200 Message-ID: <19520221.uAyzs4m49L@penguin.cerberia> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RELEASE-p5; KDE/4.14.2; amd64; ; ) In-Reply-To: <20150224232534.GB64649@rancor.immure.com> References: <20150224232534.GB64649@rancor.immure.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Virus-Scanned: ClamAV using ClamSMTP 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 Feb 2015 09:46:22 -0000 On Tuesday 24 February 2015 17:25:34 Bob Willcox wrote: > I've been trying to get my head around what I need to do to be able to > install and run wine on a FreeBSD 10.1-stable amd64 system without much > success (or progress). > > I read and followed the some of the steps that I found here: > > https://wiki.freebsd.org/i386-Wine > > but didn't really understand what I was doing, and it didn't work, spewing > this: > > Updating wine repository catalogue... > pkg: > http://distcache.FreeBSD.org/local-distfiles/dbn/repos/wine/FreeBSD:10:amd6 > 4/latest/meta.txz: Not Found pkg: repository wine has no meta file, using > default settings > pkg: > http://distcache.FreeBSD.org/local-distfiles/dbn/repos/wine/FreeBSD:10:amd6 > 4/latest/packagesite.txz: Not Found pkg: Unable to update repository wine > > So, I guess my first question is: is what I'm trying to do make any sense? > At this point I'm not sure if this is an exercise in futility or not. > > Does anybody have any tips or pointers on what I should be doing here? Is it > possible to be able to install wine on an amd64 system, and will it be > worth it? (I'd like to be able to play some 3D games on it). > > Thanks for any help in advance, > Bob Maybe try installing it from ports.. cd /usr/ports/emulators/i386-wine make install clean I also don't think it is necessary to add a repo for wine, it is also available in the standard FreeBSD binary pkg repo (speaking under correction, I usually use ports.) -Coert From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 09:52:32 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD25AA9B for ; Wed, 25 Feb 2015 09:52:32 +0000 (UTC) Received: from an41.mxout.mta3.net (an41.mxout.mta3.net [192.99.26.40]) by mx1.freebsd.org (Postfix) with SMTP id 82FA6ADA for ; Wed, 25 Feb 2015 09:52:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=elasticemail.com; h=MIME-Version:Subject:Date:From:Reply-To:To:Message-ID:List-Unsubscribe:Content-Type; q=dns/txt; s=api; t=1424857948; bh=cScpLYhRdC66TG80sprnrGZjY7E=; b= YZbgfRpDb9Y7kMmdnog2TH1aDauyA5M3fO3UcBcRLZz1EOJ55oEBZ7iDGHxCUgqbfDCATuNurhZE7KD/03ue9ZxkPB6tT/BFK27r5UEW4AiP9Im7WzsGPmq7pKqE+mFdVq3enU/wN8VyiWxOOIRePFIatoMmOWoD7Ga7hHcr524= From: Karl-Philipp Richter To: freebsd-questions@freebsd.org Date: Wed, 25 Feb 2015 09:52:31 +0000 Subject: Shouldn't deprecated ports support make clean? Message-Id: <4tuf0a4gi8m8.ma9n39-4c1l2cp2cz4g6b@api.elasticemail.com> Reply-To: Karl-Philipp Richter Sender: Elastic Email X-Mailer: api.elasticemail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-w7m9xs4b4vb0lDVJS2KMeg==" 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 Feb 2015 09:52:32 -0000 --=-w7m9xs4b4vb0lDVJS2KMeg== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Shouldn't deprecated ports support make clean in order make `make clea= n` callable recursively from `/usr/ports/`? Consider `/usr/ports/benchmarks/expedite` in FreeBSD 9.3. It doesn't have `clea= n` target and consequently breaks `make clean` in `/usr/ports/`. Is that = a bug or intended for some reason? -Kalle = --=-w7m9xs4b4vb0lDVJS2KMeg== Content-Type: application/pgp-signature Content-Disposition: attachment; filename=signature.asc Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxDQoNCmlR RWNCQUVCQWdBR0JRSlU3WnNaQUFvSkVHYWRLSjhlSjdaR2U5WUgvM01kcUZneHExazdUakQ4 aldSMDBvTm0NCjdGbXhhTFVIem83dnFiUG9JZndnT0I5QUxUVlVFaUUrUHNCL1NPM25UeWZT S3VwTjRlZ2lKdFRJY3F3TERoMFMNCnE3WUJrbU8zWE53M0c0Q0x3R3VpSTJPMTdEWnRpM3RZ WkpINS81MGVPUlJBUlBHSkl4ckgwM3lxOEYyNzdybjcNCklXZzZzRUZIaEZSa09VMHM3dnJa blc3VmI4T25MelJPU1RmZmVGdlJpdWFvSk9BVDBneUdXa1ArRDVGcDhldloNCmdqV0JFa0hD aGx3cGxEdmt4ak5nZURYQXMwUzg2ckhiVnRhSUJuNithcmtjZ3IzNDBVQkhNU1hTclhNSktl Q3MNCkhab3V3bnhad0FpVVo1c0dyeWkwbiszcEdGWDFMSHl4aG1YVzk3REd5dnMycVRVV3Yv c1Y5dERFRnpaRFZOOD0NCj1hbVFCDQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg== --=-w7m9xs4b4vb0lDVJS2KMeg==-- From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 10:16: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 07DA15C5 for ; Wed, 25 Feb 2015 10:16:40 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::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 89744D6D for ; Wed, 25 Feb 2015 10:16:39 +0000 (UTC) Received: by wghl2 with SMTP id l2so2594048wgh.9 for ; Wed, 25 Feb 2015 02:16:38 -0800 (PST) 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=sETs9oLl7KkdIjQL2ZNKAWQaejS6pekrX6OUvlcxAPQ=; b=KFiRsnhTVXTgjkK0uvc4UC9maasAuTN8C7Tg8vRTfLj+spaEqQS+DDwwvtiUqxtj9+ LuhIuFCce/n2joFxLX3MHeXr+8Ytxbfiv0PDmk0BbT/CLfLjXpQih16DJk97xyT0kMGd homByulIJKO0TwRT74Jhw2QMlHiED4MCLBC2EatW509pWEGWR4L+9+u5y75tWAUd0d/C cYy48P6YiQMbVK+amzZHRnRL56KYbK4KKBkC3NVkHa5tRR5GqNc2Fyu87SzO920MCoDW +ydU0R/QdOl7+BSSWNIkGkwEUqFO57QhTeMk00WmQIMVihwh6eQizEKlcf50amWncaYW R9KQ== MIME-Version: 1.0 X-Received: by 10.180.108.13 with SMTP id hg13mr5014285wib.7.1424859397652; Wed, 25 Feb 2015 02:16:37 -0800 (PST) Received: by 10.194.241.132 with HTTP; Wed, 25 Feb 2015 02:16:37 -0800 (PST) In-Reply-To: <4tuey3akkcb4.ma9n39-4c0vk8az116k5a@api.elasticemail.com> References: <4tuey3akkcb4.ma9n39-4c0vk8az116k5a@api.elasticemail.com> Date: Wed, 25 Feb 2015 18:16:37 +0800 Message-ID: Subject: Re: How to fix error `cached package a-x.y.z: size mismatch, cannot continue` during `pkg upgrade`? From: Ben Woods To: Karl-Philipp Richter 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: Wed, 25 Feb 2015 10:16:40 -0000 I thought pkg(8) automatically deleted packages if they are the wrong size, avoiding the need for a pkg clean? Regardless, the following command will delete ALL cached packages (even those that are still current). This means if you needed to reinstall the packages, they will first need to be re-downloaded from the package repository: # pkg clean -a Note: if the package you are downloading keeps having the wrong file size/hash, it is probably the wrong size/hash on the server you are downloading it from, meaning this solution will not help. This could be because it is corrupt on the server, or simply because the server is half way through syncing it's package mirror and the file download is incomplete. Perhaps waiting a few hours will help in this case. Regards, Ben On Wednesday, February 25, 2015, Karl-Philipp Richter < richter@richtercloud.de> wrote: > Hi, > According to `man pkg` `pkg clean` should fix the issue, but doesn't. Is > that a bug? Experienced with `pkg` 1.4.12 on FreeBSD 10.1. > > -Kalle > > -- -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 10:25: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 6E605A6F for ; Wed, 25 Feb 2015 10:25:16 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::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 F1FC2E5C for ; Wed, 25 Feb 2015 10:25:15 +0000 (UTC) Received: by wggy19 with SMTP id y19so2622911wgg.10 for ; Wed, 25 Feb 2015 02:25:14 -0800 (PST) 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=XZz4Kuya6JvpkNpJL+znO6J+MHVZiN2Xs6t2JIQ49T0=; b=Vd3USG8/IZQaDUf4dquCa0nmvbKb4urBiiWqMVEj7eItdKTMS5xXYkFsnTNGaMxjqm Rjy3ILN2d4jHUaGxQhwqMJJGYkgpc1ufBKi2UIG/dSr6tNRkUw0MfLCuXVLf03BIRLij Q+Ab8BuTLTLfPpje5Znq50JrGgdJ3WC20d09q5cDQPi8AWP0XrXz0FtOovrQsdMSQqf+ OWNsIbEGfPJHsmZ2G0icEVQr2xYfJCIggrXgelhNgoNM6zEfLQp/Ccg7bjRXBgMSGTXJ SSFE+S5WxGvly+WAastzYpVOUw5dFSI2Hxohx//eGwzbK5CBepMfbkVASGORGiGXYexa SzmQ== MIME-Version: 1.0 X-Received: by 10.195.13.104 with SMTP id ex8mr4980251wjd.12.1424859913443; Wed, 25 Feb 2015 02:25:13 -0800 (PST) Received: by 10.194.241.132 with HTTP; Wed, 25 Feb 2015 02:25:13 -0800 (PST) In-Reply-To: <4tuf0a4gi8m8.ma9n39-4c1l2cp2cz4g6b@api.elasticemail.com> References: <4tuf0a4gi8m8.ma9n39-4c1l2cp2cz4g6b@api.elasticemail.com> Date: Wed, 25 Feb 2015 18:25:13 +0800 Message-ID: Subject: Re: Shouldn't deprecated ports support make clean? From: Ben Woods To: Karl-Philipp Richter 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: Wed, 25 Feb 2015 10:25:16 -0000 A few comments: 1. The port benchmarks/expedite is not deprecated - it is alive and valid. In fact, the package was last built on 9.3 only 6 days ago. 2. The 'make clean' command DOES still work on deprecated packages. The deprecated warning is only an advisory message. Perhaps you should tell us when you last updated your ports tree, and what your exact command and error message was? Cheers, Ben On Wednesday, February 25, 2015, Karl-Philipp Richter < richter@richtercloud.de> wrote: > Hi, > Shouldn't deprecated ports support make clean in order make `make clean` > callable recursively from `/usr/ports/`? Consider > `/usr/ports/benchmarks/expedite` in FreeBSD 9.3. It doesn't have `clean` > target and consequently breaks `make clean` in `/usr/ports/`. Is that a > bug or intended for some reason? > > -Kalle > > -- -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 10:42: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 DE260D93; Wed, 25 Feb 2015 10:42:10 +0000 (UTC) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::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 A9800AA; Wed, 25 Feb 2015 10:42:10 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id gq1so2960225obb.2; Wed, 25 Feb 2015 02:42:09 -0800 (PST) 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=QPmc1r7ZmHvDdnhmhJmADgYUeFb/JLG/OtTtnnHCzxc=; b=yKiD00tkhLeBZyd677tegYNWMQnWLsm1ydzM5INCcV67Tb3QNdCtPDPpVL8k3PurzO JbPw/3CMGMNatv9E/N11cwvbanfbF0lwyvPHoFoMNvANU4/ROk2nvd0hYdWEt8ko2BsO MCOmg0MF12fNG0IQhyHuW6vvl3P/lehlY3NdwRMvHEj/s7Q+fiwz//v4o+bApPH67vOK o6LNiqynEGQzQxYQ/VmY/CvEQbrRy3wUUQNQOyagiWLfJYY9qZTodWKXZsfCMcVIotTT NVntHaY/V6f99a4hXHVYCMyG5XI4Vv5J2KD+sdvnJlOKmw9eNHm/+A9zLs7HFqvx4lft znMQ== MIME-Version: 1.0 X-Received: by 10.202.77.75 with SMTP id a72mr1604476oib.49.1424860929574; Wed, 25 Feb 2015 02:42:09 -0800 (PST) Received: by 10.60.140.199 with HTTP; Wed, 25 Feb 2015 02:42:09 -0800 (PST) In-Reply-To: <591A0ED4-FEE7-4190-9836-15E151D01B80@lrw.com> References: <591A0ED4-FEE7-4190-9836-15E151D01B80@lrw.com> Date: Wed, 25 Feb 2015 05:42:09 -0500 Message-ID: Subject: Re: [Cryptography] trojans in the firmware From: grarpamp To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: cypherpunks@cpunks.org, freebsd-security@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 Feb 2015 10:42:11 -0000 On Tue, Feb 24, 2015 at 10:48 AM, Kay Rydyger wrote: > > The question was [... firmware spies] > The answer is [...] to encrypt data. No, reading bits from platters or the bus is a partial analysis of the whole firmware question. It's already been suggested in links how firmware can hook the users unencrypted boot binaries through to the users kernel. For that matter, a modified boot chain could be stored in the service area. A user would have to use SecureBoot, TPM, IOMMU, TXT, GELI and perhaps other things, all of them properly, having no holes, together, right now, at least three of which they are unlikely to have ubiquitous access to until a couple hardware generations or personal refresh cycles into the future. An ideal full solution for which is yet to come. Not to mention needing to install it all cleanly (from BTW, an install image which has no reproducible build and no cryptographic chain back to the insecure unsigned source repo anyways). But yeah, let's talk circular instead of about possible actually coding defense in depth such as maybe blocking the most common easiest path a malicious opcode will likely take to irrepairably infect clean hardware in the first place... through the drivers ... > There is no threat to freebsd ... because at least Unix is said to be immune to threat... http://www.freebsd.org/security/advisories.html http://www.openbsd.org/errata56.html http://web.nvd.nist.gov/view/vuln/search-results?query=linux+kernel&search_type=last3years&cves=on > Weaknesses of this measure are remote and highly costly for the > attacker. If one is such a person of interest It's already been talked how this tech will be integrated into everyday run of the mill malware. And how users will be subject to infected drives via second purchase, inheritance (both from other people and from other operating systems), use of hosting services, trading, booting CD's, etc. Persistant malware in users boot chains is nasty, users don't have to be of interest or be targeted, the code doesn't care, grandma's surfbox could get it. Please learn to email... trim the original to the minimum needed for context, reply inline below, and stop copying 400 line digests with meaningless digest subject lines out to everyone on the list. On whenever, someone else wrote: > Since the chip holding the firmware has > leads through which it is loaded with the firmware, > is it not possible to disable or burn (with laser) or cut > just the leads through which the chip is WRITTEN to > (in order to re-program it)? Depends on the design. The hacking links or docs from the drive/chip vendors would be more helpful there. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 14:43:25 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 77C554B9 for ; Wed, 25 Feb 2015 14:43:25 +0000 (UTC) Received: from nm48.bullet.mail.bf1.yahoo.com (nm48.bullet.mail.bf1.yahoo.com [216.109.114.64]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F3E1BA for ; Wed, 25 Feb 2015 14:43:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1424875272; bh=TwUX0hfI/P9ACcQjx3/RID9jFOKmKo8L0o1VOWcthBM=; h=Date:From:Reply-To:To:Subject:From:Subject; b=SGvVSVRf1Bmx3RNdi0+5BhrlCVrxoygAZ2GZln5tXQowwVwbaQbS5UnkY1bHemhmNHn9961nQtc50bPGaPawBh7Fx+sx7nRKrufY86ylcFxe5ME0WHDT9wIrAvNH76oOmmsFiPCwoCU26WlkkRH1uHHf6hVJlO4q0+EmoOCfqjvTiViG+z3RF0tjgPnQG3TLS9RNjIY+JTnwPZyUNrU5Jyjj8iGLX/zCj8E6Byfw+/C8IRfU2PvHUB0uyRzXI/soYCMo7jkycJrY9lfiuIeKYj2HL1SAFJTzHt7ricMzKiUH7OT2l2FbdFh2ofD21UaEKRZDAapAsG/lUW7Der2gkQ== Received: from [98.139.215.140] by nm48.bullet.mail.bf1.yahoo.com with NNFMP; 25 Feb 2015 14:41:12 -0000 Received: from [98.139.212.213] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 25 Feb 2015 14:41:12 -0000 Received: from [127.0.0.1] by omp1022.mail.bf1.yahoo.com with NNFMP; 25 Feb 2015 14:41:12 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 776524.19078.bm@omp1022.mail.bf1.yahoo.com X-YMail-OSG: qj2MA3YVM1n4U_dylhZfbiGyBqA1RNtz68FNBZPbKVPDBd6LKaFyHVmOQvXPvWl 5uT0GHnxuOEWaVGvH8YtpZdhVwoWrVe1XIYU2vjbBnqtx4AE3JlQYgi4SQPLgPQMVjBlIiJ_hF8e h7HPFIHLz1BbPBgPPN3vU.WDL0nEBvSFXN8RA2HGKmcGA_EIjQ2Zih.m0fyhA7BmFsSgKmYO13n9 NHM8yjs45xlp.Ag6Yz8d3PRNf60MkoJbhjsoTnW4uH529rZCPYPsJZJ_fWFiZsrh0x5WsphdgJOS nouCVCbR6ZBV8NQDEJuLnbEVIn5m4q.dL_fq7Kxv830OGGJwuaFS2.WnN3PcNL6iXLUgO10BjM8Z 3fFLr.qvpafv71sVSlxKHdjrMAMr0bV5yBjFMX.o.zOAYsCwlNF2TyjgYuPLuhIcoEK_AeuZV_lY 1nQwVYnF4Q97JNP4Hc7cVLfhu0bydBZOY9HOahwwuJBtXyyJixNkNb4jeytocPJaR4pjRR3Cv.CX ihZpVkdvypdPEFHo7rbMGxGRTxaW29EKSW7wCjyqAc7z7OJbNb0bVLza9R6GrUAybMPMdPIhAw9N h1nPX8UCTf3n2EYWDMId51DIiX2eAW3ZJdpbUFW2l3YY1nGSUCckIhl6JgY5.hcOHE5rUEWkn3KO IZEVrPkhgpKVoWixp5Q-- Received: by 66.196.80.193; Wed, 25 Feb 2015 14:41:12 +0000 Date: Wed, 25 Feb 2015 14:41:11 +0000 (UTC) From: Laszlo Danielisz Reply-To: Laszlo Danielisz To: "freebsd-questions@freebsd.org" Message-ID: <853117103.10687783.1424875271865.JavaMail.yahoo@mail.yahoo.com> Subject: mkbuildinf.pl: No such file or directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 Feb 2015 14:43:25 -0000 On=C2=A0FreeBSD 10.1-RELEASE-p5 I met the following issue: # freebsd-update fetch# freebsd-update installInstalling updates...install:= ///usr/src/crypto/openssl/util/mkbuildinf.pl: No such file or directory=C2= =A0done. A workaround is creating the missing directories:mkdir -p /usr/src/crypto/o= penssl/util/ If you have a better solution please let us now.A bug has been submitted al= ready:=C2=A0https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198030 Best,Laszlo From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 14:47:46 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89E226AE for ; Wed, 25 Feb 2015 14:47:46 +0000 (UTC) Received: from st11p00mm-asmtp004.mac.com (st11p00mm-asmtpout004.mac.com [17.172.81.3]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C291104 for ; Wed, 25 Feb 2015 14:47:45 +0000 (UTC) Received: from [192.168.1.10] (66-188-153-21.dhcp.stcd.mn.charter.com [66.188.153.21]) by st11p00mm-asmtp004.mac.com (Oracle Communications Messaging Server 7.0.5.33.0 64bit (built Aug 27 2014)) with ESMTPSA id <0NKC00F1213C2Z60@st11p00mm-asmtp004.mac.com> for freebsd-questions@freebsd.org; Wed, 25 Feb 2015 14:47:38 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-25_05:2015-02-25,2015-02-25,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1502250152 Message-id: <54EDE092.10309@icloud.com> Date: Wed, 25 Feb 2015 08:47:46 -0600 From: Brandon Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-version: 1.0 To: Laszlo Danielisz Subject: Re: mkbuildinf.pl: No such file or directory References: <853117103.10687783.1424875271865.JavaMail.yahoo@mail.yahoo.com> In-reply-to: <853117103.10687783.1424875271865.JavaMail.yahoo@mail.yahoo.com> Content-type: text/plain; charset=utf-8; format=flowed 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: Wed, 25 Feb 2015 14:47:46 -0000 Do you have a /usr/src directory? AFAIK freebsd-update spits that error out when it can't find the directory in question. it can create files but not directories. So if you don't have a /usr/src that error would happen as it cannot create /usr/src/crypto/openssl/util On 2/25/2015 8:41 AM, Laszlo Danielisz via freebsd-questions wrote: > On FreeBSD 10.1-RELEASE-p5 I met the following issue: > # freebsd-update fetch# freebsd-update installInstalling updates...install: ///usr/src/crypto/openssl/util/mkbuildinf.pl: No such file or directory done. > A workaround is creating the missing directories:mkdir -p /usr/src/crypto/openssl/util/ > > If you have a better solution please let us now.A bug has been submitted already: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198030 > Best,Laszlo > _______________________________________________ > 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 Feb 25 15:48: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 E0C3F8C6 for ; Wed, 25 Feb 2015 15:48:08 +0000 (UTC) Received: from smtprelay-b21.telenor.se (smtprelay-b21.telenor.se [195.54.99.212]) (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 654789D8 for ; Wed, 25 Feb 2015 15:48:07 +0000 (UTC) Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b21.telenor.se (Postfix) with ESMTP id BF626144E3 for ; Wed, 25 Feb 2015 16:25:27 +0100 (CET) X-SENDER-IP: [83.227.180.133] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BiCQDs6O1U/4W041NbgwJSWsMbhXIEAgKBIkQBAQEBAQF8hBABBTocIxALDgoJExIPBRgBDCSIRgHVUwEBAQEBAQQBAQEBAQEcixOEHQEBTweDF4EUBZM8hWQBgRuOZYM+IoF/H4FRPTGBC4E4AQEB X-IPAS-Result: A2BiCQDs6O1U/4W041NbgwJSWsMbhXIEAgKBIkQBAQEBAQF8hBABBTocIxALDgoJExIPBRgBDCSIRgHVUwEBAQEBAQQBAQEBAQEcixOEHQEBTweDF4EUBZM8hWQBgRuOZYM+IoF/H4FRPTGBC4E4AQEB X-IronPort-AV: E=Sophos;i="5.09,645,1418079600"; d="scan'208";a="179689012" Received: from ua-83-227-180-133.cust.bredbandsbolaget.se (HELO ymer.thorshammare.org) ([83.227.180.133]) by ipb1.telenor.se with ESMTP; 25 Feb 2015 16:25:26 +0100 Received: by ymer.thorshammare.org (Postfix, from userid 1002) id 5FB741125E3; Wed, 25 Feb 2015 16:27:32 +0100 (CET) Date: Wed, 25 Feb 2015 16:27:32 +0100 From: Hasse Hansson To: Godfrey Hamshire Subject: Re: Help requested with pf.conf firewall script Message-ID: <20150225152732.GA78280@ymer.thorshammare.org> References: <0B6F89C4C603445FA59AEB72931207A0@workstation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0B6F89C4C603445FA59AEB72931207A0@workstation> User-Agent: Mutt/1.5.23 (2014-03-12) 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 Feb 2015 15:48:09 -0000 On Sat, Feb 21, 2015 at 06:29:29PM +0200, Godfrey Hamshire wrote: > Help requested with pf.conf > > Hello > > I would be most greatful if some kind member could assist me. > > I am in the process of setting up a mail/web server etc. > > I want to be able to block ip's that try brute force attacks and those that try and break in using hundreds of usernames and passwords. > > I found this set of rules as set out below, they are not mine but belong to K.Andreev, there is nothing wrong with them, I just want to be able to ping and traceroute from the server and cant. > > I have tried all sorts combinations with the last line, from various sites via google and cant get it to ping or any of that stuff. Not being too clued up on this aspect I am asking for assistance. > > This is what I am getting when I try to ping. > > PING dns.cdoc.co.za (41.185.26.52): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > > If to save a lot of hassel the reader of this has a working pf.conf that allows blocking of ip's that endlessly try to break in or one I can add trouble some ip's to a table to that would be really cool. > > Here is the rule set I am asking for help with > > Thank you for your time trouble and help it will be appreciated. > > Kind regards > > Godfrey > > > > > # pf config - K.Andreev 20140604 > > ext_if = "vr0" > > set loginterface $ext_if > > set skip on lo > > table persist > > table persist file "/etc/blocked_subnets" > > tcp_pass = "{ 21 22 26 25 53 80 443 587 993 995 10000}" > > udp_pass = "{ 21 53 }" > > block all > > block in log quick on $ext_if from to any > block out log quick on $ext_if from any to > > block quick from > > pass quick proto { tcp, udp } from any to any port ssh \ > flags S/SA keep state \ > (max-src-conn 15, max-src-conn-rate 5/3, \ > overload flush global) > > pass log on $ext_if proto tcp to any port $tcp_pass keep state > > pass out on $ext_if proto udp to any port $udp_pass keep state > > pass inet proto icmp from any to any keep state > > > ______________________________________________ Hello Here is two of my pf rules. The first is for ping and the latter one for traceroute. pass in on $ext_if inet proto icmp from any to ($ext_if) icmp-type { unreach, redir, timex } pass out on $ext_if inet proto udp from any to any port 33433 >< 33626 keep state /hasse _ From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 16:47:59 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 DABD7841 for ; Wed, 25 Feb 2015 16:47:59 +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 87045188 for ; Wed, 25 Feb 2015 16:47:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t1PGllqA071469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 25 Feb 2015 09:47:47 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id t1PGlk31071466; Wed, 25 Feb 2015 09:47:47 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 25 Feb 2015 09:47:46 -0700 (MST) From: Warren Block To: Matthias Petermann Subject: Re: Vinum ... to oblivion? In-Reply-To: <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> Message-ID: References: <1424718731.3100.16.camel@inhio.eu> <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 25 Feb 2015 09:47:47 -0700 (MST) Cc: questions@freebsd.org, asv 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 Feb 2015 16:47:59 -0000 On Tue, 24 Feb 2015, Matthias Petermann wrote: > Am 2015-02-23 20:12, schrieb asv: >> Hi everyone, >> I sadly realised that the gvinum section in handbook is gone (possibly >> since quite a while already). Nonetheless the tool is still available on >> 10.1-RELEASE. >> But I don't understand why bringing this valuable tool to oblivion as I >> don't see other alternatives to (for example) achieve the following: >> MIRRORING + LVM + UFS2 (with MAC labels) > > A bit surprising to me, too. Haven't seen any note on gvinum deprecation. I'd > also be interested in lightweight alternatives. I currently use gvinum for on > the fly creation of volumes with UFS2 on a Raspberry Pi with just 512MB of > RAM. Here is the thread from July, 2013: https://lists.freebsd.org/pipermail/freebsd-doc/2013-June/022216.html I had proposed and even done the work to make that chapter into a separate article. Then I discarded it when it was pointed out that the existing version should be in the archives. Which it now... is not. With some effort, it could be resurrected into an article again. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 16:57:20 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 5863ADBF for ; Wed, 25 Feb 2015 16:57:20 +0000 (UTC) Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::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 133C032F for ; Wed, 25 Feb 2015 16:57:20 +0000 (UTC) Received: by ykp131 with SMTP id 131so1439413ykp.3 for ; Wed, 25 Feb 2015 08:57:19 -0800 (PST) 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=Y0h2TdafCBNHHLlGghQvVDYlrHvR5ZReZ/YeSAZgARA=; b=RL4b7WNJDRiq9ABlGPjihIy46hXRB+kcWFR+57+Y9V4rgwkHW+s6WyT7f5EUek0JC+ TU78CbUUyzzfEX01XPgkmLQofW+7HqfTM86Czq6AZPqBceXZhHX7bOF8pDweRVOqbmY2 d6rG8ZC+BqLoCre30mTf33RakTGrwama8o5g3Bw9Fkik7Z74/C5z5ukdH9L103u+DjBk nb3kR3rtRGoQiBUzSAza4t9CXD4nVBSVvKkv9PpfBqs575mXN/bDPTGnudAuJflRVlbp pB32ihzrNHD5z++hlOvrmM6tXtRS6h0L2fHeH47ogET0z0DKD8k0KVPhinl1Swh3E2do jLWg== MIME-Version: 1.0 X-Received: by 10.236.21.163 with SMTP id r23mr3655717yhr.141.1424883439207; Wed, 25 Feb 2015 08:57:19 -0800 (PST) Received: by 10.170.64.17 with HTTP; Wed, 25 Feb 2015 08:57:19 -0800 (PST) In-Reply-To: References: <1424718731.3100.16.camel@inhio.eu> <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> Date: Wed, 25 Feb 2015 12:27:19 -0430 Message-ID: Subject: Re: Vinum ... to oblivion? From: Alberto Mijares To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: "questions@freebsd.org" , Matthias Petermann , asv 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 Feb 2015 16:57:20 -0000 > > I had proposed and even done the work to make that chapter into a separate > article. Then I discarded it when it was pointed out that the existing > version should be in the archives. Which it now... is not. > > With some effort, it could be resurrected into an article again. The book The Complete FreeBSD, by Greg Lehey, has a chapter covering vinum and it almost hasn't change since then (AFAIK). The book is part of the FreeBSD documentation project, so it could be referenced from the handbook or a starting point for the proposed article. Regards, Alberto Mijares From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 17:20: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 A8D5E8D8 for ; Wed, 25 Feb 2015 17:20:57 +0000 (UTC) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010: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 2A75286B for ; Wed, 25 Feb 2015 17:20:57 +0000 (UTC) Received: by labgm9 with SMTP id gm9so5437620lab.2 for ; Wed, 25 Feb 2015 09:20:55 -0800 (PST) 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=rDzxgmJ2MakQbjxBthkS5XGBuMZrl5/yDGpVlq2QISg=; b=xb1/WC7znYnER/TYKKSlLoehNFBvYMMLgi8FnT8n2EnvLjT+q9HAGOo5A8U7skeGS5 wedyPaR9ig/pNGjx9/eray0aDaQ9Vxij+Ry03K9kjHPFhrsF4i4/gUHpsvt8YJ7fUKTk /pU1wqSDMiGTXQN1NWAZGesXbCHknrl9bElycYR9HO3BZj519iYSMDg1rN0IWVg2fiaP s6S9HiKXFDIDYIcsovOHCtBykCwQ2iDypg4mJ261Q7j418pXBiatSsiyEH1du3YzUvXC 8aJerREbU1KZBaZMzRRMLO/mMgDuPSTdHxbKwinwp8lGQmGK1QYe+TfYiomD+t9bC2F+ hAig== MIME-Version: 1.0 X-Received: by 10.112.242.163 with SMTP id wr3mr3718321lbc.98.1424884855194; Wed, 25 Feb 2015 09:20:55 -0800 (PST) Received: by 10.25.34.68 with HTTP; Wed, 25 Feb 2015 09:20:55 -0800 (PST) Date: Wed, 25 Feb 2015 11:20:55 -0600 Message-ID: Subject: deleted /etc/login.conf.db From: Andrew Gould To: FreeBSD Mailing List 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: Wed, 25 Feb 2015 17:20:57 -0000 I accidentally deleted /etc/login.conf.db on one of my computers. 1. How bad have I messed up? 2. Is it something the system will recreate automatically? 3. Are there steps that I need to take to recreate it? Thanks, Andrew From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 17:25: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 E3CB5BB6 for ; Wed, 25 Feb 2015 17:25:38 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A21E8982 for ; Wed, 25 Feb 2015 17:25:38 +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 6EA1727761; Wed, 25 Feb 2015 18:25:30 +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 t1PHPT6U002802; Wed, 25 Feb 2015 18:25:30 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 25 Feb 2015 18:25:29 +0100 From: Polytropon To: Andrew Gould Subject: Re: deleted /etc/login.conf.db Message-Id: <20150225182529.5f3814d2.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 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 Feb 2015 17:25:39 -0000 On Wed, 25 Feb 2015 11:20:55 -0600, Andrew Gould wrote: > I accidentally deleted /etc/login.conf.db on one of my computers. > > 1. How bad have I messed up? Not much. :-) > 2. Is it something the system will recreate automatically? Probably not. > 3. Are there steps that I need to take to recreate it? That's simple: "cap_mkdb -f /etc/login.conf.db /etc/login.conf". See "man cap_mkdb" for details. Simple solutions for simple mistakes. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 17:26:28 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A3AEC53 for ; Wed, 25 Feb 2015 17:26:28 +0000 (UTC) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010: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 157A3999 for ; Wed, 25 Feb 2015 17:26:28 +0000 (UTC) Received: by lamq1 with SMTP id q1so5447994lam.5 for ; Wed, 25 Feb 2015 09:26:26 -0800 (PST) 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=PA2XZe5qfWZ3799YcND8zPvVja+Bq9Ax1E2N2Icp54w=; b=GQQWqKPk+gebpcfAmyzhCoKEot91l21+2I3Yp280QVClu7Yc+/jHl4igxmPbje5kmn QYUwHg962d506palG5cWIgxJ1sY4HGmFUQFN3fEISemYp6H7H0YWKofaean5elAgmZHo lyxQWENVjASJnMfYWmqgz5PhdH6vT3gOy32QFKh0F4n7qHnE0AgR+lKBARVClO3h7x5s L332h8M6Vbi5zY3FjNfwsWplQO6a3Q3zlUxgCFpVMTOk2Z2MNn1Hym8XXLuC/vmMIHzO 7R8T6wlTPt/KidgGrrXoF6OQQmGXeghE6oDqc0PwIliK8Z1xzoChPwttPBUd1XPxe3A7 eb6w== MIME-Version: 1.0 X-Received: by 10.112.167.36 with SMTP id zl4mr4010143lbb.32.1424885186093; Wed, 25 Feb 2015 09:26:26 -0800 (PST) Received: by 10.25.34.68 with HTTP; Wed, 25 Feb 2015 09:26:26 -0800 (PST) In-Reply-To: <20150225182529.5f3814d2.freebsd@edvax.de> References: <20150225182529.5f3814d2.freebsd@edvax.de> Date: Wed, 25 Feb 2015 11:26:26 -0600 Message-ID: Subject: Re: deleted /etc/login.conf.db From: Andrew Gould To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD 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 Feb 2015 17:26:28 -0000 On Wed, Feb 25, 2015 at 11:25 AM, Polytropon wrote: > On Wed, 25 Feb 2015 11:20:55 -0600, Andrew Gould wrote: > > I accidentally deleted /etc/login.conf.db on one of my computers. > > > > 1. How bad have I messed up? > > Not much. :-) > > > > > 2. Is it something the system will recreate automatically? > > Probably not. > > > > > 3. Are there steps that I need to take to recreate it? > > That's simple: "cap_mkdb -f /etc/login.conf.db /etc/login.conf". > See "man cap_mkdb" for details. Simple solutions for simple > mistakes. :-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > Thank you!!! From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 18:00:22 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 73519E8A for ; Wed, 25 Feb 2015 18:00:22 +0000 (UTC) Received: from wnls-smtp7.wa.co.za (wnls-smtp7.wa.co.za [41.185.62.212]) by mx1.freebsd.org (Postfix) with ESMTP id B7F33D2D for ; Wed, 25 Feb 2015 18:00:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by wnls-smtp7.wa.co.za (Postfix) with ESMTP id C84ED7F954 for ; Wed, 25 Feb 2015 19:59:35 +0200 (SAST) X-Quarantine-ID: X-Virus-Scanned: Debian amavisd-new at wnls-smtp1.wa.co.za X-Spam-Flag: NO X-Spam-Score: -0.893 X-Spam-Level: X-Spam-Status: No, score=-0.893 tagged_above=-999 required=6 tests=[ALL_TRUSTED=-1.8, BAYES_50=0.8, HTML_MESSAGE=0.107] autolearn=disabled Received: from wnls-smtp7.wa.co.za ([127.0.0.1]) by localhost (wnls-smtp7.wa.co.za [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ITRVnD-WWHJb for ; Wed, 25 Feb 2015 19:59:35 +0200 (SAST) Received: from workstation (admin.cnet.co.za [41.185.32.164]) by wnls-smtp7.wa.co.za (Postfix) with SMTP id 316FA7F921 for ; Wed, 25 Feb 2015 19:59:35 +0200 (SAST) Message-ID: Reply-To: "Godfrey Hamshire" From: "Godfrey Hamshire" To: "FreeBSD Users" Subject: Updating to FreeBSD 10.1-RELEASE-p6 gives error at end ? Date: Wed, 25 Feb 2015 20:00:21 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Content-Type: text/plain; charset="iso-8859-1" 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 Feb 2015 18:00:22 -0000 Hello=20 I dont know if this is a concern or not but at the end of updateing=20 freebsd-update fetch you get this message The following files will be added as part of updating to = 10.1-RELEASE-p6: /usr/src/crypto/openssl/util/mkbuildinf.pl and at the end of install you get this message.=20 freebsd-update install Installing updates...install: = ///usr/src/crypto/openssl/util/mkbuildinf.pl: No such file or directory I see there is a bug report out=20 https://www.mail-archive.com/freebsd-bugs@freebsd.org/msg21237.html I rebooted my machines and they working fine. Any need for concern? Just = wondering.=20 Regards Godfrey From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 18:29:30 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA57AB95 for ; Wed, 25 Feb 2015 18:29:30 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 82C3E129 for ; Wed, 25 Feb 2015 18:29:30 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id 0105433C22; Wed, 25 Feb 2015 13:29:24 -0500 (EST) From: Lowell Gilbert To: Andrew Gould Subject: Re: deleted /etc/login.conf.db References: <20150225182529.5f3814d2.freebsd@edvax.de> Date: Wed, 25 Feb 2015 13:29:23 -0500 In-Reply-To: (Andrew Gould's message of "Wed, 25 Feb 2015 11:26:26 -0600") Message-ID: <448ufllu9o.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: FreeBSD 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 Feb 2015 18:29:30 -0000 Andrew Gould writes: > On Wed, Feb 25, 2015 at 11:25 AM, Polytropon wrote: > >> On Wed, 25 Feb 2015 11:20:55 -0600, Andrew Gould wrote: >> > I accidentally deleted /etc/login.conf.db on one of my computers. >> That's simple: "cap_mkdb -f /etc/login.conf.db /etc/login.conf". >> See "man cap_mkdb" for details. Simple solutions for simple >> mistakes. :-) > Thank you!!! "man login.conf" would have explained it to you... From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 18:30:57 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 98AEBC42 for ; Wed, 25 Feb 2015 18:30:57 +0000 (UTC) Received: from cz-prg-mx-01.inhio.eu (178-238-36-224.static.masterinter.net [178.238.36.224]) by mx1.freebsd.org (Postfix) with ESMTP id 58C21143 for ; Wed, 25 Feb 2015 18:30:56 +0000 (UTC) Received: from [10.0.1.5] (titanio.inhio.eu [10.0.0.21]) by cz-prg-mx-01.inhio.eu (Postfix) with ESMTPSA id 7D4E361580; Wed, 25 Feb 2015 18:30:48 +0000 (UTC) Message-ID: <1424889048.5033.10.camel@inhio.eu> Subject: Re: Vinum ... to oblivion? From: asv To: Alberto Mijares Date: Wed, 25 Feb 2015 19:30:48 +0100 In-Reply-To: References: <1424718731.3100.16.camel@inhio.eu> <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" , Matthias Petermann 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 Feb 2015 18:30:57 -0000 I was never dealing with FreeBSD documentation (as an editor) therefore I wouldn't even know where to start to make a contribution of any kind. I'm working quite a lot these days with gvinum but this is the second time in my life I'm dealing with this tool (the first was about +3y ago and for some very simple RAID0 setup) so I don't know I would be able to add stuff in it at the moment but if there's something I can do I'm willing to (at least) try. On Wed, 2015-02-25 at 12:27 -0430, Alberto Mijares wrote: > > > > I had proposed and even done the work to make that chapter into a separate > > article. Then I discarded it when it was pointed out that the existing > > version should be in the archives. Which it now... is not. > > > > With some effort, it could be resurrected into an article again. > > > The book The Complete FreeBSD, by Greg Lehey, has a chapter covering > vinum and it almost hasn't change since then (AFAIK). The book is part > of the FreeBSD documentation project, so it could be referenced from > the handbook or a starting point for the proposed article. > > Regards, > > > Alberto Mijares From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 20:48: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 163DB8A6 for ; Wed, 25 Feb 2015 20:48:18 +0000 (UTC) Received: from e2.mxout.mta4.net (e2.mxout.mta4.net [96.45.68.2]) by mx1.freebsd.org (Postfix) with SMTP id C86556DD for ; Wed, 25 Feb 2015 20:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=elasticemail.com; h=MIME-Version:Subject:Date:From:Reply-To:To:Message-ID:List-Unsubscribe:Content-Type; q=dns/txt; s=api; t=1424896700; bh=XJkxlGMzndmYPkG6plhhHVJX5wU=; b= Q4zkdhb7HvipeGabQh27RylsXDwACJ2tL4PNNjz3l+Rw0rovbuTgAsTWkMNBchHMmiVvdSXnHuCshtXddwhJeYdBZdcMGmaoVewvNQTGwyVAQU4ykqmYF8KbQwTMkoobxQuvLoDTJRw1gAy0vy7iXCD7TaiWrUKK/HIw57BQKLE= From: Karl-Philipp Richter To: Ben Woods Date: Wed, 25 Feb 2015 20:38:15 +0000 Subject: Re: How to fix error `cached package a-x.y.z: size mismatch, cannot continue` during `pkg upgrade`? Message-Id: <4tuf5840yrgt.ma9n39-4c36ogit18eo6o@api.elasticemail.com> Reply-To: Karl-Philipp Richter Sender: Elastic Email X-Mailer: api.elasticemail.com Feedback-ID: ma9n39:9usw15l:ElasticEmailFBL MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-1b7MhP3wSwWdzjTDhlQXmg==" 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 Feb 2015 20:48:18 -0000 --=-1b7MhP3wSwWdzjTDhlQXmg== Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, It seems to have been a server issue. `pkg upgrade` just worked fine this evening. Thanks for the input! Best regards, Kalle Am 25.02.2015 um 11:16 schrieb Ben Woods: > I thought pkg(8) automatically deleted packages if they are the wron= g size, > avoiding the need for a pkg clean? >=20 > Regardless, the following command will delete ALL cached packages (e= ven > those that are still current). This means if you needed to reinstall= the > packages, they will first need to be re-downloaded from the package > repository: > # pkg clean -a >=20 > Note: if the package you are downloading keeps having the wrong file > size/hash, it is probably the wrong size/hash on the server you are > downloading it from, meaning this solution will not help. This could= be > because it is corrupt on the server, or simply because the server is= half > way through syncing it's package mirror and the file download is > incomplete. Perhaps waiting a few hours will help in this case. >=20 > Regards, > Ben >=20 >=20 > On Wednesday, February 25, 2015, Karl-Philipp Richter < > richter@richtercloud.de> wrote: >=20 >> Hi, >> According to `man pkg` `pkg clean` should fix the issue, but doesn'= t. Is >> that a bug? Experienced with `pkg` 1.4.12 on FreeBSD 10.1. >> >> -Kalle >> >> >=20 = --=-1b7MhP3wSwWdzjTDhlQXmg== Content-Type: application/pgp-signature Content-Disposition: attachment; filename=signature.asc Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxDQoNCmlR RWNCQUVCQWdBR0JRSlU3aktPQUFvSkVHYWRLSjhlSjdaR0ZVVUlBSkwra0RMZlNoVmZmQ3Vo TEtPQkkwTFoNCnBmck0xbDZpcWhBTGF0MWQvclRQaXc2WjRST0dWZmR3Qk5nYlV2UmlKRlNx eDlFVjF3NkprOUltQ1h1UGJGb3ANClNKOHloS3lCTmJySGlXblZ1eldQdG5Hd0pyS2RlWnhj MFB1RWFMQjY5K2VRNG1ueW40bC91L2ljaG9scmY3K1ANCkVudjFkdWRXU0pwRkpnR0k4UU9T R1BlbjhNUlhjWk56TDF3VG5TdVg4UlJ3UW5GVG9XbWxiYzl2dy9JbEZWSzYNCkxpdVk3TWZ4 MFIrMXlzREZ4VXN3cjV4aEtFSDBOY2FnVUNHYnhYZlRaZHFiRXBzTUVjL0FJQkZINm5xTFM5 Nm4NCk1RaVFHeGw2Mm55Ri95dEF3elRtT1JWcEVIbFRtN29QUXFidEpTVFNENk53SnIxamg1 VUpMRkE5TGVvdXJHND0NCj1rbW9jDQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg== --=-1b7MhP3wSwWdzjTDhlQXmg==-- From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 00:43: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 938B06F6 for ; Thu, 26 Feb 2015 00:43:33 +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 435DA3FF for ; Thu, 26 Feb 2015 00:43:32 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t1Q0hQic089197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 25 Feb 2015 17:43:26 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id t1Q0hPjg089194; Wed, 25 Feb 2015 17:43:25 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 25 Feb 2015 17:43:25 -0700 (MST) From: Warren Block To: Alberto Mijares Subject: Re: Vinum ... to oblivion? In-Reply-To: Message-ID: References: <1424718731.3100.16.camel@inhio.eu> <2f7bf7c43190bde301d726f64551ea3a@mail.d2ux.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 25 Feb 2015 17:43:26 -0700 (MST) Cc: "questions@freebsd.org" , Matthias Petermann , asv 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 Feb 2015 00:43:33 -0000 On Wed, 25 Feb 2015, Alberto Mijares wrote: >> >> I had proposed and even done the work to make that chapter into a separate >> article. Then I discarded it when it was pointed out that the existing >> version should be in the archives. Which it now... is not. >> >> With some effort, it could be resurrected into an article again. > > > The book The Complete FreeBSD, by Greg Lehey, has a chapter covering > vinum and it almost hasn't change since then (AFAIK). The book is part > of the FreeBSD documentation project, so it could be referenced from > the handbook or a starting point for the proposed article. That was where the Handbook vinum chapter originated. I have recreated the article: https://www.freebsd.org/doc/en_US.ISO8859-1/articles/vinum/ From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 04:16: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 2E95326F for ; Thu, 26 Feb 2015 04:16:20 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8A0B266 for ; Thu, 26 Feb 2015 04:16:19 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id l15so9635395wiw.3 for ; Wed, 25 Feb 2015 20:16:18 -0800 (PST) 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=7OSxZQQF59FQDN0y5N2mY1agIt8MsSkMCha16xrJ188=; b=gAc6z1vrBvJEmDAj7yzcmjJCpfNx3nlLBwQlyTl156yCkduv8ifRQS0Q8RjLADnK/X I1qUT6ioUv0wFvT+vquOGSKHHCkuULTgka01UAj68ufa58Zo7MGScRgyCZOikxi3ODHz 5l2OWdQwVKrLnU6bd9JUJKvUs9jMqsv9K+/ucFDLOTHmzybNO+1Ak27zZ/lXQ7xgTs0B sC2krTz9TYeUP0XSHj9jfgO0DjxyxxhlZD6exhKoGvLDV6UcIgv3hYWiqN95T93hycee ph0WmHy9440dkpKPiyRi/tdeorT0kbHEcciGl8linKkhjQTTdb4CqeoU3rzU73Ijy+QF L/IQ== MIME-Version: 1.0 X-Received: by 10.194.78.144 with SMTP id b16mr12476258wjx.18.1424924178164; Wed, 25 Feb 2015 20:16:18 -0800 (PST) Received: by 10.181.8.102 with HTTP; Wed, 25 Feb 2015 20:16:18 -0800 (PST) Date: Thu, 26 Feb 2015 09:46:18 +0530 Message-ID: Subject: Install python 2.4.6 for an old apllication in a freebsd 10 system From: eras mus 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: Thu, 26 Feb 2015 04:16:20 -0000 Hi All, i have an old application which requires python 2.4.6 . I want it to be run in FreeBSD 10. Kindly help me to install Python 2.4.6 in FreeBSD 10. Please give the commands using which i can install Python 2.4.6 in FreeBSD 10. Thanks in Advance. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 07:15:46 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 364DF849 for ; Thu, 26 Feb 2015 07:15:46 +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 A8E4F67A for ; Thu, 26 Feb 2015 07:15:45 +0000 (UTC) Received: by lbiz11 with SMTP id z11so8957181lbi.8 for ; Wed, 25 Feb 2015 23:15:43 -0800 (PST) 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=qLl7kscltYkJ1sgaE/2hwZ5Z7mfUr+lQLOLqPErkCo0=; b=VA4+EhaL4MnsMUx+Smzz5RBJ3+qflz+tsH6R1TALDanfBO1zLnGIheLFsU+qInF0wA yYeUjWHOb+ZzRn6566pEfrEklWnyOCms8D7fCv/hXh/cx/R1EPkeQiCzssvzjiqaKli8 dupNY8X57OLpH6xw0S9/Ihn4FC0PBSmEEFEW/5AaoyTt90TIAMOL+ThWEQVd8y+A+r+I Iv21Vo0ZBVabIFVbHF07xR/XxV9yG6tTMmIkgIvAJhnWCd1qF8MZpjzVbS83j2JNbZj7 +W9Bnu+iBnoLw/KrEde1zJy7Qh5BxBxxsA/NNSb5EHgSySFSGyeJYYK4UOxJed+TZrUJ 5eKg== MIME-Version: 1.0 X-Received: by 10.112.188.165 with SMTP id gb5mr6213066lbc.35.1424934943655; Wed, 25 Feb 2015 23:15:43 -0800 (PST) Received: by 10.25.34.68 with HTTP; Wed, 25 Feb 2015 23:15:43 -0800 (PST) In-Reply-To: References: Date: Thu, 26 Feb 2015 01:15:43 -0600 Message-ID: Subject: Re: Install python 2.4.6 for an old apllication in a freebsd 10 system From: Andrew Gould To: eras mus 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: Thu, 26 Feb 2015 07:15:46 -0000 On Wed, Feb 25, 2015 at 10:16 PM, eras mus wrote: > Hi All, > i have an old application which requires python 2.4.6 . > I want it to be run in FreeBSD 10. > Kindly help me to install Python 2.4.6 in FreeBSD 10. > > Please give the commands using which i can install Python 2.4.6 in FreeBSD > 10. > > Thanks in Advance. > _______________________________________________ > 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" > I thought Python 2.7 was backwards compatible with 2.4. Are you sure you can't use 2.7? Andrew From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 08:29:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC79014F for ; Thu, 26 Feb 2015 08:29:55 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 734D0E3C for ; Thu, 26 Feb 2015 08:29:55 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id l15so10643962wiw.3 for ; Thu, 26 Feb 2015 00:29:54 -0800 (PST) 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=VHJLz2czWsH6EdbDm4kGcDslLUt/ASGSjRhya9GP2SE=; b=WI9egCxTmXdRojam6UpbJ9y74zkANH2RYSljPsHWtQa82dormLVtnmN4jC3AodjvXI eGHO5FFe0FHJyDxHJrOV/WLMuIkYGVGJBhjACfTcuub9kaAlsChqIbCTFT8bVKem61uD JxxRF1ZPjSR1wf4w9R7Qtr9s2nvxzgeCdfQfS2JDcurq7C+UJT28/RUgkYX7NwlYkSIu ZTZUXHb0YTUfYRVMopP9f6AU+ABa4dS5oBe2a4yBZLB3Jmi8ptGQlEjfS9nCiegSimHW AJLIL/zmxH7wQbKUkZ0mVuEXTB7CTMfcsB0pRv1+fGdzeFcbwwaMNFdNeHRQn8QrOd0m Mubg== MIME-Version: 1.0 X-Received: by 10.194.8.2 with SMTP id n2mr14200455wja.46.1424939393983; Thu, 26 Feb 2015 00:29:53 -0800 (PST) Received: by 10.181.8.102 with HTTP; Thu, 26 Feb 2015 00:29:53 -0800 (PST) Date: Thu, 26 Feb 2015 13:59:53 +0530 Message-ID: Subject: Error in Installing Python 2.4.6 from the source archive in FreeBSD 10 From: eras mus 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: Thu, 26 Feb 2015 08:29:55 -0000 Hi All, I am trying to install Python 2.4.6 in FreeBSD 10. I downloaded https://www.python.org/ftp/python/2.4.6/Python-2.4.6.tgz Unpacked it. Changed to the Python-2.4 directory. I have run ./configure It was fine In running make I got error http://pastebin.com/HpcQejbn If I run make install It stopped with the following. *** Error code 1 Stop. please help so that I could install Python 2.4.6 in FreeBSD 10. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 13:48: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 05355475 for ; Thu, 26 Feb 2015 13:48:17 +0000 (UTC) Received: from mail.vin-dit.org (mail.vin-dit.org [81.209.165.242]) by mx1.freebsd.org (Postfix) with ESMTP id C079E7A7 for ; Thu, 26 Feb 2015 13:48:16 +0000 (UTC) Received: by mail.vin-dit.org (Postfix, from userid 1000) id BB976483E3; Thu, 26 Feb 2015 08:42:23 -0500 (EST) Date: Thu, 26 Feb 2015 08:42:23 -0500 From: John Holland To: freebsd-questions@freebsd.org Subject: ttys not working from xdm Message-ID: <20150226134223.GA2818@mail.vin-dit.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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 Feb 2015 13:48:17 -0000 I have a new install of 10.1 and I am unable to access ttys from xdm. When I press Alt-F3 or Ctrl-Alt-F3 instead it causes either the mouse, keyboard or entire X session to lock up. Here is the section of my /etc/ttys - any advice on troubleshooting this would be appreciated. # If console is marked "insecure", then init will ask for the root password # when going to single-user mode. console none unknown off secure # ttyv0 "/usr/libexec/getty Pc" xterm on secure # Virtual terminals ttyv1 "/usr/libexec/getty Pc" xterm on secure ttyv2 "/usr/libexec/getty Pc" xterm on secure ttyv3 "/usr/libexec/getty Pc" xterm on secure ttyv4 "/usr/libexec/getty Pc" xterm on secure ttyv5 "/usr/libexec/getty Pc" xterm on secure ttyv6 "/usr/libexec/getty Pc" xterm on secure ttyv7 "/usr/libexec/getty Pc" xterm on secure ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure # Serial terminals -- John Holland jholland@vin-dit.org gpg public key ID 0xEFAF0D15 From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 14:05: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 A0CA6AF0 for ; Thu, 26 Feb 2015 14:05:28 +0000 (UTC) Received: from b192.virtualtarget.com.br (b192.virtualtarget.com.br [187.61.28.192]) by mx1.freebsd.org (Postfix) with ESMTP id 3A43AA1B for ; Thu, 26 Feb 2015 14:05:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1; d=dkim.vttrack.com.br; h=From:To:Subject:MIME-Version:Content-Type:Reply-To:List-Unsubscribe:Message-ID:Date; bh=yjsgw9QKKKv2osds6tNoKSZYCvw=; b=lTulA2dvjShSEtpOq+/8IDDjnmGWzXcZAgHrnENU96dh7UN7D9wYq4CPmmLmiuY8s9LN43xwNwjf KQ6GLtjeYHQcMFjGVLlaLe/MI2bzXLnahDkXwDZHsT3g8BhmW7heZqgDxZn6aBbZTpvncvDKHBBz eLjmPDbJ5pjeAAGZPm8= Received: by b192.virtualtarget.com.br id htsk2g0sh4s3 for ; Thu, 26 Feb 2015 11:01:39 -0300 (envelope-from ) From: "Braseg" To: "" Subject: =?ISO-8859-1?Q?Participe_da_feira_brasileira_de_seguran=E7a_e_sa=FAde_no_trabalho_e_prote=E7=E3o_contra_inc=EAndio.?= MIME-Version: 1.0 Reply-To: "Braseg" X-Hash: 21805-36-1556989-b1d5b4fc20f8e6540593ebe94164cb09 X-DMA: 23232365 Message-ID: <0.3.40.F85.1D051CCBDE03384.59D1@b192.virtualtarget.com.br> Date: Thu, 26 Feb 2015 11:05:28 -0300 Content-Type: text/plain; charset=ISO-8859-1 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: Thu, 26 Feb 2015 14:05:28 -0000 braseg-visitante-02 Credenciamento Gratuito, um produto FISP=20 VERS=C3O ONLINE[http://trk.envio.cafec.com.br/index.dma/DmaPreview?21805.36= .1556989.b1d5b4fc20f8e6540593ebe94164cb09.1]=20 [http://trk.envio.cafec.com.br/index.dma/DmaPreview?21805.36.1556989.b1d5b4= fc20f8e6540593ebe94164cb09.1] DESCADASTRAR[http://trk.envio.cafec.com.br/index.dma/DmaOptOut?21805,36,155= 6989,b1d5b4fc20f8e6540593ebe94164cb09,1]=20 Ir para o site[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989,648,= b1d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://braseg.tmp.br/?utm= _source=3DVirtual_Target&utm_medium=3DEmail&utm_content=3D&utm_campaign=3Db= raseg-visitantes-02 font-size:12px; font-weight:normal; color:#FFFFFF;">|=20 Programa=E7=E3o[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1= 556989,649,b1d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://braseg.= tmp.br/?page_id=3D22&utm_source=3DVirtual_Target&utm_medium=3DEmail&utm_con= tent=3D&utm_campaign=3Dbraseg-visitantes-02 font-size:12px; font-weight:normal; color:#FFFFFF;">|=20 Quero ser Expositor[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989= ,650,b1d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://braseg.tmp.br= /?page_id=3D63&utm_source=3DVirtual_Target&utm_medium=3DEmail&utm_content= =3D&utm_campaign=3Dbraseg-visitantes-02 font-size:12px; font-weight:bold; color:#FFFFFF;">CREDENCIAMENTO GRATUITO[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989,= 651,b1d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://www.mbxeventos= .com/AOLBraseg/content/Bienvenida.aspx?utm_source=3DVirtual_Target&utm_medi= um=3DEmail&utm_content=3D&utm_campaign=3Dbraseg-visitantes-02" width=3D"650" />[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989,648,b1= d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://braseg.tmp.br/?utm_s= ource=3DVirtual_Target&utm_medium=3DEmail&utm_content=3D&utm_campaign=3Dbra= seg-visitantes-02" width=3D"650" />[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989,648,b1= d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://braseg.tmp.br/?utm_s= ource=3DVirtual_Target&utm_medium=3DEmail&utm_content=3D&utm_campaign=3Dbra= seg-visitantes-02 font-size:30px; font-weight:normal; color:#000001;">Conhe=E7a a Braseg=20 Um produto FISP, a Braseg =E9 o principal polo catalisador de oportunidades e neg=F3cios, por apresentar produtos, servi=E7os e tecnologias de preven=E7=E3o.=20 [http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989,649,b1d5= b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://braseg.tmp.br/?page_id= =3D22&utm_source=3DVirtual_Target&utm_medium=3DEmail&utm_content=3D&utm_cam= paign=3Dbraseg-visitantes-02" width=3D"180" />[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989,651,b1= d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://www.mbxeventos.com/A= OLBraseg/content/Bienvenida.aspx?utm_source=3DVirtual_Target&utm_medium=3DE= mail&utm_content=3D&utm_campaign=3Dbraseg-visitantes-02 font-size:24px; font-weight:normal; text-align:center; color:#000000;">CREDENCIAMENTO ON-LINE[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989,6= 51,b1d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://www.mbxeventos.= com/AOLBraseg/content/Bienvenida.aspx?utm_source=3DVirtual_Target&utm_mediu= m=3DEmail&utm_content=3D&utm_campaign=3Dbraseg-visitantes-02 font-size:18px; font-weight:normal; text-align:center; color:#000000;">GRATUITO=20 Participe e fique sabendo das novidades que o mercado traz para o setor. [http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989,651,b1d5= b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://www.mbxeventos.com/AOL= Braseg/content/Bienvenida.aspx?utm_source=3DVirtual_Target&utm_medium=3DEma= il&utm_content=3D&utm_campaign=3Dbraseg-visitantes-02 font-size:16px; font-weight:normal; color:#000001;">Para mais informa=E7=F5es entre em contato=20 Comercial=20 +55 11 5585 4355=20 www.fieramilano.com.br[http://trk.envio.cafec.com.br/index.dma/DmaClick?218= 05,36,1556989,652,b1d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://= www.fieramilano.com.br?utm_source=3DVirtual_Target&utm_medium=3DEmail&utm_c= ontent=3D&utm_campaign=3Dbraseg-visitantes-02" width=3D"20" />[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36,1556989,653,b1= d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]https://www.facebook.com/Fi= eraMilanoBr?utm_source=3DVirtual_Target&utm_medium=3DEmail&utm_content=3D&u= tm_campaign=3Dbraseg-visitantes-02" width=3D"32" />[mailto:comercial@fieramilano.com.br] www.braseg.tmp.br[http://trk.envio.cafec.com.br/index.dma/DmaClick?21805,36= ,1556989,648,b1d5b4fc20f8e6540593ebe94164cb09,[DMA6_ENCODE_URL]http://brase= g.tmp.br/?utm_source=3DVirtual_Target&utm_medium=3DEmail&utm_content=3D&utm= _campaign=3Dbraseg-visitantes-02 font-size:10px; font-weight:bold; color:#000001;">PROMO=C7=C3O=20 REALIZA=C7=C3O=20 From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 14:14:02 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 66E37E7C for ; Thu, 26 Feb 2015 14:14:02 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E0B51BA9 for ; Thu, 26 Feb 2015 14:14:01 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t1QEDtS7058672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 Feb 2015 15:13:55 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t1QEDtS7058669; Thu, 26 Feb 2015 15:13:55 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 26 Feb 2015 15:13:55 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: John Holland Subject: Re: ttys not working from xdm In-Reply-To: <20150226134223.GA2818@mail.vin-dit.org> Message-ID: References: <20150226134223.GA2818@mail.vin-dit.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT 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: Thu, 26 Feb 2015 14:14:02 -0000 On Thu, 26 Feb 2015 08:42-0500, John Holland wrote: > I have a new install of 10.1 and I am unable to access ttys from > xdm. When I press Alt-F3 or Ctrl-Alt-F3 instead it causes either the > mouse, keyboard or entire X session to lock up. Here is the section > of my /etc/ttys - any advice on troubleshooting this would be > appreciated. > > # If console is marked "insecure", then init will ask for the root password > # when going to single-user mode. > console none unknown off secure > # > ttyv0 "/usr/libexec/getty Pc" xterm on secure > # Virtual terminals > ttyv1 "/usr/libexec/getty Pc" xterm on secure > ttyv2 "/usr/libexec/getty Pc" xterm on secure > ttyv3 "/usr/libexec/getty Pc" xterm on secure > ttyv4 "/usr/libexec/getty Pc" xterm on secure > ttyv5 "/usr/libexec/getty Pc" xterm on secure > ttyv6 "/usr/libexec/getty Pc" xterm on secure > ttyv7 "/usr/libexec/getty Pc" xterm on secure > ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure > # Serial terminals You are probably missing the VT console in the kernel, set kern.vty="vt" in /boot/loader.conf. This should be augmented by KMS drivers for your GPU. If you don't have an accelerated GPU like nVidia or AMD/ATI, then you're out of luck. When you press Ctrl+Alt+F3, you are switched to ttyv2, it just doesn't show up. You're looking at a ghost image of the X display. You can type blindly, but that's not what anyone would want. Hit Alt+F9 to get back to the X server. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 15:04: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 6E7B387F for ; Thu, 26 Feb 2015 15:04:43 +0000 (UTC) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (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 BFC75227 for ; Thu, 26 Feb 2015 15:04:41 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id t1QElT9T039036 for ; Thu, 26 Feb 2015 15:47:30 +0100 (CET) (envelope-from bah@bananmonarki.se) Message-ID: <54EF3201.1020409@bananmonarki.se> Date: Thu, 26 Feb 2015 15:47:29 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Problem with pkg install 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 Feb 2015 15:04:43 -0000 Hello list. Installing go like this root@kw:/usr/ports/multimedia/mplayer # pkg install vlc Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. The following 11 packages will be affected (of 0 checked): New packages to be INSTALLED: vlc: 2.1.5_18,4 twolame: 0.3.13_4 libmad: 0.15.1b_6 libcddb: 1.3.2_4 faad2: 2.7_5,1 libdca: 0.0.5_1 liba52: 0.7.4_3 liveMedia: 2014.12.17_1,2 libmatroska: 1.4.2 libebml: 1.3.1 libdvbpsi: 1.2.0 The process will require 47 MiB more space. 8 MiB to be downloaded. Proceed with this action? [y/N]: y Fetching vlc-2.1.5_18,4.txz: 100% 6 MiB 1.8MB/s 00:04 Fetching twolame-0.3.13_4.txz: 100% 106 KiB 109.2kB/s 00:01 Fetching libmad-0.15.1b_6.txz: 100% 72 KiB 73.7kB/s 00:01 Fetching libcddb-1.3.2_4.txz: 100% 55 KiB 56.6kB/s 00:01 Fetching faad2-2.7_5,1.txz: 100% 187 KiB 192.4kB/s 00:01 Fetching libdca-0.0.5_1.txz: 100% 99 KiB 101.6kB/s 00:01 Fetching liba52-0.7.4_3.txz: 100% 44 KiB 45.7kB/s 00:01 Fetching liveMedia-2014.12.17_1,2.txz: 100% 505 KiB 517.6kB/s 00:01 Fetching libmatroska-1.4.2.txz: 100% 225 KiB 230.9kB/s 00:01 Fetching libebml-1.3.1.txz: 100% 113 KiB 115.8kB/s 00:01 Fetching libdvbpsi-1.2.0.txz: 100% 105 KiB 107.8kB/s 00:01 Checking integrity... done (0 conflicting) [1/11] Installing libebml-1.3.1... [1/11] Extracting libebml-1.3.1: 100% [2/11] Installing twolame-0.3.13_4... [2/11] Extracting twolame-0.3.13_4: 100% [3/11] Installing libmad-0.15.1b_6... [3/11] Extracting libmad-0.15.1b_6: 100% [4/11] Installing libcddb-1.3.2_4... [4/11] Extracting libcddb-1.3.2_4: 100% [5/11] Installing faad2-2.7_5,1... [5/11] Extracting faad2-2.7_5,1: 100% [6/11] Installing libdca-0.0.5_1... [6/11] Extracting libdca-0.0.5_1: 100% [7/11] Installing liba52-0.7.4_3... [7/11] Extracting liba52-0.7.4_3: 100% [8/11] Installing liveMedia-2014.12.17_1,2... [8/11] Extracting liveMedia-2014.12.17_1,2: 100% [9/11] Installing libmatroska-1.4.2... [9/11] Extracting libmatroska-1.4.2: 100% [10/11] Installing libdvbpsi-1.2.0... [10/11] Extracting libdvbpsi-1.2.0: 100% [11/11] Installing vlc-2.1.5_18,4... [11/11] Extracting vlc-2.1.5_18,4: 100% Message for liveMedia-2014.12.17_1,2: For more documentation on this software (and to get the latest version), please see . Child process pid=40593 terminated abnormally: Segmentation fault: 11 From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 15:05: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 4A39391A for ; Thu, 26 Feb 2015 15:05:37 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF84123F for ; Thu, 26 Feb 2015 15:05:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t1QF5QsN004692; Fri, 27 Feb 2015 02:05:26 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 27 Feb 2015 02:05:26 +1100 (EST) From: Ian Smith To: Warren Block Subject: Re: Vinum ... to oblivion? In-Reply-To: Message-ID: <20150227020049.I38620@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Feb 2015 15:05:37 -0000 In freebsd-questions Digest, Vol 560, Issue 4, Message: 13 On Wed, 25 Feb 2015 17:43:25 -0700 (MST) Warren Block wrote: > On Wed, 25 Feb 2015, Alberto Mijares wrote: > > >> > >> I had proposed and even done the work to make that chapter into a separate > >> article. Then I discarded it when it was pointed out that the existing > >> version should be in the archives. Which it now... is not. > >> > >> With some effort, it could be resurrected into an article again. > > > > > > The book The Complete FreeBSD, by Greg Lehey, has a chapter covering > > vinum and it almost hasn't change since then (AFAIK). The book is part > > of the FreeBSD documentation project, so it could be referenced from > > the handbook or a starting point for the proposed article. > > That was where the Handbook vinum chapter originated. > > I have recreated the article: > https://www.freebsd.org/doc/en_US.ISO8859-1/articles/vinum/ Great. I've never used gvinum and probably never will, but I've always appreciated that article as a well-written intro to RAID and All That. thanks, Ian From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 15:39:00 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 841CE1DB for ; Thu, 26 Feb 2015 15:39:00 +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 3E042814 for ; Thu, 26 Feb 2015 15:38:59 +0000 (UTC) Received: from [82.113.106.141] (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 1YQzeI-0003Gi-Ue for freebsd-questions@freebsd.org; Thu, 26 Feb 2015 15:42:47 +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 t1QEgjIK001364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 26 Feb 2015 15:42:45 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t1QEgjmn001363 for freebsd-questions@freebsd.org; Thu, 26 Feb 2015 15:42:45 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 26 Feb 2015 15:42:45 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: sendmail && dhcp Message-ID: <20150226144245.GA1346@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: 82.113.106.141 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 Feb 2015 15:39:00 -0000 Hello, I'm using 11-CUR on my FreeBSD netbook and while moving around, I use different network connections/interfaces: wlan0, tun6, ... depending on the location where I boot. sendmail is started the normal way via /etc/rc.conf; but always finds on startup the /etc/resolv.conf file of the last location (which ocf is not valid anymore); the DNS is updated when the interface cames up later and IP is assigned via DHCP; What would be the best way to restart (or defer the start of sendmail) until the correct DNS is in place? For the tun interface I'm using a devd(8) hook, but I'm looking more for a general solution. Thanks matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 La referencia de la Duma a la anexión de la RDA, en este caso al contrario con la Crimlía sin referéndum, no solamente tiene gracia sino da en el blanco.- Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 15:50: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 3C318893 for ; Thu, 26 Feb 2015 15:50:58 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 1536396B for ; Thu, 26 Feb 2015 15:50:58 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id C733333C1E; Thu, 26 Feb 2015 10:50:51 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 530A039816; Thu, 26 Feb 2015 10:50:51 -0500 (EST) From: Lowell Gilbert To: Matthias Apitz Subject: Re: sendmail && dhcp References: <20150226144245.GA1346@c720-r276659> Date: Thu, 26 Feb 2015 10:50:50 -0500 In-Reply-To: <20150226144245.GA1346@c720-r276659> (Matthias Apitz's message of "Thu, 26 Feb 2015 15:42:45 +0100") Message-ID: <44bnkgsmcl.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: Thu, 26 Feb 2015 15:50:58 -0000 Matthias Apitz writes: > What would be the best way to restart (or defer the start of sendmail) > until the correct DNS is in place? For the tun interface I'm using a > devd(8) hook, but I'm looking more for a general solution. dhclient-script(8) is one way. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 17:32: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 A3FBECC7 for ; Thu, 26 Feb 2015 17:32:40 +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 52C468BC for ; Thu, 26 Feb 2015 17:32:40 +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 t1QHWWEu003837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 26 Feb 2015 11:32:33 -0600 Message-ID: <54EF5A28.8010605@hiwaay.net> Date: Thu, 26 Feb 2015 11:38:48 -0600 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: problems mounting camera to download pics .... 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 Feb 2015 17:32:40 -0000 .... I am trying to mount my digital camera to download some pics I just took. When I do this as root, it works AOK & I got the pics off. However, when I changed my fstab file to (supposedly) allow regular users to mount that directory, the mount command fails: [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ mount_msdosfs: /dev/da0s1: Operation not permitted [wam@kabini1, ~, 11:35:58am] 530 % relevant lines from my fstab file: /dev/da0s1 /media/flash msdosfs rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 # /dev/da0s1 /media/flash msdosfs rw,sync,noauto,longnames,-Lru_RU.UTF-8 0 0 FreeBSD 9.3-RELEASE-p9 Not a huge issue, since I can get 'er done as root, but I don't see why this shouldn't be feasible as a regular user .... TIA & have a nice, snowy (here) day ;-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 17:39: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 1525B228 for ; Thu, 26 Feb 2015 17:39:40 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C89A0938 for ; Thu, 26 Feb 2015 17:39:39 +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 8E61C3CC66; Thu, 26 Feb 2015 18:39:31 +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 t1QHdV5u040411; Thu, 26 Feb 2015 18:39:31 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 26 Feb 2015 18:39:30 +0100 From: Polytropon To: "William A. Mahaffey III" Subject: Re: problems mounting camera to download pics .... Message-Id: <20150226183930.477ed7b5.freebsd@edvax.de> In-Reply-To: <54EF5A28.8010605@hiwaay.net> References: <54EF5A28.8010605@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Feb 2015 17:39:40 -0000 On Thu, 26 Feb 2015 11:38:48 -0600, William A. Mahaffey III wrote: > > > .... I am trying to mount my digital camera to download some pics I just > took. When I do this as root, it works AOK & I got the pics off. > However, when I changed my fstab file to (supposedly) allow regular > users to mount that directory, the mount command fails: > > > [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ > mount_msdosfs: /dev/da0s1: Operation not permitted > [wam@kabini1, ~, 11:35:58am] 530 % And with "sudo" prefix? :-) > relevant lines from my fstab file: > > > /dev/da0s1 /media/flash msdosfs > rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 Suggestion regarding msdosfs: add "-m=644,-M=755" to the options to get rid of the fake +x attributes for the files. You could also add "noatime". > Not a huge issue, since I can get 'er done as root, but I don't see why > this shouldn't be feasible as a regular user .... TIA & have a nice, > snowy (here) day ;-) .... Do you have the mandatory "vfs.usermount=1" in /etc/sysctl.conf? Also check the device permissions: User or group requires rw for the device and must own the mountpoint. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 17:58: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 A1303E66 for ; Thu, 26 Feb 2015 17:58:01 +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 6790CBD1 for ; Thu, 26 Feb 2015 17:58:01 +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 t1QHvx2W021294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 26 Feb 2015 11:58:00 -0600 Message-ID: <54EF601F.3070702@hiwaay.net> Date: Thu, 26 Feb 2015 12:04:15 -0600 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: problems mounting camera to download pics .... References: <54EF5A28.8010605@hiwaay.net> <20150226183930.477ed7b5.freebsd@edvax.de> In-Reply-To: <20150226183930.477ed7b5.freebsd@edvax.de> 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 Feb 2015 17:58:01 -0000 On 02/26/15 11:39, Polytropon wrote: > On Thu, 26 Feb 2015 11:38:48 -0600, William A. Mahaffey III wrote: >> >> .... I am trying to mount my digital camera to download some pics I just >> took. When I do this as root, it works AOK & I got the pics off. >> However, when I changed my fstab file to (supposedly) allow regular >> users to mount that directory, the mount command fails: >> >> >> [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ >> mount_msdosfs: /dev/da0s1: Operation not permitted >> [wam@kabini1, ~, 11:35:58am] 530 % > And with "sudo" prefix? :-) [wam@kabini1, ~, 11:58:22am] 568 % mount /media/flash/ mount_msdosfs: /dev/da0s1: Operation not permitted [wam@kabini1, ~, 11:58:25am] 569 % sudo mount /media/flash/ mount_msdosfs: /dev/da0s1: mount option is unknown: Invalid argument [wam@kabini1, ~, 11:58:27am] 570 % > > >> relevant lines from my fstab file: >> >> >> /dev/da0s1 /media/flash msdosfs >> rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 > Suggestion regarding msdosfs: add "-m=644,-M=755" to the > options to get rid of the fake +x attributes for the files. > You could also add "noatime". Roger, wilco .... > >> Not a huge issue, since I can get 'er done as root, but I don't see why >> this shouldn't be feasible as a regular user .... TIA & have a nice, >> snowy (here) day ;-) .... > Do you have the mandatory "vfs.usermount=1" in /etc/sysctl.conf? > Also check the device permissions: User or group requires rw for > the device and must own the mountpoint. .... & remember to change it in the command line as well, done, still the same problem .... my root dir: [wam@kabini1, ~, 12:01:36pm] 570 % ll / total 32890 dr-xr-xr-x 4 root wheel 512 Feb 26 01:50 .amd_mnt/ -rw-r--r-- 2 root wheel 1182 Oct 12 13:27 .cshrc -rw-r--r-- 2 root wheel 253 Jul 10 2014 .profile drwxrwxr-x 2 root operator 512 Aug 2 2014 .snap/ -r-------- 1 root wheel 33554432 Aug 2 2014 .sujournal -r--r--r-- 1 root wheel 6197 Jul 10 2014 COPYRIGHT drwxr-xr-x 2 root wheel 1024 Jul 10 2014 bin/ drwxr-xr-x 10 root wheel 1024 Feb 20 16:38 boot/ drwxr-xr-x 3 root wheel 512 Feb 24 23:14 compat/ dr-xr-xr-x 10 root wheel 512 Feb 20 09:57 dev/ -rw------- 1 root wheel 4096 Dec 3 07:43 entropy drwxr-xr-x 21 root wheel 3072 Feb 22 09:15 etc/ drwxr-xr-x 6 root wheel 512 Jan 26 22:31 home/ dr-xr-xr-x 2 root wheel 512 Feb 20 17:46 host/ drwxr-xr-x 3 root wheel 1536 Feb 20 15:55 lib/ drwxr-xr-x 3 root wheel 512 Aug 2 2014 libexec/ drwxr-xr-x 5 root wheel 512 Oct 26 08:01 media/ drwxr-xr-x 2 root wheel 512 Jul 10 2014 mnt/ dr-xr-xr-x 2 root wheel 512 Feb 26 11:59 net/ dr-xr-xr-x 1 root wheel 0 Feb 26 12:01 proc/ drwxr-xr-x 2 root wheel 2560 Oct 28 10:33 rescue/ drwxr-xr-x 15 root wheel 1024 Feb 22 09:14 root/ drwxr-xr-x 2 root wheel 2560 Oct 28 10:33 sbin/ lrwxr-xr-x 1 root wheel 11 Jul 10 2014 sys@ -> usr/src/sys drwxrwxrwt 10 root wheel 440 Feb 26 12:01 tmp/ drwxr-xr-x 16 root wheel 512 Aug 2 2014 usr/ drwxr-xr-x 25 root wheel 512 Feb 20 09:57 var/ [wam@kabini1, ~, 12:01:39pm] 571 % So am I supposed to have /media group writable ? I did so & same issue .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 18:08:51 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 85E0C3C1 for ; Thu, 26 Feb 2015 18:08:51 +0000 (UTC) Received: from mail-in4.apple.com (mail-out4.apple.com [17.151.62.26]) (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 58767D23 for ; Thu, 26 Feb 2015 18:08:50 +0000 (UTC) Received: from relay5.apple.com (relay5.apple.com [17.128.113.88]) by mail-in4.apple.com (Apple Secure Mail Relay) with SMTP id 85.09.12706.2316FE45; Thu, 26 Feb 2015 10:08:50 -0800 (PST) X-AuditID: 11973e12-f79d66d0000031a2-98-54ef61325c1c Received: from [17.149.226.205] (Unknown_Domain [17.149.226.205]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by relay5.apple.com (Apple SCV relay) with SMTP id FC.29.32046.5316FE45; Thu, 26 Feb 2015 10:08:53 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Error in Installing Python 2.4.6 from the source archive in FreeBSD 10 From: Charles Swiger In-Reply-To: Date: Thu, 26 Feb 2015 10:08:50 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <3212DD11-2944-43BD-9967-2B8A5D40F0C3@mac.com> References: To: eras mus X-Mailer: Apple Mail (2.2070.6) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLLMWRmVeSWpSXmKPExsUi2FAYoWuU+D7EYO4rA4tThxawWLz8uonF gcljxqf5LB47Z91lD2CK4rJJSc3JLEst0rdL4MrYdzCk4BdTxY3LB5kbGBczdTFyckgImEh8 XrKGEcIWk7hwbz1bFyMXh5DAXkaJE/f72GCKFqx6xQqRmM4kcXXWA3aQBLOAlsSNfy/BJvEK GEjMPfUFzBYWCJb4tHg3cxcjBwebgJrEhIk8IGFOgUCJ3+t2sYLYLAKqEkteHmSFGKMr0XTj LSOErS2xbOFrZoiRVhIdH/6DrRISCJD4tr0BzBYRkJdYeuc2I8h4CSC7Z1M6yGkSAh9ZJY5c msA+gVFoFpLrZiG5bhaSFQsYmVcxCuUmZuboZuaZ6CUWFOSk6iXn525iBIXvdDuhHYynVlkd YhTgYFTi4U3IfhcixJpYVlyZe4hRmoNFSZzXNxgoJJCeWJKanZpakFoUX1Sak1p8iJGJg1Oq gdF6oarmszWfvkzI+bRmf1zhB/F959tm59j0XI47HjrXXUur5e0ncfmFCQkq7Kskd/n+jHi3 9X2Feb/a2fe5sSfNE2+7L5DXOxNksiL1evbifIf3Ud7nT+merFZVdKzZ/Oz03X3b2TR+evR1 L+eIyJBh/bzCuGJ+idIzwYWsTA/TbBdmNm3Z8lqJpTgj0VCLuag4EQDl0w3pQAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrALMWRmVeSWpSXmKPExsUiOPXRWV3TxPchBjPP8VucOrSAxeLl100s DkweMz7NZ/HYOesuewBTFJdNSmpOZllqkb5dAlfGvoMhBb+YKm5cPsjcwLiYqYuRk0NCwERi wapXrBC2mMSFe+vZuhi5OIQEpjNJXJ31gB0kwSygJXHj30uwBl4BA4m5p76A2cICwRKfFu9m 7mLk4GATUJOYMJEHJMwpECjxe90usJksAqoSS14eZIUYoyvRdOMtI4StLbFs4WtmiJFWEh0f /oOtEhIIkPi2vQHMFhGQl1h65zYjyHgJILtnU/oERv5ZSA6aheSgWUimLmBkXsUoUJSak1hp qpdYUJCTqpecn7uJERRuDYUROxj/L7M6xCjAwajEw5uQ/S5EiDWxrLgy9xCjBAezkghvQ+z7 ECHelMTKqtSi/Pii0pzU4kOM0hwsSuK8E1a8DhESSE8sSc1OTS1ILYLJMnFwSjUw6i9crca/ Vpj3VjbDzt9cqoeOZ70wrcz7uDandEX+L5Yn1cH6fy5XPpGfUSEtKNHj6Wq2+41kw/uw9k+n W1dc/mLIJ1fwpcy5UT7d3+cPv/3PI0WC0ZzhKz3kRSe51hn81Pl31LvgwadMozPX1lnGPOuv 7pxSd2Su1T6tNQc1lDhP2LCKZE1UYinOSDTUYi4qTgQAV8Cg2TMCAAA= Cc: 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: Thu, 26 Feb 2015 18:08:51 -0000 On Feb 26, 2015, at 12:29 AM, eras mus wrote: > [ ... ] > In running make > I got error http://pastebin.com/HpcQejbn >=20 > If I run make install > It stopped with the following. > *** Error code 1 > Stop. You're passing an invalid compiler flag of "-OPT:Olimit=3D0" into the = build from somewhere. Remove that. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 18:09:31 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 20422453 for ; Thu, 26 Feb 2015 18:09:31 +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 D2631D32 for ; Thu, 26 Feb 2015 18:09:30 +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 34AC524D69; Thu, 26 Feb 2015 19:09:22 +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 t1QI9Lrk040526; Thu, 26 Feb 2015 19:09:21 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 26 Feb 2015 19:09:21 +0100 From: Polytropon To: "William A. Mahaffey III" Subject: Re: problems mounting camera to download pics .... Message-Id: <20150226190921.94278d64.freebsd@edvax.de> In-Reply-To: <54EF601F.3070702@hiwaay.net> References: <54EF5A28.8010605@hiwaay.net> <20150226183930.477ed7b5.freebsd@edvax.de> <54EF601F.3070702@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Feb 2015 18:09:31 -0000 On Thu, 26 Feb 2015 12:04:15 -0600, William A. Mahaffey III wrote: > On 02/26/15 11:39, Polytropon wrote: > > On Thu, 26 Feb 2015 11:38:48 -0600, William A. Mahaffey III wrote: > >> > >> .... I am trying to mount my digital camera to download some pics I just > >> took. When I do this as root, it works AOK & I got the pics off. > >> However, when I changed my fstab file to (supposedly) allow regular > >> users to mount that directory, the mount command fails: > >> > >> > >> [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ > >> mount_msdosfs: /dev/da0s1: Operation not permitted > >> [wam@kabini1, ~, 11:35:58am] 530 % > > And with "sudo" prefix? :-) > > [wam@kabini1, ~, 11:58:22am] 568 % mount /media/flash/ > mount_msdosfs: /dev/da0s1: Operation not permitted > [wam@kabini1, ~, 11:58:25am] 569 % sudo mount /media/flash/ > mount_msdosfs: /dev/da0s1: mount option is unknown: Invalid argument > [wam@kabini1, ~, 11:58:27am] 570 % I didn't find the "users" option in "man mount" or "man mount_msdosfs", what is it supposed to do? What if you temporarily remove it? > >> relevant lines from my fstab file: > >> > >> > >> /dev/da0s1 /media/flash msdosfs > >> rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 > > Suggestion regarding msdosfs: add "-m=644,-M=755" to the > > options to get rid of the fake +x attributes for the files. > > You could also add "noatime". > > Roger, wilco .... Not essential to solve the problem, but might be helpful for further usage. > >> Not a huge issue, since I can get 'er done as root, but I don't see why > >> this shouldn't be feasible as a regular user .... TIA & have a nice, > >> snowy (here) day ;-) .... > > Do you have the mandatory "vfs.usermount=1" in /etc/sysctl.conf? > > Also check the device permissions: User or group requires rw for > > the device and must own the mountpoint. > > .... & remember to change it in the command line as well, done, still > the same problem .... my root dir: > > > [wam@kabini1, ~, 12:01:36pm] 570 % ll / > total 32890 > [...] > drwxr-xr-x 5 root wheel 512 Oct 26 08:01 media/ > [...] > So am I supposed to have /media group writable ? I did so & same issue .... I think so. You can test this by temporarily chown'ing the whole /media subtree to your user, and then run the command as user (given that vfs.usermount is already set). You can find more info here (regarding user mount): https://www.freebsd.org/doc/handbook/usb-disks.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 19:40: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 01F8CC3C for ; Thu, 26 Feb 2015 19:40:50 +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 AC305A7D for ; Thu, 26 Feb 2015 19:40:49 +0000 (UTC) Received: from [89.15.238.224] (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 1YR4IA-0003D5-Rr; Thu, 26 Feb 2015 20:40:15 +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 t1QJeDhJ002710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 Feb 2015 20:40:13 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t1QJeCDA002709; Thu, 26 Feb 2015 20:40:12 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 26 Feb 2015 20:40:12 +0100 From: Matthias Apitz To: Lowell Gilbert Subject: Re: sendmail && dhcp Message-ID: <20150226194012.GA2695@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Lowell Gilbert , freebsd-questions@freebsd.org References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <44bnkgsmcl.fsf@lowell-desk.lan> 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.15.238.224 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 Feb 2015 19:40:50 -0000 El día Thursday, February 26, 2015 a las 10:50:50AM -0500, Lowell Gilbert escribió: > Matthias Apitz writes: > > > What would be the best way to restart (or defer the start of sendmail) > > until the correct DNS is in place? For the tun interface I'm using a > > devd(8) hook, but I'm looking more for a general solution. > > dhclient-script(8) is one way. Thanks for the hint. I've played around with the hooks script /etc/dhclient-exit-hooks; but this is not invoked when PPP brings up the interface tun(4), routing etc. because this is not done by dhclient(8), but directly by the pppd(8) and its hooks. matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 La referencia de la Duma a la anexión de la RDA, en este caso al contrario con la Crimlía sin referéndum, no solamente tiene gracia sino da en el blanco.- Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 19:59: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 609A827A for ; Thu, 26 Feb 2015 19:59:14 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 36CFECB6 for ; Thu, 26 Feb 2015 19:59:13 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 771DC33C1D; Thu, 26 Feb 2015 14:59:02 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id BFB3539816; Thu, 26 Feb 2015 14:59:01 -0500 (EST) From: Lowell Gilbert To: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: sendmail && dhcp References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> Reply-To: freebsd-questions@freebsd.org Date: Thu, 26 Feb 2015 14:59:00 -0500 In-Reply-To: <20150226194012.GA2695@c720-r276659> (Matthias Apitz's message of "Thu, 26 Feb 2015 20:40:12 +0100") Message-ID: <4461aoe96j.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; charset=iso-8859-1 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: Thu, 26 Feb 2015 19:59:14 -0000 Matthias Apitz writes: > El d=EDa Thursday, February 26, 2015 a las 10:50:50AM -0500, Lowell Gilbe= rt escribi=F3: > >> Matthias Apitz writes: >>=20 >> > What would be the best way to restart (or defer the start of sendmail) >> > until the correct DNS is in place? For the tun interface I'm using a >> > devd(8) hook, but I'm looking more for a general solution. >>=20 >> dhclient-script(8) is one way. > > Thanks for the hint. I've played around with the hooks script > /etc/dhclient-exit-hooks; but this is not invoked when PPP brings up the > interface tun(4), routing etc. because this is not done by dhclient(8), > but directly by the pppd(8) and its hooks. Unless you're running DHCP over the PPP link, which isn't quite as silly as it sounds. Another option would be to run your own resolver daemon on the machine. That moves your configuration problem from sendmail to the resolver (unless you go straight to the root for your lookups), but at least it moves the DNS problem to DNS. Are you sure you *need* sendmail running by default? Most laptops don't.=20 From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 20:17: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 49FD18A0 for ; Thu, 26 Feb 2015 20:17: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 0098EEC9 for ; Thu, 26 Feb 2015 20:17:16 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-56.adsl.hiwaay.net [216.180.19.56]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t1QKHEQu004242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 26 Feb 2015 14:17:15 -0600 Message-ID: <54EF80C2.3040803@hiwaay.net> Date: Thu, 26 Feb 2015 14:23:30 -0600 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 !!!!" Subject: Re: problems mounting camera to download pics .... References: <54EF5A28.8010605@hiwaay.net> <20150226183930.477ed7b5.freebsd@edvax.de> <54EF601F.3070702@hiwaay.net> <20150226190921.94278d64.freebsd@edvax.de> In-Reply-To: <20150226190921.94278d64.freebsd@edvax.de> 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 Feb 2015 20:17:17 -0000 On 02/26/15 12:09, Polytropon wrote: > On Thu, 26 Feb 2015 12:04:15 -0600, William A. Mahaffey III wrote: >> On 02/26/15 11:39, Polytropon wrote: >>> On Thu, 26 Feb 2015 11:38:48 -0600, William A. Mahaffey III wrote: >>>> .... I am trying to mount my digital camera to download some pics I just >>>> took. When I do this as root, it works AOK & I got the pics off. >>>> However, when I changed my fstab file to (supposedly) allow regular >>>> users to mount that directory, the mount command fails: >>>> >>>> >>>> [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ >>>> mount_msdosfs: /dev/da0s1: Operation not permitted >>>> [wam@kabini1, ~, 11:35:58am] 530 % >>> And with "sudo" prefix? :-) >> [wam@kabini1, ~, 11:58:22am] 568 % mount /media/flash/ >> mount_msdosfs: /dev/da0s1: Operation not permitted >> [wam@kabini1, ~, 11:58:25am] 569 % sudo mount /media/flash/ >> mount_msdosfs: /dev/da0s1: mount option is unknown: Invalid argument >> [wam@kabini1, ~, 11:58:27am] 570 % > I didn't find the "users" option in "man mount" or "man mount_msdosfs", > what is it supposed to do? What if you temporarily remove it? A linuxism :-/ .... makes no difference either way, other than the parsing error .... It's supposed to allow regular users to mount that resource .... > > >>>> relevant lines from my fstab file: >>>> >>>> >>>> /dev/da0s1 /media/flash msdosfs >>>> rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 >>> Suggestion regarding msdosfs: add "-m=644,-M=755" to the >>> options to get rid of the fake +x attributes for the files. >>> You could also add "noatime". >> Roger, wilco .... > Not essential to solve the problem, but might be helpful for > further usage. > > > >>>> Not a huge issue, since I can get 'er done as root, but I don't see why >>>> this shouldn't be feasible as a regular user .... TIA & have a nice, >>>> snowy (here) day ;-) .... >>> Do you have the mandatory "vfs.usermount=1" in /etc/sysctl.conf? >>> Also check the device permissions: User or group requires rw for >>> the device and must own the mountpoint. >> .... & remember to change it in the command line as well, done, still >> the same problem .... my root dir: >> >> >> [wam@kabini1, ~, 12:01:36pm] 570 % ll / >> total 32890 >> [...] >> drwxr-xr-x 5 root wheel 512 Oct 26 08:01 media/ >> [...] >> So am I supposed to have /media group writable ? I did so & same issue .... > I think so. You can test this by temporarily chown'ing the > whole /media subtree to your user, and then run the command > as user (given that vfs.usermount is already set). > > You can find more info here (regarding user mount): > > https://www.freebsd.org/doc/handbook/usb-disks.html > Hmmmm .... this looks rather involved, I think I'll punt. I can get stuff mounted by root, & I usually have a root window open, so I'm OK as is. 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 Thu Feb 26 20:31:59 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FCAEF65 for ; Thu, 26 Feb 2015 20:31:59 +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 359C3119 for ; Thu, 26 Feb 2015 20:31:58 +0000 (UTC) Received: from [89.15.238.224] (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 1YR56C-0007Ow-Ac for freebsd-questions@freebsd.org; Thu, 26 Feb 2015 21:31:56 +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 t1QKVsph002886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 26 Feb 2015 21:31:54 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t1QKVs7h002885 for freebsd-questions@freebsd.org; Thu, 26 Feb 2015 21:31:54 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 26 Feb 2015 21:31:54 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: sendmail && dhcp Message-ID: <20150226203154.GA2853@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> <4461aoe96j.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4461aoe96j.fsf@lowell-desk.lan> 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.15.238.224 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 Feb 2015 20:31:59 -0000 El día Thursday, February 26, 2015 a las 02:59:00PM -0500, Lowell Gilbert escribió: > Are you sure you *need* sendmail running by default? Most laptops don't. Most laptops run Windows and of course I could read my mail like any poor Windows user with a browser :-) But I don't. I fetch my mails from my ISP with fetchmail and pipe them through sendmail and procmail (for filtering); and I send upstream with SMPT && SSL to my ISP using sendmail. More, if you have to pay the Internet link in a hotel, for example in Havana time based ($4.50 per hour), it is so nice to connect a few seconds(!) to fetch all your mails, shutdown the link, read and answer the mails offline, queue answers with sendmail, and re-open the link for a few seconds to send the mails out. Isn't this handy? matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 La referencia de la Duma a la anexión de la RDA, en este caso al contrario con la Crimlía sin referéndum, no solamente tiene gracia sino da en el blanco.- Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 20:51:56 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0618F731 for ; Thu, 26 Feb 2015 20:51:56 +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 71D6E3B2 for ; Thu, 26 Feb 2015 20:51:55 +0000 (UTC) Received: by lamq1 with SMTP id q1so13532983lam.5 for ; Thu, 26 Feb 2015 12:51:53 -0800 (PST) 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=mxZrmgRMbV6QcHyd784VAfdaOUQHUwi/iczLsT6UgEw=; b=LUYlG5Kn7F1sqYDDklvRdDjDE+zEoNkeelNVbxgzHdZvoa8SZ9bYJCnHM1layRK4kZ pBQx37OU3+o+RpeSHAysv0UGdGf/tH8MhIOb7PsE2Uok/OaxGuo/TCYePw7H78+PQ4x0 yXJWwfIxO/0Hb4J+CeOHEv2lTgcpbppPOgOjUyfR4L1sCXPzRJ8esSMYIJQELKFuffgh mUens/Vm7pmQoIO2+/6BqZgDELy1IVkwf2K5wffSEEVnOKCavUpCzV5BBkcves44iLNG DkJ/sPvgFnA5Lk4F4F/ydlwDxChzLmAClC6XEoVEibnQj/C7vp96LqsldyTG9dacnx2n lozA== MIME-Version: 1.0 X-Received: by 10.112.167.4 with SMTP id zk4mr9185633lbb.74.1424983913370; Thu, 26 Feb 2015 12:51:53 -0800 (PST) Received: by 10.25.34.68 with HTTP; Thu, 26 Feb 2015 12:51:53 -0800 (PST) In-Reply-To: <54EF80C2.3040803@hiwaay.net> References: <54EF5A28.8010605@hiwaay.net> <20150226183930.477ed7b5.freebsd@edvax.de> <54EF601F.3070702@hiwaay.net> <20150226190921.94278d64.freebsd@edvax.de> <54EF80C2.3040803@hiwaay.net> Date: Thu, 26 Feb 2015 14:51:53 -0600 Message-ID: Subject: Re: problems mounting camera to download pics .... From: Andrew Gould To: "William A. Mahaffey III" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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 Feb 2015 20:51:56 -0000 On Thu, Feb 26, 2015 at 2:23 PM, William A. Mahaffey III wrote: > On 02/26/15 12:09, Polytropon wrote: > >> On Thu, 26 Feb 2015 12:04:15 -0600, William A. Mahaffey III wrote: >> >>> On 02/26/15 11:39, Polytropon wrote: >>> >>>> On Thu, 26 Feb 2015 11:38:48 -0600, William A. Mahaffey III wrote: >>>> >>>>> .... I am trying to mount my digital camera to download some pics I >>>>> just >>>>> took. When I do this as root, it works AOK & I got the pics off. >>>>> However, when I changed my fstab file to (supposedly) allow regular >>>>> users to mount that directory, the mount command fails: >>>>> >>>>> >>>>> [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ >>>>> mount_msdosfs: /dev/da0s1: Operation not permitted >>>>> [wam@kabini1, ~, 11:35:58am] 530 % >>>>> >>>> And with "sudo" prefix? :-) >>>> >>> [wam@kabini1, ~, 11:58:22am] 568 % mount /media/flash/ >>> mount_msdosfs: /dev/da0s1: Operation not permitted >>> [wam@kabini1, ~, 11:58:25am] 569 % sudo mount /media/flash/ >>> mount_msdosfs: /dev/da0s1: mount option is unknown: Invalid >>> argument >>> [wam@kabini1, ~, 11:58:27am] 570 % >>> >> I didn't find the "users" option in "man mount" or "man mount_msdosfs", >> what is it supposed to do? What if you temporarily remove it? >> > > A linuxism :-/ .... makes no difference either way, other than the parsing > error .... It's supposed to allow regular users to mount that resource .... > > >> >> relevant lines from my fstab file: >>>>> >>>>> >>>>> /dev/da0s1 /media/flash msdosfs >>>>> rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 >>>>> >>>> Suggestion regarding msdosfs: add "-m=644,-M=755" to the >>>> options to get rid of the fake +x attributes for the files. >>>> You could also add "noatime". >>>> >>> Roger, wilco .... >>> >> Not essential to solve the problem, but might be helpful for >> further usage. >> >> >> >> Not a huge issue, since I can get 'er done as root, but I don't see why >>>>> this shouldn't be feasible as a regular user .... TIA & have a nice, >>>>> snowy (here) day ;-) .... >>>>> >>>> Do you have the mandatory "vfs.usermount=1" in /etc/sysctl.conf? >>>> Also check the device permissions: User or group requires rw for >>>> the device and must own the mountpoint. >>>> >>> .... & remember to change it in the command line as well, done, still >>> the same problem .... my root dir: >>> >>> >>> [wam@kabini1, ~, 12:01:36pm] 570 % ll / >>> total 32890 >>> [...] >>> drwxr-xr-x 5 root wheel 512 Oct 26 08:01 media/ >>> [...] >>> So am I supposed to have /media group writable ? I did so & same issue >>> .... >>> >> I think so. You can test this by temporarily chown'ing the >> whole /media subtree to your user, and then run the command >> as user (given that vfs.usermount is already set). >> >> You can find more info here (regarding user mount): >> >> https://www.freebsd.org/doc/handbook/usb-disks.html >> >> > Hmmmm .... this looks rather involved, I think I'll punt. I can get stuff > mounted by root, & I usually have a root window open, so I'm OK as is. > Thanks :-) .... > > -- > > William A. Mahaffey III > > ---------------------------------------------------------------------- > > If you set the suid on mount and umount, users should be able to mount and unmount devices. chmod u+s /sbin/*mount Andrew From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 20:54: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 04B148D2 for ; Thu, 26 Feb 2015 20:54:15 +0000 (UTC) Received: from mail.vin-dit.org (mail.vin-dit.org [81.209.165.242]) by mx1.freebsd.org (Postfix) with ESMTP id BE018401 for ; Thu, 26 Feb 2015 20:54:14 +0000 (UTC) Received: by mail.vin-dit.org (Postfix, from userid 1000) id EF48F481B5; Thu, 26 Feb 2015 15:54:11 -0500 (EST) Date: Thu, 26 Feb 2015 15:54:11 -0500 From: John Holland To: freebsd-questions@freebsd.org Subject: KDE Phonon not producing sound Message-ID: <20150226205411.GA5184@mail.vin-dit.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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 Feb 2015 20:54:15 -0000 I'm really motivated by Amarok, which I want to get working. It doesn't produce any sound. I think the Phonon sound system of KDE is not working. Alert sounds work in KDE but phonon setup shows no hardware. I tried building kde-workbench ((not sure if that is the correct package name) with VLC backend instead of Gstreamer but still no luck. Any help would be great. (I'm a recent refugee from Debian due to systemd, although I ran Freebsd for a while about 12 years ago) -- John Holland jholland@vin-dit.org gpg public key ID 0xEFAF0D15 From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 21:38: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 05BF4AEA; Thu, 26 Feb 2015 21:38:14 +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 E5970ACB; Thu, 26 Feb 2015 21:38:12 +0000 (UTC) Received: from [213.239.211.40] (helo=gurder.ross.cx) by www81.your-server.de with esmtpa (Exim 4.80.1) (envelope-from ) id 1YR5p7-000257-W6; Thu, 26 Feb 2015 22:18:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 26 Feb 2015 22:18:18 +0100 From: Michael Ross To: Matthias Apitz , Lowell Gilbert , freebsd-questions@freebsd.org Subject: Re: sendmail && dhcp In-Reply-To: <20150226194012.GA2695@c720-r276659> References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> Message-ID: X-Sender: gmx@ross.cx User-Agent: Roundcube Webmail/1.1.0 X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.5/20116/Thu Feb 26 18:47:13 2015) Cc: owner-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 Feb 2015 21:38:14 -0000 Am 2015-02-26 20:40, schrieb Matthias Apitz: > El día Thursday, February 26, 2015 a las 10:50:50AM -0500, Lowell > Gilbert escribió: > >> Matthias Apitz writes: >> >> > What would be the best way to restart (or defer the start of sendmail) >> > until the correct DNS is in place? For the tun interface I'm using a >> > devd(8) hook, but I'm looking more for a general solution. >> >> dhclient-script(8) is one way. > > Thanks for the hint. I've played around with the hooks script > /etc/dhclient-exit-hooks; but this is not invoked when PPP brings up > the > interface tun(4), routing etc. because this is not done by dhclient(8), > but directly by the pppd(8) and its hooks. > > matthias /etc/ppp/ppp.link(up|down) ? Quote man ppp: If the /etc/ppp/ppp.linkup file is available, its contents are executed when the PPP connection is established. Michael From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 21:44: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 953CFC21 for ; Thu, 26 Feb 2015 21:44:33 +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 4FAF9BF7 for ; Thu, 26 Feb 2015 21:44:32 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-56.adsl.hiwaay.net [216.180.19.56]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t1QLiUUV024959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 26 Feb 2015 15:44:30 -0600 Message-ID: <54EF9535.9020409@hiwaay.net> Date: Thu, 26 Feb 2015 15:50:45 -0600 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 !!!!" Subject: Re: problems mounting camera to download pics .... References: <54EF5A28.8010605@hiwaay.net> <20150226183930.477ed7b5.freebsd@edvax.de> <54EF601F.3070702@hiwaay.net> <20150226190921.94278d64.freebsd@edvax.de> <54EF80C2.3040803@hiwaay.net> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.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 Feb 2015 21:44:33 -0000 On 02/26/15 14:51, Andrew Gould wrote: > On Thu, Feb 26, 2015 at 2:23 PM, William A. Mahaffey III > > wrote: > > On 02/26/15 12:09, Polytropon wrote: > > On Thu, 26 Feb 2015 12:04:15 -0600, William A. Mahaffey III wrote: > > On 02/26/15 11:39, Polytropon wrote: > > On Thu, 26 Feb 2015 11:38:48 -0600, William A. > Mahaffey III wrote: > > .... I am trying to mount my digital camera to > download some pics I just > took. When I do this as root, it works AOK & I got > the pics off. > However, when I changed my fstab file to > (supposedly) allow regular > users to mount that directory, the mount command > fails: > > > [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ > mount_msdosfs: /dev/da0s1: Operation not permitted > [wam@kabini1, ~, 11:35:58am] 530 % > > And with "sudo" prefix? :-) > > [wam@kabini1, ~, 11:58:22am] 568 % mount /media/flash/ > mount_msdosfs: /dev/da0s1: Operation not permitted > [wam@kabini1, ~, 11:58:25am] 569 % sudo mount /media/flash/ > mount_msdosfs: /dev/da0s1: mount option is > unknown: Invalid argument > [wam@kabini1, ~, 11:58:27am] 570 % > > I didn't find the "users" option in "man mount" or "man > mount_msdosfs", > what is it supposed to do? What if you temporarily remove it? > > > A linuxism :-/ .... makes no difference either way, other than the > parsing error .... It's supposed to allow regular users to mount > that resource .... > > > > relevant lines from my fstab file: > > > /dev/da0s1 /media/flash msdosfs > rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 > 0 > > Suggestion regarding msdosfs: add "-m=644,-M=755" to the > options to get rid of the fake +x attributes for the > files. > You could also add "noatime". > > Roger, wilco .... > > Not essential to solve the problem, but might be helpful for > further usage. > > > > Not a huge issue, since I can get 'er done as > root, but I don't see why > this shouldn't be feasible as a regular user .... > TIA & have a nice, > snowy (here) day ;-) .... > > Do you have the mandatory "vfs.usermount=1" in > /etc/sysctl.conf? > Also check the device permissions: User or group > requires rw for > the device and must own the mountpoint. > > .... & remember to change it in the command line as well, > done, still > the same problem .... my root dir: > > > [wam@kabini1, ~, 12:01:36pm] 570 % ll / > total 32890 > [...] > drwxr-xr-x 5 root wheel 512 Oct 26 08:01 media/ > [...] > So am I supposed to have /media group writable ? I did so > & same issue .... > > I think so. You can test this by temporarily chown'ing the > whole /media subtree to your user, and then run the command > as user (given that vfs.usermount is already set). > > You can find more info here (regarding user mount): > > https://www.freebsd.org/doc/handbook/usb-disks.html > > > Hmmmm .... this looks rather involved, I think I'll punt. I can > get stuff mounted by root, & I usually have a root window open, so > I'm OK as is. Thanks :-) .... > > -- > > William A. Mahaffey III > > ---------------------------------------------------------------------- > > > If you set the suid on mount and umount, users should be able to mount > and unmount devices. > > chmod u+s /sbin/*mount > > > Andrew OK, I'll try that & see, 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 Thu Feb 26 21:49: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 92A25E7C for ; Thu, 26 Feb 2015 21:49:42 +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 54340C46 for ; Thu, 26 Feb 2015 21:49:42 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-56.adsl.hiwaay.net [216.180.19.56]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t1QLne8v028498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 26 Feb 2015 15:49:41 -0600 Message-ID: <54EF966C.8050804@hiwaay.net> Date: Thu, 26 Feb 2015 15:55:56 -0600 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 !!!!" Subject: Re: problems mounting camera to download pics .... References: <54EF5A28.8010605@hiwaay.net> <20150226183930.477ed7b5.freebsd@edvax.de> <54EF601F.3070702@hiwaay.net> <20150226190921.94278d64.freebsd@edvax.de> <54EF80C2.3040803@hiwaay.net> In-Reply-To: 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: Thu, 26 Feb 2015 21:49:42 -0000 On 02/26/15 14:51, Andrew Gould wrote: > chmod u+s/sbin/*mount *Booooyah* !!!! That worked, 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 Thu Feb 26 21:54:09 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D55DEF86 for ; Thu, 26 Feb 2015 21:54:09 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A224CD18 for ; Thu, 26 Feb 2015 21:54:09 +0000 (UTC) Received: by pabrd3 with SMTP id rd3so17201479pab.4 for ; Thu, 26 Feb 2015 13:54:09 -0800 (PST) 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=EcuzR2WN5vNhYVVc6upV8NvrP2AgVAmqYDK8jQmoHM0=; b=CzKhN2TNVe7jDMowpbTH86Ut8UDcP/YhjyU+ImVCTCTJaY/auJGRi/xarOVzr2xkzU YFz13jF4tTEHm9wSFJlJYaYKnX9TaaPOe4NT8v9GYz/WP4WCBM1MnJ8aHoa6meIYc84Y rh31MZdj1rZMGvTqArTp/treE4GJERjcyyEtHemLaNhLics/juHJZtUrGNF3OXlvRtgi 2fD/0IJ7YXxqwODlYP2gUbLHgIdtGiKL1VIytvMaxkMnhYCc4KjQLb91wltpl2U5OegH jCcts6QziaYXyU8Qg/eMABsBjfcgwNYHrW9AhJ+kLxHjvjd+DQ3dqY0NarI9PVNvfGdr E5dg== MIME-Version: 1.0 X-Received: by 10.67.1.164 with SMTP id bh4mr17948813pad.129.1424987649099; Thu, 26 Feb 2015 13:54:09 -0800 (PST) Received: by 10.70.110.134 with HTTP; Thu, 26 Feb 2015 13:54:09 -0800 (PST) In-Reply-To: <54EF5A28.8010605@hiwaay.net> References: <54EF5A28.8010605@hiwaay.net> Date: Thu, 26 Feb 2015 15:54:09 -0600 Message-ID: Subject: Re: problems mounting camera to download pics .... From: Adam Vande More To: "William A. Mahaffey III" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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 Feb 2015 21:54:10 -0000 On Thu, Feb 26, 2015 at 11:38 AM, William A. Mahaffey III wrote: > > > .... I am trying to mount my digital camera to download some pics I just > took. When I do this as root, it works AOK & I got the pics off. However, > when I changed my fstab file to (supposedly) allow regular users to mount > that directory, the mount command fails: > > > [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ > mount_msdosfs: /dev/da0s1: Operation not permitted > [wam@kabini1, ~, 11:35:58am] 530 % > > > relevant lines from my fstab file: > > > /dev/da0s1 /media/flash msdosfs > rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 > # /dev/da0s1 /media/flash msdosfs > rw,sync,noauto,longnames,-Lru_RU.UTF-8 0 0 > > > FreeBSD 9.3-RELEASE-p9 > > Not a huge issue, since I can get 'er done as root, but I don't see why > this shouldn't be feasible as a regular user .... TIA & have a nice, snowy > (here) day ;-) .... > sysctl vfs.usermount=1 -- Adam From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 23:08:25 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 5E7E9D21 for ; Thu, 26 Feb 2015 23:08: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 233DD7FB for ; Thu, 26 Feb 2015 23:08:24 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-223.adsl.hiwaay.net [216.180.76.223]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t1QN8N48015582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 26 Feb 2015 17:08:23 -0600 Message-ID: <54EFA8DE.9050909@hiwaay.net> Date: Thu, 26 Feb 2015 17:14:38 -0600 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 !!!!" Subject: Re: problems mounting camera to download pics .... References: <54EF5A28.8010605@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: Thu, 26 Feb 2015 23:08:25 -0000 On 02/26/15 15:54, Adam Vande More wrote: > On Thu, Feb 26, 2015 at 11:38 AM, William A. Mahaffey III > wrote: > >> >> .... I am trying to mount my digital camera to download some pics I just >> took. When I do this as root, it works AOK & I got the pics off. However, >> when I changed my fstab file to (supposedly) allow regular users to mount >> that directory, the mount command fails: >> >> >> [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ >> mount_msdosfs: /dev/da0s1: Operation not permitted >> [wam@kabini1, ~, 11:35:58am] 530 % >> >> >> relevant lines from my fstab file: >> >> >> /dev/da0s1 /media/flash msdosfs >> rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 >> # /dev/da0s1 /media/flash msdosfs >> rw,sync,noauto,longnames,-Lru_RU.UTF-8 0 0 >> >> >> FreeBSD 9.3-RELEASE-p9 >> >> Not a huge issue, since I can get 'er done as root, but I don't see why >> this shouldn't be feasible as a regular user .... TIA & have a nice, snowy >> (here) day ;-) .... >> > sysctl vfs.usermount=1 > Already tried, didn't work, however someone else suggested setuid on /sbin/(u)mount & that worked .... 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 Thu Feb 26 23:12:17 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 CE2D6B5 for ; Thu, 26 Feb 2015 23:12:17 +0000 (UTC) Received: from deneb.dwf.com (70-90-202-97-Albuquerque.hfc.comcastbusiness.net [70.90.202.97]) (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 8F5C98C6 for ; Thu, 26 Feb 2015 23:12:16 +0000 (UTC) Received: from deneb.dwf.com (localhost [127.0.0.1]) by deneb.dwf.com (8.14.4/8.14.3) with ESMTP id t1QMUsMc030028 for ; Thu, 26 Feb 2015 15:30:55 -0700 Message-Id: <201502262230.t1QMUsMc030028@deneb.dwf.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: questions@FreeBSD.org Subject: PC-BSD single user startup with mounts. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Feb 2015 15:30:54 -0700 From: reg@dwf.com 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 Feb 2015 23:12:17 -0000 It seems I may make a career out of trying to install the nvidia304 driver on my system. I have to date got info from this list that I should be using the copy in ports rather than the copy from nvidia (thanks the ports version actually builds) But installing it is now the problem. I need to boot in single user mode to do the install, but I need file systems mounted to get to /usr/ports. Its not obvious what to do after the single user boot to get ALL the file systems mounted. Clearly mount -a doesn't work (nothing in fstab), so here I am back to the list asking dumb questions. Reg.Clemens clemens@dwf.com From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 23:13: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 528E02DC for ; Thu, 26 Feb 2015 23:13:18 +0000 (UTC) Received: from st11p00mm-asmtp004.mac.com (st11p00mm-asmtpout004.mac.com [17.172.81.3]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 227F98DE for ; Thu, 26 Feb 2015 23:13:17 +0000 (UTC) Received: from [192.168.1.10] (66-188-153-21.dhcp.stcd.mn.charter.com [66.188.153.21]) by st11p00mm-asmtp004.mac.com (Oracle Communications Messaging Server 7.0.5.33.0 64bit (built Aug 27 2014)) with ESMTPSA id <0NKE00I6AJ5XZH60@st11p00mm-asmtp004.mac.com> for freebsd-questions@freebsd.org; Thu, 26 Feb 2015 23:13:10 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-26_08:2015-02-26,2015-02-26,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=4 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1502260225 Message-id: <54EFA894.2000905@icloud.com> Date: Thu, 26 Feb 2015 17:13:24 -0600 From: Brandon Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-version: 1.0 To: reg@dwf.com Subject: Re: PC-BSD single user startup with mounts. References: <201502262230.t1QMUsMc030028@deneb.dwf.com> In-reply-to: <201502262230.t1QMUsMc030028@deneb.dwf.com> Content-type: text/plain; charset=windows-1252; format=flowed 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: Thu, 26 Feb 2015 23:13:18 -0000 Are you using ZFS or UFS? On 2/26/2015 4:30 PM, reg@dwf.com wrote: > It seems I may make a career out of trying to install the nvidia304 > driver on my system. > > I have to date got info from this list that I should be using the > copy in ports rather than the copy from nvidia (thanks the ports version > actually builds) > > But installing it is now the problem. > I need to boot in single user mode to do the install, but I need file > systems mounted to get to /usr/ports. Its not obvious what to do > after the single user boot to get ALL the file systems mounted. > Clearly mount -a doesn't work (nothing in fstab), so here I am back > to the list asking dumb questions. > > Reg.Clemens > clemens@dwf.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 00:15:26 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0CC5EEDF for ; Fri, 27 Feb 2015 00:15:26 +0000 (UTC) Received: from st11p00mm-asmtp001.mac.com (st11p00mm-asmtp001.mac.com [17.172.81.0]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1465ED0 for ; Fri, 27 Feb 2015 00:15:25 +0000 (UTC) Received: from [192.168.1.10] (66-188-153-21.dhcp.stcd.mn.charter.com [66.188.153.21]) by st11p00mm-asmtp001.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NKE00G3VJ9HC700@st11p00mm-asmtp001.mac.com> for freebsd-questions@freebsd.org; Thu, 26 Feb 2015 23:15:18 +0000 (GMT) Message-id: <54EFA914.5040103@icloud.com> Date: Thu, 26 Feb 2015 17:15:32 -0600 From: Brandon Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-version: 1.0 To: reg@dwf.com Subject: Re: PC-BSD single user startup with mounts. References: <201502262230.t1QMUsMc030028@deneb.dwf.com> <54EFA894.2000905@icloud.com> In-reply-to: <54EFA894.2000905@icloud.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-26_08:2015-02-26,2015-02-26,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=4 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1502260225 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 Feb 2015 00:15:26 -0000 Nvm I had a brainfart. You're using PC-BSD, so ZFS. What does your zpool setup look like? Run "zpool list". On 2/26/2015 5:13 PM, Brandon Schneider wrote: > Are you using ZFS or UFS? > > On 2/26/2015 4:30 PM, reg@dwf.com wrote: >> It seems I may make a career out of trying to install the nvidia304 >> driver on my system. >> >> I have to date got info from this list that I should be using the >> copy in ports rather than the copy from nvidia (thanks the ports version >> actually builds) >> >> But installing it is now the problem. >> I need to boot in single user mode to do the install, but I need file >> systems mounted to get to /usr/ports. Its not obvious what to do >> after the single user boot to get ALL the file systems mounted. >> Clearly mount -a doesn't work (nothing in fstab), so here I am back >> to the list asking dumb questions. >> >> Reg.Clemens >> clemens@dwf.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" > > _______________________________________________ > 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 Feb 27 00:26: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 ADB71E6 for ; Fri, 27 Feb 2015 00:26:12 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 81483FC6 for ; Fri, 27 Feb 2015 00:26:12 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 2BE4833C1E; Thu, 26 Feb 2015 19:26:06 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id C5BCB39816; Thu, 26 Feb 2015 19:26:05 -0500 (EST) From: Lowell Gilbert To: Matthias Apitz Subject: Re: sendmail && dhcp References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> <4461aoe96j.fsf@lowell-desk.lan> <20150226203154.GA2853@c720-r276659> Date: Thu, 26 Feb 2015 19:26:05 -0500 In-Reply-To: <20150226203154.GA2853@c720-r276659> (Matthias Apitz's message of "Thu, 26 Feb 2015 21:31:54 +0100") Message-ID: <44k2z4ci8y.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; charset=iso-8859-1 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: Fri, 27 Feb 2015 00:26:12 -0000 Matthias Apitz writes: > El d=EDa Thursday, February 26, 2015 a las 02:59:00PM -0500, Lowell Gilbe= rt escribi=F3: > >> Are you sure you *need* sendmail running by default? Most laptops don't.= =20 > > Most laptops run Windows and of course I could read my mail like any Um, yes. Assume I meant "Most Unix laptops don't." > poor Windows user with a browser :-) But I don't. I fetch my mails from my > ISP with fetchmail and pipe them through sendmail and procmail (for > filtering); and I send upstream with SMPT && SSL to my ISP using > sendmail. More, if you have to pay the Internet link in a hotel, for > example in Havana time based ($4.50 per hour), it is so nice to connect a > few seconds(!) to fetch all your mails, shutdown the link, read and > answer the mails offline, queue answers with sendmail, and re-open the li= nk for a > few seconds to send the mails out. Isn't this handy? You don't need a sendmail daemon for that. Tell fetchmail to invoke sendmail itself instead of delivering to a local TCP port. I don't remember the syntax exactly, but I'm pretty sure that it's described in fetchmail's man page. Seriously; very few laptops need to be running any kind of MTA full-time. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 02:29: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 E30DF62D for ; Fri, 27 Feb 2015 02:29:09 +0000 (UTC) Received: from smtp10.hushmail.com (smtp10.hushmail.com [65.39.178.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.hushmail.com", Issuer "Self-signed" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C65BFDB6 for ; Fri, 27 Feb 2015 02:29:09 +0000 (UTC) Received: from smtp10.hushmail.com (localhost [127.0.0.1]) by smtp10.hushmail.com (Postfix) with SMTP id 4975FC01F3 for ; Fri, 27 Feb 2015 01:50:58 +0000 (UTC) Received: from smtp.hushmail.com (w3.hushmail.com [65.39.178.62]) by smtp10.hushmail.com (Postfix) with ESMTP; Fri, 27 Feb 2015 01:50:57 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 4E2F3C0431; Fri, 27 Feb 2015 01:50:57 +0000 (UTC) MIME-Version: 1.0 Date: Fri, 27 Feb 2015 01:50:57 +0000 To: "Polytropon" Subject: Re: Why all the fancy ASCII art in the boot loader? From: opendaddy@hushmail.com In-Reply-To: <20150222175145.6b2cb583.freebsd@edvax.de> References: <20150222164422.D89FCA0168@smtp.hushmail.com> <20150222175145.6b2cb583.freebsd@edvax.de> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20150227015057.4E2F3C0431@smtp.hushmail.com> 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 Feb 2015 02:29:10 -0000 Hi, On 22. februar 2015 at 4:43 PM, "Polytropon" wrote: > >On Sun, 22 Feb 2015 16:44:22 +0000, opendaddy@hushmail.com wrote: >> Hello! >> >> Why all the fancy ASCII art in the boot loader? Every time I boot >> I'm distracted by it. Feels like I'm reading an 80s e-zine. > >It's easy to switch those off, and even the delay (mostly >unneccessary). Add those to /boot/loader.conf: > > autoboot_delay="1" > beastie_disable="YES" > >You still have the option to interrupt booting at this >early stage. > > > >> Can't we be more like OpenBSD and keep things simple? >> http://en.wikipedia.org/wiki/KISS_principle > >FreeBSD's configuration mechanism for the boot loader >easily allows that. :-) > That is all good, however, why does this stuff have to be there in the first place? Just seems a bit unprofessional that's all. Thanks! -- P.S. My mailbox has been full until today so if there were any additional replies I did not receive them. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 02:36: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 D7002845 for ; Fri, 27 Feb 2015 02:36:21 +0000 (UTC) Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82132E7B for ; Fri, 27 Feb 2015 02:36:21 +0000 (UTC) Received: by mail-qg0-f48.google.com with SMTP id q107so877647qgd.7 for ; Thu, 26 Feb 2015 18:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type; bh=IBNNS2adtOLSD2Uv+qbwqGBea/BvbJMSTggXdU5MX7M=; b=lGdcHx2J3l3TtE/8KbXozjyJBepjE+kZUJ9H/W93GCoYsqXVwEbYkELczEnex2P6AR CCGT+KELzItKQrA6tLgNNxitNfRDK0NquK1ByByNEjcMyPBejmDkSFTLZtGXblWUsAVi dZjd8TnxMUUTveDrt7TVAqDvuLkVq0x2MfuCuw8WBBp0Wo9qXG0yJ12696nkwkAwHFAG 89nf/Nx5KBhd5ABAg1a5pTIF2tS89Pgj+JgwT6nH7eZALtcKi30uVhtA+geNFO6hrIAF WAqHQt44eFK+KJzON59GfYrPxhh5a418gGi88Rs/ZNm+epGYrNCkRu6T51xwHJRJo34p RmYg== X-Received: by 10.140.102.170 with SMTP id w39mr23458313qge.100.1425004580441; Thu, 26 Feb 2015 18:36:20 -0800 (PST) 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 75sm1828737qhy.1.2015.02.26.18.36.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Feb 2015 18:36:19 -0800 (PST) Date: Thu, 26 Feb 2015 21:36:07 -0500 From: Stephen R Guglielmo To: freebsd-questions@freebsd.org Subject: Re: Why all the fancy ASCII art in the boot loader? Message-ID: <20150226213607.49d8ef4b@lapsdeb> In-Reply-To: <20150227015057.4E2F3C0431@smtp.hushmail.com> References: <20150222164422.D89FCA0168@smtp.hushmail.com> <20150222175145.6b2cb583.freebsd@edvax.de> <20150227015057.4E2F3C0431@smtp.hushmail.com> 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_/XJcxCwCs.eNAgiOJRjf4Ylt"; protocol="application/pgp-signature" 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 Feb 2015 02:36:22 -0000 --Sig_/XJcxCwCs.eNAgiOJRjf4Ylt Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 27 Feb 2015 01:50:57 +0000 opendaddy@hushmail.com wrote: > Hi, >=20 > On 22. februar 2015 at 4:43 PM, "Polytropon" wrote: > > > >On Sun, 22 Feb 2015 16:44:22 +0000, opendaddy@hushmail.com wrote: > >> Hello! > >>=20 > >> Why all the fancy ASCII art in the boot loader? Every time I boot > >> I'm distracted by it. Feels like I'm reading an 80s e-zine. > >>=20 > >> Can't we be more like OpenBSD and keep things simple? > >> http://en.wikipedia.org/wiki/KISS_principle > > > >FreeBSD's configuration mechanism for the boot loader > >easily allows that. :-) > > >=20 > That is all good, however, why does this stuff have to be there in > the first place? Just seems a bit unprofessional that's all. >=20 I rather enjoy the ASCII art. Look at the grub bootloader on linux. I think the FreeBSD bootloader is exactly as simple as it needs to be. Obviously you need to provide for options such as custom booting, alternate kernels, ACPI, and whatnot. I would say more about this topic, but it doesn't matter what color the bikeshed is. --Sig_/XJcxCwCs.eNAgiOJRjf4Ylt Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJU79ghAAoJEA8nk/BQet6LhcgQAK3C6l20EJ/C3UAhU2+I3udD L0HbTqH6si23HlEn3kDxQrGGl28p7Wcfd9VstN/kVUnhSvEV/pyVcBF5LxKodbpS 42v9fivQhY6VOMIGCFdqn6bDKjA6fyvyIAS7i/NRhhKKFTJQWJWkPjzXcpK0WrqE oZ2eC+FXYWB5WwAc2VzKZmk/bG8owDwwtLD6dy2DfXDH1rtkgXX9xVWBeSrvkAjJ Gs2FTadZEi6JBbQoQiRfx6T2vh/hBemIZ97DC9CPFCH7XF1Xim1gW7oK+2PoUuck ZgFrJk6gzanOm6L0GXNl/CG7Ad3iDT6Fo2WIo07O7mivm2rTIcCefBJBlcq/vxBa VwguCA4HVvkoSde1pnGabodIWIdYtozY9ePZAfIpyk6R8QncMa4AFgAqPO5Lj5I6 L3lVX1GS3/31SeA4OFYu+oh7feByO3rtFCWj6Hte5vZ6vA99Dl2jXidcj0N54+su zo9Q+5iz0J3QJDUdUhEP/GqW7VzY57azuTyb1GrxJxkyn1L4zokueeRfl7wiQ8yu VjopXlTmHu4yEohr5uZzbIWY8NrRLAAlETe0ZBJ7OfuGDhmWwYRAw6Pue7PzJtU8 Oq3hQ6Xu5WWFJ8LyE/JLdurQMgSKqghqYgTU7mFAUeSOmpkpcXLwpnAqfWE6ATUh iX1D5IaRKnICnzcuc1vb =+tq8 -----END PGP SIGNATURE----- --Sig_/XJcxCwCs.eNAgiOJRjf4Ylt-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 03:48: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 49F9C79D for ; Fri, 27 Feb 2015 03:48:50 +0000 (UTC) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (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 25FD493C for ; Fri, 27 Feb 2015 03:48:49 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id t1R3mQeg081988 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 26 Feb 2015 19:48:27 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id t1R3mQJB081987; Thu, 26 Feb 2015 19:48:26 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA14308; Thu, 26 Feb 15 19:38:01 PST Date: Thu, 26 Feb 2015 19:37:59 -0800 From: perryh@pluto.rain.com (Perry Hutchison) To: guru@unixarea.de, freebsd-questions-local@be-well.ilk.org Subject: Re: sendmail && dhcp Message-Id: <54efe697.xdtSCVZsiZDqV7lP%perryh@pluto.rain.com> References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> <4461aoe96j.fsf@lowell-desk.lan> <20150226203154.GA2853@c720-r276659> <44k2z4ci8y.fsf@lowell-desk.lan> In-Reply-To: <44k2z4ci8y.fsf@lowell-desk.lan> User-Agent: nail 11.25 7/29/05 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: Fri, 27 Feb 2015 03:48:50 -0000 Lowell Gilbert wrote: > Matthias Apitz writes: > > I fetch my mails from my ISP with fetchmail and pipe them > > through sendmail and procmail (for filtering); and I send > > upstream with SMPT && SSL to my ISP using sendmail ... it is > > so nice to connect a few seconds(!) to fetch all your mails, > > shutdown the link, read and answer the mails offline, queue > > answers with sendmail, and re-open the link for a few seconds > > to send the mails out. > > You don't need a sendmail daemon for that. There's no need to involve sendmail at all (on the receive side) for that. Depending on the MUA the OP might need one for sending -- some MUAs only support sending via SMTP, not by fork/exec sendmail. > Tell fetchmail to invoke sendmail itself instead of delivering > to a local TCP port AFAIK there is no need for one MTA (fetchmail) to invoke another MTA (sendmail) just to get to a third mail agent[*] (procmail). Have fetchmail invoke procmail directly. [*] I don't remember offhand whether procmail is considered an MTA or an LDA, and for this analysis it doesn't matter. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 04:55: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 34E4819C for ; Fri, 27 Feb 2015 04:55:54 +0000 (UTC) Received: from st11p00mm-asmtp003.mac.com (st11p00mm-asmtp003.mac.com [17.172.81.2]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0651BF1B for ; Fri, 27 Feb 2015 04:55:53 +0000 (UTC) Received: from [192.168.1.10] (66-188-153-21.dhcp.stcd.mn.charter.com [66.188.153.21]) by st11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NKE009IBZ0WBF20@st11p00mm-asmtp003.mac.com> for freebsd-questions@freebsd.org; Fri, 27 Feb 2015 04:55:46 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-27_02:2015-02-26,2015-02-27,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1502270050 Message-id: <54EFF8E0.7010202@icloud.com> Date: Thu, 26 Feb 2015 22:56:00 -0600 From: Brandon Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-version: 1.0 To: Reg Clemens Subject: Re: PC-BSD single user startup with mounts. References: <201502262230.t1QMUsMc030028@deneb.dwf.com> <54EFA894.2000905@icloud.com> <201502270414.t1R4EK5H032621@deneb.dwf.com> In-reply-to: <201502270414.t1R4EK5H032621@deneb.dwf.com> Content-type: text/plain; charset=windows-1252; format=flowed 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: Fri, 27 Feb 2015 04:55:54 -0000 Sorry. I meant a zfs list. Also don't forget to CC the list so this thread stays archived. On 2/26/2015 10:14 PM, Reg Clemens wrote: >> Are you using ZFS or UFS? >> > Sorry for the delay in getting back to you, Im using zfs > the zpool list gives (sorry Im typing this from a different machine from > the pc-bsd machine > > zpool lit > > tank 91G 8.55G 82.5G 4% - 9% 1.00x ONLINE - > > with the appropriate titles above these values. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 05:08:28 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8A943F5 for ; Fri, 27 Feb 2015 05:08:28 +0000 (UTC) Received: from deneb.dwf.com (70-90-202-97-Albuquerque.hfc.comcastbusiness.net [70.90.202.97]) (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 8E91495 for ; Fri, 27 Feb 2015 05:08:27 +0000 (UTC) Received: from deneb.dwf.com (localhost [127.0.0.1]) by deneb.dwf.com (8.14.4/8.14.3) with ESMTP id t1R57rFR000659; Thu, 26 Feb 2015 22:07:53 -0700 Message-Id: <201502270507.t1R57rFR000659@deneb.dwf.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: Brandon Schneider Subject: Re: PC-BSD single user startup with mounts. In-reply-to: <54EFF8E0.7010202@icloud.com> References: <201502262230.t1QMUsMc030028@deneb.dwf.com> <54EFA894.2000905@icloud.com> <201502270414.t1R4EK5H032621@deneb.dwf.com> <54EFF8E0.7010202@icloud.com> Comments: In-reply-to Brandon Schneider message dated "Thu, 26 Feb 2015 22:56:00 -0600." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Feb 2015 22:07:53 -0700 From: reg@dwf.com Cc: Reg Clemens , freebsd-questions@freebsd.org, reg@deneb.dwf.com 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 Feb 2015 05:08:28 -0000 Here we go: --- Sorry. I meant a zfs list. Also don't forget to CC the list so this thread stays archived. [reg@pcbsd] /usr/ports% zfs list NAME USED AVAIL REFER MOUNTPOINT tank 8.54G 79.6G 144K none tank/ROOT 6.81G 79.6G 144K none tank/ROOT/beforeUpdate-2015-02-18_18-23-13 8K 79.6G 4.86G /mnt tank/ROOT/beforeUpdate-2015-02-18_18-44-27 120K 79.6G 4.94G /mnt tank/ROOT/beforeUpdate-2015-02-18_18-51-06 8K 79.6G 4.99G /mnt tank/ROOT/default 6.81G 79.6G 6.50G /mnt tank/tmp 324K 79.6G 324K /tmp tank/usr 1.72G 79.6G 144K none tank/usr/home 13.7M 79.6G 13.5M /usr/home tank/usr/home/efranks 144K 79.6G 144K /usr/home/efranks tank/usr/jails 227M 79.6G 152K /usr/jails tank/usr/jails/.warden-template-10.1-RELEASE-amd64 227M 79.6G 225M /usr/jails/.warden-template -10.1-RELEASE-amd64 tank/usr/obj 144K 79.6G 144K /usr/obj tank/usr/pbi 144K 79.6G 144K /usr/pbi tank/usr/ports 981M 79.6G 981M /usr/ports tank/usr/src 544M 79.6G 544M /usr/src tank/var 3.22M 79.6G 144K none tank/var/audit 160K 79.6G 160K /var/audit tank/var/log 424K 79.6G 424K /var/log tank/var/tmp 2.51M 79.6G 2.51M /var/tmp [reg@deneb ~]$ --- -- Reg.Clemens reg@dwf.com From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 05:13: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 715854D8 for ; Fri, 27 Feb 2015 05:13:18 +0000 (UTC) Received: from st11p00mm-asmtp001.mac.com (st11p00mm-asmtpout001.mac.com [17.172.81.0]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 41A2B14E for ; Fri, 27 Feb 2015 05:13:17 +0000 (UTC) Received: from [192.168.1.10] (66-188-153-21.dhcp.stcd.mn.charter.com [66.188.153.21]) by st11p00mm-asmtp001.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NKE00FMDZU3ER30@st11p00mm-asmtp001.mac.com> for freebsd-questions@freebsd.org; Fri, 27 Feb 2015 05:13:16 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-27_03:2015-02-26,2015-02-27,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1502270054 Message-id: <54EFFCFA.1070004@icloud.com> Date: Thu, 26 Feb 2015 23:13:30 -0600 From: Brandon Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-version: 1.0 To: reg@dwf.com Subject: Re: PC-BSD single user startup with mounts. References: <201502262230.t1QMUsMc030028@deneb.dwf.com> <54EFA894.2000905@icloud.com> <201502270414.t1R4EK5H032621@deneb.dwf.com> <54EFF8E0.7010202@icloud.com> <201502270507.t1R57rFR000659@deneb.dwf.com> In-reply-to: <201502270507.t1R57rFR000659@deneb.dwf.com> Content-type: text/plain; charset=windows-1252; format=flowed 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: Fri, 27 Feb 2015 05:13:18 -0000 Alright so it looks like you just went with the defaults. What's the issue in single user mode? Is it that you cannot write to the drives or that they do not mount? If they do not mount, do a "zfs mount -a" and that should mount them. You will also need to do "mount -u /" so you can write to the filesystem. You can also do "zfs set readonly=off tank" which may work better for you since you have a lot of datasets. I can vouch for that method, I don't normally use mount -u /. On 2/26/2015 11:07 PM, reg@dwf.com wrote: > Here we go: > > --- > > Sorry. I meant a zfs list. Also don't forget to CC the list so this > thread stays archived. > > > [reg@pcbsd] /usr/ports% zfs list > NAME USED AVAIL REFER > MOUNTPOINT > tank 8.54G 79.6G 144K none > tank/ROOT 6.81G 79.6G 144K none > tank/ROOT/beforeUpdate-2015-02-18_18-23-13 8K 79.6G 4.86G /mnt > tank/ROOT/beforeUpdate-2015-02-18_18-44-27 120K 79.6G 4.94G /mnt > tank/ROOT/beforeUpdate-2015-02-18_18-51-06 8K 79.6G 4.99G /mnt > tank/ROOT/default 6.81G 79.6G 6.50G /mnt > tank/tmp 324K 79.6G 324K /tmp > tank/usr 1.72G 79.6G 144K none > tank/usr/home 13.7M 79.6G 13.5M > /usr/home > tank/usr/home/efranks 144K 79.6G 144K > /usr/home/efranks > tank/usr/jails 227M 79.6G 152K > /usr/jails > tank/usr/jails/.warden-template-10.1-RELEASE-amd64 227M 79.6G 225M > /usr/jails/.warden-template > -10.1-RELEASE-amd64 > tank/usr/obj 144K 79.6G 144K > /usr/obj > tank/usr/pbi 144K 79.6G 144K > /usr/pbi > tank/usr/ports 981M 79.6G 981M > /usr/ports > tank/usr/src 544M 79.6G 544M > /usr/src > tank/var 3.22M 79.6G 144K none > tank/var/audit 160K 79.6G 160K > /var/audit > tank/var/log 424K 79.6G 424K > /var/log > tank/var/tmp 2.51M 79.6G 2.51M > /var/tmp > [reg@deneb ~]$ > > --- > > From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 05:45: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 AF40572B; Fri, 27 Feb 2015 05:45:40 +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 8000F5F1; Fri, 27 Feb 2015 05:45:37 +0000 (UTC) Received: by ierx19 with SMTP id x19so26331041ier.3; Thu, 26 Feb 2015 21:45:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=mRBet7da+tIFo5f6fO7Ldm9quUmc1TtAb/Gv1VWawB8=; b=RMbZj2VXb2b1UOMLESlJhwluyC43S66I4v6orVVlkKhB9vTLW+hmqjJrmfyx16mSGI zHJcZElEkR9wjvdytwRT1P8BChEFVCBBA3eDuBH8CnCufgw/P/JCjhSLhqGXPZMJs5Qp qEqGXxgCm19t81pbF0PmePmcE9Yz1428svcMdxtWJQ4IUkLrIFjeo3MgracH2+jZ+Vvg 7AtcxAuT4UuSGzpfhMEwPgVzMn6vc8mMg3POnHVeRoDq0V/wum+zDJnmCweJGVXMJC72 CXyjJg/HtyxmSW4MVq8D37bOQk5rR6ARe01R3yvE7twqsHzWjSyXzW04W5vZmthTdjj/ 9McA== X-Received: by 10.43.126.67 with SMTP id gv3mr14038756icc.31.1425015936681; Thu, 26 Feb 2015 21:45:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.3.140 with HTTP; Thu, 26 Feb 2015 21:45:15 -0800 (PST) From: Bin LIU Date: Fri, 27 Feb 2015 13:45:15 +0800 Message-ID: Subject: BCM57810 interface can't go up with NPAR enabled To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: davidcs@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 Feb 2015 05:45:40 -0000 Hi, I'm testing the Dell Broadcom Dual Port 10G interface card with NPAR function enabled on 9-stable-r277476M, I can see all 8 interfaces(bxe0 to bxe7), but only bxe0 and bxe1 are active, the other 6 status are all "no carrier". dmesg reports the following: bxe3: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe3: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe3: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe3: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe3: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe3: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe3: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe3: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe3: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe3: bxe4: WARNING: Interface link is down, ignoring transmit request WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request bxe3: WARNING: Interface link is down, ignoring transmit request bxe5: WARNING: Interface link is down, ignoring transmit request bxe4: WARNING: Interface link is down, ignoring transmit request And here is the device info: bxe0@pci0:3:0:0: class=0x020000 card=0x100814e4 chip=0x16ae14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM57810 10 Gigabit Ethernet Multi Function' class = network subclass = ethernet bxe1@pci0:3:0:1: class=0x020000 card=0x100814e4 chip=0x16ae14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM57810 10 Gigabit Ethernet Multi Function' class = network subclass = ethernet bxe2@pci0:3:0:2: class=0x020000 card=0x100814e4 chip=0x16ae14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM57810 10 Gigabit Ethernet Multi Function' class = network subclass = ethernet bxe3@pci0:3:0:3: class=0x020000 card=0x100814e4 chip=0x16ae14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM57810 10 Gigabit Ethernet Multi Function' class = network subclass = ethernet bxe4@pci0:3:0:4: class=0x020000 card=0x100814e4 chip=0x16ae14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM57810 10 Gigabit Ethernet Multi Function' class = network subclass = ethernet bxe5@pci0:3:0:5: class=0x020000 card=0x100814e4 chip=0x16ae14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM57810 10 Gigabit Ethernet Multi Function' class = network subclass = ethernet bxe6@pci0:3:0:6: class=0x020000 card=0x100814e4 chip=0x16ae14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM57810 10 Gigabit Ethernet Multi Function' class = network subclass = ethernet bxe7@pci0:3:0:7: class=0x020000 card=0x100814e4 chip=0x16ae14e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme II BCM57810 10 Gigabit Ethernet Multi Function' class = network subclass = ethernet Many thanks if you can give me some suggestions, thanks you! From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 06:51:20 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 B5544EEB for ; Fri, 27 Feb 2015 06:51:20 +0000 (UTC) Received: from deneb.dwf.com (70-90-202-97-Albuquerque.hfc.comcastbusiness.net [70.90.202.97]) (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 91102BC1 for ; Fri, 27 Feb 2015 06:51:20 +0000 (UTC) Received: from deneb.dwf.com (localhost [127.0.0.1]) by deneb.dwf.com (8.14.4/8.14.3) with ESMTP id t1R6pIPF001414; Thu, 26 Feb 2015 23:51:18 -0700 Message-Id: <201502270651.t1R6pIPF001414@deneb.dwf.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: questions@freebsd.org Subject: Still cant update nvidia driver Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Feb 2015 23:51:18 -0700 From: reg@dwf.com Cc: Brandon Schneider 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 Feb 2015 06:51:20 -0000 I seem to be moving forward SLOWLY, but Im not sure there is any light at the end of the tunnel. To Date I have (1) been able to build the nvidia-driver-304, but not install it (2) with lots of help from the list, I was able to run single user get the file systems mounted, and try the install again. It still doesn't install. The error message from the installer reads (roughly,- I had to copy this to paper, they type it back in to this message) pkg-static: nviia-driver-304-304.25 conflicts with nvidia-driver-340.24 (installs in the same place). Problematic file: /usr/local/bin/nvidia-bug-reuport.sh XXX Error Code 70 Stop Now the 340 driver is the one supplied with FreeBSD, and it does NOT support my card, the older, legacy driver 304.25 does, so it is my intention to overwrite it... I could have saved a lot of time by just buying a new (supported) video card for this machine, but at least I learning a lot about FreeBSD with all these problems. So, any suggestions??? -- Reg.Clemens reg@dwf.com From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 06:57: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 9BAAB137 for ; Fri, 27 Feb 2015 06:57:22 +0000 (UTC) Received: from st11p00mm-asmtp002.mac.com (st11p00mm-asmtpout002.mac.com [17.172.81.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F905C79 for ; Fri, 27 Feb 2015 06:57:21 +0000 (UTC) Received: from [192.168.1.10] (66-188-153-21.dhcp.stcd.mn.charter.com [66.188.153.21]) by st11p00mm-asmtp002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NKF00DEZ4NDVK30@st11p00mm-asmtp002.mac.com> for freebsd-questions@freebsd.org; Fri, 27 Feb 2015 06:57:15 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-27_03:2015-02-26,2015-02-27,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1502270073 Message-id: <54F01559.4060507@icloud.com> Date: Fri, 27 Feb 2015 00:57:29 -0600 From: Brandon Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-version: 1.0 To: reg@dwf.com Subject: Re: Still cant update nvidia driver References: <201502270651.t1R6pIPF001414@deneb.dwf.com> In-reply-to: <201502270651.t1R6pIPF001414@deneb.dwf.com> Content-type: text/plain; charset=windows-1252; format=flowed 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: Fri, 27 Feb 2015 06:57:22 -0000 Have you tried removing the nvidia-driver-340.24 package? Try running "pkg remove nvidia-driver-340" and then "pkg install nvidia-driver-304". That should solve your problems. On 2/27/2015 12:51 AM, reg@dwf.com wrote: > I seem to be moving forward SLOWLY, but Im not sure there > is any light at the end of the tunnel. > > To Date I have > (1) been able to build the nvidia-driver-304, but not install it > (2) with lots of help from the list, I was able to run single user > get the file systems mounted, and try the install again. > > It still doesn't install. The error message from the installer reads > (roughly,- I had to copy this to paper, they type it back in to this > message) > > pkg-static: nviia-driver-304-304.25 conflicts with nvidia-driver-340.24 > (installs in the same place). Problematic file: > /usr/local/bin/nvidia-bug-reuport.sh > XXX Error Code 70 > Stop > > Now the 340 driver is the one supplied with FreeBSD, and it does NOT > support my card, the older, legacy driver 304.25 does, so it is my > intention to overwrite it... > > I could have saved a lot of time by just buying a new (supported) video > card for this machine, but at least I learning a lot about FreeBSD with > all these problems. > > So, any suggestions??? From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 09:20:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91BB8907 for ; Fri, 27 Feb 2015 09:20:53 +0000 (UTC) Received: from nm7-vm2.bullet.mail.sg3.yahoo.com (nm7-vm2.bullet.mail.sg3.yahoo.com [106.10.148.177]) (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 F12D1D5D for ; Fri, 27 Feb 2015 09:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1425028491; bh=neQc+RgBn/kIxsqzVwLEFomvIOlff3IH+L8YZNqzQrM=; h=Date:From:Reply-To:To:Subject:From:Subject; b=tZasWmP3FuyRbHbUqWGRtjPLnTx+Wp0+z5iUc+9KswomEHXoiFubRIIi0dkhskwG2Mowoh4+dKZ8JHrUTcvN0t7gWb8cHTHYpP32WIeN1Jxf+w9mm4XjywT74nMFbfINiwrFRb9Pf1rxQ2rY0P1dgKzZtPIU+iY8UCmfRXoPSZkSZItzMMl4SVsu8xLXK6+kT6WPkGTpLlxtHCaWqYUbH7quixOBzDckRtuI3DqztvYbSZeZ2X3SdZG2wTcED97N7KwiDXTYmhbnuF1AtqKHoZ76bjCIG/2kJRKBTyOC007zbnVggfhMo2ILxTEzMwVKRhx1OyigtdeBQnNUPnOJNg== Received: from [106.10.166.115] by nm7.bullet.mail.sg3.yahoo.com with NNFMP; 27 Feb 2015 09:14:51 -0000 Received: from [106.10.151.218] by tm4.bullet.mail.sg3.yahoo.com with NNFMP; 27 Feb 2015 09:14:51 -0000 Received: from [127.0.0.1] by omp1016.mail.sg3.yahoo.com with NNFMP; 27 Feb 2015 09:14:51 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 446620.64876.bm@omp1016.mail.sg3.yahoo.com X-YMail-OSG: 7nL_bwMVM1ly39EhhN1MP9FVCNpxtcTmcqT3Dwe9b8xHgR9NFxJhb.2QzWGfsxP uBtdyo5R45TTUq0Tu.PAZash5DTMzXHJuaATZQakuugKqzVeuRnkkBZYjbLBlexmJPjPEoyg2AA4 rsHoLNtq3GV9lImJPrVXynE2CjPYtmns1GqbBkPjFA79Mcpyo.amDjB9OzvZvbkTNZpmstO4CFtv LfAI4F3g1axLRECn4pfyAO.yDGTsjdDuuMfvcMNzzipndHSNLIFtFHfS.LzxB5fQHqQ._rVBz8Zu 6UyQw57nRINc1YWJDC6IlVPoQSY2gzOHQad_xReCR.TjRJW3llHwGpgsK0M0oq7BF5wrRCZXAAYM zvC9qCTCL5xwG1HS_XDCmuXY0MNaV.dpZLgWDsYx.0grae_ANYFcPLfudZueKSeuK74OoqsDXJrb Nz6UJo9dWHqbgKK7f8NDhZo7mYiYENNvyjnTaEVb6BzPk8jxfqHqnYN22fnnOlKXEI9AlU1_52Bn g4g-- Received: by 106.10.197.98; Fri, 27 Feb 2015 09:14:51 +0000 Date: Fri, 27 Feb 2015 09:14:50 +0000 (UTC) From: Bhaskar Singhal Reply-To: Bhaskar Singhal To: "freebsd-current@freebsd.org" , "freebsd-questions@freebsd.org" Message-ID: <1624063012.777081.1425028490663.JavaMail.yahoo@mail.yahoo.com> Subject: ggatec: ioctl(/dev/ggctl): Invalid argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: Fri, 27 Feb 2015 09:20:53 -0000 Hi, I am trying to use ggatec to mount a device from another host running the same FreeBSD version (8.1) and I am seeing the following error: freebsd-2% ggatec create -vo rw hostname /dev/xbd7 info: Connected to the server: hostname:3080. debug: Sending version packet. debug: Sending initial packet. debug: Receiving initial packet. debug: Received initial packet. info: Connected to the server: hostname:3080. debug: Sending version packet. debug: Sending initial packet. debug: Receiving initial packet. debug: Received initial packet. error: ggatec: ioctl(/dev/ggctl): Invalid argument. error: Exiting. If I use ggatec to mount the device from the same host (i.e. ggated and ggatec on same host), than it works, but for remote host it doesn't. Any ideas? Regards,Bhaskar From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 09:55: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 6197A27D for ; Fri, 27 Feb 2015 09:55:52 +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 1F623140 for ; Fri, 27 Feb 2015 09:55:51 +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 C76893CD3E; Fri, 27 Feb 2015 10:55:48 +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 t1R9tlnW002149; Fri, 27 Feb 2015 10:55:47 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 27 Feb 2015 10:55:47 +0100 From: Polytropon To: opendaddy@hushmail.com Subject: Re: Why all the fancy ASCII art in the boot loader? Message-Id: <20150227105547.d4884de7.freebsd@edvax.de> In-Reply-To: <20150227015057.4E2F3C0431@smtp.hushmail.com> References: <20150222164422.D89FCA0168@smtp.hushmail.com> <20150222175145.6b2cb583.freebsd@edvax.de> <20150227015057.4E2F3C0431@smtp.hushmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Feb 2015 09:55:52 -0000 On Fri, 27 Feb 2015 01:50:57 +0000, opendaddy@hushmail.com wrote: > That is all good, however, why does this stuff have to be there > in the first place? FreeBSD has some tradition in combining a dialog-based boot selection (with or without ACPI, into single-user mode, and so on) with ASCII art. The advantage is that it will show on serial lines or servers fine - most of them don't even have a graphics card or a monitor attached so fancy 3D graphics with HD sound effects would be useless. After all, it depends a lot on individual preference if this ASCII art makes the system more or less appealing to you, or if you're able to ignore it altogether. Many people believe in judging an operating system's quality from the colorfulness of the splash screen, the boot loader, or the installer; in their opinion, FreeBSD must be total crap. ;-) > Just seems a bit unprofessional that's all. As I said, it's easy to disable it if you don't like it. I would not say it's unprofessional, but it might be a valid opinion to say it's a bad default choice. However, FreeBSD _gives_ you the ability to make a choice how you want your boot prompt, splash screen, X login, desktop environment and applications. This, in my opinion, makes it _very_ professional compared to systems that force a given set of settings upon the user, and there is no way to make a different choice. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 10:18:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 95F2F6C2 for ; Fri, 27 Feb 2015 10:18:53 +0000 (UTC) Received: from nm39-vm7.bullet.mail.ir2.yahoo.com (nm39-vm7.bullet.mail.ir2.yahoo.com [212.82.97.166]) (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 DADB53C8 for ; Fri, 27 Feb 2015 10:18:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1425032129; bh=9G5lrrNFdfHhIzV0ebyB5mxkgdNfrZTwD05JIJB4xqU=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=hQvmrxrl5wvCmRATJCsu8cEDestO6JLRbyXuUx2vePWTW4sAi54oPby3ERnCmwDW9JFeg3SVB3ih1rviblpbYxpLgr+GKqV8/8NwK+kBc7ubF2sIuwqXO2zuNvdi2hXEj+b+LZzS5e0jmRRSUR1RH1GX+4dkZFIv6pX/vbK9KOmllPIfiU0U0YWdoYyOLCmmUOKSRR3K8Vk+xPGycRugJSQ4nfRgb0bnDF0udIN7k1oRH0z+TBy6EaEX5ka70KUyTUnGOMbv978WFbosVdvZ1LQtDxgTkNSmYfk/gWS9hOLQgEgvs4aDIcV3L5tzaGTBVlQ5cl/La7ePLjmJvcpI8w== Received: from [212.82.98.52] by nm39.bullet.mail.ir2.yahoo.com with NNFMP; 27 Feb 2015 10:15:29 -0000 Received: from [46.228.39.74] by tm5.bullet.mail.ir2.yahoo.com with NNFMP; 27 Feb 2015 10:15:29 -0000 Received: from [127.0.0.1] by smtp111.mail.ir2.yahoo.com with NNFMP; 27 Feb 2015 10:15:29 -0000 X-Yahoo-Newman-Id: 365207.89378.bm@smtp111.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: nPFK3DoVM1kWfO4fD_D9z5Y8o9jGJ4xUyfvRvaRnRzq.peS 84GkX3vDrfiM.RLOJOHQGd_FZotYG81JNUwzDZEZV.FXAo1WHY5L663TXrhc F8xO4kLbPDdfWmIxIYQ5gexBABKw.GzMYfsHMFkypBya1UemTqqB8T51SxlI ee_3CM14AAKDtuCLZVrRD9_015JT540sPoU59Cq20n3Uypj.U2RlilBB1waT PJjdNOLofnWis_qu1F6JRINMUrmLV4K1nFI1mLFUf28phf56AtnJ_BiMStk5 h2iw1M6c2CS2ZFi0FSnR5TSRL04XqZ2zZFv_4IFWl9NwxMlt6yFUtlcIOSbu aTSyoqV6ECjJ8i8McEJ4wdoSotRQegOYk1nPr_45WtZ2k1QWvQm5Bxy1UxrJ Eh_cadhLAYFnoxXy6rOUGTYo3_03JO37zVzWN4os2rI6_pvVNTstpDZfp3Fr 0YD6S1ZK81pDXRXzo.bZuuCIHw9mNwUBh78.CtfqYf17Uo.4GMC1biz1q874 0aKc.N.WEztVzeisQFZ1eDALY9XhtKRDQLv._VE2vyMmzaq9gARB8iCe2DJR OWLFc77PbGZp6pDJyCekaufal3TgQn7Qoc2TuOAWiIt4C_0Ezme2Vp2ntxS3 RXc3HcFmvzCWjW6PYBFec5b7IIymNZesgMBDsySnaMw-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Fri, 27 Feb 2015 11:15:27 +0100 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Why all the fancy ASCII art in the boot loader? Message-ID: <20150227111527.3b2cf9e6@archlinux> In-Reply-To: <20150227105547.d4884de7.freebsd@edvax.de> References: <20150222164422.D89FCA0168@smtp.hushmail.com> <20150222175145.6b2cb583.freebsd@edvax.de> <20150227015057.4E2F3C0431@smtp.hushmail.com> <20150227105547.d4884de7.freebsd@edvax.de> X-Mailer: Claws Mail 3.11.1-70-g6f2e17c (GTK+ 2.24.26; x86_64-arch-linux-gnu) 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: Fri, 27 Feb 2015 10:18:53 -0000 How many times a day do we see boot loader menus and startup messages? Many machines most likely are up for much longer than just 24 hours. https://www.freebsd.org/cgi/man.cgi?query=uptime Regarding to ASCII art or no ASCII art, does it matter what a boot loader menu and startup messages look like? 2 Cents, Ralf From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 11:08: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 C29B2185 for ; Fri, 27 Feb 2015 11:08:38 +0000 (UTC) Received: from mail.vin-dit.org (mail.vin-dit.org [81.209.165.242]) by mx1.freebsd.org (Postfix) with ESMTP id 674B5AAD for ; Fri, 27 Feb 2015 11:08:37 +0000 (UTC) Received: from [192.168.61.125] (pool-71-163-186-18.washdc.fios.verizon.net [71.163.186.18]) by mail.vin-dit.org (Postfix) with ESMTPSA id 2DC49481D2; Fri, 27 Feb 2015 06:08:33 -0500 (EST) Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: ttys not working from xdm From: John Holland In-Reply-To: Date: Fri, 27 Feb 2015 06:08:34 -0500 Message-Id: <91DB1BEF-7704-4D90-8E11-9FDA8F586A7D@vin-dit.org> References: <20150226134223.GA2818@mail.vin-dit.org> To: =?iso-8859-1?Q?Trond_Endrest=F8l?= X-Mailer: Apple Mail (2.1878.6) 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@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 Feb 2015 11:08:38 -0000 That fixed it. Thanks! On Feb 26, 2015, at 9:13 AM, Trond Endrest=F8l = wrote: > On Thu, 26 Feb 2015 08:42-0500, John Holland wrote: >=20 >> I have a new install of 10.1 and I am unable to access ttys from=20 >> xdm. When I press Alt-F3 or Ctrl-Alt-F3 instead it causes either the=20= >> mouse, keyboard or entire X session to lock up. Here is the section=20= >> of my /etc/ttys - any advice on troubleshooting this would be=20 >> appreciated. >>=20 >> # If console is marked "insecure", then init will ask for the root = password >> # when going to single-user mode. >> console none unknown off secure >> # >> ttyv0 "/usr/libexec/getty Pc" xterm on secure >> # Virtual terminals >> ttyv1 "/usr/libexec/getty Pc" xterm on secure >> ttyv2 "/usr/libexec/getty Pc" xterm on secure >> ttyv3 "/usr/libexec/getty Pc" xterm on secure >> ttyv4 "/usr/libexec/getty Pc" xterm on secure >> ttyv5 "/usr/libexec/getty Pc" xterm on secure >> ttyv6 "/usr/libexec/getty Pc" xterm on secure >> ttyv7 "/usr/libexec/getty Pc" xterm on secure >> ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure >> # Serial terminals >=20 > You are probably missing the VT console in the kernel, set=20 > kern.vty=3D"vt" in /boot/loader.conf. This should be augmented by KMS=20= > drivers for your GPU. If you don't have an accelerated GPU like nVidia=20= > or AMD/ATI, then you're out of luck. >=20 > When you press Ctrl+Alt+F3, you are switched to ttyv2, it just doesn't=20= > show up. You're looking at a ghost image of the X display. You can=20 > type blindly, but that's not what anyone would want. >=20 > Hit Alt+F9 to get back to the X server. >=20 > --=20 > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=F8l, | Trond Endrest=F8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=F8vik Technical College, Norway, = | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > _______________________________________________ > 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 Feb 27 13:02: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 ECE6FE3D for ; Fri, 27 Feb 2015 13:02:01 +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 9FC868DD for ; Fri, 27 Feb 2015 13:02:01 +0000 (UTC) Received: from [89.204.154.46] (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 1YRKYA-0000OI-FT; Fri, 27 Feb 2015 14:01:50 +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 t1RD1lXv003685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 27 Feb 2015 14:01:47 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t1RD1jQG003684; Fri, 27 Feb 2015 14:01:45 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 27 Feb 2015 14:01:45 +0100 From: Matthias Apitz To: Perry Hutchison Subject: Re: sendmail && dhcp Message-ID: <20150227130145.GA3591@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Perry Hutchison , freebsd-questions-local@be-well.ilk.org, freebsd-questions@freebsd.org References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> <4461aoe96j.fsf@lowell-desk.lan> <20150226203154.GA2853@c720-r276659> <44k2z4ci8y.fsf@lowell-desk.lan> <54efe697.xdtSCVZsiZDqV7lP%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54efe697.xdtSCVZsiZDqV7lP%perryh@pluto.rain.com> 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.154.46 Cc: freebsd-questions-local@be-well.ilk.org, 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 Feb 2015 13:02:02 -0000 El día Thursday, February 26, 2015 a las 07:37:59PM -0800, Perry Hutchison escribió: > Lowell Gilbert wrote: > > Matthias Apitz writes: > > > I fetch my mails from my ISP with fetchmail and pipe them > > > through sendmail and procmail (for filtering); and I send > > > upstream with SMPT && SSL to my ISP using sendmail ... it is > > > so nice to connect a few seconds(!) to fetch all your mails, > > > shutdown the link, read and answer the mails offline, queue > > > answers with sendmail, and re-open the link for a few seconds > > > to send the mails out. > > > > You don't need a sendmail daemon for that. > > There's no need to involve sendmail at all (on the receive side) > for that. Depending on the MUA the OP might need one for sending -- > some MUAs only support sending via SMTP, not by fork/exec sendmail. > > > Tell fetchmail to invoke sendmail itself instead of delivering > > to a local TCP port > > AFAIK there is no need for one MTA (fetchmail) to invoke another > MTA (sendmail) just to get to a third mail agent[*] (procmail). > Have fetchmail invoke procmail directly. > > [*] I don't remember offhand whether procmail is considered an MTA > or an LDA, and for this analysis it doesn't matter. To read and write I'm using mutt as MUA. mutt can fetch with IMAP(S) and send with SMTP+SSL; but this (sending directly) is not what I want, I want to queue up the outbound mails and send them at once (see above for the reason); so, sendmail is the natural option; for the PPP link, I already use a devd(8) hook to restart sendmail when the interface comes up; for the wlan(4) link I will use the hook /etc/dhclient-exit-hooks looking for the $reason BOUND; I was hoping for a solution which combines all interfaces in one place, but it seems that this does not exist. Thanks matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 La referencia de la Duma a la anexión de la RDA, en este caso al contrario con la Crimlía sin referéndum, no solamente tiene gracia sino da en el blanco.- Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 18:05:54 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42BFEAD7 for ; Fri, 27 Feb 2015 18:05:54 +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 06009EF0 for ; Fri, 27 Feb 2015 18:05:54 +0000 (UTC) Received: by igbhn18 with SMTP id hn18so2424684igb.2 for ; Fri, 27 Feb 2015 10:05:53 -0800 (PST) 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=Myp/81HXygnwo9BJa2lXKscUmjaB2ekB49tEkXbe3SU=; b=z7m2zh4lmMeNCviNlmHHPrkGA9v7dA2tpImtKZ7+6GjNrRFdOcCcbdTzyuX9j39FRa 9nrrHLAKLluUfaXI3LL1UzK6AxUHDWk7CCUf0CJ1ineP9X+Yvm8daPQralpb+CElXEaP ScEoqou1wijcP1dMxZtMzM4+XCGzF2m5E020aJIfTvxJOO9toSNwBp6uQVzsdNzEtHLM Ya9NzfOGIEAZsN1IYCug+rcLNWY16Nu2gOSXEmTj6N6O56M/tGDIiYs728ppH6OALi0B +Yat8mDC2kbKXXljOwqhK8fNVx16Ar0hXpR4vsUowsPAlL1mUuoZUPV7dovxIVh1aI8t fLow== MIME-Version: 1.0 X-Received: by 10.50.66.170 with SMTP id g10mr4556924igt.49.1425060353379; Fri, 27 Feb 2015 10:05:53 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.17.66 with HTTP; Fri, 27 Feb 2015 10:05:53 -0800 (PST) In-Reply-To: <20150227111527.3b2cf9e6@archlinux> References: <20150222164422.D89FCA0168@smtp.hushmail.com> <20150222175145.6b2cb583.freebsd@edvax.de> <20150227015057.4E2F3C0431@smtp.hushmail.com> <20150227105547.d4884de7.freebsd@edvax.de> <20150227111527.3b2cf9e6@archlinux> Date: Fri, 27 Feb 2015 10:05:53 -0800 X-Google-Sender-Auth: 9T2EInKbudgIUDz3p7PkRbz61JY Message-ID: Subject: Re: Why all the fancy ASCII art in the boot loader? From: Adrian Chadd To: Ralf Mardorf 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: Fri, 27 Feb 2015 18:05:54 -0000 On 27 February 2015 at 02:15, Ralf Mardorf wrote: > How many times a day do we see boot loader menus and startup messages? > > Many machines most likely are up for much longer than just 24 hours. > https://www.freebsd.org/cgi/man.cgi?query=uptime > > Regarding to ASCII art or no ASCII art, does it matter what a boot > loader menu and startup messages look like? The company that I work for ships appliances and VM images for said appliance; having a VGA splash screen would be great. I'm working on VESA support for the loader (and general graphics framebuffer support for all platforms, since not all the world is x86.) If nothing else, being able to have loader and kernel boot into a high res text mode would be really helpful for debugging. -a From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 18:21: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 7E3D62FC; Fri, 27 Feb 2015 18:21:46 +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 39FC41E9; Fri, 27 Feb 2015 18:21:45 +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 F15153CDD9; Fri, 27 Feb 2015 19:21:36 +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 t1RILah9004327; Fri, 27 Feb 2015 19:21:36 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 27 Feb 2015 19:21:36 +0100 From: Polytropon To: Adrian Chadd Subject: Re: Why all the fancy ASCII art in the boot loader? Message-Id: <20150227192136.65a79cb4.freebsd@edvax.de> In-Reply-To: References: <20150222164422.D89FCA0168@smtp.hushmail.com> <20150222175145.6b2cb583.freebsd@edvax.de> <20150227015057.4E2F3C0431@smtp.hushmail.com> <20150227105547.d4884de7.freebsd@edvax.de> <20150227111527.3b2cf9e6@archlinux> 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 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 Feb 2015 18:21:46 -0000 On Fri, 27 Feb 2015 10:05:53 -0800, Adrian Chadd wrote: > The company that I work for ships appliances and VM images for said > appliance; having a VGA splash screen would be great. > > I'm working on VESA support for the loader (and general graphics > framebuffer support for all platforms, since not all the world is > x86.) Do you know about this project? https://wiki.freebsd.org/OliverFromme/BootLoader Maybe it could be put into active development and finally become a (selectable) part of the default OS installation? > If nothing else, being able to have loader and kernel boot into > a high res text mode would be really helpful for debugging. Until the letters become unreadable. ;-) No, seriously: Tiny letters in text mode, usually a "feature" of today's Linux, can be annoying when you don't sit infront of a 35" 16:9 flat panel (and instead _have to use_ a 11" or 14" 4:3 screen). Trying to solve problems under such circumstances is harder than in the common 80x25 environment due to readablilty. But of course, YMMV applies. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 20:04:11 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 9EF1A6BB; Fri, 27 Feb 2015 20:04:11 +0000 (UTC) Received: from sdf.org (ma.sdf.org [192.94.73.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ma.sdf.org", Issuer "ma.sdf.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 68A27132; Fri, 27 Feb 2015 20:04:11 +0000 (UTC) Received: from ma.sdf.org (IDENT:U2FsdGVkX18UL1Son/O/vE+Q/ooHQte8qc94fQIDARA@ma.sdf.org [192.94.73.31]) by sdf.org (8.14.4/8.14.3) with ESMTP id t1RK48LC010302; Fri, 27 Feb 2015 20:04:08 GMT MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 27 Feb 2015 14:04:08 -0600 From: cpet To: freebsd-ports@freebsd.org Subject: Enlightenment Message-ID: <70a77a197c8c669a3ba3da23c48de985@sdf.org> X-Sender: cpet@sdf.org User-Agent: Roundcube Webmail/1.0.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: Fri, 27 Feb 2015 20:04:11 -0000 I have created a Group/Mailing list for those who enjoy using this awesome windowing environment. it needs some work, and this is a call for anyone who uses it and wishes for it to be better. Even a simple bug report will help us make E better. Please use the ticket system on github for any issues and I will either fix the issue or find someone willing or able. wiki.freebsd.org/Enlightenment FreeBSD-enlightenment@freebsd.org #bsd-enlightenment @efnet #enlightenment @irc.bsdjunk.com Eports @ github.com Chris From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 20:56: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 4D166B67 for ; Fri, 27 Feb 2015 20:56:55 +0000 (UTC) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::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 F3DBA8D4 for ; Fri, 27 Feb 2015 20:56:54 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id x12so14714773qac.0 for ; Fri, 27 Feb 2015 12:56:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ideapod.com; s=google; h=date:from:to:message-id:subject:mime-version:content-type :content-transfer-encoding; bh=U8sfqgEQ8llp/e4iEOic/PCg/BvG5kIwPZweZRxKH/s=; b=T1kqOND39sFr2MeO9pJn3zihrEl2mlInOkZFBAtAGDXe0rLtrLeFHzxXLnKkMaCCcS hR9mExomsxVQi1Gdzmv2zrafCozE07ERBDvEJpg7IRdjXrMlYrQYPBmDGZMG2O35wFS5 l1TyjcJbB2+5Rizw1A7kFNr6RinNnXYGm+qCo= 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:message-id:subject:mime-version :content-type:content-transfer-encoding; bh=U8sfqgEQ8llp/e4iEOic/PCg/BvG5kIwPZweZRxKH/s=; b=JhOGbN27inD+pIwJajEVdTBNJtAH04LY7CxMfqMqPnblb9JOdVoMVY+ERKBXy3Q8zf U30Hllakt1f9iCzlbGu8fQwpBBpdDVv1AaZTYKMvRTceezCGpCWWmmlgJ2nMLRTjmXHl IqiBrEQi+aF2yE2SO8WSi0Gd/z8Ikc72jpH4sxQvnaklmtZzGBbM+l2fc8m9mziClYE1 MYlQJY13+6RglyAQEBRTXZRXVaLCvhcTHZTD/CYEjnKiVZl0FW79UND8nnP4U0ax6cao Nd3cGFr/7osWblH/tur3QbQeRwJtHNv0gksq3Y2fMnfewB03nCDXsaXxim1Y8Q6m5Ibr RE2w== X-Gm-Message-State: ALoCoQnTOd+BQB7OedHDaZXilg/X4kMT8M5MQM1OrzSb54/4wKY/NTQo04Hx95Y+okZbJdaGcac9 X-Received: by 10.140.234.130 with SMTP id f124mr14576714qhc.36.1425070613037; Fri, 27 Feb 2015 12:56:53 -0800 (PST) Received: from (ec2-174-129-134-201.compute-1.amazonaws.com. [174.129.134.201]) by mx.google.com with ESMTPSA id b8sm3355601qai.21.2015.02.27.12.56.52 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 27 Feb 2015 12:56:52 -0800 (PST) Date: Fri, 27 Feb 2015 20:56:51 +0000 From: Adrianna Roberts To: freebsd-questions@FreeBSD.org Message-ID: <54f0da13c7a1c_33fd6843fd9241706302f@300b15bf-ba55-496b-98a5-89f5112078f1.mail> Subject: Re: Invitation for FreeBSD to a new social media platform dedicated to ideas Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: Fri, 27 Feb 2015 20:56:55 -0000 Hey FreeBSD, The other day I sent you an email about Ideapod (a new social media platf= orm for ideas) that I thought would interest you. I was just checking in = to see if you had a chance to check out Ideapod? You can browse Ideapod h= ere: http://www.ideapod.com (https://t.yesware.com/tl/256baff2bc9b778a7b8= baadd3a86b4987ae5d866/4956a1e4c9b94865f663916a0b5983a8/0d57dfaf2b72a88057= 9d794602bca453?ytl=3Dhttp%3A%2F%2Fwww.ideapod.com) =C2=A0 If you are interested, you can create an instant account using this link:= http://www.ideapod.com/users/sign_up?source=3DQMD (https://t.yesware.com= /tl/256baff2bc9b778a7b8baadd3a86b4987ae5d866/4956a1e4c9b94865f663916a0b59= 83a8/3e53dd147994fa7d4f3e9e8874fc214d?ytl=3Dhttp%3A%2F%2Fwww.ideapod.com%= 2Fusers%2Fsign_up%3Fsource%3DQMD) =C2=A0 Please let me know if you have questions - I=E2=80=99d be more than happy= to help!=C2=A0 Regards, Adrianna --=C2=A0 Adrianna Roberts P.R & Press Contact, Ideapod w:=C2=A0ideapod.com (https://t.yesware.com/tl/256baff2bc9b778a7b8baadd3a8= 6b4987ae5d866/4956a1e4c9b94865f663916a0b5983a8/c9dc950b062903b88bea88c58b= 5dcc1a?ytl=3Dhttp%3A%2F%2Fwww.ideapod.com%2F) t:=C2=A0@ideas (https://t.yesware.com/tl/256baff2bc9b778a7b8baadd3a86b498= 7ae5d866/4956a1e4c9b94865f663916a0b5983a8/be1672d67fe7f80c2ccae3c7324c13f= e?ytl=3Dhttp%3A%2F%2Fwww.twitter.com%2Fideas) fb:=C2=A0fb.com/ideapods (https://t.yesware.com/tl/256baff2bc9b778a7b8baa= dd3a86b4987ae5d866/4956a1e4c9b94865f663916a0b5983a8/5cfec50e8475ed5d82d09= 2945ed16c6a?ytl=3Dhttp%3A%2F%2Fwww.facebook.com%2Fideapods) On 2015-02-24 21:00:00 UTC, Adrianna Roberts wrote= : Hi FreeBSD, I=E2=80=99m Adrianna from Ideapod - a new social media platform for shari= ng and connecting ideas. Richard Branson recently wrote a blog post about= us, saying that Ideapod will =E2=80=9Cincrease the chances of society co= ming up with more game changing concepts.=E2=80=9D (you can read the blog= here: http://virg.in/cwi (https://t.yesware.com/tl/256baff2bc9b778a7b8ba= add3a86b4987ae5d866/4956a1e4c9b94865f663916a0b5983a8/dd59abc982795ec4e1cd= 3d12764dcbe0?ytl=3Dhttp%3A%2F%2Fvirg.in%2Fcwi) ) I thought you might be interested in joining Ideapod and learning more ab= out how the platform works. You can browse Ideapod here: http://www.ideap= od.com (https://t.yesware.com/tl/256baff2bc9b778a7b8baadd3a86b4987ae5d866= /4956a1e4c9b94865f663916a0b5983a8/0d57dfaf2b72a880579d794602bca453?ytl=3D= http%3A%2F%2Fwww.ideapod.com) If you think it's something you would enjoy, or that your readers would b= e interested in, you can use this link to create an account instantly: ht= tp://www.ideapod.com/users/sign_up?source=3DQMD (https://t.yesware.com/tl= /256baff2bc9b778a7b8baadd3a86b4987ae5d866/4956a1e4c9b94865f663916a0b5983a= 8/3e53dd147994fa7d4f3e9e8874fc214d?ytl=3Dhttp%3A%2F%2Fwww.ideapod.com%2Fu= sers%2Fsign_up%3Fsource%3DQMD) =C2=A0 Ideas are 1,000 character limited posts, containing pictures or videos. Y= ou can also respond to any ideas and relate ideas with each other.=C2=A0 If you have any questions, please let me know. Regards, Adrianna --=C2=A0 Adrianna Roberts P.R & Press Contact, Ideapod w:=C2=A0ideapod.com (https://t.yesware.com/tl/256baff2bc9b778a7b8baadd3a8= 6b4987ae5d866/4956a1e4c9b94865f663916a0b5983a8/c9dc950b062903b88bea88c58b= 5dcc1a?ytl=3Dhttp%3A%2F%2Fwww.ideapod.com%2F) t:=C2=A0@ideas (https://t.yesware.com/tl/256baff2bc9b778a7b8baadd3a86b498= 7ae5d866/4956a1e4c9b94865f663916a0b5983a8/be1672d67fe7f80c2ccae3c7324c13f= e?ytl=3Dhttp%3A%2F%2Fwww.twitter.com%2Fideas) fb:=C2=A0fb.com/ideapods (https://t.yesware.com/tl/256baff2bc9b778a7b8baa= dd3a86b4987ae5d866/4956a1e4c9b94865f663916a0b5983a8/5cfec50e8475ed5d82d09= 2945ed16c6a?ytl=3Dhttp%3A%2F%2Fwww.facebook.com%2Fideapods)= From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 21:14: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 4875F21A for ; Fri, 27 Feb 2015 21:14:13 +0000 (UTC) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (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 08E04AB5 for ; Fri, 27 Feb 2015 21:14:12 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id t1RLDgHI042556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 27 Feb 2015 13:13:43 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id t1RLDgFX042555; Fri, 27 Feb 2015 13:13:42 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA18581; Fri, 27 Feb 15 13:06:13 PST Date: Fri, 27 Feb 2015 13:06:09 -0800 From: perryh@pluto.rain.com (Perry Hutchison) To: guru@unixarea.de Subject: Re: sendmail && dhcp Message-Id: <54f0dc41.NVD2hFGwt9XGczfB%perryh@pluto.rain.com> References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> <4461aoe96j.fsf@lowell-desk.lan> <20150226203154.GA2853@c720-r276659> <44k2z4ci8y.fsf@lowell-desk.lan> <54efe697.xdtSCVZsiZDqV7lP%perryh@pluto.rain.com> <20150227130145.GA3591@c720-r276659> In-Reply-To: <20150227130145.GA3591@c720-r276659> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions-local@be-well.ilk.org, 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 Feb 2015 21:14:13 -0000 Matthias Apitz wrote: > El d??a Thursday, February 26, 2015 a las 07:37:59PM -0800, Perry Hutchison escribi??: > > Lowell Gilbert wrote: > > > Matthias Apitz writes: > > > > I fetch my mails from my ISP with fetchmail and pipe them > > > > through sendmail and procmail (for filtering); and I send > > > > upstream with SMPT && SSL to my ISP using sendmail ... it is > > > > so nice to connect a few seconds(!) to fetch all your mails, > > > > shutdown the link, read and answer the mails offline, queue > > > > answers with sendmail, and re-open the link for a few seconds > > > > to send the mails out. > > > > > > You don't need a sendmail daemon for that. > > > > There's no need to involve sendmail at all (on the receive side) > > for that ... > > AFAIK there is no need for one MTA (fetchmail) to invoke another > > MTA (sendmail) just to get to a third mail agent[*] (procmail). > > Have fetchmail invoke procmail directly. > > To read and write I'm using mutt as MUA. mutt can fetch with IMAP(S) and > send with SMTP+SSL; but this (sending directly) is not what I want, I > want to queue up the outbound mails and send them at once (see above for > the reason); so, sendmail is the natural option; Indeed, but that does not necessarily mean that you need a sendmail *daemon*. I haven't used mutt, but I have the impression that it is capable of invoking sendmail directly (via fork/exec, passing the message on stdin) rather than having to keep a daemon running all the time to accept the occasional SMTP connection on 127.0.0.1:25. In fact, depending on how you have it configured, mutt may *currently* be running a sendmail process (via fork/exec) for each message you send, rather than using the local sendmail daemon. On the receive side, the main advantage of having fetchmail run procmail directly is simplification: the sendmail configuration need only be concerned with queueing and transmitting outbound mail. A second advantage is that, with no outbound-capable MTA in the inbound path, there is one less place where someone might find an exploit to use you as a relay. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 21:15: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 26732411 for ; Fri, 27 Feb 2015 21:15:50 +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 DCA80ADC for ; Fri, 27 Feb 2015 21:15:49 +0000 (UTC) Received: by iecvy18 with SMTP id vy18so34120756iec.13 for ; Fri, 27 Feb 2015 13:15:49 -0800 (PST) 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=dpmkiuDFMy5j82bCqh3ZP9D123oNMMZd9O+9/CSUGug=; b=mNnbnI9xtLUjfro13LXzY9gtPOBdDY+Q23cSu+NBA215aBsFMZLJZ8VEClLXrB0cKa qbrhTnSEG33ONTGE/24Ox/AFiwGC8W8oS3+MRXgdFgWyLTPkL2EXAL6YC7/U+CoabKa+ PSW5OMbJhaPGfX9b0UAOzPyOK3ySfp+CCPmP7MGQLZ6ilOqBaUftiMSPbOX2o7v6rsVY VXGmJgsqy53HbuYPtImpulqMOS3MmdJUS9mRPkZ3fKP+n1a28Laxu9nd1t5FVKL6UvsN hHO0xkbJRFOSOz48XhGBl53eMhiHutx/WdSt+3CJt8fp/hRh5ZzMc4yjlWn4Csttba23 DQ/Q== MIME-Version: 1.0 X-Received: by 10.50.66.170 with SMTP id g10mr5711389igt.49.1425071749307; Fri, 27 Feb 2015 13:15:49 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.17.66 with HTTP; Fri, 27 Feb 2015 13:15:49 -0800 (PST) In-Reply-To: <20150227192136.65a79cb4.freebsd@edvax.de> References: <20150222164422.D89FCA0168@smtp.hushmail.com> <20150222175145.6b2cb583.freebsd@edvax.de> <20150227015057.4E2F3C0431@smtp.hushmail.com> <20150227105547.d4884de7.freebsd@edvax.de> <20150227111527.3b2cf9e6@archlinux> <20150227192136.65a79cb4.freebsd@edvax.de> Date: Fri, 27 Feb 2015 13:15:49 -0800 X-Google-Sender-Auth: l53xyVZfb9js54Dgg3Aejir1mts Message-ID: Subject: Re: Why all the fancy ASCII art in the boot loader? From: Adrian Chadd To: Polytropon 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: Fri, 27 Feb 2015 21:15:50 -0000 On 27 February 2015 at 10:21, Polytropon wrote: > On Fri, 27 Feb 2015 10:05:53 -0800, Adrian Chadd wrote: >> The company that I work for ships appliances and VM images for said >> appliance; having a VGA splash screen would be great. >> >> I'm working on VESA support for the loader (and general graphics >> framebuffer support for all platforms, since not all the world is >> x86.) > > Do you know about this project? > > https://wiki.freebsd.org/OliverFromme/BootLoader > > Maybe it could be put into active development and finally > become a (selectable) part of the default OS installation? Yup. I started by getting that to work on -HEAD. Problem is, it's limited to 640x480 and it's only useful for x86. So I started down the rabbit hole of making it aware of VESA and making it more flexible. > >> If nothing else, being able to have loader and kernel boot into >> a high res text mode would be really helpful for debugging. > > Until the letters become unreadable. ;-) So you load an 8x16 or a 16x32 font, and everything's fine. :) > No, seriously: Tiny letters in text mode, usually a "feature" > of today's Linux, can be annoying when you don't sit infront > of a 35" 16:9 flat panel (and instead _have to use_ a 11" or > 14" 4:3 screen). Trying to solve problems under such circumstances > is harder than in the common 80x25 environment due to readablilty. > But of course, YMMV applies. The trick isn't to not do it at all. The trick is to give people the option of whether to use it or not. After going through the motions of bringing this up, I think the first thing i'm going to do is teach the existing boot loader code about VESA text modes and the initialisation path about things that aren't just whatever-the-bios-initialised-it-as. There's a few things that need adding - mostly exporting some variables about the screen geometry so the forth code doesn't just assume everything is 80x25 - but it should be straightforward. I'll then work on the framebuffer support itself and making things more generic so we can use the same framebuffer support for other platforms (notably EFI booting, all the ARM stuff that's out there with a framebuffer, etc.) -adrian -adrian From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 21:34: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 1D8D17CD for ; Fri, 27 Feb 2015 21:34:30 +0000 (UTC) Received: from outbound-queue-1.mail.thdo.gradwell.net (outbound-queue-1.mail.thdo.gradwell.net [212.11.70.34]) by mx1.freebsd.org (Postfix) with ESMTP id D1AC8D30 for ; Fri, 27 Feb 2015 21:34:29 +0000 (UTC) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-1.mail.thdo.gradwell.net (Postfix) with ESMTP id 27ECA21E7D for ; Fri, 27 Feb 2015 21:33:38 +0000 (GMT) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username dave%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Fri, 27 Feb 2015 21:33:35 +0000 From: Dave To: freebsd-questions@freebsd.org Subject: Re: problems mounting camera to download pics .... Date: Fri, 27 Feb 2015 21:33:34 +0000 Message-ID: <5161492.5f10mYJAFX@amd.asgard.uk> User-Agent: KMail/4.14.2 (FreeBSD/9.3-RELEASE-p10; KDE/4.14.2; amd64; ; ) In-Reply-To: <54EFA8DE.9050909@hiwaay.net> References: <54EF5A28.8010605@hiwaay.net> <54EFA8DE.9050909@hiwaay.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 54f0e2af.32ae-40f6-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: dave@pop3.dgmm.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: Fri, 27 Feb 2015 21:34:30 -0000 On Thursday 26 February 2015 17:14:38 William A. Mahaffey III wrote: > On 02/26/15 15:54, Adam Vande More wrote: > > On Thu, Feb 26, 2015 at 11:38 AM, William A. Mahaffey III > > > > wrote: > >> .... I am trying to mount my digital camera to download some pics I just > >> took. When I do this as root, it works AOK & I got the pics off. However, > >> when I changed my fstab file to (supposedly) allow regular users to mount > >> that directory, the mount command fails: > >> > >> > >> [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ > >> mount_msdosfs: /dev/da0s1: Operation not permitted > >> [wam@kabini1, ~, 11:35:58am] 530 % > >> > >> > >> relevant lines from my fstab file: > >> > >> > >> /dev/da0s1 /media/flash msdosfs > >> rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 > >> # /dev/da0s1 /media/flash msdosfs > >> rw,sync,noauto,longnames,-Lru_RU.UTF-8 0 0 > >> > >> > >> FreeBSD 9.3-RELEASE-p9 > >> > >> Not a huge issue, since I can get 'er done as root, but I don't see why > >> this shouldn't be feasible as a regular user .... TIA & have a nice, > >> snowy > >> (here) day ;-) .... > > > > sysctl vfs.usermount=1 > > Already tried, didn't work, however someone else suggested setuid on > /sbin/(u)mount & that worked .... Thanks :-) .... Rather than giving every user root level access to mount (possible security issue), the more correct way is to create devfs rules, see the FreeBSD Handbook: https://www.freebsd.org/doc/en/books/handbook/usb-disks.html This will be how you set up other USB devices to allows user access, eg pen/thumb drives, printers, scanners etc. It's also possible to get "clever" and mount devices on insertion or to specific mount points or to run specific commands on insertion, eg system detects your camera and copies or moves the files to a specific location. See devd/devd.conf for info on this. Google on the terms: freebsd user mount usb device for lots more useful and helpful advice/troubleshooting. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 21:38: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 562D4A64 for ; Fri, 27 Feb 2015 21:38:49 +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 089B1D6A for ; Fri, 27 Feb 2015 21:38:48 +0000 (UTC) Received: from [89.204.130.218] (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 1YRScI-0008CF-68; Fri, 27 Feb 2015 22:38:38 +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 t1RLcao7002355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 27 Feb 2015 22:38:36 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t1RLcZ1H002354; Fri, 27 Feb 2015 22:38:35 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 27 Feb 2015 22:38:35 +0100 From: Matthias Apitz To: Perry Hutchison Subject: Re: sendmail && dhcp Message-ID: <20150227213834.GA2324@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Perry Hutchison , freebsd-questions-local@be-well.ilk.org, freebsd-questions@freebsd.org References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> <4461aoe96j.fsf@lowell-desk.lan> <20150226203154.GA2853@c720-r276659> <44k2z4ci8y.fsf@lowell-desk.lan> <54efe697.xdtSCVZsiZDqV7lP%perryh@pluto.rain.com> <20150227130145.GA3591@c720-r276659> <54f0dc41.NVD2hFGwt9XGczfB%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54f0dc41.NVD2hFGwt9XGczfB%perryh@pluto.rain.com> 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.130.218 Cc: freebsd-questions-local@be-well.ilk.org, 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 Feb 2015 21:38:49 -0000 El día Friday, February 27, 2015 a las 01:06:09PM -0800, Perry Hutchison escribió: > > To read and write I'm using mutt as MUA. mutt can fetch with IMAP(S) and > > send with SMTP+SSL; but this (sending directly) is not what I want, I > > want to queue up the outbound mails and send them at once (see above for > > the reason); so, sendmail is the natural option; > > Indeed, but that does not necessarily mean that you need a sendmail > *daemon*. I haven't used mutt, but I have the impression that it is > capable of invoking sendmail directly (via fork/exec, passing the > message on stdin) rather than having to keep a daemon running all > the time to accept the occasional SMTP connection on 127.0.0.1:25. > In fact, depending on how you have it configured, mutt may > *currently* be running a sendmail process (via fork/exec) for each > message you send, rather than using the local sendmail daemon. mutt uses sendmail (i.e. pipes the mail to something like 'sendmail -t -f ....) which queues the mail for further delivery; and this is what I want: queue all the answered mails until I open the Wifi uplink and all answers are going out at once. I think, this is only possible with a configured sendmail daemon and queue runner. matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 La referencia de la Duma a la anexión de la RDA, en este caso al contrario con la Crimlía sin referéndum, no solamente tiene gracia sino da en el blanco.- Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 21:56:28 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 723B8F64 for ; Fri, 27 Feb 2015 21:56:28 +0000 (UTC) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.25]) (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 2F8E3F51 for ; Fri, 27 Feb 2015 21:56:27 +0000 (UTC) Received: from [80.67.16.118] (helo=webmail.df.eu) by smtprelay02.ispgateway.de with esmtpa (Exim 4.84) (envelope-from ) id 1YRStO-0001sh-GG for freebsd-questions@freebsd.org; Fri, 27 Feb 2015 22:56:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 27 Feb 2015 22:56:18 +0100 From: Markus Hoenicka To: freebsd-questions@freebsd.org Subject: Re: problems mounting camera to download pics .... In-Reply-To: <5161492.5f10mYJAFX@amd.asgard.uk> References: <54EF5A28.8010605@hiwaay.net> <54EFA8DE.9050909@hiwaay.net> <5161492.5f10mYJAFX@amd.asgard.uk> Message-ID: X-Sender: markus.hoenicka@mhoenicka.de User-Agent: Roundcube Webmail X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ== 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 Feb 2015 21:56:28 -0000 Am 2015-02-27 22:33, schrieb Dave: > On Thursday 26 February 2015 17:14:38 William A. Mahaffey III wrote: >> On 02/26/15 15:54, Adam Vande More wrote: >> > On Thu, Feb 26, 2015 at 11:38 AM, William A. Mahaffey III >> > >> > wrote: >> >> .... I am trying to mount my digital camera to download some pics I just >> >> took. When I do this as root, it works AOK & I got the pics off. However, >> >> when I changed my fstab file to (supposedly) allow regular users to mount >> >> that directory, the mount command fails: >> >> >> >> >> >> [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ >> >> mount_msdosfs: /dev/da0s1: Operation not permitted >> >> [wam@kabini1, ~, 11:35:58am] 530 % >> >> >> >> >> >> relevant lines from my fstab file: >> >> >> >> >> >> /dev/da0s1 /media/flash msdosfs >> >> rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 >> >> # /dev/da0s1 /media/flash msdosfs >> >> rw,sync,noauto,longnames,-Lru_RU.UTF-8 0 0 >> >> >> >> >> >> FreeBSD 9.3-RELEASE-p9 >> >> >> >> Not a huge issue, since I can get 'er done as root, but I don't see why >> >> this shouldn't be feasible as a regular user .... TIA & have a nice, >> >> snowy >> >> (here) day ;-) .... >> > >> > sysctl vfs.usermount=1 >> >> Already tried, didn't work, however someone else suggested setuid on >> /sbin/(u)mount & that worked .... Thanks :-) .... > > Rather than giving every user root level access to mount (possible > security > issue), the more correct way is to create devfs rules, see the FreeBSD > Handbook: > > https://www.freebsd.org/doc/en/books/handbook/usb-disks.html > I've done something along these lines to make my camera accessible from FreeBSD, see this blog entry here: http://www.mhoenicka.de/system-cgi/blog/index.php?itemid=2234 hope this helps Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 22:19: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 08EE9722 for ; Fri, 27 Feb 2015 22:19:16 +0000 (UTC) Received: from clavin1.langille.org (clavin.langille.org [162.208.116.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D0CBD210 for ; Fri, 27 Feb 2015 22:19:15 +0000 (UTC) Received: from (clavin1.int.langille.org (clavin1.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 97505604C ; Fri, 27 Feb 2015 22:19:13 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: What's the latest release from freebsd-update? From: Dan Langille In-Reply-To: Date: Fri, 27 Feb 2015 17:19:12 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <95203083-D36D-4969-A8E8-1E799518F228@langille.org> References: <54E6B8B9.1060204@hiwaay.net> <54E6F04A.5080409@gmail.com> To: "Brian W." X-Mailer: Apple Mail (2.2070.6) Cc: FreeBSD 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: Fri, 27 Feb 2015 22:19:16 -0000 On Feb 24, 2015, at 11:56 AM, Brian W. wrote: >> On Fri, Feb 20, 2015 at 3:28 AM, Johan Hendriks = >> wrote: >>=20 >>>=20 >>> Op 20-02-15 om 05:31 schreef William A. Mahaffey III: >>>=20 >>> On 02/19/15 08:34, Dan Langille wrote: >>>>=20 >>>>> I want to write a check to let us know if a given server is on the >>>>> latest >>>>> version. >>>>>=20 >>>>> For example, how can I determine that FreeBSD 9.3-RELEASE-p5 is = the >>>>> latest >>>>> and greatest? >>>>>=20 >>>>> I could run freebsd-update and see what comes back, but that's not >> ideal >>>>> for a Nagios check. >>>>>=20 >>>>> This output seems promising: >>>>>=20 >>>>> $ sysctl kern.version >>>>> kern.version: FreeBSD 9.3-RELEASE-p5 #0: Mon Nov 3 22:38:58 UTC = 2014 >>>>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >>>>>=20 >>>>> Let's assume we use that as the check for the host. >>>>>=20 >>>>> What do we compare it to? Where can I find out that = 9.3-RELEASE-p6 is >>>>> available? >>>>>=20 >>>>=20 >>>>=20 >>>> I'm running 9.3 (FreeBSD 9.3-RELEASE-p5) as well, & I have noticed >>>> posts going by onlist referencing 9.3-RELEASE-p9 (I think, might = have >>>> been 8), although that is little help to you. You & I are several >>>> months back from today, probably safe to assume something newer is >>>> available. The bottom of >>>> https://www.freebsd.org/doc/handbook/updating-upgrading- >>>> freebsdupdate.html >>>> talks about comparing system versions. If you do a 'freebsd-update >>>> fetch' followed by a 'freebsd-update install' you will be updated = to >>>> the latest & greatest patch level, but I'm not sure there is a way = of >>>> checking that level apriori .... $0.02, no more, no less .... >>>>=20 >>>>=20 >>> Go to the website www.freebsd.org, on the right site there is a = colum >>> security advisories >>>=20 >>> click on the latest, and it will show you the latest patch level of = all >>> versions. Like the example below, the advisory for sctp. >>>=20 >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA512 >>>=20 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> FreeBSD-SA-15:03.sctp Security >>> Advisory >>> The FreeBSD >>> Project >>>=20 >>> Topic: SCTP stream reset vulnerability >>>=20 >>> Category: core >>> Module: sctp >>> Announced: 2015-01-27 >>> Credits: Gerasimos Dimitriadis >>> Affects: All supported versions of FreeBSD. >>> Corrected: 2015-01-27 19:36:08 UTC (stable/10, 10.1-STABLE) >>> 2015-01-27 19:37:02 UTC (releng/10.1, = 10.1-RELEASE-p5) >>> 2015-01-27 19:37:02 UTC (releng/10.0, = 10.0-RELEASE-p17) >>> 2015-01-27 19:36:08 UTC (stable/9, 9.3-STABLE) >>> 2015-01-27 19:37:02 UTC (releng/9.3, 9.3-RELEASE-p9) >>> 2015-01-27 19:36:08 UTC (stable/8, 8.4-STABLE) >>> 2015-01-27 19:37:02 UTC (releng/8.4, 8.4-RELEASE-p23) >>> CVE Name: CVE-2014-8613 >>>=20 >>>=20 > On Feb 24, 2015 8:42 AM, "Dan Langille" = wrote: >> I think that none of these suggestions, while useful, are easily = programmed >> into a Nagios check (for example). > I haven't used Nagios much but can't a freebsd-update fetch be run and = then > the contents of /var/db/freebsd-update/ examined? If updates are ready = to > be installed there will be stuff there. Good suggestion. I thought about this a bit. For example, this is a personal server of mine: $ sudo ls -tl /var/db/freebsd-update | less total 24305 -rw-r--r-- 1 root wheel 225 Feb 27 11:14 tINDEX.present -rw-r--r-- 1 root wheel 112 Feb 27 11:14 tag -rw-r--r-- 1 root wheel 0 Feb 27 11:14 serverlist_full -rw-r--r-- 1 root wheel 0 Feb 27 11:14 serverlist_tried drwx------ 2 root wheel 6 Feb 25 21:54 install.VYWhPb lrwxr-xr-x 1 root wheel 14 Feb 25 21:54 = a42a1b654b786466cfb637b8c8149d2c17163da48c6af0db0efc8b9eb668c0c6-rollback = -> install.VYWhPb drwx------ 2 root wheel 6 Feb 25 21:54 install.wyPL3Y lrwxr-xr-x 1 root wheel 14 Feb 25 21:54 = 33e149b299e14ae478954c5803bdd48402401acbac2611574359df5e8087aa7c-rollback = -> install.wyPL3Y drwxr-xr-x 2 root wheel 26268 Feb 25 21:54 files drwx------ 2 root wheel 6 Feb 25 21:52 install.MlNZrV lrwxr-xr-x 1 root wheel 14 Feb 25 21:52 = f465c3739385890c221dff1a05e578c6cae0d0430e46996d319db7439f884336-rollback = -> install.MlNZrV $ sudo freebsd-update fetch Looking up update.FreeBSD.org mirrors... none found. Fetching metadata signature for 9.3-RELEASE from update.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-p10. $ sudo ls -tl /var/db/freebsd-update | less -rw-r--r-- 1 root wheel 225 Feb 27 22:16 tINDEX.present -rw-r--r-- 1 root wheel 112 Feb 27 22:16 tag -rw-r--r-- 1 root wheel 0 Feb 27 22:16 serverlist_full -rw-r--r-- 1 root wheel 0 Feb 27 22:16 serverlist_tried drwx------ 2 root wheel 6 Feb 25 21:54 install.VYWhPb lrwxr-xr-x 1 root wheel 14 Feb 25 21:54 = a42a1b654b786466cfb637b8c8149d2c17163da48c6af0db0efc8b9eb668c0c6-rollback = -> install.VYWhPb drwx------ 2 root wheel 6 Feb 25 21:54 install.wyPL3Y lrwxr-xr-x 1 root wheel 14 Feb 25 21:54 = 33e149b299e14ae478954c5803bdd48402401acbac2611574359df5e8087aa7c-rollback = -> install.wyPL3Y drwxr-xr-x 2 root wheel 26268 Feb 25 21:54 files drwx------ 2 root wheel 6 Feb 25 21:52 install.MlNZrV lrwxr-xr-x 1 root wheel 14 Feb 25 21:52 = f465c3739385890c221dff1a05e578c6cae0d0430e46996d319db7439f884336-rollback = -> install.MlNZrV It seems to require both non-root access and detailed knowledge of what = is found in that directory. I'm hoping for something simple and easily obtained. Thank you =E2=80=94=20 Dan Langille http://langille.org/ From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 22:28: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 5128BF8F for ; Fri, 27 Feb 2015 22:28:42 +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 0D1D2373 for ; Fri, 27 Feb 2015 22:28:41 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YRTOg-0007eD-9V for freebsd-questions@freebsd.org; Fri, 27 Feb 2015 23:28:38 +0100 Received: from p4fddd7aa.dip0.t-ipconnect.de ([79.221.215.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2015 23:28:38 +0100 Received: from christian.baer by p4fddd7aa.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2015 23:28:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christian Baer Subject: Am I too dumb to mount an SD-card? Date: Fri, 27 Feb 2015 23:28:24 +0100 Lines: 58 Message-ID: <9107632.xkY3nEPMJS@falbala.rz1.convenimus.net> 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: p4fddd7aa.dip0.t-ipconnect.de User-Agent: KNode/4.14.2 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 Feb 2015 22:28:42 -0000 Hey everyone! I decided to give a few pieces of software a spin, so that I could possibly use FreeBSD for my photo stuff aswell. My problem is that I can't mount the SD-card from my camera (Pentax K-3). It's formatted exFAT (I am guessing) by the camera. I stuck the card into the card reader and there is a device there for it to: /dev/da1 and /dev/da1s1 However, mounting does not work: mount.exfat-fuse /dev/da1s1 /mnt/sdcard/ FUSE exfat 1.0.1 fuse: failed to open fuse device: No such file or directory It seems to be there (last one): camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus1 target 0 lun 0 (ada1,pass1) at scbus2 target 0 lun 0 (ada2,pass2) at scbus6 target 0 lun 0 (pass3,cd0) at scbus8 target 0 lun 0 (pass4,ses0) at scbus9 target 0 lun 0 (da0,pass5) at scbus9 target 0 lun 1 (da1,pass6) And it is definately the one with something plugged in... :-) kernel: ugen2.3: at usbus2 kernel: umass0: on usbus2 kernel: umass0: SCSI over Bulk-Only; quirks = 0x4001 kernel: umass0:9:0:-1: Attached to scbus9 kernel: da0 at umass-sim0 bus 0 scbus9 target 0 lun 0 kernel: da0: Removable Direct Access SCSI-0 device kernel: da0: 40.000MB/s transfers kernel: da0: Attempt to query device size failed: NOT READY, Medium not present kernel: da0: quirks=0x2 kernel: da1 at umass-sim0 bus 0 scbus9 target 0 lun 1 kernel: da1: Removable Direct Access SCSI-0 device kernel: da1: 40.000MB/s transfers kernel: da1: 60906MB (124735488 512 byte sectors: 255H 63S/T 7764C) kernel: da1: quirks=0x2 In some forum I read something about having to start fusefs as a service or loadable kernel module. However, I could not find a start script for fuse after installing it nor could I find a klm. What piece of the puzzle am I missing (again)? Y'all have a good night! :-) Chris From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 23:32:51 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 B3EB4C27 for ; Fri, 27 Feb 2015 23:32:51 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3EAAFC7B for ; Fri, 27 Feb 2015 23:32:51 +0000 (UTC) Received: by widex7 with SMTP id ex7so3405348wid.1 for ; Fri, 27 Feb 2015 15:32:49 -0800 (PST) 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=ECxRa/UByfESFCAbet+gY+HwVsbDNuYxM22Nzh2RI/s=; b=slcZ/tXqHHjaZDckbUtryqPykSWIen45hQNJw8MGveTFr2wQLQg78LDRxaj+OsmqgI BrQgoSrivtJdxPyZ1e4zJVtzRVRsabRx0QplWAiAKm6S2K8pz49/4DfAXJn8EHJ3bKN5 RKnkaKyKmDeZwUd76LH0hW8zgAjwm2+aaAqqE/OPz0Nq9rIUqtwVReMKB5X5y24EUSgU 5KzYIWztrsCW96HoCOXiVXcQNxag9/MtW+JL3h0w071lgfXcsa2QRmhUKRWo9JXe9kO0 03sJ623sXn3wvpc9fDv8+cpWN5kD58/e1OEKO476p5JA8i6Po2Ff9J00Ip8QYf5UcYBU aumQ== MIME-Version: 1.0 X-Received: by 10.180.184.230 with SMTP id ex6mr11102196wic.73.1425079969815; Fri, 27 Feb 2015 15:32:49 -0800 (PST) Received: by 10.194.239.194 with HTTP; Fri, 27 Feb 2015 15:32:49 -0800 (PST) In-Reply-To: <9107632.xkY3nEPMJS@falbala.rz1.convenimus.net> References: <9107632.xkY3nEPMJS@falbala.rz1.convenimus.net> Date: Sat, 28 Feb 2015 07:32:49 +0800 Message-ID: Subject: Re: Am I too dumb to mount an SD-card? From: Ben Woods To: Christian Baer 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: Fri, 27 Feb 2015 23:32:51 -0000 Try following these instructions: http://www.codebuddies.de/2014/03/28/0x0b-howto-mount-a-extfat-filesystem-on-freebsd/ Make sure you have rebooted after editing your /etc/rc.conf Cheers, Ben On Saturday, February 28, 2015, Christian Baer < christian.baer@uni-dortmund.de> wrote: > Hey everyone! > > I decided to give a few pieces of software a spin, so that I could possibly > use FreeBSD for my photo stuff aswell. > > My problem is that I can't mount the SD-card from my camera (Pentax K-3). > It's formatted exFAT (I am guessing) by the camera. > > I stuck the card into the card reader and there is a device there for it > to: > > /dev/da1 and /dev/da1s1 > > However, mounting does not work: > > mount.exfat-fuse /dev/da1s1 /mnt/sdcard/ > FUSE exfat 1.0.1 > fuse: failed to open fuse device: No such file or directory > > It seems to be there (last one): > > camcontrol devlist > at scbus0 target 0 lun 0 (ada0,pass0) > at scbus1 target 0 lun 0 (ada1,pass1) > at scbus2 target 0 lun 0 > (ada2,pass2) > at scbus6 target 0 lun 0 (pass3,cd0) > at scbus8 target 0 lun 0 (pass4,ses0) > at scbus9 target 0 lun 0 (da0,pass5) > at scbus9 target 0 lun 1 (da1,pass6) > > And it is definately the one with something plugged in... :-) > > kernel: ugen2.3: at usbus2 > kernel: umass0: addr 2> on usbus2 > kernel: umass0: SCSI over Bulk-Only; quirks = 0x4001 > kernel: umass0:9:0:-1: Attached to scbus9 > kernel: da0 at umass-sim0 bus 0 scbus9 target 0 lun 0 > kernel: da0: Removable Direct Access SCSI-0 > device > kernel: da0: 40.000MB/s transfers > kernel: da0: Attempt to query device size failed: NOT READY, Medium not > present > kernel: da0: quirks=0x2 > kernel: da1 at umass-sim0 bus 0 scbus9 target 0 lun 1 > kernel: da1: Removable Direct Access SCSI-0 > device > kernel: da1: 40.000MB/s transfers > kernel: da1: 60906MB (124735488 512 byte sectors: 255H 63S/T 7764C) > kernel: da1: quirks=0x2 > > In some forum I read something about having to start fusefs as a service or > loadable kernel module. However, I could not find a start script for fuse > after installing it nor could I find a klm. > > What piece of the puzzle am I missing (again)? > > Y'all have a good night! :-) > Chris > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org " > -- -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 00:02: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 92FA81F6 for ; Sat, 28 Feb 2015 00:02:32 +0000 (UTC) Received: from mail.bein.link (bein.link [37.252.124.82]) (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 5572AF60 for ; Sat, 28 Feb 2015 00:02:31 +0000 (UTC) Received: from quad.localnet (home.bein.link [172.16.32.6]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bein.link (Postfix) with ESMTPS id CB63B1AF18B; Sat, 28 Feb 2015 00:02:30 +0000 (UTC) From: Maxim V FIlimonov To: freebsd-questions@freebsd.org Subject: Re: Am I too dumb to mount an SD-card? Date: Sat, 28 Feb 2015 03:02:28 +0300 Message-ID: <2959707.sdgvqrTRN0@quad> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RELEASE-p5; KDE/4.14.2; amd64; ; ) In-Reply-To: <9107632.xkY3nEPMJS@falbala.rz1.convenimus.net> References: <9107632.xkY3nEPMJS@falbala.rz1.convenimus.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Christian Baer 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 Feb 2015 00:02:32 -0000 Do you have fuse installed? If not, here's the guess: install fuse first, then run kldload fuse, then try mounting the file system. On Friday 27 February 2015 23:28:24 Christian Baer wrote: > Hey everyone! > > I decided to give a few pieces of software a spin, so that I could possibly > use FreeBSD for my photo stuff aswell. > > My problem is that I can't mount the SD-card from my camera (Pentax K-3). > It's formatted exFAT (I am guessing) by the camera. > > I stuck the card into the card reader and there is a device there for it to: > > /dev/da1 and /dev/da1s1 > > However, mounting does not work: > > mount.exfat-fuse /dev/da1s1 /mnt/sdcard/ > FUSE exfat 1.0.1 > fuse: failed to open fuse device: No such file or directory > > It seems to be there (last one): > > camcontrol devlist > at scbus0 target 0 lun 0 (ada0,pass0) > at scbus1 target 0 lun 0 (ada1,pass1) > at scbus2 target 0 lun 0 (ada2,pass2) > at scbus6 target 0 lun 0 (pass3,cd0) > at scbus8 target 0 lun 0 (pass4,ses0) > at scbus9 target 0 lun 0 (da0,pass5) > at scbus9 target 0 lun 1 (da1,pass6) > > And it is definately the one with something plugged in... :-) > > kernel: ugen2.3: at usbus2 > kernel: umass0: addr 2> on usbus2 > kernel: umass0: SCSI over Bulk-Only; quirks = 0x4001 > kernel: umass0:9:0:-1: Attached to scbus9 > kernel: da0 at umass-sim0 bus 0 scbus9 target 0 lun 0 > kernel: da0: Removable Direct Access SCSI-0 > device > kernel: da0: 40.000MB/s transfers > kernel: da0: Attempt to query device size failed: NOT READY, Medium not > present > kernel: da0: quirks=0x2 > kernel: da1 at umass-sim0 bus 0 scbus9 target 0 lun 1 > kernel: da1: Removable Direct Access SCSI-0 > device > kernel: da1: 40.000MB/s transfers > kernel: da1: 60906MB (124735488 512 byte sectors: 255H 63S/T 7764C) > kernel: da1: quirks=0x2 > > In some forum I read something about having to start fusefs as a service or > loadable kernel module. However, I could not find a start script for fuse > after installing it nor could I find a klm. > > What piece of the puzzle am I missing (again)? > > Y'all have a good night! :-) > Chris > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- wbr, Maxim Filimonov che@bein.link From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 02:13: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 847A7947 for ; Sat, 28 Feb 2015 02:13:13 +0000 (UTC) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (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 437E8DD9 for ; Sat, 28 Feb 2015 02:13:13 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id t1S2Cfvr055994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 27 Feb 2015 18:12:42 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id t1S2Cf85055993; Fri, 27 Feb 2015 18:12:41 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA19788; Fri, 27 Feb 15 17:49:58 PST Date: Fri, 27 Feb 2015 17:49:55 -0800 From: perryh@pluto.rain.com (Perry Hutchison) To: guru@unixarea.de Subject: Re: sendmail && dhcp Message-Id: <54f11ec3.lqwMEiHv/6pQsPVF%perryh@pluto.rain.com> References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> <4461aoe96j.fsf@lowell-desk.lan> <20150226203154.GA2853@c720-r276659> <44k2z4ci8y.fsf@lowell-desk.lan> <54efe697.xdtSCVZsiZDqV7lP%perryh@pluto.rain.com> <20150227130145.GA3591@c720-r276659> <54f0dc41.NVD2hFGwt9XGczfB%perryh@pluto.rain.com> <20150227213834.GA2324@c720-r276659> In-Reply-To: <20150227213834.GA2324@c720-r276659> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions-local@be-well.ilk.org, 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 Feb 2015 02:13:13 -0000 Matthias Apitz wrote: > El d??a Friday, February 27, 2015 a las 01:06:09PM -0800, Perry Hutchison escribi??: > > ... depending on how you have it configured, mutt may *currently* > > be running a sendmail process (via fork/exec) for each message you > > send, rather than using the local sendmail daemon. > > mutt uses sendmail (i.e. pipes the mail to something like >'sendmail -t -f ....) which queues the mail for further delivery ... Yep. mutt is invoking sendmail directly to queue the outgoing message. It's not using the daemon. > and this is what I want: queue all the answered mails until I open > the Wifi uplink and all answers are going out at once. I think, > this is only possible with a configured sendmail daemon and queue > runner. You do need sendmail configured (sendmail.cf set up appropriately), and you do need to run the queue when you're ready to transmit the outgoing messages, but you don't need the daemon. When the Wifi link comes up, instead of restarting a daemon, all that's needed is to run "sendmail -q" or "sendmail -qf". The advantage of the -qf form is that -- if I'm reading the manpage correctly -- it won't return until everything has been sent (at which point you can shut down the link, unless it's being used for something else -- like incoming messages). A sendmail daemon is useful in an always-connected system, to receive messages that someone pushes to it via SMTP or to retry queued transmissions periodically if the receiving system (or the path to it) was down on the first attempt. As the first responder was saying, it's really not all that useful on a system that is connected to the Internet only occasionally. From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 02:31:46 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D04AFC09 for ; Sat, 28 Feb 2015 02:31:46 +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 A89BCF6B for ; Sat, 28 Feb 2015 02:31:46 +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=h0mGeNup+YAQwujDxJT2o1AQIxuUgDV/nJopEW+ftq8=; b=JO2b1sCf0F1vOMXyjPprF5m48OGWn253Iu3zLmKGMFMxaX8FpjbDGyAlavgI9zLxhNNBLvIQkkiYMIPdK05zrkQNgznxGhUFhvKsfbEVhnJBy5nW4VUKeIGUijaAHKwnhivDVNP3p7gv0bXeXM1HjZo4PNFXZAqMrELkB6WLbdY=; Received: from [114.124.29.248] (port=56419 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 1YRXBq-002U6k-PA; Fri, 27 Feb 2015 19:31:39 -0700 Date: Sat, 28 Feb 2015 10:31:31 +0800 From: Erich Dollansky To: opendaddy@hushmail.com Subject: Re: Why all the fancy ASCII art in the boot loader? Message-ID: <20150228103131.0c19c476@B85M-HD3-0.alogt.com> In-Reply-To: <20150227015057.4E2F3C0431@smtp.hushmail.com> References: <20150222164422.D89FCA0168@smtp.hushmail.com> <20150222175145.6b2cb583.freebsd@edvax.de> <20150227015057.4E2F3C0431@smtp.hushmail.com> 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: Polytropon , 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 Feb 2015 02:31:46 -0000 Hi, On Fri, 27 Feb 2015 01:50:57 +0000 opendaddy@hushmail.com wrote: > On 22. februar 2015 at 4:43 PM, "Polytropon" wrote: > > > >On Sun, 22 Feb 2015 16:44:22 +0000, opendaddy@hushmail.com wrote: > >> Hello! > >> > >> Why all the fancy ASCII art in the boot loader? Every time I boot > >> I'm distracted by it. Feels like I'm reading an 80s e-zine. > > > >It's easy to switch those off, and even the delay (mostly > >unneccessary). Add those to /boot/loader.conf: > > > > autoboot_delay="1" > > beastie_disable="YES" > > > >You still have the option to interrupt booting at this > >early stage. > > > > > > > >> Can't we be more like OpenBSD and keep things simple? > >> http://en.wikipedia.org/wiki/KISS_principle > > > >FreeBSD's configuration mechanism for the boot loader > >easily allows that. :-) > > > > That is all good, however, why does this stuff have to be there in > the first place? Just seems a bit unprofessional that's all. > yeah, the killer argument ... Erich From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 12: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 2F52448C for ; Sat, 28 Feb 2015 12:03:46 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::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 A7535C8C for ; Sat, 28 Feb 2015 12:03:45 +0000 (UTC) Received: by labgq15 with SMTP id gq15so22285353lab.6 for ; Sat, 28 Feb 2015 04:03:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=uZMxIjnAx2eJHGoRLRpttB9JIMc8TX+xI0wY/iBl/nI=; b=Aj7DMrVd+sssYa+KrNqqXV6z+CZfmYia20ZFBujgWpGo3Sd/fnwX+8rN0yECJWiq1u k7CP5t5//CXjzP3kVHQE1HHUCHh+oqZ19bxdybVc2HXo9KNk+zwi4JiUAyRD8YTQwr5N mOprlCG2YKcVswMuuax7lbIyIggl1UZedkDcnxgdwfsxWqDvSWEdoopk2ON9gQt1mndE 2b3mHThcYXS3//sF7diwWLgwe6fspJ452Ip4h6Ft4HhMMkklLp9plsX+3HbcaJRdhL6+ eNj6f6l4ekIoG3tqbcnwbwzZ7K9dDzufqHEXDKM9SABJ5DM3BgmGCg/wiNYNpS2bHe86 lfJg== X-Received: by 10.112.242.163 with SMTP id wr3mr16249006lbc.98.1425125023649; Sat, 28 Feb 2015 04:03:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.89.170 with HTTP; Sat, 28 Feb 2015 04:03:23 -0800 (PST) From: Monah Baki Date: Sat, 28 Feb 2015 07:03:23 -0500 Message-ID: Subject: FreeBSD RDR question To: FreeBSD Questions 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: Sat, 28 Feb 2015 12:03:46 -0000 Hi all, I have a freebsd 10.1 running squid, it has a single interface (bge0). My Cisco is doing policy based routing and forwarding all http request to my Freebsd server. In my pf.conf I have the following rule: rdr on bge0 inet proto tcp from any to any port 80 -> 10.0.0.24 port 3128 Do I need to add anything else? Reason I ask, it's not working. Thanks Monah From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 12:04: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 4700651C for ; Sat, 28 Feb 2015 12:04:42 +0000 (UTC) Received: from outbound-queue-1.mail.thdo.gradwell.net (outbound-queue-1.mail.thdo.gradwell.net [212.11.70.34]) by mx1.freebsd.org (Postfix) with ESMTP id CCFE8C9A for ; Sat, 28 Feb 2015 12:04:41 +0000 (UTC) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-1.mail.thdo.gradwell.net (Postfix) with ESMTP id 4BD2321E77 for ; Sat, 28 Feb 2015 12:04:39 +0000 (GMT) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username dave%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Sat, 28 Feb 2015 12:04:39 +0000 From: Dave To: freebsd-questions@freebsd.org Subject: Re: problems mounting camera to download pics .... Date: Sat, 28 Feb 2015 12:04:38 +0000 Message-ID: <1576806.ao4TrkcAeN@amd.asgard.uk> User-Agent: KMail/4.14.2 (FreeBSD/9.3-RELEASE-p10; KDE/4.14.2; amd64; ; ) In-Reply-To: References: <54EF5A28.8010605@hiwaay.net> <5161492.5f10mYJAFX@amd.asgard.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 54f1aed7.2ecb-175d-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: dave@pop3.dgmm.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 Feb 2015 12:04:42 -0000 On Friday 27 February 2015 22:56:18 Markus Hoenicka wrote: > Am 2015-02-27 22:33, schrieb Dave: > > On Thursday 26 February 2015 17:14:38 William A. Mahaffey III wrote: > >> On 02/26/15 15:54, Adam Vande More wrote: > >> > On Thu, Feb 26, 2015 at 11:38 AM, William A. Mahaffey III > >> > > >> > > >> > wrote: > >> >> .... I am trying to mount my digital camera to download some pics I > >> >> just > >> >> took. When I do this as root, it works AOK & I got the pics off. > >> >> However, > >> >> when I changed my fstab file to (supposedly) allow regular users to > >> >> mount > >> >> that directory, the mount command fails: > >> >> > >> >> > >> >> [wam@kabini1, ~, 11:33:11am] 530 % mount /media/flash/ > >> >> mount_msdosfs: /dev/da0s1: Operation not permitted > >> >> [wam@kabini1, ~, 11:35:58am] 530 % > >> >> > >> >> > >> >> relevant lines from my fstab file: > >> >> > >> >> > >> >> /dev/da0s1 /media/flash msdosfs > >> >> rw,sync,noauto,longnames,-Lru_RU.UTF-8,users 0 0 > >> >> # /dev/da0s1 /media/flash msdosfs > >> >> rw,sync,noauto,longnames,-Lru_RU.UTF-8 0 0 > >> >> > >> >> > >> >> FreeBSD 9.3-RELEASE-p9 > >> >> > >> >> Not a huge issue, since I can get 'er done as root, but I don't see > >> >> why > >> >> this shouldn't be feasible as a regular user .... TIA & have a nice, > >> >> snowy > >> >> (here) day ;-) .... > >> > > >> > sysctl vfs.usermount=1 > >> > >> Already tried, didn't work, however someone else suggested setuid on > >> /sbin/(u)mount & that worked .... Thanks :-) .... > > > > Rather than giving every user root level access to mount (possible > > security > > issue), the more correct way is to create devfs rules, see the FreeBSD > > Handbook: > > > > https://www.freebsd.org/doc/en/books/handbook/usb-disks.html > > I've done something along these lines to make my camera accessible from > FreeBSD, see this blog entry here: > > http://www.mhoenicka.de/system-cgi/blog/index.php?itemid=2234 > > hope this helps > Markus Oh, OK then. FWIW I have this User is member of group operator /etc/rc.conf contains: devfs_system_ruleset="devfsrules_common" /etc/devfs.rules contains: [devfsrules_common=7] add path 'ad[0-9]*' mode 666 add path 'ada[0-9]*' mode 666 add path 'da[0-9]*' mode 666 add path 'acd[0-9]*' mode 666 add path 'cd[0-9]*' mode 666 add path 'pass[0-9]*' mode 666 add path 'xpt[0-9]*' mode 666 add path 'ugen[0-9]*' mode 666 group operator add path 'usbctl' mode 666 add path 'usb/*' mode 666 add path 'lpt[0-9]*' mode 666 add path 'ulpt[0-9]*' mode 666 add path 'unlpt[0-9]*' mode 666 add path 'uscan[0-9]*' mode 666 add path 'usb/4.2.[0-9]' mode 666 group operator ...and I mount manually via a short script. camcontrol devlist | grep FUJIFILM > /dev/null 2>&1 if [ "$?" -eq "0" ]; then dev=`camcontrol devlist | grep FUJIFILM | grep -o 'da[0-9][0-9]*'` if [ `df | grep $dev | grep -o 'da[0-9][0-9]*'` ]; then echo Camera already mounted else mount -t msdosfs /dev/${dev}s1 /home/dave/camera echo Mounted Camera to ~/camera as /dev/${dev}s1 fi else echo Camera not plugged in fi That's probably a rubbish script, but it works for me. I should probably go back and re-visit devfs,rules and limit the access a bit and/or get around to sorting out devd to automount it. From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 12:10: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 B54E56E4 for ; Sat, 28 Feb 2015 12:10:45 +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 32E9FD58 for ; Sat, 28 Feb 2015 12:10:45 +0000 (UTC) Received: by lams18 with SMTP id s18so22241422lam.11 for ; Sat, 28 Feb 2015 04:10:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=vmy2zQveZKfgvYs7xE01TsD2h2VRzyECTgYvnmcKXak=; b=WbOoVw2fZZbPCqTwy+5eiZpoS/UQGe0EKokPHsjShK3ydhWtxCKED+vONv0wuHWx7C MjnbAskBbMC4B/y2XY9dhXRBWDtOWTyno2tHghv+A7NEpKxMBU+JecKjturRqqpoPocN HjmANZ04fd26QVNPIShRB51utlwbXzhQ7BcqXmPZMDifJaQI+VGkgED2D0oBB5ZDVzEK bdIEA8N1/ueiAOjzylWvjN/whJJvgqvmYwfQKFlYTQj/tPcuFB11BXM9d79fMzEXIC+u 0Y3Nx91wOHoHkj0gnMb8oO6wnI33xMB1DXQtaAN+g1XJDFM/G25LEvowR1Bl0CTEA5A2 vMIw== X-Received: by 10.152.23.233 with SMTP id p9mr16773598laf.123.1425125443188; Sat, 28 Feb 2015 04:10:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.9.202 with HTTP; Sat, 28 Feb 2015 04:10:03 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Sat, 28 Feb 2015 15:10:03 +0300 Message-ID: Subject: Re: FreeBSD RDR question To: Monah Baki Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sat, 28 Feb 2015 12:10:45 -0000 By 'it's not working', what do you mean? What do you see in squid's access log? That would make more sense. Does 10.0.0.24 know how to get to the Internet? I need to read about WCCP2 because never used it before. It did look simple enough though from the HOWTOs I read. On 28 February 2015 at 15:03, Monah Baki wrote: > Hi all, > > I have a freebsd 10.1 running squid, it has a single interface (bge0). My > Cisco is doing policy based routing and forwarding all http request to my > Freebsd server. > > In my pf.conf I have the following rule: > > rdr on bge0 inet proto tcp from any to any port 80 -> 10.0.0.24 port 3128 > > > Do I need to add anything else? Reason I ask, it's not working. > > > Thanks > Monah > _______________________________________________ > 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" > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 12:41:40 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A52420D for ; Sat, 28 Feb 2015 12:41:40 +0000 (UTC) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010: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 AF6DBBA for ; Sat, 28 Feb 2015 12:41:39 +0000 (UTC) Received: by lbdu10 with SMTP id u10so22017251lbd.7 for ; Sat, 28 Feb 2015 04:41:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BburT8AK7aQAGnao/e/RC7qoNwcV7OIApPgzK6MXDJQ=; b=Pk27sA0HtAJddXWQF2/u6pfg7jDgZ1xYr2gT6IIGAliOiAsvpmnt3tA3Szk3ivU6/a ZGNIj1I/OkmrYmkRTHcDEKMKS75OflpjYrAOcWCHR0hPzCKMz3gJ1y9i0FWEFayQtMZW fV2TiElbewRnm2a4CVMhXi+9k5Yj7LQmeQrasFToDOYWavI24Zj3KqkyE12I7gj8/oXT LUPnEgjB3xhWeVoltJ8byuHT8EdsjEqXeQzTMaNgisxWkfqHNeHkDuTfQoTIY9Vux0KO JnpGE/ZzQzefSvpXQ5s9A+2n5W+GsxK8GcbEuadb19lKzcfmbcnOVHugKvcKqsYXexGf 8LfA== X-Received: by 10.112.170.100 with SMTP id al4mr16950502lbc.42.1425127297733; Sat, 28 Feb 2015 04:41:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.89.170 with HTTP; Sat, 28 Feb 2015 04:41:17 -0800 (PST) In-Reply-To: References: From: Monah Baki Date: Sat, 28 Feb 2015 07:41:17 -0500 Message-ID: Subject: Re: FreeBSD RDR question To: Odhiambo Washington Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sat, 28 Feb 2015 12:41:40 -0000 The user cannot access the internet. If he enters however the IP and port number in his browser he can access the internet. I have the server running in intercept mode, in my squid.con http_port 3128 intercept http_port 80 The log files display00:00:19.008499 rule 0..16777216/0(match): pass in on bge0: 10.0.0.111.5678 > 255.255.255.255.5678: UDP, length 93 00:00:00.764414 rule 0..16777216/0(match): pass in on bge0: 10.0.0.50.5678 > 255.255.255.255.5678: UDP, length 91 00:00:00.120755 rule 0..16777216/0(match): pass in on bge0: 10.0.0.56.5678 > 255.255.255.255.5678: UDP, length 91 00:00:00.070800 rule 0..16777216/0(match): pass in on bge0: 10.0.0.53.5678 > 255.255.255.255.5678: UDP, length 91 00:00:00.150908 rule 0..16777216/0(match): pass in on bge0: 10.0.0.55.5678 > 255.255.255.255.5678: UDP, length 91 00:00:09.898853 rule 0..16777216/0(match): pass in on bge0: 10.0.0.14.63515 > 10.0.0.24.22: Flags [S], seq 2684525113, win 8192, options [mss 1460,nop,wscale 2,nop,nop,sackOK], length 0 00:00:00.186720 rule 0..16777216/0(match): pass in on bge0: 10.0.0.54.5678 > 255.255.255.255.5678: UDP, length 91 Thanks On Sat, Feb 28, 2015 at 7:10 AM, Odhiambo Washington wrote: > By 'it's not working', what do you mean? > > What do you see in squid's access log? That would make more sense. > > Does 10.0.0.24 know how to get to the Internet? > > I need to read about WCCP2 because never used it before. It did look > simple enough though from the HOWTOs I read. > > > > > On 28 February 2015 at 15:03, Monah Baki wrote: > >> Hi all, >> >> I have a freebsd 10.1 running squid, it has a single interface (bge0). My >> Cisco is doing policy based routing and forwarding all http request to my >> Freebsd server. >> >> In my pf.conf I have the following rule: >> >> rdr on bge0 inet proto tcp from any to any port 80 -> 10.0.0.24 port 3128 >> >> >> Do I need to add anything else? Reason I ask, it's not working. >> >> >> Thanks >> Monah >> _______________________________________________ >> 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" >> > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." > From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 15:19: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 CF968CE3 for ; Sat, 28 Feb 2015 15:19:42 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::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 37AE2A9 for ; Sat, 28 Feb 2015 15:19:42 +0000 (UTC) Received: by labgm9 with SMTP id gm9so22787577lab.2 for ; Sat, 28 Feb 2015 07:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=QV+tU87UNAvmjMq0iJpGHb90R7AT0EvU5h1e+bJXbK0=; b=t6tDn6kWDhFLs2OLLcIkhTAml5scMzOnUfcCJTf4NXEX8QxbeBnd01dsJjH6PUgMbS wsPhbKrCTPQ2mAVytpZ2pVNSpssUdj9GXWI6Wx1fmeNWRKLge8n1LI1tYnTApELFzOVM imNIgzhtB61OQdCWMPoQsY5iZntjW96GUC44llHicjv6/QW0sGt2CUUxsztzRtiO94ZB MgTq9ifSnwAIS6psDOwm2VqHG+6cpH/L8LS23YouqFqYlulzGJlgVamiXZOhTGmVmV1g u4MHeFGuWXwPHizj6KrtKrFoAzv4rO5oQnnCMd7M3DaADDZwdYwI7UQcElkC+JHH0CiB RGiA== X-Received: by 10.152.22.67 with SMTP id b3mr16885467laf.117.1425136780365; Sat, 28 Feb 2015 07:19:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.89.170 with HTTP; Sat, 28 Feb 2015 07:19:20 -0800 (PST) In-Reply-To: References: From: Monah Baki Date: Sat, 28 Feb 2015 10:19:20 -0500 Message-ID: Subject: Re: FreeBSD RDR question To: Odhiambo Washington Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sat, 28 Feb 2015 15:19:42 -0000 The server has one interface only. On the router this is the clients config: ip access-list extended REDIRECT (Redirect of my IP www) deny tcp host 10.0.0.24 any eq www permit tcp host 10.0.0.23 any eq www route-map CFLOW permit 10 (route map) match ip address REDIRECT set ip next-hop 10.0.0.24 # rdr pass inet proto tcp from 10.0.0.9/32 to any port 80 -> 10.0.0.24 port 3128 rdr pass on bge0 proto tcp from any to bge0 port 80 -> 10.0.0.24 port 3128 # block in pass in log quick on bge0 pass out log quick on bge0 pass out keep state' pf_enable="YES" pf_flags="" # additional flags for pfctl startup pf_rules="/etc/pf.conf" pflog_enable="YES" http_port 3128 http_port 80 intercept On Sat, Feb 28, 2015 at 10:10 AM, Odhiambo Washington wrote: > So, it would be great of you could show us the relevant configurations of > FreeBSD (rc.conf(, squid.conf, pf.conf and the router configurations. > > > 1. Do you have gateway_enable="YES" in rc.conf? > 2. Are you using the gree tunnel method? > > If you are using WCCP2, please google for "wccp2 squid freebsd). There's a > lot more needed in squid.conf for WCCP2. > > We cannot guess all these. > > > > On 28 February 2015 at 15:41, Monah Baki wrote: > >> The user cannot access the internet. If he enters however the IP and port >> number in his browser he can access the internet. >> >> I have the server running in intercept mode, in my squid.con >> >> http_port 3128 intercept >> >> http_port 80 >> >> >> >> The log files display00:00:19.008499 rule 0..16777216/0(match): pass in >> on bge0: 10.0.0.111.5678 > 255.255.255.255.5678: UDP, length 93 >> >> 00:00:00.764414 rule 0..16777216/0(match): pass in on bge0: >> 10.0.0.50.5678 > 255.255.255.255.5678: UDP, length 91 >> >> 00:00:00.120755 rule 0..16777216/0(match): pass in on bge0: >> 10.0.0.56.5678 > 255.255.255.255.5678: UDP, length 91 >> >> 00:00:00.070800 rule 0..16777216/0(match): pass in on bge0: >> 10.0.0.53.5678 > 255.255.255.255.5678: UDP, length 91 >> >> 00:00:00.150908 rule 0..16777216/0(match): pass in on bge0: >> 10.0.0.55.5678 > 255.255.255.255.5678: UDP, length 91 >> >> 00:00:09.898853 rule 0..16777216/0(match): pass in on bge0: >> 10.0.0.14.63515 > 10.0.0.24.22: Flags [S], seq 2684525113, win 8192, >> options [mss 1460,nop,wscale 2,nop,nop,sackOK], length 0 >> >> 00:00:00.186720 rule 0..16777216/0(match): pass in on bge0: >> 10.0.0.54.5678 > 255.255.255.255.5678: UDP, length 91 >> >> >> >> >> Thanks >> >> >> >> On Sat, Feb 28, 2015 at 7:10 AM, Odhiambo Washington >> wrote: >> >>> By 'it's not working', what do you mean? >>> >>> What do you see in squid's access log? That would make more sense. >>> >>> Does 10.0.0.24 know how to get to the Internet? >>> >>> I need to read about WCCP2 because never used it before. It did look >>> simple enough though from the HOWTOs I read. >>> >>> >>> >>> >>> On 28 February 2015 at 15:03, Monah Baki wrote: >>> >>>> Hi all, >>>> >>>> I have a freebsd 10.1 running squid, it has a single interface (bge0). >>>> My >>>> Cisco is doing policy based routing and forwarding all http request to >>>> my >>>> Freebsd server. >>>> >>>> In my pf.conf I have the following rule: >>>> >>>> rdr on bge0 inet proto tcp from any to any port 80 -> 10.0.0.24 port >>>> 3128 >>>> >>>> >>>> Do I need to add anything else? Reason I ask, it's not working. >>>> >>>> >>>> Thanks >>>> Monah >>>> _______________________________________________ >>>> 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" >>>> >>> >>> >>> >>> -- >>> Best regards, >>> Odhiambo WASHINGTON, >>> Nairobi,KE >>> +254733744121/+254722743223 >>> "I can't hear you -- I'm using the scrambler." >>> >> >> > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." > From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 23:09:23 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C63C492 for ; Sat, 28 Feb 2015 23:09:23 +0000 (UTC) Received: from deneb.dwf.com (70-90-202-97-Albuquerque.hfc.comcastbusiness.net [70.90.202.97]) (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 775176BB for ; Sat, 28 Feb 2015 23:09:22 +0000 (UTC) Received: from deneb.dwf.com (localhost [127.0.0.1]) by deneb.dwf.com (8.14.4/8.14.3) with ESMTP id t1SN9Fov030164 for ; Sat, 28 Feb 2015 16:09:15 -0700 Message-Id: <201502282309.t1SN9Fov030164@deneb.dwf.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: freebsd-questions@freebsd.org Subject: Still cant update nvidia driver. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 28 Feb 2015 16:09:15 -0700 From: reg@dwf.com 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 Feb 2015 23:09:23 -0000 I hate to keep bothering this list with what seems to be a simple problem, but Im new to pc-bsd, and what I read, and the suggestions Im getting just don't work. I need some help. I need to replace the nvidia-driver-340 with nvidia-driver-304 to support my nvidia 6200 video card. I have been pointed a the port, I can get into single user mode and mount all the file systems. But the simple 'make install' in the 304 directory does not work, claiming it cant overwrite one of the 340 files. 'make deinstall' of the 340 package was also suggested but it appears its not a port. 'pkg remove nvidia-driver-340' was also suggested, it dies with a 'Package(s) not found'. A simple renaming of the file that needs to be overwritten doesn't work either, seems that 'port install' must be working from some list of files that it has squirreled away, as it still complains. Now at least one user says he did this, so it must be possible, can someone please give me a method that really works? Thanks -- Reg.Clemens reg@dwf.com From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 23:39:25 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 5D477E89 for ; Sat, 28 Feb 2015 23:39:25 +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 27F7A9BA for ; Sat, 28 Feb 2015 23:39:25 +0000 (UTC) Received: from puffyzz.attlocal.net ([172.15.184.248]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0M4nHf-1XaIMF1BqX-00yyBH for ; Sun, 01 Mar 2015 00:39:18 +0100 Message-ID: <54F251A4.2050207@gmx.us> Date: Sat, 28 Feb 2015 18:39:16 -0500 From: Dutch Ingraham User-Agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Still cant update nvidia driver. References: <201502282309.t1SN9Fov030164@deneb.dwf.com> In-Reply-To: <201502282309.t1SN9Fov030164@deneb.dwf.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:eSw+W+sw8A9bWz9c9QPJGSfeaibmRIbiO4zHX7W/a8n0NlqQDC4 uZX6ID0x/1wKbRHYTvoxr3t22ksLzDwXJ78lXxdQDF+i0ld9q2ezk7gw9FjYg4wdp96cSqk JUUnxsV0jKdsE/wsp7JiuZ49Kj+WafrNConvJXEnHHNGOxrLY0gVFhgDxnhiiTiz72fuF0L xh55tCewfZsKCItFnJJHw== 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 Feb 2015 23:39:25 -0000 On 02/28/15 18:09, reg@dwf.com wrote: > > I hate to keep bothering this list with what seems to be a simple > problem, but Im new to pc-bsd, and what I read, and the suggestions > Im getting just don't work. I need some help. > > I need to replace the nvidia-driver-340 with nvidia-driver-304 to > support my nvidia 6200 video card. > > I have been pointed a the port, I can get into single user mode and > mount all the file systems. But the simple 'make install' in the 304 > directory does not work, claiming it cant overwrite one of the 340 > files. 'make deinstall' of the 340 package was also suggested but > it appears its not a port. 'pkg remove nvidia-driver-340' was also > suggested, it dies with a 'Package(s) not found'. A simple renaming > of the file that needs to be overwritten doesn't work either, seems > that 'port install' must be working from some list of files that > it has squirreled away, as it still complains. > > Now at least one user says he did this, so it must be possible, > can someone please give me a method that really works? > > Thanks > I haven't used pcbsd for a while, but if I recall correctly, the system should detect your nvidia hardware automatically. You likely need to have installed pcbsd's own driver package with . Have you searched through the handbook for "nvidia" and followed that guidance? From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 23:57: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 9BE3C429 for ; Sat, 28 Feb 2015 23:57:12 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c: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 42ABABDC for ; Sat, 28 Feb 2015 23:57:12 +0000 (UTC) Received: by widex7 with SMTP id ex7so7106896wid.1 for ; Sat, 28 Feb 2015 15:57:10 -0800 (PST) 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=t7Xbtn0ISdAvfeCWep88IBQMbRDThC7lXZfwJs3xqYM=; b=cfrCuReHfKW6BYpa5Iw7uGz+ydqnQeonnGWC6vJBb9TAm8jVGpukPCFFIim3Be59Fd xExpXxzuqVHvl1d6Eu+T5GRDQVMSYMGFmDzMHBsMhCKqaBuJTAR5JRK44piKIcMDv9Pn tVsSN9UIhAHMEj5XqFiwPCK7gDPoQWY1ruJCfdrYayWvsj015xZuRg8JWIYR3yryVBJ1 XNUuysAe1VKYZEvec2KWSqpvfnW2B1jc27/QOOU59Ao3LPrjqxHvNhjd7irGtr+lrVJ6 UAfgJI8W3G/Ky03ivhfz0A7NXv4efcMLjPuDrVcGxZ06pp8ECAKR7iJwSk2IC0IHJeUj 64Gg== MIME-Version: 1.0 X-Received: by 10.195.13.104 with SMTP id ex8mr42464616wjd.12.1425167830172; Sat, 28 Feb 2015 15:57:10 -0800 (PST) Received: by 10.194.239.194 with HTTP; Sat, 28 Feb 2015 15:57:10 -0800 (PST) In-Reply-To: <54F251A4.2050207@gmx.us> References: <201502282309.t1SN9Fov030164@deneb.dwf.com> <54F251A4.2050207@gmx.us> Date: Sun, 1 Mar 2015 07:57:10 +0800 Message-ID: Subject: Re: Still cant update nvidia driver. From: Ben Woods To: Dutch Ingraham 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: Sat, 28 Feb 2015 23:57:12 -0000 Try a "pkg search nvidia" to find what nvidia packages are available. The one you need to remove might simply be called "nvidia-driver". However, if you just do a "pkg install nvidia-driver-304" it should automatically remove any conflicting packages. Lastly, you could try posting on the PCBSD specific forums or mailing lists, as they will have a better understanding of any differences there are between how this works on FreeBSD and PCBSD. http://www.pcbsd.org/en/join-us-on-pcbsd.html http://forums.pcbsd.org/ http://lists.pcbsd.org/mailman/listinfo Regards, Ben On Sunday, March 1, 2015, Dutch Ingraham wrote: > On 02/28/15 18:09, reg@dwf.com wrote: > > > > I hate to keep bothering this list with what seems to be a simple > > problem, but Im new to pc-bsd, and what I read, and the suggestions > > Im getting just don't work. I need some help. > > > > I need to replace the nvidia-driver-340 with nvidia-driver-304 to > > support my nvidia 6200 video card. > > > > I have been pointed a the port, I can get into single user mode and > > mount all the file systems. But the simple 'make install' in the 304 > > directory does not work, claiming it cant overwrite one of the 340 > > files. 'make deinstall' of the 340 package was also suggested but > > it appears its not a port. 'pkg remove nvidia-driver-340' was also > > suggested, it dies with a 'Package(s) not found'. A simple renaming > > of the file that needs to be overwritten doesn't work either, seems > > that 'port install' must be working from some list of files that > > it has squirreled away, as it still complains. > > > > Now at least one user says he did this, so it must be possible, > > can someone please give me a method that really works? > > > > Thanks > > > I haven't used pcbsd for a while, but if I recall correctly, the system > should detect your nvidia hardware automatically. You likely need to > have installed pcbsd's own driver package with pcbsd-meta-nvidia>. Have you searched through the handbook for "nvidia" > and followed that guidance? > _______________________________________________ > 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: Benjamin Woods woodsb02@gmail.com