From owner-freebsd-questions@freebsd.org Sun Feb 7 00:20:21 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24D86A9E28B for ; Sun, 7 Feb 2016 00:20:21 +0000 (UTC) (envelope-from dan@buildingonline.com) Received: from alisocreek.buildingonline.net (alisocreek.buildingonline.net [204.109.62.198]) by mx1.freebsd.org (Postfix) with ESMTP id 07B98136C for ; Sun, 7 Feb 2016 00:20:20 +0000 (UTC) (envelope-from dan@buildingonline.com) Received: by alisocreek.buildingonline.net (Postfix, from userid 58) id 29BFC991CA5; Sat, 6 Feb 2016 16:12:47 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alisocreek.buildingonline.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from Whistler.local (unknown [69.51.79.5]) (Authenticated sender: dan@dpcsys.com) by alisocreek.buildingonline.net (Postfix) with ESMTPA id 0AD82991B7B for ; Sat, 6 Feb 2016 16:12:45 -0800 (PST) To: freebsd-questions@freebsd.org From: Dan Busarow Subject: PHP7 package? Organization: BuildingOnline.com Message-ID: <56B68BFD.20102@buildingonline.com> Date: Sat, 6 Feb 2016 17:12:45 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 00:20:21 -0000 Does anyone have a guess as to when there will be a package for php7? I know that it is easy to install from source but I would prefer to stick with packages. Thanks, Dan -- Dan Busarow BuildingOnline.com http://www.BuildingOnline.net/ 888-496-6648 ext 218 From owner-freebsd-questions@freebsd.org Sun Feb 7 03:07:05 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80993A9F55E for ; Sun, 7 Feb 2016 03:07:05 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::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 197E57E4 for ; Sun, 7 Feb 2016 03:07:05 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id g62so74815458wme.0 for ; Sat, 06 Feb 2016 19:07:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=sBUqGGYqOvxh0Vt78u375ogNJQs0bJcrnXihTnqf0nc=; b=L75lcc2yDbpgtbSbtPXazHnCJQjafuGg07DW26FSN1KZFBF9vLDyJVA5hBEnFpcDi1 kkrpn/YpoNl6l1pOLLpEXaoGZ23WKOXBLvGVGkt4ZOBqb4QUWGpHGC3ZV8kui7YXEWJs I8LsbOy9jX3z+1dVaQAvuz65D51eHKlXMnCxR8W9zL0Zw+B0pmFR/inkct8KnZKn6vkl QcucoUuSZg+UMYhM5JDybJXixKdw78KfRcKe5L+KVk13hGe8WuDx5fwCOLjZ+kTA5HaY wIsJYfGvclPtO7j1BH354jPnEbOW3X5gC5oNHQjYfqI3fIpDVQ415oQK3GPKMarCB8vM MqIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=sBUqGGYqOvxh0Vt78u375ogNJQs0bJcrnXihTnqf0nc=; b=hFup7O3KTEjlzWitG6EtZSR1oJnD4AbZHfQ1OTgHEs90ttVD+OsU+enkIuymm8oRht 2IY1RF21xJR5zzrfVbEoa2Ungzl9BIztRxYND4/tgNsSh2KuJvsTWGqUmJleqQVt7mTs GQjDGntHreYkO/5Z2nIQ58U0tyga0QlIKutXMUPCL87MaGDFhtipipNgZYXx7NrTSK1C iXzqqtvFE+zOyKuJYy/17Sk7W45nTguhLiYFgu2XcVTeFTp0woQhUvtK/NOGVjhYY38y tWGOT0/mXyH4jk/Zy/CQUobRYal+yfj3kyd/cJtwRm63y0CiN5eyS+uDC2/G2fdKAlfx tOQw== X-Gm-Message-State: AG10YOS++pgxcqLw9+6Tk6St8xT3Jpo6DcbSkFKSpiiwOXRlS4LL/DjL7kM/uA65FcqbGw== X-Received: by 10.28.92.195 with SMTP id q186mr22700845wmb.37.1454814422004; Sat, 06 Feb 2016 19:07:02 -0800 (PST) Received: from Johans-MacBook-Air.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id c185sm5812107wma.5.2016.02.06.19.07.01 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Feb 2016 19:07:01 -0800 (PST) Subject: Re: PHP7 package? To: Dan Busarow References: <56B68BFD.20102@buildingonline.com> Cc: freebsd-questions@freebsd.org From: Johan Hendriks Message-ID: <56B6B4D4.7000109@gmail.com> Date: Sun, 7 Feb 2016 04:07:00 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56B68BFD.20102@buildingonline.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 03:07:05 -0000 Op 07/02/16 om 01:12 schreef Dan Busarow: > Does anyone have a guess as to when there will be a package for php7? > > I know that it is easy to install from source but I would prefer to > stick with packages. > > Thanks, > Dan Check the ports mailing list, mostly these things come up here first. https://docs.freebsd.org/cgi/getmsg.cgi?fetch=86492+0+archive/2016/freebsd-ports/20160117.freebsd-ports regards Johan From owner-freebsd-questions@freebsd.org Sun Feb 7 04:29:57 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 660B6A9F929 for ; Sun, 7 Feb 2016 04:29:57 +0000 (UTC) (envelope-from anders@jensenwaud.com) 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 4231227D for ; Sun, 7 Feb 2016 04:29:56 +0000 (UTC) (envelope-from anders@jensenwaud.com) Received: by mail-pa0-x22d.google.com with SMTP id ho8so55834939pac.2 for ; Sat, 06 Feb 2016 20:29:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jensenwaud-com.20150623.gappssmtp.com; s=20150623; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BoATLYu4iyAbm7y+qFBTk4dc02MG9CR4bWlD6XvNRyM=; b=StnhHXxTlLIU8CFZZbGqEc668kvGn1LeG/DBT28gmqjkJZCPqQzHxpQN4ChDbf08XG EHhmeT4ZvEcMSxcOZzdmTZ36XIDr2MKfRlzHIr7d08COU2WkJpeqzro5NZs21UGahZVu 8+g/WfzFxyoMEDGWA0XVeMie3fwHcx+UtZLHQMn9hVdLjGZRJ959qmcrKwmD6IhnmruS hebcZuEbtVcMY/iWjQqpNA4V5DUbwedrIRw/xfscpfcEaTbRR/WrhDmsVidBsJaoF7gQ JD3O4rH1DWWXDfRjtsS0wvoIi+sUsMbLoAcZwL3kbGlAXCNRQEXM2B1B5r8kL1lYMPOP 6HWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=BoATLYu4iyAbm7y+qFBTk4dc02MG9CR4bWlD6XvNRyM=; b=ONokAYEEFT6kXeVQ/L5QcM1szkV7PnrjrSETdPAhgdIhLTUjZYc2AohzWrQXCHlyNs tMpgpD7rUQa7hTnKaiCpWvwpgBI1bbefEP8nb2f8pwAvZcmwhT2KivJEq6JXs9fwKQSQ vC0bH6ZFt2qOSNuIF+AgbRJxSolZ2WE08F6DPRgX6mhR0SVIxI8JJH8KrOm9FZJ0evo3 FMnwWTT3Tn/zKGdwICHaiETohJFK1jgI7mO/O2k6YFfgGrkz90aCVE2pObmzgtIIDmKt 74G6TBDkYNziFDY0CVQGMtzVDPUNBnD7PAYzyd0mW43tc6iHbdMB1dMKOT9+4miGVciZ gl5Q== X-Gm-Message-State: AG10YOQ1tpKg8mP1pHcAX3T0Ttpd2Mv2aIxPyHC9ZM1ZU0MgZrcqKmixvkU1+UYAI51nSQ== X-Received: by 10.66.235.202 with SMTP id uo10mr32284243pac.63.1454819396000; Sat, 06 Feb 2016 20:29:56 -0800 (PST) Received: from [10.170.133.137] ([1.129.59.206]) by smtp.gmail.com with ESMTPSA id ux2sm34218487pac.46.2016.02.06.20.29.54 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Feb 2016 20:29:55 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Migrating ZFS on Linux pools to FreeBSD From: Anders Jensen-Waud X-Mailer: iPhone Mail (13D15) In-Reply-To: Date: Sun, 7 Feb 2016 15:29:50 +1100 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Ruben Schade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 04:29:57 -0000 > On 4 Feb 2016, at 11:01, Ruben Schade wrote: >=20 > Hi everyone, >=20 > I'm migrating a home HP Gen8 Microserver from Debian Jessie to FreeBSD 10.= 2. I have two mirrored ZFS pools created with the ZFS on Linux port, and wan= t to access them on FreeBSD. >=20 > I understand FreeBSD's ZFS implementation is more mature and pre-dates the= Linux port, and some web searches indicate the two may not be entirely comp= atible. Most recommendations seem to be not to run Linux and FreeBSD off the= same pools, for example: >=20 > https://forums.freebsd.org/threads/installing-freebsd-in-an-existing-zfs-p= ool.54831/ >=20 > Does the same hold true for just data stores, and ones that are being migr= ated over without being accessed by Linux again? Are there any practical lim= itations to just using a ZFS pool created on Linux? Technically no, but I would boot a FreeBSD live CD first and import / attach= the pool. Generally, ZFS on Linux is typically a few feature flags behind Fre= eBSD, so there shouldn't be any issues with doing this. >=20 > If there=E2=80=99s reasonable doubt of issues I'll just rebuilt the pools u= nder FreeBSD, but would be great if I didn't need to do that. It'd be cool i= f it=E2=80=99s just a # zpool upgrade away hah :) That should do the trick, but bear in mind it will be hard (read: impossible= ) to go the other way once upgraded.=20 Anders=20 >=20 > Cheers, >=20 > --=20 > Cheers, > Ruben Schade in s/Singapore/Sydney/ > https://rubenerd.com/ >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" From owner-freebsd-questions@freebsd.org Sun Feb 7 12:11:55 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A17F5AA0642 for ; Sun, 7 Feb 2016 12:11:55 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) 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 2C09D132D for ; Sun, 7 Feb 2016 12:11:54 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u17CBi7k056550 for ; Sun, 7 Feb 2016 23:11:45 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 7 Feb 2016 23:11:44 +1100 (EST) From: Ian Smith To: freebsd-questions@freebsd.org Subject: svn revision in uname Message-ID: <20160207223554.P51785@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 12:11:55 -0000 Hi all, I've been using svnup for source updates for ages, and for my occasional use it works fine. However one thing you don't get is the svn revision shown in uname, eg % uname -vm FreeBSD 9.3-STABLE #0: Thu Oct 29 03:18:26 EST 2015 root@x200.smithi.id.au:/usr/obj/usr/src/sys/GENERIC amd64 I know where to find it: smithi@x200:~ % ll -rt /var/tmp/svnup/ total 30400 -rw-r--r-- 1 root wheel 3736967 Apr 22 2014 stable.apr -rw-r--r-- 1 root wheel 3738448 Jun 25 2014 stable.jun -rw-r--r-- 1 root wheel 3738347 Jul 6 2014 release -rw-r--r-- 1 root wheel 7926790 Jan 23 2015 ports.first -rw-r--r-- 1 root wheel 7927003 Jan 23 2015 ports -rw-r--r-- 1 root wheel 3750256 Oct 10 16:43 stable smithi@x200:~ % head -1 /var/tmp/svnup/stable 289106 but I don't know where to poke it so build|install world|kernel find it? One of the reasons I prefer svnup on this very (64GB) space-constrained laptop is that it doesn't need svn's extra copy of the repository, but I'm happy to add a /usr/src/.svn dir with whatever is needed for this. Hoping the answer is not "the build needs svn installed to get that" :) cheers, Ian (please cc me, subscribed to the digest) From owner-freebsd-questions@freebsd.org Sun Feb 7 12:54:43 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1BC7AA1A15 for ; Sun, 7 Feb 2016 12:54:43 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (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 3B4617F6 for ; Sun, 7 Feb 2016 12:54:43 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 5B0369113; Sun, 7 Feb 2016 12:54:37 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/5B0369113; dkim=none; dkim-atps=neutral Subject: Re: svn revision in uname To: freebsd-questions@freebsd.org References: <20160207223554.P51785@sola.nimnet.asn.au> Cc: Ian Smith From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <56B73E8C.5060501@FreeBSD.org> Date: Sun, 7 Feb 2016 12:54:36 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160207223554.P51785@sola.nimnet.asn.au> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1DhaDggq8t5KFSgFfPOBhr19Wk9VOVT0L" X-Virus-Scanned: clamav-milter 0.99 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.0 required=5.0 tests=SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 12:54:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1DhaDggq8t5KFSgFfPOBhr19Wk9VOVT0L Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 07/02/2016 12:11, Ian Smith wrote: > I've been using svnup for source updates for ages, and for my occasiona= l=20 > use it works fine. However one thing you don't get is the svn revision= =20 > shown in uname, eg % uname -vm > FreeBSD 9.3-STABLE #0: Thu Oct 29 03:18:26 EST 2015=20 > root@x200.smithi.id.au:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > I know where to find it: > smithi@x200:~ % ll -rt /var/tmp/svnup/ > total 30400 > -rw-r--r-- 1 root wheel 3736967 Apr 22 2014 stable.apr > -rw-r--r-- 1 root wheel 3738448 Jun 25 2014 stable.jun > -rw-r--r-- 1 root wheel 3738347 Jul 6 2014 release > -rw-r--r-- 1 root wheel 7926790 Jan 23 2015 ports.first > -rw-r--r-- 1 root wheel 7927003 Jan 23 2015 ports > -rw-r--r-- 1 root wheel 3750256 Oct 10 16:43 stable >=20 > smithi@x200:~ % head -1 /var/tmp/svnup/stable > 289106 >=20 > but I don't know where to poke it so build|install world|kernel find it= ? >=20 > One of the reasons I prefer svnup on this very (64GB) space-constrained= =20 > laptop is that it doesn't need svn's extra copy of the repository, but = > I'm happy to add a /usr/src/.svn dir with whatever is needed for this. >=20 > Hoping the answer is not "the build needs svn installed to get that" :)= >=20 The place where this is all set up is /usr/src/sys/conf/newvers.sh The logic there is fairly complicated as it supports svn, git, hg and p4 VCSes. However, the usual way it works is by running svnversion -- that's part of the svn port. % svnversion /usr/src 295073M If that fails, it will try running svnliteversion, and then cycle through various different ways of extracting a version string from other VCSes until it gets a result. So, if you don't need SVN installed locally, you could create a small shell script as /usr/local/bin/svnversion that runs 'head -1 /var/tmp/svnup/stable' Cheers, Matthew --1DhaDggq8t5KFSgFfPOBhr19Wk9VOVT0L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWtz6NXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT1b4P/1rs1g4bv55uBWO2C8qlhYuR sTNmqYfsPlr2lHM2lVP6+Sr73PFUjDPjWDO5sVCAAUXKTuDU/Tpf8DRFFIp6pJkC ieLftv153aOmGJ1L687BfFnTBUoaZWJ2oFWzbxsbqDTfnF+15h261X3gD1iRjGa7 IroPeG1n5cjdqkjgRVlBk7LPgH5F9GDxbFtvJ3w9jWlfqoQV9E6arUkbnO1z0k+3 ZqUjxhor3A9eMM+Cm1uF7W6f9EDKDKlPEw4teyNftsvdHqGZXihvPs1shgIT4ar6 wk7fUSfK6RneT9YUlhey+K6aKxdzO30V/+Eym68uhrQDi/4d6sS/VrlimaZfj8z3 vax7FWuFas0iolymt7nJLmdv9E1ZexZOodXmISD7BHsKqNvdPQBFvt1zfWt8T2ES 7MuCKkYiOWPtKYK2u2Nrhu1k4hof21nHxR9Q2H5CUnOxJJN4m8Bg4TEExV4ujneA W5hxBc6CNR3GlwAexnVAlj13S0wVd/VU6i7feGhPphX4J1IGjDBhJaDQ6Z+XfhTc XHEpXQrM2YyR3bHhkU3tIUwCzH7M6k2fFZASMOAopspbmTyafwWt+zwvI2EjcPbC TCVXA8dhNcVs0VttG0R0STgr/1vAf/rIVrNxeDgXcrTLyjEONj3HpUBAM9JQ9Py9 e0abIrpMf04skEB4enYT =TPw9 -----END PGP SIGNATURE----- --1DhaDggq8t5KFSgFfPOBhr19Wk9VOVT0L-- From owner-freebsd-questions@freebsd.org Sun Feb 7 15:35:19 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B4E0AA0240 for ; Sun, 7 Feb 2016 15:35:19 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CCA795 for ; Sun, 7 Feb 2016 15:35:18 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd27.aul.t-online.de (fwd27.aul.t-online.de [172.20.26.132]) by mailout10.t-online.de (Postfix) with SMTP id 2D829306F14; Sun, 7 Feb 2016 16:35:10 +0100 (CET) Received: from esprimo.local (Tz8AbyZ1QhCpx5unB7qvHwszP09Bzk-Qv68BfwIgUxGUhawL3VlVybiScvwofTMZad@[217.81.151.36]) by fwd27.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1aSRMh-0Ms5DM0; Sun, 7 Feb 2016 16:35:07 +0100 Received: from esprimo.local (localhost [127.0.0.1]) by esprimo.local (Postfix) with ESMTP id 7EC3745E477; Sun, 7 Feb 2016 16:35:05 +0100 (CET) Received: (from chris@localhost) by esprimo.local (8.15.2/8.15.2/Submit) id u17FZ5bU006204; Sun, 7 Feb 2016 16:35:05 +0100 (CET) (envelope-from chris) Date: Sun, 7 Feb 2016 16:35:05 +0100 From: Christoph Brinkhaus To: freebsd-questions@freebsd.org Cc: Ian Smith Subject: Re: svn revision in uname Message-ID: <20160207153505.GA1420@esprimo.local> References: <20160207223554.P51785@sola.nimnet.asn.au> <56B73E8C.5060501@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56B73E8C.5060501@FreeBSD.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-ID: Tz8AbyZ1QhCpx5unB7qvHwszP09Bzk-Qv68BfwIgUxGUhawL3VlVybiScvwofTMZad X-TOI-MSGID: 5a7b7ea4-1c95-4d8b-9059-344898a3b81b X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 15:35:19 -0000 On Sun, Feb 07, 2016 at 12:54:36PM +0000, Matthew Seaman wrote: > On 07/02/2016 12:11, Ian Smith wrote: > > I've been using svnup for source updates for ages, and for my occasional > > use it works fine. However one thing you don't get is the svn revision > > shown in uname, eg % uname -vm > > FreeBSD 9.3-STABLE #0: Thu Oct 29 03:18:26 EST 2015 > > root@x200.smithi.id.au:/usr/obj/usr/src/sys/GENERIC amd64 > > > > I know where to find it: > > smithi@x200:~ % ll -rt /var/tmp/svnup/ > > total 30400 > > -rw-r--r-- 1 root wheel 3736967 Apr 22 2014 stable.apr > > -rw-r--r-- 1 root wheel 3738448 Jun 25 2014 stable.jun > > -rw-r--r-- 1 root wheel 3738347 Jul 6 2014 release > > -rw-r--r-- 1 root wheel 7926790 Jan 23 2015 ports.first > > -rw-r--r-- 1 root wheel 7927003 Jan 23 2015 ports > > -rw-r--r-- 1 root wheel 3750256 Oct 10 16:43 stable > > > > smithi@x200:~ % head -1 /var/tmp/svnup/stable > > 289106 > > > > but I don't know where to poke it so build|install world|kernel find it? > > > > One of the reasons I prefer svnup on this very (64GB) space-constrained > > laptop is that it doesn't need svn's extra copy of the repository, but > > I'm happy to add a /usr/src/.svn dir with whatever is needed for this. > > > > Hoping the answer is not "the build needs svn installed to get that" :) > > > > The place where this is all set up is /usr/src/sys/conf/newvers.sh The > logic there is fairly complicated as it supports svn, git, hg and p4 > VCSes. However, the usual way it works is by running svnversion -- > that's part of the svn port. > > % svnversion /usr/src > 295073M > > If that fails, it will try running svnliteversion, and then cycle > through various different ways of extracting a version string from other > VCSes until it gets a result. The version svnlite is part of the system and does not need to be installed separately. Here svnliteversion /usr/src works. > > So, if you don't need SVN installed locally, you could create a small > shell script as /usr/local/bin/svnversion that runs 'head -1 > /var/tmp/svnup/stable' > > Cheers, > > Matthew Thank you, Matthew. Kind regards, Christoph From owner-freebsd-questions@freebsd.org Sun Feb 7 15:46:59 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F72BAA0961 for ; Sun, 7 Feb 2016 15:46:59 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) 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 01527B31; Sun, 7 Feb 2016 15:46:58 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u17FkteG063610; Mon, 8 Feb 2016 02:46:55 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 8 Feb 2016 02:46:55 +1100 (EST) From: Ian Smith To: Matthew Seaman cc: freebsd-questions@FreeBSD.org Subject: Re: svn revision in uname In-Reply-To: <56B73E8C.5060501@FreeBSD.org> Message-ID: <20160208015129.V51785@sola.nimnet.asn.au> References: <20160207223554.P51785@sola.nimnet.asn.au> <56B73E8C.5060501@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 15:46:59 -0000 On Sun, 7 Feb 2016 12:54:36 +0000, Matthew Seaman wrote: > On 07/02/2016 12:11, Ian Smith wrote: > > I've been using svnup for source updates for ages, and for my occasional > > use it works fine. However one thing you don't get is the svn revision > > shown in uname, eg % uname -vm > > FreeBSD 9.3-STABLE #0: Thu Oct 29 03:18:26 EST 2015 > > root@x200.smithi.id.au:/usr/obj/usr/src/sys/GENERIC amd64 > > > > I know where to find it: > > smithi@x200:~ % ll -rt /var/tmp/svnup/ > > total 30400 > > -rw-r--r-- 1 root wheel 3736967 Apr 22 2014 stable.apr > > -rw-r--r-- 1 root wheel 3738448 Jun 25 2014 stable.jun > > -rw-r--r-- 1 root wheel 3738347 Jul 6 2014 release > > -rw-r--r-- 1 root wheel 7926790 Jan 23 2015 ports.first > > -rw-r--r-- 1 root wheel 7927003 Jan 23 2015 ports > > -rw-r--r-- 1 root wheel 3750256 Oct 10 16:43 stable > > > > smithi@x200:~ % head -1 /var/tmp/svnup/stable > > 289106 > > > > but I don't know where to poke it so build|install world|kernel find it? > > > > One of the reasons I prefer svnup on this very (64GB) space-constrained > > laptop is that it doesn't need svn's extra copy of the repository, but > > I'm happy to add a /usr/src/.svn dir with whatever is needed for this. > > > > Hoping the answer is not "the build needs svn installed to get that" :) > > > > The place where this is all set up is /usr/src/sys/conf/newvers.sh The > logic there is fairly complicated as it supports svn, git, hg and p4 > VCSes. However, the usual way it works is by running svnversion -- > that's part of the svn port. > > % svnversion /usr/src > 295073M > > If that fails, it will try running svnliteversion, and then cycle > through various different ways of extracting a version string from other > VCSes until it gets a result. Thanks for this. Right up to here, I thought it was going to be hard .. > So, if you don't need SVN installed locally, you could create a small > shell script as /usr/local/bin/svnversion that runs 'head -1 > /var/tmp/svnup/stable' Exactly so: smithi@x200:/usr/local/bin % svnversion anything 289106 It could be made a bit smarter in finding the latest svnup update, when updating to a release or releng rather than stable, but that's icing. [Oddly, I found an old version of svn installed from early 2013, that a) pkg2ng hadn't found because b) it had no old /var/db/svn* directory, ie was unregistered. Before removal, svnversion /usr/src said 'Unversioned directory', which was true enough.] Thanks again, cheers, Ian From owner-freebsd-questions@freebsd.org Sun Feb 7 16:24:39 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29B7EAA1A92 for ; Sun, 7 Feb 2016 16:24:39 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) 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 A61371FFC for ; Sun, 7 Feb 2016 16:24:37 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u17GOZIl065223; Mon, 8 Feb 2016 03:24:35 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 8 Feb 2016 03:24:35 +1100 (EST) From: Ian Smith To: Christoph Brinkhaus cc: freebsd-questions@freebsd.org Subject: Re: svn revision in uname In-Reply-To: <20160207153505.GA1420@esprimo.local> Message-ID: <20160208024820.K51785@sola.nimnet.asn.au> References: <20160207223554.P51785@sola.nimnet.asn.au> <56B73E8C.5060501@FreeBSD.org> <20160207153505.GA1420@esprimo.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 16:24:39 -0000 On Sun, 7 Feb 2016 16:35:05 +0100, Christoph Brinkhaus wrote: > On Sun, Feb 07, 2016 at 12:54:36PM +0000, Matthew Seaman wrote: > > On 07/02/2016 12:11, Ian Smith wrote: > > > I've been using svnup for source updates for ages, and for my occasional > > > use it works fine. However one thing you don't get is the svn revision > > > shown in uname, eg % uname -vm > > > FreeBSD 9.3-STABLE #0: Thu Oct 29 03:18:26 EST 2015 > > > root@x200.smithi.id.au:/usr/obj/usr/src/sys/GENERIC amd64 > > % svnversion /usr/src > > 295073M > > > > If that fails, it will try running svnliteversion, and then cycle > > through various different ways of extracting a version string from other > > VCSes until it gets a result. > > The version svnlite is part of the system and > does not need to be installed separately. On 10.x - since 10.1 maybe? - but not on 9.x. > Here svnliteversion /usr/src works. If you're pulling sources with svnlite, so it should :) Conversion between using svn and svnup, either way, requires some care and cleaning up; generally best advice is not to try mixing these methods. cheers, Ian From owner-freebsd-questions@freebsd.org Sun Feb 7 17:27:16 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43A47AA1944 for ; Sun, 7 Feb 2016 17:27:16 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B449F84 for ; Sun, 7 Feb 2016 17:27:15 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd28.aul.t-online.de (fwd28.aul.t-online.de [172.20.26.133]) by mailout08.t-online.de (Postfix) with SMTP id 90E3016AF46; Sun, 7 Feb 2016 18:17:50 +0100 (CET) Received: from esprimo.local (SUg8boZlQhfG7SAUy532u6ltoovzLbnRhTq9wyEItsSjKKfeNq3ob5azz9lxydLw15@[217.81.151.36]) by fwd28.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1aSSy2-2Ka9Ka0; Sun, 7 Feb 2016 18:17:46 +0100 Received: from esprimo.local (localhost [127.0.0.1]) by esprimo.local (Postfix) with ESMTP id E80F345E475; Sun, 7 Feb 2016 18:17:45 +0100 (CET) Received: (from chris@localhost) by esprimo.local (8.15.2/8.15.2/Submit) id u17HHjTu043778; Sun, 7 Feb 2016 18:17:45 +0100 (CET) (envelope-from chris) Date: Sun, 7 Feb 2016 18:17:45 +0100 From: Christoph Brinkhaus To: Ian Smith Cc: freebsd-questions@freebsd.org Subject: Re: svn revision in uname Message-ID: <20160207171745.GA41125@esprimo.local> References: <20160207223554.P51785@sola.nimnet.asn.au> <56B73E8C.5060501@FreeBSD.org> <20160207153505.GA1420@esprimo.local> <20160208024820.K51785@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160208024820.K51785@sola.nimnet.asn.au> User-Agent: Mutt/1.5.24 (2015-08-30) X-ID: SUg8boZlQhfG7SAUy532u6ltoovzLbnRhTq9wyEItsSjKKfeNq3ob5azz9lxydLw15 X-TOI-MSGID: bc9dede6-5f70-4a5b-92fb-f7ac363c0d65 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 17:27:16 -0000 On Mon, Feb 08, 2016 at 03:24:35AM +1100, Ian Smith wrote: Dear Ian, > On Sun, 7 Feb 2016 16:35:05 +0100, Christoph Brinkhaus wrote: > > On Sun, Feb 07, 2016 at 12:54:36PM +0000, Matthew Seaman wrote: > > > On 07/02/2016 12:11, Ian Smith wrote: > > > > I've been using svnup for source updates for ages, and for my occasional > > > > use it works fine. However one thing you don't get is the svn revision > > > > shown in uname, eg % uname -vm > > > > FreeBSD 9.3-STABLE #0: Thu Oct 29 03:18:26 EST 2015 > > > > root@x200.smithi.id.au:/usr/obj/usr/src/sys/GENERIC amd64 > > > > % svnversion /usr/src > > > 295073M > > > > > > If that fails, it will try running svnliteversion, and then cycle > > > through various different ways of extracting a version string from other > > > VCSes until it gets a result. > > > > The version svnlite is part of the system and > > does not need to be installed separately. > > On 10.x - since 10.1 maybe? - but not on 9.x. Ok, I have overlook this. > > > Here svnliteversion /usr/src works. > > If you're pulling sources with svnlite, so it should :) Conversion > between using svn and svnup, either way, requires some care and cleaning > up; generally best advice is not to try mixing these methods. > I was not aware of that. I thought svnlite has just less capabilities. Thank you! > cheers, Ian > Kind regards, Christoph From owner-freebsd-questions@freebsd.org Mon Feb 8 03:00:32 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29743AA1509 for ; Mon, 8 Feb 2016 03:00:32 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F1E1D1F2E for ; Mon, 8 Feb 2016 03:00:31 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-pa0-x233.google.com with SMTP id cy9so66358835pac.0 for ; Sun, 07 Feb 2016 19:00:31 -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=kbrQJxFnTpTnAQiUFleOo2SkhUAIsAC95wEMu1ghuBU=; b=BYTQf7MCBniSJGFu2Difx2htOxDMUWHQ4U3Dupf5HWZ02KFjf1zufiu+RFbgfI6UxL IxSfIkj9wN0Te5GjOxMhVIdqrRfZM6sZHMp8mf+D+cjXKeV5MBaS0vPj8+J/x9Rwyrqs JkArqW5ObwDVDily8rV1UY+/XKVOWnJ8uDak8uLw+D5ObsCQa79wE3tl/QJQ09S8wWEg Ecqer89pZTVWFeN7v3e3TUQoz/8QdOk27BpjoxYwyrVmnO3PtmbCpmP+HDcPJJXkjckK 2TwdhH69u6dZ9gzDOBBEocAIkSZpMuXQLJM+kljaG3Qwx5X5LGtpCpAL6iVR2qyPxw0r w7Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=kbrQJxFnTpTnAQiUFleOo2SkhUAIsAC95wEMu1ghuBU=; b=e/nxJHS3KPkt2aPy0bATH1orP9vAK67CkRrvriQ2L8ZrS/c+Z2tNBBm81NGBiZ5X3p Pk+aBHQF18n/tfAOX1TfL+8qhbl7IafX4xpF4RrlPTok677DGpe4CUxLHDcX+Y9SmNc5 y2L7f84iqFhBHT+r/KRl2tHuZKu5RTt4LRBAclw6hUX/Ho1yirbIGhE9GZCyU1J9y+TW Nt4pH1PJg57ZdZ2MAAiCOBGlBYH/e2RJSKKlsGSxM1VgWOaFgihiKfm4imG04xsQYEsl f1ehrKh7r6F5jd2hyMDMgd50aa/o9WTPl0dVTn9wmU6TsIlOmkUiDBzdjWcXbkRIj/Uv Mzxw== X-Gm-Message-State: AG10YOSpB5UUNRZfy+6b5h8Sysc3Zq78IEMXhkee7h9ayFQiRmqNI7lNN9t/OfV50vrd2w== X-Received: by 10.66.142.73 with SMTP id ru9mr39010908pab.121.1454900431593; Sun, 07 Feb 2016 19:00:31 -0800 (PST) Received: from [192.168.1.149] ([120.29.76.9]) by smtp.googlemail.com with ESMTPSA id xa9sm39127814pab.44.2016.02.07.19.00.29 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 07 Feb 2016 19:00:30 -0800 (PST) Message-ID: <56B804D0.3010706@gmail.com> Date: Mon, 08 Feb 2016 11:00:32 +0800 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Freebsd Questions Subject: mailing list software recommendation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 03:00:32 -0000 I am looking for a mailing list software application in the ports collection that DOESN'T show any list members email address in the posts. From owner-freebsd-questions@freebsd.org Mon Feb 8 04:36:39 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D6EBAA1286 for ; Mon, 8 Feb 2016 04:36:39 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) 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 E40C2B82 for ; Mon, 8 Feb 2016 04:36:37 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u184aXSH090751; Mon, 8 Feb 2016 15:36:33 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 8 Feb 2016 15:36:33 +1100 (EST) From: Ian Smith To: Christoph Brinkhaus cc: freebsd-questions@freebsd.org, John Mehr Subject: Re: svn revision in uname In-Reply-To: <20160207171745.GA41125@esprimo.local> Message-ID: <20160208150928.S51785@sola.nimnet.asn.au> References: <20160207223554.P51785@sola.nimnet.asn.au> <56B73E8C.5060501@FreeBSD.org> <20160207153505.GA1420@esprimo.local> <20160208024820.K51785@sola.nimnet.asn.au> <20160207171745.GA41125@esprimo.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 04:36:39 -0000 On Sun, 7 Feb 2016 18:17:45 +0100, Christoph Brinkhaus wrote: > On Mon, Feb 08, 2016 at 03:24:35AM +1100, Ian Smith wrote: > > > The version svnlite is part of the system and > > > does not need to be installed separately. > > > > On 10.x - since 10.1 maybe? - but not on 9.x. > > Ok, I have overlook this. No worries. > > > Here svnliteversion /usr/src works. > > > > If you're pulling sources with svnlite, so it should :) Conversion > > between using svn and svnup, either way, requires some care and cleaning > > up; generally best advice is not to try mixing these methods. > > > I was not aware of that. I thought svnlite has just less capabilities. > Thank you! Ah, I see the confusion; I've been talking about port net/svnup, not the difference between full svn and svnlite, where I expect you are correct. net/svnup is described as "A lightweight, dependency-free program to pull source using the svn protocol." It does not use svn's directory structure (eg the /usr/src/.svn/ tree) and is not useful for developers wanting to push code back to the repository, among other svn features; it's purely for updating local sources (or ports, though I use portsnap) Hmm, its website is down just lately; cc'ing the author/maintainer. cheers, Ian From owner-freebsd-questions@freebsd.org Mon Feb 8 04:55:39 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82708AA1AEE for ; Mon, 8 Feb 2016 04:55:39 +0000 (UTC) (envelope-from benfell@parts-unknown.org) Received: from mail.parts-unknown.org (n4rky-1-pt.tunnel.tserv29.fmt1.ipv6.he.net [IPv6:2001:470:66:119::2]) (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 6F7161305 for ; Mon, 8 Feb 2016 04:55:39 +0000 (UTC) (envelope-from benfell@parts-unknown.org) Received: from [192.168.1.75] (unknown [50.250.218.173]) by mail.parts-unknown.org (Postfix) with ESMTPSA id 7ABD0596583F for ; Sun, 7 Feb 2016 20:55:38 -0800 (PST) Subject: Re: mailing list software recommendation To: freebsd-questions@freebsd.org References: <56B804D0.3010706@gmail.com> From: David Benfell Message-ID: <56B81FC9.9010101@parts-unknown.org> Date: Sun, 7 Feb 2016 20:55:37 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56B804D0.3010706@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AtqXNstJUBV8DgU1aCqo8ohXSoKW6ItfR" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 04:55:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AtqXNstJUBV8DgU1aCqo8ohXSoKW6ItfR Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I believe mailman can do this. It is an option in the mailing list configuration but it is not on by default. /usr/ports/mail/mailman On 02/07/2016 07:00 PM, Ernie Luzar wrote: > I am looking for a mailing list software application in the ports > collection that DOESN'T show any list members email address in the post= s. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --=20 David Benfell, Ph.D. benfell@parts-unknown.org --AtqXNstJUBV8DgU1aCqo8ohXSoKW6ItfR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWuB/KAAoJEOoml8Ul4D7WaqgQAIHf1deGFWe9tN4qqMR9r2Yu vy8Ti3j4KQWdJ6K3Vu48W0v51LxgzgzxNkMTYXJE8QHIXSnQO7j60gpjqTh14Gm9 DHRYXuDb5/wvIAmjDCdIHs4nXgd//2jqlMa/dKfCUifiPv3vhi9+SJcgMVQ7hVTv SkBlVb1icrABizrsTlafg0meUjkY86kL0n2LiUcGub5OUi/WFNhN+uPubihxTQGX Sg0Xt4DhXQH7iRvjxntiZlgW9JRiiRz/4aoazjmXgvHQ0ZiLkR2SKLSW3suOJUn7 UtNTaOxs56JHy536ViTBy8LJzNSfJfpdwaLd7EKPNRX4SRBAEcV90kqhCr4swIva dIbAqqSzOzrUxLO2Hh1bp09lkeB7CuqhXBMDdPQsbRJzXuOnrpmK+fUf02Iz7VoN Ul6LJb2VeHiORQXjxcVsW8W0EkDZaij5odJC/iZCkDu359L/EWRrRpstV/XuWEOh krQb+/P+51xLHY1yEwLsPD8mcC/ko7LpZ9tSfpTRi6sMJZMvOrgr52RpDbg2uwE/ yeiaRxsrB21JLWezk0FEgsEN1xCvmS/r4g+/pc4zPlpwd8h+y1mTPxXqOQKxs1s6 JEju9Z8k7oq/L1osGtoiwCM+xbr3MfxQiZ1TvXyJPIautq1AGl0CN+XgQf0y8u63 d2BZrQJZDY8ubQaEGfHc =0CIT -----END PGP SIGNATURE----- --AtqXNstJUBV8DgU1aCqo8ohXSoKW6ItfR-- From owner-freebsd-questions@freebsd.org Mon Feb 8 07:11:57 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B33D7A9F557 for ; Mon, 8 Feb 2016 07:11:57 +0000 (UTC) (envelope-from njt@ayvali.org) Received: from zaph.org (zaph.org [199.48.132.46]) by mx1.freebsd.org (Postfix) with ESMTP id A1870623 for ; Mon, 8 Feb 2016 07:11:57 +0000 (UTC) (envelope-from njt@ayvali.org) Received: by zaph.org (Postfix, from userid 1001) id 4F1E04987C7; Sun, 7 Feb 2016 23:05:14 -0800 (PST) Date: Sun, 7 Feb 2016 23:05:14 -0800 From: "N.J. Thomas" To: freebsd-questions@freebsd.org Subject: Re: mailing list software recommendation Message-ID: <20160208070514.GA13769@ayvali.org> References: <56B804D0.3010706@gmail.com> <56B81FC9.9010101@parts-unknown.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56B81FC9.9010101@parts-unknown.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 07:11:57 -0000 * David Benfell [2016-02-07 20:55:37-0800]: > > I am looking for a mailing list software application in the ports > > collection that DOESN'T show any list members email address in the > > posts. > > I believe mailman can do this. It is an option in the mailing list > configuration but it is not on by default. Correct. Install GNU Mailman from ports, and set the anonymous_list option when setting up your list. But see also the caveat from the docs: anonymous_list This variable allows you to turn on some simple anonymizing features of Mailman. When you set this option to Yes, Mailman will remove or replace the From:, Sender:, and Reply-To: fields of any message posted to the list. Thomas From owner-freebsd-questions@freebsd.org Mon Feb 8 14:49:55 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57B1DAA0427 for ; Mon, 8 Feb 2016 14:49:55 +0000 (UTC) (envelope-from daniel.jenkins@1bestdata.com) Received: from mail.1bestdata.com (1bestdata.com [191.101.9.63]) by mx1.freebsd.org (Postfix) with ESMTP id 93762122C for ; Mon, 8 Feb 2016 14:49:54 +0000 (UTC) (envelope-from daniel.jenkins@1bestdata.com) Received: from VOXTIDE (unknown [103.227.98.128]) by mail.1bestdata.com (Postfix) with ESMTPSA id D769AEC142 for ; Mon, 8 Feb 2016 09:40:22 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.1bestdata.com D769AEC142 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=1bestdata.com; s=default; t=1454942423; bh=6WKqFmXP/HnnNRuU27FfnAIKC2GMY3bSuSO60Xw80f0=; h=From:To:Subject:Date:From; b=pbEHLuLWZI6skTNVGtoqBr8GkAHX3Z+T1qiLSpAvWPkLIK82eKz0/zn5ZbVSzhDx6 8LXIZS3itisKLV3tpMhMjm9CXsfmzuwdwtaJ5LsQJR2qZ7BDUZSC9NHt7BqE7nvJ6K VpWzcOHA+eMznAkrfZogvPtfJm8tsMVlzNeL8F44= From: "Daniel Jenkins" To: Subject: RE: Customized SAP User Detail For Your Marketing Initiatives Date: Mon, 8 Feb 2016 20:01:09 +0530 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdFifTEV97uCho+0TPGxLc/osZVBEw== Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 14:49:55 -0000 Hello, Quickly wanted to check and see if you have had a chance to review my previous e-mail sent on Monday, February 08, 2016, regarding SAP Users Contacts. Awaiting your response and thoughts. Best Regards, Daniel Jenkins Marketing Executive - Data Appending| Email Campaigns| Email marketing |B2B Email List _____ From: Daniel Jenkins [ mailto:daniel.jenkins@1bestdata.com] Sent: Tue 2/2/2016 7:23 PM To: freebsd-questions@freebsd.org Subject: Customized SAP User Detail For Your Marketing Initiatives Hello, I hope you are the right person to discuss regarding our Customized SAP User Details Database for your Marketing Initiatives like Email Marketing, Email Campaign and Direct mailings? Database Available : SAP Users: - SAP ERP, SAP HANA, SAP Business Intelligence, SAP HRMS, SAP SCPM, SAP SUPM, SAP EWM, SAP Success Factors, SAP ABAP Users and many more. Other Technology Users: - Microsoft Dynamic, Oracle, Cisco, Citrix, VMware, Net Suite, Net App, Sugar CRM, IBM, AVAYA, Sales force, SAGE, EPICOR, INFOR, Rack Space Users and many more. Please do share your target audience like Industry / Geography / Job title, So that we can give you more information about our services, we can also provide you counts, price with a sample list to check the fields available Best Regards, Daniel Jenkins 1 Best Data Marketing Executive - Data Appending| Email Campaigns| Email marketing |B2B Email List _____ If you do not wish to receive further emails kindly reply with "Leave Out" or "Unsubscribe" From owner-freebsd-questions@freebsd.org Mon Feb 8 18:33:44 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05CC7AA18D2 for ; Mon, 8 Feb 2016 18:33:44 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id CE6051DB1 for ; Mon, 8 Feb 2016 18:33:43 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [70.121.59.224] ([70.121.59.224:61667] helo=[192.168.0.8]) by dnvrco-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 6A/11-22786-E3FD8B65; Mon, 08 Feb 2016 18:32:31 +0000 Date: Mon, 08 Feb 2016 12:32:28 -0600 From: Paul Schmehl Reply-To: Paul Schmehl To: "N.J. Thomas" , freebsd-questions@freebsd.org Subject: Re: mailing list software recommendation Message-ID: In-Reply-To: <20160208070514.GA13769@ayvali.org> References: <56B804D0.3010706@gmail.com> <56B81FC9.9010101@parts-unknown.org> <20160208070514.GA13769@ayvali.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-RR-Connecting-IP: 107.14.64.130:25 X-Authority-Analysis: v=2.1 cv=NMtb+iKg c=1 sm=1 tr=0 a=Jnt5oOXMh44BVXcArVZt4A==:117 a=Jnt5oOXMh44BVXcArVZt4A==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=lW_jKWJoAAAA:8 a=qMtUtUD4AAAA:8 a=UdvEN9gbqWsBAELrqE0A:9 a=CjuIK1q_8ugA:10 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 18:33:44 -0000 --On February 7, 2016 at 11:05:14 PM -0800 "N.J. Thomas" wrote: > * David Benfell [2016-02-07 20:55:37-0800]: >> > I am looking for a mailing list software application in the ports >> > collection that DOESN'T show any list members email address in the >> > posts. >> >> I believe mailman can do this. It is an option in the mailing list >> configuration but it is not on by default. > > Correct. Install GNU Mailman from ports, and set the anonymous_list > option when setting up your list. But see also the caveat from the docs: > > anonymous_list > > This variable allows you to turn on some simple anonymizing > features of Mailman. When you set this option to Yes, Mailman > will remove or replace the From:, Sender:, and Reply-To: > fields of any message posted to the list. > Make sure you setup DKIM as well. Otherwise you'll have mail rejected constantly and accounts being disabled as a result. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@freebsd.org Mon Feb 8 21:02:13 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F571AA2FA4 for ; Mon, 8 Feb 2016 21:02:13 +0000 (UTC) (envelope-from freebsd@edvax.de) 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 5A2C01010 for ; Mon, 8 Feb 2016 21:02:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-44-23.dynamic.qsc.de [92.195.44.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 0E5E33CEB8; Mon, 8 Feb 2016 22:02:04 +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 u18L24Zc002058; Mon, 8 Feb 2016 22:02:04 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 8 Feb 2016 22:02:04 +0100 From: Polytropon To: "N.J. Thomas" Cc: freebsd-questions@freebsd.org Subject: Re: mailing list software recommendation Message-Id: <20160208220204.affe9682.freebsd@edvax.de> In-Reply-To: <20160208070514.GA13769@ayvali.org> References: <56B804D0.3010706@gmail.com> <56B81FC9.9010101@parts-unknown.org> <20160208070514.GA13769@ayvali.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 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 21:02:13 -0000 On Sun, 7 Feb 2016 23:05:14 -0800, N.J. Thomas wrote: > * David Benfell [2016-02-07 20:55:37-0800]: > > > I am looking for a mailing list software application in the ports > > > collection that DOESN'T show any list members email address in the > > > posts. > > > > I believe mailman can do this. It is an option in the mailing list > > configuration but it is not on by default. > > Correct. Install GNU Mailman from ports, and set the anonymous_list > option when setting up your list. But see also the caveat from the docs: > > anonymous_list > > This variable allows you to turn on some simple anonymizing > features of Mailman. When you set this option to Yes, Mailman > will remove or replace the From:, Sender:, and Reply-To: > fields of any message posted to the list. This is correct for the headers, but I think in order to anonymize the list _posts_ you need to do some more postprocessing. For example, when a user quotes another user, the introduction line, followed by the quote, might contain the quoted user's address: On 07-Feb-2016, Bob wrote: > [ Bob's text here ] If you need _that_ feature too, you'd have to postprocess the messages or strictly enforce the omission of e-mail addresses in the posts. I'm not sure if GNU Mailman has a built-in function or a pluggable module for that purpose... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Feb 8 21:31:36 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1F5EAA1DF2; Mon, 8 Feb 2016 21:31:36 +0000 (UTC) (envelope-from wam@hiwaay.net) 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 AFF971F6D; Mon, 8 Feb 2016 21:31:36 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-244-25.knology.net [216.186.244.25] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id u18LVSiN022861 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 8 Feb 2016 15:31:29 -0600 To: FreeBSD ports list !!!! , FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: tor logging Message-ID: <56B90930.3000802@hiwaay.net> Date: Mon, 8 Feb 2016 15:36:58 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 21:31:37 -0000 I updated my FreeBSD 9.3R desktop last week (pkg upgrade -y), which included upgrading tor. Since then, I have *NO* messages that I can locate for tor. It used to log to /var/log/tor, but no more. My torrc files seems to indicate logging to /usr/local/var/log/tor, but no such file or directory. Where is tor logging itself these days ? TIA & have a good one. BTW: [root@kabini1, /etc, 3:30:31pm] 467 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p33 FreeBSD 9.3-RELEASE-p33 #0: Wed Jan 13 17:55:39 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 3:36:08pm] 468 % tor-0.2.7.6_1 (upgraded last week), torsocks-2.1.0 (didn't upgrade) -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Feb 8 21:46:47 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCEA3AA25B9; Mon, 8 Feb 2016 21:46:47 +0000 (UTC) (envelope-from freebsd@edvax.de) 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 885B8BB4; Mon, 8 Feb 2016 21:46:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-44-23.dynamic.qsc.de [92.195.44.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 124933CE8E; Mon, 8 Feb 2016 22:46: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 u18Lki9Y002230; Mon, 8 Feb 2016 22:46:44 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 8 Feb 2016 22:46:44 +0100 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD ports list !!!! , FreeBSD Questions !!!! Subject: Re: tor logging Message-Id: <20160208224644.f696fce2.freebsd@edvax.de> In-Reply-To: <56B90930.3000802@hiwaay.net> References: <56B90930.3000802@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 21:46:47 -0000 On Mon, 8 Feb 2016 15:36:58 -0553.75, William A. Mahaffey III wrote: > My torrc > files seems to indicate logging to /usr/local/var/log/tor, but no such > file or directory. Create this directory subtree and an empty log file. Then check if it will actually be used for logging - if that is what the torrc file indicates. Otherwise, set a different logging file, but make sure it does actually exist. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Feb 8 22:32:26 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C274AA1CC7 for ; Mon, 8 Feb 2016 22:32:26 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3F436339 for ; Mon, 8 Feb 2016 22:32:26 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3D570AA1CC6; Mon, 8 Feb 2016 22:32:26 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CF4BAA1CC4 for ; Mon, 8 Feb 2016 22:32:26 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e: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 126ED337 for ; Mon, 8 Feb 2016 22:32:26 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-pa0-x234.google.com with SMTP id ho8so80341280pac.2 for ; Mon, 08 Feb 2016 14:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=bvVOMkfgSwRZwlTpT8nUJ9REhumiCHYnxukXc5X1Kck=; b=a+gi05aq955vdaiFvCmqUGwfnzq/u32+Vamnr31WC3Uvjik4YdBx6Gmj6aJP3lhw6e B1hzp7FZzYXGIowP1OCxRmc891CXb1w9Ee6HFj6hlypDEc17lbFWGl3cfYEZK49XM3lu 211zRq8vf+BZ3MsyGNSP/ZBDtZLvbFgRhNkyFXB5WCIQgQSi56ty1dUGfO9ky9bwCMRA KvDqmiRiFUgJO+KlZ+PqwzcGDzJQoWY0QP78YNG3SfYcsbQoh9l6b62AC0P/X/B0c84S TgcayWSBgzpXhjKkzLIOtFYQeyQiYFwRs2+zwsC50EVNanHfjD6stCwcTGqdqW+PIjKn XBSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=bvVOMkfgSwRZwlTpT8nUJ9REhumiCHYnxukXc5X1Kck=; b=iR9A1t5rLZf4R7b0FYAIyViz+zajxhq68QxlBi0hcZyBrqC7VG2jQAPjsRtcC0zkad Kz/8V5pB+1IUx0RvfgBKgG34Nf1bYLDDReTjfE5hx9/NA++5Koqk1Air+GRsEoPUc7JO 9+fzN0TgdvA04wegjXScUJs6dguCp9mXfEYPguBTQbVXz4a8DG+a7WPJQeC8B6iqAQCJ aMenHEeJJVpOkABsE+vXY6XpJI+eipFM/dmYWTtLADAwnRmiDSrboXRhwLpAsKdAIXuD +exfxmpf+T0LipscxEf9jikVTdjmiMhIb6KUf09rGlNC73AL7K2aBVi8l4aG6soDpE+q z7nA== X-Gm-Message-State: AG10YORbfi4nQPyyKPLtwtNR5OzpVGiFR+vCz4gvsUYGf/cNgnmLetsbztiJZH26cEobpg== X-Received: by 10.66.62.195 with SMTP id a3mr46281459pas.8.1454970745592; Mon, 08 Feb 2016 14:32:25 -0800 (PST) Received: from [192.168.0.11] (c-76-104-183-96.hsd1.wa.comcast.net. [76.104.183.96]) by smtp.gmail.com with ESMTPSA id r5sm45748146pap.7.2016.02.08.14.32.23 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Feb 2016 14:32:24 -0800 (PST) From: Paul Beard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: fsck is failing to clean a filesystem Message-Id: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> Date: Mon, 8 Feb 2016 14:32:22 -0800 To: FreeBSD-questions Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 22:32:26 -0000 I have a FreeBSD 10 instance in a virtualbox that I just tried to reboot = after a move and it is balking on loading /usr. Says no space in = lost+found. I can mount it read only and it looks fine but mount -f = fails. fsck -fy just keeps returning the same message. The system was = shutdown cleanly, I think, so not sure what=E2=80=99s amiss here. Can I = salvage this or should I try to copy/image what I can and remake it?=20 From owner-freebsd-questions@freebsd.org Mon Feb 8 22:36:32 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23D61AA1EB8 for ; Mon, 8 Feb 2016 22:36:32 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 05DF3692 for ; Mon, 8 Feb 2016 22:36:32 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id F209CAA1EB7; Mon, 8 Feb 2016 22:36:31 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7CC9AA1EB6 for ; Mon, 8 Feb 2016 22:36:31 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 7326268D for ; Mon, 8 Feb 2016 22:36:31 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id c200so36773926wme.0 for ; Mon, 08 Feb 2016 14:36:31 -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=Zqf4S0NnlY86Vk9bAQU/McXx+4kEBh0/aqW893V+GiI=; b=fBATr0Z1Vlp99O9FDK/3jtSukVQdFm3+baSH9enwWRBBuhGBaRnMS3aemVmqkW3sev SSdYr2Cgx3iiUEfjJZYDN/m6ihZbwwL4d293kPsRvDwT2dYSMF8HhhoqLDruD4yIXvyU FhEeSM2V9HzrAU8uhK9uzD7Na7M3AvVaxzz0UxITgBmvYCZUSeRXkiU6m5l1bq9z+PC0 hWcUwux5R/jQNrNy1o8PL42Eitl0LNivfkPtCvXmqh3ZwGOmOZn+PaX6XqDVqsKddTFW FC+nshiljAENbT8FRD5PlxyfMwcI/rrW+30XNqYi6PJXtgwrrVsAy1qlf+wN091/SPe+ gg5w== 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=Zqf4S0NnlY86Vk9bAQU/McXx+4kEBh0/aqW893V+GiI=; b=OVOIHaZhXdcHOjVLguwAQASFhG+jfnKDE5l80jvqdiblq+rlhL/9J0GtlcWh+h62EP geqLORYnaCY5Yte+ZXwRoxKmaU9bsujtwWVyJUL7tlGeSFUvZlgfR8OmHxNAj28bYFN5 QI1qQY3LyK6/EJnUURR09AG0Lv1DfwPxr7Y3QYgcDbtSD6PMyIjhjNrBU+1XkaiqeebL V09+ftcQxAOeglltE7YYwu0tHfaj7yS9ZrEf3Tp9U45n9aGM4tzSJCs7B98bde/1HaG1 hOs/+6BHgqEey8ZhNgjpmD9PqhdoVZBtc8eH3x3UVaputWnOUxVXY+25ztSdwj2dM6EB FxBQ== X-Gm-Message-State: AG10YOTnfiICip+Mka7nYVi35Ns250p7lY72hb/zDDsoKY4mlGMkDxKzh2VZ8HIStuJ7MBLs088WFTodi1QL7Q== MIME-Version: 1.0 X-Received: by 10.28.158.8 with SMTP id h8mr1175522wme.6.1454970990025; Mon, 08 Feb 2016 14:36:30 -0800 (PST) Received: by 10.194.246.73 with HTTP; Mon, 8 Feb 2016 14:36:29 -0800 (PST) Received: by 10.194.246.73 with HTTP; Mon, 8 Feb 2016 14:36:29 -0800 (PST) In-Reply-To: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> Date: Tue, 9 Feb 2016 00:36:29 +0200 Message-ID: Subject: Re: fsck is failing to clean a filesystem From: Anton Sayetsky To: Paul Beard Cc: FreeBSD-questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 22:36:32 -0000 9 =D1=84=D0=B5=D0=B2=D1=80. 2016 =D0=B3. 0:32 =D0=BF=D0=BE=D0=BB=D1=8C=D0= =B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Paul Beard" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > I have a FreeBSD 10 instance in a virtualbox that I just tried to reboot after a move and it is balking on loading /usr. Says no space in lost+found. I can mount it read only and it looks fine but mount -f fails. fsck -fy just keeps returning the same message. The system was shutdown cleanly, I think, so not sure what=E2=80=99s amiss here. Can I salvage this= or should I try to copy/image what I can and remake it? Do you have free space on partition? From owner-freebsd-questions@freebsd.org Mon Feb 8 22:40:48 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57675AA215E for ; Mon, 8 Feb 2016 22:40:48 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 36DDF9F4 for ; Mon, 8 Feb 2016 22:40:48 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3304EAA215D; Mon, 8 Feb 2016 22:40:48 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A592AA215C for ; Mon, 8 Feb 2016 22:40:48 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::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 DF6CA9F0 for ; Mon, 8 Feb 2016 22:40:47 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-pf0-x232.google.com with SMTP id c10so49819553pfc.2 for ; Mon, 08 Feb 2016 14:40:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=f3XbXwwgTyHkj2EzONlL2sxdkAD+pBzWmZXGgBzKrvo=; b=lYPt2BfbY1d806d3M26B+tdKmpKmP4Rlltz8mGddiQUzO1+T3wY+3iSUrXXKDN/DY1 N/KuHO6u3DnO+wfuqbbvM3A0KlS6t6oOLVCgQEujFZ2xGKjqDbsubMo8weCJKAnLVkG9 +sgmfCHQqTAorOTC6EirHKVWftO2dC224yJgiI6U5gjfd164FyG52rSwVs4L+vAHvGcJ JZeuB3XuGqa521KnEeS1Pgod2h1ttnX7gRvS/jE51/BntOB4RScOiKaguAv9ApDXkv7c Z0KxaU/dnpZ/3l9eQprqyi+qLFcbIUh2KZbcn4z/eUwPsgThZTSvDWKXWjYYqoRHY3PW XvlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=f3XbXwwgTyHkj2EzONlL2sxdkAD+pBzWmZXGgBzKrvo=; b=kgYes3LTUqBthFvSJciCiA3AbC/7UIQhw9U38CHH+2shLdyj+sI9OtCvQE7nW9pLG5 tO4lpovsbxuRsTRxUGclKvsdqbluMwBrOO8oGZPa+sAktkB2k4TZp7M/DLXy3qdAm29a jds4OE1mErgIgsrBGolhetxYMMqUiVn39kIrTa7pO0mFkWyav6vVifmChKjAPuaAUDg/ ctnBWhtq7Jcxduk6ENbqbhb1bAxyWZR/sKJDeY0moKOkkj5Bsju3mP6jwlCrWkIzlSKx Ys0NnnqBQN3V48G9qN3APkmF19Ep+/HxA2lQmuUCAUrOlle9qviY53r9KdtMl/NNKoZU zIVA== X-Gm-Message-State: AG10YOSBwAmvDR3Yac9agUogrLW6ytybe/6ObNzBcfL1cPMnxU05wiMbPI2XwYq9U4gQ+A== X-Received: by 10.98.89.139 with SMTP id k11mr45798899pfj.56.1454971247573; Mon, 08 Feb 2016 14:40:47 -0800 (PST) Received: from [192.168.0.11] (c-76-104-183-96.hsd1.wa.comcast.net. [76.104.183.96]) by smtp.gmail.com with ESMTPSA id m86sm45684477pfi.27.2016.02.08.14.40.45 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Feb 2016 14:40:46 -0800 (PST) Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: fsck is failing to clean a filesystem From: Paul Beard In-Reply-To: Date: Mon, 8 Feb 2016 14:40:44 -0800 Cc: FreeBSD-questions Message-Id: <3B2DBEF8-9749-4C1B-8696-8348E85981F5@gmail.com> References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> To: Anton Sayetsky X-Mailer: Apple Mail (2.3112) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 22:40:48 -0000 > On Feb 8, 2016, at 2:36 PM, Anton Sayetsky = wrote: >=20 > Do you have free space on partition? I do. Sorry, it=E2=80=99s hard to copy text from VBox but yes there is = free space.=20 53G, 42G used.=20= From owner-freebsd-questions@freebsd.org Mon Feb 8 22:43:00 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9E18AA2386 for ; Mon, 8 Feb 2016 22:43:00 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D26B8D01 for ; Mon, 8 Feb 2016 22:43:00 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: by mailman.ysv.freebsd.org (Postfix) id D0BE6AA2385; Mon, 8 Feb 2016 22:43:00 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0560AA2384 for ; Mon, 8 Feb 2016 22:43:00 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) 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 B6EF8D00 for ; Mon, 8 Feb 2016 22:42:57 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) 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=VjZ0+dH14LrWQZyDmdQIf8ZpuVW7jJC6ncIZi83PtEQ=; b=cCiwRX18YbiECXI4i1rNxHF7sT I9EJPT00y8NZ+PZyFyTAKwXsAiOpXHVB8S+35Fz1wrW2BZ7HN1FjOFBbrtjkWyFduWHpdO9hZBg13 CEs+zwbl8XNvvV/QntH9QjjLpaCvuJb/BLODVUlDl/xVb2b040/E89A5tcmlXMo/WiwI=; Received: from [114.121.160.56] (port=25659 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1aSuWB-001XG8-1a; Mon, 08 Feb 2016 15:42:51 -0700 Date: Tue, 9 Feb 2016 06:42:45 +0800 From: Erich Dollansky To: Paul Beard Cc: FreeBSD-questions Subject: Re: fsck is failing to clean a filesystem Message-ID: <20160209064245.3d7b0926@X220.alogt.com> In-Reply-To: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 22:43:01 -0000 Hi, On Mon, 8 Feb 2016 14:32:22 -0800 Paul Beard wrote: > I have a FreeBSD 10 instance in a virtualbox that I just tried to > reboot after a move and it is balking on loading /usr. Says no space > in lost+found. I can mount it read only and it looks fine but mount > -f fails. fsck -fy just keeps returning the same message. The system > was shutdown cleanly, I think, so not sure what=E2=80=99s amiss here. Can= I > salvage this or should I try to copy/image what I can and remake it?=20 did you try to run fsck without the -f option? Erich From owner-freebsd-questions@freebsd.org Mon Feb 8 22:45:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A74BEAA2502 for ; Mon, 8 Feb 2016 22:45:53 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 895D2E1E for ; Mon, 8 Feb 2016 22:45:53 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 85BA7AA2501; Mon, 8 Feb 2016 22:45:53 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 854FBAA2500 for ; Mon, 8 Feb 2016 22:45:53 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002: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 46A27E1D for ; Mon, 8 Feb 2016 22:45:53 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: by mail-yw0-x230.google.com with SMTP id q190so114141549ywd.3 for ; Mon, 08 Feb 2016 14:45: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:content-transfer-encoding; bh=Oanw+Ub1G9rrfCF//cQXdp3fUUjrtA/+EnqIyVl/Agg=; b=jbr7x3edOg8/zgdZLWFj18MQ4ofHpr+ti4GKtdt+oMi1BtCFeTPwBO76fEowK084ib h4p8h8att1py11DXX7RNjPrDow6PEtEEJT8KyRmdaeGibVLnlVGtT9mCfmX+JDgBhktO mJc3fL7tr7TQJXLn7nf0Dacyb+CK9/uh+JqOMPfpyNnFgxzzJB3qaAld3LyA3kqP9v/t kMMkRI92f1M9OkzIvLWQExzdN2087+f11m7ykgetrxukDQz8Qf1UG1vFzfXva8JlMVMD cRcpON2dhgwvdI9fWRvA1rvg0BPslKL7fI0c5JoThtgTuLxX9rYu2RUZXGv7Z6FfcI3t nqjA== 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 :content-transfer-encoding; bh=Oanw+Ub1G9rrfCF//cQXdp3fUUjrtA/+EnqIyVl/Agg=; b=DMQpXaGD4a9z0xt90oNfSz4x1X7Dhf6IoYHIzmlWkiQb8N+uoxRBVBcyngFCMkZx+j L1VO3AE52buKDvTkGNjw4EjwpnyZLhCB3JTzQ8mQzJIjLQJEwJW3TrVrgJmlN9MI9y2Q gK4Q4aZULoOCfhD8ugnZ5ldtTp2HkLikrvfhUR3WE5cpNLWcf+ONY2n9fM5A8d7H2Qch FEJcwiD/uB1xevUBLuSQSH8bNQKpk9cn+l0AUepVNlntGCkUf91av7ymVpRb9gWIcT7k xYLFEvMVGZ7ZO3jVWzqUOQJnQkyUoOLi1UFvRmVWx2IOqvWaLqmUocr7hFW+NHVcH1O0 LfTg== X-Gm-Message-State: AG10YORmgO/4yjskG7LC7yyh4ov3WL2C7QEHyUxQNkteH9YaGH0DZXasA4OiPwORkL078eV6Vz9dljNLfEYGow== MIME-Version: 1.0 X-Received: by 10.129.125.10 with SMTP id y10mr15369130ywc.331.1454971551864; Mon, 08 Feb 2016 14:45:51 -0800 (PST) Received: by 10.129.74.4 with HTTP; Mon, 8 Feb 2016 14:45:51 -0800 (PST) In-Reply-To: <3B2DBEF8-9749-4C1B-8696-8348E85981F5@gmail.com> References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> <3B2DBEF8-9749-4C1B-8696-8348E85981F5@gmail.com> Date: Mon, 8 Feb 2016 18:15:51 -0430 Message-ID: Subject: Re: fsck is failing to clean a filesystem From: Alberto Mijares To: Paul Beard Cc: Anton Sayetsky , FreeBSD-questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 22:45:53 -0000 On Mon, Feb 8, 2016 at 6:10 PM, Paul Beard wrote: > >> On Feb 8, 2016, at 2:36 PM, Anton Sayetsky wrote: >> >> Do you have free space on partition? > > I do. Sorry, it=E2=80=99s hard to copy text from VBox but yes there is fr= ee space. > > 53G, 42G used. What about the Capacity field of df(1)? Remember, UFS2 reserves 8% for root= . Regards, Alberto Mijares From owner-freebsd-questions@freebsd.org Mon Feb 8 22:52:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D388BAA2837 for ; Mon, 8 Feb 2016 22:52:04 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B42311349 for ; Mon, 8 Feb 2016 22:52:04 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B019CAA2836; Mon, 8 Feb 2016 22:52:04 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFAD5AA2835 for ; Mon, 8 Feb 2016 22:52:04 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pf0-x22c.google.com (mail-pf0-x22c.google.com [IPv6:2607:f8b0:400e:c00::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 831FD1348 for ; Mon, 8 Feb 2016 22:52:04 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-pf0-x22c.google.com with SMTP id c10so49954749pfc.2 for ; Mon, 08 Feb 2016 14:52:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references; bh=LhEFYVCEFpThx5owI2FvQGgbl9MQWpIsS36NbB2zirE=; b=Q3gFANONfgxDehwAh9dHsuM9/CFvin1imldoYva7+LCnM59phqiXfdsNZvid9fb0e7 TN6nj5KhrxBgiyqpRk6KM3/fN4OQyHqg38bzUFWYlHA7zV8cF8RSAiEaOCEpNCdvR84G ViSQtB4UTNeIctOZQD3YIDSUJ8ZYSZk3oplsxt80+OfAJejtK2kvdQCTiVAu3ep97cZn PUEBy+h3LoVM2VIb1sG1mt8qQToe4FfljR+lSgCjeW62j/D0z1tnVQO5MiANYKOJGA38 TQM84/cfSQ+cUhY9bHlPOyLWg/u6tK2vhmQth/+xPUOIB8+sFDI6F/Seq9f5i33W1JaV a15w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references; bh=LhEFYVCEFpThx5owI2FvQGgbl9MQWpIsS36NbB2zirE=; b=Mczpleiw5R0koPUdYvkPkg/wiWd5g0YEajUvaRXqf7MzwnFIpNORXHhVkj7IDZDOwO AUoPIES/kZM9bTCarOrqxHEmoS4vOiGBxLO0/lQsACj4vUW9dLf5lfPv7IIvh7j6Vjbz GlO7bQKMEpgdiswGyaEcWlXhfmOEdYxFh5b/b0ygNAiKUDHRBegi89H577fVJvO5jeYX A22PLbyF3N9EOdgZcVfdyZLAnVIGirajrKMhNAKfwFsx1duX+jwOv9ZpbhC/Y+GO9fli jDqyN9Sib1vxz9z9F/7C9baeha6Uiv2o/dX/Hx7PPKebZFZhJTlTNvO6v3FLWSMbRo/I nWYw== X-Gm-Message-State: AG10YORCg573Jr0wSIE11U0yjgfeyFblo57msGF1F6Uwr3l4duXQE1S77lb17q+3dU5wBQ== X-Received: by 10.98.80.206 with SMTP id g75mr22367740pfj.127.1454971923960; Mon, 08 Feb 2016 14:52:03 -0800 (PST) Received: from [192.168.0.11] (c-76-104-183-96.hsd1.wa.comcast.net. [76.104.183.96]) by smtp.gmail.com with ESMTPSA id x12sm21949181pfi.88.2016.02.08.14.52.02 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Feb 2016 14:52:02 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: fsck is failing to clean a filesystem From: Paul Beard In-Reply-To: <20160209064245.3d7b0926@X220.alogt.com> Date: Mon, 8 Feb 2016 14:52:02 -0800 Cc: FreeBSD-questions Content-Transfer-Encoding: quoted-printable Message-Id: <60D0E4A7-0B1E-4850-8782-3BBC7D4DAAE4@gmail.com> References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> <20160209064245.3d7b0926@X220.alogt.com> X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 22:52:05 -0000 > On Feb 8, 2016, at 2:42 PM, Erich Dollansky = wrote: >=20 > did you try to run fsck without the -f option? I did.=20 > On Feb 8, 2016, at 2:45 PM, Alberto Mijares = wrote: >=20 > What about the Capacity field of df(1)? Remember, UFS2 reserves 8% for = root. I am at 85% used.=20= From owner-freebsd-questions@freebsd.org Mon Feb 8 23:25:45 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7CAFAA0A7F for ; Mon, 8 Feb 2016 23:25:44 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C786FAA5 for ; Mon, 8 Feb 2016 23:25:44 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id C6B23AA0A7D; Mon, 8 Feb 2016 23:25:44 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD375AA0A7C for ; Mon, 8 Feb 2016 23:25:44 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e: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 7F323AA4 for ; Mon, 8 Feb 2016 23:25:44 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-pa0-x22e.google.com with SMTP id uo6so82319620pac.1 for ; Mon, 08 Feb 2016 15:25:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references; bh=FhxfVHImXtu1bm+etcSPHWhCdxvfa6PP7+iqSG/6Ask=; b=sVrvE6fsx20vRmGZ7zT6IxK4cXpGa8yijoc7vcBILPcmhWiHd/VigcIkKVdrV91igv iaBX7viQSyUZM0M74exBekLT+L0wn+erxg1keg3hxb1Y8FHVTJRGRTe8u6L5WVXQZQmT gYamo751MlVvamwJWeV/eklf44aCA/MGGs7lKTQ5EXPDCDAMURysqpDpIWGQztsOiglX 8kjFnlznivD9vLj9IHxmB1TUb8ZKQH2xa5Z6+EP8lbKlBdugvjBXWkN4JKDDgthW/3Cb Oss2B/8cQERMatwP1UP0lEt7OPdq+4/7XRFmpkGLnR6zQDJTVGibrk3SdSjWI5uWEXqk 6m0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references; bh=FhxfVHImXtu1bm+etcSPHWhCdxvfa6PP7+iqSG/6Ask=; b=Ag8Sy8uxXkQZRoxJhdTARDpsZ/F3daWVmq17MWk7QitCchlSD/gY9W/TEQD7GEvP5x 7DoZ0Ua51H3Jvk20Md43WdxHUhKroGWsjetyMba8+siQxWbm0MOketztCLHF/fuD8UWv ft/pmHVb2BaNapO2LuCGG+8B/SKLhQ0QUXHgChrzJ40hmC1dJPGGfdxhN1pOGhruifDX HzjK6w5BBnbUkn2+HbrbcAuo8jjf2yZ1cga76tyuBAbiBYbwFTidM35N0zsxmPuPQfwe b6TjmCo8mlk0sLZNs5iKBmxC5lTIzgpmBNSkYDRfVMEPEG+Ojilkza0Cs3NZoHpsLYpB /4QA== X-Gm-Message-State: AG10YOQEA0CMLMYnJeI82lupGHaWvyqWRdFtGnsHe5R1IWXn4/HbEnimtuybY//raGJtlw== X-Received: by 10.66.100.163 with SMTP id ez3mr46169401pab.5.1454973944104; Mon, 08 Feb 2016 15:25:44 -0800 (PST) Received: from [192.168.0.11] (c-76-104-183-96.hsd1.wa.comcast.net. [76.104.183.96]) by smtp.gmail.com with ESMTPSA id by2sm45902319pab.6.2016.02.08.15.25.42 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Feb 2016 15:25:42 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: fsck is failing to clean a filesystem From: Paul Beard In-Reply-To: Date: Mon, 8 Feb 2016 15:25:41 -0800 Cc: FreeBSD-questions Content-Transfer-Encoding: quoted-printable Message-Id: <15664107-4DD3-4717-9E3E-128507A3434B@gmail.com> References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 23:25:45 -0000 > On Feb 8, 2016, at 2:36 PM, Anton Sayetsky = wrote: >=20 > Do you have free space on partition? Yes. After mounting readonly and starting networking, I can get better = information.=20 Filesystem Size Used Avail Capacity Mounted on /dev/gpt/gprootfs 1.9G 847M 974M 47% / devfs 1.0K 1.0K 0B 100% /dev /dev/gpt/gptmpfs 248M 52K 228M 0% /tmp /dev/gpt/gpvarfs 4.8G 4.5G 338K 100% /var fdescfs 1.0K 1.0K 0B 100% /dev/fd /dev/gpt/gpusrfs 53G 42G 7.1G 85% /usr Not sure what to make of "BAD TYPE VALUE FOR '..=E2=80=99 =E2=80=9C=20 [root@ ~]# fsck -fy /usr ** /dev/gpt/gpusrfs ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames BAD TYPE VALUE FOR '..' I=3D5628928 OWNER=3Dwww MODE=3D40775 SIZE=3D512 MTIME=3DJan 2 20:15 2016=20 DIR=3D? FIX? yes BAD TYPE VALUE I=3D5605455 OWNER=3Dwww MODE=3D100644 SIZE=3D64694 MTIME=3DJan 9 16:02 2016=20 FILE=3D? FIX? yes ** Phase 3 - Check Connectivity UNREF DIR I=3D5628928 OWNER=3Dwww MODE=3D40775 SIZE=3D512 MTIME=3DJan 2 20:15 2016=20 RECONNECT? yes SORRY. NO SPACE IN lost+found DIRECTORY UNREF DIR I=3D2520064 OWNER=3Dwww MODE=3D40755 SIZE=3D512 MTIME=3DMar 4 21:20 2015=20 RECONNECT? yes SORRY. NO SPACE IN lost+found DIRECTORY ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 876428 files, 21855071 used, 5942870 free (79838 frags, 732879 blocks, = 0.3% fragmentation) ***** FILE SYSTEM STILL DIRTY ***** ***** FILE SYSTEM WAS MODIFIED ***** ***** PLEASE RERUN FSCK *****= From owner-freebsd-questions@freebsd.org Mon Feb 8 23:44:03 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FEAEAA13A2 for ; Mon, 8 Feb 2016 23:44:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7495B1643 for ; Mon, 8 Feb 2016 23:44:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id 7209DAA13A1; Mon, 8 Feb 2016 23:44:03 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57DC5AA13A0 for ; Mon, 8 Feb 2016 23:44:03 +0000 (UTC) (envelope-from freebsd@edvax.de) 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 206771642 for ; Mon, 8 Feb 2016 23:44:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-44-23.dynamic.qsc.de [92.195.44.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 756EE276F4; Tue, 9 Feb 2016 00:37:15 +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 u18NbFdI002784; Tue, 9 Feb 2016 00:37:15 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 9 Feb 2016 00:37:15 +0100 From: Polytropon To: Paul Beard Cc: FreeBSD-questions Subject: Re: fsck is failing to clean a filesystem Message-Id: <20160209003715.86885013.freebsd@edvax.de> In-Reply-To: <15664107-4DD3-4717-9E3E-128507A3434B@gmail.com> References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> <15664107-4DD3-4717-9E3E-128507A3434B@gmail.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=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 23:44:03 -0000 On Mon, 8 Feb 2016 15:25:41 -0800, Paul Beard wrote: > > > On Feb 8, 2016, at 2:36 PM, Anton Sayetsky wrote: > > > > Do you have free space on partition? > > Yes. After mounting readonly and starting networking, I can get better information. > > Filesystem Size Used Avail Capacity Mounted on > /dev/gpt/gprootfs 1.9G 847M 974M 47% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/gpt/gptmpfs 248M 52K 228M 0% /tmp > /dev/gpt/gpvarfs 4.8G 4.5G 338K 100% /var > fdescfs 1.0K 1.0K 0B 100% /dev/fd > /dev/gpt/gpusrfs 53G 42G 7.1G 85% /usr > > Not sure what to make of "BAD TYPE VALUE FOR '..’ “ This indicates that the inode entry for "..", the parent directory, does not have a valid node type (file, directory, special, link, etc.). So fsck doesn't know how to "re-instantiate" this particular ".." entry, as it seems. Your /usr partition has 7 GB free space. > [root@ ~]# fsck -fy /usr > ** /dev/gpt/gpusrfs > ** Last Mounted on /usr > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > BAD TYPE VALUE FOR '..' I=5628928 OWNER=www MODE=40775 > SIZE=512 MTIME=Jan 2 20:15 2016 > DIR=? > > FIX? yes > > BAD TYPE VALUE I=5605455 OWNER=www MODE=100644 > SIZE=64694 MTIME=Jan 9 16:02 2016 > FILE=? > > FIX? yes > > ** Phase 3 - Check Connectivity > UNREF DIR I=5628928 OWNER=www MODE=40775 > SIZE=512 MTIME=Jan 2 20:15 2016 > RECONNECT? yes > > SORRY. NO SPACE IN lost+found DIRECTORY > > UNREF DIR I=2520064 OWNER=www MODE=40755 > SIZE=512 MTIME=Mar 4 21:20 2015 > RECONNECT? yes > > SORRY. NO SPACE IN lost+found DIRECTORY > > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > 876428 files, 21855071 used, 5942870 free (79838 frags, 732879 blocks, 0.3% fragmentation) > > ***** FILE SYSTEM STILL DIRTY ***** > > ***** FILE SYSTEM WAS MODIFIED ***** > > ***** PLEASE RERUN FSCK ***** It looks like fsck needs more free space for entries to create in the lost+found/ subdirectory. However, the fsck output indicates a quite heavy file system inconsistency problem. In worst case, mount -o ro, copy all files, re-initialize the filesystem with newfs, and then copy the files back. Use tar or rsync or cpio to make sure all the file attributes are properly transferred. This should be possible in case you cannot resolve the filesystem problem. And check if /usr/lost+found does already contain something. Just in case. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Feb 8 23:46:14 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A9A4AA14E3 for ; Mon, 8 Feb 2016 23:46:14 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 195E4186C for ; Mon, 8 Feb 2016 23:46:14 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 16EFCAA14E2; Mon, 8 Feb 2016 23:46:14 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0D80AA14E1 for ; Mon, 8 Feb 2016 23:46:13 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pf0-x22c.google.com (mail-pf0-x22c.google.com [IPv6:2607:f8b0:400e:c00::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 C256F186B for ; Mon, 8 Feb 2016 23:46:13 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-pf0-x22c.google.com with SMTP id e127so21964574pfe.3 for ; Mon, 08 Feb 2016 15:46:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references; bh=eodboNEn4lcMcR8ZtOazsf3gWcS7btuWDGtE3pwO/JY=; b=WciC43trF9wxIJTx4G8raAhPKQ0fzh7QUynQ7cAk2nkJLU6xzsAzF5oAtq1CF3H48/ eav0n3SytaDryCQPuTlV1cDFV2d6GwTI2Z8YhFoMJS24O831+75dNLk+FjtOwfdE1neD Nt7Ica9VWhPL7n83GEicxdf5dCexvfJs61VtlnsZU8/Bq+bnBS2rpFIK/ayjyLPjzyvM AIcxEtRspo+HgS2bwIBFjir2VvyYrLJ0AL8BmM4s9BoEsSOCb8IGdXou1U6aPR6JC3o9 zD+WsqQm+YbJtjOElUgcJUM/nkcXggvhA+oiRAxOyFO1EtigMtV2d0+9fviFQakNJ6VQ LC2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references; bh=eodboNEn4lcMcR8ZtOazsf3gWcS7btuWDGtE3pwO/JY=; b=Aw0ACZWETVGlMk5lik0pt945GXzNU/447EkQ8CLSfNpIgI+YL7GtomTC2ZC4V4erTg Vq9JAs4tgOjx648oaEzulHJ3BsCQeG/zcQtqFsEaeV92bq81Ys47uZzMCO6tz8f4DC6N /Io2G0UpK1F1zvQs1ZlBlCgfBfWbdLE4AoLsnMdvcJf3/cjPljDaG5zn3MQx25Wn163E +Fu8Y5SlKumrjKXtoyT1D5RG9XP0pVjhRtQa0p2mN6D7VNjDHhuz8cNvtDhmcpDjzl5y zMsamWfhxg8BY0pFwskRxtc/E/5UWt2s3on98uRhU9zT6xzz7bG4ICid7xzKVxubxgkm t99Q== X-Gm-Message-State: AG10YOTE2JMEFvk0zpgpQLrGBM9Vpy2rcESH/nFK4rRAbhbe7t7LRBdhpVd7PiCJpFSgVA== X-Received: by 10.98.71.92 with SMTP id u89mr46262459pfa.122.1454975173471; Mon, 08 Feb 2016 15:46:13 -0800 (PST) Received: from ?IPv6:2001:470:b:839:6430:b21f:cd92:c24c? ([2001:470:b:839:6430:b21f:cd92:c24c]) by smtp.gmail.com with ESMTPSA id 3sm45774775pfb.64.2016.02.08.15.46.11 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Feb 2016 15:46:12 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: fsck is failing to clean a filesystem From: Paul Beard In-Reply-To: <20160209003715.86885013.freebsd@edvax.de> Date: Mon, 8 Feb 2016 15:46:09 -0800 Cc: FreeBSD-questions Content-Transfer-Encoding: quoted-printable Message-Id: <7AC022B6-1922-4377-B1B4-1720F88E4205@gmail.com> References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> <15664107-4DD3-4717-9E3E-128507A3434B@gmail.com> <20160209003715.86885013.freebsd@edvax.de> X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 23:46:14 -0000 > On Feb 8, 2016, at 3:37 PM, Polytropon wrote: >=20 > However, the fsck output indicates a quite heavy file system > inconsistency problem. In worst case, mount -o ro, copy all > files, re-initialize the filesystem with newfs, and then copy > the files back. Use tar or rsync or cpio to make sure all the > file attributes are properly transferred. This should be possible > in case you cannot resolve the filesystem problem. That=E2=80=99s the course I=E2=80=99m, creating a new virtual disk to = copy everything to.=20 > This indicates that the inode entry for "..", the parent directory, > does not have a valid node type (file, directory, special, link, = etc.). > So fsck doesn't know how to "re-instantiate" this particular ".." > entry, as it seems. >=20 I couldn=E2=80=99t make sense of the original message or more = accurately, what the=20 solution might be. Sounds like there isn=E2=80=99t one ;-/= From owner-freebsd-questions@freebsd.org Tue Feb 9 03:02:26 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 172BAAA1B51 for ; Tue, 9 Feb 2016 03:02:26 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EC066BCA for ; Tue, 9 Feb 2016 03:02:25 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id EC25EAA1B50; Tue, 9 Feb 2016 03:02:25 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EBBA2AA1B4F for ; Tue, 9 Feb 2016 03:02:25 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::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 AC188BC9 for ; Tue, 9 Feb 2016 03:02:25 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: by mail-yk0-x229.google.com with SMTP id z7so95313716yka.3 for ; Mon, 08 Feb 2016 19:02:25 -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=ypO0VY5UDuNbCQ29qST4mDGrdm45D5rjAlDLNHKmUR4=; b=da1QKOFT/CvzNwDJZRnMp1UOFlF/VHv7/iTyL2JySi1TTeMJSo9W8qacQFiXkU222V LG9nSh5zF16p7Mvg9KWDGVvl0d9wjcBRrKY9KXdANy0kjguNwnIfM3HIJP1ycisPK0TS Yj3jLlHrnezqy30VhOamlkwx8bbz4JGTrQiyuWBTmZjPF4MaBa4kJwHiw9sZZXcQH/HE WkCkWeB9xvlGtCl6GwfXs4yyDERZkHS00CgHBSrnTubZcG15ZW4gez4zyRNIFmzTwVQ6 GmiHigtxR4RKiRofCCwGyOZKzFozh0q7/L/DAHq95Pq0M3zd+p0YvBqTvyzL5Fa38aNi phWA== 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=ypO0VY5UDuNbCQ29qST4mDGrdm45D5rjAlDLNHKmUR4=; b=hlp4eHkTsQa7ZaWxGW/HsUnHIhXv6Gwl1rGCO4+lbCs7o65q+WrqHsP6VrKqq8lyJj OEIBw3SPxUi+7G2NzPxb4OuDHRumbKcaCOCuuUPHaRCtrztYdZRBBWLBvbhiEgqe+Izt D/fDlsa+wToDfR2MvPxYXmoCR76n++wS9/WnJC0hvQCgu8z7IMexeE7lopd6fnsb4msr o5/81bjmDYC3J6P90OaPaRz+dNvDHZy6hL+fhBfvVIx83NmAp8w2JN/9mgMXzO5lYIET P2A0eRRnO3rxqL+kspcwxBcKXyFSVCn4FWMVCNPjXaMKS1vcbWTIBbJYstuwnm2wEGnq G09w== X-Gm-Message-State: AG10YORc3ZamrqtsDi5q0SsLSHOdVHPuQPRLBdIX3O8H6bLd0trrWCqsS6GQfpKhZ5A8VWVGR7wncyb7AM/9Gw== MIME-Version: 1.0 X-Received: by 10.37.45.86 with SMTP id t83mr11068764ybt.12.1454986944669; Mon, 08 Feb 2016 19:02:24 -0800 (PST) Received: by 10.129.74.4 with HTTP; Mon, 8 Feb 2016 19:02:24 -0800 (PST) In-Reply-To: <20160209003715.86885013.freebsd@edvax.de> References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> <15664107-4DD3-4717-9E3E-128507A3434B@gmail.com> <20160209003715.86885013.freebsd@edvax.de> Date: Mon, 8 Feb 2016 22:32:24 -0430 Message-ID: Subject: Re: fsck is failing to clean a filesystem From: Alberto Mijares To: Polytropon Cc: Paul Beard , FreeBSD-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 03:02:26 -0000 > However, the fsck output indicates a quite heavy file system > inconsistency problem. In worst case, mount -o ro, copy all > files, re-initialize the filesystem with newfs, and then copy > the files back. Use tar or rsync or cpio to make sure all the > file attributes are properly transferred. This should be possible > in case you cannot resolve the filesystem problem. > > And check if /usr/lost+found does already contain something. > Just in case. > I wonder if mounting an external disk on /usr/lost+found can help. Don't know, just guessing ;-) Best regards, Alberto Mijares From owner-freebsd-questions@freebsd.org Tue Feb 9 03:15:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E4F7AA21DE for ; Tue, 9 Feb 2016 03:15:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 88677FC5 for ; Tue, 9 Feb 2016 03:15:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id 88576AA21DD; Tue, 9 Feb 2016 03:15:22 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87F1CAA21DC for ; Tue, 9 Feb 2016 03:15:22 +0000 (UTC) (envelope-from freebsd@edvax.de) 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 4EF5FFC4 for ; Tue, 9 Feb 2016 03:15:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-44-23.dynamic.qsc.de [92.195.44.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 984183CDA0; Tue, 9 Feb 2016 04:15:18 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u193FHA6008605; Tue, 9 Feb 2016 04:15:17 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 9 Feb 2016 04:15:17 +0100 From: Polytropon To: Alberto Mijares Cc: Paul Beard , FreeBSD-questions Subject: Re: fsck is failing to clean a filesystem Message-Id: <20160209041517.93b04659.freebsd@edvax.de> In-Reply-To: References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> <15664107-4DD3-4717-9E3E-128507A3434B@gmail.com> <20160209003715.86885013.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 03:15:22 -0000 On Mon, 8 Feb 2016 22:32:24 -0430, Alberto Mijares wrote: > > However, the fsck output indicates a quite heavy file system > > inconsistency problem. In worst case, mount -o ro, copy all > > files, re-initialize the filesystem with newfs, and then copy > > the files back. Use tar or rsync or cpio to make sure all the > > file attributes are properly transferred. This should be possible > > in case you cannot resolve the filesystem problem. > > > > And check if /usr/lost+found does already contain something. > > Just in case. > > > > I wonder if mounting an external disk on /usr/lost+found can help. > Don't know, just guessing ;-) It _might_ be possible, but the lost+found/ subdirectory should be empty in order to work as a proper mountpoint. On the other hand, fsck does operate on a "lower" filesystem level, so when an external filesystem is mounted, it could stop working as intended. The "lost+found mechanism" usually reconnects files or directories in a manner where an i-node is not connected to a file or directory entry, but also not marked as free. In this case, it will be assigned a new name (usually #1234567890 for the i-node number 1234567890) and established inside lost+found. All the "appended" content, being a file or a directory full of files, will then be available by this new name. The i-node now will be properly marked as in use. Filesystem consistency can be re-established this way. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Feb 9 04:59:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58709AA1F28 for ; Tue, 9 Feb 2016 04:59:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) 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 1DC3B12D6 for ; Tue, 9 Feb 2016 04:59:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aT0O4-0001yF-WD for freebsd-questions@freebsd.org; Tue, 09 Feb 2016 05:58:53 +0100 Received: from ppp234-130.static.internode.on.net ([59.167.234.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 05:58:52 +0100 Received: from newsgroups by ppp234-130.static.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 05:58:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ruben Schade Subject: Re: Migrating ZFS on Linux pools to FreeBSD Date: Tue, 9 Feb 2016 15:58:37 +1100 Lines: 25 Message-ID: References: <56B30C42.1030006@FreeBSD.org> <86lh707dbr.fsf@WorkBox.Home> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp234-130.static.internode.on.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 04:59:08 -0000 Matthew, Brandon, Krad and Anders, Thanks for all your tips, really appreciated. Fortunately, I had the luck without hindsight to set flags for my ZFS pools that were compatible with FreeBSD, confirmed by using the FreeBSD boot media and attaching from a shell. I'm running 10.2-RELEASE now, and my pools work great. On 5/02/2016 2:21 am, krad wrote: > to add a bit more, both kernels use the same zfs core code, as do most > illumos based OS's. So there shouldn't be compatibility issues as others > have said as long as the feature flags supported by the kernel are = or > > the pool versions. Today I learned, thanks :) A real bummer Solaris is in the hands of Oracle now (well, pre-fork). GELI works fine, but native ZFS encryption and the other features since Solaris 11 on *BSD and illumos would be great. -- Cheers, Ruben Schade in s/Singapore/Sydney/ https://rubenerd.com/ From owner-freebsd-questions@freebsd.org Tue Feb 9 05:18:03 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A2CEAA26F9; Tue, 9 Feb 2016 05:18:03 +0000 (UTC) (envelope-from wam@hiwaay.net) 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 CF6211BEE; Tue, 9 Feb 2016 05:18:02 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-244-25.knology.net [216.186.244.25] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id u195HxEd019732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 8 Feb 2016 23:18:00 -0600 Subject: Re: tor logging References: <56B90930.3000802@hiwaay.net> <20160208224644.f696fce2.freebsd@edvax.de> Cc: FreeBSD ports list !!!! , FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <56B97687.8050703@hiwaay.net> Date: Mon, 8 Feb 2016 23:23:29 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160208224644.f696fce2.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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 05:18:03 -0000 On 02/08/16 15:52, Polytropon wrote: > On Mon, 8 Feb 2016 15:36:58 -0553.75, William A. Mahaffey III wrote: >> My torrc >> files seems to indicate logging to /usr/local/var/log/tor, but no such >> file or directory. > Create this directory subtree and an empty log file. Then check > if it will actually be used for logging - if that is what the > torrc file indicates. Otherwise, set a different logging file, > but make sure it does actually exist. > > Further review seems to indicate use of the built-in syslog system: [root@kabini1, /etc, 11:17:03pm] 477 % grep log /usr/local/etc/tor/torrc ## may provide sensitive information to an attacker who obtains the logs. ## Send all messages of level 'notice' or higher to /usr/local/var/log/tor/notices.log #Log notice file /usr/local/var/log/tor/notices.log ## Send every possible message to /usr/local/var/log/tor/debug.log #Log debug file /usr/local/var/log/tor/debug.log ## Use the system log instead of Tor's logfiles #Log notice syslog [root@kabini1, /etc, 11:17:08pm] 478 % grep log /usr/local/etc/tor/torrc.default ## may provide sensitive information to an attacker who obtains the logs. ## Send all messages of level 'notice' or higher to /usr/local/var/log/tor/notices.log #Log notice file /usr/local/var/log/tor/notices.log ## Send every possible message to /usr/local/var/log/tor/debug.log #Log debug file /usr/local/var/log/tor/debug.log ## Use the system log instead of Tor's logfiles Log notice syslog [root@kabini1, /etc, 11:17:10pm] 479 % lltr /var/log/tor* -rw-r----- 1 _tor _tor 230140 Jan 21 2015 /var/log/tor.4.bz2 -rw-r----- 1 _tor _tor 122109 Feb 23 2015 /var/log/tor.3.bz2 -rw-r----- 1 _tor _tor 126723 Mar 30 2015 /var/log/tor.2.bz2 -rw-r----- 1 _tor _tor 147674 May 28 2015 /var/log/tor.1.bz2 -rw-r----- 1 _tor _tor 166094 Dec 3 00:06 /var/log/tor.0.bz2 [root@kabini1, /etc, 11:17:19pm] 480 % In the past (before last upgrade) tor logged to a file in /var/log, see above. Afterward, ???? There was a directory named /var/log/tor, owned _tor:_tor, but it was empty & I removed it after a week or so & re-created it & restarted tor. It restarts OK & seems to be working OK, just no logging. Has the amount of logging changed from a couple of months ago ? -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Tue Feb 9 05:45:06 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E15A3AA2385; Tue, 9 Feb 2016 05:45:05 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A65BB82C; Tue, 9 Feb 2016 05:45:05 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id e185so110340237vkb.1; Mon, 08 Feb 2016 21:45:05 -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=HTUk4Rv+2C38IZ2a3znDtvHFZRtCcdbZPnfkknGXZB4=; b=ihCIAE9i4LCc8xhhrJ0zQGBSBXAj/rkZb2JqXZVGpUNC3Jet7QZTowdpbnygfWw1xx AkpE2ny1hsz6Cxo1ra1lA44NYxUOg2ew26JDYVhB+MplgvcRO+EyYYUp3uUxLJSS9lOU 1prrfZgUO2XMqPRFfd1vPpZ8FBHTiHtQmsuxc7tST84RJocdt2fzhIi1GiLOHa7li+Ql C7YSeoDmrv83iX1NLx9BPIRWX89qG328zsdazTvhSoLdGNXEJHePGOgaanDd0S11BPcN wgYp/3yDLqK1Ywgq6HsqNymnMDjmql9rjJYcj2BXlEr2nt3Yz6Fw17rRJ0IKbk9/lUxm s58g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=HTUk4Rv+2C38IZ2a3znDtvHFZRtCcdbZPnfkknGXZB4=; b=Fcq4j1K43QuVWuBQI4wU3YcKmYocSqWZsm0scLhK7sEkZ8PXGryyXwYcD99LH7giDu tRa2pNc1vAo7rn8V/6fepLcfHhzEarO2jynCBEJ0+9fQ8FdKRBjRpl3Go3l/wXcz9zvr zWE2H0eXypyJvsX5gXubqo+1Kv2nqUCVfgyiF3Z1EQlDqSmaBvbtxxKmqQM82/7fJB/1 FvHuHFCc27CgcLEXNipg0Ssdjq3T0WhiUPW2dsFJ3xM42nZlp1KiPYqjcdIcifvWLxe5 Ec72YzNM00t3ablSV/UYF0+8rtgTELPdIvgzAk1ImQf6j5jeviMAxyE1B/TLdLiRHSAt wRqA== X-Gm-Message-State: AG10YORWsqZ+zxY+quhK8vTXLgYb5Y/2l1uXUfeCW+YoMq7luikl3uiEmkKT5fQMtZXqi9Tg5MsbwIRRJk9LMQ== MIME-Version: 1.0 X-Received: by 10.31.163.68 with SMTP id m65mr23858453vke.85.1454996704373; Mon, 08 Feb 2016 21:45:04 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.159.32.135 with HTTP; Mon, 8 Feb 2016 21:45:04 -0800 (PST) In-Reply-To: <56B97687.8050703@hiwaay.net> References: <56B90930.3000802@hiwaay.net> <20160208224644.f696fce2.freebsd@edvax.de> <56B97687.8050703@hiwaay.net> Date: Mon, 8 Feb 2016 21:45:04 -0800 X-Google-Sender-Auth: x_sCkQvBv72MoINdJcFy8tvj-Rw Message-ID: Subject: Re: tor logging From: Kevin Oberman To: "William A. Mahaffey III" Cc: "FreeBSD Questions !!!!" , "FreeBSD ports list !!!!" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 05:45:06 -0000 On Mon, Feb 8, 2016 at 9:16 PM, William A. Mahaffey III wrote: > On 02/08/16 15:52, Polytropon wrote: > >> On Mon, 8 Feb 2016 15:36:58 -0553.75, William A. Mahaffey III wrote: >> >>> My torrc >>> files seems to indicate logging to /usr/local/var/log/tor, but no such >>> file or directory. >>> >> Create this directory subtree and an empty log file. Then check >> if it will actually be used for logging - if that is what the >> torrc file indicates. Otherwise, set a different logging file, >> but make sure it does actually exist. >> >> >> > > Further review seems to indicate use of the built-in syslog system: > > [root@kabini1, /etc, 11:17:03pm] 477 % grep log /usr/local/etc/tor/torrc > ## may provide sensitive information to an attacker who obtains the logs. > ## Send all messages of level 'notice' or higher to > /usr/local/var/log/tor/notices.log > #Log notice file /usr/local/var/log/tor/notices.log > ## Send every possible message to /usr/local/var/log/tor/debug.log > #Log debug file /usr/local/var/log/tor/debug.log > ## Use the system log instead of Tor's logfiles > #Log notice syslog > [root@kabini1, /etc, 11:17:08pm] 478 % grep log > /usr/local/etc/tor/torrc.default > ## may provide sensitive information to an attacker who obtains the logs. > ## Send all messages of level 'notice' or higher to > /usr/local/var/log/tor/notices.log > #Log notice file /usr/local/var/log/tor/notices.log > ## Send every possible message to /usr/local/var/log/tor/debug.log > #Log debug file /usr/local/var/log/tor/debug.log > ## Use the system log instead of Tor's logfiles > Log notice syslog > [root@kabini1, /etc, 11:17:10pm] 479 % lltr /var/log/tor* > -rw-r----- 1 _tor _tor 230140 Jan 21 2015 /var/log/tor.4.bz2 > -rw-r----- 1 _tor _tor 122109 Feb 23 2015 /var/log/tor.3.bz2 > -rw-r----- 1 _tor _tor 126723 Mar 30 2015 /var/log/tor.2.bz2 > -rw-r----- 1 _tor _tor 147674 May 28 2015 /var/log/tor.1.bz2 > -rw-r----- 1 _tor _tor 166094 Dec 3 00:06 /var/log/tor.0.bz2 > [root@kabini1, /etc, 11:17:19pm] 480 % > > In the past (before last upgrade) tor logged to a file in /var/log, see > above. Afterward, ???? There was a directory named /var/log/tor, owned > _tor:_tor, but it was empty & I removed it after a week or so & re-created > it & restarted tor. It restarts OK & seems to be working OK, just no > logging. Has the amount of logging changed from a couple of months ago ? > > -- > > William A. Mahaffey III See UPDATING 20160119: AFFECTS: users of security/tor, security/tor-devel -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-questions@freebsd.org Tue Feb 9 10:30:16 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF009AA14C3 for ; Tue, 9 Feb 2016 10:30:16 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (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 8CA8B15A5 for ; Tue, 9 Feb 2016 10:30:16 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 02DADCD88 for ; Tue, 9 Feb 2016 10:30:01 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/02DADCD88; dkim=none; dkim-atps=neutral From: Matthew Seaman Subject: Re: fsck is failing to clean a filesystem To: freebsd-questions@freebsd.org References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> <15664107-4DD3-4717-9E3E-128507A3434B@gmail.com> <20160209003715.86885013.freebsd@edvax.de> Message-ID: <56B9BFA9.3030408@freebsd.org> Date: Tue, 9 Feb 2016 10:30:01 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eK6NPmu40UrQ7PH52H3j64upwuD6XvhnU" X-Virus-Scanned: clamav-milter 0.99 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.2 required=5.0 tests=RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 10:30:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eK6NPmu40UrQ7PH52H3j64upwuD6XvhnU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/09/16 03:02, Alberto Mijares wrote: > I wonder if mounting an external disk on /usr/lost+found can help. > Don't know, just guessing ;-) No, in this case I'm afraid it won't. lost+found is used to create hard links to file data that fsck(8) has found while repairing the filesystem, but that have somehow lost their linkage to the directory structure. Therefore lost+found needs to be part of the same filesystem that is being checked. Cheers, Matthew --eK6NPmu40UrQ7PH52H3j64upwuD6XvhnU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWub+pAAoJEABRPxDgqeTn8sgQAJXDH3QwXHIlVy/WFEt1P4Lv n7De29Jnd+8dI9rBGqaZzh7zVjNOju2f7WU8cnczEi/58SHZb50pP7uRTZe96N63 8K/IJuDuQPeyCFO8QL8VOYia9nP7X/XocqWiXK25srz2w91qNwQEumb/3xMQ5kqq 99qYfxTlv3zNyWZz5hjpL4vGlavH+Fli1Z4+UxjogXKJM3MQ7WAvpuMq0gQCgkb6 p74ofW8kEiVOd6smnpCMUsYjIuQtU4JhcFqNmGe1Spb7zxF2f+tL3KiN+8bB2SSd kC9Ifts/MKr5O4UvJiutZh+XIzKEqok7jruslsuzMMBUvYg3yRXzVT23LJ0gYeDL Z0A9uvBDf5t4WyFAdg2PxTKRnOOj4kKUYYvIQZe+DqBjtfvvjhqd7dccDcC5KMN/ 8F0vRFe7CSdvVshbj1RD+ZfDkZ/vgHm3TolezixlMSjUUErAQ0kHoGe+VMyGvkqr sE4UAMsOQGd5dYJXsk91RA+4pWl/cnbcbPFJj4uaXn5Qr9XPjO2+iAVmG0hqB0Ki stfOdghTQxmF7uwR5FCGGFLXKb6JeTaPccIYiOB2qBrxJgEHZkqCMTJ5KmRo37Vc /sihPLt+KiX43RXmAn869QOMZVjuiDlqM+f+g7ZjxMkJ4Xxu3w3pkmcka0voEavL IbrwIKTLTlVgyf7PPLFd =wlPB -----END PGP SIGNATURE----- --eK6NPmu40UrQ7PH52H3j64upwuD6XvhnU-- From owner-freebsd-questions@freebsd.org Tue Feb 9 11:28:33 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1420AA240C for ; Tue, 9 Feb 2016 11:28:33 +0000 (UTC) (envelope-from export@vascofilters.eu) Received: from karieraserlg.nazwa.pl (aju23.rev.netart.pl [77.55.254.23]) by mx1.freebsd.org (Postfix) with ESMTP id E515FC8D for ; Tue, 9 Feb 2016 11:28:32 +0000 (UTC) (envelope-from export@vascofilters.eu) Received: from pc (unknown [194.33.77.155]) by karieraserlg.nazwa.pl (Postfix) with ESMTPA id 0B5B33CE18C2 for ; Tue, 9 Feb 2016 12:28:31 +0100 (CET) From: "=?iso-8859-2?Q?Marcin_Tomzi=F1ski?=" To: "freebsd-questions" Subject: cooperation Message-ID: <0562CFC1CBEE96C06AEACC334817FFD8@pc> Date: Tue, 9 Feb 2016 12:28:40 +0100 Organization: AnoMail - oprogramowanie do emailingow X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 11:28:33 -0000 =20 Are you looking for a new automotive parts brand to be different from your = competitors?=20 Do you want to be a direct importer?=20 Are you looking for high quality products at fair and individual quotation?= =20 Fed up with late deliveries and low availability from the stock?=20 Do you want to join young and effective organisation?=20 Do you need fast orders handling and flexibility in market approach? We have a great proposal for your business! =20 Our products range consists of more than 1500 references under 4 brands - VASCO FILTERS (oil, fuel air and cabin filters) - FLUXAR FILTERS (red line) - PEXA WIPERS (universal and dedicated sets of wipers) - BREYKO (brake pads)=20 We are expanding our business in your country and looking for direct import= ers.=20 Join our Team! More info on web page: www.vascofilters.com or facebook = =20 If you have any questions do not hesitate to contact us, we speak English, = French and Spanish. Marketing and Operations Manager Olaf Tomzi=F1ski If you do not wish to receive further information. From owner-freebsd-questions@freebsd.org Tue Feb 9 12:19:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1A5AAA27B1 for ; Tue, 9 Feb 2016 12:19:41 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C78B51F08 for ; Tue, 9 Feb 2016 12:19:41 +0000 (UTC) (envelope-from nvass@gmx.com) Received: by mailman.ysv.freebsd.org (Postfix) id C469DAA27B0; Tue, 9 Feb 2016 12:19:41 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4066AA27AF for ; Tue, 9 Feb 2016 12:19:41 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25A8A1F07 for ; Tue, 9 Feb 2016 12:19:40 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([91.140.59.37]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LcEPJ-1ZlqQy01RN-00jZeE; Tue, 09 Feb 2016 13:19:33 +0100 Subject: Re: fsck is failing to clean a filesystem To: Paul Beard References: <201B1734-C8F3-439A-B788-AC177D1280C3@gmail.com> <15664107-4DD3-4717-9E3E-128507A3434B@gmail.com> <20160209003715.86885013.freebsd@edvax.de> <7AC022B6-1922-4377-B1B4-1720F88E4205@gmail.com> Cc: FreeBSD-questions From: Nikos Vassiliadis Message-ID: <56B9D90B.6070305@gmx.com> Date: Tue, 9 Feb 2016 14:18:19 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <7AC022B6-1922-4377-B1B4-1720F88E4205@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:2Haqf1XfCJ+zlEAdhDOmSyEYw7mY6xEnxCvvBtJz6lYHM9gXz+H W7H7kl31NQX2cYCb8W8APXkFtYq1XS/eVVrUP4o0QDV3kqdwfNy2kAgcVgmKvst57zQXTrK ruy9ijalBwr58rK6KWhOka16XdVAsbOYI1VsWSulqw22GAgQjgAhv1Db/OkujV9RH1efQlj 9KkRvbc5TIUOiUSEkstEw== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZHtQmt5rbyI=:c3zgth8SNUBLm1oEDNV3jW ywhjwxM6gRN/OaGlNNUmKQ4zeKwO8TaKlgONbc/9rRb30rjlY9dZCFXNLq066+Hg+X3XfnybE w4Y8/Wza5oQ1IiQ68nBoTPnEtvSK3nImnm+6cmWe+QN0iDH+h4EHqOE3aGSeFeu0Cy2D1SX00 3uxbVeXJJdtr+LU13yZMQwZjdneQUeOXLyjDZha9E1CIKQ8ypmSuWBH7ext3y+ADe2r/cNczo EdTy/nYa8VHLvCdhJzljjAcsO9zvmtX7/JX/wXr4dCtFnwiytEO3nGQyQAACSkcBw6RPQjYuU w3qjUkjWSAHvo6fZKFAGEguDKR6QzqUPPonDTM5B50LnjLdBdItgMCIZRQK+eexzn5kf6Huc5 WiqleCSyQ5fGjKW8XkDghG5YkYF2wL+XfW9fCQVLGKDqHYm5TY4o+MSiK3h+mJDoXW5q2JVmE ndMfH3p6QbUiNZCnnFYcjKUrrQ6ieN+Q/2GIvE2SPRuAkgg1Q2tUhq3+r9vtfvbdoQntEQmeb tud58PNf/iB1TAcUGJnT7rDjTM3+9kJMCPhf58DXLK4ZeA2UDfR6gnO02g8wXZbVrkPXvTY2E cr9HveeLGfY2YA8lyolZujarhuY/DaJ1uRNomDSsXK4bMFkOBcjalxbcI7/5dqXzcWj3XJsSG DjlTQu0kU2XE5umcFk9R7zUaQGIUw1Xl97eSiuzKGiX0F6CJdhSNSylYy+2FyzWagLRzd/MGA oBxtCKpwNRhNvPVx/Ht2xPGZYy8im7enpGrjvfDfzYqQt0wUf6kkCzR24uXwYZKUKNcZx1Ypl Dg4N6pM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 12:19:42 -0000 On 02/09/16 01:46, Paul Beard wrote: > I couldn’t make sense of the original message or more accurately, what the > solution might be. Sounds like there isn’t one ;-/ I'd suggest asking freebsd-fs@ before destroying the problematic fs. HTH, Nikos From owner-freebsd-questions@freebsd.org Tue Feb 9 13:07:30 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8AACAA23CA for ; Tue, 9 Feb 2016 13:07:29 +0000 (UTC) (envelope-from elimelech007@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CD93F1C2E for ; Tue, 9 Feb 2016 13:07:29 +0000 (UTC) (envelope-from elimelech007@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id C9E35AA23C8; Tue, 9 Feb 2016 13:07:29 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9792AA23C7 for ; Tue, 9 Feb 2016 13:07:29 +0000 (UTC) (envelope-from elimelech007@gmail.com) Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 897DA1C2D; Tue, 9 Feb 2016 13:07:29 +0000 (UTC) (envelope-from elimelech007@gmail.com) Received: by mail-qg0-x233.google.com with SMTP id b35so139181468qge.0; Tue, 09 Feb 2016 05:07:29 -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 :content-transfer-encoding; bh=rWzo89xS7JIRXR1drXthSZmsfLMA4EAFYvrKZ60qGYk=; b=HifRDafQNlUQaVYjUKaOTK+wroX4qH+utKOo9MekCWyPAdjf225SMILbWmHbp3fYXc ZLRV+q++DtHDP0uD/Zqfo5N3k+c+tJAQEpaVZSUTLfrPgGXTff8uI0ILyNSPWiOVNM65 rry32pMOEnEgTVkub4sxopzcAoApLD86oRQAs0VPT9t4xD1G4TRzxl7aHQa2NNumw7WH 5pQ20OCN997mE1SjMc24uU4mJt5GVGra/VK+dE6q+Mx5CLuf9zLB9liNPRnbjx7V8Htg M41JDn86f8dyxlU1vebe+mP2V/W2Ggl6Ga5DtZ6iUlUfMOP+DVDcj9S8a8fB0w3uadb7 dywQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=rWzo89xS7JIRXR1drXthSZmsfLMA4EAFYvrKZ60qGYk=; b=gP7VX++unc/XnzjEgo9GphCXSDDkhHmxhoBop4CYQtF62CEq2QUxs48Cewj0G6W2Fw UwtcPM68vD0T/JYPTT90xyDJi0rIaYwANH+MwfGIeHAokBr/rH/HVRlIfP+Ms2R1dO5m eOQx+UcVlJmePYIz1wivCEkGcqyDCQKHOI+J7P4RK4AUr0qzvbuAEt1rnsY7QLTkORZM eQl9P7zkZr4DQ17N0wQ8WS0Jwxvn4MvztN4C9mNDfhACsEovNdq1al4H1GNltww7d3k7 a6L+4FINeDuZPsACZRPTdOr/qwO0X0hloMTvxPafnQLpX9yQiVVPB3FnFaQ9208jvqmc Lwew== X-Gm-Message-State: AG10YOQLItc6EqUkCxadMQ9ucUarMzeZUd/qgo+uLhXP7QiiAqlqwpaFU8+AJDTulfbwkqj4/AX8LymlCE01Cw== MIME-Version: 1.0 X-Received: by 10.140.176.19 with SMTP id w19mr43346643qhw.59.1455023248680; Tue, 09 Feb 2016 05:07:28 -0800 (PST) Received: by 10.140.104.7 with HTTP; Tue, 9 Feb 2016 05:07:26 -0800 (PST) Date: Tue, 9 Feb 2016 15:07:26 +0200 Message-ID: Subject: 10.2-RELEASE to 10.3-BETA1 From: =?UTF-8?B?0JLQu9Cw0LTQuNC80LjRgCDQotC40LzQvtGE0LjQtdCy?= To: re@FreeBSD.org, questions@FreeBSD.org Cc: security-officer@FreeBSD.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 13:07:30 -0000 # uname -a FreeBSD F3ja 10.3-BETA1 FreeBSD 10.3-BETA1 #0 r295289: Fri Feb 5 02:50:53 UTC 2016 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386[/code] dmesg: random device not loaded; using insecure entropy ACPI BIOS Warning (bug): Incorrect checksum in table [TCPA] - 0x00, should be 0x56 (20150515/tbprint-228) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 random: initialized module_register_init: MOD_LOAD (vesa, 0xc0fca5c0, 0) error 19[/code] #dmesg|grep -i random random: initialized random: unblocking device. random device not loaded; using insecure entropy random: initialized random: unblocking device. random device not loaded; using insecure entropy random: initialized random: unblocking device. What does this mean and how to correct the mistake? --=20 =D0=96=D0=B5=D0=BB=D0=B0=D1=8E =D0=B2=D0=B0=D0=BC =D0=BF=D0=BE=D0=B4=D0=B4= =D0=B5=D1=80=D0=B6=D0=BA=D0=B8 =D0=A1=D0=B2=D1=8B=D1=88=D0=B5 =D0=B8 =D1=83= =D1=81=D0=BF=D0=B5=D1=85=D0=B0! =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, - =D0=92=D0=B0=D1=88 =D0=A2=D0=B8=D0=BC=D0=BE=D1=84=D0=B8=D0=B5=D0=B2 =D0=92= =D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 From owner-freebsd-questions@freebsd.org Tue Feb 9 14:33:43 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05CC7AA2AB9 for ; Tue, 9 Feb 2016 14:33:43 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E8D388F0 for ; Tue, 9 Feb 2016 14:33:42 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: by mailman.ysv.freebsd.org (Postfix) id E5276AA2AB8; Tue, 9 Feb 2016 14:33:42 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4B81AA2AB7 for ; Tue, 9 Feb 2016 14:33:42 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mx-p1.obspm.fr (mx-p1.obspm.fr [145.238.193.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.obspm.fr", Issuer "TERENA SSL CA 3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F6578EF for ; Tue, 9 Feb 2016 14:33:42 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) (authenticated bits=0) by mx-p1.obspm.fr (8.14.4/8.14.4/DIO Observatoire de Paris - 15/04/10) with ESMTP id u19EXWiA003090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 9 Feb 2016 15:33:34 +0100 Date: Tue, 9 Feb 2016 15:33:32 +0100 From: Albert Shih To: questions@FreeBSD.org Subject: poudriere options Message-ID: <20160209143332.GB78608@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.24 (2015-08-30) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.9 (mx-p1.obspm.fr [145.238.193.20]); Tue, 09 Feb 2016 15:33:34 +0100 (CET) X-Virus-Scanned: clamav-milter 0.98.7 at mx-p1.obspm.fr X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 14:33:43 -0000 Hi everyone. Some basic question about make.conf and poudriere. I currently use poudriere with different kind of make.conf. But how can I have the standard configuration of make.conf. For example I got a poudriere with DEFAULT_VERSIONS= ruby=2.1 perl5=5.20 python=2.7 php=5.6 pgsql=9.4 apache=2.4 that's fine for some special use. But sometime I would like to use the standard version, meanning when pgsql go to 95 I don't have to make a another poudriere jail. How can I have the standard version of all DEFAULT_VERSIONS, should I change it when /usr/ports/UPDATING change, or I create a poudriere jail with empty DEFAULT_VERSION. Regards -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: mar 9 fév 2016 15:30:07 CET From owner-freebsd-questions@freebsd.org Tue Feb 9 15:05:13 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2551EAA3A57 for ; Tue, 9 Feb 2016 15:05:13 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (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 BB3DE1DA2 for ; Tue, 9 Feb 2016 15:05:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 6B174CFCE for ; Tue, 9 Feb 2016 15:05:04 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/6B174CFCE; dkim=none; dkim-atps=neutral Subject: Re: poudriere options To: freebsd-questions@freebsd.org References: <20160209143332.GB78608@pcjas.obspm.fr> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <56BA0017.5060106@FreeBSD.org> Date: Tue, 9 Feb 2016 15:04:55 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160209143332.GB78608@pcjas.obspm.fr> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ih8tgXNxuoAtNqEPQ14hrm8fvN4bjujiL" X-Virus-Scanned: clamav-milter 0.99 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.2 required=5.0 tests=RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 15:05:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ih8tgXNxuoAtNqEPQ14hrm8fvN4bjujiL Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016/02/09 14:33, Albert Shih wrote: > Hi everyone. >=20 > Some basic question about make.conf and poudriere. >=20 > I currently use poudriere with different kind of make.conf. >=20 > But how can I have the standard configuration of make.conf. For example= > I got a poudriere with >=20 > DEFAULT_VERSIONS=3D ruby=3D2.1 perl5=3D5.20 python=3D2.7 php=3D5.6 pg= sql=3D9.4 apache=3D2.4 >=20 > that's fine for some special use. But sometime I would like to use the > standard version, meanning when pgsql go to 95 I don't have to make a > another poudriere jail. >=20 > How can I have the standard version of all DEFAULT_VERSIONS, should I > change it when /usr/ports/UPDATING change, or I create a poudriere jail= > with empty DEFAULT_VERSION. Hi Albert, With poudriere you have three different knobs to twiddle to generate different pkg sets: - jail (ie. which version of FreeBSD to build packages for) - ports (ie. choose a different version or a possibly locally modified copy of the ports) - package set It's this last one that you want. You can load specific options or make.conf bits for each named set. Suppose you call your package set 'special', then: -- ${POUDRIEREDIR}/special-make.conf will be read in /after/ the default ${POUDRIEREDIR}/make.conf (so, put generic settings in plain make.conf and override things you want different in special-make.conf) -- Port options will be stored in ${POUDRIEREDIR}/special-options/ Poudriere will only refer to this directory for port options when doing a 'special' bulk build. If you want to start off with your usual settings for most ports and then only change a few things, just copy the generic options/ directory one time, and then use poudriere options -z special -c some/port to change just the options for the ports you're interested in. To run a bulk using these special settings, simply add '-z special' to your usual 'poudriere bulk ....' command line. Or you can also have an alternate list of 'special' ports to build. The way I usually use this is to build overlay repos, so eg. I build a standard set of packages with postgresql92-{client,server,contrib} plus I build a smaller set of packages that includes postgresql95-{client,server,contrib} plus any packages that depend directly on one of those postgresql pkgs. You can then overlay the much smaller postgresql95 repo on top of the usual repo containing postgresql92 by having two repo.conf files with appropriate priority: settings. Any postgresql related port should get the postgresql95 variant, anything else unrelated to postgresql will just get the generic version from the main repo. Works pretty well in general. Cheers, Matthew --ih8tgXNxuoAtNqEPQ14hrm8fvN4bjujiL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJWugAeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnVHEQAKZH0PaUbPVsbnVGBKBdhbR0 p6iBGehZ94wfxngjTfwiKAc6weY+rDHn6Grin6LpyVW2wN7AMFqd5tNqJrpXmUQ6 InhIoO705Jh6nUPNJuKbY8B2hFVQL5KRIt/gfO5wxcG3WIkx1qmVIH5fQy7vP/fN t3nQ8tbBuX3CA+bPOuYreJzvCSIuYEMfSyLadM8ozZaOGhfADr9toqlQJ4uGBVjX 7Qi3vdrQZazG6Xw9PHOm9nVPJbi2OUvMP1tQ5V6sVv8XmXt5x5eBwXMDN4DQ2WIR IhzE+srj6dnZmH5T1Sg2X8hMnlgCyIPFp5pTCiLodz/wk6GU2AAEfBxoDSACvJwv oN/u7KnE0d2NULq52EKKDZYdJfJbrEOPSH6TvVCLoqXycwsC5pcXKgTzJC2t30H2 NWoEggGskg+xTHKpm762kxXxtHqA0mKT+EwIX+QNx6ZKRi5yXhDrb7tbGwsu1DL+ 7VjUuXFHE6t+NIVo7VaQqzwejbuxJ/LN3rSBMG0omp9x2nznidV4pLhtFn5AoVfs iHWnEGi8MN+EpOUS5Q5hX8R5CA6WVjfB8h1VHfEeVwMCoi57QJBxGXM316KiDTr/ IlsSMsa3mjSnqCZV4g+izsYn2OkTAmuWUiPZgMlw404A4nxji0YJFXdUgUm1sWux fJU7expZHmUXaJOT+nxH =8e1S -----END PGP SIGNATURE----- --ih8tgXNxuoAtNqEPQ14hrm8fvN4bjujiL-- From owner-freebsd-questions@freebsd.org Tue Feb 9 15:19:38 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC3C7AA20E7 for ; Tue, 9 Feb 2016 15:19:38 +0000 (UTC) (envelope-from aberg010@my.HennepinTech.edu) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6E4816D6 for ; Tue, 9 Feb 2016 15:19:38 +0000 (UTC) (envelope-from aberg010@my.HennepinTech.edu) Received: by mailman.ysv.freebsd.org (Postfix) id 6ABF4AA20E6; Tue, 9 Feb 2016 15:19:38 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50717AA20E5 for ; Tue, 9 Feb 2016 15:19:38 +0000 (UTC) (envelope-from aberg010@my.HennepinTech.edu) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0138.outbound.protection.outlook.com [65.55.169.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E02CD6D5 for ; Tue, 9 Feb 2016 15:19:37 +0000 (UTC) (envelope-from aberg010@my.HennepinTech.edu) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=myhennepintech.onmicrosoft.com; s=selector1-my-hennepintech-edu; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=c7w8awJaLO3kyIOJogVa37txcX/yzdgQ4mVA6MdQ8+E=; b=lxtsJagaELDLCdSCmKu/O9cHauNWXt1MM3E8hQBQ3TVfocgyArkrmd5l0Av/lDAHT3Fprg4QY1YXYpi+0nnH/iCfMBOwvzI5XAue/9yeDxD/m4rUGdwZPLtMzBqpnWwMTjpTDkA2o9A/iXBIOaTyuqQuxzUzeXpICYbX4+rvwko= Authentication-Results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=my.hennepintech.edu; Received: from [IPv6:2601:440:c000:85dd::30] (2601:440:c000:85dd::30) by BLUPR03MB1491.namprd03.prod.outlook.com (10.163.81.21) with Microsoft SMTP Server (TLS) id 15.1.396.15; Tue, 9 Feb 2016 14:48:07 +0000 Subject: Re: poudriere options To: References: <20160209143332.GB78608@pcjas.obspm.fr> From: Andrew Berg Message-ID: <56B9FC20.7070007@my.hennepintech.edu> Date: Tue, 9 Feb 2016 08:48:00 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160209143332.GB78608@pcjas.obspm.fr> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [2601:440:c000:85dd::30] X-ClientProxiedBy: BLUPR19CA0028.namprd19.prod.outlook.com (25.162.230.166) To BLUPR03MB1491.namprd03.prod.outlook.com (25.163.81.21) X-MS-Office365-Filtering-Correlation-Id: adeab263-e252-4b24-7ccf-08d3316005e6 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1491; 2:9I8edi3yQiaS3VHquqQBG28s3kAuZDMVSy6tEbcduSp+pjLCxlecQemBvF8KF4xbKEJ7XmsqEi105DG+JMDv/eyvQdPRmxL3iFjjrR8tEcOgxkh1w23ApUpYJwI1X3SBhXLeSmNVRPLwuCUBRcRneHVtFP1jVxdrZlFG5POBLcKCDvwa+r3Ay3IT0ZBuwBRV; 3:k9gsFXHnO27ijU0YnjLgZBGqwGBLEyMjLkQNZ5CuNXPJA/N1U9Q6mQpQdINIZR9zOAaROA/GScZcVpC0iLQPJ0DwvW0W4OWSshHjPPVBTxFadBCWJmhbM1JO1XXWfplv; 25:kbhS3B3HsPeuTbq1FXVT779sbLZAFFlpgSclz2VO9DaqWZpBkHJunHc8ASTgPIiN+JOcnbN39VbNBYQB5Faksh2HsSeRm6W46LkKCZruOjRR2mcivxtMFqnhZZ7hbhcMq6il35drJ691u9lzvoCXl/fS0c3WJqrFXnWjCTIHGPFwsaw1JH277+tD5KrkPNzh0KKlniUp/xXoCwAifGxl1XeJmy5xjfpSgybAR2Ie57sCThI9a4g92nXKSzhdwzr/ikeb+LOXaNid5sNZXjrMf+lNpmNzBHLwkfdsydvwH0SSxoV9MLDyEXv6AzLt6lO/ X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1491; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1491; 20:zuFJFg3VIv7JvhuZw1PLgE6nzerhIbQsBvgHJorboX5jBmRGcaL2G1DkHKlcRZLgW+JFj878H/zwu5tmqN4WfKD9BUaO6vZE8szMBNFIzsqDo+S9PuGsyx41SW+aJMyg2CVMTNcVxIO4pfxQyo6beT2L8PPtHChrbAqWnnIgquvDGWZcYH1m7SZZbdgdFtWKHRx6wyiSXZAdQUVObPNFQKkoMRWMD/bD2P77gwuAk7RKplnwuMIeIwTM4mW0DFXDnaBKED6oGId+OPQ5RTHNj9pWAJTTqbdcupa/Y+PrtRoXwMy2Vy1F1NnMj3g3NPZdCxednizbV1/UELsaoJsTyw==; 4:hEpD3P227UlH/tl0JDhGckqsK8f68+wO2wMNxP2eLjEmxT0pdRS8BP7bU3WvRULaIlB/N/V83tyLMCo3sSAH+nrEGsPIzCi77R1MAvUzoA4V03WoPsvDxXSBAHCF0Q4cfjWE/j4fBvin42vDFpzK26ayBHyxjkGgum6fdtCTLVutzf9LJqgEecPo+1rhFZGkjw+4ThCKLLJE2omBxcUeS95TzvKeZcFOYkX0Jle8lBVFIB/CEVPMQ/yw3seBbOHKuBJ+k7jijmpwjdC0ZBHjQzW+KHeVzxsrz2HlAVDKhKEDVzKI8rFgSXuga3OfD2gc9QZUUNfgCrP2d19TL6jpVknluTS3E0/GcYyabmu8Jk7ZzwCcrZxz6r3hm28Vzd8N X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:BLUPR03MB1491; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB1491; X-Forefront-PRVS: 08476BC6EF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(24454002)(107886002)(2351001)(450100001)(80316001)(86362001)(83506001)(42186005)(23676002)(189998001)(76176999)(47776003)(221733001)(50466002)(50986999)(5001960100002)(40100003)(75432002)(33656002)(92566002)(6116002)(89122001)(54356999)(122386002)(65816999)(88552002)(2906002)(87976001)(65806001)(110136002)(4001350100001)(3480700003)(2950100001)(5008740100001)(5004730100002)(19580395003)(1096002)(586003)(230700001)(77096005)(64126003)(89472002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB1491; H:[IPv6:2601:440:c000:85dd::30]; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjAzTUIxNDkxOzIzOmhzQ002ZVA2dnh2Mk9BOEk2a0Jjb2RldUZa?= =?utf-8?B?aGwvSzN4NlM0aCt2N0NpQXM2bWttVk9DcnhJSDRJMnlVUTBJQVA4S3ZoYmxq?= =?utf-8?B?VnlkdWdON3FIMFBCbUdyTCtVaUVmNExXVHZzRHhEenQxeHJUUkJud1YzR0gz?= =?utf-8?B?NElWYzFwVDJuWmVTeExMVmlnc3p2dnVqNGx5VDZJQjNPeUJyOGo0OXFSNTBL?= =?utf-8?B?Tm9td0h1TVo4dWp0VkswNnZrVThLYW40blM0TGkrcE5GYWZrS3ZoTnVyWjJV?= =?utf-8?B?WVp5OUZ4LzZKR0ZDM09GWUtFbzlCV1p4RjhqOCtuNkZBYkJyVUxSZ042KzR4?= =?utf-8?B?WlRQSEhEV2ZsQUIyM0Z3RXROdlY4OGtXQmRmRkVuZ09jR3lIZ29zVDd1cTNL?= =?utf-8?B?cnp2MVdiWWcydkhHNGxIK0VzcEd4czRad05YclMvVU5wdXNVRk02VU5aWDkw?= =?utf-8?B?ekcvWjdPUkp2OVdZSDJKUHhacktQMkF0eXhIN1BWTFZUaU5QUXNTVHh6alpD?= =?utf-8?B?ZDN0TllZOTlQbmF4a1V2K0RWaFpOZHB6SisvQi9OSDJrdSt1ZGE3ZFpoeWVL?= =?utf-8?B?MXB3M1hzVDZYOXVyVkNhbFA2MnRONWhkSVpEcVVXOXlEYjlRTjZMMElXcU9J?= =?utf-8?B?a2hsTGFWOEdaWW13QVdYSEVtdmJzcm1Pd252SXFCQ3hwZWx3amJZQVRSbkVK?= =?utf-8?B?WitSQ0NMR0REVXhSSmtuQ2NQcVZwZlZtdVpaQ2lwRUhNN1F4cnREL0tjZGdy?= =?utf-8?B?OG82R0NDQzJGRFFkcXJxMEtIMjdYbTdncndycWZHT2FiNUsrUFJ0emJEZFlM?= =?utf-8?B?RmlscTdsV3R3SjE1dmVGbzJ3RzcyWDJxN2J3Y3JMajJZNzl2Z3Y3T05ndXRq?= =?utf-8?B?Z2QzWVhhcWxRSGlnbW1ZZ2pxS1g5ZGhHSlhTWjAyczE5Mk5TeHZHL294Ty9n?= =?utf-8?B?REcrekhlTmFpYjUwOEFhWHJUbGtyWGM3M3Z5RDFjUi94TEp5Ty90MkE4aVVz?= =?utf-8?B?WUEwVTNYWEtZQkxtRU5qSU1iU3lPVk5GREtvMUNlaGo1WUE3azlRcVAveUp0?= =?utf-8?B?enZlcnl6N1lrclZiYUhNelV1V1M1WTRwWTZLRDFBYkFiN21LUUh3SHovSHM2?= =?utf-8?B?VEdtcWNYTTE2czZBQS8zRnB2T1ZKeXY0aWRHamsrSHlnay9SOGFPMnFHYlRp?= =?utf-8?B?Z3RubGhsUEF2OGxYY0grWG9jcmYyN1VTZzNTQ1NuSklYeXRnTDVGcWE0RmZq?= =?utf-8?B?NG4vbHVZWHU5TWR3cXhqY0p3c2ZyNmd6dXRCa3lVNWl2OEFJQUEvVzE5VFZ1?= =?utf-8?B?R0cxckhCSnpJNm1pSUFTMnRjQ0JDVjkzU0hzcDd5U25JYXVOWm9rRmswSGph?= =?utf-8?B?dloxTDh1V21rbzBoOXZ1MTBtc2tZUEJoWGRqRklTdmNieWczN2ErMzh0WHpW?= =?utf-8?B?cGEzNnZCNW9YcUVETE95c21ocUszYmdKRkhZZmtoK0tKU24yMmZENlRMMXJO?= =?utf-8?Q?LcjvLV0RlRf6OqUPIj6XG8DbaUtucgyJOHGM9NRH3XymSD?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1491; 5:FxdxqunxMtq8+4IgIIWIQ9xbx+i3hQfJD1WQOegJB1FQC+JbwuBUxCiyIfEeDPr+fhHQ7o4pSdaXXaPkFglBvZPZ/7yJae7VfHTkYF1/z7j1W5qptJY1kZDdabdlwX1L8Q07xHodlZ5u4WaRNT2WJg==; 24:UXxjXvh4y8MiTDBRRfCixR92nsiWs1Z4uNbmuiJdUIYC+7Z7jGcNVcnEH/cywDcxtz8ilHE3tNxDJGpJ8wQPVG8jzfPs7xv1BunKVSma8Wo= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2016 14:48:07.3734 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1491 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 15:19:38 -0000 On 2016.02.09 08:33, Albert Shih wrote: > But how can I have the standard configuration of make.conf. For example > I got a poudriere with > > DEFAULT_VERSIONS= ruby=2.1 perl5=5.20 python=2.7 php=5.6 pgsql=9.4 apache=2.4 > > that's fine for some special use. But sometime I would like to use the > standard version, meanning when pgsql go to 95 I don't have to make a > another poudriere jail. > > How can I have the standard version of all DEFAULT_VERSIONS, should I > change it when /usr/ports/UPDATING change, or I create a poudriere jail > with empty DEFAULT_VERSION. Simply take out the pgsql part, and poudriere will use the default default version the next time you do a bulk run. This is the same as in standard ports. Did you think you had to set a version for everything that uses DEFAULT_VERSIONS? From owner-freebsd-questions@freebsd.org Tue Feb 9 15:25:23 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17C13AA244B; Tue, 9 Feb 2016 15:25:23 +0000 (UTC) (envelope-from wam@hiwaay.net) 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 DAED2ACC; Tue, 9 Feb 2016 15:25:22 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-244-25.knology.net [216.186.244.25] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id u19FPK35015339 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 9 Feb 2016 09:25:20 -0600 Subject: Re: tor logging References: <56B90930.3000802@hiwaay.net> <20160208224644.f696fce2.freebsd@edvax.de> <56B97687.8050703@hiwaay.net> Cc: FreeBSD Questions !!!! , FreeBSD ports list !!!! From: "William A. Mahaffey III" Message-ID: <56BA04DF.7020802@hiwaay.net> Date: Tue, 9 Feb 2016 09:30:49 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 15:25:23 -0000 On 02/08/16 23:51, Kevin Oberman wrote: > On Mon, Feb 8, 2016 at 9:16 PM, William A. Mahaffey III > > wrote: > > On 02/08/16 15:52, Polytropon wrote: > > On Mon, 8 Feb 2016 15:36:58 -0553.75, William A. Mahaffey III > wrote: > > My torrc > files seems to indicate logging to /usr/local/var/log/tor, > but no such > file or directory. > > Create this directory subtree and an empty log file. Then check > if it will actually be used for logging - if that is what the > torrc file indicates. Otherwise, set a different logging file, > but make sure it does actually exist. > > > > > Further review seems to indicate use of the built-in syslog system: > > [root@kabini1, /etc, 11:17:03pm] 477 % grep log > /usr/local/etc/tor/torrc > ## may provide sensitive information to an attacker who obtains > the logs. > ## Send all messages of level 'notice' or higher to > /usr/local/var/log/tor/notices.log > #Log notice file /usr/local/var/log/tor/notices.log > ## Send every possible message to /usr/local/var/log/tor/debug.log > #Log debug file /usr/local/var/log/tor/debug.log > ## Use the system log instead of Tor's logfiles > #Log notice syslog > [root@kabini1, /etc, 11:17:08pm] 478 % grep log > /usr/local/etc/tor/torrc.default > ## may provide sensitive information to an attacker who obtains > the logs. > ## Send all messages of level 'notice' or higher to > /usr/local/var/log/tor/notices.log > #Log notice file /usr/local/var/log/tor/notices.log > ## Send every possible message to /usr/local/var/log/tor/debug.log > #Log debug file /usr/local/var/log/tor/debug.log > ## Use the system log instead of Tor's logfiles > Log notice syslog > [root@kabini1, /etc, 11:17:10pm] 479 % lltr /var/log/tor* > -rw-r----- 1 _tor _tor 230140 Jan 21 2015 /var/log/tor.4.bz2 > -rw-r----- 1 _tor _tor 122109 Feb 23 2015 /var/log/tor.3.bz2 > -rw-r----- 1 _tor _tor 126723 Mar 30 2015 /var/log/tor.2.bz2 > -rw-r----- 1 _tor _tor 147674 May 28 2015 /var/log/tor.1.bz2 > -rw-r----- 1 _tor _tor 166094 Dec 3 00:06 /var/log/tor.0.bz2 > [root@kabini1, /etc, 11:17:19pm] 480 % > > In the past (before last upgrade) tor logged to a file in > /var/log, see above. Afterward, ???? There was a directory named > /var/log/tor, owned _tor:_tor, but it was empty & I removed it > after a week or so & re-created it & restarted tor. It restarts OK > & seems to be working OK, just no logging. Has the amount of > logging changed from a couple of months ago ? > > -- > > William A. Mahaffey III > > > See UPDATING 20160119: AFFECTS: users of security/tor, security/tor-devel > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 Thanks, I *always* forget to look @ that file :-/ .... Back up & running & logging :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Tue Feb 9 20:45:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8CB73AA2029 for ; Tue, 9 Feb 2016 20:45:22 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::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 393E412FB for ; Tue, 9 Feb 2016 20:45:22 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id c200so883551wme.0 for ; Tue, 09 Feb 2016 12:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=l8pB6Ds9E1/ft+eQ7r4O2x5Bi/I87cNI7KXfO6DzLrU=; b=F5BChm4Q0v/5inYaN3GnsM8uZ1QDCU0XS8I54/l7Wjegg03JtpFWlt3Bg1CxN8axuZ znesPdk8CHl0s0s3J+3yUZsbj1OZLRmzCWxFoIlPxmsYFfK09GwxGzFXmEzvvbkCDiJP Cuz8L36qY9HY+31iAMsHvFZz1w2BjBusJ3jJbE3hiKfOqibF/f3n5pslrjY/C+dU0zji 1p9tPRGxOZBzgFm/8cNX8BEneNt17QorLt6OtAv1paVfR2vGUtG6y9ndp/lxmoTnRRD+ TzykLH94KNOV3jaEPsfh/V8B38Uk9eUpEpqELUyIW2lSOgdez0lUKsuf8aNBHaGjlBTk 25/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=l8pB6Ds9E1/ft+eQ7r4O2x5Bi/I87cNI7KXfO6DzLrU=; b=XjMLWZNQsC//8fiH20mcWqg4QgQiztPEHHFDw2seJOt+9pRMcGBI12iyKyaWP+jT2C l5c4NETPQAO7RT30DpdzNTAugQcsoA8EZBgKBrrDaJKyyAocoZWU6mLAVeFih+4QS7mm 4ltXhpABOs3+VpF6tlSYuSDIObm21GlEyr1zQm0INmQcvcCe6FKfaB2QmTP4xHZKqKYO wu3FMOz+8KITH2CdahKWyLUbCU7I+2uQ2ivxrja5wQfoC9lpxAbaUgmSqZGWtEAX2r0K G3fBpkwaHKNxtjsaE+bkNLySCTRh2j52u2EFyCvGFEpid/gy/VGxUy84S1SnPOpnMq9e t4Sw== X-Gm-Message-State: AG10YOT+EpJHskZMUZIB4t7ue927qSXXtBSHiAnvLRBFlfy0INv3ilOp+r7PKIYpPGwkFQ== X-Received: by 10.194.133.164 with SMTP id pd4mr41881375wjb.133.1455050720613; Tue, 09 Feb 2016 12:45:20 -0800 (PST) Received: from t510.bsoft-company.ro ([94.185.189.146]) by smtp.googlemail.com with ESMTPSA id g1sm24652728wmc.0.2016.02.09.12.45.19 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Feb 2016 12:45:19 -0800 (PST) To: FreeBSD Questions From: Andrei Brezan Subject: FreeBSD on Lenovo T430s (blank screen in X) Message-ID: <56BA4FE8.3020500@gmail.com> Date: Tue, 9 Feb 2016 21:45:28 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 20:45:22 -0000 Hi, I'm trying FreeBSD 10.2-RELEASE-p9 on a Lenovo T430s with a HD 4000 Intel video adapter. The Nvidia Optimus one is disabled in BIOS. Whenever I try to startx the screen goes blank and the only thing I can do is Ctrl+Alt+Del to restart it. If I try to get back to the console I still have the same black/blank screen. I'm am currently making a buildworld to go to stable. Anyone that has experienced this on this laptop model? Even if I try to do a kldload i915kms I get the same black/blank display. Maybe there is someone there with an idea. Thanks, -- Andrei From owner-freebsd-questions@freebsd.org Tue Feb 9 22:11:07 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3FC02AA2A08 for ; Tue, 9 Feb 2016 22:11:07 +0000 (UTC) (envelope-from sean@siobud.com) Received: from siobud.com (siobud.com [104.236.58.159]) by mx1.freebsd.org (Postfix) with ESMTP id 20C161F2B for ; Tue, 9 Feb 2016 22:11:06 +0000 (UTC) (envelope-from sean@siobud.com) Received: from SeanLaptop (c-73-8-76-141.hsd1.il.comcast.net [73.8.76.141]) by siobud.com (Postfix) with ESMTPSA id B662ED78F0; Tue, 9 Feb 2016 22:04:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=siobud.com; s=mail; t=1455055444; bh=QD3Jy3SOiAAfiW7tPTgb3m6ljYrBdFaA4bVOvbAZp14=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dkuyn6Czigel+qTbnHQbb2RQzPE+VB0ycGk1NmyhKUHwzaqNGhgAWlkG7hZTEXQ4k StsmqPbVDvWIx02L0WUOk6+LpqPC390Gs+F9LGGmutYDoxczAC8Y5XTjQdRJs9Sr3m pULP68/qfUkaatZ90w+E4Lj4bXtsM08J7HuismSM= Date: Tue, 9 Feb 2016 16:04:01 -0600 From: Sean DuBois To: Andrei Brezan Cc: FreeBSD Questions Subject: Re: FreeBSD on Lenovo T430s (blank screen in X) Message-ID: <20160209220401.GA17711@SeanLaptop> References: <56BA4FE8.3020500@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56BA4FE8.3020500@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 22:11:07 -0000 On Tue, Feb 09, 2016 at 09:45:28PM +0100, Andrei Brezan wrote: > Hi, > > I'm trying FreeBSD 10.2-RELEASE-p9 on a Lenovo T430s with a HD 4000 > Intel video adapter. The Nvidia Optimus one is disabled in BIOS. > Whenever I try to startx the screen goes blank and the only thing I can > do is Ctrl+Alt+Del to restart it. If I try to get back to the console I > still have the same black/blank screen. I'm am currently making a > buildworld to go to stable. Anyone that has experienced this on this > laptop model? > > Even if I try to do a kldload i915kms I get the same black/blank display. > > Maybe there is someone there with an idea. > > Thanks, > > -- > Andrei Hi Andrei, In your /boot/loader.conf set kern.vty=vt >From vt(4) From owner-freebsd-questions@freebsd.org Wed Feb 10 03:15:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D91FEAA139F for ; Wed, 10 Feb 2016 03:15:22 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::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 682E219E2 for ; Wed, 10 Feb 2016 03:15:22 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id 128so9503879wmz.1 for ; Tue, 09 Feb 2016 19:15:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type; bh=JeLsm1FdY86sZoLrWtrdWkZSXDQO9KR8GvCedNMCNAc=; b=zawPKLKNcvE4OVaWuM+htXhQ8E2Gy/BQ8GIU8aCkgb9bjcw3BpgYWYxvKfrriQ67rN du48W8LLmhK7CkmZpxYLFFSy2uDKtTLJfGcgIeZCL6ebHrx0zsiZ8oRSyupt1z8Rske/ 1D3V/dGcJIGIPq2a3oQGqBW3O2okA4oIqLU0lfQigVW5hlEW8/CmrapEyJ8gybpczx3H b8o20dPuJnz3HBxrvKYRgLmUy1Qm9M6UnOtrNht5Vpn0JRPO+z7ljCnMVAplSG3o/+2d AuZjk6nO/AO/F6dhiI0vzpiTaItLqhhWq78eavUixmHh57xWGJ1UwReN+rGiZQLb9mwP xTKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type; bh=JeLsm1FdY86sZoLrWtrdWkZSXDQO9KR8GvCedNMCNAc=; b=ko3RMN85jBTsJ9IdQaeswqdOPCNfmHWH17k4HuCfOaGAUD/WwhplYEAcZs1IeIeTIs sPxvpAQDRkcAL5bWX38Fv4cLkV17Ox+zXzkXC2QQLTnXcPfbGGDmnmHrw/IqY4CyZszg iHKjJU3GbqumXLDNF0dSrICQUSdFdjirVegTISa07J2AKcHTZmKmrRSOxfAu+yoodTNY fMztT8RS2jtL2yBvxix3YrZ+8uMm5Hwgx1SPOuKitrPk9Q1GUAxNB8cifMWU/jlPV+sA ZgV2TRaaRTF+qgBYd5a0ezEWuGOVSeKpKy+LPlLyWPLg7AEKMVLMo/VWKSrvDW3MZ5cQ xqSA== X-Gm-Message-State: AG10YOTICMFRPtm1NKTSw30WLNjEwc6v5G3sCSDoLgpMhhVMYw2KxZusW/30UyUyKYLC1Q== X-Received: by 10.194.84.143 with SMTP id z15mr36272254wjy.144.1455074119919; Tue, 09 Feb 2016 19:15:19 -0800 (PST) Received: from [192.168.20.30] (optiplexnetworks.plus.com. [212.159.80.17]) by smtp.googlemail.com with ESMTPSA id ei9sm806802wjd.40.2016.02.09.19.15.18 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Feb 2016 19:15:18 -0800 (PST) To: freebsd-questions From: Kaya Saman Subject: Page Fault - Fatal Trap 12 on FBSD 10.2 Message-ID: <56BAAB45.3050008@gmail.com> Date: Wed, 10 Feb 2016 03:15:17 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 03:15:23 -0000 Hi, I've got a SuperMicro server: CPU: Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz (3700.08-MHz K8-class CPU) Ram: 8GB System Board: SM X9SRE I'm running FreeBSD 10.2: 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 I keep running into this issue which arises after either rebooting or restarting NFSD: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 02 fault virtual address = 0x378 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8092e980 stack pointer = 0x28:0xfffffe0233eb4400 frame pointer = 0x28:0xfffffe0233eb4480 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (irq293: igb5:que 1) trap number = 12 panic: page fault cpuid = 1 KDB: stack backtrace: #0 0xffffffff80984e30 at kdb_backtrace+0x60 #1 0xffffffff809489e6 at vpanic+0x126 #2 0xffffffff809488b3 at panic+0x43 #3 0xffffffff80d4aadb at trap_fatal+0x36b #4 0xffffffff80d4addd at trap_pfault+0x2ed #5 0xffffffff80d4a47a at trap+0x47a #6 0xffffffff80d307f2 at calltrap+0x8 #7 0xffffffff80b4a725 at xprt_active+0x45 #8 0xffffffff80b4e0a5 at svc_vc_soupcall+0x35 #9 0xffffffff809bcc52 at sowakeup+0x82 #10 0xffffffff80aea942 at tcp_do_segment+0x2b22 #11 0xffffffff80ae7720 at tcp_input+0x12b0 #12 0xffffffff80a77f57 at ip_input+0x97 #13 0xffffffff80a177d2 at netisr_dispatch_src+0x62 #14 0xffffffff80a0eb76 at ether_demux+0x126 #15 0xffffffff80a0f81e at ether_nh_input+0x35e #16 0xffffffff80a177d2 at netisr_dispatch_src+0x62 #17 0xffffffff804f715c at igb_rxeof+0x60c Uptime: 7m19s Dumping 1671 out of 8129 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% The closest thing I could come up with is this: https://forums.freebsd.org/threads/fatal-trap-12-page-fault-while-in-kernel-mode-on-new-server-running-freebsd-10-1-release-p10.51737/ According to the link the bug: Bug 194525 was fixed in an earlier version......? Basically since the "Current Process" mentioned was the queue on igb5, I run a lagg0 interface with LACP and currently have 4 NIC's within the aggregation {igb2 through 5} connected to a Cisco switch running EtherChannel. On some occasions it seems that igb5 starts flapping too, according to the system logs; not sure if that's related to the issue or not? I have no idea if this is related in some way but on another older Mini-ITX based NAS system after a while the network will totally go down and the whole system will need to be rebooted?? Nothing fancy on that device, just single NIC hooked up to AccessPort on the switch - also running FBSD 10.2...... Should I post a bug report on this or has anyone got any other ideas? Many thanks. Kaya From owner-freebsd-questions@freebsd.org Wed Feb 10 04:29:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C65A8AA3441 for ; Wed, 10 Feb 2016 04:29:08 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) by mx1.freebsd.org (Postfix) with SMTP id BA441152D for ; Wed, 10 Feb 2016 04:29:08 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com for ; Tue, 9 Feb 2016 20:26:42 -0800 Subject: Fwd: PC-BSD 10.2, starting X, vm_fault: pager read error, pid XXXX (PCDM-session) References: <56BAB26C.70600@holgerdanske.com> To: freebsd-questions@freebsd.org From: David Christensen X-Forwarded-Message-Id: <56BAB26C.70600@holgerdanske.com> Message-ID: <56BABC02.50208@holgerdanske.com> Date: Tue, 9 Feb 2016 20:26:42 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <56BAB26C.70600@holgerdanske.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 04:29:08 -0000 freebsd-questions: I've attempted three posts in as many weeks to the PC-BSD "testing" mailing list to no avail. I've also noted disappearing ISO files on their WWW download server. Any comments or suggestions regarding PC-BSD project infrastructure? Below, please find my latest post. Any suggestions on how to resolve the issue? TIA, David -------- Forwarded Message -------- Subject: PC-BSD 10.2, starting X, vm_fault: pager read error, pid XXXX (PCDM-session) Date: Tue, 9 Feb 2016 19:45:48 -0800 From: David Christensen To: testing@lists.pcbsd.org testing: I'm a PC-BSD noob who has downloaded and installed: PCBSD10.2-RELEASE-08-19-2015-x64-netinstall.iso on a Dell Inspiron E1505 (6400): Motherboard with on-board video (Intel 945 GM) Intel Core 2 Duo T7400 processor 2 @ 1024 MB DDR2-666 - Hynix HYMP512S64CP8-Y5 SAMSUNG_SSD_UM410_Series_2_5__16GB When I boot the machine and allow GRUB to start: PC BSD (10.2-RELEASE-p14-up-20160207_133135)-2016-02-07 13:29 the machine gets trapped in an infinite loop flashing between text mode and a black screen (starting X?), one black screen per "vm_fault: pager read error, pid XXXX (PCDM-session)" line: ... info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. info: [drm] failed to find VBIOS tables drmn0: taking over the fictitious range 0xd0000000-0xe0000000 info: [drm] initialized overlay support info: [drm] Connector LVDS-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.LVDS-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector VGA-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.VGA-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector SVIDEO-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.SVIDEO-1 info: [drm] - kern.vt.fb.default_mode fbd0 on drmn0 VT: Replacing driver "vga" with new "fb". info: [drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0 vm_fault: pager read error, pid 1551 (PCDM-session) vm_fault: pager read error, pid 1579 (PCDM-session) vm_fault: pager read error, pid 1607 (PCDM-session) vm_fault: pager read error, pid 1635 (PCDM-session) vm_fault: pager read error, pid 1662 (PCDM-session) vm_fault: pager read error, pid 1690 (PCDM-session) vm_fault: pager read error, pid 1718 (PCDM-session) ... Pushing the power button causes PC-BSD to go back to text mode and shut down. What is the problem? How do I fix it? TIA, David From owner-freebsd-questions@freebsd.org Wed Feb 10 05:14:35 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BFD8AA179F for ; Wed, 10 Feb 2016 05:14:35 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) 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 240F38DC for ; Wed, 10 Feb 2016 05:14:34 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u1A5EOfT090405; Wed, 10 Feb 2016 16:14:24 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 10 Feb 2016 16:14:24 +1100 (EST) From: Ian Smith To: Paul Beard cc: freebsd-questions@freebsd.org Subject: Re: fsck is failing to clean a filesystem In-Reply-To: Message-ID: <20160210160149.V51785@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 05:14:35 -0000 In freebsd-questions Digest, Vol 610, Issue 2, Message: 12 On Mon, 8 Feb 2016 15:25:41 -0800 Paul Beard wrote: [..] > > On Feb 8, 2016, at 2:36 PM, Anton Sayetsky wrote: > > > > Do you have free space on partition? > > Yes. After mounting readonly and starting networking, I can get better information. > > Filesystem Size Used Avail Capacity Mounted on > /dev/gpt/gprootfs 1.9G 847M 974M 47% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/gpt/gptmpfs 248M 52K 228M 0% /tmp > /dev/gpt/gpvarfs 4.8G 4.5G 338K 100% /var > fdescfs 1.0K 1.0K 0B 100% /dev/fd > /dev/gpt/gpusrfs 53G 42G 7.1G 85% /usr Paul, I've read the thread. I know your problem is with /usr, but I find the fact that /var is full or too nearly so rather concerning, and wonder whether that might have contributed to your problem in some way, and whether freeing up some space there might yet help? Also, does 'du /usr/lost+found' reveal anything? cheers, Ian From owner-freebsd-questions@freebsd.org Wed Feb 10 05:33:27 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B48BFAA2180 for ; Wed, 10 Feb 2016 05:33:27 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003: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 84CF1F6B for ; Wed, 10 Feb 2016 05:33:27 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by mail-ob0-x230.google.com with SMTP id xk3so13164504obc.2 for ; Tue, 09 Feb 2016 21:33:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ara-ler-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=/tz6a6rb7G1s8iDCPU2TU5Zky6vCS5ohPEsIXF0axOA=; b=uvOxDjnaJhukH8yIxIhgnRBu2WESTDOOer7t2PBxysSWNMgQfWyXAyGWbT+DSCmEN9 qtr5e7UDkopIHLGaM+ybzLQYSY+wcZaxiNrfnMx6sDCMNMbt4SKpZlpnuDk2RG5e9DJI oEHiI1+NfqP0i29IdDzqMUUQohYZiEJ3zlYKdjQifa5cIhCW9kF7WRlR49oU3KdmyGK4 y1OwgAJ1iA/Jbg6DLtaORnYXQ9AdBMFke9uYPK/gedQuFM7EXPg++ED1qJg8pfHedHvZ GBM6HqefuvqCnmhL/uIhJJlFEonMkBFVIMjqznG8ENo8wIKuDt7D+AFeRj0na1EvhsX1 a4Mg== 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:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=/tz6a6rb7G1s8iDCPU2TU5Zky6vCS5ohPEsIXF0axOA=; b=JWm+mskl3MkWB/iOnIZxAg6LG2B63X+wlx1CKZmNeTV0lQvwh/PTfkno20RmkFlzbA n6M/bv4sEpCrwTamKDj1cGVzN3JmA3y5skaofGpZAXfV08yWl0+HSvTjQhMe0vBnf3kh Qe+TodsGp99aIyUZaeszhat91NAVBdiPKB2Grx/gpNz9qZl8CbTXQUnedoHZyMGhA7jI pUPoDO+xmGsSvk7GUGQ6IkznpD8VVSNq3Zi6JqxR70mXr3nBxuE6UcZ/jVQpUN1pk1ja iYVRmKxCTz0KV0rxfiTyZT1lhy4B6et3bDMum9+2/a4y8OwUZOHjinsm1+0FnuLUH6Fv 2ULQ== X-Gm-Message-State: AG10YOTVjyBIp6kNf4Z2S2ei7oxRe+YXTkazhUbFAUw47OUQ5sjA8cJd/P1mUKIz//DQHg== X-Received: by 10.182.68.104 with SMTP id v8mr34165752obt.64.1455082406678; Tue, 09 Feb 2016 21:33:26 -0800 (PST) Received: from dendrobates.araler.com (97-122-190-138.hlrn.qwest.net. [97.122.190.138]) by smtp.gmail.com with ESMTPSA id d10sm884556oem.0.2016.02.09.21.33.25 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Feb 2016 21:33:26 -0800 (PST) Date: Tue, 9 Feb 2016 22:33:24 -0700 From: Sergey Manucharian To: FreeBSD Questions Cc: Andrei Brezan Subject: Re: FreeBSD on Lenovo T430s (blank screen in X) Message-ID: <20160210053323.GG1748@dendrobates.araler.com> References: <56BA4FE8.3020500@gmail.com> <20160209220401.GA17711@SeanLaptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160209220401.GA17711@SeanLaptop> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 05:33:27 -0000 Excerpts from Sean DuBois's message from Tue 09-Feb-16 16:04: > On Tue, Feb 09, 2016 at 09:45:28PM +0100, Andrei Brezan wrote: > > > > I'm trying FreeBSD 10.2-RELEASE-p9 on a Lenovo T430s with a HD 4000 > > Intel video adapter. The Nvidia Optimus one is disabled in BIOS. By the way, FreeBSD 11-CURRENT works in my T430 perfectly for 6 months or so. Sergey From owner-freebsd-questions@freebsd.org Wed Feb 10 06:10:18 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1806CAA326B for ; Wed, 10 Feb 2016 06:10:18 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e: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 DFA241B1C for ; Wed, 10 Feb 2016 06:10:17 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-pa0-x232.google.com with SMTP id ho8so6621202pac.2 for ; Tue, 09 Feb 2016 22:10:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=aA3Vnx1W9TZe6iiueu3Upaiv5LExz56qJ5hX5+0uZQU=; b=YSPN0Uy0uBGsz0jmeELUjBbxy12StdXrFVpim/ZNhmzyyQxfq/Lh1yu/vsjG4tdr9b lnbQpMGbsIPzdX6N2/lX64y9xK38ZWA5QGmO5hvi7WihuDyk0zhwCIep5zMO0+VuIOro h1WPse6Sf31C0v0yGfWH/H07V7uGLuoDT89JA8+yr7VCLIf2f6wDWPkFQ6uaWv7ggrc+ G1eXbH3zMR21ArH/MetfztAKR8cOXaumN2TP3IXJIWl+rhAf+/VjrwzRECYW8R3VOSeP ELedDSqT1FYHsGy/J69g6eHzQZCUeCqyiaheu9+Bchy80udEE8CuWwtbLaQFFsybE4hH vjnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=aA3Vnx1W9TZe6iiueu3Upaiv5LExz56qJ5hX5+0uZQU=; b=DDtmow60O8FVRRNvboOZ6wQcHacGrO3l4AAGLU4VrrFbIV0YBqGC1Iv4SFNkTmNUeD RUSCaJgM/jDdGeZK3KnE20N1Wk+/+ffqw2iEs/zWxjbIkCvEFDaNrBO/YAOA0tqQNm/R BDwTrnd3GlAmf7EKv5a4GFn+jsliOxhBUyIahUwW58V9yzY56WQdmCmDpK56Hm7995Ap b50Tf5PZzlkrX8dl3IWTBWAVrjmy/FT9FUNEMyTIJAmIRLhmXcuqzUdowae29dg9PNEz SYfZg9KKdUmIN8xcqrrDAbcWq0nwSxZqPetM7UVjpO1tmDfsX1D1MGFHmz0nPL+SyD5+ kRdA== X-Gm-Message-State: AG10YOSRDE1YXHILS3cStwYzTVj2Xekiq0b94/AfuZwmTeHZ17rZ4fSgaqcxE+GTj2nuEw== X-Received: by 10.66.232.202 with SMTP id tq10mr56066765pac.14.1455084617514; Tue, 09 Feb 2016 22:10:17 -0800 (PST) Received: from [192.168.0.11] (c-76-104-183-96.hsd1.wa.comcast.net. [76.104.183.96]) by smtp.gmail.com with ESMTPSA id n84sm1981080pfa.45.2016.02.09.22.10.15 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Feb 2016 22:10:16 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: fsck is failing to clean a filesystem From: Paul Beard In-Reply-To: <20160210160149.V51785@sola.nimnet.asn.au> Date: Tue, 9 Feb 2016 22:10:14 -0800 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20160210160149.V51785@sola.nimnet.asn.au> To: Ian Smith X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 06:10:18 -0000 > On Feb 9, 2016, at 9:14 PM, Ian Smith wrote: >=20 > I know your problem is with /usr, but I=20 > find the fact that /var is full or too nearly so rather concerning, = and=20 > wonder whether that might have contributed to your problem in some = way,=20 > and whether freeing up some space there might yet help? Yeah, it=E2=80=99s a mess, running a full system in a 64Gb virtual disk = is probably asking for trouble. I think there is some cruft in /var = (databases that are no longer in use) that can be pitched.=20 >=20 > Also, does 'du /usr/lost+found' reveal anything? It was full of stuff /usr/src, best I could make out. Not sure why it = all ended up in there.=20= From owner-freebsd-questions@freebsd.org Wed Feb 10 09:11:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26196AA3A34 for ; Wed, 10 Feb 2016 09:11:08 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) 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 90DF6997 for ; Wed, 10 Feb 2016 09:11:07 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u1A9B3pr098304; Wed, 10 Feb 2016 20:11:03 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 10 Feb 2016 20:11:03 +1100 (EST) From: Ian Smith To: Paul Beard cc: freebsd-questions@freebsd.org Subject: Re: fsck is failing to clean a filesystem In-Reply-To: Message-ID: <20160210195431.V51785@sola.nimnet.asn.au> References: <20160210160149.V51785@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 09:11:08 -0000 On Tue, 9 Feb 2016 22:10:14 -0800, Paul Beard wrote: > > On Feb 9, 2016, at 9:14 PM, Ian Smith wrote: > > > > I know your problem is with /usr, but I > > find the fact that /var is full or too nearly so rather concerning, and > > wonder whether that might have contributed to your problem in some way, > > and whether freeing up some space there might yet help? > > Yeah, itÿÿs a mess, running a full system in a 64Gb virtual disk is > probably asking for trouble. I think there is some cruft in /var > (databases that are no longer in use) that can be pitched. 64GB should be plenty, depending on usage of course. A full /var is a worry, especially if it runs short of room for logging. > > Also, does 'du /usr/lost+found' reveal anything? > > It was full of stuff /usr/src, best I could make out. Not sure why it > all ended up in there. Well at least /usr/src is easily replaced. Might be worth just deleting all that, though of course you need a read-write mount first .. perhaps after booting from a memstick or live CD? You might also check (before and after deleting anything) that /usr isn't running short of inodes (df -hi)? Just stabbing in the dark .. scrambled filesystems are the pits! cheers, Ian From owner-freebsd-questions@freebsd.org Wed Feb 10 09:22:47 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05C3FAA41E4 for ; Wed, 10 Feb 2016 09:22:47 +0000 (UTC) (envelope-from freebsd@edvax.de) 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 C17A612B8 for ; Wed, 10 Feb 2016 09:22:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-44-23.dynamic.qsc.de [92.195.44.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 72E1F27650; Wed, 10 Feb 2016 10:22:37 +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 u1A9MakT005341; Wed, 10 Feb 2016 10:22:37 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 10 Feb 2016 10:22:36 +0100 From: Polytropon To: Ian Smith Cc: Paul Beard , freebsd-questions@freebsd.org Subject: Re: fsck is failing to clean a filesystem Message-Id: <20160210102236.19f9c68c.freebsd@edvax.de> In-Reply-To: <20160210195431.V51785@sola.nimnet.asn.au> References: <20160210160149.V51785@sola.nimnet.asn.au> <20160210195431.V51785@sola.nimnet.asn.au> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 09:22:47 -0000 On Wed, 10 Feb 2016 20:11:03 +1100 (EST), Ian Smith wrote: > On Tue, 9 Feb 2016 22:10:14 -0800, Paul Beard wrote: > > > On Feb 9, 2016, at 9:14 PM, Ian Smith wrote: > > >=20 > > > I know your problem is with /usr, but I=20 > > > find the fact that /var is full or too nearly so rather concerning, = and=20 > > > wonder whether that might have contributed to your problem in some w= ay,=20 > > > and whether freeing up some space there might yet help? > >=20 > > Yeah, it=FF=FFs a mess, running a full system in a 64Gb virtual disk i= s=20 > > probably asking for trouble. I think there is some cruft in /var=20 > > (databases that are no longer in use) that can be pitched. >=20 > 64GB should be plenty, depending on usage of course. A full /var is a=20 > worry, especially if it runs short of room for logging. When fsck is running, it usually happens in a mode where only / is mounted read-only, and all other file systems (such as /usr or /var) are not. So I'd say that fsck doesn't do logging somewhere into /var/log because it doesn't exist at that time. Single user mode is a state of heavily reduced system functionality, but usually sufficient for solving file system problems. > > > Also, does 'du /usr/lost+found' reveal anything? > >=20 > > It was full of stuff /usr/src, best I could make out. Not sure why it= =20 > > all ended up in there. >=20 > Well at least /usr/src is easily replaced. Might be worth just deleting= =20 > all that, though of course you need a read-write mount first .. perhaps > after booting from a memstick or live CD? Which is still risky, assuming that the file system has not been marked clean. > You might also check (before and after deleting anything) that /usr=20 > isn't running short of inodes (df -hi)? Good suggestion. > Just stabbing in the dark .. scrambled filesystems are the pits! And a good occassion to read more about UFS (McKusick et al.) - to develop a better understanding of what's happening. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Feb 10 10:57:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EBC0AA20FF for ; Wed, 10 Feb 2016 10:57:09 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) 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 5C70A1FF4 for ; Wed, 10 Feb 2016 10:57:07 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u1AAumjd002100; Wed, 10 Feb 2016 21:56:49 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 10 Feb 2016 21:56:48 +1100 (EST) From: Ian Smith To: Polytropon cc: Paul Beard , freebsd-questions@freebsd.org Subject: Re: fsck is failing to clean a filesystem In-Reply-To: <20160210102236.19f9c68c.freebsd@edvax.de> Message-ID: <20160210204635.K51785@sola.nimnet.asn.au> References: <20160210160149.V51785@sola.nimnet.asn.au> <20160210195431.V51785@sola.nimnet.asn.au> <20160210102236.19f9c68c.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 10:57:09 -0000 On Wed, 10 Feb 2016 10:22:36 +0100, Polytropon wrote: > On Wed, 10 Feb 2016 20:11:03 +1100 (EST), Ian Smith wrote: > > On Tue, 9 Feb 2016 22:10:14 -0800, Paul Beard wrote: > > > > On Feb 9, 2016, at 9:14 PM, Ian Smith wrote: > > > > > > > > I know your problem is with /usr, but I > > > > find the fact that /var is full or too nearly so rather concerning, and > > > > wonder whether that might have contributed to your problem in some way, > > > > and whether freeing up some space there might yet help? > > > > > > Yeah, itÿÿs a mess, running a full system in a 64Gb virtual disk is > > > probably asking for trouble. I think there is some cruft in /var > > > (databases that are no longer in use) that can be pitched. > > > > 64GB should be plenty, depending on usage of course. A full /var is a > > worry, especially if it runs short of room for logging. I did makethe latter point, at least, from experience :) > When fsck is running, it usually happens in a mode where only / > is mounted read-only, and all other file systems (such as /usr > or /var) are not. So I'd say that fsck doesn't do logging > somewhere into /var/log because it doesn't exist at that time. > Single user mode is a state of heavily reduced system functionality, > but usually sufficient for solving file system problems. It's true that /var/log/* can't be written then, but it's all buffered in dmesg, saved to messages [& console.log] once syslogd starts. From single user you can say, '# dmesg >/root/dmesg.save' or a scratch disk. > > > > Also, does 'du /usr/lost+found' reveal anything? > > > > > > It was full of stuff /usr/src, best I could make out. Not sure why it > > > all ended up in there. > > > > Well at least /usr/src is easily replaced. Might be worth just deleting > > all that, though of course you need a read-write mount first .. perhaps > > after booting from a memstick or live CD? > > Which is still risky, assuming that the file system has not > been marked clean. Absolutely. I'm assuming that at this stage the choice is to newfs /usr and restore backups, unless some magic spell turns up. Once apparently losing or damaging '..' from anywhere, you're pretty much in trouble. Paul, another question: with /usr unmounted, is there anything in /usr ? > > You might also check (before and after deleting anything) that /usr > > isn't running short of inodes (df -hi)? > > Good suggestion. Only what I read; newfs defaults have always been generous for my usage. > > Just stabbing in the dark .. scrambled filesystems are the pits! > > And a good occassion to read more about UFS (McKusick et al.) - to > develop a better understanding of what's happening. :-) Good suggestion :) I envy people who've got the time these days .. cheers, Ian From owner-freebsd-questions@freebsd.org Wed Feb 10 12:58:19 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEFA0AA26F4 for ; Wed, 10 Feb 2016 12:58:19 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::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 AF057CA3 for ; Wed, 10 Feb 2016 12:58:19 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-pf0-x231.google.com with SMTP id x65so11817618pfb.1 for ; Wed, 10 Feb 2016 04:58:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=o9IFCPBCaFJbr6o9aMbdQ1fnG5d1k+wwevCbNIxdSno=; b=EdFlFi4X9Le1V4hfrqenvvCQFAPDlyEorckR1/fvYy73DFhJanbhH2e03kcwGA0SBO DQargFZyRfa/qfkiow0orQmnJ27jv76ghLpZuek9uEI8QK0CB5TZ5r8zQD0DFkPViyIC 2ZxMrZ3fFyj4VPxYoPY8IAG5TRxYexmWCnOYh5l1/cnop8zitrHSgsqbtt2LZ7xo1cYs h0E8+OrUF8GB1kRr0uO1r+MqKPOCtSTQyyXMLaOCSUID6FXRDNzUqFYmzy6xgOMNyfK5 jlXhtkoIfeZT/7Avqp2wg/7y2EagYo+IZXfCxwPPOvdQp9VlSB8zAc/lVTg3UibqHQSY 7A3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=o9IFCPBCaFJbr6o9aMbdQ1fnG5d1k+wwevCbNIxdSno=; b=YhZt7Py/xXbvhX34JolgSmhlNrwHPynK5cuTLNA6pTsTapKeQQxlftdqN6TaHwfhqS 7SO6NdD8xquzFK68EGFt+MzlBdjmnGv0USC4qzXdTHhgcXqvlEg3Df+NgUwQeG4CGgF5 X0PVYOQ57TuEZF62ZRAQxvDJDJ+UOU4ozafSJHeGuOPf2EiSRkpwNb1FstcmSp2hgWBQ HsV2tDbLsM2TmW7QCgD11+WE2sBHjP340GdnnwjI93Ufgzw+F+a/fUpsT3LRUkUybE8u DGqXzX6pUiv/qQHmMlCkNBU1JKO8KDSEOrNSdsZeMWu5gY8Y2iaGUVZZ4W56uYA7C+Oq 86CA== X-Gm-Message-State: AG10YOSr8sbgiogOa9+A6qo9W9iQ+SQpgf+Scr2sSQrjb8pyX5BQTBxVU8oUmPG943PT2g== X-Received: by 10.98.32.5 with SMTP id g5mr58496428pfg.74.1455109099281; Wed, 10 Feb 2016 04:58:19 -0800 (PST) Received: from SergeiMBP.local (c-24-16-122-177.hsd1.wa.comcast.net. [24.16.122.177]) by smtp.googlemail.com with ESMTPSA id yx4sm5211536pac.5.2016.02.10.04.58.18 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Feb 2016 04:58:18 -0800 (PST) To: FreeBSD Questions From: Sergei G Subject: /bin/sh starts with check in script Message-ID: <56BB33E8.4080900@gmail.com> Date: Wed, 10 Feb 2016 04:58:16 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 12:58:20 -0000 I came up with this solution to check if variable $line starts with a hash. Basically I am checking if line is a comment in the configuration file. #!/bin/sh if expr "${line}" : '#.*' > /dev/null; then echo Ignoring comment line fi I had to redirect to /dev/null, because expr prints a number to STDOUT. Is there a better way to do this kind of string matching check in /bin/sh (not bash)? Thanks From owner-freebsd-questions@freebsd.org Wed Feb 10 13:20:21 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B7ABAA328A for ; Wed, 10 Feb 2016 13:20:21 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (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 AEFB41B65 for ; Wed, 10 Feb 2016 13:20:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from zero-gravitas.local (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 456C4CC49 for ; Wed, 10 Feb 2016 13:20:15 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201601-infracaninophile; t=1455110415; bh=KLS5LeCf6TkPhtabg27e+0FZrn8eeLfru+rPjpycouQ=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20/bin/sh=20starts=20with=20check=20in=20script|To :=20freebsd-questions@freebsd.org|References:=20<56BB33E8.4080900@ gmail.com>|From:=20Matthew=20Seaman=20|Date:=20Wed,=2010=20Feb=202016=2013:20:09=20+0000|In-Reply-T o:=20<56BB33E8.4080900@gmail.com>; b=kXuE4jN3D/m06WiW116HskmHD8pBzlk1fATTSq+b4fhdj3bbJoxkLC4lkkSuGXqDe XcwVCak/o0A3EaGItY4VEv7v69cWrZGZsFjlQTBpWNCWbrNL4+zwlhpUwtK26QDKFl KijQSIdNKLKhue9s0xSqY/YnM1qNKatwXgMJzsf8= Subject: Re: /bin/sh starts with check in script To: freebsd-questions@freebsd.org References: <56BB33E8.4080900@gmail.com> From: Matthew Seaman Message-ID: <56BB3909.3070505@infracaninophile.co.uk> Date: Wed, 10 Feb 2016 13:20:09 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56BB33E8.4080900@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="T8h17TGlTpdMaqVEPqKs5GIx6bj9dHfTv" X-Virus-Scanned: clamav-milter 0.99 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RDNS_NONE, SPF_FAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 13:20:21 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --T8h17TGlTpdMaqVEPqKs5GIx6bj9dHfTv Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016/02/10 12:58, Sergei G wrote: > I came up with this solution to check if variable $line starts with a > hash. Basically I am checking if line is a comment in the configuratio= n > file. >=20 > #!/bin/sh > if expr "${line}" : '#.*' > /dev/null; then > echo Ignoring comment line > fi >=20 > I had to redirect to /dev/null, because expr prints a number to STDOUT.= =20 > Is there a better way to do this kind of string matching check in > /bin/sh (not bash)? When you say 'in /bin/sh' I take it you mean without calling any external programs? Otherwise the natural way would be to use grep(1). Try: #!/bin/sh case ${line} in "#*") echo Ignoring comment line ;; *) ... do whatever ... ;; esac Cheers, Matthew --T8h17TGlTpdMaqVEPqKs5GIx6bj9dHfTv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJWuzkOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTntdAP/j/2irzlDKBMz8X9Jg/tg4jS yaiyIMscUhZlD9aTe35EnFZy1LT+QIBQZcR70wZOuqB0iN9fdS7Mr3bnqj3eMnvq bpcETIebmlkCuJPXe8DOzCY7LDWiE3iWNnUG+8gLYSee9R4rum97gNZJpwnbxsqK /RrP5gTtBmx1Xodj+edvr//Td8VtBkkw602x10LFGZ9/Qb7bABFSHj08MilmraS1 7vIMBS3Q9zQAMW1Xzblxg7mCqe8DleoLXfTEul6tP8/WtgMIwz2RT+RNWZn9KneY PTSrOFuDf32NULh5r8a8+7ne9qzFoT5+9A34Ovbu74+Gb0tAVZF1SbHREYOHXWV4 ou3Pd9XFgNoUt0lJQIk/3y4PtsUYFh8Z2LD/PI9Nn9XtBbO42IW6OVzUUHKr93ng KcaJsWFpJ+euRZHR+PsE/fJVHNrOZbqkACV1mn7xLvXSs52nE/VOVSWmpwG/lFA/ Nk/EJlpA4+Mhya8S+Ui3u26PP4qdW35zAM/rNtoJeNGNgQ3dzjmgwEFq0fvLYtXm zrw27DdDFyf8/fC6GcxUAPK1TogifWfEwSDOJAyYdUlz4LPGxOZquCX5yh0jF0yy eaWRAKD0UnSzLsHzeRcOaqX9EtT90yBdcC5C45aUCU+SBMkBV4qHytKIKfbJYN86 NNqRiShsi0Sh9KlIk2ua =57Wv -----END PGP SIGNATURE----- --T8h17TGlTpdMaqVEPqKs5GIx6bj9dHfTv-- From owner-freebsd-questions@freebsd.org Wed Feb 10 14:34:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6659EAA350B for ; Wed, 10 Feb 2016 14:34:11 +0000 (UTC) (envelope-from stoa@gmx.us) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF904623 for ; Wed, 10 Feb 2016 14:34:10 +0000 (UTC) (envelope-from stoa@gmx.us) Received: from OBSD.my.domain ([24.116.197.15]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MSMKx-1aZF7y0LGt-00TYW3 for ; Wed, 10 Feb 2016 15:34:01 +0100 Date: Wed, 10 Feb 2016 08:33:52 -0600 From: Dutch Ingraham To: freebsd-questions@freebsd.org Subject: Re: Fwd: PC-BSD 10.2, starting X, vm_fault: pager read error, pid XXXX (PCDM-session) Message-ID: <20160210143351.GA4730@OBSD.my.domain> References: <56BAB26C.70600@holgerdanske.com> <56BABC02.50208@holgerdanske.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56BABC02.50208@holgerdanske.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Provags-ID: V03:K0:qfK6lYzG8SA5LSUlowtzin45PzC7aekKCRpF0vUFWWJ2hdNjEyi CS67CDV1MUhxoQLE0Wxf2uBsf0jNEwgbUf3jhg0pA/Rb1f9OdzJZ7J8hePQhV6GcOhzCe4h oCC0Yhe0GF5VouqNmzo7oiGg8uZcLn/IJsU5Kr1vdoc4dNw6P9kdxzP04DU3sz30Wsiqg6g h35mr4jB7petK328T0Z7Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:8SYlKlhHpvI=:hI6qAknFhiI3IsF0iaRHxV wyWu+s7gRvDhdaMgfR297Vw8Mvz/z/WsCZwuZ+mOYY7fla0al/03AAfzQaMsPMvIuuHBwhWQ6 SXqjCyauR2KldWwwBEwpdM2HAIftflY1sEs6/v15nX/bngBiTCYLfGkYPJsZD8UwmpqctDuEk ccDR4rWZ9bP/HUqwbBESdJofrWaitxWbxpMcuZ0x1BPfdaU7h3VeX9IfZQDjbcCrHXUSV2dO4 Wqnz9bGCsWz/AUWv8m0FNDOZsT9jJ33BARZ21R1DKfH9jgEG8OyTW/Qy3jfoWOKFMtXVpbhzj eQcIgBzbYW7T6KzcxMV0S6MolX/Iyd6FDcuMLctNR2cQOA5YXwOJsbvtDubRuvixZKgwHHA6F r2cr2VxET9ko95JvzFmDlURZfX4ETwWxHBoV2EAjLZAMQiDHJDnUIm6/Nm/bNVlqg9RganF7H XhSBcXjsoynoajci/lGtxYSaY6MNU8DOmHLiMMSbxL5ip+CQU9JH03scwmLWlo5N5a/DNGio6 EqBS46hFgSYl/BG2692NaGxjlOwGCjKCuO04ELTG8Dgo+cFTcw8j0FbPZUaTyW/XVlNu0Tsmv kREFBuZ3AzpsTHIz9DnSlJnXMfG59HKJP2/WtjBd3uJthcXSNl/Kyflssltr4qlHliwJMqexl fkYvhmuH4Js2t9YszAd4FAEoccFxg2PY3+r+EU+jVSR7LdW6XuF7cpxA3Zcq8MIecutvoo5cU FNgsLejidx92MdmBQS33XMsS3Ly/kW5i4hyiJF+ZEsRDUGcNXjqRckvkL94= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 14:34:11 -0000 On Tue, Feb 09, 2016 at 08:26:42PM -0800, David Christensen wrote: > freebsd-questions: > > I've attempted three posts in as many weeks to the PC-BSD "testing" mailing > list to no avail. > I don't see any posts under your name on the mailing list archives for the past three months. Maybe there is some issue with your subscription (or you are posting under a different moniker)? From owner-freebsd-questions@freebsd.org Wed Feb 10 16:35:51 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BAB7AA4CD7 for ; Wed, 10 Feb 2016 16:35:51 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) by mx1.freebsd.org (Postfix) with SMTP id F3EAEBA6 for ; Wed, 10 Feb 2016 16:35:50 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com for ; Wed, 10 Feb 2016 08:35:41 -0800 Subject: Re: Fwd: PC-BSD 10.2, starting X, vm_fault: pager read error, pid XXXX (PCDM-session) To: freebsd-questions@freebsd.org References: <56BAB26C.70600@holgerdanske.com> <56BABC02.50208@holgerdanske.com> <20160210143351.GA4730@OBSD.my.domain> From: David Christensen Message-ID: <56BB66DD.1020105@holgerdanske.com> Date: Wed, 10 Feb 2016 08:35:41 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160210143351.GA4730@OBSD.my.domain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 16:35:51 -0000 On 02/10/2016 06:33 AM, Dutch Ingraham wrote: > I don't see any posts under your name on the mailing list archives for > the past three months. Maybe there is some issue with your subscription > (or you are posting under a different moniker)? According to the PC-BSD "Testing" list, I am subscribed: -------- Forwarded Message -------- Subject: Welcome to the "Testing" mailing list Date: Wed, 27 Jan 2016 15:51:55 -0800 From: testing-request@lists.pcbsd.org To: dpchrist@XXXXXXXXXXXX.XXX Welcome to the Testing@lists.pcbsd.org mailing list! To post to this list, send your message to: testing@lists.pcbsd.org -------- End Forwarded Message -------- I have domain hosting through he.net, which includes e-mail service. When I try to post to the list, he.net's mail server complains several hours later: -------- Forwarded Message -------- Subject: DSN: delayed (PC-BSD download and mailing list servers) Date: Thu, 4 Feb 2016 00:58:03 -0800 From: Mailbot for holgerdanske.com <> To: dpchrist@XXXXXXXXXXXX.XXX This is a Delivery Status Notification (DSN). After several attempts, I still haven't been able to deliver your message to testing@lists.pcbsd.org. I will keep trying for a few more days, but I thought you would want to know. The error was; Can't resolve domain "lists.pcbsd.org" -------- End Forwarded Message -------- Eventually I receive a failure message: -------- Forwarded Message -------- Subject: DSN: failed (PC-BSD download and mailing list servers) Date: Fri, 5 Feb 2016 03:58:40 -0800 From: Mailbot for holgerdanske.com <> To: dpchrist@XXXXXXXXXXXX.XXX This is a Delivery Status Notification (DSN). I was unable to deliver your message to testing@lists.pcbsd.org. The error was; Can't resolve domain "lists.pcbsd.org" -------- End Forwarded Message -------- he.net support investigated and found DNS problems: -------- Forwarded Message -------- Subject: [HE#3043255] Re: Unable to post to testing@lists.pcbsd.org Date: Thu, 4 Feb 2016 19:47:53 -0800 From: Russ XXXXX Reply-To: support@XX.XXX To: David Christensen Hello David, Email services test out fine. I believe this email address is not properly formed; there is no MX record for lists.pcbsd.org, only a CNAME pointing to lists.ixsystems.com. (which has no MX record). Regards, Russ XXXXX HE Support -------- End Forwarded Message -------- I notified the list owner, who replied: -------- Forwarded Message -------- Subject: Re: Fwd: [HE#3043255] Re: Unable to post to testing@lists.pcbsd.org Date: Sat, 6 Feb 2016 08:58:44 -0500 From: Kris XXXXX To: David Christensen Thanks for the report! I've sent it along to our sysadmin team, they should look at it shortly. -------- End Forwarded Message -------- When I look up MX records now, I see: $ dig lists.pcbsd.org MX ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> lists.pcbsd.org MX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18462 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;lists.pcbsd.org. IN MX ;; ANSWER SECTION: lists.pcbsd.org. 7200 IN CNAME lists.ixsystems.com. lists.ixsystems.com. 7200 IN MX 10 mail.ixsystems.com. ;; Query time: 36 msec ;; SERVER: 192.168.1.254#53(192.168.1.254) ;; WHEN: Wed Feb 10 08:21:29 2016 ;; MSG SIZE rcvd: 87 $ dig lists.ixsystems.com MX ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> lists.ixsystems.com MX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34865 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;lists.ixsystems.com. IN MX ;; ANSWER SECTION: lists.ixsystems.com. 7200 IN MX 10 mail.ixsystems.com. ;; Query time: 33 msec ;; SERVER: 192.168.1.254#53(192.168.1.254) ;; WHEN: Wed Feb 10 08:22:10 2016 ;; MSG SIZE rcvd: 58 $ dig mail.ixsystems.com MX ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> mail.ixsystems.com MX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13911 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.ixsystems.com. IN MX ;; AUTHORITY SECTION: ixsystems.com. 10800 IN SOA ns1.ixsystems.com. hostmaster.ixsystems.com. 2016020700 28800 7200 1209600 86400 ;; Query time: 32 msec ;; SERVER: 192.168.1.254#53(192.168.1.254) ;; WHEN: Wed Feb 10 08:22:26 2016 ;; MSG SIZE rcvd: 87 So: 1. Mail for lists.pcbsd.org is supposed to go to lists.ixsystems.com. 2. Mail for lists.ixsystems.com is supposed to go to mail.ixsystems.com. 3. But, there is no MX record for mail.ixsystems.com. I believe the solution is for the ixsystems.com DNS administrator to add an MX record for mail.ixsystems.com. David From owner-freebsd-questions@freebsd.org Wed Feb 10 20:21:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E89BAA424E for ; Wed, 10 Feb 2016 20:21:53 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0: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 1CE021790 for ; Wed, 10 Feb 2016 20:21:53 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-vk0-x236.google.com with SMTP id c3so22102568vkb.3 for ; Wed, 10 Feb 2016 12:21:53 -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=QZE5VUrUM4wRAkvN8RPnwqKxfCpSWSN9WiAxtqqlEVc=; b=EHmXEZkhPHuTV2nASr0M3NTq4df4hhTZnIy2iBzvqYaw7B0YxWp6PLy0a1NUNrnpvl KS4o9/9gS/Nqknq8Uc+I7c3ZKjrZHLS2HlnW+tnZKWj60tEA4+rWmHCy5dVDDbF30S82 TuvOhlmAKFD9tyZgC2L1GjsSbZmI2rpDlx+wC4LxtoRV2ibRUZZMvHOlUla/GIFjiU6m KzmAVlaeJ7qn9v7KlMGOqWH/IVROgA0vJS/EpfdoNLN3zbwpfIZKp+bQC3HRWgfvtrB8 X98VmbUeOz9mUptlBbIRb5ldc24lcdyWWy5+5XYxuUHTM8z+zBtN61T06ZDV1nVmFJQK NpTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=QZE5VUrUM4wRAkvN8RPnwqKxfCpSWSN9WiAxtqqlEVc=; b=FYqBGaVXZI/E758/pNtJc6pdkoWKlXokcZFxnT9BoRNXDxfx1M/ywsTl/CnJI+JiyH x40q5OighOFN4L/qWIoZByNmUbFmW8m+6F4bJg5WZzLZ/uOtWCix305ME1l00eI4PfhJ ndnPZihCjRsDkvFkeU3EKPHtOH3fXOeZO2CMQ2bexUZT1NEbccrCbriPhUT19vISvS91 FW1YuX29zWDBOzbAz5bIo0Br5sWhkYrE5gn/d5AzLtlVgg1GeWpXUxwgCLyWbGpHpRUg CGDSaYsXOG2xrUQzmJnV2QnL6FfYSFx7s4Un1btiTE9fox2VKHJHfD2Sr55jBMPSFepo ey/g== X-Gm-Message-State: AG10YOQVNfeolpwpyVX0md6bYPyM1cgDzHN9MivCXdJ+O3Fn9MrGl2kX7cTjt+wMAddeFcmE2yIFfbUkNbw72g== MIME-Version: 1.0 X-Received: by 10.31.16.37 with SMTP id g37mr8080141vki.106.1455135712264; Wed, 10 Feb 2016 12:21:52 -0800 (PST) Received: by 10.31.174.132 with HTTP; Wed, 10 Feb 2016 12:21:52 -0800 (PST) Date: Wed, 10 Feb 2016 12:21:52 -0800 Message-ID: Subject: netmask with qjail From: Sergei G To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 20:21:53 -0000 I would like to control netmask in qjail environment and I can't figure out how. I looked quickly inside qjail script and all I see is that it does not allow IP/mask format for IP address. So, I am a bit lost. The default mask reported by ifconfig inside jail is: inet 192.168.3.17 netmask 0xffffffff broadcast 192.168.3.17 I'd like it to be like netmask 0xffffff00 I am afraid that qjail simply does not allow netwmask as I can't find any reference to it in documentation. From owner-freebsd-questions@freebsd.org Wed Feb 10 20:22:00 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91909AA4268 for ; Wed, 10 Feb 2016 20:22:00 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2a01:138:a006::2]) (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 5787F17F2 for ; Wed, 10 Feb 2016 20:22:00 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-185-17-205-172.dynamic.mnet-online.de [185.17.205.172]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id B735E19274C for ; Wed, 10 Feb 2016 21:21:56 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de B735E19274C Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1455135716; bh=+Qh54s2XbhP4GtqrU0By4BZxr8wt+1BnT6aOQk6hzds=; h=Subject:To:References:From:Date:In-Reply-To; b=VdJw0iT3CNA+b2LlvYeDviTiLMnZRGH3nkdPJMBcJJXhLbkCahVkRDIpREXOnCSbG EgNAhQOY2lci1cC/8JpK/Xk3WaY/mtILnTxPxoG4z4jox4gcWl1ndKJ0vNKkBt1OUo yqSsZ6Wf+L8Z7vpCluLjoQkHDO8Qx3I6y0vvS/pw= Received: from [192.168.0.151] (aftr-185-17-205-172.dynamic.mnet-online.de [185.17.205.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id CC0F9C0335 for ; Wed, 10 Feb 2016 21:21:55 +0100 (CET) Subject: Re: Switch from legacy to UEFI boot?? To: freebsd-questions@freebsd.org References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> From: Matthias Fechner Message-ID: <56BB9BDE.6030706@fechner.net> Date: Wed, 10 Feb 2016 21:21:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 20:22:00 -0000 Am 04.02.2016 um 15:03 schrieb Trond Endrestøl: > As of r294999, stable/10's boot1.efi and loader.efi is able to boot > ZFS. Both boot1.efi and loader.efi takes the bootfs property into > consideration. Finally we can use the familiar loader menu, and not > something I last saw when I used FreeBSD 4. If you use BE's, then the > loader.efi boot menu lets you select which BE to boot from. It's a > dream come true. I was able to scrap the 4 GiB UFS partition I > previously used for storing /boot. i just tested the loader.efi from base.txz from: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/10.3-PRERELEASE/ it does not boot. It seems that the new version is there not included. I tried with the loader.efi from base.txz from: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/11.0-CURRENT/ it boots fine. If I use beadm for my ZFS I expect that I have to manually edit the loader.rc from the efi partition to load the correct environment or? Thanks for this tip! Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook From owner-freebsd-questions@freebsd.org Wed Feb 10 20:33:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 471A0AA4AB7 for ; Wed, 10 Feb 2016 20:33:22 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0: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 03BB51A2 for ; Wed, 10 Feb 2016 20:33:22 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-vk0-x231.google.com with SMTP id e185so22396712vkb.1 for ; Wed, 10 Feb 2016 12:33:21 -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=ChjVply/Tsqqevl4A3EYaM8dGqo9i2sRTqYeFZQjM3s=; b=XszWrkevB7mVqdgzM6tx18R5bzcso3Slv6t64hfYkq1M+LTaDxw6RaR5BsF1RRTL9X 2saelC/Ni/g5U8cmwImLzLq9u0XtuOB0vFCryrNjqdw/OAEMBCxz4DUE9JktCRo8qC45 1ORdpehcpAbYXbwncpcYSe5nlMOHHQm3s2gDNpgmQmWT5XfQnNdLoS0MqTf3/01LcOfL zZSZAXMEYzOfaSRQOK2+rIGnWLBpC6vwWxtybXQi2V6AamQAfFyRTJRBd5DJNERaWt/5 Lxw8MKme7ZgFLmZutGHdWFTrrwdCKwdSlHsQrbpY0K9+ttp4aXhyt9SgNq5O4V1A1d3y kFhQ== 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=ChjVply/Tsqqevl4A3EYaM8dGqo9i2sRTqYeFZQjM3s=; b=RZHxAo8HKiBpztv3/BLLH+uUkSvM0hQh2SLMgsaJMoF+BFfJJqzKjmOKf+RYxhJqtb /R6Qu55pFd+lxvMj/PkI8Fm+AhYNeZxgdDIMadUxPTNih2KjolhZNE/7fepVya/odyHX XsTLw2aOMRoni++YxqfpvJmjPHUaU8t1PlNhc0EK6Z60E181ZYqDiDuB7dQWSY7NHnUI t1hm1jvHX4Xwml2yJdALoXdwtyO0tQ5Io9ijp9Q+oznMqAduPRNfyATSg5frg4WylE3/ /8Q6hBgFa4FnI2W/EUS31Rr1B36CUOY0NyTEHe4IYjdxEx4X2H64oKQzmJDjNuxM8Ah/ 97eg== X-Gm-Message-State: AG10YOQHANEF4gYimtEoY+mce7JlxSp8tSCvEpH9vPPosikuWsB18FKjPAyWRNdXfRtHp9dN/ubHo6KpIKJ6KA== MIME-Version: 1.0 X-Received: by 10.31.0.215 with SMTP id 206mr32308606vka.22.1455136400798; Wed, 10 Feb 2016 12:33:20 -0800 (PST) Received: by 10.31.174.132 with HTTP; Wed, 10 Feb 2016 12:33:20 -0800 (PST) In-Reply-To: References: Date: Wed, 10 Feb 2016 12:33:20 -0800 Message-ID: Subject: Re: netmask with qjail From: Sergei G To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 20:33:22 -0000 Never mind, after reading manual for qjail and jail(8) and changed /usr/local/etc/qjail/qjail.conf/myjail file's line: ip4.add = 192.168.3.17/24; and it worked. On Wed, Feb 10, 2016 at 12:21 PM, Sergei G wrote: > I would like to control netmask in qjail environment and I can't figure > out how. > > I looked quickly inside qjail script and all I see is that it does not > allow IP/mask format for IP address. So, I am a bit lost. > > The default mask reported by ifconfig inside jail is: > > inet 192.168.3.17 netmask 0xffffffff broadcast 192.168.3.17 > > I'd like it to be like netmask 0xffffff00 > > > I am afraid that qjail simply does not allow netwmask as I can't find any > reference to it in documentation. > From owner-freebsd-questions@freebsd.org Thu Feb 11 08:58:45 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75D69AA4BC9 for ; Thu, 11 Feb 2016 08:58:45 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) 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 EBB7C19DD for ; Thu, 11 Feb 2016 08:58:44 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u1B8wS7G087683 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 11 Feb 2016 09:58:28 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u1B8wRnb087680; Thu, 11 Feb 2016 09:58:27 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 11 Feb 2016 09:58:27 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Matthias Fechner cc: freebsd-questions@freebsd.org Subject: Re: Switch from legacy to UEFI boot?? In-Reply-To: <56BB9BDE.6030706@fechner.net> Message-ID: References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 08:58:45 -0000 On Wed, 10 Feb 2016 21:21+0100, Matthias Fechner wrote: > i just tested the loader.efi from base.txz from: > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/10.3-PRERELEASE/ > it does not boot. It seems that the new version is there not > included. Try the latest 10.3-BETA1 image. That one should be recent enough. ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/10.3-BETA1/ ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3/ > If I use beadm for my ZFS I expect that I have to manually edit the > loader.rc from the efi partition to load the correct environment or? I don't use any loader.rc on the ESP. Just boot1.efi renamed to /EFI/BOOT/BOOTX64.EFI. boot1.efi reads the bootfs property from the bootpool/rootpool, and navigates to the correct /boot directory to find everything else. -- +-------------------------------+------------------------------------+ | 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 11 10:54:38 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9658CAA5097 for ; Thu, 11 Feb 2016 10:54:38 +0000 (UTC) (envelope-from export@vascofilters.eu) Received: from karieraserlg.nazwa.pl (aju23.rev.netart.pl [77.55.254.23]) by mx1.freebsd.org (Postfix) with ESMTP id 99F541941 for ; Thu, 11 Feb 2016 10:54:37 +0000 (UTC) (envelope-from export@vascofilters.eu) Received: from pc (unknown [194.33.77.155]) by karieraserlg.nazwa.pl (Postfix) with ESMTPA id B25C93CE1A67 for ; Thu, 11 Feb 2016 11:54:36 +0100 (CET) From: "=?iso-8859-2?Q?Marcin_Tomzi=F1ski?=" To: "freebsd-questions" Subject: cooperation Message-ID: <5177F65D53F2BC45EA837E64365485BA@pc> Date: Thu, 11 Feb 2016 11:54:39 +0100 Organization: AnoMail - oprogramowanie do emailingow X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 10:54:38 -0000 =20 Are you looking for a new automotive parts brand to be different from your = competitors?=20 Do you want to be a direct importer?=20 Are you looking for high quality products at fair and individual quotation?= =20 Fed up with late deliveries and low availability from the stock?=20 Do you want to join young and effective organisation?=20 Do you need fast orders handling and flexibility in market approach? We have a great proposal for your business! =20 Our products range consists of more than 1500 references under 4 brands - VASCO FILTERS (oil, fuel air and cabin filters) - FLUXAR FILTERS (red line) - PEXA WIPERS (universal and dedicated sets of wipers) - BREYKO (brake pads)=20 We are expanding our business in your country and looking for direct import= ers.=20 Join our Team! More info on web page: www.vascofilters.com or facebook = =20 If you have any questions do not hesitate to contact us, we speak English, = French and Spanish. Marketing and Operations Manager Olaf Tomzi=F1ski If you do not wish to receive further information. From owner-freebsd-questions@freebsd.org Thu Feb 11 11:11:14 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4881AA5A7E for ; Thu, 11 Feb 2016 11:11:14 +0000 (UTC) (envelope-from freebsd@edvax.de) 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 7AA09368 for ; Thu, 11 Feb 2016 11:11:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-44-23.dynamic.qsc.de [92.195.44.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id B6FE93D54D; Thu, 11 Feb 2016 12:11:03 +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 u1BBB3Ua002420; Thu, 11 Feb 2016 12:11:03 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 11 Feb 2016 12:11:03 +0100 From: Polytropon To: Ian Smith Cc: freebsd-questions@freebsd.org Subject: Re: fsck is failing to clean a filesystem Message-Id: <20160211121103.40cb3a9b.freebsd@edvax.de> In-Reply-To: <20160210204635.K51785@sola.nimnet.asn.au> References: <20160210160149.V51785@sola.nimnet.asn.au> <20160210195431.V51785@sola.nimnet.asn.au> <20160210102236.19f9c68c.freebsd@edvax.de> <20160210204635.K51785@sola.nimnet.asn.au> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 11:11:14 -0000 On Wed, 10 Feb 2016 21:56:48 +1100 (EST), Ian Smith wrote: > On Wed, 10 Feb 2016 10:22:36 +0100, Polytropon wrote: > > On Wed, 10 Feb 2016 20:11:03 +1100 (EST), Ian Smith wrote: > > > On Tue, 9 Feb 2016 22:10:14 -0800, Paul Beard wrote: > > > > > > Well at least /usr/src is easily replaced. Might be worth just deleting > > > all that, though of course you need a read-write mount first .. perhaps > > > after booting from a memstick or live CD? > > > > Which is still risky, assuming that the file system has not > > been marked clean. > > Absolutely. I'm assuming that at this stage the choice is to newfs /usr > and restore backups, unless some magic spell turns up. Once apparently > losing or damaging '..' from anywhere, you're pretty much in trouble. Yes, running newfs on that particular file system should be the easiest way to deal with a file system damage like that. > Paul, another question: with /usr unmounted, is there anything in /usr ? Hmmm... fsck /usr operates on the /usr partition (or to be correct, on the device associated with it), but when the mountpoint itself (the directory /usr, residing on /) is "contamined", it might cause trouble later on, when the partition has been mounted. So any mountpoint should be checked for being an empty directory. > > > Just stabbing in the dark .. scrambled filesystems are the pits! > > > > And a good occassion to read more about UFS (McKusick et al.) - to > > develop a better understanding of what's happening. :-) > > Good suggestion :) I envy people who've got the time these days .. I had the chance and opportunity to do so, when a massive file system damage caused a significant data loss. This drove me to this mailing list, and finally, I got _all_ my data back. The actual loss was a few hundred directory names and a few thousand file names, which is not a big problem thanks to file magic based sorting tools. However, a good understanding of file system internals is helpful to avoid excessive spendings on data recovery. Sure, you can "trust the experts" and pay $5000-10,000, and maybe they then say: "Sorry, norhing to recover", or you can buy expensive software for "trial & error". It finally boils down to a "money vs. time" consideration. I decided to invest my time to learn some UFS, and it saved my ass. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Feb 11 14:29:28 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2CC5AA4046 for ; Thu, 11 Feb 2016 14:29:28 +0000 (UTC) (envelope-from me@janh.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25FB61A61 for ; Thu, 11 Feb 2016 14:29:27 +0000 (UTC) (envelope-from me@janh.de) Received: from [192.168.178.20] ([87.174.245.160]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0LiqBl-1ZrVgv3nG1-00cwXq; Thu, 11 Feb 2016 15:29:24 +0100 Subject: Re: /bin/sh starts with check in script References: <56BB33E8.4080900@gmail.com> To: Sergei G Cc: questions-list freebsd From: Jan Henrik Sylvester Message-ID: <56BC9AC2.3070805@janh.de> Date: Thu, 11 Feb 2016 15:29:22 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <56BB33E8.4080900@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:lt1cYkSWY8DehdEOWs07j+7C6/wRqzKZ/gt2ocwmKoK2BKAxoVE 6W6G0L8/7XuZNsxyrgjad+PtS/Vp0zHq1sFBztAyNJrBvdwBjT6AFmcqvjJTZvRP+alQ97T Z/rxV0Qjrn4vwJhvSvWK+Hy5kZDriH8Bpjrpw3TgIXc9qAz1fuva7RwdBjYb6bf8PJqKdWb XWelGHNWvBGndzJXUfzRw== X-UI-Out-Filterresults: notjunk:1;V01:K0:K+VVzk17+ko=:mlwWRKEUFkuHfJRKYoNWvN bJ+cHREzm+lOntJbcmgCM4aLtpXEh5Fgu6WluAUiuUc2WkBXQYaZ8cy3dkHp1XX2RBO5EsX6b fgdRZDEbbsww0tRGA5YT63zlpl+E2Y1LRaXpx5noSyA56NvCMD3fNgWL0kNJus0RslSZ2IO6a fktqJJQZAIh31cu3+sKQC9Lzr/tYBUFUDpKCN3RE8khtT6HjGMeWdDmwRgkbVE9oUE2Fn7qC7 IT+xqpcAM2MGxdwYKQo+jEglYS9suWxKaCNboWbp6p7nVrJnVSOGkd5pvoD4T7ePW8rBwMM7i hNLsZ1yoAIr4B9Mr91DUEXBMBVJAbgqRsrPZ7pyrGSJDvzQG6ZItrS9mHThLz08HhY8XRTy9l a1K7INJ0/qStqcXcNGxybN4qDeDlxXecUoXVp47JHb9iv5T4szmTdFCYWKFtfFP1pOE4rh9E+ bhNaqhrub7KtYKwpzMn/uUXzp9L1ghRLbV0dusaiH/z2/RnZp1uaTSO19dNKEKAinB/Syg5fF qUaPUfikrroYo+sb6HCCmCan1OjbhdM6FGt5rJ7YqZuvA7UHZQou8Hqbfn1VQH+Me4eM4WjfG Ehx9x+76jAaLKeNUduTk5Kw8NGvPj2wiTZ72/pDK8JRabguX0ZUNIAXT9yhHouPIvH6yJHSod pwtI804Ek5qvwsdGZqvgKNNzpB+kvPhu4Ck0HhD+Ouhm0GThDkI25jD0h/zHbqmMS9QW6px1J 9UzB8ktehc+tx/dW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 14:29:28 -0000 On 02/10/2016 13:58, Sergei G wrote: > I came up with this solution to check if variable $line starts with a > hash. Basically I am checking if line is a comment in the configuration > file. > > #!/bin/sh > if expr "${line}" : '#.*' > /dev/null; then > echo Ignoring comment line > fi > > I had to redirect to /dev/null, because expr prints a number to STDOUT. > Is there a better way to do this kind of string matching check in > /bin/sh (not bash)? [ "${line#\#}" != "$line" ] && echo comment See the Parameter Expansion section of sh(1). Cheers, Jan Henrik From owner-freebsd-questions@freebsd.org Thu Feb 11 15:42:39 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EE43AA47D4 for ; Thu, 11 Feb 2016 15:42:39 +0000 (UTC) (envelope-from david.ford@ouce.ox.ac.uk) Received: from fallback2.mail.ox.ac.uk (fallback2.mail.ox.ac.uk [129.67.1.167]) by mx1.freebsd.org (Postfix) with ESMTP id 2E766FF8 for ; Thu, 11 Feb 2016 15:42:38 +0000 (UTC) (envelope-from david.ford@ouce.ox.ac.uk) Received: from relay13.mail.ox.ac.uk ([129.67.1.166]) by fallback2.mail.ox.ac.uk with esmtp (Exim 4.80) (envelope-from ) id 1aTt5q-0002WL-8o for freebsd-questions@freebsd.org; Thu, 11 Feb 2016 15:23:42 +0000 Received: from hub04.nexus.ox.ac.uk ([163.1.154.215] helo=HUB04.ad.oak.ox.ac.uk) by relay13.mail.ox.ac.uk with esmtp (Exim 4.80) (envelope-from ) id 1aTt5h-0005vB-hb for freebsd-questions@freebsd.org; Thu, 11 Feb 2016 15:23:33 +0000 Received: from MBX01.ad.oak.ox.ac.uk ([169.254.1.95]) by HUB04.ad.oak.ox.ac.uk ([169.254.211.233]) with mapi id 14.03.0248.002; Thu, 11 Feb 2016 15:23:33 +0000 From: David Ford To: "'freebsd-questions@freebsd.org'" Subject: multi-homed drive SATA drive affiliations Thread-Topic: multi-homed drive SATA drive affiliations Thread-Index: AdFk3ln/R2reH8aeT+aiRK6/GKLaJQ== Date: Thu, 11 Feb 2016 15:23:31 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.150.239] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 15:42:39 -0000 Hello, I suspect I'm missing something obvious here, but I can't quite think what.= I have a set of SAS disk shelves which are each dual homed to a pair of Fr= eeBSD 10.1 systems. These shelves contain a bunch of SAS drives, which as e= xpected work fine in this configuration, and can be accessed from whichever= host wishes to use them - the end workload is ZFS, so each disk will be as= signed to a single host, and the second host is for failover purposes. The problem is that for SATA drives (the idea is the use SSDs for L2ARC/ZIL= ) SATA affiliations don't appear to be having the desired effect, the disks= get assigned to one host when they are attached, and whilst I can clear th= e affiliations on that host, there seems no way to make the second host see= the drive once the affiliations have been cleared. On the host where the drive appears: [root@backup-san1 ~]# camcontrol devlist at scbus0 target 9 lun 0 (pass0,da0) at scbus0 target 10 lun 0 (pass1,da1) at scbus0 target 11 lun 0 (pass2,da2) at scbus0 target 12 lun 0 (pass3,ses0) at scbus0 target 13 lun 0 (da33,pass36) The last line is the ATA drive in question, On the other host: root@backup-san-02:~ # camcontrol devlist at scbus0 target 9 lun 0 (pass0,ses0) at scbus0 target 10 lun 0 (pass1,da0) at scbus0 target 11 lun 0 (pass2,da1) at scbus0 target 12 lun 0 (pass3,da2) I have tried using both: camcontrol --phy=3D2 --op=3Dca /dev/ses0 smp_phy_control --phy=3D2 --op=3Dca /dev/ses0 on the working host, to clear the affiliation, and smp_rep_phy_sata implies= this has had the desired effect: [root@backup-san1 ~]# smp_rep_phy_sata --phy=3D2 /dev/ses0 Report phy SATA response: expander change count: 71 phy identifier: 2 STP I_T nexus loss occurred: 0 affiliations supported: 1 affiliation valid: 0 STP SAS address: 0x50080e53c2b8f002 register device to host FIS: 34 00 50 01 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 affiliated STP initiator SAS address: 0x0 STP I_T nexus loss SAS address: 0x0 affiliation context: 0 current affiliation contexts: 0 However, nothing I've tried on the second host then allows it to see it: root@backup-san-02:~ # smp_phy_control --phy=3D2 --op=3Dtspss /dev/ses0 root@backup-san-02:~ # smp_rep_phy_sata --phy=3D2 /dev/ses0 Report phy SATA result: Phy does not support SATA root@backup-san-02:~ # smp_phy_control --phy=3D2 --op=3Dlr /dev/ses0 root@backup-san-02:~ # camcontrol reset root@backup-san-02:~ # camcontrol rescan root@backup-san-02:~ # smp_rep_phy_sata --phy=3D2 /dev/ses0 Report phy SATA result: Phy does not support SATA I've even tried disabling the device from the first host, but it still beha= ves in an identical fashion. Does anyone happen to know what I've done wrong? Thanks David --=20 David Ford IT Manager, School of Geography and the Environment For general IT Support queries please contact itsupport@ouce.ox.ac.uk Telephone: +44 1865 285089 From owner-freebsd-questions@freebsd.org Thu Feb 11 18:47:18 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1FF00AA63A6 for ; Thu, 11 Feb 2016 18:47:18 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpb.telissant.net (smtpb.telissant.net [199.233.230.156]) (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 F06CEB7C for ; Thu, 11 Feb 2016 18:47:17 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from barrida.3dresearch.com (localhost [127.0.0.1]) by smtpb.telissant.net (Postfix) with ESMTP id 4516B3AEC9 for ; Thu, 11 Feb 2016 13:38:21 -0500 (EST) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpb.telissant.net ([127.0.0.1]) by barrida.3dresearch.com (barrida.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vCPHrSpH8YHZ for ; Thu, 11 Feb 2016 13:37:58 -0500 (EST) Received: from almavivazfs.3dresearch.com (unknown [71.112.237.11]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpb.telissant.net (Postfix) with ESMTPSA id 72E9A3AE4A for ; Thu, 11 Feb 2016 13:37:58 -0500 (EST) Received: from almavivazfs.3dresearch.com (localhost [127.0.0.1]) by almavivazfs.3dresearch.com (Postfix) with SMTP id D2264AB17D3 for ; Thu, 11 Feb 2016 13:37:57 -0500 (EST) Date: Thu, 11 Feb 2016 13:37:51 -0500 From: Janos Dohanics To: FreeBSD Questions Subject: /var/log/auth.log missing Message-Id: <20160211133751.a58f4c0981a0c2af16762766@3dresearch.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 18:47:18 -0000 Hello List, Just discovered that on one of my boxes (FreeBSD 9.3-STABLE #0 r286291) /var/log/auth.log is missing. /etc/syslog.conf: # $FreeBSD: stable/9/etc/syslog.conf 238473 2012-07-15 10:55:43Z # brueffer $ # # [commented stuff] # Consult the syslog.conf(5) manpage. +10.10.10.2 local0.* /var/log/pfsense.log +* *.err;kern.warning;auth.notice;mail.crit /dev/console *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages security.* /var/log/security #auth.info;authpriv.info /var/log/auth.log auth.debug;authpriv.info /var/log/auth.log mail.info /var/log/maillog lpr.info /var/log/lpd-errs ftp.info /var/log/xferlog cron.* /var/log/cron *.=debug /var/log/debug.log *.emerg * # uncomment this to log all writes to /dev/console # [commented stuff] # # Cyrus local6.debug /var/log/local6.log !ppp *.* /var/log/ppp.log !* /etc/periodic.conf: monthly_statistics_enable="YES" monthly_statistics_report_devices="YES" monthly_statistics_report_ports="YES" daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO" # 406.status-gmirror daily_status_gmirror_enable="YES" I have restarted syslogd, however, no /var/log/auth.log, even though I took actions such as ssh login which should trigger entries in /var/log/auth.log. How can I fix this problem? Any guess what might have caused /var/log/auth.log not be created? -- Janos Dohanics From owner-freebsd-questions@freebsd.org Thu Feb 11 18:52:21 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77558AA674A for ; Thu, 11 Feb 2016 18:52:21 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0: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 3164AFA1 for ; Thu, 11 Feb 2016 18:52:21 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-vk0-x231.google.com with SMTP id k196so43920472vka.0 for ; Thu, 11 Feb 2016 10:52:21 -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=RZQ2ik3FDFzipN14ywkRwVEqM6+PVUVi7obNtXb0h4c=; b=IP21cP2ygryfaijCfFOL84HS3cOcL7cdvq7+9gxRtKsItcjFIx68r8x+X4kFUF0BqO YhQBy9iVrnWDuf6tB9bt9k5BdO63ub3aKRURK+ZxHjAxSP7MAEw6Ymu+aqutu6G+M1Bm nuk9rCHtpJRN5tErwF3albBvS4u+RYPfsCAmf2qCg5KtOnqety0Oei9tMjR8TvM35QiC 1z8IupydyYM8B4jBHOPQgxf7L9eGf6749N/obSq2HDtIpSJ8qrGkCBOdnbc90OlsRKs5 tzLhfz+RWruB68Ukg9okumRerme68bTeJlLc2cYurDrGWBDma+kDXsbrX/2QLIqbASue eVwg== 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=RZQ2ik3FDFzipN14ywkRwVEqM6+PVUVi7obNtXb0h4c=; b=V3Zn+EyIjGAYWVU296f5PbsvaMGGae/4+d13RQTFI2UOUiLnbNISsup1CrFbHWtDnA hCK6w4YTCcCwReU+udHNppTYry0i3t+4hrFenDEcJNTel46MxKMXUJQd8bmDFGo7KOYH OUqJR2QcHQ5hXpPPZurJFlpBbxsV3VnYfhgPiDKWBgaLIvezY3xM7RW/Md1dzZdmc/Tp ve/L+r5GW2t9HAorIxTEsih1mep/FsIJH9jAmy8+lQdfUbvtY3CQlkLY/7MPaik/tOyd tE0r4WVDk13Si4CITH9N2os/dK7HznIQp/ov5auOFXRWn4da1BSw6wuOXtsi9tXxkF3c WdjA== X-Gm-Message-State: AG10YOTDKJLJdjqomfI+1+TefNJNd6ftNUQp8mspYjvUi6it/HtPTEQznqm+QGnIwacVtXIEziD8o911pWSMeA== MIME-Version: 1.0 X-Received: by 10.31.47.88 with SMTP id v85mr35841429vkv.118.1455216740136; Thu, 11 Feb 2016 10:52:20 -0800 (PST) Received: by 10.31.174.132 with HTTP; Thu, 11 Feb 2016 10:52:20 -0800 (PST) In-Reply-To: References: <56A5F7FF.1050606@gmail.com> <56A6017E.4020801@freebsd.org> Date: Thu, 11 Feb 2016 10:52:20 -0800 Message-ID: Subject: Re: rolling backup From: Sergei G To: Alexander Moisseev Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 18:52:21 -0000 I ended up creating a rolling backup script. It does not use exponential strategy, but is simple enough for me: https://github.com/Kulak/rollingdump I pushed it to github as a backup strategy :) On Mon, Jan 25, 2016 at 3:37 AM, Alexander Moisseev wrote: > On 25.01.16 14:05, Matthew Seaman wrote: > >> Deleting 'all but the last N' is a good strategy with backups. Suppose >> for whatever reason, backup fails for N nights in a row. If you just >> deleted backup files that were over N days old, you'ld be left without >> any backups at all after a certain time. However, keeping a certain >> number of files means that you still have some backups available, albeit >> older than would be ideal. >> >> An exponential expiry strategy can solve that problem. > > https://github.com/moisseev/rmexp/blob/master/rmexp/rmexp.pod > There is no support for backups stored locally as files yet, but it is not > complicated to add. > > -- > Alexander > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Thu Feb 11 20:04:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E994AA4C15 for ; Thu, 11 Feb 2016 20:04:04 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2a01:138:a006::2]) (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 C67871C89 for ; Thu, 11 Feb 2016 20:04:03 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-88-217-181-144.dynamic.mnet-online.de [88.217.181.144]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 2F2C9198EDD; Thu, 11 Feb 2016 21:04:01 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de 2F2C9198EDD Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1455221041; bh=YNlfDo7kryE9+AC/Iy54v91glKZ5fgfNXtSu1YCUdvg=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=JggLjAPBUUZPS/jXRjzJA/3m29n6Anu14pjDQrl9NZkh9r+ToPc1lbKGmIQBSQTIN h0P1bN6gMYNy7AhCUekCJmMn9miX4apertL7cNoEeaG3w3Gkp0YKClqL78c2R+LMzG uPlGTgS8Vd6+Uh59s0L8oasBySh7NaCarNSN/NME= Received: from [192.168.0.151] (aftr-88-217-181-144.dynamic.mnet-online.de [88.217.181.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 8517EC571C; Thu, 11 Feb 2016 21:04:00 +0100 (CET) Subject: Re: Switch from legacy to UEFI boot?? To: =?UTF-8?Q?Trond_Endrest=c3=b8l?= References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> Cc: freebsd-questions@freebsd.org From: Matthias Fechner Message-ID: <56BCE92B.7030600@fechner.net> Date: Thu, 11 Feb 2016 21:03:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 20:04:04 -0000 Am 11.02.2016 um 09:58 schrieb Trond Endrestøl: > I don't use any loader.rc on the ESP. Just boot1.efi renamed to > /EFI/BOOT/BOOTX64.EFI. boot1.efi reads the bootfs property from the > bootpool/rootpool, and navigates to the correct /boot directory to > find everything else. I tried it is using the loader.efi and the boot1.efi (stored in as efi/boot/BOOTx64.efi). If I remove the loader.rc it will stop booting. I get: can't load 'kernel' if I type: set currdev=zfs:zroot/ROOT/default: load boot/kernel/kernel load boot/kernel/zfs.ko boot it works. The bootfs property is set on the pool: root@test1:~ # zpool get bootfs NAME PROPERTY VALUE SOURCE zroot bootfs zroot/ROOT/default local Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook From owner-freebsd-questions@freebsd.org Thu Feb 11 20:35:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A928AA5B94 for ; Thu, 11 Feb 2016 20:35:09 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::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 EE674E61 for ; Thu, 11 Feb 2016 20:35:08 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id g62so37338015wme.0 for ; Thu, 11 Feb 2016 12:35:08 -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=gSBEJRDp/oxkEZTVO220m9GdtElLO268l4tUoU6Qxnw=; b=XdqLe1JHenvfW1vPzwmDKuj9PFYsGOoGORcetU6euCoWiXk8RjdSBi2VNk3IYrjpd4 U472CrU8ljdSqzl4ZzBW/cxx5hgSVWMES+Nx/sQ8VImmT/wHuG3ov5RekTkaDAyVMd9J ut9aDdVwT3eaADy1Xm4uzOABE4yfthvclwicmZamocDA4HibW/qzu2QsVlUbsmiBpqCb JoC/QA1Vyy800RfwmVzoLP3B0NPqyECRebECyzniGtf15MAbjFJdvasW9Yts1Ey6jxYd gDBEayMb9JPFl4GY+ivsL0x74AniUC1Ttb0HU/Y07LnTNETEMRQB+X7GMHSiD048d4Ao 14cA== 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=gSBEJRDp/oxkEZTVO220m9GdtElLO268l4tUoU6Qxnw=; b=J3pHS5+bq0TURnDturv9RgSDAOLd3qh/Zl9JN71yFpuGP3xrtjMwU3nE4Ab+450xqp UZ7z5CDiQ/n0rLkkhWG8nyOIB09OkbQPfUNqfzjYEKmTrBH7Ge4OtoDCv3mF+vvRT5p4 lqQqfKpXzpNbOZUTo4k5proT0JkQeM7OHfZ3PYgtAU08yutxUFNjbeXRN55fusulK5KQ xTpP9/HBv3Yp7d91XrpntFY+ktoXN9NoBkdDr756zZSukVqZ1okTGQBdc7+SGTlZZOIL vM//beVy35pQvgu0zSNblqueoz9F6a0tWsaUJv5sIpYpYaQJ7jWtmkmiOqK732+DlxxS I+Yg== X-Gm-Message-State: AG10YORo497xjMPsC/ZBfF+nA31nt2P75u64j4qKcFZzw3awvYJqAIE56qwk4PhpODpCSsqtWkU+00mrJXVfpQ== MIME-Version: 1.0 X-Received: by 10.194.111.232 with SMTP id il8mr56282472wjb.150.1455222907477; Thu, 11 Feb 2016 12:35:07 -0800 (PST) Received: by 10.194.246.73 with HTTP; Thu, 11 Feb 2016 12:35:07 -0800 (PST) Received: by 10.194.246.73 with HTTP; Thu, 11 Feb 2016 12:35:07 -0800 (PST) In-Reply-To: <20160211133751.a58f4c0981a0c2af16762766@3dresearch.com> References: <20160211133751.a58f4c0981a0c2af16762766@3dresearch.com> Date: Thu, 11 Feb 2016 22:35:07 +0200 Message-ID: Subject: Re: /var/log/auth.log missing From: Anton Sayetsky To: Janos Dohanics Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 20:35:09 -0000 11 =D1=84=D0=B5=D0=B2=D1=80. 2016 =D0=B3. 20:47 =D0=BF=D0=BE=D0=BB=D1=8C=D0= =B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Janos Dohanics" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > Hello List, > > Just discovered that on one of my boxes (FreeBSD 9.3-STABLE #0 > r286291) /var/log/auth.log is missing. > > /etc/syslog.conf: > > # $FreeBSD: stable/9/etc/syslog.conf 238473 2012-07-15 10:55:43Z > # brueffer $ > # > # [commented stuff] > # Consult the syslog.conf(5) manpage. > +10.10.10.2 > local0.* /var/log/pfsense.log > +* > *.err;kern.warning;auth.notice;mail.crit /dev/console > *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages > security.* /var/log/security > #auth.info;authpriv.info /var/log/auth.log > auth.debug;authpriv.info /var/log/auth.log > mail.info /var/log/maillog > lpr.info /var/log/lpd-errs > ftp.info /var/log/xferlog > cron.* /var/log/cron > *.=3Ddebug /var/log/debug.log > *.emerg * > # uncomment this to log all writes to /dev/console > # [commented stuff] > # > # Cyrus > local6.debug /var/log/local6.log > !ppp > *.* /var/log/ppp.log > !* > > /etc/periodic.conf: > > monthly_statistics_enable=3D"YES" > monthly_statistics_report_devices=3D"YES" > monthly_statistics_report_ports=3D"YES" > daily_clean_hoststat_enable=3D"NO" > daily_status_mail_rejects_enable=3D"NO" > daily_status_include_submit_mailq=3D"NO" > daily_submit_queuerun=3D"NO" > # 406.status-gmirror > daily_status_gmirror_enable=3D"YES" > > I have restarted syslogd, however, no /var/log/auth.log, even though I > took actions such as ssh login which should trigger entries > in /var/log/auth.log. > > How can I fix this problem? # install -o root -g wheel -m 600 /dev/null /var/log/auth.log && service syslogd reload > Any guess what might have caused /var/log/auth.log not be created? Someone deleted it. From owner-freebsd-questions@freebsd.org Thu Feb 11 21:27:19 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E466AA5473 for ; Thu, 11 Feb 2016 21:27:19 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::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 C39EF994 for ; Thu, 11 Feb 2016 21:27:18 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id g62so38891860wme.0 for ; Thu, 11 Feb 2016 13:27:18 -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=xD3FyVAiCvXDrBfwhiamIoW8Xkfh+iuizpF8RKBnXOY=; b=BrRWOYtQ2omirY038W56Wnw7xVf1MROiXbE89Z4HLk9dDZyzIJ+sflaqAP5j486hS/ v2glxOcxLy3npGjO2Ugq6Rchwdutqo/zz2seemoQMxKVYot2lsMK418bLuHCjG1AGin7 sqUIac7kOzXG47pG96U/T8UP0/0v2gkvZq2/EBO0KyjcgL8iibqQeCl3+Rekbs6Kh8T9 eEOm6CGIE6gXi0TQfSrYIQK8LKfoQRvOkfdeLHNGkWbvtrX6fc0CWbvKxYDto0wl9jd3 x7LlABJ1m/eB4Re8DMbpEGvKErMOPYV6J/YCixA24cch3PrxeUsV7qThwieaGrpU2IOQ nTjQ== 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=xD3FyVAiCvXDrBfwhiamIoW8Xkfh+iuizpF8RKBnXOY=; b=XVNncw67RAt8TLizZEy26g4xORHIzQsn+2TT6HHB3tYS9HvhU0OmFC9c/mjF2cur5r 9P6WIy1l4NF0FcgiSxst6wRrLphU6Zm1ISgdhARgAhaLmHDfiSnJTauiJYDQpZxSmidE DSAfXs/XnauLd1khWufKMmVdvQaSPbRYHg3qp70oi4mmXEl2XEbM0tPJ9ONtqZ1dx6LZ bIZvUDQQnuRt4oQqGw31xDHpKod6IvoyqR+AhV18b36zPjDgCMRQQWzk3AfOybiOfT3W GV1sFxgkey3PLEKA5wr8Lj+P9JiW6WmjQ9/EDzLIKnTrPxxGkeyJeAnMwb56FZCVZ+De OCCg== X-Gm-Message-State: AG10YOSV7v9TGAbf7tY18uk7/WkSRMsgJnRZlIHMglb32/HBtogYna1YTq80z5Kx+3q5Ggp/Smziq79HEfTYrg== MIME-Version: 1.0 X-Received: by 10.194.103.164 with SMTP id fx4mr49096179wjb.56.1455226037357; Thu, 11 Feb 2016 13:27:17 -0800 (PST) Received: by 10.28.31.77 with HTTP; Thu, 11 Feb 2016 13:27:17 -0800 (PST) In-Reply-To: <56BCE92B.7030600@fechner.net> References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> <56BCE92B.7030600@fechner.net> Date: Thu, 11 Feb 2016 21:27:17 +0000 Message-ID: Subject: Re: Switch from legacy to UEFI boot?? From: krad To: Matthias Fechner Cc: =?UTF-8?Q?Trond_Endrest=C3=B8l?= , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 21:27:19 -0000 This is my working layout if it helps # find /boot/efi/ /boot/efi/ /boot/efi/efi /boot/efi/efi/boot /boot/efi/efi/boot/bootx64.efi # gpart show =3D> 34 117231341 ada0 GPT (56G) 34 1024 1 freebsd-boot (512K) 1058 6 - free - (3.0K) 1064 262144 2 efi (128M) 263208 3932154 4 freebsd-swap (1.9G) 4195362 113036013 3 freebsd-zfs (54G) # mount -p | grep efi /dev/ada0p2 /boot/efi msdosfs rw 0 0 On 11 February 2016 at 20:03, Matthias Fechner wrote: > Am 11.02.2016 um 09:58 schrieb Trond Endrest=C3=B8l: > > I don't use any loader.rc on the ESP. Just boot1.efi renamed to > > /EFI/BOOT/BOOTX64.EFI. boot1.efi reads the bootfs property from the > > bootpool/rootpool, and navigates to the correct /boot directory to > > find everything else. > > I tried it is using the loader.efi and the boot1.efi (stored in as > efi/boot/BOOTx64.efi). > If I remove the loader.rc it will stop booting. > I get: > can't load 'kernel' > > if I type: > set currdev=3Dzfs:zroot/ROOT/default: > load boot/kernel/kernel > load boot/kernel/zfs.ko > boot > > it works. > The bootfs property is set on the pool: > root@test1:~ # zpool get bootfs > NAME PROPERTY VALUE SOURCE > zroot bootfs zroot/ROOT/default local > > > Gru=C3=9F > Matthias > > -- > > "Programming today is a race between software engineers striving to > build bigger and better idiot-proof programs, and the universe trying to > produce bigger and better idiots. So far, the universe is winning." -- > Rich Cook > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Thu Feb 11 22:06:26 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB134AA6604 for ; Thu, 11 Feb 2016 22:06:26 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) (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 82F311D97 for ; Thu, 11 Feb 2016 22:06:25 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-ig0-f171.google.com with SMTP id 5so46700353igt.0 for ; Thu, 11 Feb 2016 14:06:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type :content-transfer-encoding; bh=c3QjTad6EoRN+D4ybCakOcGZV2RuAYpYxZBpcvUR4o4=; b=bZafWHP6CyQk/xe3I7PT/2+dk0dBdWJKuDkx6uTwA3wNoJihL9HVqpmRQoknrFG3Ci FNmEw9eGz9DCHkQTA4qF10cnrqmyDc7qGknyqS0s0alL5C/JhHK/GSPBvldRKbz/HzaR hLqqXfzG4OlgTmtiibdcbydLYRpNG8KTV4xxoqOOETbDwxY6k0/jjvDolqFBfR3/HITZ pNTXjiCFB0BncrwFUFfA2db3NyuyQWWTCtPnaZZGUUiWHarNx/IrSxBs2VAHzieEUs3A nxKk6VMFUmTuni5a4NRwSGFtwNYvehvBt3CrlPW6i35tLZC9/3y9UYro/KU78R55cE6I wkBw== X-Gm-Message-State: AG10YOSXlTseQm88WkbYenEIAJH1YJe6D5BUrlAt8H4ho73hpiJmnppPo81Re9qVfDpgDw== X-Received: by 10.50.50.144 with SMTP id c16mr368239igo.82.1455221434508; Thu, 11 Feb 2016 12:10:34 -0800 (PST) Received: from WorkBox.Home.gmail.com (63-231-151-131.mpls.qwest.net. [63.231.151.131]) by smtp.gmail.com with ESMTPSA id l11sm4816756iol.17.2016.02.11.12.10.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Feb 2016 12:10:33 -0800 (PST) References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> User-agent: mu4e 0.9.15; emacs 24.5.1 From: Brandon J. Wandersee To: Trond =?utf-8?Q?Endrest=C3=B8l?= Cc: Matthias Fechner , freebsd-questions@freebsd.org Subject: Re: Switch from legacy to UEFI boot?? In-reply-to: Date: Thu, 11 Feb 2016 14:10:31 -0600 Message-ID: <86egcjovns.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 22:06:26 -0000 Trond EndrestÞl writes: > On Wed, 10 Feb 2016 21:21+0100, Matthias Fechner wrote: > >> i just tested the loader.efi from base.txz from: >> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/10.3-PRERELEASE/ >> it does not boot. It seems that the new version is there not >> included. > > Try the latest 10.3-BETA1 image. That one should be recent enough. > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/10.3-BETA1/ > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3/ > >> If I use beadm for my ZFS I expect that I have to manually edit the >> loader.rc from the efi partition to load the correct environment or? > > I don't use any loader.rc on the ESP. Just boot1.efi renamed to > /EFI/BOOT/BOOTX64.EFI. boot1.efi reads the bootfs property from the > bootpool/rootpool, and navigates to the correct /boot directory to > find everything else. Assuming your install is on disk ada0, and your ESP is the first parition, you can just run: $ dd if=/path/to/boot1.efifat of=/dev/ada0p1 You'll find boot1.efifat in /boot, relative to wherever you extracted base.txz. As always, make sure your `dd` target is actually the one you want before running. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ================================================================== From owner-freebsd-questions@freebsd.org Thu Feb 11 22:40:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDC1AAA4444 for ; Thu, 11 Feb 2016 22:40:09 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 94567118F for ; Thu, 11 Feb 2016 22:40:09 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yuri.doctorlan.com (c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id u1BMe1Cf075592 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 11 Feb 2016 14:40:01 -0800 (PST) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128] claimed to be yuri.doctorlan.com To: FreeBSD Questions From: Yuri Subject: Firefox has rough, non-antialised fonts. Anybody knows how to correct? Message-ID: <56BD0DC0.10401@rawbw.com> Date: Thu, 11 Feb 2016 14:40:00 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 22:40:09 -0000 For some reason firefox-42.0 has non-antialiased fonts, at least some of them, and this makes it look poor. Comparing to chrome where fonts look much better. I also heard complaints from some other FreeBSD users that fonts generally look noticeably worse than in Arch out of the box, though I didn't notice this myself. Anybody knows what is the reason of this Firefox font issue? Yuri From owner-freebsd-questions@freebsd.org Thu Feb 11 23:12:58 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65A1FAA5506 for ; Thu, 11 Feb 2016 23:12:58 +0000 (UTC) (envelope-from t@tobik.me) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (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 3C67D230 for ; Thu, 11 Feb 2016 23:12:57 +0000 (UTC) (envelope-from t@tobik.me) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 6E90128D1 for ; Thu, 11 Feb 2016 18:07:21 -0500 (EST) Received: from web6 ([10.202.2.216]) by compute2.internal (MEProxy); Thu, 11 Feb 2016 18:07:21 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=tobik.me; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=6EgM6XlRmv5ElpR7WaU5W/PoEjQ=; b=W0KL5m BhFJDCzeqFYR7kOdueXSBbAP6DRw2G0C0LcRuVgzrA/1etk0/VzdT95O8lMA2b3k Gxs8R7uD/w5AErZY7NmdSC+fxmVQ7SKcvsae9MYHO109o3pH5bP39PO1IVjjdDH6 01tP/2VTrYda7wCW1xM07zsUE8PN16RvloSEo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=6EgM6XlRmv5ElpR 7WaU5W/PoEjQ=; b=pOXnPnDowbEy1TV54YE8bbKaW6Xfg0nk4B5cI23CyilD3zm B5OrDzzuRRfi0VKXj9uHQm6bip/HogtC6+teTkmPHGlPbmX5J5Vpl3S/NzazVBFR GmyM/x1dSxR1qx76Bk8CpyDpWE7pVkrjO94pGous1zrPxX87uJq7iTUFNmA4= Received: by web6.nyi.internal (Postfix, from userid 99) id 1BCD14D8B9; Thu, 11 Feb 2016 18:07:21 -0500 (EST) Message-Id: <1455232041.461060.518893674.5947DE04@webmail.messagingengine.com> X-Sasl-Enc: XCQcHsP/UNTow7+Gf4hwtPi5jsxOgPVB9qn/fdF2i7nJ 1455232041 From: Tobias Kortkamp To: Yuri , FreeBSD Questions MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-e69f0414 In-Reply-To: <56BD0DC0.10401@rawbw.com> References: <56BD0DC0.10401@rawbw.com> Subject: Re: Firefox has rough, non-antialised fonts. Anybody knows how to correct? Date: Fri, 12 Feb 2016 00:07:21 +0100 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 23:12:58 -0000 Bitmap fonts are enabled by default. You can disable them globally by running ln -s /usr/local/etc/fonts/conf.avail/70-no-bitmaps.conf /usr/local/etc/fonts/conf.d/70-no-bitmaps.conf Chromium seems to do its own thing regarding font rendering. On Thu, Feb 11, 2016, at 11:40 PM, Yuri wrote: > For some reason firefox-42.0 has non-antialiased fonts, at least some of > them, and this makes it look poor. Comparing to chrome where fonts look > much better. > > I also heard complaints from some other FreeBSD users that fonts > generally look noticeably worse than in Arch out of the box, though I > didn't notice this myself. > > Anybody knows what is the reason of this Firefox font issue? > > Yuri > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://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 12 02:47:01 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52C73AA5236 for ; Fri, 12 Feb 2016 02:47:01 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpb.telissant.net (smtpb.telissant.net [199.233.230.156]) (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 2C3351E56 for ; Fri, 12 Feb 2016 02:47:00 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from barrida.3dresearch.com (localhost [127.0.0.1]) by smtpb.telissant.net (Postfix) with ESMTP id 266883ADB8 for ; Thu, 11 Feb 2016 21:46:59 -0500 (EST) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpb.telissant.net ([127.0.0.1]) by barrida.3dresearch.com (barrida.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MHmFk62k10IR for ; Thu, 11 Feb 2016 21:46:39 -0500 (EST) Received: from almavivazfs.3dresearch.com (unknown [71.112.237.11]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpb.telissant.net (Postfix) with ESMTPSA id DEC083ACDC for ; Thu, 11 Feb 2016 21:46:39 -0500 (EST) Received: from almavivazfs.3dresearch.com (localhost [127.0.0.1]) by almavivazfs.3dresearch.com (Postfix) with SMTP id 0ED0CC0A2B8 for ; Thu, 11 Feb 2016 21:46:39 -0500 (EST) Date: Thu, 11 Feb 2016 21:46:33 -0500 From: Janos Dohanics To: FreeBSD Questions Subject: Re: /var/log/auth.log missing Message-Id: <20160211214633.58ef122e10cfd0314b8d79a8@3dresearch.com> In-Reply-To: References: <20160211133751.a58f4c0981a0c2af16762766@3dresearch.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) 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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 02:47:01 -0000 On Thu, 11 Feb 2016 22:35:07 +0200 Anton Sayetsky wrote: > 11 ????. 2016 ?. 20:47 ???????????? "Janos Dohanics" > ???????: > > > > Hello List, > > > > Just discovered that on one of my boxes (FreeBSD 9.3-STABLE #0 > > r286291) /var/log/auth.log is missing. > > > > [...] > > > > How can I fix this problem? > # install -o root -g wheel -m 600 /dev/null /var/log/auth.log && > # service > syslogd reload Thanks! > > Any guess what might have caused /var/log/auth.log not be created? > Someone deleted it. Right... Being the only one with shell access to this system, I'm of course concerned; perhaps I should also be concerned about my memory ;) --=20 Janos Dohanics From owner-freebsd-questions@freebsd.org Fri Feb 12 05:25:07 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EE83AA1A3A for ; Fri, 12 Feb 2016 05:25:07 +0000 (UTC) (envelope-from freebsd@edvax.de) 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 EC23D12E0 for ; Fri, 12 Feb 2016 05:25:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-44-23.dynamic.qsc.de [92.195.44.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id B5F483F4E7; Fri, 12 Feb 2016 06:25:02 +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 u1C5P1QA002114; Fri, 12 Feb 2016 06:25:01 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 12 Feb 2016 06:25:01 +0100 From: Polytropon To: Tobias Kortkamp Cc: Yuri , FreeBSD Questions Subject: Re: Firefox has rough, non-antialised fonts. Anybody knows how to correct? Message-Id: <20160212062501.8325544f.freebsd@edvax.de> In-Reply-To: <1455232041.461060.518893674.5947DE04@webmail.messagingengine.com> References: <56BD0DC0.10401@rawbw.com> <1455232041.461060.518893674.5947DE04@webmail.messagingengine.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 05:25:07 -0000 On Fri, 12 Feb 2016 00:07:21 +0100, Tobias Kortkamp wrote: > Bitmap fonts are enabled by default. You can disable them globally by > running > > ln -s /usr/local/etc/fonts/conf.avail/70-no-bitmaps.conf > /usr/local/etc/fonts/conf.d/70-no-bitmaps.conf > > Chromium seems to do its own thing regarding font rendering. How about installing the famous "webfonts" package via pkg? Does it help (like in any other "mainstream" or "niche" browser)? Maybe installing other quality fonts helps the browser display web pages in a more pleasant manner? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Feb 12 06:47:05 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 826ACAA4E17 for ; Fri, 12 Feb 2016 06:47:05 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A57910E2 for ; Fri, 12 Feb 2016 06:47:04 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd40.aul.t-online.de (fwd40.aul.t-online.de [172.20.26.139]) by mailout12.t-online.de (Postfix) with SMTP id 765D55DFE99; Fri, 12 Feb 2016 07:40:33 +0100 (CET) Received: from esprimo.local (ExS-UsZGohcOiDXamqgV1ucbaZl6YS4wWrN54E1cwlMtYRY5HAlfvAA6+IQfowaZj2@[217.81.149.245]) by fwd40.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1aU7P4-0DDinA0; Fri, 12 Feb 2016 07:40:30 +0100 Received: from esprimo.local (localhost [127.0.0.1]) by esprimo.local (Postfix) with ESMTP id 6518A45E475; Mon, 8 Feb 2016 17:38:09 +0100 (CET) Received: (from chris@localhost) by esprimo.local (8.15.2/8.15.2/Submit) id u18Gc9cI010961; Mon, 8 Feb 2016 17:38:09 +0100 (CET) (envelope-from chris) Date: Mon, 8 Feb 2016 17:38:09 +0100 From: Christoph Brinkhaus To: Ian Smith Cc: John Mehr , freebsd-questions@freebsd.org Subject: Re: svn revision in uname Message-ID: <20160208163809.GA2583@esprimo.local> References: <20160207223554.P51785@sola.nimnet.asn.au> <56B73E8C.5060501@FreeBSD.org> <20160207153505.GA1420@esprimo.local> <20160208024820.K51785@sola.nimnet.asn.au> <20160207171745.GA41125@esprimo.local> <20160208150928.S51785@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160208150928.S51785@sola.nimnet.asn.au> User-Agent: Mutt/1.5.24 (2015-08-30) X-ID: ExS-UsZGohcOiDXamqgV1ucbaZl6YS4wWrN54E1cwlMtYRY5HAlfvAA6+IQfowaZj2 X-TOI-MSGID: db04898e-d0b6-45ad-9c98-05401b704755 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 06:47:05 -0000 On Mon, Feb 08, 2016 at 03:36:33PM +1100, Ian Smith wrote: Hello Ian! > On Sun, 7 Feb 2016 18:17:45 +0100, Christoph Brinkhaus wrote: > > On Mon, Feb 08, 2016 at 03:24:35AM +1100, Ian Smith wrote: > > > > > The version svnlite is part of the system and > > > > does not need to be installed separately. > > > > > > On 10.x - since 10.1 maybe? - but not on 9.x. > > > > Ok, I have overlook this. > > No worries. > > > > > Here svnliteversion /usr/src works. > > > > > > If you're pulling sources with svnlite, so it should :) Conversion > > > between using svn and svnup, either way, requires some care and cleaning > > > up; generally best advice is not to try mixing these methods. > > > > > I was not aware of that. I thought svnlite has just less capabilities. > > Thank you! > > Ah, I see the confusion; I've been talking about port net/svnup, not the > difference between full svn and svnlite, where I expect you are correct. In the meantime I have found information in the handbook https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn.html which says that the difference between svn and svnlite is just the missing Python and Perl API and may be the exact version. On the FreeBSD forum I have read that the intention of svnlite is to pull the sources. Other features might not be guaranteed to work. > > net/svnup is described as "A lightweight, dependency-free program to > pull source using the svn protocol." It does not use svn's directory > structure (eg the /usr/src/.svn/ tree) and is not useful for developers > wanting to push code back to the repository, among other svn features; > it's purely for updating local sources (or ports, though I use portsnap) I have switched to svnlite for the ports to be able to provide svndiff. > > Hmm, its website is down just > lately; cc'ing the author/maintainer. I did not intended to cause too much trouble. Nevertheless this is an interesting topic. > > cheers, Ian Thank you, Christoph From owner-freebsd-questions@freebsd.org Fri Feb 12 07:29:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51CD6AA62AD for ; Fri, 12 Feb 2016 07:29:08 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) 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 D589F7A0 for ; Fri, 12 Feb 2016 07:29:07 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u1C7SqSZ022928 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 12 Feb 2016 08:28:52 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u1C7SpcU022925; Fri, 12 Feb 2016 08:28:51 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 12 Feb 2016 08:28:51 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Matthias Fechner cc: freebsd-questions@freebsd.org Subject: Re: Switch from legacy to UEFI boot?? In-Reply-To: <56BCE92B.7030600@fechner.net> Message-ID: References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> <56BCE92B.7030600@fechner.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 07:29:08 -0000 On Thu, 11 Feb 2016 21:03+0100, Matthias Fechner wrote: > Am 11.02.2016 um 09:58 schrieb Trond Endrestøl: > > I don't use any loader.rc on the ESP. Just boot1.efi renamed to > > /EFI/BOOT/BOOTX64.EFI. boot1.efi reads the bootfs property from the > > bootpool/rootpool, and navigates to the correct /boot directory to > > find everything else. > > I tried it is using the loader.efi and the boot1.efi (stored in as > efi/boot/BOOTx64.efi). > If I remove the loader.rc it will stop booting. > I get: > can't load 'kernel' > > if I type: > set currdev=zfs:zroot/ROOT/default: > load boot/kernel/kernel > load boot/kernel/zfs.ko > boot > > it works. > The bootfs property is set on the pool: > root@test1:~ # zpool get bootfs > NAME PROPERTY VALUE SOURCE > zroot bootfs zroot/ROOT/default local Strange. Yesterday, I installed 10.3-BETA1 using bsdinstaller and ZFS on a UEFI VM in VirtualBox 5.0.14. It's a simple single disk layout. The ESP contains nothing more than the boot1.efi disquised as /EFI/BOOT/BOOTX64.EFI, i.e. the contents of the /boot/boot1.efifat image. The bootfs property points to zroot/ROOT/default, and everything else resides in the zpool. Somehow your setup is different. -- +-------------------------------+------------------------------------+ | 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 Fri Feb 12 11:23:55 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A4E6AA4494 for ; Fri, 12 Feb 2016 11:23:55 +0000 (UTC) (envelope-from t@tobik.me) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (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 1017C15C6 for ; Fri, 12 Feb 2016 11:23:54 +0000 (UTC) (envelope-from t@tobik.me) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id A039A93E for ; Fri, 12 Feb 2016 06:23:53 -0500 (EST) Received: from web2 ([10.202.2.212]) by compute1.internal (MEProxy); Fri, 12 Feb 2016 06:23:53 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=tobik.me; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=gJsTfECHiK/SJk8OtEfVCMIjzmo=; b=Y/zeP/ j6CyK28DMZ6vwwFksAIcnnVj9OfJX/6im4bLzeNRoS7UplwdaCSNBCZW0SeSCOXV D1b/TQh8hG09sUYgNCg193dXw+WVNgS4zw347lr7X4NLgPFHs+dMuNRnF3T6GWxS QHEk1O9dCwrQj1VwvZHAdR3uwNu31hKDqshP0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=gJsTfECHiK/SJk8 OtEfVCMIjzmo=; b=CO9Fl/0t7yS2MMFIOLxEBP/x9nk7W2yADcLd9CndAwbcu+6 myBZs5KdfWKbHoZrWNK6oPpapeC9L9F92LJ2D1UEMoqVihR9DpKHmKowFJAGgBYk Y0t/bH9ZQoU7HWfpblcU1Yq/+cSjs5FYRnufgcSQ/Eus9pT13RLtm5OMCNWE= Received: by web2.nyi.internal (Postfix, from userid 99) id 4449A54002D; Fri, 12 Feb 2016 06:23:53 -0500 (EST) Message-Id: <1455276233.2138506.519301874.51A24414@webmail.messagingengine.com> X-Sasl-Enc: BB+Bl/6kNvm0xIEpJwaVw/9SWJlCKWMPAdUNKNJr6eEg 1455276233 From: Tobias Kortkamp To: Polytropon Cc: Yuri , FreeBSD Questions MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-e69f0414 Subject: Re: Firefox has rough, non-antialised fonts. Anybody knows how to correct? Date: Fri, 12 Feb 2016 12:23:53 +0100 In-Reply-To: <20160212062501.8325544f.freebsd@edvax.de> References: <56BD0DC0.10401@rawbw.com> <1455232041.461060.518893674.5947DE04@webmail.messagingengine.com> <20160212062501.8325544f.freebsd@edvax.de> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 11:23:55 -0000 On Fri, Feb 12, 2016, at 06:25 AM, Polytropon wrote: > On Fri, 12 Feb 2016 00:07:21 +0100, Tobias Kortkamp wrote: > > Bitmap fonts are enabled by default. You can disable them globally by > > running > > > > ln -s /usr/local/etc/fonts/conf.avail/70-no-bitmaps.conf > > /usr/local/etc/fonts/conf.d/70-no-bitmaps.conf > > > > Chromium seems to do its own thing regarding font rendering. > > How about installing the famous "webfonts" package via pkg? > Does it help (like in any other "mainstream" or "niche" browser)? > Maybe installing other quality fonts helps the browser display > web pages in a more pleasant manner? It does, after you disable bitmaps fonts of course :p I would recommend installing https://www.freshports.org/x11-fonts/croscorefonts-fonts-ttf/ for this. To make sure that they are used I've set up aliases for them in /usr/local/etc/fonts/conf.d/: https://github.com/t6/wip-ports/blob/master/misc/desktoprc/files/99-desktoprc-croscore.conf.in From owner-freebsd-questions@freebsd.org Fri Feb 12 17:53:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02012AA6C59 for ; Fri, 12 Feb 2016 17:53:34 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) 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 7B4861E5F for ; Fri, 12 Feb 2016 17:53:32 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u1CHrTZw015506; Sat, 13 Feb 2016 04:53:29 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 13 Feb 2016 04:53:28 +1100 (EST) From: Ian Smith To: Jan Henrik Sylvester cc: Sergei G , freebsd-questions@freebsd.org Subject: Re: /bin/sh starts with check in script In-Reply-To: Message-ID: <20160213034617.D51785@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 17:53:34 -0000 In freebsd-questions Digest, Vol 610, Issue 5, Message: 1 On Thu, 11 Feb 2016 15:29:22 +0100 Jan Henrik Sylvester wrote: > On 02/10/2016 13:58, Sergei G wrote: > > I came up with this solution to check if variable $line starts with a > > hash. Basically I am checking if line is a comment in the configuration > > file. > > > > #!/bin/sh > > if expr "${line}" : '#.*' > /dev/null; then > > echo Ignoring comment line > > fi expr(1) suggests preferring sh(1) for maths expressions and parsing :) > > I had to redirect to /dev/null, because expr prints a number to STDOUT. > > Is there a better way to do this kind of string matching check in > > /bin/sh (not bash)? > > [ "${line#\#}" != "$line" ] && echo comment > > See the Parameter Expansion section of sh(1). That looks like it ought to work, but does not here on stable/9; I don't think it honours the escaping when expecting a second '#' or other char? After some playing, this also finds comment lines that have optional whitespace before the first '#', not pinning comments only to column 1, while ignoring comments after other text. Not what everybody needs .. [ ! "`echo ${line%%#*} | tr -d [:blank:]`" ] && echo comment BUG|FEATURE: if $line is the null string it is taken to be a comment. cheers, Ian From owner-freebsd-questions@freebsd.org Fri Feb 12 19:26:24 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CE8CAA6736 for ; Fri, 12 Feb 2016 19:26:24 +0000 (UTC) (envelope-from me@janh.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CC9D1A3A for ; Fri, 12 Feb 2016 19:26:22 +0000 (UTC) (envelope-from me@janh.de) Received: from [192.168.178.20] ([87.174.219.28]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LvSJX-1a3oN21lg3-010gan; Fri, 12 Feb 2016 20:20:39 +0100 Subject: Re: /bin/sh starts with check in script To: Ian Smith References: <20160213034617.D51785@sola.nimnet.asn.au> Cc: Sergei G , freebsd-questions@freebsd.org From: Jan Henrik Sylvester X-Enigmail-Draft-Status: N1110 Message-ID: <56BE3085.9040505@janh.de> Date: Fri, 12 Feb 2016 20:20:37 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160213034617.D51785@sola.nimnet.asn.au> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:/4paaWuUAnRd0IQEttjzuftG9uAelYk04eodCzKQZyKJZKcVj04 wAZBsAKgdRgmupply83HzH1sAyUygKGJ6Acq5R3YQChD17JQzTTqHm1vQrthxziPFgwkbGr F3Zcmup0Znyyi3xCO6t3b8jcPbAR+/X5O7K2J+a4ZCm95WNYbEwr1CqIGDf2YCB6KzK9dLu 4sCD4rfyclvVJY7jm8KDQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:bVrfOcY1Pjc=:Wz94RPd1b46RJgjNMGAWBc KrMTloVb9K3Yn7v4uq/n+Ngxjfh4Csfqm/2SF/Ie+6MOv/WhVZeqpai1orR6VETWZFvaaCMHI 2BUH2cq+8/FhnuT32qM8GhCPFHEICW8DDve3scAgaaKCwzShlWLCF4lZsu7GhGkYKbyeAZNl4 DXVt3746nCV5wzq3CxDbWb8P6AX+XTBBcLzgr4MT1aB6wieBb+cIMnD0AKI/asYljLhACcW5U gqUCjKZtOovEO7CuwfMujTbuAh/7LUAs6LSkEJIaB8tT8K6tKhA+08AaSwfzSKXQgc1RKR1t6 uX6M5UVwRAXm33qoshYaBaTTuvbLwDuKESR3y6v2YhFD21RdPWHn7r5MAFj+2os46qUhQUFgD zQQPsfDNiRrBDRVo2/BrsDTy2t9Lbgo030+jbI925e6smmE/vpfKYaMn2nat76np+1iGpVpOI rCn2Yji2+doGCiYDmpDVrWsYbsd6VCG8jRJYxhfSEe8nlRW9raf+1inMphnELb1tq7gpSByPy nRxFEz1llbNiblIRg8uIYnwKMOkjq/xuYfrou6NXBo51aazYThpGHX32vDYW/6IZ5nCurWl9K lcBa+9aYCy4U0eDin5s+FRVIUbhMQMImYiCo5wezgl0FkawLZ+0UTiwplTaiby4QK9YFMCEfR jgeJGCggFjxDhSHEEcC/ZJlxw8WhwQohy2WDgM7hgVdGwxgwbeX8rwXC3fAds/Zzec/Yt3u0e c3+KzIKQsR8RHccV X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 19:26:24 -0000 On 02/12/2016 18:53, Ian Smith wrote: > In freebsd-questions Digest, Vol 610, Issue 5, Message: 1 > On Thu, 11 Feb 2016 15:29:22 +0100 Jan Henrik Sylvester wrote: > > On 02/10/2016 13:58, Sergei G wrote: > > > I came up with this solution to check if variable $line starts with a > > > hash. Basically I am checking if line is a comment in the configuration > > > file. > > > > > > #!/bin/sh > > > if expr "${line}" : '#.*' > /dev/null; then > > > echo Ignoring comment line > > > fi > > expr(1) suggests preferring sh(1) for maths expressions and parsing :) > > > > I had to redirect to /dev/null, because expr prints a number to STDOUT. > > > Is there a better way to do this kind of string matching check in > > > /bin/sh (not bash)? > > > > [ "${line#\#}" != "$line" ] && echo comment > > > > See the Parameter Expansion section of sh(1). > > That looks like it ought to work, but does not here on stable/9; I don't > think it honours the escaping when expecting a second '#' or other char? I am rather curious about this, because I have been using something like "${line#'#'}" for a long time, but wanted to save a character here. I just extracted kernel and base from a 9.3-RELEASE image to a directory and did a chroot into it, started sh there and tried: line='#COMMENT' [ "${line#\#}" != "$line" ] && echo comment It worked. I lack the time to set up a proper VM with 9/stable, but I would not think the kernel mattered. Are you sure it does not work there? What does A='#C' ; echo "${A#\#}" "${A#'#'}" give on stable/9? > After some playing, this also finds comment lines that have optional > whitespace before the first '#', not pinning comments only to column 1, > while ignoring comments after other text. Not what everybody needs .. > > [ ! "`echo ${line%%#*} | tr -d [:blank:]`" ] && echo comment > > BUG|FEATURE: if $line is the null string it is taken to be a comment. If you have that in a loop for every line in a long file, the process spawning might take a lot of time. Why not use grep(1), if you do not care to spawn a process? Of course, you should call grep(1) once first and then process every line from the output. Without spawning a process, you might do the same assuming you have not changed IFS: line=${line%%#*} ; [ "$line" = "${line%%[!$IFS]*}" ] && echo comment Or you do TAB=$(printf '\t') in the beginning and use: line=${line%%#*} ; [ "$line" = "${line%%[! $TAB]*}" ] && echo comment String processing in sh(1) is so much fun... if you want to secure your job with elegant use of obscurity, you can strip the leading blanks first and then check for the first character directly: line=${line#"${line%%[! $TAB]*}"} [ "${line%"${line#?}"}" = "#" ] && echo 'line starts with #' For boring readability you go more along Matthew's solution using case or you do spawn one grep(1) process. Cheers, Jan Henrik From owner-freebsd-questions@freebsd.org Sat Feb 13 08:52:59 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 388A3AA7794 for ; Sat, 13 Feb 2016 08:52:59 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2a01:138:a006::2]) (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 DE52F1FC4 for ; Sat, 13 Feb 2016 08:52:58 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-185-17-205-89.dynamic.mnet-online.de [185.17.205.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 823981A27D2; Sat, 13 Feb 2016 09:52:55 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de 823981A27D2 Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1455353575; bh=9EUDzvL0b0kHIr+zos6xt/Mr9gVFghehtlvP3ss6D2E=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=pUF8VwPxQm9yKkfoZ3E3AQydJbPtTaTb/3+qtJnWtlonXAXIs7Kz3vVTZv25727if SKb201HEEW8OC3D9JvIuQpaDrNbm/uvjFSlvddim1X4/NnjYTkNOFrFYSvQvbfyI48 zBdllfA2FtSr6Gh/cAjulzhmWrGW4Yv/FnfVw5aY= Received: from [192.168.0.151] (aftr-185-17-205-89.dynamic.mnet-online.de [185.17.205.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id D9BD4CDF08; Sat, 13 Feb 2016 09:52:54 +0100 (CET) Subject: Re: Switch from legacy to UEFI boot?? To: =?UTF-8?Q?Trond_Endrest=c3=b8l?= References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> <56BCE92B.7030600@fechner.net> Cc: freebsd-questions@freebsd.org From: Matthias Fechner X-Enigmail-Draft-Status: N1110 Message-ID: <56BEEEDE.9000201@fechner.net> Date: Sat, 13 Feb 2016 09:52:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 08:52:59 -0000 Am 12.02.2016 um 08:28 schrieb Trond Endrestøl: > The ESP contains nothing more than the boot1.efi disquised as > /EFI/BOOT/BOOTX64.EFI, i.e. the contents of the /boot/boot1.efifat > image. The bootfs property points to zroot/ROOT/default, and > everything else resides in the zpool. > > Somehow your setup is different. I will give you as many details as you need to find out why it does not work. The FreeBSD is running in an Oracle Virtualbox on windows 10 (version 5.0.14r105127). I use this version to simulate updates for my real boxes. There is a FreeBSD 10.2-RELEASE-p9 installed that is updated using freebsd-update. The zpool consists of two 20GB harddisk switch together as a mirror: pool: zroot state: ONLINE scan: resilvered 8.82G in 0h12m with 0 errors on Wed Feb 10 08:54:53 2016 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 gpt/disk1 ONLINE 0 0 0 I resized the zpool to have space for the efi partition (was a little bit of snapshoting and copying around). The new layout of both disks is now: $ gpart show => 34 41942973 ada0 GPT (20G) 34 6 - free - (3.0K) 40 262144 1 efi (128M) 262184 128 2 freebsd-boot (64K) 262312 41680688 3 freebsd-zfs (20G) 41943000 7 - free - (3.5K) => 34 41942973 ada1 GPT (20G) 34 6 - free - (3.0K) 40 262144 1 efi (128M) 262184 128 2 freebsd-boot (64K) 262312 41680688 3 freebsd-zfs (20G) 41943000 7 - free - (3.5K) As you can see, I have legacy and efi partions available so I can boot uefi and legacy. As freebsd10.2 is not able to boot efi I copied the boot1.efi/loader.efi and GNUSparseFile/boot1.efifat (using dd) to the efi partition. The efi partition was filled with: newfs_msdos ada0p1 mount -t msdosfs /dev/ada0p1 /mnt mkdir -p /mnt/efi/boot/ cp boot1.efi /mnt/efi/boot/BOOTx64.efi mkdir -p /mnt/boot cat > /mnt/boot/loader.rc << EOF unload set currdev=zfs:zroot/ROOT/default: load boot/kernel/kernel load boot/kernel/zfs.ko autoboot EOF (cd /mnt && find .) . ./efi ./efi/boot ./efi/boot/BOOTx64.efi ./boot ./boot/loader.rc umount /mnt The same steps are performed on the second disk (but this should make for these test not a difference I think). I tested boot1.efi/loader.efi and the efifat with dd from 10.3-beta1 and 11, but was only able to boot with the loader.rc in place. The moment I removed the loader.rc the systems stops on boot prompt and I have to type the lines from the loader.rc manually to boot the system. The bootfs flag is defined: $ zpool get bootfs NAME PROPERTY VALUE SOURCE zroot bootfs zroot/ROOT/default local $ zfs list NAME USED AVAIL REFER MOUNTPOINT zroot 12.9G 6.19G 19K none zroot/ROOT 433M 6.19G 19K none zroot/ROOT/default 433M 6.19G 433M none zroot/swap 4.13G 10.3G 8K - zroot/tmp 74.5K 6.19G 74.5K /tmp zroot/usr 5.68G 6.19G 3.42G /usr zroot/usr/home 11.2M 6.19G 11.2M /usr/home zroot/usr/local 895M 6.19G 895M /usr/local zroot/usr/ports 525M 6.19G 280M /usr/ports zroot/usr/ports/distfiles 242M 6.19G 242M /usr/ports/distfiles zroot/usr/ports/packages 2.76M 6.19G 2.76M /usr/ports/packages zroot/usr/src 880M 6.19G 880M /usr/src zroot/var 2.72G 6.19G 1.18G /var zroot/var/crash 19K 6.19G 19K /var/crash zroot/var/db 1.54G 6.19G 1.50G /var/db zroot/var/db/pkg 38.8M 6.19G 38.8M /var/db/pkg zroot/var/empty 19K 6.19G 19K /var/empty zroot/var/log 243K 6.19G 243K /var/log zroot/var/mail 23K 6.19G 23K /var/mail zroot/var/run 30K 6.19G 30K /var/run zroot/var/tmp 171K 6.19G 171K /var/tmp > $ zfs get mountpoint > NAME PROPERTY VALUE SOURCE > zroot mountpoint none received > zroot/ROOT mountpoint none inherited from zroot > zroot/ROOT/default mountpoint none inherited from zroot > zroot/swap mountpoint - - > zroot/tmp mountpoint /tmp received > zroot/usr mountpoint /usr received > zroot/usr/home mountpoint /usr/home inherited from zroot/usr > zroot/usr/local mountpoint /usr/local inherited from zroot/usr > zroot/usr/ports mountpoint /usr/ports inherited from zroot/usr > zroot/usr/ports/distfiles mountpoint /usr/ports/distfiles inherited from zroot/usr > zroot/usr/ports/packages mountpoint /usr/ports/packages inherited from zroot/usr > zroot/usr/src mountpoint /usr/src inherited from zroot/usr > zroot/var mountpoint /var received > zroot/var/crash mountpoint /var/crash inherited from zroot/var > zroot/var/db mountpoint /var/db inherited from zroot/var > zroot/var/db/pkg mountpoint /var/db/pkg inherited from zroot/var > zroot/var/empty mountpoint /var/empty inherited from zroot/var > zroot/var/log mountpoint /var/log inherited from zroot/var > zroot/var/mail mountpoint /var/mail inherited from zroot/var > zroot/var/run mountpoint /var/run inherited from zroot/var > zroot/var/tmp mountpoint /var/tmp inherited from zroot/var The boot environments are managed using beadm: $ beadm list BE Active Mountpoint Space Created default NR / 433.0M 2016-02-10 08:10 I hope the post is not to long ;) Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook From owner-freebsd-questions@freebsd.org Sat Feb 13 13:03:45 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FF3FAA719B for ; Sat, 13 Feb 2016 13:03:45 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) 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 B424A1886 for ; Sat, 13 Feb 2016 13:03:43 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u1DD3ci9054585; Sun, 14 Feb 2016 00:03:39 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 14 Feb 2016 00:03:38 +1100 (EST) From: Ian Smith To: Jan Henrik Sylvester cc: Sergei G , freebsd-questions@freebsd.org Subject: Re: /bin/sh starts with check in script In-Reply-To: <56BE3085.9040505@janh.de> Message-ID: <20160213223711.B51785@sola.nimnet.asn.au> References: <20160213034617.D51785@sola.nimnet.asn.au> <56BE3085.9040505@janh.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 13:03:45 -0000 On Fri, 12 Feb 2016 20:20:37 +0100, Jan Henrik Sylvester wrote: > On 02/12/2016 18:53, Ian Smith wrote: > > In freebsd-questions Digest, Vol 610, Issue 5, Message: 1 > > On Thu, 11 Feb 2016 15:29:22 +0100 Jan Henrik Sylvester wrote: [..] > > > [ "${line#\#}" != "$line" ] && echo comment > > > > > > See the Parameter Expansion section of sh(1). > > > > That looks like it ought to work, but does not here on stable/9; I don't > > think it honours the escaping when expecting a second '#' or other char? > > I am rather curious about this, because I have been using something like > "${line#'#'}" for a long time, but wanted to save a character here. > > I just extracted kernel and base from a 9.3-RELEASE image to a directory > and did a chroot into it, started sh there and tried: > > line='#COMMENT' > [ "${line#\#}" != "$line" ] && echo comment > > It worked. > > I lack the time to set up a proper VM with 9/stable, but I would not > think the kernel mattered. Are you sure it does not work there? What > does A='#C' ; echo "${A#\#}" "${A#'#'}" give on stable/9? Sorry to have put you to that trouble .. turns out I'd done those tests originally on: smithi on t23% uname -mr 8.2-RELEASE i386 smithi on t23% sh $ A='#C' ; echo "${A#\#}" "${A#'#'}" #C #C But you're quite right, these work fine on: smithi@x200:~ % uname -rm 9.3-STABLE amd64 smithi@x200:~ % sh $ A='#C' ; echo "${A#\#}" "${A#'#'}" C C which is surprising; I thought sh(1) was unlikely to have changed in that sort of respect. I have plenty of sh scripts that I run on both boxes and don't recall ever finding an incompatibility between them, but most of them are pretty vanilla in terms of parameter substitutions. > > After some playing, this also finds comment lines that have optional > > whitespace before the first '#', not pinning comments only to column 1, > > while ignoring comments after other text. Not what everybody needs .. > > > > [ ! "`echo ${line%%#*} | tr -d [:blank:]`" ] && echo comment > > > > BUG|FEATURE: if $line is the null string it is taken to be a comment. > > If you have that in a loop for every line in a long file, the process > spawning might take a lot of time. Why not use grep(1), if you do not > care to spawn a process? Of course, you should call grep(1) once first > and then process every line from the output. Indeed; I do like the exercise of doing what's possible in sh(1) though. > Without spawning a process, you might do the same assuming you have not > changed IFS: > > line=${line%%#*} ; [ "$line" = "${line%%[!$IFS]*}" ] && echo comment Yes that works fine (on both!) Also both have the default: $ echo -n "$IFS" | hd 00000000 20 09 0a | ..| 00000003 > Or you do TAB=$(printf '\t') in the beginning and use: or just TAB=' ' works, also on the 8.2 but not the the 9.3 command line (tab completion?). Thanks, always more tricks to learn, though I hardly ever use sh interactively. I do use (in csh) sh -c '..cmds..' but that can get tricky too when you run out of types of quote marks :) > line=${line%%#*} ; [ "$line" = "${line%%[! $TAB]*}" ] && echo comment Yep. The [..] set there is Another syntax I've never used .. > String processing in sh(1) is so much fun... if you want to secure your > job with elegant use of obscurity, you can strip the leading blanks > first and then check for the first character directly: > > line=${line#"${line%%[! $TAB]*}"} > [ "${line%"${line#?}"}" = "#" ] && echo 'line starts with #' That works on both as well, though IFS is already set. But there's definitely a portability issue here, from 8.2 anyway, regarding "${A#\#}" and "${A#'#'}". I wonder if eg 8.4 has that too? > For boring readability you go more along Matthew's solution using case > or you do spawn one grep(1) process. Yes. I still haven't got the difference in sh and grep REs down pat .. and those used in less cmds, which are rather like egrep, but not quite. For sh(1) scripting, there's lots of great tricks in the rc scripts of course, but for the most incredible parsing tricks it's hard to go past Devin Teske's bsdconfig scripts. Thick to the point of opaque, but if you dig a bit there's gold in there - not that I remember much of it :) cheers, Ian From owner-freebsd-questions@freebsd.org Sat Feb 13 22:22:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF014AA70AE for ; Sat, 13 Feb 2016 22:22:04 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::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 3C3441992 for ; Sat, 13 Feb 2016 22:22:04 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id g62so104978696wme.0 for ; Sat, 13 Feb 2016 14:22:04 -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=1Qq7ejC3nCaQ6k+snZiRGV4CsILznMe0prmoXNPoGic=; b=c4ocpzVwXXc+8f2aymkjxCOR8FkLYidFzANRJvQ5L7pFiuRPv9iTgdsv4YlYB5oupK Cli5olwHec3IiGfw7QChJLC1BpyJ4QGWSAeoC2mk0ElaLbd44d6MZ0KbN788/jd9QKrz LInaJpsQdp+gxJc7HTGOpB3bqWUkedT5hkCqmO+cGr9045kKNiLQkXO6NwHNaVtZ+ZSN Tf3s6WPDBsOFavZf3iAuHOWbPdpPfjq6ZERYgPaqRQ9dKUDZ8p32oz7uYjE01oobG6ri 5UMdnGr/+nK1bE2Ufhk4IYTl3gTm9ZGa33zvugxSuWoFC5t47ML0RjIxWXbvpssR/Z89 Eijw== 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=1Qq7ejC3nCaQ6k+snZiRGV4CsILznMe0prmoXNPoGic=; b=iRmqTrqiOgVybK55CHu/NveG8D8I2zAn/phBNmxvNgPAikb4yiBW/8sOvpGET+6Xfa DKL3a+jw3z0i0oNOEfMFcdR8sC13VTqHe4KsSDknxHDIyTKrCaI4Mqx+j4kEt2lqVFRt S8CCvU8ZYiLJYNO7wk4sS/+ZA4kxPzgXoLWOxW8Y7jC8qgSq/Qc3cN17NL2XiOd2gK2D kD1VMO0dAz4Lbx8Rb7Xzsd+AHyXZlgQRaLPZpzz5lTar3H8nsX3PBbETWZ0yUAjIBWNe BUYpR4DgeWwbG74IjHffyJPhjG1EaRQD1DuKtq/fif0oowv4yaJ/sfyLPlUUxYGK264B EKMg== X-Gm-Message-State: AG10YOQ7xF1DO2AHYltPx8NuOdHNeiGGccysCw/aPdKfz0sg9aH709hT+szGHm7FFs3SHVqUa36c+vEFyZM7CQ== MIME-Version: 1.0 X-Received: by 10.194.83.42 with SMTP id n10mr936491wjy.20.1455402121636; Sat, 13 Feb 2016 14:22:01 -0800 (PST) Received: by 10.28.31.77 with HTTP; Sat, 13 Feb 2016 14:22:01 -0800 (PST) In-Reply-To: <56BEEEDE.9000201@fechner.net> References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> <56BCE92B.7030600@fechner.net> <56BEEEDE.9000201@fechner.net> Date: Sat, 13 Feb 2016 22:22:01 +0000 Message-ID: Subject: Re: Switch from legacy to UEFI boot?? From: krad To: Matthias Fechner Cc: =?UTF-8?Q?Trond_Endrest=C3=B8l?= , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 22:22:04 -0000 is the OS you are trying to boot a 10.3 snapshot or stable, or is it 10.2? If 10.2 this maybe the problem as there are other bits in the bootstrap process that need to be updated I think. Try building stable, and put it into a new bootenv, activate it and reboot. Then from beastie select your 10.2 be and see if that works. On 13 February 2016 at 08:52, Matthias Fechner wrote: > Am 12.02.2016 um 08:28 schrieb Trond Endrest=C3=B8l: > > The ESP contains nothing more than the boot1.efi disquised as > > /EFI/BOOT/BOOTX64.EFI, i.e. the contents of the /boot/boot1.efifat > > image. The bootfs property points to zroot/ROOT/default, and > > everything else resides in the zpool. > > > > Somehow your setup is different. > > I will give you as many details as you need to find out why it does not > work. > The FreeBSD is running in an Oracle Virtualbox on windows 10 (version > 5.0.14r105127). I use this version to simulate updates for my real boxes. > > There is a FreeBSD 10.2-RELEASE-p9 installed that is updated using > freebsd-update. > > The zpool consists of two 20GB harddisk switch together as a mirror: > pool: zroot > state: ONLINE > scan: resilvered 8.82G in 0h12m with 0 errors on Wed Feb 10 08:54:53 20= 16 > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > gpt/disk0 ONLINE 0 0 0 > gpt/disk1 ONLINE 0 0 0 > > I resized the zpool to have space for the efi partition (was a little > bit of snapshoting and copying around). > The new layout of both disks is now: > $ gpart show > =3D> 34 41942973 ada0 GPT (20G) > 34 6 - free - (3.0K) > 40 262144 1 efi (128M) > 262184 128 2 freebsd-boot (64K) > 262312 41680688 3 freebsd-zfs (20G) > 41943000 7 - free - (3.5K) > > =3D> 34 41942973 ada1 GPT (20G) > 34 6 - free - (3.0K) > 40 262144 1 efi (128M) > 262184 128 2 freebsd-boot (64K) > 262312 41680688 3 freebsd-zfs (20G) > 41943000 7 - free - (3.5K) > > As you can see, I have legacy and efi partions available so I can boot > uefi and legacy. > > As freebsd10.2 is not able to boot efi I copied the boot1.efi/loader.efi > and GNUSparseFile/boot1.efifat (using dd) to the efi partition. > The efi partition was filled with: > newfs_msdos ada0p1 > mount -t msdosfs /dev/ada0p1 /mnt > mkdir -p /mnt/efi/boot/ > cp boot1.efi /mnt/efi/boot/BOOTx64.efi > mkdir -p /mnt/boot > cat > /mnt/boot/loader.rc << EOF > unload > set currdev=3Dzfs:zroot/ROOT/default: > load boot/kernel/kernel > load boot/kernel/zfs.ko > autoboot > EOF > (cd /mnt && find .) > . > ./efi > ./efi/boot > ./efi/boot/BOOTx64.efi > ./boot > ./boot/loader.rc > umount /mnt > > The same steps are performed on the second disk (but this should make > for these test not a difference I think). > > I tested boot1.efi/loader.efi and the efifat with dd from 10.3-beta1 and > 11, but was only able to boot with the loader.rc in place. The moment I > removed the loader.rc the systems stops on boot prompt and I have to > type the lines from the loader.rc manually to boot the system. > > The bootfs flag is defined: > $ zpool get bootfs > NAME PROPERTY VALUE SOURCE > zroot bootfs zroot/ROOT/default local > > $ zfs list > NAME USED AVAIL REFER MOUNTPOINT > zroot 12.9G 6.19G 19K none > zroot/ROOT 433M 6.19G 19K none > zroot/ROOT/default 433M 6.19G 433M none > zroot/swap 4.13G 10.3G 8K - > zroot/tmp 74.5K 6.19G 74.5K /tmp > zroot/usr 5.68G 6.19G 3.42G /usr > zroot/usr/home 11.2M 6.19G 11.2M /usr/home > zroot/usr/local 895M 6.19G 895M /usr/local > zroot/usr/ports 525M 6.19G 280M /usr/ports > zroot/usr/ports/distfiles 242M 6.19G 242M /usr/ports/distfiles > zroot/usr/ports/packages 2.76M 6.19G 2.76M /usr/ports/packages > zroot/usr/src 880M 6.19G 880M /usr/src > zroot/var 2.72G 6.19G 1.18G /var > zroot/var/crash 19K 6.19G 19K /var/crash > zroot/var/db 1.54G 6.19G 1.50G /var/db > zroot/var/db/pkg 38.8M 6.19G 38.8M /var/db/pkg > zroot/var/empty 19K 6.19G 19K /var/empty > zroot/var/log 243K 6.19G 243K /var/log > zroot/var/mail 23K 6.19G 23K /var/mail > zroot/var/run 30K 6.19G 30K /var/run > zroot/var/tmp 171K 6.19G 171K /var/tmp > > > $ zfs get mountpoint > > NAME PROPERTY VALUE SOURCE > > zroot mountpoint none received > > zroot/ROOT mountpoint none inherited > from zroot > > zroot/ROOT/default mountpoint none inherited > from zroot > > zroot/swap mountpoint - - > > zroot/tmp mountpoint /tmp received > > zroot/usr mountpoint /usr received > > zroot/usr/home mountpoint /usr/home inherited > from zroot/usr > > zroot/usr/local mountpoint /usr/local inherited > from zroot/usr > > zroot/usr/ports mountpoint /usr/ports inherited > from zroot/usr > > zroot/usr/ports/distfiles mountpoint /usr/ports/distfiles inherited > from zroot/usr > > zroot/usr/ports/packages mountpoint /usr/ports/packages inherited > from zroot/usr > > zroot/usr/src mountpoint /usr/src inherited > from zroot/usr > > zroot/var mountpoint /var received > > zroot/var/crash mountpoint /var/crash inherited > from zroot/var > > zroot/var/db mountpoint /var/db inherited > from zroot/var > > zroot/var/db/pkg mountpoint /var/db/pkg inherited > from zroot/var > > zroot/var/empty mountpoint /var/empty inherited > from zroot/var > > zroot/var/log mountpoint /var/log inherited > from zroot/var > > zroot/var/mail mountpoint /var/mail inherited > from zroot/var > > zroot/var/run mountpoint /var/run inherited > from zroot/var > > zroot/var/tmp mountpoint /var/tmp inherited > from zroot/var > > The boot environments are managed using beadm: > $ beadm list > BE Active Mountpoint Space Created > default NR / 433.0M 2016-02-10 08:10 > > I hope the post is not to long ;) > > > Gru=C3=9F > Matthias > > -- > > "Programming today is a race between software engineers striving to > build bigger and better idiot-proof programs, and the universe trying to > produce bigger and better idiots. So far, the universe is winning." -- > Rich Cook > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >