From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 02:47:50 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 893F4927 for ; Sun, 21 Dec 2014 02:47:50 +0000 (UTC) Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44211215D for ; Sun, 21 Dec 2014 02:47:49 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id m20so2237043qcx.31 for ; Sat, 20 Dec 2014 18:47:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=P2AwQItTNBJLHAxUGgeOgp1JoLwDM/VNt9b1X2UjpPY=; b=D1p2v9f9AjiAARLzzp2bXG8v7hxWXOWZ7lzUauxZp/bVvFXQRlXEAzUgapQpFn3oR7 koclNIm1FFJLJSYKLs1gVomRAvc11BRkXaQAn7hQli84knKN7MFtUAQjgIpiIT0ut/mQ Kw9iWISNS41w1xZs4y2DVXIs/RkgWP4vsjym49zkcMYAZCgkbCi2PyokJ1GmVU+ZVHjz jIO72hpA/xHNBXZfaSmzeYK7r4vFN8npCBEwnPtiKXmfL8I0PFkl7N9pWZHCEWnW7iJC 7i3K6VioL4ANhYl1nWNsGBNlvmYwZnzEZwyU+CPbqrDO9o/LBRW5uTUOQc6/5WZgPIqX LJSg== X-Gm-Message-State: ALoCoQnSKAw52IqFp1Mo7fY1klXsYBUWvXVnQSARS2yluJOwQML4Inpgcoxt/91ZFOnYxG8Q05in MIME-Version: 1.0 X-Received: by 10.224.50.75 with SMTP id y11mr26417437qaf.89.1419128757753; Sat, 20 Dec 2014 18:25:57 -0800 (PST) Received: by 10.140.19.17 with HTTP; Sat, 20 Dec 2014 18:25:57 -0800 (PST) In-Reply-To: References: <54941E41.3040807@hiwaay.net> Date: Sat, 20 Dec 2014 21:25:57 -0500 Message-ID: Subject: Re: pkg versions don't match From: Alejandro Imass To: Adam Vande More Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "William A. Mahaffey III" , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 02:47:50 -0000 On Sat, Dec 20, 2014 at 3:20 PM, Adam Vande More wrote: > On Sat, Dec 20, 2014 at 1:57 PM, Alejandro Imass > wrote: >> >> > make that 'pkg update -f' instead .... most options are specific to the >> > command & occur after it .... $0.02 .... >> > >> > -- >> > >> > >> Thanks guys pkg update -f worked and fixed the problem. The handbook >> documentation pkg definitively needs work or there is some other pkg >> hidden >> manual besides the man page and the handbook? > > > I don't know of any hidden ones, but the standard pkg manual has the > customary 'see also' section for more in-depth information. > > Yeah but something doesn't seem quite right here. The option -f "force" to check origin versions seems a bit obscure. If -f is needed for update to actually check remote for update then it should be more prominent. The manual clearly states: pkg update is used for updating the local copy of the repository catalogues from the remote package repository databases. Updates to catalogues are normally downloaded only when the master copy on the remote package repository is newer than the local copy. So it _seems_ that update does not actually check remote pkg repository without the use of -f Assuming -f is needed to go and actually fetch the new versions then when a package is not found on remote, it should be prominent in handbook page, the main man page, or at least hint the user to try -f when "not found". Best, -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 07:25:38 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 239F74D3 for ; Sun, 21 Dec 2014 07:25:38 +0000 (UTC) Received: from the-host.seacom.mu (ge-1.ln-01-jnb.za.seacomnet.com [105.28.96.5]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50DE33829 for ; Sun, 21 Dec 2014 07:25:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=the-host.localnet) by the-host.seacom.mu with esmtp (Exim 4.80.1) (envelope-from ) id 1Y2aTM-0007xJ-Fw; Sun, 21 Dec 2014 08:58:36 +0200 From: Mark Tinka Reply-To: mark.tinka@seacom.mu Organization: SEACOM To: freebsd-questions@freebsd.org Subject: Re: Not sure what this means on 10.1 freebsd-update to 10.1-RELASE-p2 Date: Sun, 21 Dec 2014 08:58:35 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.37.6-24-desktop; KDE/4.6.0; i686; ; ) References: <20141220190411.17338.qmail@ary.lan> In-Reply-To: <20141220190411.17338.qmail@ary.lan> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1620894.fCeBAPBAd2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201412210858.35823.mark.tinka@seacom.mu> Cc: John Levine , reporter@lrckinfo.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 07:25:38 -0000 --nextPart1620894.fCeBAPBAd2 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Saturday, December 20, 2014 09:04:11 PM John Levine=20 wrote: > Known bug. Looks scary but since your root directory was > not empty, it didn't do anything. A detailed report of this issue was posted on "freebsd- announce" on the 18th. Might help to go through that. Mark. --nextPart1620894.fCeBAPBAd2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAABAgAGBQJUlm+bAAoJEGcZuYTeKm+GK+IQALCMGXJuyWztKUW85Q2GZXK6 5DTdalWGhFeM9Pfk+PuxHOQvQB9s8zDEhWAubPHismtTMlPOfMOfBRZgjiPhXYdf xhXMaMo5ObBcHuCQtf6nIOQFhCZUZVyBvtDqvFRs3AJANX9lhDwD+on8mkmLCadV p7GEpFVOxNsz/CiHEzEwcXmz/Ap08cxAiF3Fjc5hP3ayYkHr5Of843xrtIYDBFfn tgSnolclAn83ul9pFHcvimq2pkLGS8s8SwKKUvVXYOoEiu3S7ER+c44RpLP4y9AH hlz+vpQ4jMewNvPNUUU5FJMI5srTYGOU6djiij2TPK+ECfZpxTjphvelfGmEPSef k262BGfJFE8eU6++2NMkQNm/2DDsNy8D5cnadsWLwEcTDOgRbglapJ+232Zyg/Ng 0a75TAAdz+14xBSgDyv4ELbupExTm/geg2VMOjg4E2oBshMiCUrgyb81yCdlACz2 xOeXUZujsm19XaqQN0BOT8TGJ8Yoe0GU1ZnCHSY20ppiAMtKuUIw9pjgNzCU1Odr Ntjlnrei6XWSLQsjv4y0tqh4XcA2tVpHyOu0zn6xElsHrJiyXcq0VgQ3lSU4xyEB TJBQ/8hqAOCFsP8Mpu3Tu7Z8vMPfw5dvMVze9OrK+9kU1Fhjq66ogTv1RHnfG2pb 1a/9ojMSpZdIyGxyZ2nU =2wp9 -----END PGP SIGNATURE----- --nextPart1620894.fCeBAPBAd2-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 10:49:20 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4DD7506 for ; Sun, 21 Dec 2014 10:49:20 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4892F223C for ; Sun, 21 Dec 2014 10:49:20 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id sBLAn9Vn048848 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 21 Dec 2014 10:49:09 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk sBLAn9Vn048848 Authentication-Results: smtp.infracaninophile.co.uk/sBLAn9Vn048848; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral Message-ID: <5496A595.8090702@FreeBSD.org> Date: Sun, 21 Dec 2014 10:48:53 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg versions don't match References: <54941E41.3040807@hiwaay.net> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SUTfFuQmc76uTNaiaR55QvtLdmHHOCSmo" X-Virus-Scanned: clamav-milter 0.98.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 10:49:21 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SUTfFuQmc76uTNaiaR55QvtLdmHHOCSmo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 21/12/2014 02:25, Alejandro Imass wrote: > Yeah but something doesn't seem quite right here. The option -f "force"= to > check origin versions seems a bit obscure. If -f is needed for update t= o > actually check remote for update then it should be more prominent. >=20 > The manual clearly states: >=20 > pkg update is used for updating the local copy of the repository catalo= gues > from the remote package repository databases. Updates to catalogues ar= e > normally downloaded only when the master copy on the remote package > repository is newer than the local copy. >=20 > So it _seems_ that update does not actually check remote pkg repository= > without the use of -f >=20 > Assuming -f is needed to go and actually fetch the new versions then wh= en a > package is not found on remote, it should be prominent in handbook page= , > the main man page, or at least hint the user to try -f when "not found= ". pkg(8) will "update the repo" automatically as part of many different operations. 'pkg update' essentially runs this bit of code alone, without doing any other operations. However, the only way to force the repo to be updated is via 'pkg update' -- everything else just runs the normal update algorithm. When pkg(8) updates the repo, it does a series of things. Firstly it downloads a copy of the repo catalogue -- that's a compressed file of JSON data with selected bits of package metadata for all of the packages in the repo. In order to avoid this resulting in a lot of unnecessary work, pkg(8) basically checks to ensure that the timestamp on the repository catalogue is unchanged using the standard HTTP 304 'Not modified' status code mechanism. If it finds the catalogue hasn't changed since the last time it downloaded it, then it stops there. (The slow step here is downloading the repo catalogue which can be of significant size over a network link of unknown bandwidth -- the 'out of date' check requires minimal network IO and is much faster, while the local processing to load the catalogue into slite is orders of magnitude faster still.) Otherwise, if the catalogue has changed, or there isn't already a local copy, then pkg(8) decompresses the catalogue and processes it into a Sqlite database, which is what all subsequent pkg(8) operations query. What force does is override the 'is the catalogue unchanged from last time' test, so pkg(8) will always download and reprocess the catalogue. Usually this is unnecessary, as there's no point in redownloading exactly the same thing and reprocessing it to produce exactly the same. There is one circumstance when this is not true however: when pkg(8) itself is updated, the schema of the sqlite database may change. The format of the catalogue may similarly change, but it is carefully done to remain backwards compatible with both older and newer versions of pkg(8). Changes to the catalogue format and to the sqlite schemas are mostly handled completely transparently to the user, but occasionally, as in this case, forcing the update is required to populate the new-style repo catalogue. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --SUTfFuQmc76uTNaiaR55QvtLdmHHOCSmo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUlqWkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT+VMQAJEc5rYUCXP0IVCCEP9Hbd5I q/dI3bCIj7QdRBvhYJsKp5ZZaohc3UrgY2SLt8RwdWeQppDO/401uG5N9X+c6BSN v7+3EODYMMk5Wipjy5wAdAVbp3NDKj6o+OvHPd+Qe7XCF+eD3/S4ZTUynRAtGSkB fN8UNU9XSOg+F06wU0BfmSohCUAgksfgzFw/ff5btg7z5PgNDaDoF3RW23ssDlkk V4/ZDZNCfMZCdQv0lUQzDFoYHMKIKrM1HPhx+/boBIKXxtpPj5I9Qj0h8jGrlFZs 9prd5b6HRiUt3bN8udGyD2YiWmpnduo4Hmy7/ovo++MEGs5vD6CJ0zC9CcQB6btH bM9Ne2QVG7xtnzTRjSma1j+8SlXM8jXlGkuKqit73BOmMv2g2zxqRQiPOOiCmj1d R1NXWAcWK6X1ClQ3oTPPl/pJAYl++f1QYTOMa34UMCUPgDQUOezQrU26InXRQD9h EabekcEt4ijdlvKFgMcPsVWd2+5Do1ibZ0oEeYDmV4sl/Sx/Xx9COzOYNc4BliDI PBx+ZEMnUnpBIUDjGRCfN25Zwcehd4l+9gNncAljyqXAqdsVwxG0nJAAcoh0sg0Z 1gZ+Pfi9eCnwMe24/QoVdP7+erNPCF1nlTbJdancZ459cQ/c46Nu65V+whF7nZwr /KiUP+Iu78DwlVwVdCFi =9rHv -----END PGP SIGNATURE----- --SUTfFuQmc76uTNaiaR55QvtLdmHHOCSmo-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 13:15:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93BC488C for ; Sun, 21 Dec 2014 13:15:41 +0000 (UTC) Received: from mail-qc0-f169.google.com (mail-qc0-f169.google.com [209.85.216.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E96F3FBD for ; Sun, 21 Dec 2014 13:15:40 +0000 (UTC) Received: by mail-qc0-f169.google.com with SMTP id w7so2469767qcr.28 for ; Sun, 21 Dec 2014 05:15:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=RSPVki6gE5IsZGrt1Jpf2sFIgk9D0SCJTFXUSTiernY=; b=iHkZT6hTu84jh0i6fvHVNqGu5Z9CFruk9QGfCrE0K/7MaW5O1rgNFEaKw9PN3PZoug qGX02y3lc9cq7u1KQP1CBlD7wCAHEuBOJEUURyvNMe2tqATA3Xwuw8h/nYO5wuDbQKD3 SO89ly7V2AN8tfsKDuI7O/oUlVkrzvWPFFvaB0+hDaOOkck7JdGKIsvRqc2u8Dw+cH8R /Vk7YJPOSJGEWppJ4AdTsBTsr4Jqoi1s3OeWg6PtN2OjeeujNbU2F0K0r1po+6wJ1TiB vYcHrL+nT87MPlKa3CQfFyEnP8RlvWWDmBXZEO0FqccU8ItbYGLf9EbqRl8XNUdRrOJP RGaQ== X-Gm-Message-State: ALoCoQmgtE+hKp13E1Y2COb+Be4Yn5cpjEykTHN3f4lzhG0z16R7Osx0zOda/mSZJEdd1OE3lC3k MIME-Version: 1.0 X-Received: by 10.140.102.13 with SMTP id v13mr27209235qge.68.1419167734299; Sun, 21 Dec 2014 05:15:34 -0800 (PST) Received: by 10.140.19.17 with HTTP; Sun, 21 Dec 2014 05:15:34 -0800 (PST) In-Reply-To: <5496A595.8090702@FreeBSD.org> References: <54941E41.3040807@hiwaay.net> <5496A595.8090702@FreeBSD.org> Date: Sun, 21 Dec 2014 08:15:34 -0500 Message-ID: Subject: Re: pkg versions don't match From: Alejandro Imass To: Matthew Seaman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 13:15:41 -0000 Thanks for the thorough explanation! On Sun, Dec 21, 2014 at 5:48 AM, Matthew Seaman wrote: > On 21/12/2014 02:25, Alejandro Imass wrote: > > Yeah but something doesn't seem quite right here. The option -f "force" > to > > check origin versions seems a bit obscure. If -f is needed for update to > > > [...] > When pkg(8) updates the repo, it does a series of things. Firstly it > downloads a copy of the repo catalogue -- that's a compressed file of > JSON data with selected bits of package metadata for all of the packages > in the repo. In order to avoid this resulting in a lot of unnecessary > work, pkg(8) basically checks to ensure that the timestamp on the > repository catalogue is unchanged using the standard HTTP 304 'Not > modified' status code mechanism. If it finds the catalogue hasn't > changed since the last time it downloaded it, then it stops there. > > This doesn't seem to be working very well or else why did my pkg keep saying it was up to date and yet the packages in remote had clearly changed ? [...] There is one circumstance when this is not true however: when pkg(8) > itself is updated, the schema of the sqlite database may change. The > format of the catalogue may similarly change, but it is carefully done > to remain backwards compatible with both older and newer versions of > pkg(8). Changes to the catalogue format and to the sqlite schemas are > mostly handled completely transparently to the user, but occasionally, > as in this case, forcing the update is required to populate the > new-style repo catalogue. > pkg did not get updated until after I forced pkg update so something else did not work very well at least in my case (timezone issues?). In any case the update process you describe with the metadata did not work. Best, -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 15:14:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48FECA76 for ; Sun, 21 Dec 2014 15:14:46 +0000 (UTC) Received: from forward9l.mail.yandex.net (forward9l.mail.yandex.net [IPv6:2a02:6b8:0:1819::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0661C3FB8 for ; Sun, 21 Dec 2014 15:14:45 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward9l.mail.yandex.net (Yandex) with ESMTP id 5EE15E612C0; Sun, 21 Dec 2014 18:14:42 +0300 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id CE4FE1340752; Sun, 21 Dec 2014 18:14:41 +0300 (MSK) Received: from 78.108.207.60.tel.ru (78.108.207.60.tel.ru [78.108.207.60]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id bMCgpvQ3lX-EftmSfmv; Sun, 21 Dec 2014 18:14:41 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) Message-ID: <5496E3E0.2010409@passap.ru> Date: Sun, 21 Dec 2014 18:14:40 +0300 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Waitman Gobble , "freebsd-questions@freebsd.org" Subject: Re: CUPS printing rastertospl error - troubleshooting References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 15:14:46 -0000 19.12.2014 01:23, Waitman Gobble пишет: > I have a Samsung SCX-3405W connected to USB /dev/ulpt0 > Using the PPD file from Samsung Linux driver. > linux-c6 and necessary libraries installed. > > I'm receiving cupsd filter error, > (/usr/local/libexec/cups/filter/rastertospl) stopped with status 1. > > Running rastertospl from command line does not seem to cause an error. > > log - > https://gist.github.com/waitman/2d047c6e54f0081c98a9 > > # uname -a > FreeBSD blynk.waitman.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r275492: Fri > Dec 5 06:52:11 PST 2014 > waitman@blynk.waitman.net:/usr/obj/usr/src/sys/BLYNK > amd64 > > # ls -lh /usr/local/libexec/cups/filter/rastertospl > -rwxr-xr-x 1 root wheel 88K Dec 18 12:30 > /usr/local/libexec/cups/filter/rastertospl > > Any troubleshooting suggestions appreciated. Downloaded Samsung drivers, copied uld/i386/rastertospl to /usr/local/libexec/cups/filter/ and reproduced your problem. Then I copied uld/i386/libscmssc.so library to /compat/linux/usr/lib/ and resolved it. ;-) THT -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 15:21:17 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D638AD87 for ; Sun, 21 Dec 2014 15:21:17 +0000 (UTC) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 554D920C0 for ; Sun, 21 Dec 2014 15:21:17 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id f15so3101217lbj.41 for ; Sun, 21 Dec 2014 07:21:15 -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=aCCegC8tKLN/umye7muC8tfa6RlLRKEVfHd1W+SSlRc=; b=FqqqoFZIc4ZaeF9XYLRgFdMokV6jzmDIAeQU2arScP0dTHxPwthcvZGGIJyH08m2bn ujpnP2/ruIHTm3F4+A5Co68Vr2e5VRZ94514KPz/IDBFNsg/6ZaEclCF4U4JAASE0jZq eOg82po5nlOJEmuNl8x3yVNBiQ8TPmLe/6ASF4hoy+H0FvGAcR/oQZJVDReibzFocq62 aIiBlRYR2nvXJO4uYbOjPCIFgWo6b04rw2Y8xz7ZZ+aFiNqrzPGZuh89TpE3buaIOAsF IwsQ+0VE0iUfwoPnrGkKC2+a0jYlgBkb4f21/CoUdtwBIOKsjyqniMiTmjqlfUEt0zOj UqLg== MIME-Version: 1.0 X-Received: by 10.152.7.229 with SMTP id m5mr17787246laa.80.1419175275296; Sun, 21 Dec 2014 07:21:15 -0800 (PST) Received: by 10.25.215.212 with HTTP; Sun, 21 Dec 2014 07:21:15 -0800 (PST) In-Reply-To: <5496E3E0.2010409@passap.ru> References: <5496E3E0.2010409@passap.ru> Date: Sun, 21 Dec 2014 07:21:15 -0800 Message-ID: Subject: Re: CUPS printing rastertospl error - troubleshooting From: Waitman Gobble To: Boris Samorodov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 15:21:17 -0000 On Sun, Dec 21, 2014 at 7:14 AM, Boris Samorodov wrote: > 19.12.2014 01:23, Waitman Gobble =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > I have a Samsung SCX-3405W connected to USB /dev/ulpt0 > > Using the PPD file from Samsung Linux driver. > > linux-c6 and necessary libraries installed. > > > > I'm receiving cupsd filter error, > > (/usr/local/libexec/cups/filter/rastertospl) stopped with status 1. > > > > Running rastertospl from command line does not seem to cause an error. > > > > log - > > https://gist.github.com/waitman/2d047c6e54f0081c98a9 > > > > # uname -a > > FreeBSD blynk.waitman.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r275492: > Fri > > Dec 5 06:52:11 PST 2014 > > waitman@blynk.waitman.net:/usr/obj/usr/src/sys/BLYNK > > amd64 > > > > # ls -lh /usr/local/libexec/cups/filter/rastertospl > > -rwxr-xr-x 1 root wheel 88K Dec 18 12:30 > > /usr/local/libexec/cups/filter/rastertospl > > > > Any troubleshooting suggestions appreciated. > > Downloaded Samsung drivers, copied uld/i386/rastertospl to > /usr/local/libexec/cups/filter/ and reproduced your problem. > Then I copied uld/i386/libscmssc.so library to > /compat/linux/usr/lib/ and resolved it. ;-) > > THT > -- > WBR, Boris Samorodov (bsam) > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > Thanks, I appreciate the information. --=20 Waitman Gobble San Jose California USA 510-830-7975 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 15:34:14 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D643F65 for ; Sun, 21 Dec 2014 15:34:14 +0000 (UTC) Received: from l4ms.rz.uni-kiel.de (l4ms.rz.uni-kiel.de [134.245.11.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32DAC21F7 for ; Sun, 21 Dec 2014 15:34:13 +0000 (UTC) Received: from localhost ([127.0.0.1]) by l4ms.rz.uni-kiel.de with esmtp (Exim 4.82) (envelope-from ) id 1Y2iDM-0001nC-Ju for freebsd-questions@freebsd.org; Sun, 21 Dec 2014 16:14:36 +0100 X-Virus-Scanned: by amavisd-new (Uni-Kiel/l4ms-sc) Received: from frontend1.mail.uni-kiel.de ([134.245.12.48]) by l4ms.rz.uni-kiel.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1Y2iDM-0001n0-Fn for freebsd-questions@freebsd.org; Sun, 21 Dec 2014 16:14:36 +0100 Received: from lily.geomar.de ([134.245.222.89]) by frontend1.mail.uni-kiel.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84) (envelope-from ) id 1Y2iDL-0001r2-Rf for freebsd-questions@freebsd.org; Sun, 21 Dec 2014 16:14:36 +0100 Received: from lily.geomar.de (localhost [127.0.0.1]) by lily.geomar.de (8.14.9/8.14.9) with ESMTP id sBLFEZs7056242 for ; Sun, 21 Dec 2014 16:14:35 +0100 (CET) (envelope-from hukriede@lily.geomar.de) Received: (from hukriede@localhost) by lily.geomar.de (8.14.9/8.14.9/Submit) id sBLFEYGW056241; Sun, 21 Dec 2014 16:14:34 +0100 (CET) (envelope-from hukriede) Date: Sun, 21 Dec 2014 16:14:34 +0100 (CET) Message-Id: <201412211514.sBLFEYGW056241@lily.geomar.de> From: Wolfgang Hukriede To: freebsd-questions@freebsd.org Subject: Re: errors from external USB disk 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.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 15:34:14 -0000 El día Fri Feb 28 03:29:04 UTC 2014, Polytropon freebsd at edvax.de escribió: > Probably the disk has exceeded its natural life time. :-) Not necessarily. > You are correct. The firmware maps defective blocks as long as > there are spare blocks available. When the problem starts "bubbling > up" to the I/O subsystem of the OS, it's usually out of spare > blocks, which means that there are more than enough defects. Afaik, the disk doesn't remap the bad sectors unless you're writing to them. Doing otherwise would make the error pass by unnoticed, not a good idea at all. So Matthias was spot-on writing zeroes to the sectors in question. I saved at least one disk this way myself. Greetings, whukriede From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 15:56:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1F787371 for ; Sun, 21 Dec 2014 15:56:47 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:c:538::197]) (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 D3D382B87 for ; Sun, 21 Dec 2014 15:56:46 +0000 (UTC) Received: from mfilter18-d.gandi.net (mfilter18-d.gandi.net [217.70.178.146]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id E05AD41C062 for ; Sun, 21 Dec 2014 16:56:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter18-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter18-d.gandi.net (mfilter18-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id mdem3qVwhseB for ; Sun, 21 Dec 2014 16:56:42 +0100 (CET) X-Originating-IP: 120.60.164.172 Received: from localhost (triband-mum-120.60.164.172.mtnl.net.in [120.60.164.172]) (Authenticated sender: mayuresh@kathe.in) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 8840C41C067 for ; Sun, 21 Dec 2014 16:56:41 +0100 (CET) Date: Sun, 21 Dec 2014 21:26:37 +0530 From: Mayuresh Kathe To: freebsd-questions@freebsd.org Subject: posix has been rendered useless, isn't it? Message-ID: <20141221155635.GA1388@aio> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 15:56:47 -0000 hello, there's a question which i have not been able to find an answer to yet, hence venture to pose here. i have been studying the unix way of doing things, i.e. tool-chaining to combine small programs for accomplishing a solution. but, almost none of today's servers built for any of today's unix-like systems adhere to the unix philosophy. most of them instead, are large applications. does that mean, posix has been rendered useless? if yes, what's the need to have so much support for the posix standard? wouldn't it make more sense to have a components based layer surrounding the kernel? components would be specialized programs designed to accomplish one task, and do it well, and which in turn would communicate with other components over clean and well designed interfaces. yes, this is what exists right now, but somehow, the idea doesn't reach out deep enough. i couldn't find a way to write a c-shell script to create a workable mail server in minimal time. i apologize if i have provoked anyone, it's not my intention, but, it's just frustrating to note that there's so much work being done towards writing more and more server programs, but none of them adhere to the base philosophy of the system for which they are supposedly crafted. it's like, people are writing 'vms' style programs for unix-like systems. that's crazy, isn't it? ~mayuresh From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 16:57:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B80E9EED for ; Sun, 21 Dec 2014 16:57:09 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E7A13307 for ; Sun, 21 Dec 2014 16:57:08 +0000 (UTC) Received: from r56.edvax.de (port-92-195-93-98.dynamic.qsc.de [92.195.93.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 944683CD9F; Sun, 21 Dec 2014 17:56:59 +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 sBLGuwPL003014; Sun, 21 Dec 2014 17:56:59 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 21 Dec 2014 17:56:58 +0100 From: Polytropon To: Mayuresh Kathe Subject: Re: posix has been rendered useless, isn't it? Message-Id: <20141221175658.3d574a88.freebsd@edvax.de> In-Reply-To: <20141221155635.GA1388@aio> References: <20141221155635.GA1388@aio> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 16:57:09 -0000 On Sun, 21 Dec 2014 21:26:37 +0530, Mayuresh Kathe wrote: > i have been studying the unix way of doing things, > i.e. tool-chaining to combine small programs for > accomplishing a solution. A noble goal. > but, almost none of today's servers built for any > of today's unix-like systems adhere to the unix > philosophy. most of them instead, are large > applications. The creation of monolithic applications can be a problem sometimes. It's often being accellerated by GUI paradigms where "one big program" is, often on the basic of object oriented programming (and the typical misunderstandings and misconceptions of that orientation), being "required" - you simply cannot easily apply the UNIX principles here. > does that mean, posix has been rendered useless? > if yes, what's the need to have so much support > for the posix standard? No. Basically, POSIX defines measures and guidelines for programs to be portable on source level in the first place, like: "If a program is compliant to the POSIX standard, it can be compiled on any system that conforms to the POSIX standard without alteration." And "compiled on" often is a requirement for "runs on", even though there might be platform-specific changes. > wouldn't it make more sense to have a components > based layer surrounding the kernel? > components would be specialized programs designed > to accomplish one task, and do it well, and which > in turn would communicate with other components > over clean and well designed interfaces. > yes, this is what exists right now, but somehow, > the idea doesn't reach out deep enough. > i couldn't find a way to write a c-shell script > to create a workable mail server in minimal time. This is because the C shell simply is the wrong tool. UNIX also is about being able to select the suitable tools for your tasks. If a complex task like a mailserver cannot be solved "in one run", split the task into subtasks and chain them to each other. Again, the C shell might not be part of a solution here, because a shell is intended for a different kind of use. Still, the shell can interact with a mail server and the dialog elements it exposes to the user. The "small programs" around a server tend to be the parts that adhere to the UNIX principles, where the server (because of its complexity) doesn't have to. Still server programs _are_ components in the context of the UNIX philosophy. Imagine a "one server" that does everything from one big monolithic program (and worse, from one big, several million lines long source file). That would be terrible. Even complex servers like the Apache web server allow working with modules to add or remove functionality, separating components. > i apologize if i have provoked anyone, it's not > my intention, but, it's just frustrating to note > that there's so much work being done towards > writing more and more server programs, but none > of them adhere to the base philosophy of the > system for which they are supposedly crafted. Servers often are very complex. But today's computers tend to "buffer" the complexity by providing more than sufficient resources. Remember inetd? It was being used to start servers when they needed to be run. Today, the servers are started and left alone, so they deal with their "invocation" on their own. If a server needs to communicate, it provides a communication interface as needed. If we abstract servers to services, those do offer an API for interaction. The more standardized this API is, the better interoperation can be. On the other hand, encapsulation is implemented, so the "inner workings" do not have to be shown in order to allow the interaction. > it's like, people are writing 'vms' style programs > for unix-like systems. > > that's crazy, isn't it? Definitely CRAZY.COM;1. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 17:01:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A9AB2BC for ; Sun, 21 Dec 2014 17:01:16 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A7213896 for ; Sun, 21 Dec 2014 17:01:15 +0000 (UTC) Received: from r56.edvax.de (port-92-195-93-98.dynamic.qsc.de [92.195.93.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 251CF3CDA7; Sun, 21 Dec 2014 18:01:14 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id sBLH1DtB003043; Sun, 21 Dec 2014 18:01:13 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 21 Dec 2014 18:01:13 +0100 From: Polytropon To: Boris Samorodov Subject: Re: CUPS printing rastertospl error - troubleshooting Message-Id: <20141221180113.fff4858f.freebsd@edvax.de> In-Reply-To: <5496E3E0.2010409@passap.ru> References: <5496E3E0.2010409@passap.ru> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 17:01:16 -0000 On Sun, 21 Dec 2014 18:14:40 +0300, Boris Samorodov wrote: > Downloaded Samsung drivers, copied uld/i386/rastertospl to > /usr/local/libexec/cups/filter/ and reproduced your problem. > Then I copied uld/i386/libscmssc.so library to > /compat/linux/usr/lib/ and resolved it. ;-) I did something comparable some time ago to get a HP Deskjet F380 inkpee printer + scanner and a Canon Lasershot LBP-1120 working - both crappy USB devices. Copying and symlinking files in and out of /compat/linux/ and launching "daemons" (via /etc/rc.local) for pipeline-processing data through CUPS were among the dirty tricks required. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 17:33:19 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6024A74 for ; Sun, 21 Dec 2014 17:33:19 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58F093E89 for ; Sun, 21 Dec 2014 17:33:19 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-58.adsl.hiwaay.net [216.180.19.58]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id sBLHXC3E011000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 21 Dec 2014 11:33:12 -0600 Message-ID: <549705CE.1050108@hiwaay.net> Date: Sun, 21 Dec 2014 11:39:26 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org Subject: Re: posix has been rendered useless, isn't it? References: <20141221155635.GA1388@aio> <20141221175658.3d574a88.freebsd@edvax.de> In-Reply-To: <20141221175658.3d574a88.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 17:33:19 -0000 On 12/21/14 10:56, Polytropon wrote: > On Sun, 21 Dec 2014 21:26:37 +0530, Mayuresh Kathe wrote: >> i have been studying the unix way of doing things, >> i.e. tool-chaining to combine small programs for >> accomplishing a solution. > A noble goal. > > > >> but, almost none of today's servers built for any >> of today's unix-like systems adhere to the unix >> philosophy. most of them instead, are large >> applications. > The creation of monolithic applications can be a > problem sometimes. It's often being accellerated > by GUI paradigms where "one big program" is, often > on the basic of object oriented programming (and > the typical misunderstandings and misconceptions > of that orientation), being "required" - you simply > cannot easily apply the UNIX principles here. > Correctly applied OOP is (kinda) an extension of the UNIX philosophy .... Well designed/documented/implemented objects can be assembled into useful (compiled) programs readily & quickly. Incorrectly applied, or crappy objects & you have a mess .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 18:21:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 317D2BC4 for ; Sun, 21 Dec 2014 18:21:18 +0000 (UTC) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:c:538::195]) (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 E44F92C98 for ; Sun, 21 Dec 2014 18:21:17 +0000 (UTC) Received: from mfilter23-d.gandi.net (mfilter23-d.gandi.net [217.70.178.151]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id A78BAA80B0; Sun, 21 Dec 2014 19:21:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter23-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter23-d.gandi.net (mfilter23-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id slJkqc845gLn; Sun, 21 Dec 2014 19:21:13 +0100 (CET) X-Originating-IP: 120.60.176.93 Received: from localhost (triband-mum-120.60.176.93.mtnl.net.in [120.60.176.93]) (Authenticated sender: mayuresh@kathe.in) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 499CDA80AD; Sun, 21 Dec 2014 19:21:11 +0100 (CET) Date: Sun, 21 Dec 2014 23:51:09 +0530 From: Mayuresh Kathe To: "William A. Mahaffey III" Subject: Re: posix has been rendered useless, isn't it? Message-ID: <20141221182108.GA860@aio> References: <20141221155635.GA1388@aio> <20141221175658.3d574a88.freebsd@edvax.de> <549705CE.1050108@hiwaay.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <549705CE.1050108@hiwaay.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 18:21:18 -0000 On Sun, Dec 21, 2014 at 11:39:26AM -0600, William A. Mahaffey III wrote: > On 12/21/14 10:56, Polytropon wrote: > > On Sun, 21 Dec 2014 21:26:37 +0530, Mayuresh Kathe wrote: > >> i have been studying the unix way of doing things, > >> i.e. tool-chaining to combine small programs for > >> accomplishing a solution. > > A noble goal. > > > > > > > >> but, almost none of today's servers built for any > >> of today's unix-like systems adhere to the unix > >> philosophy. most of them instead, are large > >> applications. > > The creation of monolithic applications can be a > > problem sometimes. It's often being accellerated > > by GUI paradigms where "one big program" is, often > > on the basic of object oriented programming (and > > the typical misunderstandings and misconceptions > > of that orientation), being "required" - you simply > > cannot easily apply the UNIX principles here. > > > > Correctly applied OOP is (kinda) an extension of the UNIX philosophy > .... Well designed/documented/implemented objects can be assembled into > useful (compiled) programs readily & quickly. Incorrectly applied, or > crappy objects & you have a mess .... > somehow, tightly coupled 'oop' implementations, eg. c++, ada, etc. don't feel like an extension of the unix philosophy, infact, they give a feel of being at the opposite end, the 'vms' philosophy. on the other hand, loosely coupled 'oop' implementations, eg. obj-c, java, etc. are quite in tune with the unix philosophy, of having each object doing it's job and doing it well, and communicating with other objects by passing messages. in that case, would you say that tightly coupled 'oop' systems exhibit incorrect application of 'oop'? apologies about veering off the list topic, but, i am working through the design for a combination of compiled, loosely coupled objects using any language, working across architectures and over heterogenous networks. and yes, that system is a far cry from being called 'oop'. would such a system, in theory, be made to run atop the freebsd kernel and do away with the 'posix' layer? yes, but the question is whether it would get accepted by the community at large. ~mayuresh From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 18:33:50 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58750CDB for ; Sun, 21 Dec 2014 18:33:50 +0000 (UTC) Received: from forward4l.mail.yandex.net (forward4l.mail.yandex.net [IPv6:2a02:6b8:0:1819::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 14E762DF4 for ; Sun, 21 Dec 2014 18:33:49 +0000 (UTC) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward4l.mail.yandex.net (Yandex) with ESMTP id D80C11440CD6; Sun, 21 Dec 2014 21:33:36 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 5BE07DE3113; Sun, 21 Dec 2014 21:33:36 +0300 (MSK) Received: from 78.108.207.60.tel.ru (78.108.207.60.tel.ru [78.108.207.60]) by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id VgLybS7Xjk-XZl8TaNm; Sun, 21 Dec 2014 21:33:35 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) Message-ID: <5497127F.7090708@passap.ru> Date: Sun, 21 Dec 2014 21:33:35 +0300 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Polytropon Subject: Re: CUPS printing rastertospl error - troubleshooting References: <5496E3E0.2010409@passap.ru> <20141221180113.fff4858f.freebsd@edvax.de> In-Reply-To: <20141221180113.fff4858f.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 18:33:50 -0000 21.12.2014 20:01, Polytropon пишет: > On Sun, 21 Dec 2014 18:14:40 +0300, Boris Samorodov wrote: >> Downloaded Samsung drivers, copied uld/i386/rastertospl to >> /usr/local/libexec/cups/filter/ and reproduced your problem. >> Then I copied uld/i386/libscmssc.so library to >> /compat/linux/usr/lib/ and resolved it. ;-) > > I did something comparable some time ago to get > a HP Deskjet F380 inkpee printer + scanner and > a Canon Lasershot LBP-1120 working - both crappy > USB devices. Copying and symlinking files in and > out of /compat/linux/ and launching "daemons" (via > /etc/rc.local) for pipeline-processing data through > CUPS were among the dirty tricks required. :-) Hm. I use all types of Epson printers with Linux drivers: . USB-only via LAN (L800 connected to D-Link DPR-1061); . via WiFi (m105); . via LAN (Stylus PRO 4900); and I'd never had troubles you've mentioned. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 18:49:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE45DF5F for ; Sun, 21 Dec 2014 18:49:41 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 631562F98 for ; Sun, 21 Dec 2014 18:49:40 +0000 (UTC) Received: from r56.edvax.de (port-92-195-93-98.dynamic.qsc.de [92.195.93.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 0EF5D3CDEC; Sun, 21 Dec 2014 19:49: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 sBLInbcK003644; Sun, 21 Dec 2014 19:49:37 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 21 Dec 2014 19:49:37 +0100 From: Polytropon To: Mayuresh Kathe Subject: Re: posix has been rendered useless, isn't it? Message-Id: <20141221194937.aebe7233.freebsd@edvax.de> In-Reply-To: <20141221182108.GA860@aio> References: <20141221155635.GA1388@aio> <20141221175658.3d574a88.freebsd@edvax.de> <549705CE.1050108@hiwaay.net> <20141221182108.GA860@aio> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "William A. Mahaffey III" , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 18:49:41 -0000 On Sun, 21 Dec 2014 23:51:09 +0530, Mayuresh Kathe wrote: > On Sun, Dec 21, 2014 at 11:39:26AM -0600, William A. Mahaffey III wrote: > > On 12/21/14 10:56, Polytropon wrote: > > > On Sun, 21 Dec 2014 21:26:37 +0530, Mayuresh Kathe wrote: > > >> i have been studying the unix way of doing things, > > >> i.e. tool-chaining to combine small programs for > > >> accomplishing a solution. > > > A noble goal. > > > > > > > > > > > >> but, almost none of today's servers built for any > > >> of today's unix-like systems adhere to the unix > > >> philosophy. most of them instead, are large > > >> applications. > > > The creation of monolithic applications can be a > > > problem sometimes. It's often being accellerated > > > by GUI paradigms where "one big program" is, often > > > on the basic of object oriented programming (and > > > the typical misunderstandings and misconceptions > > > of that orientation), being "required" - you simply > > > cannot easily apply the UNIX principles here. > > > > > > > Correctly applied OOP is (kinda) an extension of the UNIX philosophy > > .... Well designed/documented/implemented objects can be assembled into > > useful (compiled) programs readily & quickly. Incorrectly applied, or > > crappy objects & you have a mess .... > > > > somehow, tightly coupled 'oop' implementations, eg. c++, ada, etc. > don't feel like an extension of the unix philosophy, infact, they > give a feel of being at the opposite end, the 'vms' philosophy. > on the other hand, loosely coupled 'oop' implementations, eg. obj-c, > java, etc. are quite in tune with the unix philosophy, of having > each object doing it's job and doing it well, and communicating with > other objects by passing messages. > > in that case, would you say that tightly coupled 'oop' systems > exhibit incorrect application of 'oop'? I would not insist on attributing that to a specific OO language. As with most languages, which are tools, they can be used properly (solving a problem and reaching a goal), as well as improperly (creating a mess, bloat, incorrect programs, equivalents of spaghetti code and so on). Especially in the realm of "enterprise software", you often see all the downsides of OO crammed into one "business solution", traditionally written in Java or C#. Some OO languages seem to encourage bad programming behaviour as well as wrong design decisions which then have to be carried out by code monkeys. Luckily, you can still follow UNIX principles with well-written OO programs and wise design decisions - you just don't find them in the "enterprise world" very often. Another problem that's not just resticted to OO, but often found in programs implemented in a OO language, is the accumulation of layers of abstraction, the recursive relying on libraries. If you're not familiar with what I try to show as an example of "how not to do it", visit "The Daily WTF" and see the "Code Snippet of the Day": http://thedailywtf.com/series/code-sod There, where less brain is involved, often is where the big money is. ;-) However, I didn't want to say that OO is something bad per se. It has its places and advantages, but like all tools, there's no "one size fits all" kind of solution. In my opinion, the language for implementation does not matter so much, but the implementation itself does. Of course, Java requires a specific bytecode interpreter as an additional layer, whereas programs that compile to native machine code do not need this. The problem that the resulting machine code is machine and OS dependent can be fought with POSIX - compilation is possible on other POSIX systems. > apologies about veering off the list topic, but, i am working through > the design for a combination of compiled, loosely coupled objects using > any language, working across architectures and over heterogenous > networks. and yes, that system is a far cry from being called 'oop'. You're aiming very high - but don't understand this as a try of saying "you're doing something impossible". I whish more programmers would try to write programs and modules that can be easily combined and connected, and being _used_ on many platforms without source code alteration. > would such a system, in theory, be made to run atop the freebsd kernel > and do away with the 'posix' layer? yes, but the question is whether > it would get accepted by the community at large. POSIX isn't a layer, it's a set of specifications which is implemented in certain parts of the system, for example, the shell ("POSIX shell") or the system's standard C library ("POSIX library"). Getting rid of them would make interoperation and compatibility very complicated. A partial re-implementation of POSIX requirements is, in my opinion, worse than no imple- mentation at all, stating "this system is not POSIX- compatible" instead of claiming it is (or for the programmer, assuming it was). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 19:49:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 386AABEF for ; Sun, 21 Dec 2014 19:49:56 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05C893C60 for ; Sun, 21 Dec 2014 19:49:56 +0000 (UTC) Received: from dutch.freebsd.net ([172.15.184.248]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0Mbgax-1YJ4RM0CCj-00J6ed for ; Sun, 21 Dec 2014 20:49:49 +0100 Message-ID: <5497245B.8060105@gmx.us> Date: Sun, 21 Dec 2014 14:49:47 -0500 From: Dutch Ingraham User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Location of Prior Distfiles Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:MHvOP70feUyInlgpDqqUNFJ3ovNUEGjxSCdWnH27WSS/Lu8nxe9 gGtxPdGHP2vaVAnGZWneD2oAdV38mkD3Pe0UvL+S1P18PKQbTehvInE2xkTerJ1WWY8IB2N WkQBhpX3VCUgoWoHq1H3T8N0k8wl1+7IwnszT2WeYBsdHNchEsWFgchAPH9FpLsBd1PctyJ 3u4pkISbrLIP4NN94CG/g== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 19:49:56 -0000 Hello: I'm trying to locate the web cache of the most recent older distfiles for testing purposes. For example, if I wanted to test the prior two versions of cairo that were available for 10.0-RELEASE, where are they kept, if at all? I have checked here [1], but these are VERY old. I have also checked here [2], but the redirect address [3] gives a 403 - Forbidden (and I think this only contains the most current version anyway). I was thinking Freshports, but I don't see an archive there, either. Thanks for your help. [1] http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/distfiles/ [2] ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ [3] http://distcache.FreeBSD.org/ports-distfiles/ From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 22:11:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 654C021D for ; Sun, 21 Dec 2014 22:11:28 +0000 (UTC) Received: from filter01.peakinternet.com (filter01.peakinternet.com [207.55.16.92]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B2193E77 for ; Sun, 21 Dec 2014 22:11:28 +0000 (UTC) Received: from zmail-mta01.peak.org ([207.55.16.111]) by filter01.peakinternet.com ({e1c81c21-e4c4-4528-aa90-7a27869c545a}) via TCP (outbound) with ESMTPS id 20141221220805147 for ; Sun, 21 Dec 2014 22:08:05 +0000 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta01.peak.org (localhost [127.0.0.1]) by zmail-mta01.peak.org (Postfix) with ESMTPS id D89521B41A3 for ; Sun, 21 Dec 2014 14:08:03 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zmail-mta01.peak.org (Postfix) with ESMTP id CB12A1B41C0 for ; Sun, 21 Dec 2014 14:08:03 -0800 (PST) Received: from zmail-mta01.peak.org ([127.0.0.1]) by localhost (zmail-mta01.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 71Fej0GDHN4M for ; Sun, 21 Dec 2014 14:08:03 -0800 (PST) Received: from mailproxy-lb-06.peak.org (mailproxy-lb-06.peak.org [207.55.17.96]) by zmail-mta01.peak.org (Postfix) with ESMTP id 977841B41A3 for ; Sun, 21 Dec 2014 14:08:03 -0800 (PST) Received: from carlj by elk.localnet with local (Exim 4.80) (envelope-from ) id 1Y2ofS-0005WP-DK for freebsd-questions@freebsd.org; Sun, 21 Dec 2014 14:08:02 -0800 From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Running X11 in a VirtualBox VM Mail-Followup-To: freebsd-questions@freebsd.org Date: Sun, 21 Dec 2014 14:08:02 -0800 Message-ID: <87lhm0y7ul.fsf@elk.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 22:11:28 -0000 I had been running X11 inside of a FreeBSD VM under VirtualBox, but it refuses to run after the last upgrade a few days ago. The only error is that it can't open /usr/local/lib/dri/vboxvideo_dri.so. The file doesn't exist so that isn't surprising, but why is it necessary now? I don't really expect high performance, but I want something to run for testing. I did try booting the same system onto hardware and it ran fine with my Radeon card. The video drivers include xf86-video-vesa, but it insists on trying to run the vboxvideo driver that doesn't exist. I did try booting with vboxguest and vboxservice disabled, but there was no change. The system is FreeBSD 10.1-RELEASE and here are a few of the possibly relevant packages: virtualbox-ose-additions-4.3.20_1 xf86-video-ati-7.5.0 xf86-video-vesa-2.3.3_4 xorg-7.7_1 xorg-drivers-7.7_2 Is there some way to run this with software rendering? Please let me know if there is more information needed. Thanks for any ideas. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 22:25:44 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9702044F for ; Sun, 21 Dec 2014 22:25:44 +0000 (UTC) Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B9CF3FCD for ; Sun, 21 Dec 2014 22:25:44 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id c9so2664724qcz.38 for ; Sun, 21 Dec 2014 14:25:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Qur76O5ZOJA1etVDDiB38yd+nr+UizTr+tUEnOcm6Xg=; b=kwNfiCCmeQqx1m8i2iWH8z9lD/bZolkrUDteKrrUTy2BWLXVDtfYi6vtbxo0V+Pc9z nMOSlGCdnJ1Gq3NRLMtSofO3A6pQbx+k05jbWlrrrdHUiExoff1J4AHAMEOffwCCunGL 9hNgMJUwnoguda1K6jn22DSTmQY3NISlXD31a2Le+4e5fDhei4Uj/WNmxJ6TkKJ7u4bA rHBx3genSZL9fXVzd+Exe+vjW79r+PFhnwayzX53oBAaKGKm+SZPUVKTcVFs8xGk/J1J 2F7ISzE1kwQ+MgwtTMbxTEgQsiqvONdFPtNkNOOYU+tENBvumUrgv+Mrv9MqnOnyPKb2 I4XA== X-Received: by 10.229.196.70 with SMTP id ef6mr31968509qcb.31.1419200743468; Sun, 21 Dec 2014 14:25:43 -0800 (PST) Received: from smaug.zep.net (pool-173-73-156-117.washdc.fios.verizon.net. [173.73.156.117]) by mx.google.com with ESMTPSA id g44sm15007741qgd.27.2014.12.21.14.25.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Dec 2014 14:25:42 -0800 (PST) Message-ID: <549748E5.4010702@gmail.com> Date: Sun, 21 Dec 2014 17:25:41 -0500 From: zep User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Running X11 in a VirtualBox VM References: <87lhm0y7ul.fsf@elk.localnet> In-Reply-To: <87lhm0y7ul.fsf@elk.localnet> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 22:25:44 -0000 On 12/21/2014 05:08 PM, Carl Johnson wrote: > I had been running X11 inside of a FreeBSD VM under VirtualBox, but it > refuses to run after the last upgrade a few days ago. The only error i= s > that it can't open /usr/local/lib/dri/vboxvideo_dri.so. The file > doesn't exist so that isn't surprising, but why is it necessary now? I= > don't really expect high performance, but I want something to run for > testing. I did try booting the same system onto hardware and it ran > fine with my Radeon card. The video drivers include xf86-video-vesa, > but it insists on trying to run the vboxvideo driver that doesn't exist= =2E > I did try booting with vboxguest and vboxservice disabled, but there wa= s > no change. =20 > > The system is FreeBSD 10.1-RELEASE and here are a few of the possibly > relevant packages: > virtualbox-ose-additions-4.3.20_1 > xf86-video-ati-7.5.0 > xf86-video-vesa-2.3.3_4 > xorg-7.7_1 > xorg-drivers-7.7_2 > > Is there some way to run this with software rendering? Please let me > know if there is more information needed. Thanks for any ideas. "after upgrade"? who/which/what did you upgrade? if you upgraded the virtualbox version on the host (the 'host' being the machine that provides resources for the 'guest' VMs [sorry, that's not meant to be downspeak, I just don't know if we'd be using the same terms for things]) then you likely need the virtualbox extensions installed to match your current version of virtualbox, if you updated the guest's kernel, then in my experience you'll need to once again install the VB additions (I normally install from the iso file included with virtualbox, I've never dealt with vb additions from the freebsd ports). --=20 public gpg key id: AE60F64C From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 22:56:06 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA835641 for ; Sun, 21 Dec 2014 22:56:06 +0000 (UTC) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFE762A77 for ; Sun, 21 Dec 2014 22:56:06 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id v10so4649477pde.40 for ; Sun, 21 Dec 2014 14:56:00 -0800 (PST) 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 :mime-version:subject:message-id:date:to; bh=+1cZb6ckBKg4ZdTiH9ClhzBi/+xTk3V/7z169CMh3nk=; b=UOCy2JU92Vwwh2e36cJKFwlwz8QQITPjHwSdScclEvOXZs+Q8qz3EDrYL8ccFPsS6M rHeGQDEKnkg83SItsE3O+u0EW+QJT/xuFiCldXFfy11IQYBpoQM4+giHJjF7JAI7rhOm KXh0hlLTMwsYQz9RmrOUbQ54gDKQBOKJaOB3rgN+nUNCDydFbIE7BvvsUFs88LYmx57J V/XAoRelGtvONVtEqy2ce3DaSn9JTACAD7KAouBgKHCrCdx02y1f2QSWK4bQ9ld76q10 M+3dwK8lcyLFFG25AiLP9aWOegfgcf2RjUTs0P8v71RubodCnj9vrqB67BbXROsVWum6 evbQ== X-Gm-Message-State: ALoCoQlZJZfTHC2PPUQIuCygvnyUO9C0Ierib6EmeaqACxLT8ZvJSwyqKBeE2/UDwiJKXY9CG7Lo X-Received: by 10.68.190.103 with SMTP id gp7mr30596331pbc.55.1419202560767; Sun, 21 Dec 2014 14:56:00 -0800 (PST) Received: from [192.168.1.4] (220-244-182-21.static.tpgi.com.au. [220.244.182.21]) by mx.google.com with ESMTPSA id pr3sm15053861pbb.37.2014.12.21.14.55.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Dec 2014 14:55:59 -0800 (PST) From: Anders Jensen-Waud Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: FreeBSD wifi usb dongle acting as wireless AP Message-Id: <5FB29D10-B4C6-4C92-9522-CB9B904787EF@jensenwaud.com> Date: Mon, 22 Dec 2014 09:55:52 +1100 To: "freebsd-questions@freebsd.org" X-Mailer: iPhone Mail (12B440) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 22:56:06 -0000 Hello I am looking for a wifi usb dongle, which is capable of operating in ap mode= on FreeBSD/amd64. My goal is to set up a micro pc as a wireless access poin= t at home. Any suggestions for hardware before I go out and buy one?=20 Thanks Anders=20 Sent from my iPhone= From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 02:06:29 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 70170873 for ; Mon, 22 Dec 2014 02:06:29 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:c:538::196]) (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 206DE303D for ; Mon, 22 Dec 2014 02:06:28 +0000 (UTC) Received: from mfilter20-d.gandi.net (mfilter20-d.gandi.net [217.70.178.148]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id BA7CF172070; Mon, 22 Dec 2014 03:06:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter20-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter20-d.gandi.net (mfilter20-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id P4H5RjzoaUU7; Mon, 22 Dec 2014 03:01:26 +0100 (CET) X-Originating-IP: 120.60.157.47 Received: from localhost (triband-mum-120.60.157.47.mtnl.net.in [120.60.157.47]) (Authenticated sender: mayuresh@kathe.in) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 10855172077; Mon, 22 Dec 2014 03:01:24 +0100 (CET) Date: Mon, 22 Dec 2014 07:31:22 +0530 From: Mayuresh Kathe To: Polytropon Subject: Re: posix has been rendered useless, isn't it? Message-ID: <20141222020121.GA848@aio> References: <20141221155635.GA1388@aio> <20141221175658.3d574a88.freebsd@edvax.de> <549705CE.1050108@hiwaay.net> <20141221182108.GA860@aio> <20141221194937.aebe7233.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141221194937.aebe7233.freebsd@edvax.de> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "William A. Mahaffey III" , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 02:06:29 -0000 On Sun, Dec 21, 2014 at 07:49:37PM +0100, Polytropon wrote: > On Sun, 21 Dec 2014 23:51:09 +0530, Mayuresh Kathe wrote: > > On Sun, Dec 21, 2014 at 11:39:26AM -0600, William A. Mahaffey III wrote: > > > On 12/21/14 10:56, Polytropon wrote: > > > > On Sun, 21 Dec 2014 21:26:37 +0530, Mayuresh Kathe wrote: > > > >> i have been studying the unix way of doing things, > > > >> i.e. tool-chaining to combine small programs for > > > >> accomplishing a solution. > > > > A noble goal. > > > > > > > > > > > > > > > >> but, almost none of today's servers built for any > > > >> of today's unix-like systems adhere to the unix > > > >> philosophy. most of them instead, are large > > > >> applications. > > > > The creation of monolithic applications can be a > > > > problem sometimes. It's often being accellerated > > > > by GUI paradigms where "one big program" is, often > > > > on the basic of object oriented programming (and > > > > the typical misunderstandings and misconceptions > > > > of that orientation), being "required" - you simply > > > > cannot easily apply the UNIX principles here. > > > > > > > > > > Correctly applied OOP is (kinda) an extension of the UNIX philosophy > > > .... Well designed/documented/implemented objects can be assembled into > > > useful (compiled) programs readily & quickly. Incorrectly applied, or > > > crappy objects & you have a mess .... > > > > > > > somehow, tightly coupled 'oop' implementations, eg. c++, ada, etc. > > don't feel like an extension of the unix philosophy, infact, they > > give a feel of being at the opposite end, the 'vms' philosophy. > > on the other hand, loosely coupled 'oop' implementations, eg. obj-c, > > java, etc. are quite in tune with the unix philosophy, of having > > each object doing it's job and doing it well, and communicating with > > other objects by passing messages. > > > > in that case, would you say that tightly coupled 'oop' systems > > exhibit incorrect application of 'oop'? > > I would not insist on attributing that to a specific > OO language. As with most languages, which are tools, > they can be used properly (solving a problem and > reaching a goal), as well as improperly (creating > a mess, bloat, incorrect programs, equivalents of > spaghetti code and so on). Especially in the realm > of "enterprise software", you often see all the > downsides of OO crammed into one "business solution", > traditionally written in Java or C#. Some OO languages > seem to encourage bad programming behaviour as well > as wrong design decisions which then have to be > carried out by code monkeys. Luckily, you can still > follow UNIX principles with well-written OO programs > and wise design decisions - you just don't find them > in the "enterprise world" very often. would you be in a position to suggest ways in which one could have a c++ program follow unix principles? yeah, you could just write a set of tools and utilities which can communicate via a text stream and hence can be toolchained, but then, c++ ends up becoming nothing more than a better c (which is what it was originally designed for), i.e. without using a object hierarchy. > Another problem that's not just resticted to OO, but > often found in programs implemented in a OO language, > is the accumulation of layers of abstraction, the > recursive relying on libraries. > > If you're not familiar with what I try to show as an > example of "how not to do it", visit "The Daily WTF" > and see the "Code Snippet of the Day": > > http://thedailywtf.com/series/code-sod > > There, where less brain is involved, often is where > the big money is. ;-) this has to be funniest quote i have read. so very true. :) > However, I didn't want to say that OO is something > bad per se. It has its places and advantages, but > like all tools, there's no "one size fits all" kind > of solution. > > In my opinion, the language for implementation does > not matter so much, but the implementation itself does. > Of course, Java requires a specific bytecode interpreter > as an additional layer, whereas programs that compile > to native machine code do not need this. The problem > that the resulting machine code is machine and OS > dependent can be fought with POSIX - compilation is > possible on other POSIX systems. yes, i agree, posix does bring in those advantages. > > apologies about veering off the list topic, but, i am working through > > the design for a combination of compiled, loosely coupled objects using > > any language, working across architectures and over heterogenous > > networks. and yes, that system is a far cry from being called 'oop'. > > You're aiming very high - but don't understand this as > a try of saying "you're doing something impossible". > I whish more programmers would try to write programs > and modules that can be easily combined and connected, > and being _used_ on many platforms without source code > alteration. actually, i have been working to solve this problem for the past 2 years. been studying various systems approaches including the tiny virtual machine one (as in java), but it's only now that i have started to gain clarity about a possible, native components based solution. should take me another 18 months to get ready to present my ideas (coherently) to a wider audience. then, would this be the right forum? > > would such a system, in theory, be made to run atop the freebsd kernel > > and do away with the 'posix' layer? yes, but the question is whether > > it would get accepted by the community at large. > > POSIX isn't a layer, it's a set of specifications which > is implemented in certain parts of the system, for > example, the shell ("POSIX shell") or the system's > standard C library ("POSIX library"). Getting rid of > them would make interoperation and compatibility very > complicated. A partial re-implementation of POSIX > requirements is, in my opinion, worse than no imple- > mentation at all, stating "this system is not POSIX- > compatible" instead of claiming it is (or for the > programmer, assuming it was). i am looking to eliminate exactly those things like; shell, toolkits and library derived from the posix specification. i don't have any personal animosity towards posix, just that i find it to be either an overkill, or unnecessity for my kind of design. my biggest problem was in trying to find a compiler infrastructure, but i believe, 'llvm' does give me all that, and that too in a way i expected to get. best, ~mayuresh From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 03:00:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22D87EB6 for ; Mon, 22 Dec 2014 03:00:58 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C56CD3E91 for ; Mon, 22 Dec 2014 03:00:57 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBM30njw037884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 21 Dec 2014 20:00:50 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBM30nWE037881; Sun, 21 Dec 2014 20:00:49 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 21 Dec 2014 20:00:49 -0700 (MST) From: Warren Block To: Carl Johnson Subject: Re: Running X11 in a VirtualBox VM In-Reply-To: <87lhm0y7ul.fsf@elk.localnet> Message-ID: References: <87lhm0y7ul.fsf@elk.localnet> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 21 Dec 2014 20:00:50 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 03:00:58 -0000 On Sun, 21 Dec 2014, Carl Johnson wrote: > I had been running X11 inside of a FreeBSD VM under VirtualBox, but it > refuses to run after the last upgrade a few days ago. The only error is > that it can't open /usr/local/lib/dri/vboxvideo_dri.so. The file > doesn't exist so that isn't surprising, but why is it necessary now? I > don't really expect high performance, but I want something to run for > testing. I did try booting the same system onto hardware and it ran > fine with my Radeon card. The video drivers include xf86-video-vesa, > but it insists on trying to run the vboxvideo driver that doesn't exist. > I did try booting with vboxguest and vboxservice disabled, but there was > no change. > > The system is FreeBSD 10.1-RELEASE and here are a few of the possibly > relevant packages: > virtualbox-ose-additions-4.3.20_1 > xf86-video-ati-7.5.0 > xf86-video-vesa-2.3.3_4 > xorg-7.7_1 > xorg-drivers-7.7_2 > > Is there some way to run this with software rendering? Please let me > know if there is more information needed. Thanks for any ideas. I had to add this line to ServerLayout: Section "ServerLayout" Option "AIGLX" "Off" # disable AIGLX for VirtualBox Additions EndSection From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 03:07:36 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 349E3238 for ; Mon, 22 Dec 2014 03:07:36 +0000 (UTC) Received: from webmail2.jnielsen.net (webmail2.jnielsen.net [50.114.224.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "webmail2.jnielsen.net", Issuer "freebsdsolutions.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1287028E9 for ; Mon, 22 Dec 2014 03:07:35 +0000 (UTC) Received: from [192.168.2.123] (c-50-160-123-105.hsd1.ut.comcast.net [50.160.123.105]) (authenticated bits=0) by webmail2.jnielsen.net (8.14.9/8.14.9) with ESMTP id sBM37MU4092355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 21 Dec 2014 20:07:29 -0700 (MST) (envelope-from john@jnielsen.net) X-Authentication-Warning: webmail2.jnielsen.net: Host c-50-160-123-105.hsd1.ut.comcast.net [50.160.123.105] claimed to be [192.168.2.123] From: John Nielsen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: IPv6 multicast routing Message-Id: Date: Sun, 21 Dec 2014 20:07:23 -0700 References: In-Reply-To: To: freebsd-questions X-Mailer: iPhone Mail (12B440) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 03:07:36 -0000 No takers on -net, how about -questions? > On Dec 18, 2014, at 9:11 PM, John Nielsen wrote: >=20 > Does anyone do IPv6 multicast routing on FreeBSD? If so, what software do y= ou use? Any caveats or other things to be aware of? >=20 > The only options I have seen are all in net/mcast-tools and I'm having som= e trouble with each of them. I do have "options MROUTING" in my kernel and I= Pv6 forwarding enabled on each host. >=20 > I've had the best luck with "mfc": I can get packets to traverse a single r= outer. However I can't get them to traverse a second one in either direction= (though that may or may not be a problem with mfc itself). The big downer o= f course is that each unicast source and multicast destination has to be exp= licitly spelled out in each direction in the config file. Not at all scalabl= e and not compatible with the auto-configuration goals of my project. >=20 > The one I think I'd like to use is pim6sd. However I have had no luck with= either it or pim6dd. Both will run but not pass packets, and they each comp= lain that they cannot assign the requested ff02::2 address on either interfa= ce. >=20 > Any advice or suggestions appreciated. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 03:10:57 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C723C2DF for ; Mon, 22 Dec 2014 03:10:57 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9267229BC for ; Mon, 22 Dec 2014 03:10:57 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-64.adsl.hiwaay.net [216.180.19.64]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id sBM3At62029777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 21 Dec 2014 21:10:56 -0600 Message-ID: <54978D36.4010502@hiwaay.net> Date: Sun, 21 Dec 2014 21:17:10 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org Subject: Re: posix has been rendered useless, isn't it? References: <20141221155635.GA1388@aio> <20141221175658.3d574a88.freebsd@edvax.de> <549705CE.1050108@hiwaay.net> <20141221182108.GA860@aio> In-Reply-To: <20141221182108.GA860@aio> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 03:10:58 -0000 On 12/21/14 12:21, Mayuresh Kathe wrote: > On Sun, Dec 21, 2014 at 11:39:26AM -0600, William A. Mahaffey III wrote: >> On 12/21/14 10:56, Polytropon wrote: >>> On Sun, 21 Dec 2014 21:26:37 +0530, Mayuresh Kathe wrote: >>>> i have been studying the unix way of doing things, >>>> i.e. tool-chaining to combine small programs for >>>> accomplishing a solution. >>> A noble goal. >>> >>> >>> >>>> but, almost none of today's servers built for any >>>> of today's unix-like systems adhere to the unix >>>> philosophy. most of them instead, are large >>>> applications. >>> The creation of monolithic applications can be a >>> problem sometimes. It's often being accellerated >>> by GUI paradigms where "one big program" is, often >>> on the basic of object oriented programming (and >>> the typical misunderstandings and misconceptions >>> of that orientation), being "required" - you simply >>> cannot easily apply the UNIX principles here. >>> >> Correctly applied OOP is (kinda) an extension of the UNIX philosophy >> .... Well designed/documented/implemented objects can be assembled into >> useful (compiled) programs readily & quickly. Incorrectly applied, or >> crappy objects & you have a mess .... >> > somehow, tightly coupled 'oop' implementations, eg. c++, ada, etc. > don't feel like an extension of the unix philosophy, infact, they > give a feel of being at the opposite end, the 'vms' philosophy. > on the other hand, loosely coupled 'oop' implementations, eg. obj-c, > java, etc. are quite in tune with the unix philosophy, of having > each object doing it's job and doing it well, and communicating with > other objects by passing messages. > > in that case, would you say that tightly coupled 'oop' systems > exhibit incorrect application of 'oop'? Some might be .... I have always thought of well-designed/implemented/documented as 'feeling like' small, sharp tools, which is pretty much the original UNIX philosophy, IMHO .... I am *not* a huge fan of C++ per-se, since some of the things I like to do programming-wise (opaque objects) are very naturally implemented in C (X11 was originally implemented in ANSI C, & very OOP) & (apparently) rather unnatural & contrary to C++ paradigms, as I understand them. Mind you I have 20+ years in ANSI C (CAD & Gfx visualization programs, as well as large 'batch' analysis codes), & <1 year in C++, so I might be off base .... > > apologies about veering off the list topic, but, i am working through > the design for a combination of compiled, loosely coupled objects using > any language, working across architectures and over heterogenous > networks. and yes, that system is a far cry from being called 'oop'. > > would such a system, in theory, be made to run atop the freebsd kernel > and do away with the 'posix' layer? yes, but the question is whether > it would get accepted by the community at large. > > ~mayuresh > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- 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 Dec 22 05:06:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04B7DEBB for ; Mon, 22 Dec 2014 05:06:47 +0000 (UTC) Received: from filter01.peakinternet.com (filter01.peakinternet.com [207.55.16.92]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBAEB3C9F for ; Mon, 22 Dec 2014 05:06:46 +0000 (UTC) Received: from zmail-mta01.peak.org ([207.55.16.111]) by filter01.peakinternet.com ({e1c81c21-e4c4-4528-aa90-7a27869c545a}) via TCP (outbound) with ESMTPS id 20141222050640047 for ; Mon, 22 Dec 2014 05:06:40 +0000 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta01.peak.org (localhost [127.0.0.1]) by zmail-mta01.peak.org (Postfix) with ESMTPS id 05FC3D44A0 for ; Sun, 21 Dec 2014 21:06:34 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zmail-mta01.peak.org (Postfix) with ESMTP id ECC68D449B for ; Sun, 21 Dec 2014 21:06:33 -0800 (PST) Received: from zmail-mta01.peak.org ([127.0.0.1]) by localhost (zmail-mta01.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kv67JV_oDePl for ; Sun, 21 Dec 2014 21:06:33 -0800 (PST) Received: from mailproxy-lb-07.peak.org (mailproxy-lb-07.peak.org [207.55.17.97]) by zmail-mta01.peak.org (Postfix) with ESMTP id BD4DCC466C for ; Sun, 21 Dec 2014 21:06:33 -0800 (PST) Received: from carlj by elk.localnet with local (Exim 4.80) (envelope-from ) id 1Y2vCS-0000nE-Ox for freebsd-questions@freebsd.org; Sun, 21 Dec 2014 21:06:32 -0800 From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: Running X11 in a VirtualBox VM References: <87lhm0y7ul.fsf@elk.localnet> Mail-Followup-To: freebsd-questions@freebsd.org Date: Sun, 21 Dec 2014 21:06:32 -0800 In-Reply-To: (Warren Block's message of "Sun, 21 Dec 2014 20:00:49 -0700 (MST)") Message-ID: <871tnsxoh3.fsf@elk.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 05:06:47 -0000 Warren Block writes: > On Sun, 21 Dec 2014, Carl Johnson wrote: >> Is there some way to run this with software rendering? Please let me >> know if there is more information needed. Thanks for any ideas. > > I had to add this line to ServerLayout: > > Section "ServerLayout" > Option "AIGLX" "Off" # disable AIGLX for VirtualBox Additions > EndSection Thank you, Warren! That addition does get it working for me. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 05:16:04 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20F05132 for ; Mon, 22 Dec 2014 05:16:04 +0000 (UTC) Received: from filter03.peakinternet.com (filter03.peakinternet.com [207.55.16.94]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8AD63EE8 for ; Mon, 22 Dec 2014 05:16:03 +0000 (UTC) Received: from zmail-mta01.peak.org ([207.55.16.111]) by filter03.peakinternet.com ({a3d4bcbc-467e-4baf-8e5e-c89ccb4fcca2}) via TCP (outbound) with ESMTPS id 20141222051213720 for ; Mon, 22 Dec 2014 05:12:13 +0000 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta01.peak.org (localhost [127.0.0.1]) by zmail-mta01.peak.org (Postfix) with ESMTPS id D59C9C40C8 for ; Sun, 21 Dec 2014 21:12:01 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zmail-mta01.peak.org (Postfix) with ESMTP id C0A30D449B for ; Sun, 21 Dec 2014 21:12:01 -0800 (PST) Received: from zmail-mta01.peak.org ([127.0.0.1]) by localhost (zmail-mta01.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KrkUa6uphrLj for ; Sun, 21 Dec 2014 21:12:01 -0800 (PST) Received: from mailproxy-lb-07.peak.org (mailproxy-lb-07.peak.org [207.55.17.97]) by zmail-mta01.peak.org (Postfix) with ESMTP id 7C22AC40C8 for ; Sun, 21 Dec 2014 21:12:01 -0800 (PST) Received: from carlj by elk.localnet with local (Exim 4.80) (envelope-from ) id 1Y2vHd-0000oR-Vv for freebsd-questions@freebsd.org; Sun, 21 Dec 2014 21:11:54 -0800 From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: Running X11 in a VirtualBox VM References: <87lhm0y7ul.fsf@elk.localnet> <549748E5.4010702@gmail.com> Mail-Followup-To: freebsd-questions@freebsd.org Date: Sun, 21 Dec 2014 21:11:53 -0800 In-Reply-To: <549748E5.4010702@gmail.com> (zep's message of "Sun, 21 Dec 2014 17:25:41 -0500") Message-ID: <87wq5kw9nq.fsf@elk.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 05:16:04 -0000 zep writes: > On 12/21/2014 05:08 PM, Carl Johnson wrote: >> I had been running X11 inside of a FreeBSD VM under VirtualBox, but it >> refuses to run after the last upgrade a few days ago. The only error is >> that it can't open /usr/local/lib/dri/vboxvideo_dri.so. The file >> doesn't exist so that isn't surprising, but why is it necessary now? I >> don't really expect high performance, but I want something to run for >> testing. I did try booting the same system onto hardware and it ran >> fine with my Radeon card. The video drivers include xf86-video-vesa, >> but it insists on trying to run the vboxvideo driver that doesn't exist. >> I did try booting with vboxguest and vboxservice disabled, but there was >> no change. >> >> The system is FreeBSD 10.1-RELEASE and here are a few of the possibly >> relevant packages: >> virtualbox-ose-additions-4.3.20_1 >> xf86-video-ati-7.5.0 >> xf86-video-vesa-2.3.3_4 >> xorg-7.7_1 >> xorg-drivers-7.7_2 >> >> Is there some way to run this with software rendering? Please let me >> know if there is more information needed. Thanks for any ideas. > > "after upgrade"? who/which/what did you upgrade? if you upgraded the > virtualbox version on the host (the 'host' being the machine that > provides resources for the 'guest' VMs [sorry, that's not meant to be > downspeak, I just don't know if we'd be using the same terms for > things]) then you likely need the virtualbox extensions installed to > match your current version of virtualbox, if you updated the guest's > kernel, then in my experience you'll need to once again install the VB > additions (I normally install from the iso file included with > virtualbox, I've never dealt with vb additions from the freebsd ports). Thanks for your reply, and sorry that I wasn't clear. I meant that I had done a 'pkg upgrade' that had brought in new xorg packages, and they wouldn't work as before. The problem is already solved though, due to the suggestion by Warren Block to add the option AIGLX OFF to the ServerLayout section of the xorg.conf file. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 08:14:27 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 777D1291 for ; Mon, 22 Dec 2014 08:14:27 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:c:538::197]) (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 362D52C8E for ; Mon, 22 Dec 2014 08:14:26 +0000 (UTC) Received: from mfilter24-d.gandi.net (mfilter24-d.gandi.net [217.70.178.152]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id B8D0541C060 for ; Mon, 22 Dec 2014 09:14:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter24-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter24-d.gandi.net (mfilter24-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 2sOEhzqyHB38 for ; Mon, 22 Dec 2014 09:14:23 +0100 (CET) X-Originating-IP: 10.58.1.144 Received: from webmail.gandi.net (unknown [10.58.1.144]) (Authenticated sender: mayuresh@kathe.in) by relay5-d.mail.gandi.net (Postfix) with ESMTPA id 6DAE241C076 for ; Mon, 22 Dec 2014 09:14:23 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 22 Dec 2014 13:44:23 +0530 From: Mayuresh Kathe To: freebsd-questions@freebsd.org Subject: which version of c for various components of =?UTF-8?Q?freebsd=3F?= Reply-To: mayuresh@kathe.in Mail-Reply-To: mayuresh@kathe.in Message-ID: X-Sender: mayuresh@kathe.in User-Agent: Roundcube Webmail/0.9.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 08:14:27 -0000 hello, may i know which version of c is used for various components of freebsd? is c89 being used for the kernel? what about rest of the system? ~mayuresh From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 11:34:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A393882 for ; Mon, 22 Dec 2014 11:34:15 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (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 915A21F03 for ; Mon, 22 Dec 2014 11:34:14 +0000 (UTC) Received: from moby.local ([109.193.238.174]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MX19U-1YQF5u3yJ2-00VwtA; Mon, 22 Dec 2014 12:34:07 +0100 Message-ID: <549801AF.5000208@gmx.com> Date: Mon, 22 Dec 2014 12:34:07 +0100 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Ashish SHUKLA Subject: Re: zvol vs plain file for VMs References: <54947594.2060202@gmx.com> <86mw6ilvyf.fsf@chateau.d.if> In-Reply-To: <86mw6ilvyf.fsf@chateau.d.if> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:On6tCwIhHt397P39JEOAs1WMMKVapx+JfXseXKlNNSDuTXDMAVT m513avPLpzrxO1wjS2LQyKXcP5Ly8D1Ck90/7HiMDDv4xJnuIQhihFkb7WhRpMRm20M2XS5 P5OWRboDlZAVHAM2cgNkA3lUN06Li/X/P1iO2jK/p4N8TaJgYtBsLDoH3soLmWaul34SiM3 /ioqHbZHncHSdR5vl37Ag== X-UI-Out-Filterresults: notjunk:1; Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 11:34:15 -0000 On 12/20/14 06:41, Ashish SHUKLA wrote: > On Fri, 19 Dec 2014 19:59:32 +0100, Nikos Vassiliadis said: > | Hi, > > | I have to convert a mail server to a VM and I don't know what kind of > | storage to use, a plain file or a zvol? > > | Are there any pros in using ZVOLs instead of plain files? > > | Thanks, Nikos > > I don't use FreeBSD for VMs, but theoretically plain file will have filesystem > overhead which ZVOL won't. > > HTH > Hi, Thank you for your reply Ashish! When you say overhead, you mean overhead on disk or in RAM? could you explain a bit more? Thanks, Nikos From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 13:23:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BDA713E0 for ; Mon, 22 Dec 2014 13:23:56 +0000 (UTC) Received: from office.cnet.co.za (office.cnet.co.za [41.185.32.165]) (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 4D8513733 for ; Mon, 22 Dec 2014 13:23:56 +0000 (UTC) Received: from gateway.compudoc.co.za ([41.185.32.164] helo=[192.168.0.11]) by office.cnet.co.za with esmtpa (Exim 4.85_RC2) (envelope-from ) id 1Y2xpX-000JhS-7y for freebsd-questions@freebsd.org; Mon, 22 Dec 2014 09:55:03 +0200 Message-ID: <5497CE57.8020601@compudoc.za.org> Date: Mon, 22 Dec 2014 09:55:03 +0200 From: Godfrey Hamshire Reply-To: freebsdlist@compudoc.za.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Using Nokia Cell Phone or GSM Modem to send sms's Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 13:23:56 -0000 Using Nokia Cell Phone or GSM Modem to send sms's Dear Memeber I was wondering if anyone has had experience with connecting a 3g/gsm of the type you can find in Cell Phone Shops to freebsd or a old nokia symbian cell phone via its usb cable to freebsd. What I would like to to do is send sms's from the server using a 3g/gsm dongle or using an old nokia symbian cell ie warning the power is out etc etc I am doing this already via email and a clickatel api account already but sometimes these email do not get through or what ever. I am looking for alternative ways of notifying myself of power problems or what ever is going on when I am not around. I don't want to run off and buy a 3g/gsm dongle only to find I could have easily done this with a nokia symbian cell phone and its usb cable for example. Or if I have to get a 3g/gsm dongle I dont want to buy brand x only to find it does not work with freebsd but brand y does. I have been through google and frankly found nothing really helpful I was wondering if some one on this list has done this before and how did they do it etc, what did they use etc. Regards Godfrey From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 13:35:37 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93A57639 for ; Mon, 22 Dec 2014 13:35:37 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E3AC641C6 for ; Mon, 22 Dec 2014 13:35:37 +0000 (UTC) Received: from [89.204.135.75] (helo=unixarea.DDR.dd) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Y3393-0004Ao-7B; Mon, 22 Dec 2014 14:35:33 +0100 Received: from unixarea.DDR.dd (localhost [127.0.0.1]) by unixarea.DDR.dd (8.14.9/8.14.3) with ESMTP id sBMDZUtT003900; Mon, 22 Dec 2014 14:35:30 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by unixarea.DDR.dd (8.14.9/8.14.3/Submit) id sBMDZTH1003899; Mon, 22 Dec 2014 14:35:29 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: unixarea.DDR.dd: guru set sender to guru@unixarea.de using -f Date: Mon, 22 Dec 2014 14:35:29 +0100 From: Matthias Apitz To: Godfrey Hamshire Subject: Re: Using Nokia Cell Phone or GSM Modem to send sms's Message-ID: <20141222133529.GA3876@unixarea.DDR.dd> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Godfrey Hamshire , freebsd-questions@freebsd.org References: <5497CE57.8020601@compudoc.za.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5497CE57.8020601@compudoc.za.org> X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.75 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 13:35:37 -0000 El día Monday, December 22, 2014 a las 09:55:03AM +0200, Godfrey Hamshire escribió: > > Using Nokia Cell Phone or GSM Modem to send sms's > > Dear Memeber > > I was wondering if anyone has had experience with connecting a 3g/gsm of > the type you can find in Cell Phone Shops to freebsd or a old nokia > symbian cell phone via its usb cable to freebsd. > > ... In the past I used cellphones with RS232 interface acting like a normal modem on this interface. There are AT-cmds defined to send SM and do other stuff. The principal spec is (was) GSM 07.07, IIRC. HIH matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 14:20:49 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6AA00F8B for ; Mon, 22 Dec 2014 14:20:49 +0000 (UTC) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27B0364770 for ; Mon, 22 Dec 2014 14:20:48 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id i13so1192353qae.13 for ; Mon, 22 Dec 2014 06:20:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jsl9m8nmplV/U0rzqWGNkf9hiOhgQ20DvoXNIPwTdxw=; b=jbh+4ddlfZnTtVjLqkDNKJi9m34cDxD5hW12deO8WPXO6hc/jdtm06S7ChhLnBzuXE L2kgwMm/FKun8d5mP3k8WEgx3iTDjn02YtoJb11gRUTnMcXXA8j1/jBYmMx8uj2gHyZI TZZcENnbsKd69pcXyhFyx+4plISyzdx2DS7Lj7zP0azLHFlyqpY1fEoJ1eP4lPqJ1Xw1 Gl/J03QMIOzf1YAMVcARHBlXXnD5HZSo0M3oOMOplTLzqx+jAzbMqhmot6QP7TgECmhF 4MfbOkZSRp5aEuRKk1WFQzON8oHu0huqxfbbUhKNw7PRi880hiMLrhkFnxWTVNBmdxs1 lPqA== X-Gm-Message-State: ALoCoQlrK2eYWCvLa6OVUCxUwF2vBoFvdKW/cd25jqyXZe5uJ5ZLW9IGtyBKpej2hOsdq9vZ62mT MIME-Version: 1.0 X-Received: by 10.229.97.73 with SMTP id k9mr36784634qcn.15.1419258042476; Mon, 22 Dec 2014 06:20:42 -0800 (PST) Received: by 10.140.19.17 with HTTP; Mon, 22 Dec 2014 06:20:42 -0800 (PST) In-Reply-To: <20141222020121.GA848@aio> References: <20141221155635.GA1388@aio> <20141221175658.3d574a88.freebsd@edvax.de> <549705CE.1050108@hiwaay.net> <20141221182108.GA860@aio> <20141221194937.aebe7233.freebsd@edvax.de> <20141222020121.GA848@aio> Date: Mon, 22 Dec 2014 09:20:42 -0500 Message-ID: Subject: Re: posix has been rendered useless, isn't it? From: Alejandro Imass To: Mayuresh Kathe Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Polytropon , "William A. Mahaffey III" , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 14:20:49 -0000 On Sun, Dec 21, 2014 at 9:01 PM, Mayuresh Kathe wrote: > > would you be in a position to suggest ways in which one > could have a c++ program follow unix principles? > yeah, you could just write a set of tools and utilities > which can communicate via a text stream and hence can > be toolchained, but then, c++ ends up becoming nothing > more than a better c (which is what it was originally > designed for), i.e. without using a object hierarchy. > > First of all C++ is not a better C is just a different language altogether. Second principles of OOP have been around for ever and has nothing to do with language but rather encapsulation and well defined interfaces. I.e. you don't need an object oriented language to do OOP. Thirdly, OOP is about code re-use and encapsulation, nothing to do with architectural or operating system design. I.e. you can use C++ (and in fact MANY Unix components are built in C++) to create Unix programs and utilities that are POSIX compliant. By the same token you can do OOP and even a complete OS with just assembler (e.g. http://www.menuetos.net). What is the topic of the discussion here? As mentioned earlier in the thread each problem is dealt with a different set of tools so it all depends on what you are trying to do; there is no one size fits all. Are you looking for the perfect, ideal architectural design? for what? in some cases the OS just gets in the way (e.g. micro-controller applications) and in other cases applications are built to take full advantage of the underlying OS. Portability is a myth and write once run anywhere is just fantasy, not even (or should I say _especially_) with languages like Java. So again I ask you, what is the topic of discussion here? Scalability, maintainability, the state of POSIX??? What is the objetive of this discussion? Best, -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 14:24:36 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 186AAD2 for ; Mon, 22 Dec 2014 14:24:36 +0000 (UTC) Received: from smtp.demon.co.uk (mdfmta005.mxout.tch.inty.net [91.221.169.46]) (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 A24946482C for ; Mon, 22 Dec 2014 14:24:34 +0000 (UTC) Received: from smtp.demon.co.uk (unknown [127.0.0.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mdfmta005.tch.inty.net (Postfix) with ESMTP id 04A1218CF24 for ; Mon, 22 Dec 2014 14:17:15 +0000 (GMT) Received: from mdfmta009.tch.inty.net (unknown [127.0.0.1]) by mdfmta009.tch.inty.net (Postfix) with ESMTP id DA130128118 for ; Mon, 22 Dec 2014 14:17:13 +0000 (GMT) Received: from mdfmta009.tch.inty.net (unknown [127.0.0.1]) by mdfmta009.tch.inty.net (Postfix) with ESMTP id 8372D1280E9 for ; Mon, 22 Dec 2014 14:17:13 +0000 (GMT) Received: from [192.168.254.7] (unknown [80.177.21.188]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mdfmta009.tch.inty.net (Postfix) with ESMTP for ; Mon, 22 Dec 2014 14:17:13 +0000 (GMT) Message-ID: <549827E3.3040800@sliderule.demon.co.uk> Date: Mon, 22 Dec 2014 14:17:07 +0000 From: Steve Burton User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Using Nokia Cell Phone or GSM Modem to send sms's References: <5497CE57.8020601@compudoc.za.org> In-Reply-To: <5497CE57.8020601@compudoc.za.org> X-MDF-HostID: 22 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 14:24:36 -0000 On 22/12/2014 07:55, Godfrey Hamshire wrote: > > Using Nokia Cell Phone or GSM Modem to send sms's > > Dear Memeber > > I was wondering if anyone has had experience with connecting a 3g/gsm > of the type you can find in Cell Phone Shops to freebsd or a old nokia > symbian cell phone via its usb cable to freebsd. > > What I would like to to do is send sms's from the server using a > 3g/gsm dongle or using an old nokia symbian cell ie warning the power > is out etc etc I am doing this already via email and a clickatel api > account already but sometimes these email do not get through or what > ever. I am looking for alternative ways of notifying myself of power > problems or what ever is going on when I am not around. > > I don't want to run off and buy a 3g/gsm dongle only to find I could > have easily done this with a nokia symbian cell phone and its usb > cable for example. Or if I have to get a 3g/gsm dongle I dont want to > buy brand x only to find it does not work with freebsd but brand y does. > > I have been through google and frankly found nothing really helpful I > was wondering if some one on this list has done this before and how > did they do it etc, what did they use etc. > > Regards > > Godfrey > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Hi, I've done this in the past with a USB connected Nokia (can't remember the model) and gnokii from the ports. It worked more than well enough. Currently, I'm using a cheap USB GSM modem (from an Amazon affiliate) and smstools from the ports. I found this easy to set up and has been reliable. Steve. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 14:43:20 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D0CD672 for ; Mon, 22 Dec 2014 14:43:20 +0000 (UTC) Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com [IPv6:2607:f8b0:4002:c07::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46BDD1A3 for ; Mon, 22 Dec 2014 14:43:20 +0000 (UTC) Received: by mail-yk0-f171.google.com with SMTP id 142so2283328ykq.2 for ; Mon, 22 Dec 2014 06:43:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cav3nMhKgZNIwVdKk/hLhj4Rd3oyrMO8Kxq6MO7i8jw=; b=vI6NWX8unVrHmuxy7DXRlL5U3bw3OVsBlX6q4OD/E67LUVmZMDV/+k+/dKLAcdqyqD 8hCVTzVUQ5NVnNnK7y3jwd79kXoqU22NopcvHINwbfQL0IPS8He8GMroG5eUAnshKUuU sqs1ZA3plLW4UiEpcSQi/3wvBK8NBgHRMpp3PSrIQWs7UXH0r6AgSBatb8GIaljyc2Uj Of+vatPj5ugL1S0IP5Ee9+PajHu9nbAOZKtqtfFTDeba2DJDbkGZKNo9510mGuHhb2RG 9L3+p3RWsAp1AHE0JvftphCCARIBq5K/poFXWfm9Vz9UGn4qgFDrnNZWGykSNR3ebWH+ CUKw== MIME-Version: 1.0 X-Received: by 10.236.223.42 with SMTP id u40mr18300669yhp.150.1419259399448; Mon, 22 Dec 2014 06:43:19 -0800 (PST) Received: by 10.170.188.144 with HTTP; Mon, 22 Dec 2014 06:43:19 -0800 (PST) In-Reply-To: <549827E3.3040800@sliderule.demon.co.uk> References: <5497CE57.8020601@compudoc.za.org> <549827E3.3040800@sliderule.demon.co.uk> Date: Mon, 22 Dec 2014 14:43:19 +0000 Message-ID: Subject: Re: Using Nokia Cell Phone or GSM Modem to send sms's From: krad To: Steve Burton Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 14:43:20 -0000 have you considered a cheap android phone as well? Its basically unix so you could ssh in, or send snmp traps etc to what you need to do On 22 December 2014 at 14:17, Steve Burton wrote: > On 22/12/2014 07:55, Godfrey Hamshire wrote: > >> >> Using Nokia Cell Phone or GSM Modem to send sms's >> >> Dear Memeber >> >> I was wondering if anyone has had experience with connecting a 3g/gsm of >> the type you can find in Cell Phone Shops to freebsd or a old nokia symbian >> cell phone via its usb cable to freebsd. >> >> What I would like to to do is send sms's from the server using a 3g/gsm >> dongle or using an old nokia symbian cell ie warning the power is out etc >> etc I am doing this already via email and a clickatel api account already >> but sometimes these email do not get through or what ever. I am looking for >> alternative ways of notifying myself of power problems or what ever is >> going on when I am not around. >> >> I don't want to run off and buy a 3g/gsm dongle only to find I could have >> easily done this with a nokia symbian cell phone and its usb cable for >> example. Or if I have to get a 3g/gsm dongle I dont want to buy brand x >> only to find it does not work with freebsd but brand y does. >> >> I have been through google and frankly found nothing really helpful I was >> wondering if some one on this list has done this before and how did they do >> it etc, what did they use etc. >> >> Regards >> >> Godfrey >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" >> >> Hi, > > I've done this in the past with a USB connected Nokia (can't remember the > model) and gnokii from the ports. It worked more than well enough. > Currently, I'm using a cheap USB GSM modem (from an Amazon affiliate) and > smstools from the ports. I found this easy to set up and has been reliable. > > Steve. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 14:49:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFC2A7F3 for ; Mon, 22 Dec 2014 14:49:56 +0000 (UTC) Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com [IPv6:2607:f8b0:4002:c07::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88F902C1 for ; Mon, 22 Dec 2014 14:49:56 +0000 (UTC) Received: by mail-yk0-f177.google.com with SMTP id 9so2266453ykp.8 for ; Mon, 22 Dec 2014 06:49:55 -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=IBSqm0kg0ePZYZ9OxhDkKSTFdlMLhaUV2OhXjvV+bmo=; b=NIfHwJCjO8axExC3P1KwNbkeiCNJJuxr986A1K1+UCS80iz0gWxYKPUjdL0C10dY+m 79kQ1fLcqkH9ySDO5/a/u6AzjEWkyzSAQNPlGYrh5KsxSJhHPZxPpHKdGL2OpfqR+rRO n9tWNyTM3fHvhZ6ev3L7UaTT2QDM0V1T1w7bstmyIMG8WW+SOM62W9ZNhYijFmIL0XWl Tv9lMje4nd2pWDqWM1J77WdACxdREe+MiyrWB2yAukJbVL5FdCxWaihk2XEEzOZWqu8W NN/07CWTgUHb5Yd4rMyLfthebGsX9JOZ7NmHChcWkRuPnfP7OB6PKJ3qQb9ErqZ1v+3u oYKw== MIME-Version: 1.0 X-Received: by 10.236.70.168 with SMTP id p28mr17962624yhd.86.1419259795769; Mon, 22 Dec 2014 06:49:55 -0800 (PST) Received: by 10.170.188.144 with HTTP; Mon, 22 Dec 2014 06:49:55 -0800 (PST) In-Reply-To: References: <5497CE57.8020601@compudoc.za.org> <549827E3.3040800@sliderule.demon.co.uk> Date: Mon, 22 Dec 2014 14:49:55 +0000 Message-ID: Subject: Re: Using Nokia Cell Phone or GSM Modem to send sms's From: krad To: Steve Burton Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 14:49:56 -0000 something along the lines of the following allegedly works service call isms 5 s16 "17079876543" i32 0 i32 0 s16 "SMS TEXT HERE" On 22 December 2014 at 14:43, krad wrote: > have you considered a cheap android phone as well? Its basically unix so > you could ssh in, or send snmp traps etc to what you need to do > > On 22 December 2014 at 14:17, Steve Burton > wrote: > >> On 22/12/2014 07:55, Godfrey Hamshire wrote: >> >>> >>> Using Nokia Cell Phone or GSM Modem to send sms's >>> >>> Dear Memeber >>> >>> I was wondering if anyone has had experience with connecting a 3g/gsm of >>> the type you can find in Cell Phone Shops to freebsd or a old nokia symbian >>> cell phone via its usb cable to freebsd. >>> >>> What I would like to to do is send sms's from the server using a 3g/gsm >>> dongle or using an old nokia symbian cell ie warning the power is out etc >>> etc I am doing this already via email and a clickatel api account already >>> but sometimes these email do not get through or what ever. I am looking for >>> alternative ways of notifying myself of power problems or what ever is >>> going on when I am not around. >>> >>> I don't want to run off and buy a 3g/gsm dongle only to find I could >>> have easily done this with a nokia symbian cell phone and its usb cable for >>> example. Or if I have to get a 3g/gsm dongle I dont want to buy brand x >>> only to find it does not work with freebsd but brand y does. >>> >>> I have been through google and frankly found nothing really helpful I >>> was wondering if some one on this list has done this before and how did >>> they do it etc, what did they use etc. >>> >>> Regards >>> >>> Godfrey >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions- >>> unsubscribe@freebsd.org" >>> >>> Hi, >> >> I've done this in the past with a USB connected Nokia (can't remember the >> model) and gnokii from the ports. It worked more than well enough. >> Currently, I'm using a cheap USB GSM modem (from an Amazon affiliate) and >> smstools from the ports. I found this easy to set up and has been reliable. >> >> Steve. >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" >> > > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 14:51:31 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0D94E9C7 for ; Mon, 22 Dec 2014 14:51:31 +0000 (UTC) Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com [IPv6:2607:f8b0:4002:c07::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC2E738E for ; Mon, 22 Dec 2014 14:51:30 +0000 (UTC) Received: by mail-yk0-f171.google.com with SMTP id 142so2309115ykq.30 for ; Mon, 22 Dec 2014 06:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=49rUSu4AuKIZwKXK/+7ch8uB48ALkrfu7CqPqHR06j4=; b=vR0Uoz8hyli4/fpsKED4rQH5ojUnv1iOq2kuAhvaYTeWih+0dSwYsWFr6YWMQ2ZCU9 C1UuOXbrGoSti8GUS4a+3f1+k8P1Tw8MNkVlgFtiInmRYgr5PmXjVSKbJbX3OeoKFtHq NkDgjVOshW0t9L6Wh4J4bgAPsP53tIapbuNUut0pjYhrlqXuZPcKAd1qwW0BiZmhjDlg kKsSXGXJzHZ/uNaHbVIpA9vwcOQ1/epkrkA84Ym8Yzzn+qwdlJ+5t9EEy917EgeaBXEa IeYZNZ6420mOYWEV+avDBG/96OLRwmfdcbbsSmrSvMi6k+HwEj8qNI6mrqIvHNEf4j+S rw+g== MIME-Version: 1.0 X-Received: by 10.170.134.72 with SMTP id a69mr20648506ykc.103.1419259890107; Mon, 22 Dec 2014 06:51:30 -0800 (PST) Received: by 10.170.188.144 with HTTP; Mon, 22 Dec 2014 06:51:30 -0800 (PST) In-Reply-To: <5FB29D10-B4C6-4C92-9522-CB9B904787EF@jensenwaud.com> References: <5FB29D10-B4C6-4C92-9522-CB9B904787EF@jensenwaud.com> Date: Mon, 22 Dec 2014 14:51:30 +0000 Message-ID: Subject: Re: FreeBSD wifi usb dongle acting as wireless AP From: krad To: Anders Jensen-Waud Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 14:51:31 -0000 im using an intel nuc 2820, but replaced the mini pci card for an athros based one and it works well. Just remember to put v32 firmware on it and nothing higher On 21 December 2014 at 22:55, Anders Jensen-Waud wrote: > Hello > > I am looking for a wifi usb dongle, which is capable of operating in ap > mode on FreeBSD/amd64. My goal is to set up a micro pc as a wireless access > point at home. Any suggestions for hardware before I go out and buy one? > > Thanks > > Anders > > Sent from my iPhone > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 16:47:38 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from chateau.d.if (localhost [IPv6:::1]) by hub.freebsd.org (Postfix) with ESMTP id D99155EF; Mon, 22 Dec 2014 16:47:36 +0000 (UTC) Received: from chateau.d.if (chateau.d.if [IPv6:::1]); by chateau.d.if (OpenSMTPD) with ESMTP id 656ce4b4; Mon, 22 Dec 2014 22:17:35 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: Nikos Vassiliadis Subject: Re: zvol vs plain file for VMs Organization: The FreeBSD Project References: <54947594.2060202@gmx.com> <86mw6ilvyf.fsf@chateau.d.if> <549801AF.5000208@gmx.com> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 9:34PM up 33 mins, 3 users, load averages: 0.08, 0.16, 0.15 X-Operating-System: FreeBSD/FreeBSD 10.1-RELEASE/amd64 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project X-Hashcash: 1:20:141222:freebsd-questions@freebsd.org::wo1htolKGbRNu85x:000000000000000000000000000000000+Nk X-Hashcash: 1:20:141222:nvass@gmx.com::ID1dqn2B0e6gkg7Y:00002SXK X-Hashcash: 1:20:141222:ashish@freebsd.org::HGVqy9fKs3cS/RG5:00000000000000000000000000000000000000000006VhX Date: Mon, 22 Dec 2014 22:17:31 +0530 In-Reply-To: <549801AF.5000208@gmx.com> (Nikos Vassiliadis's message of "Mon, 22 Dec 2014 12:34:07 +0100") Message-ID: <86fvc7my1o.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (amd64-portbld-freebsd10.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: Ashish SHUKLA , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 16:47:38 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 22 Dec 2014 12:34:07 +0100, Nikos Vassiliadis said: | On 12/20/14 06:41, Ashish SHUKLA wrote: || On Fri, 19 Dec 2014 19:59:32 +0100, Nikos Vassiliadis sa= id: || | Hi, ||=20 || | I have to convert a mail server to a VM and I don't know what kind of || | storage to use, a plain file or a zvol? ||=20 || | Are there any pros in using ZVOLs instead of plain files? ||=20 || | Thanks, Nikos ||=20 || I don't use FreeBSD for VMs, but theoretically plain file will have file= system || overhead which ZVOL won't. ||=20 || HTH ||=20 | Hi, | Thank you for your reply Ashish! | When you say overhead, you mean overhead on disk or in RAM? could you | explain a bit more? Overhead as in, read/writes to file will go through filesystem driver to bl= ock devices, which involves traversing filesystem structures, compared to ZVOL which is likely to be contiguous and is exposed as a block device. HTH =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 Sent from my Emacs --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJUmEskAAoJEMdGz6nnT6SwtzYQAJ66q2994o7pzccVOXvGr3Xm Q8Ww7+80sBYCA/BOkyQuHJElj13P8cGCcgLrcvJ8P9GHx/YIKz3eWtJ+55aRvOhY 4SGvRl9il0pjEFLqIBii/Dd5t34AG3x9X0bgRuaovPIwlNtFGwlEa8NZwNVhfQdA xDMVGtnGyxKRartpIf+Eo06sv1T80jvsmZIbSK6sx9CW0IsxE4gOanK4GyQPskHH dqwIgGx1K1of66wmitzOCe8H7OzPVzKy7dRMRDXb/2MiubTgM/61Co41jI0oK+gD liqQO4eDh+IvkU3x5wJnvIqbscn5St5F20wM/PpBYpSrE1p2MdIHebXt1mD2EWlP 8mY6gnekOQRwCpP+es48ml1wJQFz3Z3/sBN54FuIc/TUTbHxLGkQCa0HT2VORc/M vMOamZJhdt8tur+0MJj0VGOhW+IN4R8iQjEWnCrF8GxfPJWCeRuQ8wtkXkvujlon 531X5NNxdehbmxkjsnAK/j/xqgqSSGFvM/uIV3DYXGcvjlPvF+K6NiABgiklCweU bjPzDkhxqQDow3LIBLyoIuIeqQq5pVezpwuX/Vlc352wEljJqwCj1Rsh0227ZdRf GhF9ZF+JRoh75s4j9aBrx/7uvfT4ZWAJiE9dADLDwkAreqJnibjKqJNJmB9eSieG tYMD1wsNer4LBxcA69HC =gQnB -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 00:45:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3BDD587 for ; Tue, 23 Dec 2014 00:45:18 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F473165 for ; Tue, 23 Dec 2014 00:45:18 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-114.adsl.hiwaay.net [216.180.19.114]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id sBN0jAVr016208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 22 Dec 2014 18:45:10 -0600 Message-ID: <5498BC8D.2060209@hiwaay.net> Date: Mon, 22 Dec 2014 18:51:25 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: issues trying to pkg upgrade nspluginwrapper .... Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 00:45:18 -0000 .... I have been trying to 'pkg upgrade' nspluginwrapper, unsuccessfully. I tried to build the port, but that fails w/ the last few lines below: Making install in man /bin/mkdir -p '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' /bin/mkdir -p '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' install -o root -g wheel -m 0644 gettext.1 ngettext.1 envsubst.1 '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' /bin/mkdir -p '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' install -o root -g wheel -m 0644 gettext.3 ngettext.3 textdomain.3 bindtextdomain.3 bind_textdomain_codeset.3 dgettext.3 dcgettext.3 dngettext.3 dcngettext.3 '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' /bin/mkdir -p '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' Making install in m4 Making install in tests /bin/mkdir -p '/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext' install -o root -g wheel -m 0644 ABOUT-NLS '/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext' /bin/ln -s libintl.so.8 /usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libintl.so.9 ====> Compressing man pages (compress-man) ===>>> Starting check for runtime dependencies ===>>> Gathering dependency list for devel/gettext-runtime from ports ===>>> Dependency check complete for devel/gettext-runtime ===>>> www/nspluginwrapper 1/1 >> glib-2.42.0 >> devel/gettext-runtime (2/12) ===> Installing for gettext-runtime-0.19.3 ===> Registering installation for gettext-runtime-0.19.3 Installing gettext-runtime-0.19.3... pkg-static: gettext-runtime-0.19.3 conflicts with gettext-0.18.3.1_1 (installs files into the same place). Problematic file: /usr/local/bin/envsubst *** [fake-pkg] Error code 70 Stop in /usr/ports/devel/gettext-runtime. ===>>> Installation of gettext-runtime-0.19.3 (devel/gettext-runtime) failed ===>>> Aborting update ===>>> Update for devel/gettext-runtime failed ===>>> Aborting update ===>>> Update for glib-2.42.0 failed ===>>> Aborting update ===>>> Update for www/nspluginwrapper failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster www/nspluginwrapper devel/glib20 devel/gettext-runtime devel/gettext-tools textproc/expat2 devel/gmake devel/pcre lang/perl5.16 lang/python27 ftp/curl security/ca_root_nss textproc/intltool textproc/p5-XML-Parser whew !!!! that took (89.441 cpu + 28.720 sys) sec., 1:29.36 elapsed time tot, 132.2% CPU efficiency (1893 text, 2631 data, 51416 max) KB, (3+850) io, 40 pfs + 0 swaps [root@kabini1, /etc, 6:41:14pm] 355 % I noticed that the newer gettext was available as a pkg package, so I tried to upgrade it using pkg (1.4.1, from ports): [root@kabini1, /etc, 6:42:54pm] 351 % pkg version -vRL= | grep succeeds pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found pkg: repository FreeBSD_new_xorg has no meta file, using default settings pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: Not Found pkg: Unable to update repository FreeBSD_new_xorg libtorrent-rasterbar-0.16.18 > succeeds remote (remote has 0.16.17_1) pkg-1.4.1 > succeeds remote (remote has 1.4.0) virtualbox-ose-additions-4.3.20 > succeeds remote (remote has 4.3.18) [root@kabini1, /etc, 6:42:58pm] 352 % pkg version -vRL= | wc -l pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found pkg: repository FreeBSD_new_xorg has no meta file, using default settings pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: Not Found pkg: Unable to update repository FreeBSD_new_xorg 134 [root@kabini1, /etc, 6:43:06pm] 353 % pkg upgrade gettext Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. Updating FreeBSD_new_xorg repository catalogue... pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found pkg: repository FreeBSD_new_xorg has no meta file, using default settings pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: Not Found pkg: Unable to update repository FreeBSD_new_xorg All repositories are up-to-date. Updating database digests format: 100% Checking integrity...pkg: cannot load files from gettext to check integrity Assertion failed: (pkgdb_ensure_loaded(j->db, p2, PKG_LOAD_FILES|PKG_LOAD_DIRS) == EPKG_OK), function pkg_conflicts_need_conflict, file pkg_jobs_conflicts.c, line 211. Child process pid=84116 terminated abnormally: Abort trap: 6 [root@kabini1, /etc, 6:43:16pm] 354 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p5 FreeBSD 9.3-RELEASE-p5 #0: Mon Nov 3 22:38:58 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 6:43:24pm] 355 % I have been having ongoing (weeks/months) problems doing pkg upgrades w/ flash &/or nspluginwrapper in the mix. I need these for several websites I use regularly (daily). I do almost all package maintenance using pkg, w/ only flash library & other directly needed stuff (& whatever else portmaster decides to pull in) from ports. Any help/clues appreciated. TIA .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 03:05:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75CC3A75 for ; Tue, 23 Dec 2014 03:05:15 +0000 (UTC) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D85C6604A for ; Tue, 23 Dec 2014 03:05:14 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id x12so7981585wgg.38 for ; Mon, 22 Dec 2014 19:05:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=+ufNrw8QVUgLzMtr5DdKmoWwwRo77GCY9H3w/ZD5zA4=; b=E2wNXAKfsgW5FLYlGEXhb/DrFPHgMInhMeUkhNemgMizIgPQX1wBouy6uCvOLfwNbt 5RrHvf/B3BU3l3R14OCP/++9ghgqjejX2VgBpgEgc7/KM6a3PFm0U7/hEayFZN7EkY9h A1uKaDHjkFiSBP/KLjBPZQVjzqoydnxYulSxXjGXWwFB225wIcdBfasfwuAehLj53HNr vs96WQZipwVRMyQHChkp9bl3PaxDp1/LE5nG4Ob+VOEylX2X5BlabkzonywumFNonnUC t1HDrbXIXOysov0c3dIA4Wnszcu8MoAmx26zcxwDUX2dgdepfYssg2vWjLzqPe4g4V4A nwLQ== X-Gm-Message-State: ALoCoQmh4aNvywYlP13wM5Zw1zOnC56RKQQ23UvwkQmXO7dzWDthWpnzXcAZK6uFT98OG4aC7CCK MIME-Version: 1.0 X-Received: by 10.180.107.228 with SMTP id hf4mr18706594wib.47.1419303906689; Mon, 22 Dec 2014 19:05:06 -0800 (PST) Received: by 10.27.175.10 with HTTP; Mon, 22 Dec 2014 19:05:06 -0800 (PST) X-Originating-IP: [220.244.182.21] In-Reply-To: References: <5FB29D10-B4C6-4C92-9522-CB9B904787EF@jensenwaud.com> Date: Tue, 23 Dec 2014 14:05:06 +1100 Message-ID: Subject: Re: FreeBSD wifi usb dongle acting as wireless AP From: Anders Jensen-Waud To: krad Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 03:05:15 -0000 Hello, On Tue, Dec 23, 2014 at 1:51 AM, krad wrote: > im using an intel nuc 2820, but replaced the mini pci card for an athros > based one and it works well. Just remember to put v32 firmware on it and > nothing higher > > Which Atheros dongle did you use? What was the chipset? I am looking to add this to a Beagleboard/RaspPi so not sure if mini-PCI is an option at all. Anders > On 21 December 2014 at 22:55, Anders Jensen-Waud > wrote: > >> Hello >> >> I am looking for a wifi usb dongle, which is capable of operating in ap >> mode on FreeBSD/amd64. My goal is to set up a micro pc as a wireless access >> point at home. Any suggestions for hardware before I go out and buy one? >> >> Thanks >> >> Anders >> >> Sent from my iPhone >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 10:18:08 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A1CBAD49 for ; Tue, 23 Dec 2014 10:18:08 +0000 (UTC) Received: from pukruppa.de (pd95cabe3.dip0.t-ipconnect.de [217.92.171.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "pukruppa.de", Issuer "pukruppa.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 331632D26 for ; Tue, 23 Dec 2014 10:18:07 +0000 (UTC) Received: from pukruppa.de (localhost [127.0.0.1]) by pukruppa.de (8.14.9/8.14.9) with ESMTP id sBN9ojHa055820 for ; Tue, 23 Dec 2014 10:50:45 +0100 (CET) (envelope-from ulrich@pukruppa.de) Message-ID: <54993AF5.9040002@pukruppa.de> Date: Tue, 23 Dec 2014 10:50:45 +0100 From: Peter Ulrich Kruppa User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: py-tkinter for python34 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 10:18:08 -0000 Hi, as far as I understand the docs I have to # cd /usr/ports/x11-toolkits/py-tkinter # make USES=python:3.4 install to install tkinter support for python34 . But I receive this error message: -------------------------------------------- ===> License PSFL accepted by the user ===> py34-tkinter-3.4.2_5 depends on file: /usr/local/sbin/pkg - found => Python-3.4.2.tar.gz is not in /usr/ports/lang/python34/distinfo. => Either /usr/ports/lang/python34/distinfo is out of date, or => Python-3.4.2.tar.gz is spelled incorrectly. *** Error code 1 Stop. -------------------------------------------- As far a I can see the distfile is Python-3.4.2.tar.xz instead of .gz . Is there some kind of typo in the make process or did I understand something wrong? Thanks Peter From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 12:02:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85500A03 for ; Tue, 23 Dec 2014 12:02:28 +0000 (UTC) Received: from pukruppa.de (pd95cabe3.dip0.t-ipconnect.de [217.92.171.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "pukruppa.de", Issuer "pukruppa.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1399B149D for ; Tue, 23 Dec 2014 12:02:27 +0000 (UTC) Received: from pukruppa.de (localhost [127.0.0.1]) by pukruppa.de (8.14.9/8.14.9) with ESMTP id sBNC2Me8057854 for ; Tue, 23 Dec 2014 13:02:24 +0100 (CET) (envelope-from ulrich@pukruppa.de) Message-ID: <549959CE.5070004@pukruppa.de> Date: Tue, 23 Dec 2014 13:02:22 +0100 From: Peter Ulrich Kruppa User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: [SOLVED] py-tkinter for python34 References: <54993AF5.9040002@pukruppa.de> In-Reply-To: <54993AF5.9040002@pukruppa.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 12:02:28 -0000 On 23.12.2014 10:50, Peter Ulrich Kruppa wrote: > Hi, > > as far as I understand the docs I have to > > # cd /usr/ports/x11-toolkits/py-tkinter > # make USES=python:3.4 install > > to install tkinter support for python34 . > > But I receive this error message: > > -------------------------------------------- > ===> License PSFL accepted by the user > ===> py34-tkinter-3.4.2_5 depends on file: /usr/local/sbin/pkg - found > => Python-3.4.2.tar.gz is not in /usr/ports/lang/python34/distinfo. > => Either /usr/ports/lang/python34/distinfo is out of date, or > => Python-3.4.2.tar.gz is spelled incorrectly. > *** Error code 1 > > Stop. > -------------------------------------------- > > As far a I can see the distfile is Python-3.4.2.tar.xz instead of .gz . > > Is there some kind of typo in the make process or did I understand > something wrong? That _was_ a misunderstanding! As a user I have to # make PYTHON_VERSION=python3.4 install "USES=python:3.4" is for creating ports. Thanks and greetings anyway Peter > > Thanks > > Peter > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 12:03:06 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBF08ACF for ; Tue, 23 Dec 2014 12:03:06 +0000 (UTC) Received: from mail-yh0-x229.google.com (mail-yh0-x229.google.com [IPv6:2607:f8b0:4002:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74E8914E1 for ; Tue, 23 Dec 2014 12:03:06 +0000 (UTC) Received: by mail-yh0-f41.google.com with SMTP id a41so3097624yho.28 for ; Tue, 23 Dec 2014 04:03:05 -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=i8w4qZtTF0sX+C2Y8A2AsAj+npFG379KCj4pZUCVpXk=; b=WAl/oja2ec1UTFMCirnCGNIhcQq7k43njTYVDCNc3Jf4gTxI7KV0+5lkDGjjjM1GZ4 dN7CjU3M6HOafzOnusSu4Kla8o93Dcyw0CJHDnjXFwHHNS0b5tnwVr6csAPzsVa0oF8z tebV93Nlt0A/n0WROVXtYd5gtxZYVs+jn3rILomCEWtbEQ4hMjE3tbAH3cowZRnauPds EgG16VKV9Ge1uhJOaMAL8KZqMW/AMsA2lYcAeiirFENTqnFvb2MBtlRbliUPPXpJhevy rRXUr/B2beeNwcDBNGxrAuNtqNqAWy613EI6MkwwPn19OK9djxvEHlx6wn4rxouOZfv4 X4qg== MIME-Version: 1.0 X-Received: by 10.236.231.240 with SMTP id l106mr22354664yhq.100.1419336185626; Tue, 23 Dec 2014 04:03:05 -0800 (PST) Received: by 10.170.188.144 with HTTP; Tue, 23 Dec 2014 04:03:05 -0800 (PST) In-Reply-To: References: <5FB29D10-B4C6-4C92-9522-CB9B904787EF@jensenwaud.com> Date: Tue, 23 Dec 2014 12:03:05 +0000 Message-ID: Subject: Re: FreeBSD wifi usb dongle acting as wireless AP From: krad To: Anders Jensen-Waud Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 12:03:06 -0000 device = 'AR9287 Wireless Network Adapter (PCI-Express)' On 23 December 2014 at 03:05, Anders Jensen-Waud wrote: > Hello, > > On Tue, Dec 23, 2014 at 1:51 AM, krad wrote: > >> im using an intel nuc 2820, but replaced the mini pci card for an athros >> based one and it works well. Just remember to put v32 firmware on it and >> nothing higher >> >> > Which Atheros dongle did you use? What was the chipset? I am looking to > add this to a Beagleboard/RaspPi so not sure if mini-PCI is an option at > all. > > Anders > > >> On 21 December 2014 at 22:55, Anders Jensen-Waud >> wrote: >> >>> Hello >>> >>> I am looking for a wifi usb dongle, which is capable of operating in ap >>> mode on FreeBSD/amd64. My goal is to set up a micro pc as a wireless access >>> point at home. Any suggestions for hardware before I go out and buy one? >>> >>> Thanks >>> >>> Anders >>> >>> Sent from my iPhone >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 12:37:49 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99F5E5E5 for ; Tue, 23 Dec 2014 12:37:49 +0000 (UTC) Received: from smtp-133.corporate-mail-sp.com (smtp-133.corporate-mail-sp.com [177.12.167.133]) by mx1.freebsd.org (Postfix) with ESMTP id 3D4636443E for ; Tue, 23 Dec 2014 12:37:48 +0000 (UTC) Received: from smtp.corporate-mail-sp.com (smtp [127.0.0.1]) by smtp-133.corporate-mail-sp.com (Postfix) with ESMTP id 98C54A436B7 for ; Tue, 23 Dec 2014 10:29:36 -0200 (BRST) Received: from localhost (web-ded-1619g.kinghost.net [177.185.196.151]) by smtp.corporate-mail-sp.com (Postfix) with ESMTP id 8CF7875C1CB64 for ; Tue, 23 Dec 2014 10:29:36 -0200 (BRST) From: Professora Antonieta To: freebsd-questions@freebsd.org Subject: =?UTF-8?Q?Cursos=20para=20come=C3=A7ar=20bem=20em=202015?= Message-Id: <1817420590.guRTf0paKVEb3t9enCp0tFFBtO1TGkRO8llgeh30DAXkLVOv8w89dwufOwwch0QAhIL7gPXRMHslBXeThTDNAw@profantonieta.com.br> Reply-To: mkt@profantonieta.com.br Date: Tue, 23 Dec 2014 10:29:36 -0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 12:37:49 -0000 Problema com a visualização da mensagem? Clique aqui [http://mbox12.profantonieta.com.br/visualizar/RLQvSUg1YI1WzB8TOr9s-j-0xsCwEPJzkHg22Mk2OVaYNO23MhRgsHpkczKVD_H0c7Xj1cdoX-TbRclAxuF85ZbsCERaU7ONaTw7Vc0YX4dGhsBIS3jG-0tqgP8l9a8w]. [http://mbox12.profantonieta.com.br/img/9825_54994ecf62150.jpg] [http://mbox12.profantonieta.com.br/link/RLQvSUg1YI1WzB8TOr9s-j-0xsCwEPJzkHg22Mk2OVYpdzuPJXK-whkBT5Tj1uJjqGSVVEvlZsNlProHu03FeA] [http://mbox12.profantonieta.com.br/img/9825_54994ef2913b4.jpg] [http://mbox12.profantonieta.com.br/link/RLQvSUg1YI1WzB8TOr9s-j-0xsCwEPJzkHg22Mk2OVaW4oB1a1oVL3BuvCQY4W6ppgBU_iJC0dsmB_PwV9QTIA] [http://mbox12.profantonieta.com.br/img/9825_54994f4e6b53f.jpg] [http://mbox12.profantonieta.com.br/link/RLQvSUg1YI1WzB8TOr9s-j-0xsCwEPJzkHg22Mk2OVYSrgDDu-_cPN8R4SzhVkDN0H64oHbS409h548SkHiCbA] [http://mbox12.profantonieta.com.br/img/9825_54994f677adae.jpg] [http://mbox12.profantonieta.com.br/link/RLQvSUg1YI1WzB8TOr9s-j-0xsCwEPJzkHg22Mk2OVbrX5PG5lRCFFnFxhUCm5VpUgrWy0EkPlPjBgPejR8TdA] Nós respeitamos a sua privacidade e somos contra o spam. Se você não deseja mais receber nossos e-mails, cancele seu recebimento acessando aqui [http://mbox12.profantonieta.com.br/descadastro/RLQvSUg1YI1WzB8TOr9s-j-0xsCwEPJzkHg22Mk2OVaYNO23MhRgsHpkczKVD_H0c7Xj1cdoX-TbRclAxuF85ZbsCERaU7ONaTw7Vc0YX4dGhsBIS3jG-0tqgP8l9a8w]. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 14:50:02 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97FC6825 for ; Tue, 23 Dec 2014 14:50:02 +0000 (UTC) Received: from mail-yh0-x22c.google.com (mail-yh0-x22c.google.com [IPv6:2607:f8b0:4002:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56D23669F1 for ; Tue, 23 Dec 2014 14:50:02 +0000 (UTC) Received: by mail-yh0-f44.google.com with SMTP id c41so3195186yho.17 for ; Tue, 23 Dec 2014 06:50:01 -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=BORGAht+JJpc0A7mEnYSsP+Yfx+mb76WtcpwrUmmNjI=; b=DpD3K6idizghfVGmVbVbyESU8/0tAqft1IfwgruU/Tc9sX//0E6Le9yrUoOXEvIklZ nOls4l5uBOKBMDuLbU5EAbWdJHedmQnX91u88cSA4rKWFNtQJnCKr/LTLgwfR5q3g9n5 hypy4pfsRbuTVd1NfV6YLMElSqZb7j+M1AWY3WH2+o4rJNkk2EB97/Z80RQeALioxLyD CGeALBSph2IyWoJYGtTMjT2Col2CVHX6iJwLYE9ag1Y5coY2mbS+uVUAU8PElNEI4Wv7 IEMdic7jYbv0Vr4BdYvJeBTU2BInt72rn21gGc7zf+IIuLUYox4zTKHDpBo7Ofui1nIr 5dpA== MIME-Version: 1.0 X-Received: by 10.170.212.10 with SMTP id d10mr25106799ykf.49.1419346201576; Tue, 23 Dec 2014 06:50:01 -0800 (PST) Received: by 10.170.188.144 with HTTP; Tue, 23 Dec 2014 06:50:01 -0800 (PST) Date: Tue, 23 Dec 2014 14:50:01 +0000 Message-ID: Subject: Freebsd build errors From: krad To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 14:50:02 -0000 Hi, Over the past few months I have been getting frequent build issues when doing a build world. My src.conf and make.conf are pretty simple. Are any others having such issues? Yes I use ccache but turning it on and off seams to make little difference. # cat /etc/src.conf WITHOUT_LIB32="YES" WITHOUT_IPX="yes" WITHOUT_PORTSNAP="YES" WITHOUT_GAMES="YES" WITHOUT_HTML="YES" WITHOUT_FREEBSD_UPDATE="YES" # cat /etc/make.conf KERNCONF=me KERNCONFDIR=/etc/kernel BOOT_COMCONSOLE_SPEED="115200" LOADER_TFTP_SUPPORT=YES" LOADER_ZFS_SUPPORT=yes FTP_PASSIVE_MODE=1 WITH_CTF=1 #CC=/usr/local/libexec/ccache/world/cc #CXX=/usr/local/libexec/ccache/world/c++ WITH_PKGNG= yes PF_ENABLE_FILTER_RULES=yes From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 14:51:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F7159E5 for ; Tue, 23 Dec 2014 14:51:13 +0000 (UTC) Received: from mail-yk0-x22f.google.com (mail-yk0-x22f.google.com [IPv6:2607:f8b0:4002:c07::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF41866ABA for ; Tue, 23 Dec 2014 14:51:12 +0000 (UTC) Received: by mail-yk0-f175.google.com with SMTP id 200so3125028ykr.6 for ; Tue, 23 Dec 2014 06:51:12 -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=5N/aF4Iza6DJBBr30vwJKi91VLXrK9buk4X7ey0ZyMI=; b=Hg/GoKHfIWHWWR/8qzj9zacZrs7qcfzccsc3OIslxbAoWPkB4wtbnpeEdj9yS1npxn QVH/JzYHtiMjFi5ulBa3Ro1/YqDj1XrkOiDXfQNP5LVCrVjLf6r8XYTAvOJWHIbNfGvT BjZq39aWTtSJHgxR76Z7Dm6M9vzIUBOI3k3+B7TNs7GG5PbRHYGR24T3ynBhOc+eL3xC fh+0CsZqzZVhEJP+OPCx5MgauPf9Rtyeqefm89VxjSXUJL/Fs+gkKBoXsBFS1Hv4c7QW FilGhu2uihXSuyf52wEDMbxNJQfNIHjsQjKKO8m9BexuBCvnQQ06h88UR3acwNGxojoA XLXg== MIME-Version: 1.0 X-Received: by 10.170.127.5 with SMTP id t5mr7602080ykb.2.1419346272280; Tue, 23 Dec 2014 06:51:12 -0800 (PST) Received: by 10.170.188.144 with HTTP; Tue, 23 Dec 2014 06:51:12 -0800 (PST) In-Reply-To: References: Date: Tue, 23 Dec 2014 14:51:12 +0000 Message-ID: Subject: Re: Freebsd build errors From: krad To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 14:51:13 -0000 sorry forgot to attach my latest build issue cc -fpic -DPIC -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd -I/usr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -c nslexer.c -o nslexer.So --- nslexer.o --- ctfconvert -L VERSION nslexer.o --- libc.a --- building static c library --- nslexer.po --- ctfconvert -L VERSION nslexer.po --- libc_p.a --- --- nslexer.So --- ctfconvert -L VERSION nslexer.So --- libc.so.7 --- --- libc_pic.a --- building profiled c library building shared library libc.so.7 building special pic c library ranlib -D libc_pic.a --- libc.a --- ranlib -D libc.a --- libc.so.7 --- /usr/bin/ld: ppoll.So: relocation R_X86_64_32 against `SYS_ppoll' can not be used when making a shared object; recompile with -fPIC ppoll.So: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [libc.so.7] Error code 1 make: stopped in /usr/src/lib/libc On 23 December 2014 at 14:50, krad wrote: > Hi, > > Over the past few months I have been getting frequent build issues when > doing a build world. My src.conf and make.conf are pretty simple. Are any > others having such issues? Yes I use ccache but turning it on and off seams > to make little difference. > > # cat /etc/src.conf > WITHOUT_LIB32="YES" > WITHOUT_IPX="yes" > WITHOUT_PORTSNAP="YES" > WITHOUT_GAMES="YES" > WITHOUT_HTML="YES" > WITHOUT_FREEBSD_UPDATE="YES" > > > # cat /etc/make.conf > KERNCONF=me > KERNCONFDIR=/etc/kernel > BOOT_COMCONSOLE_SPEED="115200" > > LOADER_TFTP_SUPPORT=YES" > LOADER_ZFS_SUPPORT=yes > FTP_PASSIVE_MODE=1 > > WITH_CTF=1 > > #CC=/usr/local/libexec/ccache/world/cc > #CXX=/usr/local/libexec/ccache/world/c++ > > WITH_PKGNG= yes > PF_ENABLE_FILTER_RULES=yes > > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 16:31:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24861AE8 for ; Tue, 23 Dec 2014 16:31:35 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2D9F10C7 for ; Tue, 23 Dec 2014 16:31:34 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-70.adsl.hiwaay.net [216.180.19.70]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id sBNGVWjG019574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 23 Dec 2014 10:31:33 -0600 Message-ID: <54999A5B.6050106@hiwaay.net> Date: Tue, 23 Dec 2014 10:37:47 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: Re: issues trying to pkg upgrade nspluginwrapper .... References: <5498BC8D.2060209@hiwaay.net> In-Reply-To: <5498BC8D.2060209@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 16:31:35 -0000 On 12/22/14 18:51, William A. Mahaffey III wrote: > > > .... I have been trying to 'pkg upgrade' nspluginwrapper, > unsuccessfully. I tried to build the port, but that fails w/ the last > few lines below: > > Making install in man > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' > install -o root -g wheel -m 0644 gettext.1 ngettext.1 envsubst.1 > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' > install -o root -g wheel -m 0644 gettext.3 ngettext.3 textdomain.3 > bindtextdomain.3 bind_textdomain_codeset.3 dgettext.3 dcgettext.3 > dngettext.3 dcngettext.3 > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' > Making install in m4 > Making install in tests > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext' > install -o root -g wheel -m 0644 ABOUT-NLS > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext' > /bin/ln -s libintl.so.8 > /usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libintl.so.9 > ====> Compressing man pages (compress-man) > ===>>> Starting check for runtime dependencies > ===>>> Gathering dependency list for devel/gettext-runtime from ports > ===>>> Dependency check complete for devel/gettext-runtime > > ===>>> www/nspluginwrapper 1/1 >> glib-2.42.0 >> devel/gettext-runtime > (2/12) > > ===> Installing for gettext-runtime-0.19.3 > ===> Registering installation for gettext-runtime-0.19.3 > Installing gettext-runtime-0.19.3... > pkg-static: gettext-runtime-0.19.3 conflicts with gettext-0.18.3.1_1 > (installs files into the same place). Problematic file: > /usr/local/bin/envsubst > *** [fake-pkg] Error code 70 > > Stop in /usr/ports/devel/gettext-runtime. > > ===>>> Installation of gettext-runtime-0.19.3 (devel/gettext-runtime) > failed > ===>>> Aborting update > > ===>>> Update for devel/gettext-runtime failed > ===>>> Aborting update > > ===>>> Update for glib-2.42.0 failed > ===>>> Aborting update > > ===>>> Update for www/nspluginwrapper failed > ===>>> Aborting update > > > ===>>> You can restart from the point of failure with this command line: > portmaster www/nspluginwrapper devel/glib20 > devel/gettext-runtime devel/gettext-tools textproc/expat2 devel/gmake > devel/pcre lang/perl5.16 lang/python27 ftp/curl security/ca_root_nss > textproc/intltool textproc/p5-XML-Parser > > whew !!!! that took (89.441 cpu + 28.720 sys) sec., 1:29.36 elapsed > time tot, 132.2% CPU efficiency > (1893 text, 2631 data, 51416 max) KB, (3+850) io, 40 pfs + 0 > swaps > [root@kabini1, /etc, 6:41:14pm] 355 % > > > I noticed that the newer gettext was available as a pkg package, so I > tried to upgrade it using pkg (1.4.1, from ports): > > > [root@kabini1, /etc, 6:42:54pm] 351 % pkg version -vRL= | grep succeeds > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found > pkg: repository FreeBSD_new_xorg has no meta file, using default settings > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: > Not Found > pkg: Unable to update repository FreeBSD_new_xorg > libtorrent-rasterbar-0.16.18 > succeeds remote (remote has > 0.16.17_1) > pkg-1.4.1 > succeeds remote (remote has 1.4.0) > virtualbox-ose-additions-4.3.20 > succeeds remote (remote has > 4.3.18) > [root@kabini1, /etc, 6:42:58pm] 352 % pkg version -vRL= | wc -l > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found > pkg: repository FreeBSD_new_xorg has no meta file, using default settings > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: > Not Found > pkg: Unable to update repository FreeBSD_new_xorg > 134 > [root@kabini1, /etc, 6:43:06pm] 353 % pkg upgrade gettext > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > Updating FreeBSD_new_xorg repository catalogue... > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found > pkg: repository FreeBSD_new_xorg has no meta file, using default settings > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: > Not Found > pkg: Unable to update repository FreeBSD_new_xorg > All repositories are up-to-date. > Updating database digests format: 100% > Checking integrity...pkg: cannot load files from gettext to check > integrity > Assertion failed: (pkgdb_ensure_loaded(j->db, p2, > PKG_LOAD_FILES|PKG_LOAD_DIRS) == EPKG_OK), function > pkg_conflicts_need_conflict, file pkg_jobs_conflicts.c, line 211. > Child process pid=84116 terminated abnormally: Abort trap: 6 > [root@kabini1, /etc, 6:43:16pm] 354 % uname -a > FreeBSD kabini1.local 9.3-RELEASE-p5 FreeBSD 9.3-RELEASE-p5 #0: Mon > Nov 3 22:38:58 UTC 2014 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > [root@kabini1, /etc, 6:43:24pm] 355 % > > > I have been having ongoing (weeks/months) problems doing pkg upgrades > w/ flash &/or nspluginwrapper in the mix. I need these for several > websites I use regularly (daily). I do almost all package maintenance > using pkg, w/ only flash library & other directly needed stuff (& > whatever else portmaster decides to pull in) from ports. Any > help/clues appreciated. TIA .... > > Addendum: Following /usr/ports/UPDATING:20141209: I tried the following: [root@kabini1, /etc, 6:33:46pm] 343 % portmaster -r linux-firefox ===>>> linux-firefox is not installed ===>>> Aborting update You have new mail. [root@kabini1, /etc, 10:32:20am] 344 % portupgrade -f www/linux-firefox [Reading data from pkg(8) ... - 724 packages found - done] [root@kabini1, /etc, 10:32:36am] 345 % pkg install linux-firefox Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. Updating FreeBSD_new_xorg repository catalogue... pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found pkg: repository FreeBSD_new_xorg has no meta file, using default settings pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: Not Found pkg: Unable to update repository FreeBSD_new_xorg All repositories are up-to-date. The following 17 packages will be affected (of 0 checked): New packages to be INSTALLED: linux-firefox: 34.0.5,1 [FreeBSD] linux-f10-xorg-libs: 7.4_1 [FreeBSD] linux-f10-fontconfig: 2.6.0_1 [FreeBSD] linux-f10-expat: 2.0.1_1 [FreeBSD] linux_base-f10: 10_9 [FreeBSD] linux-f10-pango: 1.28.3_1 [FreeBSD] linux-f10-png: 1.2.37_2 [FreeBSD] linux-f10-cairo: 1.8.0_3 [FreeBSD] linux-f10-gtk2: 2.14.7_5 [FreeBSD] linux-f10-tiff: 3.8.2 [FreeBSD] linux-f10-jpeg: 6b [FreeBSD] linux-f10-atk: 1.24.0_1 [FreeBSD] linux-c6-hicolor-icon-theme: 0.5_1 [FreeBSD] linux-c6-dbus-libs: 1.2.24_1 [FreeBSD] linux-c6-dbus-glib: 0.86_1 [FreeBSD] linux-c6-alsa-plugins-oss: 1.0.21_3 [FreeBSD] linux-c6-alsa-lib: 1.0.22_2 [FreeBSD] The process will require 247 MB more space. 39 MB to be downloaded. Proceed with this action? [y/N]: [root@kabini1, /etc, 10:33:25am] 346 % i.e. ports didn't want to do anything, & pkg wants to (re)install linux-f10 :=( .... the text of the UPDATING file seems to focus on FBSD-10/11, not 9.n (I am on FreeBSD 9.3-RELEASE-p5) .... Please advise .... -- 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 Dec 23 18:35:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17B18F6C for ; Tue, 23 Dec 2014 18:35:46 +0000 (UTC) Received: from forward5l.mail.yandex.net (forward5l.mail.yandex.net [IPv6:2a02:6b8:0:1819::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7FA0647CA for ; Tue, 23 Dec 2014 18:35:45 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward5l.mail.yandex.net (Yandex) with ESMTP id 91006C412E1 for ; Tue, 23 Dec 2014 21:35:41 +0300 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id A666E1340315 for ; Tue, 23 Dec 2014 21:35:40 +0300 (MSK) Received: from 87.249.28.58.tel.ru (87.249.28.58.tel.ru [87.249.28.58]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id n0dumMr8DQ-ZegufEsP; Tue, 23 Dec 2014 21:35:40 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) Message-ID: <5499B5FB.8030300@passap.ru> Date: Tue, 23 Dec 2014 21:35:39 +0300 From: Boris Samorodov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: issues trying to pkg upgrade nspluginwrapper .... References: <5498BC8D.2060209@hiwaay.net> In-Reply-To: <5498BC8D.2060209@hiwaay.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 18:35:46 -0000 23.12.2014 03:51, William A. Mahaffey III пишет: > > > .... I have been trying to 'pkg upgrade' nspluginwrapper, > unsuccessfully. I tried to build the port, but that fails w/ the last > few lines below: > > Making install in man > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' > install -o root -g wheel -m 0644 gettext.1 ngettext.1 envsubst.1 > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' > install -o root -g wheel -m 0644 gettext.3 ngettext.3 textdomain.3 > bindtextdomain.3 bind_textdomain_codeset.3 dgettext.3 dcgettext.3 > dngettext.3 dcngettext.3 > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' > Making install in m4 > Making install in tests > /bin/mkdir -p > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext' > install -o root -g wheel -m 0644 ABOUT-NLS > '/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext' > /bin/ln -s libintl.so.8 > /usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libintl.so.9 > ====> Compressing man pages (compress-man) > ===>>> Starting check for runtime dependencies > ===>>> Gathering dependency list for devel/gettext-runtime from ports > ===>>> Dependency check complete for devel/gettext-runtime > > ===>>> www/nspluginwrapper 1/1 >> glib-2.42.0 >> devel/gettext-runtime > (2/12) > > ===> Installing for gettext-runtime-0.19.3 > ===> Registering installation for gettext-runtime-0.19.3 > Installing gettext-runtime-0.19.3... > pkg-static: gettext-runtime-0.19.3 conflicts with gettext-0.18.3.1_1 > (installs files into the same place). Problematic file: > /usr/local/bin/envsubst > *** [fake-pkg] Error code 70 Seems to be covered by /usr/ports/UPDATING (20141130). > Stop in /usr/ports/devel/gettext-runtime. > > ===>>> Installation of gettext-runtime-0.19.3 (devel/gettext-runtime) > failed > ===>>> Aborting update > > ===>>> Update for devel/gettext-runtime failed > ===>>> Aborting update > > ===>>> Update for glib-2.42.0 failed > ===>>> Aborting update > > ===>>> Update for www/nspluginwrapper failed > ===>>> Aborting update > > > ===>>> You can restart from the point of failure with this command line: > portmaster www/nspluginwrapper devel/glib20 > devel/gettext-runtime devel/gettext-tools textproc/expat2 devel/gmake > devel/pcre lang/perl5.16 lang/python27 ftp/curl security/ca_root_nss > textproc/intltool textproc/p5-XML-Parser > > whew !!!! that took (89.441 cpu + 28.720 sys) sec., 1:29.36 elapsed > time tot, 132.2% CPU efficiency > (1893 text, 2631 data, 51416 max) KB, (3+850) io, 40 pfs + 0 swaps > [root@kabini1, /etc, 6:41:14pm] 355 % > > > I noticed that the newer gettext was available as a pkg package, so I Seems that you didn't follow instructions from /usr/ports/UPDATING. > tried to upgrade it using pkg (1.4.1, from ports): Hm. AFAIK mixing ports and packages is not a good idea. If you really need to build ports yourself, take a look at ports-mgmt/poudriere. > [root@kabini1, /etc, 6:42:54pm] 351 % pkg version -vRL= | grep succeeds > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found > pkg: repository FreeBSD_new_xorg has no meta file, using default settings > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: > Not Found > pkg: Unable to update repository FreeBSD_new_xorg So, you add an experimental repository to the mix. > libtorrent-rasterbar-0.16.18 > succeeds remote (remote has > 0.16.17_1) > pkg-1.4.1 > succeeds remote (remote has 1.4.0) > virtualbox-ose-additions-4.3.20 > succeeds remote (remote has 4.3.18) > [root@kabini1, /etc, 6:42:58pm] 352 % pkg version -vRL= | wc -l > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found > pkg: repository FreeBSD_new_xorg has no meta file, using default settings > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: > Not Found > pkg: Unable to update repository FreeBSD_new_xorg > 134 > [root@kabini1, /etc, 6:43:06pm] 353 % pkg upgrade gettext > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > Updating FreeBSD_new_xorg repository catalogue... > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found > pkg: repository FreeBSD_new_xorg has no meta file, using default settings > pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: > Not Found > pkg: Unable to update repository FreeBSD_new_xorg > All repositories are up-to-date. > Updating database digests format: 100% > Checking integrity...pkg: cannot load files from gettext to check integrity > Assertion failed: (pkgdb_ensure_loaded(j->db, p2, > PKG_LOAD_FILES|PKG_LOAD_DIRS) == EPKG_OK), function > pkg_conflicts_need_conflict, file pkg_jobs_conflicts.c, line 211. > Child process pid=84116 terminated abnormally: Abort trap: 6 > [root@kabini1, /etc, 6:43:16pm] 354 % uname -a > FreeBSD kabini1.local 9.3-RELEASE-p5 FreeBSD 9.3-RELEASE-p5 #0: Mon Nov > 3 22:38:58 UTC 2014 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > [root@kabini1, /etc, 6:43:24pm] 355 % > > > I have been having ongoing (weeks/months) problems doing pkg upgrades w/ > flash &/or nspluginwrapper in the mix. I need these for several websites > I use regularly (daily). I do almost all package maintenance using pkg, > w/ only flash library & other directly needed stuff (& whatever else > portmaster decides to pull in) from ports. Any help/clues appreciated. > TIA .... I'd say that the best choice for you is to use ports-mgmt/poudriere to create your custom packages. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 18:52:19 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 713C8335 for ; Tue, 23 Dec 2014 18:52:19 +0000 (UTC) Received: from smtp76.ord1c.emailsrvr.com (smtp76.ord1c.emailsrvr.com [108.166.43.76]) (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 4BAAC64A1B for ; Tue, 23 Dec 2014 18:52:19 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp10.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 68590380403 for ; Tue, 23 Dec 2014 13:44:22 -0500 (EST) X-Virus-Scanned: OK Received: by smtp10.relay.ord1c.emailsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id 08F1C38033A for ; Tue, 23 Dec 2014 13:44:21 -0500 (EST) X-Sender-Id: rhavenn@rhavenn.net Received: from vash.rhavenn.local (209-112-171-194.static.acsalaska.net [209.112.171.194]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.4.2); Tue, 23 Dec 2014 18:44:22 GMT Received: from localhost (4000@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id 739ebc5c; for ; Tue, 23 Dec 2014 09:44:20 -0900 (AKST) Date: Tue, 23 Dec 2014 09:44:20 -0900 From: Henrik Hudson To: questions@freebsd.org Subject: poudriere fetch timeout? Message-ID: <20141223184420.GA38419@vash.rhavenn.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 18:52:19 -0000 Is there a way to pass a fetch timeout to poudriere when building ports? I've got a slow proxy / AV device between me and the internet and on large downloads, openjdk ports specifically, the fetch will timeout and port build will fail. If I manually fetch the file and set a timeout in my own env it will work. I don't know how the shell spawning inside of poudriere works or how to set env variables for it. Any ideas? side note: asking for a proxy whitelist for distfiles.freebsd.org isn't an option. thanks. henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 20:16:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F0EA197 for ; Tue, 23 Dec 2014 20:16:55 +0000 (UTC) Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E69B32094 for ; Tue, 23 Dec 2014 20:16:54 +0000 (UTC) Received: by mail-lb0-f169.google.com with SMTP id p9so5991596lbv.28 for ; Tue, 23 Dec 2014 12:16:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=4JOq46y1mhOpNFFvCTRY1jRDmdsSx40+u/lWkrUeL2E=; b=QB+x2TgjJYWRZQeFgMU9KI6Z4nokyfdgtI+C0BDyPVOXEgVyTRodrwrlib6IvIhQRh YYV5Xu+SraSs9X0mODivQ0GvYYgF3QslI1H66CA3VGoJ56mPIHn2YUuJ7bDxO3bWpthY +sodC71xj1mB7UxZdoQhq2Ee0obn+WUJLD+17yOFKVOjzj9zY2vn4SsSXMgX6pZPqX8b e1neshsWy/+ku0clv/kXIohPvIGzF1tBz7MZFojQaA4b6XkJFJNyvtn0FjXwrCegrjod 3amhuEhBYBQKTX/jCmyGXfdzBJ13iFLMrv1fkpP0ApJ2aYdpf/5Ehq2u/BwasdlCBE6n 7isw== X-Received: by 10.112.150.102 with SMTP id uh6mr18585304lbb.66.1419365813012; Tue, 23 Dec 2014 12:16:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.35.199 with HTTP; Tue, 23 Dec 2014 12:16:12 -0800 (PST) From: Odhiambo Washington Date: Tue, 23 Dec 2014 23:16:12 +0300 Message-ID: Subject: gcc49 fails to install on a clean 10.1-RELEASE To: User Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 20:16:55 -0000 Hi, So I am trying to install gcc49 on a fresh 10.1-REL and it fails and I am unable to figure out what the cause is: $ uname -a FreeBSD mail.ili.or.ug 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 The complete error test is at http://mail.ili.or.ug:8080/~wash/gcc49-fail.txt I hope it is accessible. Kindly advise. It's just my very first times getting my hands dirty with 10.x -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 20:42:51 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B5BD811 for ; Tue, 23 Dec 2014 20:42:51 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E827A2F76 for ; Tue, 23 Dec 2014 20:42:50 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-3.adsl.hiwaay.net [216.180.19.3]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id sBNKgmqC014356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 23 Dec 2014 14:42:48 -0600 Message-ID: <5499D53F.6010003@hiwaay.net> Date: Tue, 23 Dec 2014 14:49:03 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: issues trying to pkg upgrade nspluginwrapper .... References: <5498BC8D.2060209@hiwaay.net> <5499B5FB.8030300@passap.ru> In-Reply-To: <5499B5FB.8030300@passap.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 20:42:51 -0000 On 12/23/14 12:35, Boris Samorodov wrote: > 23.12.2014 03:51, William A. Mahaffey III пишет: >> >> .... I have been trying to 'pkg upgrade' nspluginwrapper, >> unsuccessfully. I tried to build the port, but that fails w/ the last >> few lines below: >> >> Making install in man >> /bin/mkdir -p >> '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' >> /bin/mkdir -p >> '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' >> install -o root -g wheel -m 0644 gettext.1 ngettext.1 envsubst.1 >> '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man1' >> /bin/mkdir -p >> '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' >> install -o root -g wheel -m 0644 gettext.3 ngettext.3 textdomain.3 >> bindtextdomain.3 bind_textdomain_codeset.3 dgettext.3 dcgettext.3 >> dngettext.3 dcngettext.3 >> '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' >> /bin/mkdir -p >> '/usr/ports/devel/gettext-runtime/work/stage/usr/local/man/man3' >> Making install in m4 >> Making install in tests >> /bin/mkdir -p >> '/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext' >> install -o root -g wheel -m 0644 ABOUT-NLS >> '/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext' >> /bin/ln -s libintl.so.8 >> /usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libintl.so.9 >> ====> Compressing man pages (compress-man) >> ===>>> Starting check for runtime dependencies >> ===>>> Gathering dependency list for devel/gettext-runtime from ports >> ===>>> Dependency check complete for devel/gettext-runtime >> >> ===>>> www/nspluginwrapper 1/1 >> glib-2.42.0 >> devel/gettext-runtime >> (2/12) >> >> ===> Installing for gettext-runtime-0.19.3 >> ===> Registering installation for gettext-runtime-0.19.3 >> Installing gettext-runtime-0.19.3... >> pkg-static: gettext-runtime-0.19.3 conflicts with gettext-0.18.3.1_1 >> (installs files into the same place). Problematic file: >> /usr/local/bin/envsubst >> *** [fake-pkg] Error code 70 > Seems to be covered by /usr/ports/UPDATING (20141130). You're right, I missed that. I am only intending to use pkg to maintain packages, so I sometimes (often ?) miss stuff in the UPDATING file .... That got gettext fixed, thanks. > >> Stop in /usr/ports/devel/gettext-runtime. >> >> ===>>> Installation of gettext-runtime-0.19.3 (devel/gettext-runtime) >> failed >> ===>>> Aborting update >> >> ===>>> Update for devel/gettext-runtime failed >> ===>>> Aborting update >> >> ===>>> Update for glib-2.42.0 failed >> ===>>> Aborting update >> >> ===>>> Update for www/nspluginwrapper failed >> ===>>> Aborting update >> >> >> ===>>> You can restart from the point of failure with this command line: >> portmaster www/nspluginwrapper devel/glib20 >> devel/gettext-runtime devel/gettext-tools textproc/expat2 devel/gmake >> devel/pcre lang/perl5.16 lang/python27 ftp/curl security/ca_root_nss >> textproc/intltool textproc/p5-XML-Parser >> >> whew !!!! that took (89.441 cpu + 28.720 sys) sec., 1:29.36 elapsed >> time tot, 132.2% CPU efficiency >> (1893 text, 2631 data, 51416 max) KB, (3+850) io, 40 pfs + 0 swaps >> [root@kabini1, /etc, 6:41:14pm] 355 % >> >> >> I noticed that the newer gettext was available as a pkg package, so I > Seems that you didn't follow instructions from /usr/ports/UPDATING. > >> tried to upgrade it using pkg (1.4.1, from ports): > Hm. AFAIK mixing ports and packages is not a good idea. If you really > need to build ports yourself, take a look at ports-mgmt/poudriere. > >> [root@kabini1, /etc, 6:42:54pm] 351 % pkg version -vRL= | grep succeeds >> pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found >> pkg: repository FreeBSD_new_xorg has no meta file, using default settings >> pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: >> Not Found >> pkg: Unable to update repository FreeBSD_new_xorg > So, you add an experimental repository to the mix. I had/have this (new_xorg) active because it was/is(?) required to get all of the X11 stuff for me, might be a mis-config :-/ .... > >> libtorrent-rasterbar-0.16.18 > succeeds remote (remote has >> 0.16.17_1) >> pkg-1.4.1 > succeeds remote (remote has 1.4.0) >> virtualbox-ose-additions-4.3.20 > succeeds remote (remote has 4.3.18) >> [root@kabini1, /etc, 6:42:58pm] 352 % pkg version -vRL= | wc -l >> pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found >> pkg: repository FreeBSD_new_xorg has no meta file, using default settings >> pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: >> Not Found >> pkg: Unable to update repository FreeBSD_new_xorg >> 134 >> [root@kabini1, /etc, 6:43:06pm] 353 % pkg upgrade gettext >> Updating FreeBSD repository catalogue... >> FreeBSD repository is up-to-date. >> Updating FreeBSD_new_xorg repository catalogue... >> pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/meta.txz: Not Found >> pkg: repository FreeBSD_new_xorg has no meta file, using default settings >> pkg: http://pkg.FreeBSD.org/FreeBSD:9:amd64/new_xorg/packagesite.txz: >> Not Found >> pkg: Unable to update repository FreeBSD_new_xorg >> All repositories are up-to-date. >> Updating database digests format: 100% >> Checking integrity...pkg: cannot load files from gettext to check integrity >> Assertion failed: (pkgdb_ensure_loaded(j->db, p2, >> PKG_LOAD_FILES|PKG_LOAD_DIRS) == EPKG_OK), function >> pkg_conflicts_need_conflict, file pkg_jobs_conflicts.c, line 211. >> Child process pid=84116 terminated abnormally: Abort trap: 6 >> [root@kabini1, /etc, 6:43:16pm] 354 % uname -a >> FreeBSD kabini1.local 9.3-RELEASE-p5 FreeBSD 9.3-RELEASE-p5 #0: Mon Nov >> 3 22:38:58 UTC 2014 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >> [root@kabini1, /etc, 6:43:24pm] 355 % >> >> >> I have been having ongoing (weeks/months) problems doing pkg upgrades w/ >> flash &/or nspluginwrapper in the mix. I need these for several websites >> I use regularly (daily). I do almost all package maintenance using pkg, >> w/ only flash library & other directly needed stuff (& whatever else >> portmaster decides to pull in) from ports. Any help/clues appreciated. >> TIA .... > I'd say that the best choice for you is to use ports-mgmt/poudriere to > create your custom packages. Actually, I *only* use ports at all because of the necessity to compile up flash support, that's *IT*. I use & prefer pkg, only had/have to fall back to ports for flash support. Thanks. I got past the gettext problem & will wait until external packages are updated to catch up to some of the newer ports versions that got installed. Thanks again. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 22:59:45 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2015E2A8 for ; Tue, 23 Dec 2014 22:59:45 +0000 (UTC) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A00A64882 for ; Tue, 23 Dec 2014 22:59:36 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id b13so10150047wgh.17 for ; Tue, 23 Dec 2014 14:59:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=U1UwYrbVxmDopZ/h++DuiCJEo0sLdkgXqA9yIYlk+Lc=; b=UqOXMxi3jUbokDxWfKlQWbJ7g0QcgZzOv3O74aO3ilidCbfVZQAbaT6N9hT/8cTcRK Ce2qQ9s4i6XzfRc8WnoH/UpIU1S8WAnJks4DrI4eZ0oDHTWG06LhGRXid0Zs/DlHUcv7 tvSb911/PpHS4UyDheF57Dtslg55vZotV9ntq3VkIOyB7vrOnsnmkOaD6o1U9lsJikX7 VlBHZtjcotrHpDrQFl1yKuChuSQ4zfK6rkNEV0Ap/sn1kQWm2UImaZQATcIkyvgvlSbN 8li9i/Cp2Z4Ciqh3kA5/QQ1Lf4yh/5ogtE0QnxbZbdVtIzUZULmikfCFBhZCr4O+QCVn 2phw== X-Received: by 10.194.200.1 with SMTP id jo1mr58262752wjc.64.1419375573952; Tue, 23 Dec 2014 14:59:33 -0800 (PST) Received: from gumby.homeunix.com (5ec3c54b.skybroadband.com. [94.195.197.75]) by mx.google.com with ESMTPSA id je12sm18984202wic.22.2014.12.23.14.59.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Dec 2014 14:59:32 -0800 (PST) Date: Tue, 23 Dec 2014 22:59:30 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: poudriere fetch timeout? Message-ID: <20141223225930.2d251cc4@gumby.homeunix.com> In-Reply-To: <20141223184420.GA38419@vash.rhavenn.local> References: <20141223184420.GA38419@vash.rhavenn.local> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 22:59:45 -0000 On Tue, 23 Dec 2014 09:44:20 -0900 Henrik Hudson wrote: > Is there a way to pass a fetch timeout to poudriere when building > ports? > > If I manually fetch the file and set a timeout in my own env it will > work. I don't know how the shell spawning inside of poudriere works > or how to set env variables for it. You don't have to set the timeout in the environment, you can use the -T option in FETCH_BEFORE_ARGS in whatever make.conf file poudriere uses. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 23:24:27 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A79DB0D for ; Tue, 23 Dec 2014 23:24:27 +0000 (UTC) Received: from mail-qg0-f41.google.com (mail-qg0-f41.google.com [209.85.192.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F3B664D09 for ; Tue, 23 Dec 2014 23:24:27 +0000 (UTC) Received: by mail-qg0-f41.google.com with SMTP id e89so3397680qgf.0 for ; Tue, 23 Dec 2014 15:24:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=oDj8ANHAWSC7JpAf+eUhovOKzkuDpmYalDIAA39xmMU=; b=MzeXHjjrGpuM4tyaWTKx3eRml09OZHFM/FsraXDOdk+TZStzyJH/OA/cC8x6+PyS84 bypSwY541pQV0byZ/lJnMsliHI9baVpdl3kD0ethXf108Y2OjkHyxUSMGjcI/0eIhzTJ 63cPEBk43eJ3G6uz21EI11FcfuHPGP5aMqp+TfEycgSqZlpmk8oQxiuU1uDJOWcrYgzo 6/8Lz2KcBW2dYvIvyNqMC9kqMOoOFvc33WZTJ/ZXPSMcPas8THP/Vtzx9EFpCBlM0dv7 zXviQM9TgU7pbLOi7/S7HPzJ/SQJl95mB9iHhijcN0HoocHuHYDPkUzmXtVT/Ql8qF9I wW/g== X-Gm-Message-State: ALoCoQkBlMW6lVvCyomu+lkC+HolM2w2ZJIHFAF3HhBwue+nf5uKpyaNgyzkSR9UE4tU7vp/YiKK MIME-Version: 1.0 X-Received: by 10.224.96.129 with SMTP id h1mr49900149qan.46.1419377066037; Tue, 23 Dec 2014 15:24:26 -0800 (PST) Received: by 10.229.48.202 with HTTP; Tue, 23 Dec 2014 15:24:25 -0800 (PST) Date: Tue, 23 Dec 2014 15:24:25 -0800 Message-ID: Subject: Starting Tomcat with Security Manager From: Tim Gustafson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 23:24:27 -0000 Hi, I was reading on the Tomcat web site that in order to start Tomcat with a security manager active, you have to pass the "-security" flag when starting the server: http://tomcat.apache.org/tomcat-8.0-doc/security-manager-howto.html I tried adding that to my rc.conf like this: tomcat8_java_opts="-security" But that throws the following error on re-start: Starting tomcat8. Invalid option -security Cannot parse command line arguments /usr/local/etc/rc.d/tomcat8: WARNING: failed to start tomcat8 Googling for "freebsd tomcat security manager" found nothing. Where is the proper place in FreeBSD to indicate to Tomcat that I want it to run with the security manager enabled? -- Tim Gustafson tjg@tgustafson.com From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 00:09:45 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EB5E45A for ; Wed, 24 Dec 2014 00:09:45 +0000 (UTC) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB9252FED for ; Wed, 24 Dec 2014 00:09:33 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id l4so6018064lbv.26 for ; Tue, 23 Dec 2014 16:09: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:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=aSdvKjUpQOqsmAVCTytW2Iy60LfN7zcHAItbgXsD94M=; b=aLCPw0jZNH3lkg9ssV1wO/81OywzUUlSHL+ioSYgL/PwidN0DeXQ1YEZIBdh6ZGBvM jjL4rdYzQYa1kiw+/W3PRWCgUQBQukhatOPGZKThn9/YnhrMUrGOEpOKr5RIkpgq8EpK v2ti9Jrre1spdGczlDZrIg2CHPMt0J3iy95XJY6qluYPjaM2kXxzHBItfS4LnHTvktrq Xq05cPf2FQVzZiNHz7npV5GbxuhF0F6ctIyq55zoH5quO5ebCjroS7gx83rPsu6/dE5e 7Au7gmQHhXpaPCgO47yQ3UTUvYzaGddUFEpo61U1B3kHahquka+aXexYmUWs0EQNzp1J UVAw== X-Gm-Message-State: ALoCoQm7kqusj1t27YYH3nzTGPXlv5UzvKBevzTqtDiwpdFjAtj5ZmuNKAErg/zHWxWQ3IUfAoUZ MIME-Version: 1.0 X-Received: by 10.112.51.44 with SMTP id h12mr31399729lbo.5.1419379765712; Tue, 23 Dec 2014 16:09:25 -0800 (PST) Received: by 10.152.122.227 with HTTP; Tue, 23 Dec 2014 16:09:25 -0800 (PST) X-Originating-IP: [70.209.206.151] Received: by 10.152.122.227 with HTTP; Tue, 23 Dec 2014 16:09:25 -0800 (PST) In-Reply-To: <20141223225930.2d251cc4@gumby.homeunix.com> References: <20141223184420.GA38419@vash.rhavenn.local> <20141223225930.2d251cc4@gumby.homeunix.com> Date: Tue, 23 Dec 2014 16:09:25 -0800 Message-ID: Subject: Re: poudriere fetch timeout? From: "Brian W." To: RW Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 00:09:45 -0000 How long will it be till package builds happen nearly immediately after a commit change. It seems this is viewed optionally now and this is why folks are asking so many questions about this. Brian On Dec 23, 2014 2:59 PM, "RW" wrote: > On Tue, 23 Dec 2014 09:44:20 -0900 > Henrik Hudson wrote: > > > Is there a way to pass a fetch timeout to poudriere when building > > ports? > > > > If I manually fetch the file and set a timeout in my own env it will > > work. I don't know how the shell spawning inside of poudriere works > > or how to set env variables for it. > > You don't have to set the timeout in the environment, you can use the -T > option in FETCH_BEFORE_ARGS in whatever make.conf file poudriere uses. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 00:42:11 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B09A19D8 for ; Wed, 24 Dec 2014 00:42:11 +0000 (UTC) Received: from smtp124.ord1c.emailsrvr.com (smtp124.ord1c.emailsrvr.com [108.166.43.124]) (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 86EC5368E for ; Wed, 24 Dec 2014 00:42:11 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp24.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 54CD580313 for ; Tue, 23 Dec 2014 19:33:59 -0500 (EST) X-Virus-Scanned: OK Received: by smtp24.relay.ord1c.emailsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id ECB1480310 for ; Tue, 23 Dec 2014 19:33:58 -0500 (EST) X-Sender-Id: rhavenn@rhavenn.net Received: from vash.rhavenn.local (209-112-171-194.static.acsalaska.net [209.112.171.194]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.4.2); Wed, 24 Dec 2014 00:33:59 GMT Received: from localhost (4000@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id b49363a1; for ; Tue, 23 Dec 2014 15:33:57 -0900 (AKST) Date: Tue, 23 Dec 2014 15:33:57 -0900 From: Henrik Hudson To: freebsd-questions@freebsd.org Subject: Re: poudriere fetch timeout? Message-ID: <20141224003357.GA41332@vash.rhavenn.local> References: <20141223184420.GA38419@vash.rhavenn.local> <20141223225930.2d251cc4@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 00:42:11 -0000 On Tue, 23 Dec 2014, Brian W. wrote: > How long will it be till package builds happen nearly immediately after a > commit change. It seems this is viewed optionally now and this is why folks > are asking so many questions about this. > > Brian > On Dec 23, 2014 2:59 PM, "RW" wrote: > > > On Tue, 23 Dec 2014 09:44:20 -0900 > > Henrik Hudson wrote: > > > > > Is there a way to pass a fetch timeout to poudriere when building > > > ports? > > > > > > If I manually fetch the file and set a timeout in my own env it will > > > work. I don't know how the shell spawning inside of poudriere works > > > or how to set env variables for it. > > > > You don't have to set the timeout in the environment, you can use the -T > > option in FETCH_BEFORE_ARGS in whatever make.conf file poudriere uses. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Excellent. Thank you. henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 06:57:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7AFCA0E for ; Wed, 24 Dec 2014 06:57:15 +0000 (UTC) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65CD72D9B for ; Wed, 24 Dec 2014 06:57:15 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id x12so10548796wgg.24 for ; Tue, 23 Dec 2014 22:57:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:reply-to:from:to:subject:date:mime-version:content-type :content-transfer-encoding; bh=oKgORboWUAthuOowLXDtAoJsZZ1iauWTx2SPgkw7nUQ=; b=RHPQ4WD4M8FhkyDEq6nMr+mgtQ/cput2PSx0zY3PJWawL7V4X+5OvPr11l3u5R4BDo jAcheX+2M20JfZ5atlbTsIpZX4I+JKDoLyRVBQgO5cD6sjdRABDMvl4c59zaHfjFHmZo 7jFs6XJGw/7+YaSTr+DhPpyyRH83j0c4RBf7qFdUOolhKUcqcIe3ktOMlBU9MzsGEQ/l 6a/LyhxTkZjEF5uu0O9DDMZ4kBZRnUOoBIntp4fzQ2LdNVSDVB1RVFbRrKGbKVCJp/z/ vbHydAQq/WQM/Q/E5rxge3+PtkETa33bH8a4n88736eLfpNBukjnMOYq4CY6YQ4FIIB2 D2uA== X-Received: by 10.194.190.162 with SMTP id gr2mr61211219wjc.13.1419404233827; Tue, 23 Dec 2014 22:57:13 -0800 (PST) Received: from alipour-PC ([5.234.133.240]) by mx.google.com with ESMTPSA id h8sm20035986wiy.17.2014.12.23.22.57.09 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 23 Dec 2014 22:57:10 -0800 (PST) Message-ID: <03836cc5-41997-03754355191319@alipour-pc> Reply-To: "Global Researchers Journals" From: "Global Researchers Journals" To: freebsd-questions@freebsd.org Subject: Call for Paper December 2014 { Vol 4 | Issue 12} Date: Wed, 24 Dec 2014 10:27:10 +0330 X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 06:57:16 -0000 Call for Paper Dear Colleagues You are cordially invited to submit or recommend papers to: [1]http://www.grjournals.com December2014 (Volume 4 | Issue 12) ·Journal of Physiology and Pharmacology Advances (JPPA) [2]http://grjournals.com/Default.aspx?tabid=6537 · Journal of Animal Production Advances (JAPA) [3]http://grjournals.com/Default.aspx?tabid=6538 Journal of Animal Science Advances (JASA) [4]http://grjournals.com/Default.aspx?tabid=6401 Journal of Veterinary Advances (JVA) [5]http://grjournals.com/Default.aspx?tabid=6536 Journal of Recent Advances in Agriculture (JRAA) http://grjournals.com/Default.aspx?tabid=6878 Global Researchers Journals, a fast track peer-reviewed and open access academic journal published by Grjournals Publishing, which is one of the largest open access journal publishers around the world. Grjournals is using online article submission, review and tracking system for quality and quick review processing. Journal provides rapid publication of research article. After 30 days Rapid Review Process by the editorial/review board members or outside experts, an accepted paper will be placed under In Press within 24 hours and will be published in the next issue. Instructions for authors are available on our website: [6]http://www.grjournals.com Submitted papers must follow the Instructions to authors to be considered for review and publication. Refereeing of manuscripts is conducted anonymously and the identity of the referees is not disclosed. The manuscripts which get an acceptance will publish with DOI number. Your Manuscript(s) can be one of these kinds: Review, Original Article, Case Report, Short Communications, Technical Notes, Mini Review Article and Hypothesis. Some of Abstracted/Index in: CAB reviews, Chemical Abstract Service (CAS), Genamics JournalSeek, Index Directory of Open Access Journals (DOAJ), Index Electronic Journals Library and SCIRUS, ISC and the World most Popular University Electronic Library. [7]http://grjournals.com/Defaul t.aspx?tabid=7329 Now you can clear the clutter by accessing your favorite journals online: · Full text, full archive that's always there when you need it · Easy access anywhere, anytime and anyhow · Impact your practice, not the environment NOTICE: Authors that cite [8]www.grjournals.com manuscripts as reference in their ISI articles, they can send their manuscripts to one of above journals as FREE of charge. After evaluation and get an acceptance it will publish without any Article Processing Fee with DOI. We apologize if you have received this email twice, or our journal is not your field. With Warm Regards Sincerely, Grjournals team Site: [9]www.grjournals.com E_Mail: [10]grjournals@gmail.com References 1. http://www.grjournals.com/ 2. http://grjournals.com/Default.aspx?tabid=6537 3. http://grjournals.com/Default.aspx?tabid=6538 4. http://grjournals.com/Default.aspx?tabid=6401 5. http://grjournals.com/Default.aspx?tabid=6536 6. http://www.grjournals.com/ 7. http://grjournals.com/Default.aspx?tabid=7329 8. http://www.grjournals.com/ 9. http://www.grjournals.com/ 10. mailto:grjournals@gmail.com From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 07:40:26 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4FA031A2 for ; Wed, 24 Dec 2014 07:40:26 +0000 (UTC) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id CFE653E5F for ; Wed, 24 Dec 2014 07:40:25 +0000 (UTC) Received: from ppp14-2-30-215.lns21.adl2.internode.on.net (HELO leader.local) ([14.2.30.215]) by ipmail06.adl2.internode.on.net with ESMTP; 24 Dec 2014 18:05:16 +1030 Message-ID: <549A6CB3.8070106@ShaneWare.Biz> Date: Wed, 24 Dec 2014 18:05:15 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsdlist@compudoc.za.org, freebsd-questions@freebsd.org Subject: Re: Using Nokia Cell Phone or GSM Modem to send sms's References: <5497CE57.8020601@compudoc.za.org> In-Reply-To: <5497CE57.8020601@compudoc.za.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 07:40:26 -0000 On 22/12/2014 18:25, Godfrey Hamshire wrote: > > Using Nokia Cell Phone or GSM Modem to send sms's > > Dear Memeber > > I was wondering if anyone has had experience with connecting a 3g/gsm of > the type you can find in Cell Phone Shops to freebsd or a old nokia > symbian cell phone via its usb cable to freebsd. > > What I would like to to do is send sms's from the server using a 3g/gsm > dongle or using an old nokia symbian cell ie warning the power is out > etc etc I am doing this already via email and a clickatel api account > already but sometimes these email do not get through or what ever. I am > looking for alternative ways of notifying myself of power problems or > what ever is going on when I am not around. Not really what your asking for but another option could be to send notifications from offsite - you can run a t2.micro ec2 instance at amazon for between $4.20 and $9.50 a month - it receives no pings in x minutes then have it send a message. AWS has SNS which can send mobile notifications, sms or email - you can send 100 sms's per month for free. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 08:16:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B510C9EE for ; Wed, 24 Dec 2014 08:16:39 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36D556468C for ; Wed, 24 Dec 2014 08:16:39 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id l4so6618462lbv.12 for ; Wed, 24 Dec 2014 00:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=XjaXNfOmqRoR0i8ihZP4qV2rmTx+aGlDuWrgRCc+RQE=; b=z9AG3QeZVnP94mgEieDA4b1i2WE6+qUH4NNm8wlILz8vfgQZqsifF7QWy+ZKZBYemK londFMU+9xA0g7NmCkikakmgZq1tX7EeAE/1ATRMlG5BRKf5Fz3YoAdvhJKXgOfip8+b E0ffyzJehYbkAxqEmYTwhYVRGrbJpVvHs0449cSPC5ElpVilqK3cfyMM9UTlj42HOx/F 3l7hrTUcbbtrI+o6b4luGW72BfL3zMKUklfs+SV7uHedN2GYE2yckZSEyf0Re73tOQts exQRsAYqFyzpXK1Ab2tpe1xuWI7VD09cb4mA0muDA82DX2lBBl73AaXPqgk5hXm3GbOU b0lw== X-Received: by 10.152.28.99 with SMTP id a3mr32048059lah.18.1419408997231; Wed, 24 Dec 2014 00:16:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.35.199 with HTTP; Wed, 24 Dec 2014 00:15:56 -0800 (PST) From: Odhiambo Washington Date: Wed, 24 Dec 2014 11:15:56 +0300 Message-ID: Subject: installing gcc49 on 10.1-RELEASE To: User Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 08:16:39 -0000 I am trying to install gcc49 on the subject RELEASE and if fails like this: http://pastebin.com/gmVsV3wA Anyone knows what I need to fix? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 09:07:44 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C686D285 for ; Wed, 24 Dec 2014 09:07:44 +0000 (UTC) Received: from lb1-smtp-cloud3.xs4all.net (lb1-smtp-cloud3.xs4all.net [194.109.24.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 43FDB186E for ; Wed, 24 Dec 2014 09:07:43 +0000 (UTC) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud3.xs4all.net with ESMTP id XM6W1p00U07iGuj01M6XmA; Wed, 24 Dec 2014 10:06:32 +0100 Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 9DFBA12460; Wed, 24 Dec 2014 10:06:30 +0100 (CET) Date: Wed, 24 Dec 2014 10:06:30 +0100 From: Roland Smith To: Mayuresh Kathe Subject: Re: posix has been rendered useless, isn't it? Message-ID: <20141224090630.GA93154@slackbox.erewhon.home> Mail-Followup-To: Mayuresh Kathe , freebsd-questions@freebsd.org References: <20141221155635.GA1388@aio> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <20141221155635.GA1388@aio> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 09:07:45 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 21, 2014 at 09:26:37PM +0530, Mayuresh Kathe wrote: > hello, >=20 > there's a question which i have not been able to > find an answer to yet, hence venture to pose here. >=20 > i have been studying the unix way of doing things, > i.e. tool-chaining to combine small programs for > accomplishing a solution. Simple chaining is only *one* possible connection mechanism. One that is perfectly suitable for =E2=80=9Cfilters=E2=80=9D; programs that rea= d from standard input and write to standard output. But it is not always suitable for other types of programs. The UNIX phylosophy is much larger than that. Therefore I would recommend that you read =E2=80=9CThe Art of Unix Programming=E2=80=9D by Er= ic Raymond. You can read the first edition online here: http://www.catb.org/esr/writings/taoup/html/ The section =E2=80=9CBasics of the Unix Philosophy=E2=80=9D http://www.catb.org/esr/writings/taoup/html/ch01s06.html is a good overview. > but, almost none of today's servers built for any > of today's unix-like systems adhere to the unix > philosophy. most of them instead, are large > applications. Not always. Look e.g. at the nginx webserver or the postfix mail server. > i couldn't find a way to write a c-shell script > to create a workable mail server in minimal time. That is because a mail server isn't really suitable for the =E2=80=9Cchaini= ng=E2=80=9D model. The postfix mail server consists of several cooperating programs instead of one monolithic program like sendmail. They cooperate by reading/writing mail queues. Look at http://www.postfix.org/OVERVIEW.html for an overview of the architecture of postfix. Another example is the nginx webserver. This is a relatively small program; the stripped binary on my FreeBSD 10 amd64 machine is 594656 bytes. It has approximately 150.000 lines of code. It uses multiple =E2=80=9Cworker=E2=80=9D processes to make use of modern multi-cor= e machines. Thw workers use an event-driven architcture to achieve a high degree of concurrency (handling many requests at one time) with a low memory usage. Splitting the handling of a HTTP request into many small pieces that can individually be executed quickly allows the program to keep being responsive to new incoming requests while many other requests are in different stages of being handled. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJUmoINAAoJEED21dyjijPgN10P/R7eaYWRtD+zPLC0QeLqdwkt T8AZ/1dYV5NN+g+Rm8UhXTiRM99GF20CWYlQB9TX0LG/GykuEph5wCWBKKyFljr9 YfThUf2EmXwScFUwuk+zE1xrUhZt0GkWQYp2yjudN2/S9J83MyUT2NGoH36j4+iZ G3w9b5WMgmimCTAv09sWqdaH+GFMQIXjgv14LCL3W5PC547lVxIxRoGZr6l9Z3xp K2f0SSS7ObHfcna9G2tKVTqaWkVWFsIj6W83KTC/WtTHwSlZQJTdh9NVRyXq10Q3 U18cLfvRiDIFWzRHcuxkyATG+VIEQSwYgTYDBVCG3mOrwsQBFBhZr7MoWbVhra8h L1y/37739w+snEQvTUK3WcjPdWgvPXuJWdKkfqO8pfNn/cs2OVE76qDeVsiBo5N3 W4fin0nPBGFJ4hR3y0D/QSlyOkJtD8B/OptUpwugtZ/aRZjQ28xo35Db1rXcIxlB 9+v+9ew2SUkgMz8g60XZ/BfM7rcbd8E5/+z20x8TvIhEQxk560z/O/UVpFwc6SeU uXeATNDhVLN2JuRtUkw+YSV383W6nsiMvF5kh77jl5fTs+PZ2VpR8KbWjs7nWXcA Lzw+y79iN3VY/sAQXu4XPEZ3SrTBns5DRwKZp/P+U3TGycNU2qQ4QCyn2Fd2J6m0 AEfrpXdAiKfWJlZ2fjtC =EI+c -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 09:27:47 2014 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from chateau.d.if (localhost [IPv6:::1]) by hub.freebsd.org (Postfix) with ESMTP id 4C5087FF; Wed, 24 Dec 2014 09:27:46 +0000 (UTC) Received: from chateau.d.if (chateau.d.if [IPv6:::1]); by chateau.d.if (OpenSMTPD) with ESMTP id 7125049e; Wed, 24 Dec 2014 14:57:44 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: kpneal@pobox.com Subject: Re: zvol vs plain file for VMs Organization: The FreeBSD Project References: <54947594.2060202@gmx.com> <86mw6ilvyf.fsf@chateau.d.if> <549801AF.5000208@gmx.com> <86fvc7my1o.fsf@chateau.d.if> <20141223031411.GA752@neutralgood.org> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 2:34PM up 15:15, 17 users, load averages: 0.22, 0.12, 0.11 X-Operating-System: FreeBSD/FreeBSD 10.1-RELEASE/amd64 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project X-Hashcash: 1:20:141224:kpneal@pobox.com::U9MmEeRkaQUIuKMY:018aq X-Hashcash: 1:20:141224:freebsd-questions@freebsd.org::qC2MoXJhGF9WGEWt:0000000000000000000000000000000005h2 X-Hashcash: 1:20:141224:nvass@gmx.com::MgEQx9R0gt+/dFqQ:00005QQo Date: Wed, 24 Dec 2014 14:57:44 +0530 In-Reply-To: <20141223031411.GA752@neutralgood.org> (kpneal@pobox.com's message of "Mon, 22 Dec 2014 22:14:11 -0500") Message-ID: <86zjads8hb.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (amd64-portbld-freebsd10.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: Nikos Vassiliadis , freebsd-questions@FreeBSD.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 09:27:47 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 22 Dec 2014 22:14:11 -0500, kpneal@pobox.com said: | On Mon, Dec 22, 2014 at 10:17:31PM +0530, Ashish SHUKLA wrote: || On Mon, 22 Dec 2014 12:34:07 +0100, Nikos Vassiliadis sa= id: ||=20 ||=20 || | On 12/20/14 06:41, Ashish SHUKLA wrote: || || On Fri, 19 Dec 2014 19:59:32 +0100, Nikos Vassiliadis = said: || || | Hi, || ||=20 || || | I have to convert a mail server to a VM and I don't know what kind = of || || | storage to use, a plain file or a zvol? || ||=20 || || | Are there any pros in using ZVOLs instead of plain files? || ||=20 || || | Thanks, Nikos || ||=20 || || I don't use FreeBSD for VMs, but theoretically plain file will have f= ilesystem || || overhead which ZVOL won't. || ||=20 || || HTH || ||=20 ||=20 || | Hi, ||=20 || | Thank you for your reply Ashish! ||=20 || | When you say overhead, you mean overhead on disk or in RAM? could you || | explain a bit more? ||=20 || Overhead as in, read/writes to file will go through filesystem driver to= block || devices, which involves traversing filesystem structures, compared to ZV= OL || which is likely to be contiguous and is exposed as a block device. | Wait, is that correct? I doubt it. | A zvol is created with the 'zfs' command. The man page doesn't say it | allocates space up front, but rather it says it sets a reservation. This | is probably the same meaning of reservation that is used for normal datas= ets. | It doesn't allocate space on disk, but instead makes a note about basical= ly | quotas for future allocations of space. | Furthermore, for the space on disk to be contiguous it must not be COW. | But ZFS is a COW filesystem. It cannot be both COW and contiguous in use. | Also, if a zvol bypasses the filesystem code then it wouldn't make sense | for zvols to be managed with the 'zfs' command. The zpool command would | make more sense since zpool operates at a lower level than the zfs comman= d. | The practical upshot of all of this is to say that I don't know what the | benefit is, but I also would not put any money on the previous response's | correctness. It can't as simple as described. Sorry, I confused with ZVOLs with LVM LVs, and misunderstood COW's implication. My since apologies for the incorrect reply. Thanks for clarifying it. =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 Sent from my Emacs --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJUmocQAAoJEMdGz6nnT6SwoGUP/17YC74zur2Flv6IA3becBcY /AZQENJSPqKmg+MpUa/t7AQX8/4VsBA/7mBO8Bra45L3O+x3bXaWa+30XbFFt3YP 8qtBl03sSuWjfd+L/Doe42ab73bDNzcYAn6yuBfSfMdIkHw6KMlFCLUrZS38wB89 bbE5ELF+JFNkQbU9g0NE7uZ5C4p6EAHAyt/j7GInNBeFQcsLKTt5NRUW/yHAg983 J00pC07YDtOSuiOriFgjFO131ttlOj4OvxxpXvgDna1Bl0m3oGIJr+7s/ogC/JT7 aGRK1DyZs6QV6GGBOiHLIUKKnJwRrhWZz3TiC84WW8/yJiAMdNap7SjvykOcCDSb 6cNWEZxupDBwcw3j48d0P0QkfWs+Ufm7X1Uw1v+jUMLC+RFHoyMGkEfPBN29zURC QTqZeHMHkqYxbWRB9mEJDSWCbUL15YcXBKf5+U8AHB1ulOjlRAmLfvR185sibhrl SNLjFsULtwWGQerXDaS2yznHJk5bBKIKd3tC+D4CPq75BbnuoFI8OIkU9zIziyJ4 9tv6FXDESNwUCY2dFGTgPyoqQYg+UXJnOwBnBvrBRmcG6GSxpQk6XXaAcHvXh3b4 U+UTP1fLirXkIXiaAnrNZSkXFZ/3dF+M1/rWwicyEpxfA/G896vNimrh6mEqA46B 7xZQjOkAF8SkBuszkNa8 =Jg/u -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 10:21:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 700BB5D3 for ; Wed, 24 Dec 2014 10:21:18 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 12E2066C3E for ; Wed, 24 Dec 2014 10:21:17 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id sBOAL3pu065536 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 24 Dec 2014 10:21:10 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk sBOAL3pu065536 Authentication-Results: smtp.infracaninophile.co.uk/sBOAL3pu065536; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral Message-ID: <549A9381.8040907@FreeBSD.org> Date: Wed, 24 Dec 2014 10:20:49 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: poudriere fetch timeout? References: <20141223184420.GA38419@vash.rhavenn.local> <20141223225930.2d251cc4@gumby.homeunix.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cXDSA1d4gIoODQvwP0gfGaB5mcWJ786hg" X-Virus-Scanned: clamav-milter 0.98.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 10:21:18 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cXDSA1d4gIoODQvwP0gfGaB5mcWJ786hg Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 24/12/2014 00:09, Brian W. wrote: > How long will it be till package builds happen nearly immediately after= a > commit change. It seems this is viewed optionally now and this is why f= olks > are asking so many questions about this. When the hardware fairies[*] come along and wave their magic wands over all the racks and conjure up about as much compute capacity again as is currently available to build packages with. Unfortunately, unlike the tooth fairy (who takes away teeth and leaves money in their place), hardware fairies work the other way round. They want a tidy heap of currency first. And unlike Santa's Elves who can deliver a world's worth of presents faster than even the wildest wet dreams of an Amazon executive, their magics take some time to brew, until there are properly fettled servers happily chugging away building packages at all hours of day and night. Cheers, Matthew [*] I'm sure the FreeBSD Foundation guys who are actually *paying* for the kit, and the clusteradmin guys who install and manage it all will not mind my referring to them as such. --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --cXDSA1d4gIoODQvwP0gfGaB5mcWJ786hg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUmpOOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATIhsP/2e2O+ANlSSeGTj4S09o/yIq dE2b9RLuxsKTnhkatVjibwgIJ3/5sXAdFktuSI5LAR92MDF0aKR2OiBhiYtAT+Bu utOCrnbX8svLcB79CZBrJSpliIWgqvAT7YliMlapnMTfzJbGZ7gT+YEK5wbbc7H2 TIRC6nc+Hy90l+pDjSBLgAUDkMT6ea1+yBr8VkO22GLhbzzHhWn/U5MSMKcYkGE0 NnO7F9nCwg6gj37CGmXg6BXzZzIrjjI8cu0eNPkGuhVDAQUPYFXGCAGnnjd70U9x HTxmzVnpF77kybeOUtrdhW+pf1P0MsPujAmWeMU12J28ooV8Nrr7dIG8FJG8HKdu dKYGwGXUCvs+1IPbej7kW6AZJun5zTa8NSImMUNNke+vWuu9S6oNmeq8Z2gFdVHS 9Km+XdFsGjoO+4lQ4YznBC8Hvpm3e/SrsIVxIqAiwbhbd+FIFQAz3rUPbzFgouS3 ruEgLzhteV7QakE2Fr3YZfidkMv+ElocZa+BlOPZBeAjpOQYIb5rmXNpzi2IeJSh bnoxEWBuiicyenw5enXWZ3wL3MdiW0M41dmTtEmZp/+0Z2EubePcSNKtmKbBpDlT KFXTLgVbNIVs50+NPj1S3rBv6/3tLFCWMV9itzjdUSzKQFHPZYfiL+fcpL++xefL bZ4yRsbjFGfw0B+fBbjU =bU83 -----END PGP SIGNATURE----- --cXDSA1d4gIoODQvwP0gfGaB5mcWJ786hg-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 11:39:36 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2841C435 for ; Wed, 24 Dec 2014 11:39:36 +0000 (UTC) Received: from office.cnet.co.za (office.cnet.co.za [41.185.32.165]) (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 A723764FA4 for ; Wed, 24 Dec 2014 11:39:35 +0000 (UTC) Received: from admin.cnet.co.za ([41.185.32.164] helo=[192.168.0.11]) by office.cnet.co.za with esmtpa (Exim 4.85_RC2) (envelope-from ) id 1Y3ip3-000Ay5-OB for freebsd-questions@freebsd.org; Wed, 24 Dec 2014 12:05:41 +0200 Message-ID: <549A8FF4.3080303@compudoc.za.org> Date: Wed, 24 Dec 2014 12:05:40 +0200 From: Godfrey Hamshire Reply-To: freebsdlist@compudoc.za.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Anyone had experince setting up gnokii Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: unscanned primary on office.cnet.co.za (41.185.32.165); Wed, 24 Dec 2014 12:05:41 +0200 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 11:39:36 -0000 Hello I have got a Nokia N79 and am trying to set it up to send sms's I am not wanting any thing fancy just to send me sms's in addition to the other notification methods I already employ for power outages loss of connectivity etc etc. I have managed to get this far and am stuck Initializing AT capable mobile phone ... Serial device: opening device /dev/ugen4.2 Gnokii serial_open: tcgetattr: Inappropriate ioctl for device Couldn't open ATBUS device: Inappropriate ioctl for device No matter what I try I am unable to proceed beyond this point Google is not much help here I was wondering what suggestions you guys might have. Regards Godfrey root@32.165 ~ # usbconfig ; gnokii --identify ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) GNOKII Version 0.6.31 LOG: debug mask is 0x1 Config read from file /usr/local/etc/gnokiirc. phone instance config: model = AT port = /dev/ugen4.2 connection = serial initlength = default serial_baudrate = 115200 serial_write_usleep = 5000 handshake = hardware require_dcd = 0 smsc_timeout = 60 rfcomm_channel = 0 sm_retry = 0 Initializing AT capable mobile phone ... Serial device: opening device /dev/ugen4.2 Gnokii serial_open: tcgetattr: Inappropriate ioctl for device Couldn't open ATBUS device: Inappropriate ioctl for device AT bus initialization failed (1) Initialization failed (1) Serial device: closing device Telephone interface init failed: Command failed. Quitting. Command failed. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 14:40:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8B002F6 for ; Wed, 24 Dec 2014 14:40:46 +0000 (UTC) Received: from scottmail.org (scottmail.org [209.206.250.76]) (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 97C2D1CF0 for ; Wed, 24 Dec 2014 14:40:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id E9FB12423D3 for ; Wed, 24 Dec 2014 06:40:45 -0800 (PST) Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Ng1ASl9ELPvr for ; Wed, 24 Dec 2014 06:40:44 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id 95DED2423DE for ; Wed, 24 Dec 2014 06:40:44 -0800 (PST) X-Virus-Scanned: amavisd-new at scottmail.org Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XvOMsCYfS0p5 for ; Wed, 24 Dec 2014 06:40:44 -0800 (PST) Received: from scottmail.org (bearcat.phantombsd.org [192.168.1.20]) by scottmail.org (Postfix) with ESMTP id 748BA2423D3 for ; Wed, 24 Dec 2014 06:40:44 -0800 (PST) Date: Wed, 24 Dec 2014 06:40:44 -0800 (PST) From: Casey Scott Reply-To: Casey Scott To: freebsd-questions@freebsd.org Message-ID: <642699791.129.1419432044320.JavaMail.zimbra@phantombsd.org> Subject: DNS resolution question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.1.6] X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - GC39 (Win)/8.6.0_GA_1153) Thread-Topic: DNS resolution question Thread-Index: Sb7SgtlrbmrRFOyGV+4IakclXCDpJw== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 14:40:47 -0000 This issue surfaced when I noticed this entry in my servers daily security mail: Checking for packages with security vulnerabilities: pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record pkg: cannot fetch vulnxml file I discovered that the server is not able to resolve vuxml.freebsd.org, or even www.freebsd.org. I'm sure the problem isn't specific to the freebsd.org zone, but that's where I focused my effort. I found that recursive queries failed, however if I directly queried a name server authoritative for freebsd.org (i.e. ns1.isc-sns.net.), the query successfully returned the CNAME. OS Details: FreeBSD mustang 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r271930: Sun Sep 21 19:01:57 PDT 2014 root@mustang:/usr/src/sys/amd64/compile/Server amd64 DNS lookup attempt ******************************************************************************* $ dig vuxml.freebsd.org +trace ; <<>> DiG 9.9.6-P1 <<>> vuxml.freebsd.org +trace ;; global options: +cmd . 517326 IN NS e.root-servers.net. . 517326 IN NS m.root-servers.net. . 517326 IN NS c.root-servers.net. . 517326 IN NS d.root-servers.net. . 517326 IN NS b.root-servers.net. . 517326 IN NS f.root-servers.net. . 517326 IN NS g.root-servers.net. . 517326 IN NS i.root-servers.net. . 517326 IN NS k.root-servers.net. . 517326 IN NS l.root-servers.net. . 517326 IN NS a.root-servers.net. . 517326 IN NS j.root-servers.net. . 517326 IN NS h.root-servers.net. . 517326 IN RRSIG NS 8 0 518400 20141231050000 20141224040000 22603 . OT3Uv0Krt43V999nh6ky8sK7Uob+Qb+M82BOS0uPTFxq1NL6m2XX7ri3 n/na4QyB/+iGTAlonAMVGyXEO1llrJt6iw7yucBriqy/xuGCwSY5Sllc Y3G7RdzerNgmAhfD2wiCwJPnVuGaD3O5318r2TLrsXdoQwGk7FNWiE1X GBE= ;; Received 913 bytes from 192.168.1.1#53(192.168.1.1) in 0 ms org. 172800 IN NS b2.org.afilias-nst.org. org. 172800 IN NS a2.org.afilias-nst.info. org. 172800 IN NS d0.org.afilias-nst.org. org. 172800 IN NS b0.org.afilias-nst.org. org. 172800 IN NS a0.org.afilias-nst.info. org. 172800 IN NS c0.org.afilias-nst.info. org. 86400 IN DS 21366 7 2 96EEB2FFD9B00CD4694E78278B5EFDAB0A80446567B69F634DA078F0 D90F01BA org. 86400 IN DS 21366 7 1 E6C1716CFB6BDC84E84CE1AB5510DAC69173B5B2 org. 86400 IN RRSIG DS 8 1 86400 20141231050000 20141224040000 22603 . IjE3Yi3yF8a12dOlLt13Grqs7c2tOXwgyyghAkeqy36N14VrAGxsQMxU RlOE5rYwzeg1cLi55wRxGShNBz0/KU229xWrRNluzLUkbo+eW98E6Fcw nT/DHrIy9J/3zjf6NRC+zUUcQTOJGWAkPF40TqaJGwI0Ag6/p6yxcBJ5 MDM= ;; Received 691 bytes from 192.112.36.4#53(g.root-servers.net) in 73 ms freebsd.org. 86400 IN NS ns2.isc-sns.com. freebsd.org. 86400 IN NS ns1.isc-sns.net. freebsd.org. 86400 IN NS ns3.isc-sns.info. freebsd.org. 86400 IN DS 32659 8 2 AF3B32E46DF2FC32C0110C7D6B808EE73E0411501AFAF9022D3DCD0A FA5B3ACD freebsd.org. 86400 IN RRSIG DS 7 2 86400 20150109163356 20141219153356 11112 org. puF07NdtGtOY0uI3d789itchA2dEXz0URwCsckm7vjWoNIhdsMuG6jFc StzdAkvFDiDO/2C3x21spRrb7Y3ioDQpNJL2zJUn2S0L/8ueDbF9wJAT pEfAdMyUwlCQkVM45Ptf98z7iLTWWe2xQBhZZ1OGaPRW+VwKE0rCaz2d 1rg= ;; Received 345 bytes from 199.19.53.1#53(c0.org.afilias-nst.info) in 134 ms ;; connection timed out; no servers could be reached ******************************************************************************* tcpdump of the query above ******************************************************************************* listening on fxp0, link-type EN10MB (Ethernet), capture size 65535 bytes 05:59:36.016640 IP x.x.x.x.54272 > 38.103.2.1.53: 18640 [1au] A? vuxml.freebsd.org. (46) 05:59:36.127776 IP 38.103.2.1.53 > x.x.x.x.54272: 18640*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) 05:59:38.021067 IP x.x.x.x.52431 > 38.103.2.1.53: 13086 [1au] AAAA? vuxml.freebsd.org. (46) 05:59:38.051272 IP x.x.x.x.51125 > 63.243.194.1.53: 16824 [1au] A? vuxml.freebsd.org. (46) 05:59:38.081819 IP 63.243.194.1.53 > x.x.x.x.51125: 16824*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) 05:59:38.132821 IP 38.103.2.1.53 > x.x.x.x.52431: 13086*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) 05:59:40.056275 IP x.x.x.x.62003 > 63.243.194.1.53: 41954 [1au] AAAA? vuxml.freebsd.org. (46) 05:59:40.086597 IP 63.243.194.1.53 > x.x.x.x.62003: 41954*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) 05:59:40.267272 IP x.x.x.x.61416 > 72.52.71.1.53: 32843 [1au] A? vuxml.freebsd.org. (46) 05:59:40.297103 IP 72.52.71.1.53 > x.x.x.x.61416: 32843*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) 05:59:42.272273 IP x.x.x.x.54674 > 72.52.71.1.53: 2755 [1au] AAAA? vuxml.freebsd.org. (46) 05:59:42.302289 IP 72.52.71.1.53 > x.x.x.x.54674: 2755*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) 05:59:42.487277 IP x.x.x.x.54239 > 38.103.2.1.53: 38272 [1au] A? vuxml.freebsd.org. (46) 05:59:42.598927 IP 38.103.2.1.53 > x.x.x.x.54239: 38272*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) 05:59:44.492281 IP x.x.x.x.59505 > 38.103.2.1.53: 22873 [1au] AAAA? vuxml.freebsd.org. (46) 05:59:44.604217 IP 38.103.2.1.53 > x.x.x.x.59505: 22873*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) 05:59:44.722266 IP x.x.x.x.61141 > 63.243.194.1.53: 50828 [1au] A? vuxml.freebsd.org. (46) 05:59:44.753517 IP 63.243.194.1.53 > x.x.x.x.61141: 50828*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) 05:59:46.727324 IP x.x.x.x.49803 > 63.243.194.1.53: 51222 [1au] AAAA? vuxml.freebsd.org. (46) 05:59:46.757577 IP 63.243.194.1.53 > x.x.x.x.49803: 51222*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) 05:59:57.395692 IP x.x.x.x.60149 > 165.254.1.208.53: 31873 [1au] A? e6238.a.akamaiedge.net. (51) 05:59:57.404644 IP 165.254.1.208.53 > x.x.x.x.60149: 31873*- 1/0/0 A 96.7.67.53 (56) ******************************************************************************* BIND build options ******************************************************************************* # named -V BIND 9.9.6-P1 (Extended Support Version) built by make with '--localstatedir=/var' '--disable-linux-caps' '--disable-symtable' '--with-randomdev=/dev/random' '--with-libxml2=/usr/local' '--disable-filter-aaaa' '--disable-fixed-rrset' '--without-gost' '--without-idn' '--disable-ipv6' '--disable-largefile' '--disable-newstats' '--without-python' '--disable-rpz-nsdname' '--disable-rpz-nsip' '--disable-rrl' '--with-openssl=/usr/local' '--without-gssapi' '--enable-threads' '--sysconfdir=/etc/namedb' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info/' '--build=amd64-portbld-freebsd9.3' 'build_alias=amd64-portbld-freebsd9.3' 'CC=cc' 'CFLAGS=-O2 -pipe -march=native -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -Wl,-rpath,/usr/local/lib -fstack-protector' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' compiled by GCC 4.2.1 20070831 patched [FreeBSD] using OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 using libxml2 version: 2.9.2 ******************************************************************************* Any idea what's going on here? Thanks, Casey From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 14:45:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8048453C for ; Wed, 24 Dec 2014 14:45:23 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0EE031D83 for ; Wed, 24 Dec 2014 14:45:23 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id ex7so13771996wid.6 for ; Wed, 24 Dec 2014 06:45: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=83QZO4vLNGZosLqeYewVOj+Hu3mwAM3LlO26FuardZI=; b=VfbzCFUbXfOabKTOej+FsqPqB7u8bv3lBarsJ7ftlgBRjcTfow+ewHQpvCYbyr1YYD 5iPeHR9dYLESoXsgvnPq9Rwd9+a0Rr0d2SMzVxnYdt1TXHOANw755PMKpdqZ5BUTGQx5 ufLZPWNKHbWNEItj9I152Szka3reDLO5oBIXaZI1bdalOsg7bKvMkWUMZliVcb8k90CH tqSIeNbvGLabpoCrNsE9/F4dBzxRpu4mcUh47PlHcCgX6VIVdhKahynR3E9re3US5XiX i8oHVqgUAFXPn/c6RCGaGVY2uCDr/uO6l1V+M46ZHjInzgo2zXvdjgqb0QwyTNS49+9X eX8Q== MIME-Version: 1.0 X-Received: by 10.180.107.136 with SMTP id hc8mr52610400wib.32.1419432321286; Wed, 24 Dec 2014 06:45:21 -0800 (PST) Received: by 10.27.212.129 with HTTP; Wed, 24 Dec 2014 06:45:21 -0800 (PST) In-Reply-To: <5496E3E0.2010409@passap.ru> References: <5496E3E0.2010409@passap.ru> Date: Wed, 24 Dec 2014 06:45:21 -0800 Message-ID: Subject: Re: CUPS printing rastertospl error - troubleshooting From: Waitman Gobble To: Boris Samorodov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 14:45:23 -0000 On Sun, Dec 21, 2014 at 7:14 AM, Boris Samorodov wrote: > 19.12.2014 01:23, Waitman Gobble =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > I have a Samsung SCX-3405W connected to USB /dev/ulpt0 > > Using the PPD file from Samsung Linux driver. > > linux-c6 and necessary libraries installed. > > > > I'm receiving cupsd filter error, > > (/usr/local/libexec/cups/filter/rastertospl) stopped with status 1. > > > > Running rastertospl from command line does not seem to cause an error. > > > > log - > > https://gist.github.com/waitman/2d047c6e54f0081c98a9 > > > > # uname -a > > FreeBSD blynk.waitman.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r275492: > Fri > > Dec 5 06:52:11 PST 2014 > > waitman@blynk.waitman.net:/usr/obj/usr/src/sys/BLYNK > > amd64 > > > > # ls -lh /usr/local/libexec/cups/filter/rastertospl > > -rwxr-xr-x 1 root wheel 88K Dec 18 12:30 > > /usr/local/libexec/cups/filter/rastertospl > > > > Any troubleshooting suggestions appreciated. > > Downloaded Samsung drivers, copied uld/i386/rastertospl to > /usr/local/libexec/cups/filter/ and reproduced your problem. > Then I copied uld/i386/libscmssc.so library to > /compat/linux/usr/lib/ and resolved it. ;-) > > THT > -- > WBR, Boris Samorodov (bsam) > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > Thanks so much, that solved the issue. It prints. But now I receive SPL ERROR - please use the proper driver POSITION : 0x0 (0) SYSTEM: h6fw/xl_op LINE: 188 VERSION: SPL 5.58.01 06-27-2012 so i need to work on this some more. :) --=20 Waitman Gobble Los Altos California USA 510-830-7975 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 15:19:44 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85114BE6 for ; Wed, 24 Dec 2014 15:19:44 +0000 (UTC) Received: from ironport2.thestar.ca (ironport2.thestar.ca [76.74.201.51]) by mx1.freebsd.org (Postfix) with ESMTP id 4F155642CA for ; Wed, 24 Dec 2014 15:19:43 +0000 (UTC) Message-Id: Date: 24 Dec 2014 10:18:35 -0500 Received: from ec2-54-213-228-134.us-west-2.compute.amazonaws.com (HELO mail.ru) ([54.213.228.134]) by ironport2.thestar.ca with ESMTP; 24 Dec 2014 10:18:35 -0500 Mime-Version: 1.0 From: To: Subject: =?utf-8?B?0Jdn0YDQsNCy0YHRgtCy0YPQudGC0LUhINCS0LDRgSDQuNC90YLQtdGA0LXRgdGD0Y7RgiDQutC70LjQtdC9bdGB0LrQuGUgNtCw0LfRiyBn0LDQvdC90YvRhT8=?= Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 15:19:44 -0000 Çgðàâñòâóéòå! Âàñ èíòåðåñóþò êëèåímñêèe 6àçû gàííûõ? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 16:09:29 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 07A0CEC8 for ; Wed, 24 Dec 2014 16:09:29 +0000 (UTC) Received: from host203.r-bonomi.com (host203.r-bonomi.com [204.87.227.203]) by mx1.freebsd.org (Postfix) with ESMTP id A649425A2 for ; Wed, 24 Dec 2014 16:09:28 +0000 (UTC) Received: (from bonomi@localhost) by host203.r-bonomi.com (8.14.9/8.14.7) id sBOG11Fc031998 for freebsd-questions@freebsd.org; Wed, 24 Dec 2014 10:01:01 -0600 (CST) (envelope-from bonomi) Date: Wed, 24 Dec 2014 10:01:01 -0600 (CST) From: Robert Bonomi Message-Id: <201412241601.sBOG11Fc031998@host203.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: which version of c for various components of freebsd? In-Reply-To: <20141223172848.GA57996@neutralgood.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 16:09:29 -0000 > On Mon, Dec 22, 2014 at 01:44:23PM +0530, Mayuresh Kathe wrote: > > hello, > > may i know which version of c is used for various components of freebsd? > is c89 being used for the kernel? what about rest of the system? As of 8.4 at least, compilation of the kernel (and kernel modules) uses the 'c99' standard -- with the exception of a handful of c99 features not supported by GCC. I have -not- verified for other components of the 'base' installation, but I would presume the same is true for them. For ports, "you pays your money and takes your chances applies". It depends on what the author wrote to. if they use a language feature that exists only in a particular standard, that standard will be indicated in the makefile, and thus is 'transparent' to the user of that port. For reference: C11 (the latest standard, adopted last year) is a superset of C99 *EXCEPT* that 'gets(3)' -- previously 'depreciated' -- has been removed. replaced with a bounds-limited gets_s(3) C99 is a strict superset of C89. C89 is a major divergence from the original K&R C. There are lots of things K&R accepted/allowed that ANSI C (C89 or newer) will not accept. There were also massive changes to function proto- typing and function declarations. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 16:49:04 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AE30867 for ; Wed, 24 Dec 2014 16:49:04 +0000 (UTC) Received: from rr-iv.baywinds.org (50-196-187-251-static.hfc.comcastbusiness.net [50.196.187.251]) (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 E603F2C38 for ; Wed, 24 Dec 2014 16:49:03 +0000 (UTC) Received: from [192.0.2.130] (rr-iii.baywinds.org [192.0.2.130]) by rr-iv.baywinds.org (8.14.7/8.14.7/SuSE Linux 0.8) with ESMTP id sBOGVsfX010521 for ; Wed, 24 Dec 2014 08:31:57 -0800 Message-ID: <549AEA7A.109@baywinds.org> Date: Wed, 24 Dec 2014 08:31:54 -0800 From: Bruce Ferrell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: DNS resolution question References: <642699791.129.1419432044320.JavaMail.zimbra@phantombsd.org> In-Reply-To: <642699791.129.1419432044320.JavaMail.zimbra@phantombsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 16:49:04 -0000 On 12/24/2014 06:40 AM, Casey Scott wrote: > This issue surfaced when I noticed this entry in my servers daily security mail: > > Checking for packages with security vulnerabilities: > pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record > pkg: cannot fetch vulnxml file > > > I discovered that the server is not able to resolve vuxml.freebsd.org, or even www.freebsd.org. I'm sure the problem isn't specific to the freebsd.org zone, but that's where I focused my effort. I found that recursive queries failed, however if I directly queried a name server authoritative for freebsd.org (i.e. ns1.isc-sns.net.), the query successfully returned the CNAME. > > OS Details: > FreeBSD mustang 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r271930: Sun Sep 21 19:01:57 PDT 2014 root@mustang:/usr/src/sys/amd64/compile/Server amd64 > > > DNS lookup attempt > ******************************************************************************* > $ dig vuxml.freebsd.org +trace > ; <<>> DiG 9.9.6-P1 <<>> vuxml.freebsd.org +trace > ;; global options: +cmd > . 517326 IN NS e.root-servers.net. > . 517326 IN NS m.root-servers.net. > . 517326 IN NS c.root-servers.net. > . 517326 IN NS d.root-servers.net. > . 517326 IN NS b.root-servers.net. > . 517326 IN NS f.root-servers.net. > . 517326 IN NS g.root-servers.net. > . 517326 IN NS i.root-servers.net. > . 517326 IN NS k.root-servers.net. > . 517326 IN NS l.root-servers.net. > . 517326 IN NS a.root-servers.net. > . 517326 IN NS j.root-servers.net. > . 517326 IN NS h.root-servers.net. > . 517326 IN RRSIG NS 8 0 518400 20141231050000 20141224040000 22603 . OT3Uv0Krt43V999nh6ky8sK7Uob+Qb+M82BOS0uPTFxq1NL6m2XX7ri3 n/na4QyB/+iGTAlonAMVGyXEO1llrJt6iw7yucBriqy/xuGCwSY5Sllc Y3G7RdzerNgmAhfD2wiCwJPnVuGaD3O5318r2TLrsXdoQwGk7FNWiE1X GBE= > ;; Received 913 bytes from 192.168.1.1#53(192.168.1.1) in 0 ms > > org. 172800 IN NS b2.org.afilias-nst.org. > org. 172800 IN NS a2.org.afilias-nst.info. > org. 172800 IN NS d0.org.afilias-nst.org. > org. 172800 IN NS b0.org.afilias-nst.org. > org. 172800 IN NS a0.org.afilias-nst.info. > org. 172800 IN NS c0.org.afilias-nst.info. > org. 86400 IN DS 21366 7 2 96EEB2FFD9B00CD4694E78278B5EFDAB0A80446567B69F634DA078F0 D90F01BA > org. 86400 IN DS 21366 7 1 E6C1716CFB6BDC84E84CE1AB5510DAC69173B5B2 > org. 86400 IN RRSIG DS 8 1 86400 20141231050000 20141224040000 22603 . IjE3Yi3yF8a12dOlLt13Grqs7c2tOXwgyyghAkeqy36N14VrAGxsQMxU RlOE5rYwzeg1cLi55wRxGShNBz0/KU229xWrRNluzLUkbo+eW98E6Fcw nT/DHrIy9J/3zjf6NRC+zUUcQTOJGWAkPF40TqaJGwI0Ag6/p6yxcBJ5 MDM= > ;; Received 691 bytes from 192.112.36.4#53(g.root-servers.net) in 73 ms > > freebsd.org. 86400 IN NS ns2.isc-sns.com. > freebsd.org. 86400 IN NS ns1.isc-sns.net. > freebsd.org. 86400 IN NS ns3.isc-sns.info. > freebsd.org. 86400 IN DS 32659 8 2 AF3B32E46DF2FC32C0110C7D6B808EE73E0411501AFAF9022D3DCD0A FA5B3ACD > freebsd.org. 86400 IN RRSIG DS 7 2 86400 20150109163356 20141219153356 11112 org. puF07NdtGtOY0uI3d789itchA2dEXz0URwCsckm7vjWoNIhdsMuG6jFc StzdAkvFDiDO/2C3x21spRrb7Y3ioDQpNJL2zJUn2S0L/8ueDbF9wJAT pEfAdMyUwlCQkVM45Ptf98z7iLTWWe2xQBhZZ1OGaPRW+VwKE0rCaz2d 1rg= > ;; Received 345 bytes from 199.19.53.1#53(c0.org.afilias-nst.info) in 134 ms > > ;; connection timed out; no servers could be reached > ******************************************************************************* > > > tcpdump of the query above > ******************************************************************************* > listening on fxp0, link-type EN10MB (Ethernet), capture size 65535 bytes > 05:59:36.016640 IP x.x.x.x.54272 > 38.103.2.1.53: 18640 [1au] A? vuxml.freebsd.org. (46) > 05:59:36.127776 IP 38.103.2.1.53 > x.x.x.x.54272: 18640*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) > 05:59:38.021067 IP x.x.x.x.52431 > 38.103.2.1.53: 13086 [1au] AAAA? vuxml.freebsd.org. (46) > 05:59:38.051272 IP x.x.x.x.51125 > 63.243.194.1.53: 16824 [1au] A? vuxml.freebsd.org. (46) > 05:59:38.081819 IP 63.243.194.1.53 > x.x.x.x.51125: 16824*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) > 05:59:38.132821 IP 38.103.2.1.53 > x.x.x.x.52431: 13086*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) > 05:59:40.056275 IP x.x.x.x.62003 > 63.243.194.1.53: 41954 [1au] AAAA? vuxml.freebsd.org. (46) > 05:59:40.086597 IP 63.243.194.1.53 > x.x.x.x.62003: 41954*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) > 05:59:40.267272 IP x.x.x.x.61416 > 72.52.71.1.53: 32843 [1au] A? vuxml.freebsd.org. (46) > 05:59:40.297103 IP 72.52.71.1.53 > x.x.x.x.61416: 32843*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) > 05:59:42.272273 IP x.x.x.x.54674 > 72.52.71.1.53: 2755 [1au] AAAA? vuxml.freebsd.org. (46) > 05:59:42.302289 IP 72.52.71.1.53 > x.x.x.x.54674: 2755*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) > 05:59:42.487277 IP x.x.x.x.54239 > 38.103.2.1.53: 38272 [1au] A? vuxml.freebsd.org. (46) > 05:59:42.598927 IP 38.103.2.1.53 > x.x.x.x.54239: 38272*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) > 05:59:44.492281 IP x.x.x.x.59505 > 38.103.2.1.53: 22873 [1au] AAAA? vuxml.freebsd.org. (46) > 05:59:44.604217 IP 38.103.2.1.53 > x.x.x.x.59505: 22873*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) > 05:59:44.722266 IP x.x.x.x.61141 > 63.243.194.1.53: 50828 [1au] A? vuxml.freebsd.org. (46) > 05:59:44.753517 IP 63.243.194.1.53 > x.x.x.x.61141: 50828*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) > 05:59:46.727324 IP x.x.x.x.49803 > 63.243.194.1.53: 51222 [1au] AAAA? vuxml.freebsd.org. (46) > 05:59:46.757577 IP 63.243.194.1.53 > x.x.x.x.49803: 51222*- 4/4/11 CNAME wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) > 05:59:57.395692 IP x.x.x.x.60149 > 165.254.1.208.53: 31873 [1au] A? e6238.a.akamaiedge.net. (51) > 05:59:57.404644 IP 165.254.1.208.53 > x.x.x.x.60149: 31873*- 1/0/0 A 96.7.67.53 (56) > ******************************************************************************* > > BIND build options > ******************************************************************************* > # named -V > BIND 9.9.6-P1 (Extended Support Version) built by make with '--localstatedir=/var' '--disable-linux-caps' '--disable-symtable' '--with-randomdev=/dev/random' '--with-libxml2=/usr/local' '--disable-filter-aaaa' '--disable-fixed-rrset' '--without-gost' '--without-idn' '--disable-ipv6' '--disable-largefile' '--disable-newstats' '--without-python' '--disable-rpz-nsdname' '--disable-rpz-nsip' '--disable-rrl' '--with-openssl=/usr/local' '--without-gssapi' '--enable-threads' '--sysconfdir=/etc/namedb' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info/' '--build=amd64-portbld-freebsd9.3' 'build_alias=amd64-portbld-freebsd9.3' 'CC=cc' 'CFLAGS=-O2 -pipe -march=native -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -Wl,-rpath,/usr/local/lib -fstack-protector' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' > compiled by GCC 4.2.1 20070831 patched [FreeBSD] > using OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 > using libxml2 version: 2.9.2 > ******************************************************************************* > > Any idea what's going on here? > > Thanks, > Casey > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Casey, think you're getting a correct response. dig @192.0.2.131 vuxml.freebsd.org ; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> @192.0.2.131 vuxml.freebsd.org ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54956 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 6 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;vuxml.freebsd.org. IN A ;; ANSWER SECTION: vuxml.freebsd.org. 497 IN CNAME wfe0.ysv.freebsd.org. wfe0.ysv.freebsd.org. 497 IN A 8.8.178.110 ;; AUTHORITY SECTION: freebsd.org. 497 IN NS ns3.isc-sns.info. freebsd.org. 497 IN NS ns2.isc-sns.com. freebsd.org. 497 IN NS ns1.isc-sns.net. ;; ADDITIONAL SECTION: ns1.isc-sns.net. 2488 IN A 72.52.71.1 ns1.isc-sns.net. 166365 IN AAAA 2001:470:1a::1 ns2.isc-sns.com. 2488 IN A 38.103.2.1 ns3.isc-sns.info. 2488 IN A 63.243.194.1 ns3.isc-sns.info. 79965 IN AAAA 2001:5a0:10::1 ;; Query time: 1 msec ;; SERVER: 192.0.2.131#53(192.0.2.131) ;; WHEN: Wed Dec 24 08:28:06 PST 2014 ;; MSG SIZE rcvd: 277 Notice in the answer section of my simplified query via my local nameserver, wfe0.ysv.freebsd.org is in the A record. I saw the same response in your query, it was just harder to see. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 17:18:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06A34133 for ; Wed, 24 Dec 2014 17:18:58 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id D49923E5F for ; Wed, 24 Dec 2014 17:18:57 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 343A0CB8C99; Wed, 24 Dec 2014 10:56:26 -0600 (CST) Received: from 76.193.18.84 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Wed, 24 Dec 2014 10:56:26 -0600 (CST) Message-ID: <2097.76.193.18.84.1419440186.squirrel@cosmo.uchicago.edu> In-Reply-To: <549A6CB3.8070106@ShaneWare.Biz> References: <5497CE57.8020601@compudoc.za.org> <549A6CB3.8070106@ShaneWare.Biz> Date: Wed, 24 Dec 2014 10:56:26 -0600 (CST) Subject: Re: Using Nokia Cell Phone or GSM Modem to send sms's From: "Valeri Galtsev" To: "Shane Ambler" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org, freebsdlist@compudoc.za.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 17:18:58 -0000 On Wed, December 24, 2014 1:35 am, Shane Ambler wrote: > On 22/12/2014 18:25, Godfrey Hamshire wrote: >> >> Using Nokia Cell Phone or GSM Modem to send sms's >> >> Dear Memeber >> >> I was wondering if anyone has had experience with connecting a 3g/gsm of >> the type you can find in Cell Phone Shops to freebsd or a old nokia >> symbian cell phone via its usb cable to freebsd. >> >> What I would like to to do is send sms's from the server using a 3g/gsm >> dongle or using an old nokia symbian cell ie warning the power is out >> etc etc I am doing this already via email and a clickatel api account >> already but sometimes these email do not get through or what ever. I am >> looking for alternative ways of notifying myself of power problems or >> what ever is going on when I am not around. > > Not really what your asking for but another option could be to send > notifications from offsite - you can run a t2.micro ec2 instance at > amazon for between $4.20 and $9.50 a month - it receives no pings in x > minutes then have it send a message. AWS has SNS which can send mobile > notifications, sms or email - you can send 100 sms's per month for free. > Another option would be to run, say, nagios instance watching your servers situated at different location, thus independent on the power and/or network uplink in your server room. That's what I do. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 17:57:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 07BBC8C6 for ; Wed, 24 Dec 2014 17:57:47 +0000 (UTC) Received: from scottmail.org (scottmail.org [209.206.250.76]) (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 CAC7714CD for ; Wed, 24 Dec 2014 17:57:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id 6EAF12422A7; Wed, 24 Dec 2014 09:57:45 -0800 (PST) Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id q1ReVMPKmm-u; Wed, 24 Dec 2014 09:57:43 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id 2BDCC2423DE; Wed, 24 Dec 2014 09:57:43 -0800 (PST) X-Virus-Scanned: amavisd-new at scottmail.org Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id I4dQr5V-eNKn; Wed, 24 Dec 2014 09:57:43 -0800 (PST) Received: from scottmail.org (bearcat.phantombsd.org [192.168.1.20]) by scottmail.org (Postfix) with ESMTP id 04DD82422A7; Wed, 24 Dec 2014 09:57:42 -0800 (PST) Date: Wed, 24 Dec 2014 09:57:42 -0800 (PST) From: Casey Scott Reply-To: Casey Scott To: Bruce Ferrell Message-ID: <18737980.212.1419443862787.JavaMail.zimbra@phantombsd.org> In-Reply-To: <549AEA7A.109@baywinds.org> References: <642699791.129.1419432044320.JavaMail.zimbra@phantombsd.org> <549AEA7A.109@baywinds.org> Subject: Re: DNS resolution question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.1.6] X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - GC39 (Win)/8.6.0_GA_1153) Thread-Topic: DNS resolution question Thread-Index: r+tnDQlZr6hv5UnN+Y561pAKnzJdPA== Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 17:57:47 -0000 That's what's odd. The tcpdump shows a seemingly valid response comeback, however dig/host always fail with a timeout. It seems to me that named isn't passing along the response for some reason. Thanks. ----- On Dec 24, 2014, at 8:31 AM, Bruce Ferrell bferrell@baywinds.org wrote: > On 12/24/2014 06:40 AM, Casey Scott wrote: >> This issue surfaced when I noticed this entry in my servers daily security mail: >> >> Checking for packages with security vulnerabilities: >> pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record >> pkg: cannot fetch vulnxml file >> >> >> I discovered that the server is not able to resolve vuxml.freebsd.org, or even >> www.freebsd.org. I'm sure the problem isn't specific to the freebsd.org zone, >> but that's where I focused my effort. I found that recursive queries failed, >> however if I directly queried a name server authoritative for freebsd.org (i.e. >> ns1.isc-sns.net.), the query successfully returned the CNAME. >> >> OS Details: >> FreeBSD mustang 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r271930: Sun Sep 21 19:01:57 >> PDT 2014 root@mustang:/usr/src/sys/amd64/compile/Server amd64 >> >> >> DNS lookup attempt >> ******************************************************************************* >> $ dig vuxml.freebsd.org +trace >> ; <<>> DiG 9.9.6-P1 <<>> vuxml.freebsd.org +trace >> ;; global options: +cmd >> . 517326 IN NS e.root-servers.net. >> . 517326 IN NS m.root-servers.net. >> . 517326 IN NS c.root-servers.net. >> . 517326 IN NS d.root-servers.net. >> . 517326 IN NS b.root-servers.net. >> . 517326 IN NS f.root-servers.net. >> . 517326 IN NS g.root-servers.net. >> . 517326 IN NS i.root-servers.net. >> . 517326 IN NS k.root-servers.net. >> . 517326 IN NS l.root-servers.net. >> . 517326 IN NS a.root-servers.net. >> . 517326 IN NS j.root-servers.net. >> . 517326 IN NS h.root-servers.net. >> . 517326 IN RRSIG NS 8 0 518400 20141231050000 >> 20141224040000 22603 . OT3Uv0Krt43V999nh6ky8sK7Uob+Qb+M82BOS0uPTFxq1NL6m2XX7ri3 >> n/na4QyB/+iGTAlonAMVGyXEO1llrJt6iw7yucBriqy/xuGCwSY5Sllc >> Y3G7RdzerNgmAhfD2wiCwJPnVuGaD3O5318r2TLrsXdoQwGk7FNWiE1X GBE= >> ;; Received 913 bytes from 192.168.1.1#53(192.168.1.1) in 0 ms >> >> org. 172800 IN NS b2.org.afilias-nst.org. >> org. 172800 IN NS a2.org.afilias-nst.info. >> org. 172800 IN NS d0.org.afilias-nst.org. >> org. 172800 IN NS b0.org.afilias-nst.org. >> org. 172800 IN NS a0.org.afilias-nst.info. >> org. 172800 IN NS c0.org.afilias-nst.info. >> org. 86400 IN DS 21366 7 2 >> 96EEB2FFD9B00CD4694E78278B5EFDAB0A80446567B69F634DA078F0 D90F01BA >> org. 86400 IN DS 21366 7 1 >> E6C1716CFB6BDC84E84CE1AB5510DAC69173B5B2 >> org. 86400 IN RRSIG DS 8 1 86400 20141231050000 >> 20141224040000 22603 . IjE3Yi3yF8a12dOlLt13Grqs7c2tOXwgyyghAkeqy36N14VrAGxsQMxU >> RlOE5rYwzeg1cLi55wRxGShNBz0/KU229xWrRNluzLUkbo+eW98E6Fcw >> nT/DHrIy9J/3zjf6NRC+zUUcQTOJGWAkPF40TqaJGwI0Ag6/p6yxcBJ5 MDM= >> ;; Received 691 bytes from 192.112.36.4#53(g.root-servers.net) in 73 ms >> >> freebsd.org. 86400 IN NS ns2.isc-sns.com. >> freebsd.org. 86400 IN NS ns1.isc-sns.net. >> freebsd.org. 86400 IN NS ns3.isc-sns.info. >> freebsd.org. 86400 IN DS 32659 8 2 >> AF3B32E46DF2FC32C0110C7D6B808EE73E0411501AFAF9022D3DCD0A FA5B3ACD >> freebsd.org. 86400 IN RRSIG DS 7 2 86400 20150109163356 >> 20141219153356 11112 org. >> puF07NdtGtOY0uI3d789itchA2dEXz0URwCsckm7vjWoNIhdsMuG6jFc >> StzdAkvFDiDO/2C3x21spRrb7Y3ioDQpNJL2zJUn2S0L/8ueDbF9wJAT >> pEfAdMyUwlCQkVM45Ptf98z7iLTWWe2xQBhZZ1OGaPRW+VwKE0rCaz2d 1rg= >> ;; Received 345 bytes from 199.19.53.1#53(c0.org.afilias-nst.info) in 134 ms >> >> ;; connection timed out; no servers could be reached >> ******************************************************************************* >> >> >> tcpdump of the query above >> ******************************************************************************* >> listening on fxp0, link-type EN10MB (Ethernet), capture size 65535 bytes >> 05:59:36.016640 IP x.x.x.x.54272 > 38.103.2.1.53: 18640 [1au] A? >> vuxml.freebsd.org. (46) >> 05:59:36.127776 IP 38.103.2.1.53 > x.x.x.x.54272: 18640*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> 05:59:38.021067 IP x.x.x.x.52431 > 38.103.2.1.53: 13086 [1au] AAAA? >> vuxml.freebsd.org. (46) >> 05:59:38.051272 IP x.x.x.x.51125 > 63.243.194.1.53: 16824 [1au] A? >> vuxml.freebsd.org. (46) >> 05:59:38.081819 IP 63.243.194.1.53 > x.x.x.x.51125: 16824*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> 05:59:38.132821 IP 38.103.2.1.53 > x.x.x.x.52431: 13086*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> 05:59:40.056275 IP x.x.x.x.62003 > 63.243.194.1.53: 41954 [1au] AAAA? >> vuxml.freebsd.org. (46) >> 05:59:40.086597 IP 63.243.194.1.53 > x.x.x.x.62003: 41954*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> 05:59:40.267272 IP x.x.x.x.61416 > 72.52.71.1.53: 32843 [1au] A? >> vuxml.freebsd.org. (46) >> 05:59:40.297103 IP 72.52.71.1.53 > x.x.x.x.61416: 32843*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> 05:59:42.272273 IP x.x.x.x.54674 > 72.52.71.1.53: 2755 [1au] AAAA? >> vuxml.freebsd.org. (46) >> 05:59:42.302289 IP 72.52.71.1.53 > x.x.x.x.54674: 2755*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> 05:59:42.487277 IP x.x.x.x.54239 > 38.103.2.1.53: 38272 [1au] A? >> vuxml.freebsd.org. (46) >> 05:59:42.598927 IP 38.103.2.1.53 > x.x.x.x.54239: 38272*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> 05:59:44.492281 IP x.x.x.x.59505 > 38.103.2.1.53: 22873 [1au] AAAA? >> vuxml.freebsd.org. (46) >> 05:59:44.604217 IP 38.103.2.1.53 > x.x.x.x.59505: 22873*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> 05:59:44.722266 IP x.x.x.x.61141 > 63.243.194.1.53: 50828 [1au] A? >> vuxml.freebsd.org. (46) >> 05:59:44.753517 IP 63.243.194.1.53 > x.x.x.x.61141: 50828*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> 05:59:46.727324 IP x.x.x.x.49803 > 63.243.194.1.53: 51222 [1au] AAAA? >> vuxml.freebsd.org. (46) >> 05:59:46.757577 IP 63.243.194.1.53 > x.x.x.x.49803: 51222*- 4/4/11 CNAME >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> 05:59:57.395692 IP x.x.x.x.60149 > 165.254.1.208.53: 31873 [1au] A? >> e6238.a.akamaiedge.net. (51) >> 05:59:57.404644 IP 165.254.1.208.53 > x.x.x.x.60149: 31873*- 1/0/0 A 96.7.67.53 >> (56) >> ******************************************************************************* >> >> BIND build options >> ******************************************************************************* >> # named -V >> BIND 9.9.6-P1 (Extended Support Version) built by make with >> '--localstatedir=/var' '--disable-linux-caps' '--disable-symtable' >> '--with-randomdev=/dev/random' '--with-libxml2=/usr/local' >> '--disable-filter-aaaa' '--disable-fixed-rrset' '--without-gost' >> '--without-idn' '--disable-ipv6' '--disable-largefile' '--disable-newstats' >> '--without-python' '--disable-rpz-nsdname' '--disable-rpz-nsip' '--disable-rrl' >> '--with-openssl=/usr/local' '--without-gssapi' '--enable-threads' >> '--sysconfdir=/etc/namedb' '--prefix=/usr' '--mandir=/usr/share/man' >> '--infodir=/usr/share/info/' '--build=amd64-portbld-freebsd9.3' >> 'build_alias=amd64-portbld-freebsd9.3' 'CC=cc' 'CFLAGS=-O2 -pipe -march=native >> -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -Wl,-rpath,/usr/local/lib >> -fstack-protector' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' >> compiled by GCC 4.2.1 20070831 patched [FreeBSD] >> using OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 >> using libxml2 version: 2.9.2 >> ******************************************************************************* >> >> Any idea what's going on here? >> >> Thanks, >> Casey >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > Casey, > > think you're getting a correct response. > dig @192.0.2.131 vuxml.freebsd.org > > ; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> @192.0.2.131 vuxml.freebsd.org > ; (1 server found) > ;; global options: +cmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54956 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 6 > > ;; OPT PSEUDOSECTION: > ; EDNS: version: 0, flags:; udp: 4096 > ;; QUESTION SECTION: > ;vuxml.freebsd.org. IN A > > ;; ANSWER SECTION: > vuxml.freebsd.org. 497 IN CNAME wfe0.ysv.freebsd.org. > wfe0.ysv.freebsd.org. 497 IN A 8.8.178.110 > > ;; AUTHORITY SECTION: > freebsd.org. 497 IN NS ns3.isc-sns.info. > freebsd.org. 497 IN NS ns2.isc-sns.com. > freebsd.org. 497 IN NS ns1.isc-sns.net. > > ;; ADDITIONAL SECTION: > ns1.isc-sns.net. 2488 IN A 72.52.71.1 > ns1.isc-sns.net. 166365 IN AAAA 2001:470:1a::1 > ns2.isc-sns.com. 2488 IN A 38.103.2.1 > ns3.isc-sns.info. 2488 IN A 63.243.194.1 > ns3.isc-sns.info. 79965 IN AAAA 2001:5a0:10::1 > > ;; Query time: 1 msec > ;; SERVER: 192.0.2.131#53(192.0.2.131) > ;; WHEN: Wed Dec 24 08:28:06 PST 2014 > ;; MSG SIZE rcvd: 277 > > Notice in the answer section of my simplified query via my local nameserver, > wfe0.ysv.freebsd.org is in the A record. I saw the same response in your > query, it was just harder to see. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 19:07:44 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B44B38C1 for ; Wed, 24 Dec 2014 19:07:44 +0000 (UTC) Received: from scottmail.org (scottmail.org [209.206.250.76]) (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 8236564B2F for ; Wed, 24 Dec 2014 19:07:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id DE7CA2422A7; Wed, 24 Dec 2014 11:07:42 -0800 (PST) Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 02YB1UJBpx3G; Wed, 24 Dec 2014 11:07:40 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id 9CA6B2423DE; Wed, 24 Dec 2014 11:07:40 -0800 (PST) X-Virus-Scanned: amavisd-new at scottmail.org Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TmHt3VW13YDS; Wed, 24 Dec 2014 11:07:40 -0800 (PST) Received: from scottmail.org (bearcat.phantombsd.org [192.168.1.20]) by scottmail.org (Postfix) with ESMTP id 6D8912422A7; Wed, 24 Dec 2014 11:07:40 -0800 (PST) Date: Wed, 24 Dec 2014 11:07:40 -0800 (PST) From: Casey Scott Reply-To: Casey Scott To: g lister Message-ID: <2077504714.236.1419448060216.JavaMail.zimbra@phantombsd.org> In-Reply-To: References: <642699791.129.1419432044320.JavaMail.zimbra@phantombsd.org> <549AEA7A.109@baywinds.org> <18737980.212.1419443862787.JavaMail.zimbra@phantombsd.org> Subject: Re: DNS resolution question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.1.6] X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - GC39 (Win)/8.6.0_GA_1153) Thread-Topic: DNS resolution question Thread-Index: 1PcRCdSvOWMAIESM52NuorfVFtAMsw== Cc: bferrell@baywinds.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 19:07:44 -0000 I can't disable IPv4 because my environment uses it. Thanks though. Casey ----- On Dec 24, 2014, at 10:10 AM, g lister g.lister@nodeunit.ch wrote: > On Wed Dec 24 18:57:42 2014 GMT+0100, Casey Scott wrote: >> That's what's odd. The tcpdump shows a seemingly valid response comeback, >> however dig/host always fail with a timeout. It seems to me that named isn't >> passing along the response for some reason. >> >> Thanks. > > > Have you tried disabling IPv4 and checking whether it works? > I had a similiar issue with bind and without IPv4 it was OK. > > HTH, > George > >> >> ----- On Dec 24, 2014, at 8:31 AM, Bruce Ferrell bferrell@baywinds.org wrote: >> >> > On 12/24/2014 06:40 AM, Casey Scott wrote: >> >> This issue surfaced when I noticed this entry in my servers daily security mail: >> >> >> >> Checking for packages with security vulnerabilities: >> >> pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record >> >> pkg: cannot fetch vulnxml file >> >> >> >> >> >> I discovered that the server is not able to resolve vuxml.freebsd.org, or even >> >> www.freebsd.org. I'm sure the problem isn't specific to the freebsd.org zone, >> >> but that's where I focused my effort. I found that recursive queries failed, >> >> however if I directly queried a name server authoritative for freebsd.org (i.e. >> >> ns1.isc-sns.net.), the query successfully returned the CNAME. >> >> >> >> OS Details: >> >> FreeBSD mustang 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r271930: Sun Sep 21 19:01:57 >> >> PDT 2014 root@mustang:/usr/src/sys/amd64/compile/Server amd64 >> >> >> >> >> >> DNS lookup attempt >> >> ******************************************************************************* >> >> $ dig vuxml.freebsd.org +trace >> >> ; <<>> DiG 9.9.6-P1 <<>> vuxml.freebsd.org +trace >> >> ;; global options: +cmd >> >> . 517326 IN NS e.root-servers.net. >> >> . 517326 IN NS m.root-servers.net. >> >> . 517326 IN NS c.root-servers.net. >> >> . 517326 IN NS d.root-servers.net. >> >> . 517326 IN NS b.root-servers.net. >> >> . 517326 IN NS f.root-servers.net. >> >> . 517326 IN NS g.root-servers.net. >> >> . 517326 IN NS i.root-servers.net. >> >> . 517326 IN NS k.root-servers.net. >> >> . 517326 IN NS l.root-servers.net. >> >> . 517326 IN NS a.root-servers.net. >> >> . 517326 IN NS j.root-servers.net. >> >> . 517326 IN NS h.root-servers.net. >> >> . 517326 IN RRSIG NS 8 0 518400 20141231050000 >> >> 20141224040000 22603 . OT3Uv0Krt43V999nh6ky8sK7Uob+Qb+M82BOS0uPTFxq1NL6m2XX7ri3 >> >> n/na4QyB/+iGTAlonAMVGyXEO1llrJt6iw7yucBriqy/xuGCwSY5Sllc >> >> Y3G7RdzerNgmAhfD2wiCwJPnVuGaD3O5318r2TLrsXdoQwGk7FNWiE1X GBE= >> >> ;; Received 913 bytes from 192.168.1.1#53(192.168.1.1) in 0 ms >> >> >> >> org. 172800 IN NS b2.org.afilias-nst.org. >> >> org. 172800 IN NS a2.org.afilias-nst.info. >> >> org. 172800 IN NS d0.org.afilias-nst.org. >> >> org. 172800 IN NS b0.org.afilias-nst.org. >> >> org. 172800 IN NS a0.org.afilias-nst.info. >> >> org. 172800 IN NS c0.org.afilias-nst.info. >> >> org. 86400 IN DS 21366 7 2 >> >> 96EEB2FFD9B00CD4694E78278B5EFDAB0A80446567B69F634DA078F0 D90F01BA >> >> org. 86400 IN DS 21366 7 1 >> >> E6C1716CFB6BDC84E84CE1AB5510DAC69173B5B2 >> >> org. 86400 IN RRSIG DS 8 1 86400 20141231050000 >> >> 20141224040000 22603 . IjE3Yi3yF8a12dOlLt13Grqs7c2tOXwgyyghAkeqy36N14VrAGxsQMxU >> >> RlOE5rYwzeg1cLi55wRxGShNBz0/KU229xWrRNluzLUkbo+eW98E6Fcw >> >> nT/DHrIy9J/3zjf6NRC+zUUcQTOJGWAkPF40TqaJGwI0Ag6/p6yxcBJ5 MDM= >> >> ;; Received 691 bytes from 192.112.36.4#53(g.root-servers.net) in 73 ms >> >> >> >> freebsd.org. 86400 IN NS ns2.isc-sns.com. >> >> freebsd.org. 86400 IN NS ns1.isc-sns.net. >> >> freebsd.org. 86400 IN NS ns3.isc-sns.info. >> >> freebsd.org. 86400 IN DS 32659 8 2 >> >> AF3B32E46DF2FC32C0110C7D6B808EE73E0411501AFAF9022D3DCD0A FA5B3ACD >> >> freebsd.org. 86400 IN RRSIG DS 7 2 86400 20150109163356 >> >> 20141219153356 11112 org. >> >> puF07NdtGtOY0uI3d789itchA2dEXz0URwCsckm7vjWoNIhdsMuG6jFc >> >> StzdAkvFDiDO/2C3x21spRrb7Y3ioDQpNJL2zJUn2S0L/8ueDbF9wJAT >> >> pEfAdMyUwlCQkVM45Ptf98z7iLTWWe2xQBhZZ1OGaPRW+VwKE0rCaz2d 1rg= >> >> ;; Received 345 bytes from 199.19.53.1#53(c0.org.afilias-nst.info) in 134 ms >> >> >> >> ;; connection timed out; no servers could be reached >> >> ******************************************************************************* >> >> >> >> >> >> tcpdump of the query above >> >> ******************************************************************************* >> >> listening on fxp0, link-type EN10MB (Ethernet), capture size 65535 bytes >> >> 05:59:36.016640 IP x.x.x.x.54272 > 38.103.2.1.53: 18640 [1au] A? >> >> vuxml.freebsd.org. (46) >> >> 05:59:36.127776 IP 38.103.2.1.53 > x.x.x.x.54272: 18640*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> 05:59:38.021067 IP x.x.x.x.52431 > 38.103.2.1.53: 13086 [1au] AAAA? >> >> vuxml.freebsd.org. (46) >> >> 05:59:38.051272 IP x.x.x.x.51125 > 63.243.194.1.53: 16824 [1au] A? >> >> vuxml.freebsd.org. (46) >> >> 05:59:38.081819 IP 63.243.194.1.53 > x.x.x.x.51125: 16824*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> 05:59:38.132821 IP 38.103.2.1.53 > x.x.x.x.52431: 13086*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> 05:59:40.056275 IP x.x.x.x.62003 > 63.243.194.1.53: 41954 [1au] AAAA? >> >> vuxml.freebsd.org. (46) >> >> 05:59:40.086597 IP 63.243.194.1.53 > x.x.x.x.62003: 41954*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> 05:59:40.267272 IP x.x.x.x.61416 > 72.52.71.1.53: 32843 [1au] A? >> >> vuxml.freebsd.org. (46) >> >> 05:59:40.297103 IP 72.52.71.1.53 > x.x.x.x.61416: 32843*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> 05:59:42.272273 IP x.x.x.x.54674 > 72.52.71.1.53: 2755 [1au] AAAA? >> >> vuxml.freebsd.org. (46) >> >> 05:59:42.302289 IP 72.52.71.1.53 > x.x.x.x.54674: 2755*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> 05:59:42.487277 IP x.x.x.x.54239 > 38.103.2.1.53: 38272 [1au] A? >> >> vuxml.freebsd.org. (46) >> >> 05:59:42.598927 IP 38.103.2.1.53 > x.x.x.x.54239: 38272*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> 05:59:44.492281 IP x.x.x.x.59505 > 38.103.2.1.53: 22873 [1au] AAAA? >> >> vuxml.freebsd.org. (46) >> >> 05:59:44.604217 IP 38.103.2.1.53 > x.x.x.x.59505: 22873*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> 05:59:44.722266 IP x.x.x.x.61141 > 63.243.194.1.53: 50828 [1au] A? >> >> vuxml.freebsd.org. (46) >> >> 05:59:44.753517 IP 63.243.194.1.53 > x.x.x.x.61141: 50828*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> 05:59:46.727324 IP x.x.x.x.49803 > 63.243.194.1.53: 51222 [1au] AAAA? >> >> vuxml.freebsd.org. (46) >> >> 05:59:46.757577 IP 63.243.194.1.53 > x.x.x.x.49803: 51222*- 4/4/11 CNAME >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> 05:59:57.395692 IP x.x.x.x.60149 > 165.254.1.208.53: 31873 [1au] A? >> >> e6238.a.akamaiedge.net. (51) >> >> 05:59:57.404644 IP 165.254.1.208.53 > x.x.x.x.60149: 31873*- 1/0/0 A 96.7.67.53 >> >> (56) >> >> ******************************************************************************* >> >> >> >> BIND build options >> >> ******************************************************************************* >> >> # named -V >> >> BIND 9.9.6-P1 (Extended Support Version) built by make with >> >> '--localstatedir=/var' '--disable-linux-caps' '--disable-symtable' >> >> '--with-randomdev=/dev/random' '--with-libxml2=/usr/local' >> >> '--disable-filter-aaaa' '--disable-fixed-rrset' '--without-gost' >> >> '--without-idn' '--disable-ipv6' '--disable-largefile' '--disable-newstats' >> >> '--without-python' '--disable-rpz-nsdname' '--disable-rpz-nsip' '--disable-rrl' >> >> '--with-openssl=/usr/local' '--without-gssapi' '--enable-threads' >> >> '--sysconfdir=/etc/namedb' '--prefix=/usr' '--mandir=/usr/share/man' >> >> '--infodir=/usr/share/info/' '--build=amd64-portbld-freebsd9.3' >> >> 'build_alias=amd64-portbld-freebsd9.3' 'CC=cc' 'CFLAGS=-O2 -pipe -march=native >> >> -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -Wl,-rpath,/usr/local/lib >> >> -fstack-protector' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' >> >> compiled by GCC 4.2.1 20070831 patched [FreeBSD] >> >> using OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 >> >> using libxml2 version: 2.9.2 >> >> ******************************************************************************* >> >> >> >> Any idea what's going on here? >> >> >> >> Thanks, >> >> Casey >> >> >> >> _______________________________________________ >> >> freebsd-questions@freebsd.org mailing list >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> > Casey, >> > >> > think you're getting a correct response. >> > dig @192.0.2.131 vuxml.freebsd.org >> > >> > ; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> @192.0.2.131 vuxml.freebsd.org >> > ; (1 server found) >> > ;; global options: +cmd >> > ;; Got answer: >> > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54956 >> > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 6 >> > >> > ;; OPT PSEUDOSECTION: >> > ; EDNS: version: 0, flags:; udp: 4096 >> > ;; QUESTION SECTION: >> > ;vuxml.freebsd.org. IN A >> > >> > ;; ANSWER SECTION: >> > vuxml.freebsd.org. 497 IN CNAME wfe0.ysv.freebsd.org. >> > wfe0.ysv.freebsd.org. 497 IN A 8.8.178.110 >> > >> > ;; AUTHORITY SECTION: >> > freebsd.org. 497 IN NS ns3.isc-sns.info. >> > freebsd.org. 497 IN NS ns2.isc-sns.com. >> > freebsd.org. 497 IN NS ns1.isc-sns.net. >> > >> > ;; ADDITIONAL SECTION: >> > ns1.isc-sns.net. 2488 IN A 72.52.71.1 >> > ns1.isc-sns.net. 166365 IN AAAA 2001:470:1a::1 >> > ns2.isc-sns.com. 2488 IN A 38.103.2.1 >> > ns3.isc-sns.info. 2488 IN A 63.243.194.1 >> > ns3.isc-sns.info. 79965 IN AAAA 2001:5a0:10::1 >> > >> > ;; Query time: 1 msec >> > ;; SERVER: 192.0.2.131#53(192.0.2.131) >> > ;; WHEN: Wed Dec 24 08:28:06 PST 2014 >> > ;; MSG SIZE rcvd: 277 >> > >> > Notice in the answer section of my simplified query via my local nameserver, >> > wfe0.ysv.freebsd.org is in the A record. I saw the same response in your >> > query, it was just harder to see. >> > >> > >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > -- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 21:09:30 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DAAD166 for ; Wed, 24 Dec 2014 21:09:30 +0000 (UTC) Received: from scottmail.org (scottmail.org [209.206.250.76]) (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 6944C16F7 for ; Wed, 24 Dec 2014 21:09:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id E2C1F2422A7; Wed, 24 Dec 2014 13:09:28 -0800 (PST) Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id g33SiH2HjKuR; Wed, 24 Dec 2014 13:09:26 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id BF3832423DE; Wed, 24 Dec 2014 13:09:26 -0800 (PST) X-Virus-Scanned: amavisd-new at scottmail.org Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TIEZhucS1ltx; Wed, 24 Dec 2014 13:09:26 -0800 (PST) Received: from scottmail.org (bearcat.phantombsd.org [192.168.1.20]) by scottmail.org (Postfix) with ESMTP id 90F862422A7; Wed, 24 Dec 2014 13:09:26 -0800 (PST) Date: Wed, 24 Dec 2014 13:09:26 -0800 (PST) From: Casey Scott Reply-To: Casey Scott To: g lister Message-ID: <913059271.257.1419455366358.JavaMail.zimbra@phantombsd.org> In-Reply-To: References: <642699791.129.1419432044320.JavaMail.zimbra@phantombsd.org> <549AEA7A.109@baywinds.org> <18737980.212.1419443862787.JavaMail.zimbra@phantombsd.org> <2077504714.236.1419448060216.JavaMail.zimbra@phantombsd.org> Subject: Re: DNS resolution question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.1.6] X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - GC39 (Win)/8.6.0_GA_1153) Thread-Topic: DNS resolution question Thread-Index: m6fbhfbwH1V8bPFRHnYuEbTjpezohw== Cc: bferrell@baywinds.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 21:09:30 -0000 Ah.. well in that case, IPv6 is already disabled in named. ----- On Dec 24, 2014, at 11:34 AM, g lister g.lister@nodeunit.ch wrote: > On Wed Dec 24 20:07:40 2014 GMT+0100, Casey Scott wrote: >> I can't disable IPv4 because my environment uses it. Thanks though. > > Sorry I meant IPv6, AAAA are v6 querries I think. > >> >> Casey >> >> ----- On Dec 24, 2014, at 10:10 AM, g lister g.lister@nodeunit.ch wrote: >> >> > On Wed Dec 24 18:57:42 2014 GMT+0100, Casey Scott wrote: >> >> That's what's odd. The tcpdump shows a seemingly valid response comeback, >> >> however dig/host always fail with a timeout. It seems to me that named isn't >> >> passing along the response for some reason. >> >> >> >> Thanks. >> > >> > >> > Have you tried disabling IPv4 and checking whether it works? >> > I had a similiar issue with bind and without IPv4 it was OK. >> > >> > HTH, >> > George >> > >> >> >> >> ----- On Dec 24, 2014, at 8:31 AM, Bruce Ferrell bferrell@baywinds.org wrote: >> >> >> >> > On 12/24/2014 06:40 AM, Casey Scott wrote: >> >> >> This issue surfaced when I noticed this entry in my servers daily security mail: >> >> >> >> >> >> Checking for packages with security vulnerabilities: >> >> >> pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record >> >> >> pkg: cannot fetch vulnxml file >> >> >> >> >> >> >> >> >> I discovered that the server is not able to resolve vuxml.freebsd.org, or even >> >> >> www.freebsd.org. I'm sure the problem isn't specific to the freebsd.org zone, >> >> >> but that's where I focused my effort. I found that recursive queries failed, >> >> >> however if I directly queried a name server authoritative for freebsd.org (i.e. >> >> >> ns1.isc-sns.net.), the query successfully returned the CNAME. >> >> >> >> >> >> OS Details: >> >> >> FreeBSD mustang 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r271930: Sun Sep 21 19:01:57 >> >> >> PDT 2014 root@mustang:/usr/src/sys/amd64/compile/Server amd64 >> >> >> >> >> >> >> >> >> DNS lookup attempt >> >> >> ******************************************************************************* >> >> >> $ dig vuxml.freebsd.org +trace >> >> >> ; <<>> DiG 9.9.6-P1 <<>> vuxml.freebsd.org +trace >> >> >> ;; global options: +cmd >> >> >> . 517326 IN NS e.root-servers.net. >> >> >> . 517326 IN NS m.root-servers.net. >> >> >> . 517326 IN NS c.root-servers.net. >> >> >> . 517326 IN NS d.root-servers.net. >> >> >> . 517326 IN NS b.root-servers.net. >> >> >> . 517326 IN NS f.root-servers.net. >> >> >> . 517326 IN NS g.root-servers.net. >> >> >> . 517326 IN NS i.root-servers.net. >> >> >> . 517326 IN NS k.root-servers.net. >> >> >> . 517326 IN NS l.root-servers.net. >> >> >> . 517326 IN NS a.root-servers.net. >> >> >> . 517326 IN NS j.root-servers.net. >> >> >> . 517326 IN NS h.root-servers.net. >> >> >> . 517326 IN RRSIG NS 8 0 518400 20141231050000 >> >> >> 20141224040000 22603 . OT3Uv0Krt43V999nh6ky8sK7Uob+Qb+M82BOS0uPTFxq1NL6m2XX7ri3 >> >> >> n/na4QyB/+iGTAlonAMVGyXEO1llrJt6iw7yucBriqy/xuGCwSY5Sllc >> >> >> Y3G7RdzerNgmAhfD2wiCwJPnVuGaD3O5318r2TLrsXdoQwGk7FNWiE1X GBE= >> >> >> ;; Received 913 bytes from 192.168.1.1#53(192.168.1.1) in 0 ms >> >> >> >> >> >> org. 172800 IN NS b2.org.afilias-nst.org. >> >> >> org. 172800 IN NS a2.org.afilias-nst.info. >> >> >> org. 172800 IN NS d0.org.afilias-nst.org. >> >> >> org. 172800 IN NS b0.org.afilias-nst.org. >> >> >> org. 172800 IN NS a0.org.afilias-nst.info. >> >> >> org. 172800 IN NS c0.org.afilias-nst.info. >> >> >> org. 86400 IN DS 21366 7 2 >> >> >> 96EEB2FFD9B00CD4694E78278B5EFDAB0A80446567B69F634DA078F0 D90F01BA >> >> >> org. 86400 IN DS 21366 7 1 >> >> >> E6C1716CFB6BDC84E84CE1AB5510DAC69173B5B2 >> >> >> org. 86400 IN RRSIG DS 8 1 86400 20141231050000 >> >> >> 20141224040000 22603 . IjE3Yi3yF8a12dOlLt13Grqs7c2tOXwgyyghAkeqy36N14VrAGxsQMxU >> >> >> RlOE5rYwzeg1cLi55wRxGShNBz0/KU229xWrRNluzLUkbo+eW98E6Fcw >> >> >> nT/DHrIy9J/3zjf6NRC+zUUcQTOJGWAkPF40TqaJGwI0Ag6/p6yxcBJ5 MDM= >> >> >> ;; Received 691 bytes from 192.112.36.4#53(g.root-servers.net) in 73 ms >> >> >> >> >> >> freebsd.org. 86400 IN NS ns2.isc-sns.com. >> >> >> freebsd.org. 86400 IN NS ns1.isc-sns.net. >> >> >> freebsd.org. 86400 IN NS ns3.isc-sns.info. >> >> >> freebsd.org. 86400 IN DS 32659 8 2 >> >> >> AF3B32E46DF2FC32C0110C7D6B808EE73E0411501AFAF9022D3DCD0A FA5B3ACD >> >> >> freebsd.org. 86400 IN RRSIG DS 7 2 86400 20150109163356 >> >> >> 20141219153356 11112 org. >> >> >> puF07NdtGtOY0uI3d789itchA2dEXz0URwCsckm7vjWoNIhdsMuG6jFc >> >> >> StzdAkvFDiDO/2C3x21spRrb7Y3ioDQpNJL2zJUn2S0L/8ueDbF9wJAT >> >> >> pEfAdMyUwlCQkVM45Ptf98z7iLTWWe2xQBhZZ1OGaPRW+VwKE0rCaz2d 1rg= >> >> >> ;; Received 345 bytes from 199.19.53.1#53(c0.org.afilias-nst.info) in 134 ms >> >> >> >> >> >> ;; connection timed out; no servers could be reached >> >> >> ******************************************************************************* >> >> >> >> >> >> >> >> >> tcpdump of the query above >> >> >> ******************************************************************************* >> >> >> listening on fxp0, link-type EN10MB (Ethernet), capture size 65535 bytes >> >> >> 05:59:36.016640 IP x.x.x.x.54272 > 38.103.2.1.53: 18640 [1au] A? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:36.127776 IP 38.103.2.1.53 > x.x.x.x.54272: 18640*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> 05:59:38.021067 IP x.x.x.x.52431 > 38.103.2.1.53: 13086 [1au] AAAA? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:38.051272 IP x.x.x.x.51125 > 63.243.194.1.53: 16824 [1au] A? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:38.081819 IP 63.243.194.1.53 > x.x.x.x.51125: 16824*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> 05:59:38.132821 IP 38.103.2.1.53 > x.x.x.x.52431: 13086*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> 05:59:40.056275 IP x.x.x.x.62003 > 63.243.194.1.53: 41954 [1au] AAAA? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:40.086597 IP 63.243.194.1.53 > x.x.x.x.62003: 41954*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> 05:59:40.267272 IP x.x.x.x.61416 > 72.52.71.1.53: 32843 [1au] A? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:40.297103 IP 72.52.71.1.53 > x.x.x.x.61416: 32843*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> 05:59:42.272273 IP x.x.x.x.54674 > 72.52.71.1.53: 2755 [1au] AAAA? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:42.302289 IP 72.52.71.1.53 > x.x.x.x.54674: 2755*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> 05:59:42.487277 IP x.x.x.x.54239 > 38.103.2.1.53: 38272 [1au] A? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:42.598927 IP 38.103.2.1.53 > x.x.x.x.54239: 38272*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> 05:59:44.492281 IP x.x.x.x.59505 > 38.103.2.1.53: 22873 [1au] AAAA? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:44.604217 IP 38.103.2.1.53 > x.x.x.x.59505: 22873*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> 05:59:44.722266 IP x.x.x.x.61141 > 63.243.194.1.53: 50828 [1au] A? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:44.753517 IP 63.243.194.1.53 > x.x.x.x.61141: 50828*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> 05:59:46.727324 IP x.x.x.x.49803 > 63.243.194.1.53: 51222 [1au] AAAA? >> >> >> vuxml.freebsd.org. (46) >> >> >> 05:59:46.757577 IP 63.243.194.1.53 > x.x.x.x.49803: 51222*- 4/4/11 CNAME >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> 05:59:57.395692 IP x.x.x.x.60149 > 165.254.1.208.53: 31873 [1au] A? >> >> >> e6238.a.akamaiedge.net. (51) >> >> >> 05:59:57.404644 IP 165.254.1.208.53 > x.x.x.x.60149: 31873*- 1/0/0 A 96.7.67.53 >> >> >> (56) >> >> >> ******************************************************************************* >> >> >> >> >> >> BIND build options >> >> >> ******************************************************************************* >> >> >> # named -V >> >> >> BIND 9.9.6-P1 (Extended Support Version) built by make with >> >> >> '--localstatedir=/var' '--disable-linux-caps' '--disable-symtable' >> >> >> '--with-randomdev=/dev/random' '--with-libxml2=/usr/local' >> >> >> '--disable-filter-aaaa' '--disable-fixed-rrset' '--without-gost' >> >> >> '--without-idn' '--disable-ipv6' '--disable-largefile' '--disable-newstats' >> >> >> '--without-python' '--disable-rpz-nsdname' '--disable-rpz-nsip' '--disable-rrl' >> >> >> '--with-openssl=/usr/local' '--without-gssapi' '--enable-threads' >> >> >> '--sysconfdir=/etc/namedb' '--prefix=/usr' '--mandir=/usr/share/man' >> >> >> '--infodir=/usr/share/info/' '--build=amd64-portbld-freebsd9.3' >> >> >> 'build_alias=amd64-portbld-freebsd9.3' 'CC=cc' 'CFLAGS=-O2 -pipe -march=native >> >> >> -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -Wl,-rpath,/usr/local/lib >> >> >> -fstack-protector' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' >> >> >> compiled by GCC 4.2.1 20070831 patched [FreeBSD] >> >> >> using OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 >> >> >> using libxml2 version: 2.9.2 >> >> >> ******************************************************************************* >> >> >> >> >> >> Any idea what's going on here? >> >> >> >> >> >> Thanks, >> >> >> Casey >> >> >> >> >> >> _______________________________________________ >> >> >> freebsd-questions@freebsd.org mailing list >> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> > Casey, >> >> > >> >> > think you're getting a correct response. >> >> > dig @192.0.2.131 vuxml.freebsd.org >> >> > >> >> > ; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> @192.0.2.131 vuxml.freebsd.org >> >> > ; (1 server found) >> >> > ;; global options: +cmd >> >> > ;; Got answer: >> >> > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54956 >> >> > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 6 >> >> > >> >> > ;; OPT PSEUDOSECTION: >> >> > ; EDNS: version: 0, flags:; udp: 4096 >> >> > ;; QUESTION SECTION: >> >> > ;vuxml.freebsd.org. IN A >> >> > >> >> > ;; ANSWER SECTION: >> >> > vuxml.freebsd.org. 497 IN CNAME wfe0.ysv.freebsd.org. >> >> > wfe0.ysv.freebsd.org. 497 IN A 8.8.178.110 >> >> > >> >> > ;; AUTHORITY SECTION: >> >> > freebsd.org. 497 IN NS ns3.isc-sns.info. >> >> > freebsd.org. 497 IN NS ns2.isc-sns.com. >> >> > freebsd.org. 497 IN NS ns1.isc-sns.net. >> >> > >> >> > ;; ADDITIONAL SECTION: >> >> > ns1.isc-sns.net. 2488 IN A 72.52.71.1 >> >> > ns1.isc-sns.net. 166365 IN AAAA 2001:470:1a::1 >> >> > ns2.isc-sns.com. 2488 IN A 38.103.2.1 >> >> > ns3.isc-sns.info. 2488 IN A 63.243.194.1 >> >> > ns3.isc-sns.info. 79965 IN AAAA 2001:5a0:10::1 >> >> > >> >> > ;; Query time: 1 msec >> >> > ;; SERVER: 192.0.2.131#53(192.0.2.131) >> >> > ;; WHEN: Wed Dec 24 08:28:06 PST 2014 >> >> > ;; MSG SIZE rcvd: 277 >> >> > >> >> > Notice in the answer section of my simplified query via my local nameserver, >> >> > wfe0.ysv.freebsd.org is in the A record. I saw the same response in your >> >> > query, it was just harder to see. >> >> > >> >> > >> >> > _______________________________________________ >> >> > freebsd-questions@freebsd.org mailing list >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> _______________________________________________ >> >> freebsd-questions@freebsd.org mailing list >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> > >> > -- >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > -- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 06:24:09 2014 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6F45CF6; Thu, 25 Dec 2014 06:24:09 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5357129AD; Thu, 25 Dec 2014 06:24:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id sBP6H0EU024719; Thu, 25 Dec 2014 17:17:00 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 25 Dec 2014 17:17:00 +1100 (EST) From: Ian Smith To: Matthew Seaman Subject: Re: poudriere fetch timeout? In-Reply-To: Message-ID: <20141225171336.Q99601@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@FreeBSD.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 06:24:09 -0000 In freebsd-questions Digest, Vol 551, Issue 3, Message: 21 On Wed, 24 Dec 2014 10:20:49 +0000 Matthew Seaman wrote: > On 24/12/2014 00:09, Brian W. wrote: > > How long will it be till package builds happen nearly immediately after a > > commit change. It seems this is viewed optionally now and this is why folks > > are asking so many questions about this. > > When the hardware fairies[*] come along and wave their magic wands over > all the racks and conjure up about as much compute capacity again as is > currently available to build packages with. Unfortunately, unlike the > tooth fairy (who takes away teeth and leaves money in their place), > hardware fairies work the other way round. They want a tidy heap of > currency first. And unlike Santa's Elves who can deliver a world's > worth of presents faster than even the wildest wet dreams of an Amazon > executive, their magics take some time to brew, until there are properly > fettled servers happily chugging away building packages at all hours of > day and night. > > Cheers, > > Matthew > > [*] I'm sure the FreeBSD Foundation guys who are actually *paying* for > the kit, and the clusteradmin guys who install and manage it all will > not mind my referring to them as such. I expect they'll be chuffed. 'Tis the season for silly hats anyway .. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 12:14:17 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA712A7F for ; Thu, 25 Dec 2014 12:14:17 +0000 (UTC) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2A2C64C18 for ; Thu, 25 Dec 2014 12:14:17 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id c9so6553853qcz.19 for ; Thu, 25 Dec 2014 04:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=uqHaUCv7YfhxDiygc/2ql8ndN6c/8lPbc7ODX8KbSkg=; b=yBVa4oDhU6oz0gnvP2QoaGuQPrFAe02th6YAwzZrD/drZNWX1umoy9tbfHupdh9tJK SaaCIg7lTtMICZD5XZ8ZL0B9NWwCX5y0JDMf9PyDqXajG42TiQSHjE1B2ho4Dc1YN+PT BtfdUb1Ps5hne+tCMCCklDigQxqM6b+OchOxTCQ2/KmshyVqpa9fsHXk2OMJ0G2YnzM3 GZ9iPYSWuFYJLQ2WwWAblPcR8Q/TIcN3JYQjikA7d2H/T0PKvG3s3v2lNtCklXRYgtzR BR5INYkV3OOFri67hIhO3ihVWsXTWi5OxwLCFyhWIGfgjCnMczcYtjYTIol3hXc6Yh3z 6NqQ== X-Received: by 10.140.88.48 with SMTP id s45mr57804366qgd.28.1419509656853; Thu, 25 Dec 2014 04:14:16 -0800 (PST) Received: from lumiwa.farms.net (pool-70-20-61-168.man.east.myfairpoint.net. [70.20.61.168]) by mx.google.com with ESMTPSA id g60sm13955564qgg.39.2014.12.25.04.14.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Dec 2014 04:14:16 -0800 (PST) From: Ajtim To: questions@freebsd.org Reply-To: lumiwa@gmail.com Subject: misc/gnomehier Date: Thu, 25 Dec 2014 07:14:15 -0500 Message-ID: <473260444.HxtQW2n9cf@lumiwa.farms.net> User-Agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE; KDE/4.14.3; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 12:14:18 -0000 Hi! I run on 10.1-RELEASE-p3 portsnap fetch update and than: portmaster -ad ===>>> Gathering distinfo list for installed ports ===>>> Starting check of installed ports for available updates ===>>> The misc/gnomehier port has been deleted: Not needed anymore ===>>> Aborting update What is wrong, please? -- ajtiM -------- http://www.redbubble.com/people/lumiwa From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 13:19:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16EAD760 for ; Thu, 25 Dec 2014 13:19:47 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CDBD93276 for ; Thu, 25 Dec 2014 13:19:46 +0000 (UTC) Received: from dutch.freebsd.net ([172.15.184.248]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0LeMmZ-1XWUGE3gTd-00q74H for ; Thu, 25 Dec 2014 14:19:40 +0100 Message-ID: <549C0EEA.10305@gmx.us> Date: Thu, 25 Dec 2014 08:19:38 -0500 From: Dutch Ingraham User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: misc/gnomehier References: <473260444.HxtQW2n9cf@lumiwa.farms.net> In-Reply-To: <473260444.HxtQW2n9cf@lumiwa.farms.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:s9vXNS9KA7rFQnavz0+YFg0yNTL/QJKk0dpeyLeCv0xM62dS5Kr QXFtXg3fE5bzkI6d1x2ArfDhaPtcvQxCPW3+Way6cYVrTUFnyRuSBfI15h8knhq58nQXcQ5 /5MlVh/ImlP30Po0+NSYvMnUVzcio7J2by5phCPFyHQ7EGn3YHadwlQMqsm0Y0TtNrLioOu YFdjJdY25/H72DU9VZtlg== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 13:19:47 -0000 On 12/25/14 07:14, Ajtim wrote: > Hi! > > I run on 10.1-RELEASE-p3 portsnap fetch update and than: > portmaster -ad > ===>>> Gathering distinfo list for installed ports > > ===>>> Starting check of installed ports for available updates > > ===>>> The misc/gnomehier port has been deleted: Not needed anymore > ===>>> Aborting update > > What is wrong, please? > Same problem here, both with the svn revision 375543 and portsnap timestamp Thu Dec 25 07:27:27 EST 2014. Interesting, returns nothing as well as , but does and wants to remove all kinds of good stuff. [snip...] ===>>> freetype2-2.5.4 ===>>> gnome_subr-1.0 ===>>> gnomehier-3.0 ===>>> The misc/gnomehier port has been deleted: Not needed anymore ===>>> Aborting update dutch [/home/dutch] % updatedb >>> WARNING >>> Executing updatedb as root. This WILL reveal all filenames >>> on your machine to all login users, which is a security risk. dutch [/home/dutch] % locate gnomehier dutch [/home/dutch] % pkg info gnomehier gnomehier-3.0 Name : gnomehier Version : 3.0 Installed on : Fri Nov 14 20:24:13 EST 2014 Origin : misc/gnomehier Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : misc gnome Licenses : Maintainer : gnome@FreeBSD.org WWW : UNKNOWN Comment : Utility port that creates the GNOME directory tree Annotations : Flat size : 2.91KiB Description : This is a utility port that creates the common GNOME directory structure. This way, the existence of the directories can be ensured before applications attempt to install into them. dutch [/home/dutch] % sudo pkg delete -n gnomehier Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 19 packages (of 0 packages in the universe): Installed packages to be REMOVED: gnomehier-3.0 polkit-0.105_3 consolekit-0.4.5_2 colord-1.2.4 hal-0.5.14_28 gtk3-3.14.5_1 xorg-server-1.12.4_10,1 wireshark-1.12.2 xf86-input-keyboard-1.8.0_6 xf86-input-mouse-1.9.0_5 xf86-video-ati-7.5.0 xf86-video-intel-2.21.15_5 xf86-video-mach64-6.9.4_4 xf86-video-nv-2.1.20_5 xf86-video-openchrome-0.3.3_4 xf86-video-r128-6.9.2_4 xf86-video-vesa-2.3.3_4 xorg-drivers-7.7_2 xorg-7.7_1 The operation will free 140 MB. dutch [/home/dutch] % ls -l /var/db/pkg/gnomehier-3.0 ls: /var/db/pkg/gnomehier-3.0: No such file or directory dutch [/home/dutch] % From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 13:23:40 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D4C281B for ; Thu, 25 Dec 2014 13:23:40 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D5E543360 for ; Thu, 25 Dec 2014 13:23:39 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id sBPDNWB1002870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 25 Dec 2014 14:23:33 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id sBPDNWrq002867; Thu, 25 Dec 2014 14:23:32 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 25 Dec 2014 14:23:32 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Ajtim Subject: Re: misc/gnomehier In-Reply-To: <473260444.HxtQW2n9cf@lumiwa.farms.net> Message-ID: References: <473260444.HxtQW2n9cf@lumiwa.farms.net> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 13:23:40 -0000 On Thu, 25 Dec 2014 07:14-0500, Ajtim wrote: > Hi! > > I run on 10.1-RELEASE-p3 portsnap fetch update and than: > portmaster -ad > ===>>> Gathering distinfo list for installed ports > > ===>>> Starting check of installed ports for available updates > > ===>>> The misc/gnomehier port has been deleted: Not needed anymore > ===>>> Aborting update > > What is wrong, please? Nothing. Simply run: pkg delete gnomehier If pkg says it will only remove gnomehier, then answer yes. If pkg wants to remove more than gnomehier, then forcefully update those other packages, and retry the pkg command above. -- +-------------------------------+------------------------------------+ | 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 Dec 25 13:43:36 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45EDAFA7 for ; Thu, 25 Dec 2014 13:43:36 +0000 (UTC) Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0017C64557 for ; Thu, 25 Dec 2014 13:43:35 +0000 (UTC) Received: by mail-qg0-f54.google.com with SMTP id l89so6688223qgf.27 for ; Thu, 25 Dec 2014 05:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=l9xLycYwWUqIIs+nXOnFrk7+Lb9iytvkXYQQfYvjKgg=; b=vBlRaSU+P5uOsB38lF5NNAnjVW0vyUhTJN9ht6NFfaK/ATLZr1Dt54IfxttS0unMSu dhrh3hc5SiWRdZX3n+y3KoTImI9ZAk7UMfeexdTcp5AtMsM1SaMPIT5ahuu9ZIXff2GS UEZXAQbdDww70lxQV94+pJnWnXpJmrqwmPygl7l4EGEB/r0SRIfUBzfPzsYApQpaww23 ZBBuWnoqSOmlJs5wHyNKXcEDx+Krfazzv1YytdrNR5U/kxU1gfMKlSSmuZJ1EZn69cKy 7g7NUTYm0UU2Cdc0YSFMzc6s8wUPJ9eKGpTmW/GSszTd5MoCFoI4mUtuLWupf3xff3c9 Mlzg== X-Received: by 10.140.104.1 with SMTP id z1mr16938318qge.76.1419515015169; Thu, 25 Dec 2014 05:43:35 -0800 (PST) Received: from lumiwa.farms.net (pool-70-20-61-168.man.east.myfairpoint.net. [70.20.61.168]) by mx.google.com with ESMTPSA id p9sm23707911qax.8.2014.12.25.05.43.34 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Dec 2014 05:43:34 -0800 (PST) From: Ajtim To: Trond =?ISO-8859-1?Q?Endrest=F8l?= Reply-To: lumiwa@gmail.com Subject: Re: misc/gnomehier Date: Thu, 25 Dec 2014 08:43:33 -0500 Message-ID: <1838794.JIjWeq3dxo@lumiwa.farms.net> User-Agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE; KDE/4.14.3; amd64; ; ) In-Reply-To: References: <473260444.HxtQW2n9cf@lumiwa.farms.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 13:43:36 -0000 On Thursday 25 December 2014 14:23:32 Trond Endrest=C3=B8l wrote: > On Thu, 25 Dec 2014 07:14-0500, Ajtim wrote: > > Hi! > >=20 > > I run on 10.1-RELEASE-p3 portsnap fetch update and than: > > portmaster -ad > >=20 > > =3D=3D=3D>>> Gathering distinfo list for installed ports > >=20 > > =3D=3D=3D>>> Starting check of installed ports for available update= s > >=20 > > =3D=3D=3D>>> The misc/gnomehier port has been deleted: Not needed a= nymore > > =3D=3D=3D>>> Aborting update > >=20 > > What is wrong, please? >=20 > Nothing. >=20 > Simply run: pkg delete gnomehier >=20 > If pkg says it will only remove gnomehier, then answer yes. >=20 > If pkg wants to remove more than gnomehier, then forcefully update > those other packages, and retry the pkg command above. Thank you very much. It works. --=20 ajtiM -------- http://www.redbubble.com/people/lumiwa From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 14:32:21 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A298C309 for ; Thu, 25 Dec 2014 14:32:21 +0000 (UTC) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2368364BC4 for ; Thu, 25 Dec 2014 14:32:21 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id n12so13015673wgh.8 for ; Thu, 25 Dec 2014 06:32:19 -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=B6BIY3AL+LQLdW0p/qI0NGtUwl/U4ZUTMS7vamKds+I=; b=DBLsfEMVDAqkaDthhsezWG7Y3v/WHopQszL8pZYcNwnXvg+vc3tZITQkis1aypIoep yURWnwvvfZLkZJlNWm+8y1s8m+fX4GI7FrsyUKQG6uSFlGB8P0xAZu7pzyI3/oJ37tsy ySH2+hTshw5s1Yg+ZKXRTMCAzp1ufPJPcudd1nTlQuBW0p1WAVeRZ3zI53X+S19nMPFo vJEhJLYwY+6B1RDQpQFEB74dY7v9IksUbs2j6WiplNs4yfsNphYLDG+cKyJzRS4Zrx3y Plmweygpcshz/Y+NOz73s4BhBbHcmUqyIM3fsWlOPh4cn3g2/t2HRQGo5qQOyeptRWnL SkuQ== MIME-Version: 1.0 X-Received: by 10.180.88.165 with SMTP id bh5mr61432171wib.77.1419517939521; Thu, 25 Dec 2014 06:32:19 -0800 (PST) Received: by 10.217.46.132 with HTTP; Thu, 25 Dec 2014 06:32:19 -0800 (PST) Date: Thu, 25 Dec 2014 15:32:19 +0100 Message-ID: Subject: FreeBSD 10.1-STABLE: UEFI booting from USB flash drive + FBSD system on HDD From: Julien Meister To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 14:32:21 -0000 Hello everybody, I've been trying to make UEFI booting work on my Thinkpad T420. My goal is (as I had previously done with BIOS) to boot FreeBSD from a USB flash drive with my laptop hard drive encrypted. The T420 is able to boot using UEFI if the /boot partition is on the same disk as the other partitions. So installing FreeBSD on a USB flash drive OR on the HDD works fine with UEFI. (I haven't tested encryption yet) However, when trying to boot from USB and then access the ROOT partition on the HDD (which will be the case later when my HDD will be encrypted), I get the following panic: *>> FreeBSD EFI boot block* *Loader path: /boot/loader.efi* *File /boot/loader.efi not found* *panic: Load failed* =3D> USB flash drive contains: EFI partition + /boot =3D> HDD contains the rest (which will be encrypted) Here are the commands I used (without encryption for the moment): *# gpart destroy -F ada0* *# gpart destroy -F da0* *# gpart create -s gpt ada0* *# gpart create -s gpt da0* Create the EFI and /boot partition on the USB flash drive: *# gpart add -t efi -a 4K -l bootefi -s 800K da0* *# gpart add -t freebsd-ufs -l usbboot -s 768M da0* Prepare the EFI partition: *# dd if=3D/boot/boot1.efifat of=3D/dev/gpt/bootefi* Partition the HDD. For this example, I will only use one big / partition. *# gpart add -t freebsd-ufs -a 4K -l gprootfs ada0* Newfs and mount everything: *# newfs /dev/gpt/usbboot* *# newfs /dev/gpt/gprootfs* *# mkdir /tmp/mnt* *# mount /dev/gpt/gprootfs /tmp/mnt* *# mkdir /tmp/mnt/boot* *# mount /dev/gpt/usbboot /tmp/mnt/boot* Install FreeBSD: *# sh* *# for file in kernel.txz base.txz lib32.txz; do * *untar --unlink -xpvJf ${file} -C /tmp/mnt done* chroot into the new system and create /etc/fstab and /boot/loader.conf *#chroot /tmp/mnt* =3D> Edit /boot/loader.conf *#echo 'vfs.root.mountfrom=3D"ufs:/dev/gpt/gprootfs"' > boot/loader.conf* =3D> Edit /etc/fstab *#echo '/dev/gpt/gprootfs / ufs rw 1 1' > etc/fstab* Unmount everything and reboot *#exit* *#cd /* =3D> Unmount usb flash drive *#umount /tmp/mnt/boot * =3D> Unmount hdd *#umount /tmp/mnt* *#reboot* And I get a panic (as shown above) *>> FreeBSD EFI boot block* *Loader path: /boot/loader.efi* *File /boot/loader.efi not found* *panic: Load failed* Any idea on how to make this work with UEFI? From what I understood, EFI tries to boot on the first ufs partition found. It should be therefore [FILE]da0p2[/FILE] ... but it isn't. Thank you very much =E2=80=8B Julien From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 15:03:37 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 539172C4 for ; Thu, 25 Dec 2014 15:03:37 +0000 (UTC) Received: from scottmail.org (scottmail.org [209.206.250.76]) (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 1A6081E46 for ; Thu, 25 Dec 2014 15:03:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id 69C2824227A; Thu, 25 Dec 2014 07:03:30 -0800 (PST) Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id RPWT3yEhM4Z8; Thu, 25 Dec 2014 07:03:27 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id B7FDE242D05; Thu, 25 Dec 2014 07:03:27 -0800 (PST) X-Virus-Scanned: amavisd-new at scottmail.org Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7-Abo4-BEY-G; Thu, 25 Dec 2014 07:03:27 -0800 (PST) Received: from scottmail.org (bearcat.phantombsd.org [192.168.1.20]) by scottmail.org (Postfix) with ESMTP id 88E9C24227A; Thu, 25 Dec 2014 07:03:27 -0800 (PST) Date: Thu, 25 Dec 2014 07:03:27 -0800 (PST) From: Casey Scott Reply-To: Casey Scott To: g lister Message-ID: <328887443.42.1419519807044.JavaMail.zimbra@phantombsd.org> In-Reply-To: References: <642699791.129.1419432044320.JavaMail.zimbra@phantombsd.org> <549AEA7A.109@baywinds.org> <18737980.212.1419443862787.JavaMail.zimbra@phantombsd.org> <2077504714.236.1419448060216.JavaMail.zimbra@phantombsd.org> <913059271.257.1419455366358.JavaMail.zimbra@phantombsd.org> Subject: Re: DNS resolution question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.1.6] X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - GC39 (Win)/8.6.0_GA_1153) Thread-Topic: DNS resolution question Thread-Index: OaIK/sPNQEvvyMql4+ogYiaFgKOFzg== Cc: bferrell@baywinds.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 15:03:37 -0000 named -V output includes '--disable-ipv6'. Isn't that explicitly disabling IPv6? Thanks. ----- On Dec 24, 2014, at 1:57 PM, g lister g.lister@nodeunit.ch wrote: > On Wed Dec 24 22:09:26 2014 GMT+0100, Casey Scott wrote: >> Ah.. well in that case, IPv6 is already disabled in named. > > Is it disabled explicitly? I mean by a directive. I had also disabled it ... By > not enabling it but I had to disable it explicitly and then some queries coming > from my internal network and my smtp started working. Problem is you need to > have functioning IPv6 network setup to make use of it. > Sorry for being short but writing on a phone is a pain. The syntax should be in > a man page or the net. > > HTH, > George > >> >> >> ----- On Dec 24, 2014, at 11:34 AM, g lister g.lister@nodeunit.ch wrote: >> >> > On Wed Dec 24 20:07:40 2014 GMT+0100, Casey Scott wrote: >> >> I can't disable IPv4 because my environment uses it. Thanks though. >> > >> > Sorry I meant IPv6, AAAA are v6 querries I think. >> > >> >> >> >> Casey >> >> >> >> ----- On Dec 24, 2014, at 10:10 AM, g lister g.lister@nodeunit.ch wrote: >> >> >> >> > On Wed Dec 24 18:57:42 2014 GMT+0100, Casey Scott wrote: >> >> >> That's what's odd. The tcpdump shows a seemingly valid response comeback, >> >> >> however dig/host always fail with a timeout. It seems to me that named isn't >> >> >> passing along the response for some reason. >> >> >> >> >> >> Thanks. >> >> > >> >> > >> >> > Have you tried disabling IPv4 and checking whether it works? >> >> > I had a similiar issue with bind and without IPv4 it was OK. >> >> > >> >> > HTH, >> >> > George >> >> > >> >> >> >> >> >> ----- On Dec 24, 2014, at 8:31 AM, Bruce Ferrell bferrell@baywinds.org wrote: >> >> >> >> >> >> > On 12/24/2014 06:40 AM, Casey Scott wrote: >> >> >> >> This issue surfaced when I noticed this entry in my servers daily security mail: >> >> >> >> >> >> >> >> Checking for packages with security vulnerabilities: >> >> >> >> pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record >> >> >> >> pkg: cannot fetch vulnxml file >> >> >> >> >> >> >> >> >> >> >> >> I discovered that the server is not able to resolve vuxml.freebsd.org, or even >> >> >> >> www.freebsd.org. I'm sure the problem isn't specific to the freebsd.org zone, >> >> >> >> but that's where I focused my effort. I found that recursive queries failed, >> >> >> >> however if I directly queried a name server authoritative for freebsd.org (i.e. >> >> >> >> ns1.isc-sns.net.), the query successfully returned the CNAME. >> >> >> >> >> >> >> >> OS Details: >> >> >> >> FreeBSD mustang 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r271930: Sun Sep 21 19:01:57 >> >> >> >> PDT 2014 root@mustang:/usr/src/sys/amd64/compile/Server amd64 >> >> >> >> >> >> >> >> >> >> >> >> DNS lookup attempt >> >> >> >> ******************************************************************************* >> >> >> >> $ dig vuxml.freebsd.org +trace >> >> >> >> ; <<>> DiG 9.9.6-P1 <<>> vuxml.freebsd.org +trace >> >> >> >> ;; global options: +cmd >> >> >> >> . 517326 IN NS e.root-servers.net. >> >> >> >> . 517326 IN NS m.root-servers.net. >> >> >> >> . 517326 IN NS c.root-servers.net. >> >> >> >> . 517326 IN NS d.root-servers.net. >> >> >> >> . 517326 IN NS b.root-servers.net. >> >> >> >> . 517326 IN NS f.root-servers.net. >> >> >> >> . 517326 IN NS g.root-servers.net. >> >> >> >> . 517326 IN NS i.root-servers.net. >> >> >> >> . 517326 IN NS k.root-servers.net. >> >> >> >> . 517326 IN NS l.root-servers.net. >> >> >> >> . 517326 IN NS a.root-servers.net. >> >> >> >> . 517326 IN NS j.root-servers.net. >> >> >> >> . 517326 IN NS h.root-servers.net. >> >> >> >> . 517326 IN RRSIG NS 8 0 518400 20141231050000 >> >> >> >> 20141224040000 22603 . OT3Uv0Krt43V999nh6ky8sK7Uob+Qb+M82BOS0uPTFxq1NL6m2XX7ri3 >> >> >> >> n/na4QyB/+iGTAlonAMVGyXEO1llrJt6iw7yucBriqy/xuGCwSY5Sllc >> >> >> >> Y3G7RdzerNgmAhfD2wiCwJPnVuGaD3O5318r2TLrsXdoQwGk7FNWiE1X GBE= >> >> >> >> ;; Received 913 bytes from 192.168.1.1#53(192.168.1.1) in 0 ms >> >> >> >> >> >> >> >> org. 172800 IN NS b2.org.afilias-nst.org. >> >> >> >> org. 172800 IN NS a2.org.afilias-nst.info. >> >> >> >> org. 172800 IN NS d0.org.afilias-nst.org. >> >> >> >> org. 172800 IN NS b0.org.afilias-nst.org. >> >> >> >> org. 172800 IN NS a0.org.afilias-nst.info. >> >> >> >> org. 172800 IN NS c0.org.afilias-nst.info. >> >> >> >> org. 86400 IN DS 21366 7 2 >> >> >> >> 96EEB2FFD9B00CD4694E78278B5EFDAB0A80446567B69F634DA078F0 D90F01BA >> >> >> >> org. 86400 IN DS 21366 7 1 >> >> >> >> E6C1716CFB6BDC84E84CE1AB5510DAC69173B5B2 >> >> >> >> org. 86400 IN RRSIG DS 8 1 86400 20141231050000 >> >> >> >> 20141224040000 22603 . IjE3Yi3yF8a12dOlLt13Grqs7c2tOXwgyyghAkeqy36N14VrAGxsQMxU >> >> >> >> RlOE5rYwzeg1cLi55wRxGShNBz0/KU229xWrRNluzLUkbo+eW98E6Fcw >> >> >> >> nT/DHrIy9J/3zjf6NRC+zUUcQTOJGWAkPF40TqaJGwI0Ag6/p6yxcBJ5 MDM= >> >> >> >> ;; Received 691 bytes from 192.112.36.4#53(g.root-servers.net) in 73 ms >> >> >> >> >> >> >> >> freebsd.org. 86400 IN NS ns2.isc-sns.com. >> >> >> >> freebsd.org. 86400 IN NS ns1.isc-sns.net. >> >> >> >> freebsd.org. 86400 IN NS ns3.isc-sns.info. >> >> >> >> freebsd.org. 86400 IN DS 32659 8 2 >> >> >> >> AF3B32E46DF2FC32C0110C7D6B808EE73E0411501AFAF9022D3DCD0A FA5B3ACD >> >> >> >> freebsd.org. 86400 IN RRSIG DS 7 2 86400 20150109163356 >> >> >> >> 20141219153356 11112 org. >> >> >> >> puF07NdtGtOY0uI3d789itchA2dEXz0URwCsckm7vjWoNIhdsMuG6jFc >> >> >> >> StzdAkvFDiDO/2C3x21spRrb7Y3ioDQpNJL2zJUn2S0L/8ueDbF9wJAT >> >> >> >> pEfAdMyUwlCQkVM45Ptf98z7iLTWWe2xQBhZZ1OGaPRW+VwKE0rCaz2d 1rg= >> >> >> >> ;; Received 345 bytes from 199.19.53.1#53(c0.org.afilias-nst.info) in 134 ms >> >> >> >> >> >> >> >> ;; connection timed out; no servers could be reached >> >> >> >> ******************************************************************************* >> >> >> >> >> >> >> >> >> >> >> >> tcpdump of the query above >> >> >> >> ******************************************************************************* >> >> >> >> listening on fxp0, link-type EN10MB (Ethernet), capture size 65535 bytes >> >> >> >> 05:59:36.016640 IP x.x.x.x.54272 > 38.103.2.1.53: 18640 [1au] A? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:36.127776 IP 38.103.2.1.53 > x.x.x.x.54272: 18640*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> >> 05:59:38.021067 IP x.x.x.x.52431 > 38.103.2.1.53: 13086 [1au] AAAA? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:38.051272 IP x.x.x.x.51125 > 63.243.194.1.53: 16824 [1au] A? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:38.081819 IP 63.243.194.1.53 > x.x.x.x.51125: 16824*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> >> 05:59:38.132821 IP 38.103.2.1.53 > x.x.x.x.52431: 13086*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> >> 05:59:40.056275 IP x.x.x.x.62003 > 63.243.194.1.53: 41954 [1au] AAAA? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:40.086597 IP 63.243.194.1.53 > x.x.x.x.62003: 41954*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> >> 05:59:40.267272 IP x.x.x.x.61416 > 72.52.71.1.53: 32843 [1au] A? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:40.297103 IP 72.52.71.1.53 > x.x.x.x.61416: 32843*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> >> 05:59:42.272273 IP x.x.x.x.54674 > 72.52.71.1.53: 2755 [1au] AAAA? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:42.302289 IP 72.52.71.1.53 > x.x.x.x.54674: 2755*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> >> 05:59:42.487277 IP x.x.x.x.54239 > 38.103.2.1.53: 38272 [1au] A? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:42.598927 IP 38.103.2.1.53 > x.x.x.x.54239: 38272*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> >> 05:59:44.492281 IP x.x.x.x.59505 > 38.103.2.1.53: 22873 [1au] AAAA? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:44.604217 IP 38.103.2.1.53 > x.x.x.x.59505: 22873*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> >> 05:59:44.722266 IP x.x.x.x.61141 > 63.243.194.1.53: 50828 [1au] A? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:44.753517 IP 63.243.194.1.53 > x.x.x.x.61141: 50828*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >> >> >> >> 05:59:46.727324 IP x.x.x.x.49803 > 63.243.194.1.53: 51222 [1au] AAAA? >> >> >> >> vuxml.freebsd.org. (46) >> >> >> >> 05:59:46.757577 IP 63.243.194.1.53 > x.x.x.x.49803: 51222*- 4/4/11 CNAME >> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >> >> >> >> 05:59:57.395692 IP x.x.x.x.60149 > 165.254.1.208.53: 31873 [1au] A? >> >> >> >> e6238.a.akamaiedge.net. (51) >> >> >> >> 05:59:57.404644 IP 165.254.1.208.53 > x.x.x.x.60149: 31873*- 1/0/0 A 96.7.67.53 >> >> >> >> (56) >> >> >> >> ******************************************************************************* >> >> >> >> >> >> >> >> BIND build options >> >> >> >> ******************************************************************************* >> >> >> >> # named -V >> >> >> >> BIND 9.9.6-P1 (Extended Support Version) built by make with >> >> >> >> '--localstatedir=/var' '--disable-linux-caps' '--disable-symtable' >> >> >> >> '--with-randomdev=/dev/random' '--with-libxml2=/usr/local' >> >> >> >> '--disable-filter-aaaa' '--disable-fixed-rrset' '--without-gost' >> >> >> >> '--without-idn' '--disable-ipv6' '--disable-largefile' '--disable-newstats' >> >> >> >> '--without-python' '--disable-rpz-nsdname' '--disable-rpz-nsip' '--disable-rrl' >> >> >> >> '--with-openssl=/usr/local' '--without-gssapi' '--enable-threads' >> >> >> >> '--sysconfdir=/etc/namedb' '--prefix=/usr' '--mandir=/usr/share/man' >> >> >> >> '--infodir=/usr/share/info/' '--build=amd64-portbld-freebsd9.3' >> >> >> >> 'build_alias=amd64-portbld-freebsd9.3' 'CC=cc' 'CFLAGS=-O2 -pipe -march=native >> >> >> >> -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -Wl,-rpath,/usr/local/lib >> >> >> >> -fstack-protector' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' >> >> >> >> compiled by GCC 4.2.1 20070831 patched [FreeBSD] >> >> >> >> using OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 >> >> >> >> using libxml2 version: 2.9.2 >> >> >> >> ******************************************************************************* >> >> >> >> >> >> >> >> Any idea what's going on here? >> >> >> >> >> >> >> >> Thanks, >> >> >> >> Casey >> >> >> >> >> >> >> >> _______________________________________________ >> >> >> >> freebsd-questions@freebsd.org mailing list >> >> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >> >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> >> >> > Casey, >> >> >> > >> >> >> > think you're getting a correct response. >> >> >> > dig @192.0.2.131 vuxml.freebsd.org >> >> >> > >> >> >> > ; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> @192.0.2.131 vuxml.freebsd.org >> >> >> > ; (1 server found) >> >> >> > ;; global options: +cmd >> >> >> > ;; Got answer: >> >> >> > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54956 >> >> >> > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 6 >> >> >> > >> >> >> > ;; OPT PSEUDOSECTION: >> >> >> > ; EDNS: version: 0, flags:; udp: 4096 >> >> >> > ;; QUESTION SECTION: >> >> >> > ;vuxml.freebsd.org. IN A >> >> >> > >> >> >> > ;; ANSWER SECTION: >> >> >> > vuxml.freebsd.org. 497 IN CNAME wfe0.ysv.freebsd.org. >> >> >> > wfe0.ysv.freebsd.org. 497 IN A 8.8.178.110 >> >> >> > >> >> >> > ;; AUTHORITY SECTION: >> >> >> > freebsd.org. 497 IN NS ns3.isc-sns.info. >> >> >> > freebsd.org. 497 IN NS ns2.isc-sns.com. >> >> >> > freebsd.org. 497 IN NS ns1.isc-sns.net. >> >> >> > >> >> >> > ;; ADDITIONAL SECTION: >> >> >> > ns1.isc-sns.net. 2488 IN A 72.52.71.1 >> >> >> > ns1.isc-sns.net. 166365 IN AAAA 2001:470:1a::1 >> >> >> > ns2.isc-sns.com. 2488 IN A 38.103.2.1 >> >> >> > ns3.isc-sns.info. 2488 IN A 63.243.194.1 >> >> >> > ns3.isc-sns.info. 79965 IN AAAA 2001:5a0:10::1 >> >> >> > >> >> >> > ;; Query time: 1 msec >> >> >> > ;; SERVER: 192.0.2.131#53(192.0.2.131) >> >> >> > ;; WHEN: Wed Dec 24 08:28:06 PST 2014 >> >> >> > ;; MSG SIZE rcvd: 277 >> >> >> > >> >> >> > Notice in the answer section of my simplified query via my local nameserver, >> >> >> > wfe0.ysv.freebsd.org is in the A record. I saw the same response in your >> >> >> > query, it was just harder to see. >> >> >> > >> >> >> > >> >> >> > _______________________________________________ >> >> >> > freebsd-questions@freebsd.org mailing list >> >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >> >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> _______________________________________________ >> >> >> freebsd-questions@freebsd.org mailing list >> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> > >> >> > -- >> >> _______________________________________________ >> >> freebsd-questions@freebsd.org mailing list >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> > >> > -- >> > > -- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 15:42:52 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37136881 for ; Thu, 25 Dec 2014 15:42:52 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E57462460 for ; Thu, 25 Dec 2014 15:42:51 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y4AYp-0008Eo-92 for freebsd-questions@freebsd.org; Thu, 25 Dec 2014 16:42:47 +0100 Received: from p4fddd489.dip0.t-ipconnect.de ([79.221.212.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Dec 2014 16:42:47 +0100 Received: from christian.baer by p4fddd489.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Dec 2014 16:42:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christian Baer Subject: Re: getting rid of a zpool Date: Thu, 25 Dec 2014 16:42:37 +0100 Lines: 13 Message-ID: References: <54841380.7070804@cox.net> 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: p4fddd489.dip0.t-ipconnect.de User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: <54841380.7070804@cox.net> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 15:42:52 -0000 Am 07.12.2014 um 09:44 schrieb Eric Popelka: > I'd do a 'zpool offline home2 /dev/gpt/home2' Just for the record (in case someone uses a search engine because he or she has a similar problem)... The solution was thinking a bit more in a Windows way. :-) After a reboot, I could destroy and set up the zpool without an issue. Guess I wasn't used to having to do that anymore. ;-) Regards, Chris From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 15:43:22 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82DEE909 for ; Thu, 25 Dec 2014 15:43:22 +0000 (UTC) Received: from scottmail.org (scottmail.org [209.206.250.76]) (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 40D6B2476 for ; Thu, 25 Dec 2014 15:43:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id 52D56242D05; Thu, 25 Dec 2014 07:43:21 -0800 (PST) Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Mp0GKAvm-wDJ; Thu, 25 Dec 2014 07:43:19 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id C16C8242D17; Thu, 25 Dec 2014 07:43:19 -0800 (PST) X-Virus-Scanned: amavisd-new at scottmail.org Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id N-kdhLkajTlh; Thu, 25 Dec 2014 07:43:19 -0800 (PST) Received: from scottmail.org (mail.scottmail.org [192.168.1.20]) by scottmail.org (Postfix) with ESMTP id 7AB54242D05; Thu, 25 Dec 2014 07:43:19 -0800 (PST) Date: Thu, 25 Dec 2014 07:43:19 -0800 (PST) From: Casey Scott Reply-To: Casey Scott To: g lister Message-ID: <223495012.51.1419522199210.JavaMail.zimbra@phantombsd.org> In-Reply-To: <328887443.42.1419519807044.JavaMail.zimbra@phantombsd.org> References: <642699791.129.1419432044320.JavaMail.zimbra@phantombsd.org> <18737980.212.1419443862787.JavaMail.zimbra@phantombsd.org> <2077504714.236.1419448060216.JavaMail.zimbra@phantombsd.org> <913059271.257.1419455366358.JavaMail.zimbra@phantombsd.org> <328887443.42.1419519807044.JavaMail.zimbra@phantombsd.org> Subject: Re: DNS resolution question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [192.168.1.6] X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - GC39 (Win)/8.6.0_GA_1153) Thread-Topic: DNS resolution question Thread-Index: OaIK/sPNQEvvyMql4+ogYiaFgKOFzr3GeDq2 Cc: bferrell@baywinds.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 15:43:22 -0000 Another piece of data: When the server in question is pointed to another server for DNS resolution= (/etc/resolv.conf), the bind-utils (host/nslookup) can successfully lookup= the same records. That machine is running Centos 6.6. Its named -V BIND 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 built with '--build=3Dx86_64-re= dhat-linux-gnu' '--host=3Dx86_64-redhat-linux-gnu' '--target=3Dx86_64-redha= t-linux-gnu' '--program-prefix=3D' '--prefix=3D/usr' '--exec-prefix=3D/usr'= '--bindir=3D/usr/bin' '--sbindir=3D/usr/sbin' '--sysconfdir=3D/etc' '--dat= adir=3D/usr/share' '--includedir=3D/usr/include' '--libdir=3D/usr/lib64' '-= -libexecdir=3D/usr/libexec' '--sharedstatedir=3D/var/lib' '--mandir=3D/usr/= share/man' '--infodir=3D/usr/share/info' '--with-libtool' '--localstatedir= =3D/var' '--enable-threads' '--enable-ipv6' '--enable-filter-aaaa' '--with-= pic' '--disable-static' '--disable-openssl-version-check' '--with-dlopen=3D= yes' '--with-dlz-ldap=3Dyes' '--with-dlz-postgres=3Dyes' '--with-dlz-mysql= =3Dyes' '--with-dlz-filesystem=3Dyes' '--with-gssapi=3Dyes' '--disable-isc-= spnego' '--with-docbook-xsl=3D/usr/share/sgml/docbook/xsl-stylesheets' '--e= nable-fixed-rrset' 'build_alias=3Dx86_64-redhat-linux-gnu' 'host_alias=3Dx8= 6_64-redhat-linux-gnu' 'target_alias=3Dx86_64-redhat-linux-gnu' 'CFLAGS=3D = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector= --param=3Dssp-buffer-size=3D4 -m64 -mtune=3Dgeneric' 'CPPFLAGS=3D -DDIG_SI= GCHASE' using OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013 using libxml2 version: 2.7.6 Noting that on the Linux server, IPv6 is enabled (though the server doesn't= use IPv6), I recompiled BIND with IPv6 enabled. Same result though. I can = not resolve vuxml.freebsd.org with it.=20 ----- On Dec 25, 2014, at 7:03 AM, Casey Scott casey@scottmail.org wrote: > named -V output includes '--disable-ipv6'. Isn't that explicitly disablin= g IPv6? >=20 > Thanks. >=20 > ----- On Dec 24, 2014, at 1:57 PM, g lister g.lister@nodeunit.ch wrote: >=20 >> On Wed Dec 24 22:09:26 2014 GMT+0100, Casey Scott wrote: >>> Ah.. well in that case, IPv6 is already disabled in named. >>=20 >> Is it disabled explicitly? I mean by a directive. I had also disabled it= ... By >> not enabling it but I had to disable it explicitly and then some queries= coming >> from my internal network and my smtp started working. Problem is you nee= d to >> have functioning IPv6 network setup to make use of it. >> Sorry for being short but writing on a phone is a pain. The syntax shoul= d be in >> a man page or the net. >>=20 >> HTH, >> George >>=20 >>>=20 >>>=20 >>> ----- On Dec 24, 2014, at 11:34 AM, g lister g.lister@nodeunit.ch wrote= : >>>=20 >>> > On Wed Dec 24 20:07:40 2014 GMT+0100, Casey Scott wrote: >>> >> I can't disable IPv4 because my environment uses it. Thanks though. >>> >=20 >>> > Sorry I meant IPv6, AAAA are v6 querries I think. >>> >=20 >>> >>=20 >>> >> Casey >>> >>=20 >>> >> ----- On Dec 24, 2014, at 10:10 AM, g lister g.lister@nodeunit.ch wr= ote: >>> >>=20 >>> >> > On Wed Dec 24 18:57:42 2014 GMT+0100, Casey Scott wrote: >>> >> >> That's what's odd. The tcpdump shows a seemingly valid response c= omeback, >>> >> >> however dig/host always fail with a timeout. It seems to me that = named isn't >>> >> >> passing along the response for some reason. >>> >> >>=20 >>> >> >> Thanks. >>> >> >=20 >>> >> >=20 >>> >> > Have you tried disabling IPv4 and checking whether it works? >>> >> > I had a similiar issue with bind and without IPv4 it was OK. >>> >> >=20 >>> >> > HTH, >>> >> > George >>> >> >=20 >>> >> >>=20 >>> >> >> ----- On Dec 24, 2014, at 8:31 AM, Bruce Ferrell bferrell@baywind= s.org wrote: >>> >> >>=20 >>> >> >> > On 12/24/2014 06:40 AM, Casey Scott wrote: >>> >> >> >> This issue surfaced when I noticed this entry in my servers da= ily security mail: >>> >> >> >> >>> >> >> >> Checking for packages with security vulnerabilities: >>> >> >> >> pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address= record >>> >> >> >> pkg: cannot fetch vulnxml file >>> >> >> >> >>> >> >> >> >>> >> >> >> I discovered that the server is not able to resolve vuxml.free= bsd.org, or even >>> >> >> >> www.freebsd.org. I'm sure the problem isn't specific to the fr= eebsd.org zone, >>> >> >> >> but that's where I focused my effort. I found that recursive q= ueries failed, >>> >> >> >> however if I directly queried a name server authoritative for = freebsd.org (i.e. >>> >> >> >> ns1.isc-sns.net.), the query successfully returned the CNAME. >>> >> >> >> >>> >> >> >> OS Details: >>> >> >> >> FreeBSD mustang 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r271930: Su= n Sep 21 19:01:57 >>> >> >> >> PDT 2014 root@mustang:/usr/src/sys/amd64/compile/Server am= d64 >>> >> >> >> >>> >> >> >> >>> >> >> >> DNS lookup attempt >>> >> >> >> **************************************************************= ***************** >>> >> >> >> $ dig vuxml.freebsd.org +trace >>> >> >> >> ; <<>> DiG 9.9.6-P1 <<>> vuxml.freebsd.org +trace >>> >> >> >> ;; global options: +cmd >>> >> >> >> . 517326 IN NS e.root-servers= .net. >>> >> >> >> . 517326 IN NS m.root-servers= .net. >>> >> >> >> . 517326 IN NS c.root-servers= .net. >>> >> >> >> . 517326 IN NS d.root-servers= .net. >>> >> >> >> . 517326 IN NS b.root-servers= .net. >>> >> >> >> . 517326 IN NS f.root-servers= .net. >>> >> >> >> . 517326 IN NS g.root-servers= .net. >>> >> >> >> . 517326 IN NS i.root-servers= .net. >>> >> >> >> . 517326 IN NS k.root-servers= .net. >>> >> >> >> . 517326 IN NS l.root-servers= .net. >>> >> >> >> . 517326 IN NS a.root-servers= .net. >>> >> >> >> . 517326 IN NS j.root-servers= .net. >>> >> >> >> . 517326 IN NS h.root-servers= .net. >>> >> >> >> . 517326 IN RRSIG NS 8 0 518400 = 20141231050000 >>> >> >> >> 20141224040000 22603 . OT3Uv0Krt43V999nh6ky8sK7Uob+Qb+M82BOS0u= PTFxq1NL6m2XX7ri3 >>> >> >> >> n/na4QyB/+iGTAlonAMVGyXEO1llrJt6iw7yucBriqy/xuGCwSY5Sllc >>> >> >> >> Y3G7RdzerNgmAhfD2wiCwJPnVuGaD3O5318r2TLrsXdoQwGk7FNWiE1X GBE= =3D >>> >> >> >> ;; Received 913 bytes from 192.168.1.1#53(192.168.1.1) in 0 ms >>> >> >> >> >>> >> >> >> org. 172800 IN NS b2.org.afilias= -nst.org. >>> >> >> >> org. 172800 IN NS a2.org.afilias= -nst.info. >>> >> >> >> org. 172800 IN NS d0.org.afilias= -nst.org. >>> >> >> >> org. 172800 IN NS b0.org.afilias= -nst.org. >>> >> >> >> org. 172800 IN NS a0.org.afilias= -nst.info. >>> >> >> >> org. 172800 IN NS c0.org.afilias= -nst.info. >>> >> >> >> org. 86400 IN DS 21366 7 2 >>> >> >> >> 96EEB2FFD9B00CD4694E78278B5EFDAB0A80446567B69F634DA078F0 D90F0= 1BA >>> >> >> >> org. 86400 IN DS 21366 7 1 >>> >> >> >> E6C1716CFB6BDC84E84CE1AB5510DAC69173B5B2 >>> >> >> >> org. 86400 IN RRSIG DS 8 1 86400 2= 0141231050000 >>> >> >> >> 20141224040000 22603 . IjE3Yi3yF8a12dOlLt13Grqs7c2tOXwgyyghAke= qy36N14VrAGxsQMxU >>> >> >> >> RlOE5rYwzeg1cLi55wRxGShNBz0/KU229xWrRNluzLUkbo+eW98E6Fcw >>> >> >> >> nT/DHrIy9J/3zjf6NRC+zUUcQTOJGWAkPF40TqaJGwI0Ag6/p6yxcBJ5 MDM= =3D >>> >> >> >> ;; Received 691 bytes from 192.112.36.4#53(g.root-servers.net)= in 73 ms >>> >> >> >> >>> >> >> >> freebsd.org. 86400 IN NS ns2.isc-sns.co= m. >>> >> >> >> freebsd.org. 86400 IN NS ns1.isc-sns.ne= t. >>> >> >> >> freebsd.org. 86400 IN NS ns3.isc-sns.in= fo. >>> >> >> >> freebsd.org. 86400 IN DS 32659 8 2 >>> >> >> >> AF3B32E46DF2FC32C0110C7D6B808EE73E0411501AFAF9022D3DCD0A FA5B3= ACD >>> >> >> >> freebsd.org. 86400 IN RRSIG DS 7 2 86400 2= 0150109163356 >>> >> >> >> 20141219153356 11112 org. >>> >> >> >> puF07NdtGtOY0uI3d789itchA2dEXz0URwCsckm7vjWoNIhdsMuG6jFc >>> >> >> >> StzdAkvFDiDO/2C3x21spRrb7Y3ioDQpNJL2zJUn2S0L/8ueDbF9wJAT >>> >> >> >> pEfAdMyUwlCQkVM45Ptf98z7iLTWWe2xQBhZZ1OGaPRW+VwKE0rCaz2d 1rg= =3D >>> >> >> >> ;; Received 345 bytes from 199.19.53.1#53(c0.org.afilias-nst.i= nfo) in 134 ms >>> >> >> >> >>> >> >> >> ;; connection timed out; no servers could be reached >>> >> >> >> **************************************************************= ***************** >>> >> >> >> >>> >> >> >> >>> >> >> >> tcpdump of the query above >>> >> >> >> **************************************************************= ***************** >>> >> >> >> listening on fxp0, link-type EN10MB (Ethernet), capture size 6= 5535 bytes >>> >> >> >> 05:59:36.016640 IP x.x.x.x.54272 > 38.103.2.1.53: 18640 [1au] = A? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:36.127776 IP 38.103.2.1.53 > x.x.x.x.54272: 18640*- 4/4/= 11 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>> >> >> >> 05:59:38.021067 IP x.x.x.x.52431 > 38.103.2.1.53: 13086 [1au] = AAAA? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:38.051272 IP x.x.x.x.51125 > 63.243.194.1.53: 16824 [1au= ] A? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:38.081819 IP 63.243.194.1.53 > x.x.x.x.51125: 16824*- 4/= 4/11 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>> >> >> >> 05:59:38.132821 IP 38.103.2.1.53 > x.x.x.x.52431: 13086*- 4/4/= 11 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>> >> >> >> 05:59:40.056275 IP x.x.x.x.62003 > 63.243.194.1.53: 41954 [1au= ] AAAA? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:40.086597 IP 63.243.194.1.53 > x.x.x.x.62003: 41954*- 4/= 4/11 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>> >> >> >> 05:59:40.267272 IP x.x.x.x.61416 > 72.52.71.1.53: 32843 [1au] = A? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:40.297103 IP 72.52.71.1.53 > x.x.x.x.61416: 32843*- 4/4/= 11 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>> >> >> >> 05:59:42.272273 IP x.x.x.x.54674 > 72.52.71.1.53: 2755 [1au] A= AAA? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:42.302289 IP 72.52.71.1.53 > x.x.x.x.54674: 2755*- 4/4/1= 1 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>> >> >> >> 05:59:42.487277 IP x.x.x.x.54239 > 38.103.2.1.53: 38272 [1au] = A? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:42.598927 IP 38.103.2.1.53 > x.x.x.x.54239: 38272*- 4/4/= 11 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>> >> >> >> 05:59:44.492281 IP x.x.x.x.59505 > 38.103.2.1.53: 22873 [1au] = AAAA? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:44.604217 IP 38.103.2.1.53 > x.x.x.x.59505: 22873*- 4/4/= 11 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>> >> >> >> 05:59:44.722266 IP x.x.x.x.61141 > 63.243.194.1.53: 50828 [1au= ] A? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:44.753517 IP 63.243.194.1.53 > x.x.x.x.61141: 50828*- 4/= 4/11 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>> >> >> >> 05:59:46.727324 IP x.x.x.x.49803 > 63.243.194.1.53: 51222 [1au= ] AAAA? >>> >> >> >> vuxml.freebsd.org. (46) >>> >> >> >> 05:59:46.757577 IP 63.243.194.1.53 > x.x.x.x.49803: 51222*- 4/= 4/11 CNAME >>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>> >> >> >> 05:59:57.395692 IP x.x.x.x.60149 > 165.254.1.208.53: 31873 [1a= u] A? >>> >> >> >> e6238.a.akamaiedge.net. (51) >>> >> >> >> 05:59:57.404644 IP 165.254.1.208.53 > x.x.x.x.60149: 31873*- 1= /0/0 A 96.7.67.53 >>> >> >> >> (56) >>> >> >> >> **************************************************************= ***************** >>> >> >> >> >>> >> >> >> BIND build options >>> >> >> >> **************************************************************= ***************** >>> >> >> >> # named -V >>> >> >> >> BIND 9.9.6-P1 (Extended Support Version) built b= y make with >>> >> >> >> '--localstatedir=3D/var' '--disable-linux-caps' '--disable-sym= table' >>> >> >> >> '--with-randomdev=3D/dev/random' '--with-libxml2=3D/usr/local' >>> >> >> >> '--disable-filter-aaaa' '--disable-fixed-rrset' '--without-gos= t' >>> >> >> >> '--without-idn' '--disable-ipv6' '--disable-largefile' '--disa= ble-newstats' >>> >> >> >> '--without-python' '--disable-rpz-nsdname' '--disable-rpz-nsip= ' '--disable-rrl' >>> >> >> >> '--with-openssl=3D/usr/local' '--without-gssapi' '--enable-thr= eads' >>> >> >> >> '--sysconfdir=3D/etc/namedb' '--prefix=3D/usr' '--mandir=3D/us= r/share/man' >>> >> >> >> '--infodir=3D/usr/share/info/' '--build=3Damd64-portbld-freebs= d9.3' >>> >> >> >> 'build_alias=3Damd64-portbld-freebsd9.3' 'CC=3Dcc' 'CFLAGS=3D-= O2 -pipe -march=3Dnative >>> >> >> >> -fstack-protector -fno-strict-aliasing' 'LDFLAGS=3D -Wl,-rpath= ,/usr/local/lib >>> >> >> >> -fstack-protector' 'LIBS=3D' 'CPPFLAGS=3D' 'CPP=3Dcpp' >>> >> >> >> compiled by GCC 4.2.1 20070831 patched [FreeBSD] >>> >> >> >> using OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 >>> >> >> >> using libxml2 version: 2.9.2 >>> >> >> >> **************************************************************= ***************** >>> >> >> >> >>> >> >> >> Any idea what's going on here? >>> >> >> >> >>> >> >> >> Thanks, >>> >> >> >> Casey >>> >> >> >> >>> >> >> >> _______________________________________________ >>> >> >> >> freebsd-questions@freebsd.org mailing list >>> >> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> >> >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscrib= e@freebsd.org" >>> >> >> >> >>> >> >> > Casey, >>> >> >> >=20 >>> >> >> > think you're getting a correct response. >>> >> >> > dig @192.0.2.131 vuxml.freebsd.org >>> >> >> >=20 >>> >> >> > ; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> @192.0.2.131 vuxml.fr= eebsd.org >>> >> >> > ; (1 server found) >>> >> >> > ;; global options: +cmd >>> >> >> > ;; Got answer: >>> >> >> > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54956 >>> >> >> > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITION= AL: 6 >>> >> >> >=20 >>> >> >> > ;; OPT PSEUDOSECTION: >>> >> >> > ; EDNS: version: 0, flags:; udp: 4096 >>> >> >> > ;; QUESTION SECTION: >>> >> >> > ;vuxml.freebsd.org. IN A >>> >> >> >=20 >>> >> >> > ;; ANSWER SECTION: >>> >> >> > vuxml.freebsd.org. 497 IN CNAME wfe0.ysv.freebsd.or= g. >>> >> >> > wfe0.ysv.freebsd.org. 497 IN A 8.8.178.110 >>> >> >> >=20 >>> >> >> > ;; AUTHORITY SECTION: >>> >> >> > freebsd.org. 497 IN NS ns3.isc-sns.info. >>> >> >> > freebsd.org. 497 IN NS ns2.isc-sns.com. >>> >> >> > freebsd.org. 497 IN NS ns1.isc-sns.net. >>> >> >> >=20 >>> >> >> > ;; ADDITIONAL SECTION: >>> >> >> > ns1.isc-sns.net. 2488 IN A 72.52.71.1 >>> >> >> > ns1.isc-sns.net. 166365 IN AAAA 2001:470:1a::1 >>> >> >> > ns2.isc-sns.com. 2488 IN A 38.103.2.1 >>> >> >> > ns3.isc-sns.info. 2488 IN A 63.243.194.1 >>> >> >> > ns3.isc-sns.info. 79965 IN AAAA 2001:5a0:10::1 >>> >> >> >=20 >>> >> >> > ;; Query time: 1 msec >>> >> >> > ;; SERVER: 192.0.2.131#53(192.0.2.131) >>> >> >> > ;; WHEN: Wed Dec 24 08:28:06 PST 2014 >>> >> >> > ;; MSG SIZE rcvd: 277 >>> >> >> >=20 >>> >> >> > Notice in the answer section of my simplified query via my loca= l nameserver, >>> >> >> > wfe0.ysv.freebsd.org is in the A record. I saw the same respon= se in your >>> >> >> > query, it was just harder to see. >>> >> >> >=20 >>> >> >> >=20 >>> >> >> > _______________________________________________ >>> >> >> > freebsd-questions@freebsd.org mailing list >>> >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> >> >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe= @freebsd.org" >>> >> >> _______________________________________________ >>> >> >> freebsd-questions@freebsd.org mailing list >>> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@f= reebsd.org" >>> >> >> >>> >> >=20 >>> >> > -- >>> >> _______________________________________________ >>> >> freebsd-questions@freebsd.org mailing list >>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@free= bsd.org" >>> >> >>> >=20 >>> > -- >>> >>=20 >> -- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 16:18:33 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88BBAD24 for ; Thu, 25 Dec 2014 16:18:33 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4196D3651 for ; Thu, 25 Dec 2014 16:18:32 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y4B7O-0007o5-7V for freebsd-questions@freebsd.org; Thu, 25 Dec 2014 17:18:30 +0100 Received: from p4fddd489.dip0.t-ipconnect.de ([79.221.212.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Dec 2014 17:18:30 +0100 Received: from christian.baer by p4fddd489.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Dec 2014 17:18:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christian Baer Subject: Re: FreeBSD 10.1-STABLE: UEFI booting from USB flash drive + FBSD system on HDD Date: Thu, 25 Dec 2014 17:18:16 +0100 Lines: 34 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fddd489.dip0.t-ipconnect.de User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 16:18:33 -0000 Am 25.12.2014 um 15:32 schrieb Julien Meister: > Any idea on how to make this work with UEFI? From what I understood, EFI > tries to boot on the first ufs partition found. It should be therefore > [FILE]da0p2[/FILE] ... but it isn't. Not really a way to make it work like you want, but have you (or rather why haven't you) considerd putting /boot on the HDD aswell? This way you can have everything else encrypted. If you init the geli provider with the -b flag and make sure geli is loaded at boot time with geom_eli_load="YES" in the loader.conf, everything should work fine. /boot does now contain any sensitive information. The reason I am suggesting this is because I have been nearly driven crazy by UEFI on several machines because the device names seem to change with nearly every boot. Admittedly, this is a problem I ran into with SuSE Linux at work, but the problem seems the same: The devices are "handed" to the kernel in a non-predictable order. Under SuSE this went so far that a computer with 2 HDDs would sometimes not boot, just because the kernel was fed the 2nd HDD as first. That is the short version of a reason I read in an article about SuSE and UEFI. SuSE by default uses hardware UIDs. That however is absolutely useless if you are (like me at the time) installing the first of several identical workstations in order to create an image off the drive for the other machines. I still haven't quite gotten on the good side of UEFI yet (see my other post) and I really hope there actually *is* a good side! Best regards, Chris From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 16:30:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57B10F89 for ; Thu, 25 Dec 2014 16:30:13 +0000 (UTC) Received: from scottmail.org (scottmail.org [209.206.250.76]) (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 1134037D8 for ; Thu, 25 Dec 2014 16:30:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id B6A60242D05; Thu, 25 Dec 2014 08:30:11 -0800 (PST) Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ya6bwXKGyDmm; Thu, 25 Dec 2014 08:30:09 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by scottmail.org (Postfix) with ESMTP id 13D78242D17; Thu, 25 Dec 2014 08:30:09 -0800 (PST) X-Virus-Scanned: amavisd-new at scottmail.org Received: from scottmail.org ([127.0.0.1]) by localhost (scottmail.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8XGSOEPcMk9j; Thu, 25 Dec 2014 08:30:08 -0800 (PST) Received: from scottmail.org (mail.scottmail.org [192.168.1.20]) by scottmail.org (Postfix) with ESMTP id D72AC242D05; Thu, 25 Dec 2014 08:30:08 -0800 (PST) Date: Thu, 25 Dec 2014 08:30:08 -0800 (PST) From: Casey Scott Reply-To: Casey Scott To: g lister Message-ID: <1354258214.74.1419525008685.JavaMail.zimbra@phantombsd.org> In-Reply-To: <223495012.51.1419522199210.JavaMail.zimbra@phantombsd.org> References: <642699791.129.1419432044320.JavaMail.zimbra@phantombsd.org> <2077504714.236.1419448060216.JavaMail.zimbra@phantombsd.org> <913059271.257.1419455366358.JavaMail.zimbra@phantombsd.org> <328887443.42.1419519807044.JavaMail.zimbra@phantombsd.org> <223495012.51.1419522199210.JavaMail.zimbra@phantombsd.org> Subject: Re: DNS resolution question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.1.6] X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - GC39 (Win)/8.6.0_GA_1153) Thread-Topic: DNS resolution question Thread-Index: OaIK/sPNQEvvyMql4+ogYiaFgKOFzr3GeDq26ZocwNM= Cc: bferrell@baywinds.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 16:30:13 -0000 This turned out to be a firewall problem. The rule permitting DNS traffic wasn't stateful. Adding a --keep-state solved the problem (allow udp from any to any dst-port 53 keep-state). Thanks for the help! Casey ----- On Dec 25, 2014, at 7:43 AM, Casey Scott casey@scottmail.org wrote: > Another piece of data: > > When the server in question is pointed to another server for DNS resolution > (/etc/resolv.conf), the bind-utils (host/nslookup) can successfully lookup the > same records. That machine is running Centos 6.6. Its named -V > > BIND 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 built with > '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' > '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' > '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' > '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' > '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' > '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libtool' > '--localstatedir=/var' '--enable-threads' '--enable-ipv6' > '--enable-filter-aaaa' '--with-pic' '--disable-static' > '--disable-openssl-version-check' '--with-dlopen=yes' '--with-dlz-ldap=yes' > '--with-dlz-postgres=yes' '--with-dlz-mysql=yes' '--with-dlz-filesystem=yes' > '--with-gssapi=yes' '--disable-isc-spnego' > '--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets' > '--enable-fixed-rrset' 'build_alias=x86_64-redhat-linux-gnu' > 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' > 'CFLAGS= -O2 -g > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CPPFLAGS= -DDIG_SIGCHASE' > using OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013 > using libxml2 version: 2.7.6 > > Noting that on the Linux server, IPv6 is enabled (though the server doesn't use > IPv6), I recompiled BIND with IPv6 enabled. Same result though. I can not > resolve vuxml.freebsd.org with it. > > > > ----- On Dec 25, 2014, at 7:03 AM, Casey Scott casey@scottmail.org wrote: > >> named -V output includes '--disable-ipv6'. Isn't that explicitly disabling IPv6? >> >> Thanks. >> >> ----- On Dec 24, 2014, at 1:57 PM, g lister g.lister@nodeunit.ch wrote: >> >>> On Wed Dec 24 22:09:26 2014 GMT+0100, Casey Scott wrote: >>>> Ah.. well in that case, IPv6 is already disabled in named. >>> >>> Is it disabled explicitly? I mean by a directive. I had also disabled it ... By >>> not enabling it but I had to disable it explicitly and then some queries coming >>> from my internal network and my smtp started working. Problem is you need to >>> have functioning IPv6 network setup to make use of it. >>> Sorry for being short but writing on a phone is a pain. The syntax should be in >>> a man page or the net. >>> >>> HTH, >>> George >>> >>>> >>>> >>>> ----- On Dec 24, 2014, at 11:34 AM, g lister g.lister@nodeunit.ch wrote: >>>> >>>> > On Wed Dec 24 20:07:40 2014 GMT+0100, Casey Scott wrote: >>>> >> I can't disable IPv4 because my environment uses it. Thanks though. >>>> > >>>> > Sorry I meant IPv6, AAAA are v6 querries I think. >>>> > >>>> >> >>>> >> Casey >>>> >> >>>> >> ----- On Dec 24, 2014, at 10:10 AM, g lister g.lister@nodeunit.ch wrote: >>>> >> >>>> >> > On Wed Dec 24 18:57:42 2014 GMT+0100, Casey Scott wrote: >>>> >> >> That's what's odd. The tcpdump shows a seemingly valid response comeback, >>>> >> >> however dig/host always fail with a timeout. It seems to me that named isn't >>>> >> >> passing along the response for some reason. >>>> >> >> >>>> >> >> Thanks. >>>> >> > >>>> >> > >>>> >> > Have you tried disabling IPv4 and checking whether it works? >>>> >> > I had a similiar issue with bind and without IPv4 it was OK. >>>> >> > >>>> >> > HTH, >>>> >> > George >>>> >> > >>>> >> >> >>>> >> >> ----- On Dec 24, 2014, at 8:31 AM, Bruce Ferrell bferrell@baywinds.org wrote: >>>> >> >> >>>> >> >> > On 12/24/2014 06:40 AM, Casey Scott wrote: >>>> >> >> >> This issue surfaced when I noticed this entry in my servers daily security mail: >>>> >> >> >> >>>> >> >> >> Checking for packages with security vulnerabilities: >>>> >> >> >> pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record >>>> >> >> >> pkg: cannot fetch vulnxml file >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> I discovered that the server is not able to resolve vuxml.freebsd.org, or even >>>> >> >> >> www.freebsd.org. I'm sure the problem isn't specific to the freebsd.org zone, >>>> >> >> >> but that's where I focused my effort. I found that recursive queries failed, >>>> >> >> >> however if I directly queried a name server authoritative for freebsd.org (i.e. >>>> >> >> >> ns1.isc-sns.net.), the query successfully returned the CNAME. >>>> >> >> >> >>>> >> >> >> OS Details: >>>> >> >> >> FreeBSD mustang 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r271930: Sun Sep 21 19:01:57 >>>> >> >> >> PDT 2014 root@mustang:/usr/src/sys/amd64/compile/Server amd64 >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> DNS lookup attempt >>>> >> >> >> ******************************************************************************* >>>> >> >> >> $ dig vuxml.freebsd.org +trace >>>> >> >> >> ; <<>> DiG 9.9.6-P1 <<>> vuxml.freebsd.org +trace >>>> >> >> >> ;; global options: +cmd >>>> >> >> >> . 517326 IN NS e.root-servers.net. >>>> >> >> >> . 517326 IN NS m.root-servers.net. >>>> >> >> >> . 517326 IN NS c.root-servers.net. >>>> >> >> >> . 517326 IN NS d.root-servers.net. >>>> >> >> >> . 517326 IN NS b.root-servers.net. >>>> >> >> >> . 517326 IN NS f.root-servers.net. >>>> >> >> >> . 517326 IN NS g.root-servers.net. >>>> >> >> >> . 517326 IN NS i.root-servers.net. >>>> >> >> >> . 517326 IN NS k.root-servers.net. >>>> >> >> >> . 517326 IN NS l.root-servers.net. >>>> >> >> >> . 517326 IN NS a.root-servers.net. >>>> >> >> >> . 517326 IN NS j.root-servers.net. >>>> >> >> >> . 517326 IN NS h.root-servers.net. >>>> >> >> >> . 517326 IN RRSIG NS 8 0 518400 20141231050000 >>>> >> >> >> 20141224040000 22603 . OT3Uv0Krt43V999nh6ky8sK7Uob+Qb+M82BOS0uPTFxq1NL6m2XX7ri3 >>>> >> >> >> n/na4QyB/+iGTAlonAMVGyXEO1llrJt6iw7yucBriqy/xuGCwSY5Sllc >>>> >> >> >> Y3G7RdzerNgmAhfD2wiCwJPnVuGaD3O5318r2TLrsXdoQwGk7FNWiE1X GBE= >>>> >> >> >> ;; Received 913 bytes from 192.168.1.1#53(192.168.1.1) in 0 ms >>>> >> >> >> >>>> >> >> >> org. 172800 IN NS b2.org.afilias-nst.org. >>>> >> >> >> org. 172800 IN NS a2.org.afilias-nst.info. >>>> >> >> >> org. 172800 IN NS d0.org.afilias-nst.org. >>>> >> >> >> org. 172800 IN NS b0.org.afilias-nst.org. >>>> >> >> >> org. 172800 IN NS a0.org.afilias-nst.info. >>>> >> >> >> org. 172800 IN NS c0.org.afilias-nst.info. >>>> >> >> >> org. 86400 IN DS 21366 7 2 >>>> >> >> >> 96EEB2FFD9B00CD4694E78278B5EFDAB0A80446567B69F634DA078F0 D90F01BA >>>> >> >> >> org. 86400 IN DS 21366 7 1 >>>> >> >> >> E6C1716CFB6BDC84E84CE1AB5510DAC69173B5B2 >>>> >> >> >> org. 86400 IN RRSIG DS 8 1 86400 20141231050000 >>>> >> >> >> 20141224040000 22603 . IjE3Yi3yF8a12dOlLt13Grqs7c2tOXwgyyghAkeqy36N14VrAGxsQMxU >>>> >> >> >> RlOE5rYwzeg1cLi55wRxGShNBz0/KU229xWrRNluzLUkbo+eW98E6Fcw >>>> >> >> >> nT/DHrIy9J/3zjf6NRC+zUUcQTOJGWAkPF40TqaJGwI0Ag6/p6yxcBJ5 MDM= >>>> >> >> >> ;; Received 691 bytes from 192.112.36.4#53(g.root-servers.net) in 73 ms >>>> >> >> >> >>>> >> >> >> freebsd.org. 86400 IN NS ns2.isc-sns.com. >>>> >> >> >> freebsd.org. 86400 IN NS ns1.isc-sns.net. >>>> >> >> >> freebsd.org. 86400 IN NS ns3.isc-sns.info. >>>> >> >> >> freebsd.org. 86400 IN DS 32659 8 2 >>>> >> >> >> AF3B32E46DF2FC32C0110C7D6B808EE73E0411501AFAF9022D3DCD0A FA5B3ACD >>>> >> >> >> freebsd.org. 86400 IN RRSIG DS 7 2 86400 20150109163356 >>>> >> >> >> 20141219153356 11112 org. >>>> >> >> >> puF07NdtGtOY0uI3d789itchA2dEXz0URwCsckm7vjWoNIhdsMuG6jFc >>>> >> >> >> StzdAkvFDiDO/2C3x21spRrb7Y3ioDQpNJL2zJUn2S0L/8ueDbF9wJAT >>>> >> >> >> pEfAdMyUwlCQkVM45Ptf98z7iLTWWe2xQBhZZ1OGaPRW+VwKE0rCaz2d 1rg= >>>> >> >> >> ;; Received 345 bytes from 199.19.53.1#53(c0.org.afilias-nst.info) in 134 ms >>>> >> >> >> >>>> >> >> >> ;; connection timed out; no servers could be reached >>>> >> >> >> ******************************************************************************* >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> tcpdump of the query above >>>> >> >> >> ******************************************************************************* >>>> >> >> >> listening on fxp0, link-type EN10MB (Ethernet), capture size 65535 bytes >>>> >> >> >> 05:59:36.016640 IP x.x.x.x.54272 > 38.103.2.1.53: 18640 [1au] A? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:36.127776 IP 38.103.2.1.53 > x.x.x.x.54272: 18640*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>>> >> >> >> 05:59:38.021067 IP x.x.x.x.52431 > 38.103.2.1.53: 13086 [1au] AAAA? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:38.051272 IP x.x.x.x.51125 > 63.243.194.1.53: 16824 [1au] A? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:38.081819 IP 63.243.194.1.53 > x.x.x.x.51125: 16824*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>>> >> >> >> 05:59:38.132821 IP 38.103.2.1.53 > x.x.x.x.52431: 13086*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>>> >> >> >> 05:59:40.056275 IP x.x.x.x.62003 > 63.243.194.1.53: 41954 [1au] AAAA? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:40.086597 IP 63.243.194.1.53 > x.x.x.x.62003: 41954*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>>> >> >> >> 05:59:40.267272 IP x.x.x.x.61416 > 72.52.71.1.53: 32843 [1au] A? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:40.297103 IP 72.52.71.1.53 > x.x.x.x.61416: 32843*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>>> >> >> >> 05:59:42.272273 IP x.x.x.x.54674 > 72.52.71.1.53: 2755 [1au] AAAA? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:42.302289 IP 72.52.71.1.53 > x.x.x.x.54674: 2755*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>>> >> >> >> 05:59:42.487277 IP x.x.x.x.54239 > 38.103.2.1.53: 38272 [1au] A? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:42.598927 IP 38.103.2.1.53 > x.x.x.x.54239: 38272*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>>> >> >> >> 05:59:44.492281 IP x.x.x.x.59505 > 38.103.2.1.53: 22873 [1au] AAAA? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:44.604217 IP 38.103.2.1.53 > x.x.x.x.59505: 22873*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>>> >> >> >> 05:59:44.722266 IP x.x.x.x.61141 > 63.243.194.1.53: 50828 [1au] A? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:44.753517 IP 63.243.194.1.53 > x.x.x.x.61141: 50828*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, A 8.8.178.110, RRSIG (1464) >>>> >> >> >> 05:59:46.727324 IP x.x.x.x.49803 > 63.243.194.1.53: 51222 [1au] AAAA? >>>> >> >> >> vuxml.freebsd.org. (46) >>>> >> >> >> 05:59:46.757577 IP 63.243.194.1.53 > x.x.x.x.49803: 51222*- 4/4/11 CNAME >>>> >> >> >> wfe0.ysv.freebsd.org., RRSIG, AAAA, RRSIG (1464) >>>> >> >> >> 05:59:57.395692 IP x.x.x.x.60149 > 165.254.1.208.53: 31873 [1au] A? >>>> >> >> >> e6238.a.akamaiedge.net. (51) >>>> >> >> >> 05:59:57.404644 IP 165.254.1.208.53 > x.x.x.x.60149: 31873*- 1/0/0 A 96.7.67.53 >>>> >> >> >> (56) >>>> >> >> >> ******************************************************************************* >>>> >> >> >> >>>> >> >> >> BIND build options >>>> >> >> >> ******************************************************************************* >>>> >> >> >> # named -V >>>> >> >> >> BIND 9.9.6-P1 (Extended Support Version) built by make with >>>> >> >> >> '--localstatedir=/var' '--disable-linux-caps' '--disable-symtable' >>>> >> >> >> '--with-randomdev=/dev/random' '--with-libxml2=/usr/local' >>>> >> >> >> '--disable-filter-aaaa' '--disable-fixed-rrset' '--without-gost' >>>> >> >> >> '--without-idn' '--disable-ipv6' '--disable-largefile' '--disable-newstats' >>>> >> >> >> '--without-python' '--disable-rpz-nsdname' '--disable-rpz-nsip' '--disable-rrl' >>>> >> >> >> '--with-openssl=/usr/local' '--without-gssapi' '--enable-threads' >>>> >> >> >> '--sysconfdir=/etc/namedb' '--prefix=/usr' '--mandir=/usr/share/man' >>>> >> >> >> '--infodir=/usr/share/info/' '--build=amd64-portbld-freebsd9.3' >>>> >> >> >> 'build_alias=amd64-portbld-freebsd9.3' 'CC=cc' 'CFLAGS=-O2 -pipe -march=native >>>> >> >> >> -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -Wl,-rpath,/usr/local/lib >>>> >> >> >> -fstack-protector' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' >>>> >> >> >> compiled by GCC 4.2.1 20070831 patched [FreeBSD] >>>> >> >> >> using OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 >>>> >> >> >> using libxml2 version: 2.9.2 >>>> >> >> >> ******************************************************************************* >>>> >> >> >> >>>> >> >> >> Any idea what's going on here? >>>> >> >> >> >>>> >> >> >> Thanks, >>>> >> >> >> Casey >>>> >> >> >> >>>> >> >> >> _______________________________________________ >>>> >> >> >> freebsd-questions@freebsd.org mailing list >>>> >> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> >> >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>>> >> >> >> >>>> >> >> > Casey, >>>> >> >> > >>>> >> >> > think you're getting a correct response. >>>> >> >> > dig @192.0.2.131 vuxml.freebsd.org >>>> >> >> > >>>> >> >> > ; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> @192.0.2.131 vuxml.freebsd.org >>>> >> >> > ; (1 server found) >>>> >> >> > ;; global options: +cmd >>>> >> >> > ;; Got answer: >>>> >> >> > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54956 >>>> >> >> > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 6 >>>> >> >> > >>>> >> >> > ;; OPT PSEUDOSECTION: >>>> >> >> > ; EDNS: version: 0, flags:; udp: 4096 >>>> >> >> > ;; QUESTION SECTION: >>>> >> >> > ;vuxml.freebsd.org. IN A >>>> >> >> > >>>> >> >> > ;; ANSWER SECTION: >>>> >> >> > vuxml.freebsd.org. 497 IN CNAME wfe0.ysv.freebsd.org. >>>> >> >> > wfe0.ysv.freebsd.org. 497 IN A 8.8.178.110 >>>> >> >> > >>>> >> >> > ;; AUTHORITY SECTION: >>>> >> >> > freebsd.org. 497 IN NS ns3.isc-sns.info. >>>> >> >> > freebsd.org. 497 IN NS ns2.isc-sns.com. >>>> >> >> > freebsd.org. 497 IN NS ns1.isc-sns.net. >>>> >> >> > >>>> >> >> > ;; ADDITIONAL SECTION: >>>> >> >> > ns1.isc-sns.net. 2488 IN A 72.52.71.1 >>>> >> >> > ns1.isc-sns.net. 166365 IN AAAA 2001:470:1a::1 >>>> >> >> > ns2.isc-sns.com. 2488 IN A 38.103.2.1 >>>> >> >> > ns3.isc-sns.info. 2488 IN A 63.243.194.1 >>>> >> >> > ns3.isc-sns.info. 79965 IN AAAA 2001:5a0:10::1 >>>> >> >> > >>>> >> >> > ;; Query time: 1 msec >>>> >> >> > ;; SERVER: 192.0.2.131#53(192.0.2.131) >>>> >> >> > ;; WHEN: Wed Dec 24 08:28:06 PST 2014 >>>> >> >> > ;; MSG SIZE rcvd: 277 >>>> >> >> > >>>> >> >> > Notice in the answer section of my simplified query via my local nameserver, >>>> >> >> > wfe0.ysv.freebsd.org is in the A record. I saw the same response in your >>>> >> >> > query, it was just harder to see. >>>> >> >> > >>>> >> >> > >>>> >> >> > _______________________________________________ >>>> >> >> > freebsd-questions@freebsd.org mailing list >>>> >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> >> >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>>> >> >> _______________________________________________ >>>> >> >> freebsd-questions@freebsd.org mailing list >>>> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> >> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>>> >> >> >>>> >> > >>>> >> > -- >>>> >> _______________________________________________ >>>> >> freebsd-questions@freebsd.org mailing list >>>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>>> >> >>>> > >>>> > -- >>>> >>> >>> -- >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 16:54:26 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67547803 for ; Thu, 25 Dec 2014 16:54:26 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23C3A63F for ; Thu, 25 Dec 2014 16:54:25 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y4Bg6-0007pP-9L for freebsd-questions@freebsd.org; Thu, 25 Dec 2014 17:54:22 +0100 Received: from p4fddd489.dip0.t-ipconnect.de ([79.221.212.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Dec 2014 17:54:22 +0100 Received: from christian.baer by p4fddd489.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Dec 2014 17:54:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christian Baer Subject: FreeBSD with Win7 and UEFI Date: Thu, 25 Dec 2014 17:54:10 +0100 Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fddd489.dip0.t-ipconnect.de User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 16:54:26 -0000 Hi everyone! For the first time, I am trying to get FreeBSD to run on a machine with UEFI. Thought I might go modern. :-) This time I installed Windows 7 first. However, I did not find any step during installation where I could install a boot manager to choose if I wanted to run Windows or FreeBSD. Currently, the only way I can choose the OS now is to use the Mobos EFI boot manager, which of course is not the way I want to go. It seems that I am walking on pretty much untouched soil here. There is no mention of a boot manager in the Handbook and even a searchengine doesn't find anything useful if UEFI is part of the search criteria. Is what I am trying to do really that exotic? What do I have to look out for? Best regards, Chris From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 07:29:54 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E99E259D for ; Fri, 26 Dec 2014 07:29:54 +0000 (UTC) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73F12660DE for ; Fri, 26 Dec 2014 07:29:54 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id l18so13832131wgh.26 for ; Thu, 25 Dec 2014 23:29:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=9dglTf3SPsupkeRz7YqDhBMjwFki0sMrG+6b9j0ylWQ=; b=uvJRww1dWR09JkQHOrB8Lp0VMOOnqPqi5hDpFRyqD+TKxSJ3l7059nP/qIk/zB8fSf 10K2fT5OvFyhrwYmh8WEOftJWU+v0hOuVsiMJOVvhlhXdQl9v6R6SS/iH+/vMFyT2Pak VQaawuLhd4uClA1Y5f60sAmcasEimc4oLBKWxiuMiqrr71yt4IlsYLDrZTYEVYKbVkGH V8OU6XpWwJ6SkjV0fJpHSIoUpvrYre0Vx5yxDcLeBx4Yb5B4p2R6xLXuW/7tgi0x1tD8 vtWaaqbMUiItr9DH9J8oDiyHZeOM+cJ/zU5Yp8hnMIcnPun4byMZ+HijMAWGNDmW5XrJ TIDA== X-Received: by 10.180.24.167 with SMTP id v7mr68332554wif.5.1419578991749; Thu, 25 Dec 2014 23:29:51 -0800 (PST) Received: from kontrol.kode5.net (host86-153-214-89.range86-153.btcentralplus.com. [86.153.214.89]) by mx.google.com with ESMTPSA id r3sm27280785wic.10.2014.12.25.23.29.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Dec 2014 23:29:51 -0800 (PST) Received: by kontrol.kode5.net (Postfix, from userid 1001) id 17F8F4334; Fri, 26 Dec 2014 07:29:50 +0000 (GMT) Date: Fri, 26 Dec 2014 07:29:50 +0000 From: James Griffin To: freebsd-questions@freebsd.org Subject: Re: FreeBSD with Win7 and UEFI Message-ID: <20141226072950.GB13694@kontrol.kode5.net> Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: x-operating-system: FreeBSD 10.1-STABLE amd64 x-pgp-fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38 x-pgp-key: 1D31DC38 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 07:29:55 -0000 Christian Baer wrote on Thu 25.Dec'14 at 17:54:10 +0100 > Hi everyone! > > For the first time, I am trying to get FreeBSD to run on a machine with > UEFI. Thought I might go modern. :-) > > This time I installed Windows 7 first. However, I did not find any step > during installation where I could install a boot manager to choose if I > wanted to run Windows or FreeBSD. Currently, the only way I can choose > the OS now is to use the Mobos EFI boot manager, which of course is not > the way I want to go. > > It seems that I am walking on pretty much untouched soil here. There is > no mention of a boot manager in the Handbook and even a searchengine > doesn't find anything useful if UEFI is part of the search criteria. > > Is what I am trying to do really that exotic? What do I have to look out > for? > > Best regards, > Chris As long as you have a part of the disk for FreeBSD, when you install FreeBSD it will provide its own bootmanager. This is what works best. I wouldn't bother trying to get Windows to do this. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 10:22:21 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D38C6328 for ; Fri, 26 Dec 2014 10:22:21 +0000 (UTC) Received: from vfemail.net (nine.vfemail.net [108.76.175.9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79E7464E57 for ; Fri, 26 Dec 2014 10:22:21 +0000 (UTC) Received: (qmail 38493 invoked by uid 89); 26 Dec 2014 10:22:05 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Dec 2014 10:22:05 -0000 Received: (qmail 38429 invoked by uid 89); 26 Dec 2014 10:21:48 -0000 Received: by simscan 1.3.1 ppid: 38425, pid: 38427, t: 0.1003s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 26 Dec 2014 10:21:48 -0000 Received: (qmail 7975 invoked by uid 89); 26 Dec 2014 10:21:48 -0000 Received: by simscan 1.4.0 ppid: 7943, pid: 7968, t: 1.0335s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by 172.16.100.62 with ESMTPA; 26 Dec 2014 10:21:47 -0000 From: Jan Beich To: Mayuresh Kathe Subject: Re: any non-x11 'gui' systems like qt/embedded? References: <20141218161352.GA1006@aio.kathe.in> Date: Fri, 26 Dec 2014 11:21:42 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 10:22:21 -0000 Mayuresh Kathe writes: > are there any non-x11 depending 'gui' systems available > for freebsd? something like qt/embedded which works off > the linux graphics framebuffer? svgalib, vgl(3) or use framebuffer on /dev/ttyv0 directly. Only svgalib supports both syscons(4) and vt(4). For high-level stuff try libggi or directfb (via sdl12+vgl). Wayland is probably "the" future for non-X11 embedded GUI. gtk3 and qt5 already support it. Porting status: https://wiki.freebsd.org/Graphics > if not, is there any specific documentation available > for using the graphics framebuffer used for showing the > boot splash screens? has no docs but a few examples: in ports: sysutils/jfbterm www/w3m x11/mlterm (--with-gui=fb not exposed) not in ports: ucimf fbshot, fbterm, vlc ported by Yusuke Baba > > also, may i know what that graphics framebuffer is > called in the freebsd world? > > thanks, > > ~mayuresh ------------------------------------------------- VFEmail.net - http://www.vfemail.net ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options! From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 10:54:25 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EE999A4 for ; Fri, 26 Dec 2014 10:54:25 +0000 (UTC) Received: from mail.tivas.info (85.234.217.139.static.edpnet.net [85.234.217.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.tivas.info", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E23D166209 for ; Fri, 26 Dec 2014 10:54:23 +0000 (UTC) Received: from [192.168.3.242] ([192.168.3.242]) (authenticated bits=0) by mail.tivas.info (8.14.7/8.14.7) with ESMTP id sBQAP6cY071987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 26 Dec 2014 11:25:06 +0100 (CET) (envelope-from bram@diomedia.be) Message-ID: <549D3782.7070904@diomedia.be> Date: Fri, 26 Dec 2014 11:25:06 +0100 From: Bram Van Steenlandt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Using Nokia Cell Phone or GSM Modem to send sms's References: <5497CE57.8020601@compudoc.za.org> <549A6CB3.8070106@ShaneWare.Biz> <2097.76.193.18.84.1419440186.squirrel@cosmo.uchicago.edu> In-Reply-To: <2097.76.193.18.84.1419440186.squirrel@cosmo.uchicago.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 10:54:25 -0000 Hi, I use an sierra wireless Xtend modem on freebsd, this works well, I have my own building automation stuff that I also use for customers (which checks for power fails with modbus/smartlink systems and/or the local ups). We also use it when there is a temperature problem (IT room too hot, freezing temp. in rooms with water pipes) or when equipment goes offline (with ping or tcp connect) Cell phones like a nokia work well on linux, on freebsd you may want to test these, every phone is different, I have a rugged phone which has a prolific usb<->rs232 adapter built in (this would work on bsd I think). the xtend modem is rs232, I use it with libftdi as this gives the best performance. You can just send AT commands to send an sms, plenty of examples and documentation online. Bram op 24-12-14 17:56, Valeri Galtsev schreef: > On Wed, December 24, 2014 1:35 am, Shane Ambler wrote: >> On 22/12/2014 18:25, Godfrey Hamshire wrote: >>> Using Nokia Cell Phone or GSM Modem to send sms's >>> >>> Dear Memeber >>> >>> I was wondering if anyone has had experience with connecting a 3g/gsm of >>> the type you can find in Cell Phone Shops to freebsd or a old nokia >>> symbian cell phone via its usb cable to freebsd. >>> >>> What I would like to to do is send sms's from the server using a 3g/gsm >>> dongle or using an old nokia symbian cell ie warning the power is out >>> etc etc I am doing this already via email and a clickatel api account >>> already but sometimes these email do not get through or what ever. I am >>> looking for alternative ways of notifying myself of power problems or >>> what ever is going on when I am not around. >> Not really what your asking for but another option could be to send >> notifications from offsite - you can run a t2.micro ec2 instance at >> amazon for between $4.20 and $9.50 a month - it receives no pings in x >> minutes then have it send a message. AWS has SNS which can send mobile >> notifications, sms or email - you can send 100 sms's per month for free. >> > Another option would be to run, say, nagios instance watching your servers > situated at different location, thus independent on the power and/or > network uplink in your server room. That's what I do. > > Valeri > > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 11:38:08 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45C7767F for ; Fri, 26 Dec 2014 11:38:08 +0000 (UTC) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F153A6447E for ; Fri, 26 Dec 2014 11:38:07 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id x3so7266310qcv.15 for ; Fri, 26 Dec 2014 03:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=tQU796MmiBt8/Gifk4CTqSYJEAjAxLBvco3vBUmCyag=; b=fbpMj8FUq8hyNQWUSPYCJO0wRA3TJHKo267q6epM1E8yUOLk7iw1sWYx52zBnsIjWm HRGJmahTz8H28yx+l9a/HStCzu1j3vo4qlAz5ap9f+YzUQ2wEP5ehH85JCdmyDAo8RQW adqEvHEMh5YLkTZeK2MdnabySCbs57JmzSbwpa9FdO7bLIOBK0Db2FYI2coQb8KJwst5 hgO1MD6ybH+o+P9lM0VlhGius+qxsbDvkaAzoe8opEovWuAH+ny6tscaaEPSKu1gsV3V RIka0a2JZNhru4ToOR91J8Hyqkm77xVyaDCF25R5neaC1EqufoC6uUV7Ih5P0TP+rfkr d3ig== X-Received: by 10.224.95.7 with SMTP id b7mr68528915qan.70.1419593887128; Fri, 26 Dec 2014 03:38:07 -0800 (PST) Received: from lumiwa.farms.net (pool-70-20-61-168.man.east.myfairpoint.net. [70.20.61.168]) by mx.google.com with ESMTPSA id w9sm10044409qab.18.2014.12.26.03.38.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Dec 2014 03:38:06 -0800 (PST) From: Ajtim To: questions@freebsd.org Reply-To: lumiwa@gmail.com Subject: png update Date: Fri, 26 Dec 2014 06:38:05 -0500 Message-ID: <2151489.if9TfAvGFI@lumiwa.farms.net> User-Agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE; KDE/4.14.3; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 11:38:08 -0000 Hi I try to update ports with portmaster -r png (after png update) and there are so many errors and there are no success on my FreeBSD 10.1 p3 (amd64): gmome-mount and gnome-policykit I deinstall and after that another one: Making all in java-applet --- all-recursive --- Making all in ssl Making all in client_examples --- ppmtest.o --- --- SDLvncviewer-SDLvncviewer.o --- --- SDLvncviewer-scrap.o --- --- gtkvncviewer-gtkvncviewer.o --- --- backchannel.o --- --- ppmtest.o --- CC ppmtest.o --- SDLvncviewer-SDLvncviewer.o --- CC SDLvncviewer-SDLvncviewer.o --- SDLvncviewer-scrap.o --- CC SDLvncviewer-scrap.o --- gtkvncviewer-gtkvncviewer.o --- CC gtkvncviewer-gtkvncviewer.o --- backchannel.o --- CC backchannel.o --- gtkvncviewer-gtkvncviewer.o --- gtkvncviewer.c:22:10: fatal error: 'gtk/gtk.h' file not found #include ^ 1 error generated. *** [gtkvncviewer-gtkvncviewer.o] Error code 1 make[4]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9/client_examples --- SDLvncviewer-scrap.o --- scrap.c:24:2: warning: Unknown window manager for clipboard handling [- W#warnings] #warning Unknown window manager for clipboard handling ^ scrap.c:79:1: warning: control reaches end of non-void function [-Wreturn- type] } ^ scrap.c:263:9: warning: variable 'retval' is uninitialized when used here [- Wuninitialized] return(retval); ^~~~~~ scrap.c:249:12: note: initialize the variable 'retval' to silence this warning int retval; ^ = 0 scrap.c:270:8: warning: unused variable 'dst' [-Wunused-variable] char *dst; ^ scrap.c:149:12: warning: unused function 'convert_scrap' [-Wunused-function] static int convert_scrap(int type, char *dst, char *src, int srclen) ^ 5 warnings generated. 1 error make[4]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9/client_examples *** [all-recursive] Error code 1 make[3]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 1 error make[3]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 *** [all] Error code 2 make[2]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 1 error make[2]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/libvncserver *** Error code 1 Stop. make: stopped in /usr/ports/net/libvncserver ===>>> make build failed for net/libvncserver ===>>> Aborting update ===>>> Update for libvncserver-0.9.9_9 failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster net/libvncserver graphics/geeqie graphics/GraphicsMagick devel/binutils graphics/libwmf graphics/webp print/ghostscript9 graphics/jbig2dec print/cups-image x11/dgs graphics/plotutils x11-toolkits/open-motif print/tex-dvipdfmx devel/tex-web2c graphics/openjpeg15 multimedia/libkate graphics/vigra x11-toolkits/wxgtk28- common x11-toolkits/wxgtk28-unicode graphics/gstreamer-plugins-gl graphics/hugin graphics/autopano-sift-c graphics/libpano13 graphics/gdk- pixbuf2 x11-toolkits/wxgtk28 x11-toolkits/wxgtk30 graphics/opencv x11- toolkits/qt4-gui graphics/netpbm graphics/poppler-utils graphics/poppler graphics/poppler-glib print/cups-filters graphics/poppler-qt4 graphics/inkscape graphics/ImageMagick graphics/openjpeg print/tex-luatex print/tex-xetex multimedia/libquicktime www/libxul www/firefox graphics/imlib2 multimedia/mjpegtools graphics/sdl_image astro/xplanet multimedia/dvdauthor multimedia/mplayer graphics/gegl graphics/graphviz graphics/gd graphics/gimp- app graphics/py-gimp x11-toolkits/qt5-gui www/webkit-qt5 multimedia/vlc devel/libzvbi x11/kde4-workspace x11/kdelibs4 graphics/qt4-imageformats graphics/gstreamer1-plugins-png textproc/htmldoc x11-toolkits/fltk editors/libreoffice x11/xcursorgen graphics/libqrencode print/texlive-base and there are many on the waiting list. I know that graphics/geeqie and graphics/GraphicsMagick don't build either... Thanks in advance. -- ajtiM -------- http://www.redbubble.com/people/lumiwa From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 12:19:14 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 012B2FDC for ; Fri, 26 Dec 2014 12:19:13 +0000 (UTC) Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB52B64A2A for ; Fri, 26 Dec 2014 12:19:13 +0000 (UTC) Received: by mail-qg0-f51.google.com with SMTP id i50so7036918qgf.38 for ; Fri, 26 Dec 2014 04:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=bgAltAQC6j/X3LovkwgQFURPc876mtZKbw01pq7rU1M=; b=sUArInGFFJxXYswprlkfxB6nm4kagDgbhyfzT8ciRH9kEArIBUt1EXCeKROgRcKZBq 8Kmeq6w+EhxQh1Cd8TiAG064YNXNyhny/mMd7b3bzwQe52H2SoVGS+rS1SedUj60V/bx j0hVqGq/7ESUg78DMnYEnaQdWq79QO4o/PonvrWlpzn3xE/3f1zADHj8CokfygQ1aM2F tJNXsfHAiMhTmSLsTdFQBEWO7x9/9mK7McV8qmipNaKd2XYEaPGkx50+WhdKCpnWKhnT G06zRBltpkfqkNmCJPPbPtYfVKgqm7VwOQz0KXB4oAieyJTL+ucw9gmSKc+/ebhJVeiN IbRA== X-Received: by 10.140.20.104 with SMTP id 95mr64987645qgi.47.1419596352792; Fri, 26 Dec 2014 04:19:12 -0800 (PST) Received: from lumiwa.farms.net (pool-70-20-61-168.man.east.myfairpoint.net. [70.20.61.168]) by mx.google.com with ESMTPSA id j101sm25878735qge.24.2014.12.26.04.19.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Dec 2014 04:19:12 -0800 (PST) From: Ajtim To: questions@freebsd.org Reply-To: lumiwa@gmail.com Subject: Re: png update Date: Fri, 26 Dec 2014 07:19:10 -0500 Message-ID: <1633593.v4MgGkEBFV@lumiwa.farms.net> User-Agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE; KDE/4.14.3; amd64; ; ) In-Reply-To: <2151489.if9TfAvGFI@lumiwa.farms.net> References: <2151489.if9TfAvGFI@lumiwa.farms.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 12:19:14 -0000 On Friday 26 December 2014 06:38:05 Ajtim wrote: > Hi I try to update ports with portmaster -r png (after png update) and there > are so many errors and there are no success on my FreeBSD 10.1 p3 (amd64): > > gmome-mount and gnome-policykit I deinstall and after that another one: > > Making all in java-applet > --- all-recursive --- > Making all in ssl > Making all in client_examples > --- ppmtest.o --- > --- SDLvncviewer-SDLvncviewer.o --- > --- SDLvncviewer-scrap.o --- > --- gtkvncviewer-gtkvncviewer.o --- > --- backchannel.o --- > --- ppmtest.o --- > CC ppmtest.o > --- SDLvncviewer-SDLvncviewer.o --- > CC SDLvncviewer-SDLvncviewer.o > --- SDLvncviewer-scrap.o --- > CC SDLvncviewer-scrap.o > --- gtkvncviewer-gtkvncviewer.o --- > CC gtkvncviewer-gtkvncviewer.o > --- backchannel.o --- > CC backchannel.o > --- gtkvncviewer-gtkvncviewer.o --- > gtkvncviewer.c:22:10: fatal error: 'gtk/gtk.h' file not found > #include > ^ > 1 error generated. > *** [gtkvncviewer-gtkvncviewer.o] Error code 1 > > make[4]: stopped in > /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9/client_examples > --- SDLvncviewer-scrap.o --- > scrap.c:24:2: warning: Unknown window manager for clipboard handling [- > W#warnings] > #warning Unknown window manager for clipboard handling > ^ > scrap.c:79:1: warning: control reaches end of non-void function [-Wreturn- > type] > } > ^ > scrap.c:263:9: warning: variable 'retval' is uninitialized when used here [- > Wuninitialized] > return(retval); > ^~~~~~ > scrap.c:249:12: note: initialize the variable 'retval' to silence this > warning int retval; > ^ > = 0 > scrap.c:270:8: warning: unused variable 'dst' [-Wunused-variable] > char *dst; > ^ > scrap.c:149:12: warning: unused function 'convert_scrap' [-Wunused-function] > static int convert_scrap(int type, char *dst, char *src, int srclen) ^ > 5 warnings generated. > 1 error > > make[4]: stopped in > /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9/client_examples > *** [all-recursive] Error code 1 > > make[3]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 > 1 error > > make[3]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 > *** [all] Error code 2 > > make[2]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 > 1 error > > make[2]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to > the maintainer. > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/net/libvncserver > *** Error code 1 > > Stop. > make: stopped in /usr/ports/net/libvncserver > > ===>>> make build failed for net/libvncserver > ===>>> Aborting update > > ===>>> Update for libvncserver-0.9.9_9 failed > ===>>> Aborting update > > > ===>>> You can restart from the point of failure with this command line: > portmaster net/libvncserver graphics/geeqie > graphics/GraphicsMagick devel/binutils graphics/libwmf graphics/webp > print/ghostscript9 graphics/jbig2dec print/cups-image x11/dgs > graphics/plotutils x11-toolkits/open-motif print/tex-dvipdfmx > devel/tex-web2c graphics/openjpeg15 multimedia/libkate graphics/vigra > x11-toolkits/wxgtk28- common x11-toolkits/wxgtk28-unicode > graphics/gstreamer-plugins-gl > graphics/hugin graphics/autopano-sift-c graphics/libpano13 graphics/gdk- > pixbuf2 x11-toolkits/wxgtk28 x11-toolkits/wxgtk30 graphics/opencv x11- > toolkits/qt4-gui graphics/netpbm graphics/poppler-utils graphics/poppler > graphics/poppler-glib print/cups-filters graphics/poppler-qt4 > graphics/inkscape graphics/ImageMagick graphics/openjpeg print/tex-luatex > print/tex-xetex multimedia/libquicktime www/libxul www/firefox > graphics/imlib2 > multimedia/mjpegtools graphics/sdl_image astro/xplanet multimedia/dvdauthor > multimedia/mplayer graphics/gegl graphics/graphviz graphics/gd > graphics/gimp- app graphics/py-gimp x11-toolkits/qt5-gui www/webkit-qt5 > multimedia/vlc devel/libzvbi x11/kde4-workspace x11/kdelibs4 > graphics/qt4-imageformats graphics/gstreamer1-plugins-png textproc/htmldoc > x11-toolkits/fltk editors/libreoffice x11/xcursorgen graphics/libqrencode > print/texlive-base > > and there are many on the waiting list. I know that graphics/geeqie and > graphics/GraphicsMagick don't build either... > > Thanks in advance. Looks like that rebuilt of x11-toolkits/gtk20 solved the problem for now. -- ajtiM -------- http://www.redbubble.com/people/lumiwa From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 14:48:53 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D0FEE4E for ; Fri, 26 Dec 2014 14:48:53 +0000 (UTC) Received: from nm24-vm6.access.bullet.mail.gq1.yahoo.com (nm24-vm6.access.bullet.mail.gq1.yahoo.com [216.39.63.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 35A0135E1 for ; Fri, 26 Dec 2014 14:48:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s2048; t=1419604948; bh=/3rJ4Kp6i+AWcDarb62T8lZ0oTIVkkxZf2dgOxu6MU0=; h=Date:From:To:CC:Subject:References:From:Subject; b=papBkXg0UNvE5Oxhi9CIyFYBsAzDdsHiiNh+sMjjknng0Yymob8Yoeutg4IZmwg+iqIidMjolct2dZOToLrc2h4XzNmZtY7pEmrn7Z5dqxlARa6ctJZ1C+rHAhOrnCbhYW/aR7KFx9tF5Nbpazdp025uPd/Bn7pSOPiQv2BSBhhClX5ScW27gyyitr/sqN2YpJL4PE4GtRWRDbAendH+TFvLFYF6CMsZc3xKM06pkUOrzbr654UPN9pQciNcRuWLfs619P5sObWAozBuFkvRmVvOXCuvTwolSkqG/Hwp7RYoXdvt5Wm7io18WdveD8y6Z6omefPqWJeQvwMjdmKV0w== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=bellsouth.net; b=EfjNRUwGV6ffe7nPreDSlNrh4nHFgLpOpHqjRgX5Ku01u9od+pdjD9IAJnjLQha97+RiKi60SsJlpaUxCLQ0Xid6Ch34EvdPpUBMFCWo+9G7YrUpzqywiTjGCBUfeLPz4ncBwx8n1Nx/rNl//ZA1LtVpdanomF6ers0HidSdsclnu0CZyHFI1OiTOI+vyRb6qYf3KWZIkqJKaH/WlP6mSfqKl8PMfEKMH7NyT795T5IG3DR8t3taxSZaYKW0Q8XFjhNjkSW5eVGfP8DD6KoC8s10a5YE10FyYsVTSf2mBHB0Y2pyjqXNpW9qxAkF07UlzcO0L2yl0rG5b1s6uJJ7uQ==; Received: from [216.39.60.175] by nm24.access.bullet.mail.gq1.yahoo.com with NNFMP; 26 Dec 2014 14:42:28 -0000 Received: from [67.195.22.119] by tm11.access.bullet.mail.gq1.yahoo.com with NNFMP; 26 Dec 2014 14:42:28 -0000 Received: from [127.0.0.1] by smtp114.sbc.mail.gq1.yahoo.com with NNFMP; 26 Dec 2014 14:42:28 -0000 X-Yahoo-Newman-Id: 152113.51492.bm@smtp114.sbc.mail.gq1.yahoo.com Message-ID: <152113.51492.bm@smtp114.sbc.mail.gq1.yahoo.com> Date: Fri, 26 Dec 2014 06:42:28 -0800 (PST) X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: fNoVQooVM1kShjhzY1oXbfSPVlaRHRbZCP0xU6kjYJXj8ky e7zFkg.J8THLc0d88X6RXEDf_AU0oQlT3vVC96RP6olu2qzwQHnBjSyCIfkq wJx1405QG4WuFPbAxMvBpKq0P5MJOlbN6wxw55KUq.MtM9VJQ1eCsmABLUti OoV3oU6c55naTwyEWUWdvJ7oTjkDxk89SkTN.X93d_W75SkLAT2JBeU9T8Lt c6CV.GY8qV72ty74I8FGTlXOFI74q3enCqYXHgd9Y8TG2S219Kxjqy9.yMDx ET5dU5gMD3AUZ_8.7jeiQ463929zGr1ZS_dVJ200sCjneIePTU7FuD_R3Lqi eBtChOghBJQkdpSlX3EAJIHS2PlC6pySU4qEZXfUCygApdaqekxamiXYaQi7 UvPe7_.QzRErRsEX9EpQREH8H.M7PUUNPSv1CeFN53FScOiKPYZyCiJtwcxK o45dIT22D4NTZe6c1FV_6INKwP6VaCM9WuQ1ny0HpCILliCaDOWmTQBX1sEX NMt.yzoiPR5UHl7upb8lJriIrh1LNym.b0BCrccjFm_obaqIsyNRmqXjEzK5 ydFYWoC1uoV7qQbk28mhfw97P2QTLrVmffbfQWFXcJIXmDltelIo1.DpL.Vk XuDxGVuVLbzGJVgk- X-Yahoo-SMTP: CeH1sJyswBDOEjcW1EiXdMua60ZzlGfT7GumEqmhJoVcQqxKsWI- From: mueller6726@bellsouth.net To: freebsd-ports@freebsd.org Subject: Re: png update References: <2151489.if9TfAvGFI@lumiwa.farms.net> <1633593.v4MgGkEBFV@lumiwa.farms.net> Cc: m.tsatsenko@gmail.com, lumiwa@gmail.com, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 14:48:53 -0000 On Friday 26 December 2014 06:38:05 Ajtim wrote: > Hi I try to update ports with portmaster -r png (after png update) and there > are so many errors and there are no success on my FreeBSD 10.1 p3 (amd64): > > gmome-mount and gnome-policykit I deinstall and after that another one: > > Making all in java-applet > --- all-recursive --- > Making all in ssl > Making all in client_examples > --- ppmtest.o --- > --- SDLvncviewer-SDLvncviewer.o --- > --- SDLvncviewer-scrap.o --- > --- gtkvncviewer-gtkvncviewer.o --- > --- backchannel.o --- > --- ppmtest.o --- > CC ppmtest.o > --- SDLvncviewer-SDLvncviewer.o --- > CC SDLvncviewer-SDLvncviewer.o > --- SDLvncviewer-scrap.o --- > CC SDLvncviewer-scrap.o > --- gtkvncviewer-gtkvncviewer.o --- > CC gtkvncviewer-gtkvncviewer.o > --- backchannel.o --- > CC backchannel.o > --- gtkvncviewer-gtkvncviewer.o --- > gtkvncviewer.c:22:10: fatal error: 'gtk/gtk.h' file not found > #include > ^ > 1 error generated. > *** [gtkvncviewer-gtkvncviewer.o] Error code 1 > > make[4]: stopped in > /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9/client_examples > --- SDLvncviewer-scrap.o --- > scrap.c:24:2: warning: Unknown window manager for clipboard handling [- > W#warnings] > #warning Unknown window manager for clipboard handling > ^ > scrap.c:79:1: warning: control reaches end of non-void function [-Wreturn- type] } ^ > scrap.c:263:9: warning: variable 'retval' is uninitialized when used here [- > Wuninitialized] > return(retval); ^~~~~~ > scrap.c:249:12: note: initialize the variable 'retval' to silence this > warning int retval; ^ > = 0 > scrap.c:270:8: warning: unused variable 'dst' [-Wunused-variable] > char *dst; ^ > scrap.c:149:12: warning: unused function 'convert_scrap' [-Wunused-function] > static int convert_scrap(int type, char *dst, char *src, int srclen) ^ > 5 warnings generated. > 1topped in > /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9/client_examples > *** [all-recursive] Error code 1 > make[3]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 > 1 error > make[3]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 > *** [all] Error code 2 > make[2]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 > 1 error > make[2]: stopped in /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9 > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to > the maintainer. > *** Error code 1 > Stop. > make[1]: stopped in /usr/ports/net/libvncserver > *** Error code 1 > Stop. > make: stopped in /usr/ports/net/libvncserver > ===>>> make build failed for net/libvncserver > ===>>> Aborting update > ===>>> Update for libvncserver-0.9.9_9 failed > ===>>> Aborting update > ===>>> You can restart from the point of failure with this command line: > portmaster net/libvncserver graphics/geeqie > graphics/GraphicsMagick devel/binutils graphics/libwmf graphics/webp > print/ghostscript9 graphics/jbig2dec print/cups-image x11/dgs > graphics/plotutils x11-toolkits/open-motif print/tex-dvipdfmx > devel/tex-web2c graphics/openjpeg15 multimedia/libkate graphics/vigra > x11-toolkits/wxgtk28- common x11-toolkits/wxgtk28-unicode > graphics/gstreamer-plugins-gl > graphics/hugin graphics/autopano-sift-c graphics/libpano13 graphics/gdk- > pixbuf2 x11-toolkits/wxgtk28 x11-toolkits/wxgtk30 graphics/opencv x11- > toolkits/qt4-gui graphics/netpbm graphics/poppler-utils graphics/poppler > graphics/poppler-glib print/cups-filters graphics/poppler-qt4 > graphics/inkscape graphics/ImageMagick graphics/openjpeg print/tex-luatex > print/tex-xetex multimedia/libquicktime www/libxul www/firefox > graphics/imlib2 > multimedia/mjpegtools graphics/sdl_image astro/xplanet multimedia/dvdauthor > multimedia/mplayer graphics/gegl graphics/graphviz graphics/gd > graphics/gimp- app graphics/py-gimp x11-toolkits/qt5-gui www/webkit-qt5 > multimedia/vlc devel/libzvbi x11/kde4-workspace x11/kdelibs4 > graphics/qt4-imageformats graphics/gstreamer1-plugins-png textproc/htmldoc > x11-toolkits/fltk editors/libreoffice x11/xcursorgen graphics/libqrencode > print/texlive-base > and there are many on the waiting list. I know that graphics/geeqie and > graphics/GraphicsMagick don't build either... > Thanks in advance. > Looks like that rebuilt of x11-toolkits/gtk20 solved the problem for now. I was also stopped, but rebuilding x11-toolkits/gtk20, while successful, didn't solve the problem with x11-toolkits/open-motif. There was a missing file configure.ac:40: error: required file 'ltmain.sh' not found I can give a fuller error log if desired, but it's on the other computer; I can send from there but won't have the thread headers like References and won't be able to quote from this message. Tom From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 16:48:01 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF0B5F3E for ; Fri, 26 Dec 2014 16:48:01 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E5BB2CD9 for ; Fri, 26 Dec 2014 16:48:00 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id r20so17402272wiv.2 for ; Fri, 26 Dec 2014 08:47:59 -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=o95UQOgHV+RMgEQxFX6Ks5QRomVuuiVpTcOZpiljCfY=; b=K9eAPmV8RO5Ale2EDK324T/GlvJHZdzXcPSRI9m/gyH2bE8eItQKuJn1uYjIzwGkNu 2nctUQOzHbiyhz1O4BvxIa9m/6kmNkCNmvHZyNgzUAvaJXQHOpaGSThp9gDcjbZIur7r rRW/K4SKtM+tugDJFZtXPKQDsEG0pffONiFo7yOZ16DrYaQ5K1zOa7JU5VThk0BBAO8/ WwxkaDoyvQc5MFdwnUr5o+cfEA+egV67Pbohgr8h16BrYZAIs0spOQkm15JQ9P+xma7J ResGDGEBeLViEBxRW83kBZcOQ/movj38LEorR65a4vUpyh8XwlvM/iqiIpMlxI5poz82 8XYQ== MIME-Version: 1.0 X-Received: by 10.180.211.196 with SMTP id ne4mr69782196wic.71.1419612478920; Fri, 26 Dec 2014 08:47:58 -0800 (PST) Received: by 10.217.157.195 with HTTP; Fri, 26 Dec 2014 08:47:58 -0800 (PST) Date: Fri, 26 Dec 2014 08:47:58 -0800 Message-ID: Subject: Do I want to switch to the new pkg(8) format? From: Chris Stankevitz To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 16:48:01 -0000 Hello, I am familiar with the gentoo "portage" system but I am unfamiliar with the freebsd system. I prefer to compile ports. While I am familiar with "make install", I do not know how to upgrade all the ports I previously installed (equivalent to gentoo's "emerge -Dauv world"). Section 5.5.3.1 of the handbook says that I should use portmaster. When I install portmaster I get a friendly reminder: "If you want to switch to the new pkg(8) format, and have not already done so, there are some extra 1-time steps to take" Can you guys help me answer these questions: 1. Do I want to switch to the new pkg(8) format? 2. If yes, have I already done so? Thank you, Chris PS: I'm running 10.1-RELEASE-p3 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 17:16:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA73FCCC for ; Fri, 26 Dec 2014 17:16:28 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.155]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C57E864F4E for ; Fri, 26 Dec 2014 17:16:28 +0000 (UTC) Received: from workbox.Home (184-100-71-241.mpls.qwest.net [184.100.71.241]) by mx.zohomail.com with SMTPS id 1419614181489792.8791695902976; Fri, 26 Dec 2014 09:16:21 -0800 (PST) Date: Fri, 26 Dec 2014 11:16:18 -0600 From: Bigby James To: freebsd-questions@freebsd.org Subject: Re: Do I want to switch to the new pkg(8) format? Message-ID: <20141226171618.GA30541@workbox.Home> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-ZohoMailClient: External X-Zoho-Virus-Status: 2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 17:16:28 -0000 On 12/26, Chris Stankevitz wrote: > Can you guys help me answer these questions: > > 1. Do I want to switch to the new pkg(8) format? > > 2. If yes, have I already done so? That message is only for folks upgrading a pre-10.0 installation. If you installed 10.0 or later, any binary packages you install will use the new format. At present there actually aren't any binary package management tools in the base system---the 'pkg' command is just a bootstrap that installs pkgng, which can also be installed from the port in 'ports-mgmt/pkg.' -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 17:20:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3AA89E4C for ; Fri, 26 Dec 2014 17:20:56 +0000 (UTC) Received: from sdf.org (ma.sdf.org [192.94.73.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ma.sdf.org", Issuer "ma.sdf.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 186816606F for ; Fri, 26 Dec 2014 17:20:55 +0000 (UTC) Received: from ma.sdf.org (IDENT:U2FsdGVkX19kDJZ5M4E5pxAZNCcBuNr2tCodU8+bv3g@localhost [127.0.0.1]) by sdf.org (8.14.4/8.14.3) with ESMTP id sBQGoqSZ006204; Fri, 26 Dec 2014 16:50:52 GMT Received: from 63.97.65.194 (SquirrelMail authenticated user cpet) by ma.sdf.org with HTTP; Fri, 26 Dec 2014 16:50:52 -0000 Message-ID: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> In-Reply-To: References: Date: Fri, 26 Dec 2014 16:50:52 -0000 Subject: Re: Do I want to switch to the new pkg(8) format? From: cpet@sdf.org To: "Chris Stankevitz" User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 17:20:56 -0000 > Hello, > > I am familiar with the gentoo "portage" system but I am unfamiliar > with the freebsd system. I prefer to compile ports. > > While I am familiar with "make install", I do not know how to upgrade > all the ports I previously installed (equivalent to gentoo's "emerge > -Dauv world"). Section 5.5.3.1 of the handbook says that I should use > portmaster. When I install portmaster I get a friendly reminder: > > "If you want to switch to the new pkg(8) format, and have not already > done so, there are some extra 1-time steps to take" > > Can you guys help me answer these questions: > > 1. Do I want to switch to the new pkg(8) format? > > 2. If yes, have I already done so? > > Thank you, > > Chris > > PS: I'm running 10.1-RELEASE-p3 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > This comes down to 2 things which are easy: 1. Do you compile a lot of packages with custom options then skip pkgng and continue to using ports. 2. If you don't and just do make install clean and only use default options then pkgng would be easier. Hope this helps some. Chris Petrik From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 17:25:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 625C8F59 for ; Fri, 26 Dec 2014 17:25:35 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21FCD661EF for ; Fri, 26 Dec 2014 17:25:34 +0000 (UTC) Received: from r56.edvax.de (port-92-195-30-13.dynamic.qsc.de [92.195.30.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 66E322761E; Fri, 26 Dec 2014 18:18: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 sBQHI42v001980; Fri, 26 Dec 2014 18:18:04 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 26 Dec 2014 18:18:04 +0100 From: Polytropon To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? Message-Id: <20141226181804.6caa327e.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 17:25:35 -0000 On Fri, 26 Dec 2014 08:47:58 -0800, Chris Stankevitz wrote: > Hello, > > I am familiar with the gentoo "portage" system but I am unfamiliar > with the freebsd system. I prefer to compile ports. FreeBSD supports both installing from source or from precompiled binary packages. Both are equivalent when it comes to the result. > While I am familiar with "make install", I do not know how to upgrade > all the ports I previously installed (equivalent to gentoo's "emerge > -Dauv world"). Section 5.5.3.1 of the handbook says that I should use > portmaster. That's the correct way to do it. The ports tree itself does offer a "make update" command, but this will only update the ports tree itself (using svn). To update the installed applications, they would have to be installed again ("make deinstall && make reinstall"). And portmaster is a great tool to help in this process. > When I install portmaster I get a friendly reminder: > > "If you want to switch to the new pkg(8) format, and have not already > done so, there are some extra 1-time steps to take" > > Can you guys help me answer these questions: > > 1. Do I want to switch to the new pkg(8) format? Yes, definitely. The older pkg_*-based format isn't supported any longer in the future. > 2. If yes, have I already done so? Yes, because of: > PS: I'm running 10.1-RELEASE-p3 Since FreeBSD 10.0, pkg (also called pkgng) already is the default format for binary packages, as well as for the system's means of keeping the package database. The tools for maintaining ports (such as portmaster or portupgrade) interact with the new pkg system without problems. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 17:59:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEB459E6 for ; Fri, 26 Dec 2014 17:59:58 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CE96665F3 for ; Fri, 26 Dec 2014 17:59:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBQHxuTp063487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 10:59:57 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBQHxuRA063484; Fri, 26 Dec 2014 10:59:56 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 10:59:56 -0700 (MST) From: Warren Block To: cpet@sdf.org Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> Message-ID: References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 10:59:57 -0700 (MST) Cc: freebsd-questions , Chris Stankevitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 17:59:58 -0000 On Fri, 26 Dec 2014, cpet@sdf.org wrote: >> Hello, >> >> I am familiar with the gentoo "portage" system but I am unfamiliar >> with the freebsd system. I prefer to compile ports. >> >> While I am familiar with "make install", I do not know how to upgrade >> all the ports I previously installed (equivalent to gentoo's "emerge >> -Dauv world"). Section 5.5.3.1 of the handbook says that I should use >> portmaster. When I install portmaster I get a friendly reminder: >> >> "If you want to switch to the new pkg(8) format, and have not already >> done so, there are some extra 1-time steps to take" >> >> Can you guys help me answer these questions: >> >> 1. Do I want to switch to the new pkg(8) format? >> >> 2. If yes, have I already done so? >> >> Thank you, >> >> Chris >> >> PS: I'm running 10.1-RELEASE-p3 >> > This comes down to 2 things which are easy: > > 1. Do you compile a lot of packages with custom options then skip pkgng > and continue to using ports. No, both binary packages and ports require pkg now. It is the only supported package management tool, and installing ports *is* installing packages. Any users who continue to use and update FreeBSD with ports or packages after September 2014 must switch to pkg. > 2. If you don't and just do make install clean and only use default > options then pkgng would be easier. The old package database tools are no longer supported. So yes, it is time to switch to pkg (the preferred name now). If the old pkg_* commands are still present, do not use them after the switch. The message on portmaster needs to be updated. Switching to the new package database is a one-time thing. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 18:01:06 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10B2CA91 for ; Fri, 26 Dec 2014 18:01:06 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B59C066613 for ; Fri, 26 Dec 2014 18:01:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBQI11vJ063783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 11:01:01 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBQI11Rh063780; Fri, 26 Dec 2014 11:01:01 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 11:01:01 -0700 (MST) From: Warren Block To: Bigby James Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: <20141226171618.GA30541@workbox.Home> Message-ID: References: <20141226171618.GA30541@workbox.Home> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 11:01:02 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 18:01:06 -0000 On Fri, 26 Dec 2014, Bigby James wrote: > On 12/26, Chris Stankevitz wrote: >> Can you guys help me answer these questions: >> >> 1. Do I want to switch to the new pkg(8) format? >> >> 2. If yes, have I already done so? > > That message is only for folks upgrading a pre-10.0 installation. If you > installed 10.0 or later, any binary packages you install will use the new > format. As will ports. pkg is not just for binary packages, it is a package management system and ports use it also. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 19:17:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6404BC5 for ; Fri, 26 Dec 2014 19:17:47 +0000 (UTC) Received: from fly.radel.com (fly.radel.com [70.184.242.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A165312B for ; Fri, 26 Dec 2014 19:17:46 +0000 (UTC) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.18.5 (ClamAV engine v0.98.5) Received: from [23.126.86.22] (account jon@radel.com HELO [192.168.1.104]) by radel.com (CommuniGate Pro SMTP 6.0.11 _community_) with ESMTPSA id 496684 for freebsd-questions@freebsd.org; Fri, 26 Dec 2014 18:17:36 +0000 Message-ID: <549DA63F.9070001@radel.com> Date: Fri, 26 Dec 2014 13:17:35 -0500 From: Jon Radel User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Do I want to switch to the new pkg(8) format? References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms040403050206030407000500" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 19:17:48 -0000 This is a cryptographically signed message in MIME format. --------------ms040403050206030407000500 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable On 12/26/14 12:59 PM, Warren Block wrote: > > The old package database tools are no longer supported. So yes, it is = > time to switch to pkg (the preferred name now). If the old pkg_*=20 > commands are still present, do not use them after the switch. > The only exception to this rule I've run into recently was on an 8.4=20 system, upgraded to use pkg, but where I had to manipulate a piece of=20 3rd party software provided *only* as an old-style package. There using=20 the pkg_* commands was a big time saver. But it was still=20 unsupported....and leaves me with inconsistent package databases. --Jon Radel jon@radel.com --------------ms040403050206030407000500 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILBDCC BRowggQCoAMCAQICEG0Z6qcZT2ozIuYiMnqqcd4wDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNV BAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoT FVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2VydHJ1c3Qu Y29tMTYwNAYDVQQDEy1VVE4tVVNFUkZpcnN0LUNsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQg RW1haWwwHhcNMTEwNDI4MDAwMDAwWhcNMjAwNTMwMTA0ODM4WjCBkzELMAkGA1UEBhMCR0Ix GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE ChMRQ09NT0RPIENBIExpbWl0ZWQxOTA3BgNVBAMTMENPTU9ETyBDbGllbnQgQXV0aGVudGlj YXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC ggEBAJKEhFtLV5jUXi+LpOFAyKNTWF9mZfEyTvefMn1V0HhMVbdClOD5J3EHxcZppLkyxPFA GpDMJ1Zifxe1cWmu5SAb5MtjXmDKokH2auGj/7jfH0htZUOMKi4rYzh337EXrMLaggLW1DJq 1GdvIBOPXDX65VSAr9hxCh03CgJQU2yVHakQFLSZlVkSMf8JotJM3FLb3uJAAVtIaN3FSrTg 7SQfOq9xXwfjrL8UO7AlcWg99A/WF1hGFYE8aIuLgw9teiFX5jSw2zJ+40rhpVJyZCaRTqWS D//gsWD9Gm9oUZljjRqLpcxCm5t9ImPTqaD8zp6Q30QZ9FxbNboW86eb/8ECAwEAAaOCAUsw ggFHMB8GA1UdIwQYMBaAFImCZ33EnSZwAEu0UEh83j2uBG59MB0GA1UdDgQWBBR6E04AdFvG eGNkJ8Ev4qBbvHnFezAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADARBgNV HSAECjAIMAYGBFUdIAAwWAYDVR0fBFEwTzBNoEugSYZHaHR0cDovL2NybC51c2VydHJ1c3Qu Y29tL1VUTi1VU0VSRmlyc3QtQ2xpZW50QXV0aGVudGljYXRpb25hbmRFbWFpbC5jcmwwdAYI KwYBBQUHAQEEaDBmMD0GCCsGAQUFBzAChjFodHRwOi8vY3J0LnVzZXJ0cnVzdC5jb20vVVRO QWRkVHJ1c3RDbGllbnRfQ0EuY3J0MCUGCCsGAQUFBzABhhlodHRwOi8vb2NzcC51c2VydHJ1 c3QuY29tMA0GCSqGSIb3DQEBBQUAA4IBAQCF1r54V1VtM39EUv5C1QaoAQOAivsNsv1Kv/av QUn1G1rF0q0bc24+6SZ85kyYwTAo38v7QjyhJT4KddbQPTmGZtGhm7VNm2+vKGwdr+XqdFqo 2rHA8XV6L566k3nK/uKRHlZ0sviN0+BDchvtj/1gOSBH+4uvOmVIPJg9pSW/ve9g4EnlFsjr P0OD8ODuDcHTzTNfm9C9YGqzO/761Mk6PB/tm/+bSTO+Qik5g+4zaS6CnUVNqGnagBsePdIa XXxHmaWbCG0SmYbWXVcHG6cwvktJRLiQfsrReTjrtDP6oDpdJlieYVUYtCHVmdXgQ0BCML7q peeU0rD+83X5f27nMIIF4jCCBMqgAwIBAgIQUaWQdTU6RvxxeOjTUN4DtDANBgkqhkiG9w0B AQUFADCBkzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxOTA3BgNVBAMTMENP TU9ETyBDbGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTAeFw0xMjAz MjcwMDAwMDBaFw0xNTAzMjcyMzU5NTlaMIH6MQswCQYDVQQGEwJVUzEOMAwGA1UEERMFMjIx NTAxCzAJBgNVBAgTAlZBMRQwEgYDVQQHEwtTcHJpbmdmaWVsZDEaMBgGA1UECRMRNjkxNyBS aWRnZXdheSBEci4xFTATBgNVBAoTDEpvbiBULiBSYWRlbDEyMDAGA1UECxMpSXNzdWVkIHRo cm91Z2ggSm9uIFQuIFJhZGVsIEUtUEtJIE1hbmFnZXIxHzAdBgNVBAsTFkNvcnBvcmF0ZSBT ZWN1cmUgRW1haWwxEjAQBgNVBAMTCUpvbiBSYWRlbDEcMBoGCSqGSIb3DQEJARYNam9uQHJh ZGVsLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMuufqoh9QnyjZTH7UdO wpx6XnRz/94zoK1C1SaAepIRMyInXiwOVwT7iXKtkeRGEQA2vwTyqu5JVcvWkGxlTWPACgDW dDE3296Up2K9CFfrm+RKdlc6xfMklR7qQWyNw5ULkeOZZOIoSAlVAJPhjIvHcf0UPxjTqgtP 4JafBBvL8RFhMAm74I1kWltMcFPVm1sLFDR1CDZ48/zqmhK/0ppbiBGapi8vAO382laFgHaN 8ODBFBffom5zjL/I9SggGGAdtwi7Vp2cjzgtuNVyORPv5Jz9zLylVKlhNvyq3VjbWXuJNw0E J03F/UkjQsqsCkQnSdHAxtPkGhoBw/UvqEsCAwEAAaOCAccwggHDMB8GA1UdIwQYMBaAFHoT TgB0W8Z4Y2QnwS/ioFu8ecV7MB0GA1UdDgQWBBR8oxwxzLSB4/equQ4EqdH5Fld3sTAOBgNV HQ8BAf8EBAMCBaAwDAYDVR0TAQH/BAIwADAdBgNVHSUEFjAUBggrBgEFBQcDBAYIKwYBBQUH AwIwRgYDVR0gBD8wPTA7BgwrBgEEAbIxAQIBAwUwKzApBggrBgEFBQcCARYdaHR0cHM6Ly9z ZWN1cmUuY29tb2RvLm5ldC9DUFMwVwYDVR0fBFAwTjBMoEqgSIZGaHR0cDovL2NybC5jb21v ZG9jYS5jb20vQ09NT0RPQ2xpZW50QXV0aGVudGljYXRpb25hbmRTZWN1cmVFbWFpbENBLmNy bDCBiAYIKwYBBQUHAQEEfDB6MFIGCCsGAQUFBzAChkZodHRwOi8vY3J0LmNvbW9kb2NhLmNv bS9DT01PRE9DbGllbnRBdXRoZW50aWNhdGlvbmFuZFNlY3VyZUVtYWlsQ0EuY3J0MCQGCCsG AQUFBzABhhhodHRwOi8vb2NzcC5jb21vZG9jYS5jb20wGAYDVR0RBBEwD4ENam9uQHJhZGVs LmNvbTANBgkqhkiG9w0BAQUFAAOCAQEAJB+JWM2MbG5rR7/RCEm8bQRziBfl/FztfoV6dDGU Y0uTRegiwM2LA/GHGju7xtp49MrcmEciZs6Di2pvGzS5m/v5IBT0gMK6dyplBmBe4BXzwckE 1MH/iui+VstVHds+36SsQqPCtVmFWlX6QN56F6aGSCjI27f2mUYL3NBr6DPsslRIhF9PamKQ Bp4Y25/hnd+paEGIF6AZM3Uv7TvsTdCaBOt3dLrwUIpyQex5yqO8GPKWwgEPKxKiro7uLNNY yZU4dEEenQIi/4SD49XHd9Zqwf60jKVPeZjcrK7QSSQ8dlOYOGH60WBBFVwD1CCBCLSJnglY Dwh5wcgQG9ZRvjGCBBkwggQVAgEBMIGoMIGTMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3Jl YXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01PRE8gQ0Eg TGltaXRlZDE5MDcGA1UEAxMwQ09NT0RPIENsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQgU2Vj dXJlIEVtYWlsIENBAhBRpZB1NTpG/HF46NNQ3gO0MAkGBSsOAwIaBQCgggJFMBgGCSqGSIb3 DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE0MTIyNjE4MTczNVowIwYJKoZI hvcNAQkEMRYEFGn7K5IBCKwC87LIWG8qZWK7iUWlMGwGCSqGSIb3DQEJDzFfMF0wCwYJYIZI AWUDBAEqMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgbkGCSsGAQQBgjcQBDGBqzCBqDCB kzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMH U2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxOTA3BgNVBAMTMENPTU9ETyBD bGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQQIQUaWQdTU6RvxxeOjT UN4DtDCBuwYLKoZIhvcNAQkQAgsxgauggagwgZMxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJH cmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBD QSBMaW1pdGVkMTkwNwYDVQQDEzBDT01PRE8gQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBT ZWN1cmUgRW1haWwgQ0ECEFGlkHU1Okb8cXjo01DeA7QwDQYJKoZIhvcNAQEBBQAEggEAHHy0 bKXMVUtsCVwG2iu+4MApbUbwuEa9Q+ovAwkz8K2QCE3btU9KWDdnhD6EVuR89Su446J4fQvt 8blikMZwQsAaBOYHIJg0Kq2NSf3gkJwDVr/OZ/qkruswEBku090qTkbcOEAn61xo702eCb0z 9tP7wrjxHdJ2BbockbiQeyiBfmrViQm6gwuU5xK4Ob1HYpb4vxsZO5CbThYKrkKgFWKozqac 1EvOKRnxohVsdkk/a7ZDtQR+Stt+jdOrjMoSch9YcjrmTVesHmA2H3arp6G4WFGNyocR0krm bPFVyiUg72fkBUfUqbevkCOFTr8+PbDGZnGTYJNJ0bhjQ+QIpAAAAAAAAA== --------------ms040403050206030407000500-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 19:32:49 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64521F52 for ; Fri, 26 Dec 2014 19:32:49 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E63664631 for ; Fri, 26 Dec 2014 19:32:49 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-87.adsl.hiwaay.net [216.180.19.87]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id sBQJWfwL009100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 26 Dec 2014 13:32:41 -0600 Message-ID: <549DB94F.2070107@hiwaay.net> Date: Fri, 26 Dec 2014 13:38:55 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 CC: freebsd-questions Subject: Re: Do I want to switch to the new pkg(8) format? References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> In-Reply-To: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 19:32:49 -0000 On 12/26/14 10:50, cpet@sdf.org wrote: >> Hello, >> >> I am familiar with the gentoo "portage" system but I am unfamiliar >> with the freebsd system. I prefer to compile ports. >> >> While I am familiar with "make install", I do not know how to upgrade >> all the ports I previously installed (equivalent to gentoo's "emerge >> -Dauv world"). Section 5.5.3.1 of the handbook says that I should use >> portmaster. When I install portmaster I get a friendly reminder: >> >> "If you want to switch to the new pkg(8) format, and have not already >> done so, there are some extra 1-time steps to take" >> >> Can you guys help me answer these questions: >> >> 1. Do I want to switch to the new pkg(8) format? >> >> 2. If yes, have I already done so? >> >> Thank you, >> >> Chris >> >> PS: I'm running 10.1-RELEASE-p3 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > This comes down to 2 things which are easy: > > 1. Do you compile a lot of packages with custom options then skip pkgng > and continue to using ports. > 2. If you don't and just do make install clean and only use default > options then pkgng would be easier. > > Hope this helps some. > > Chris Petrik > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I 2nd that motion. Early on in my FreeBSD adventure, I wound up compiling iceweb & dependencies from scratch: 5+ hours later it was done. A week or 2 later, I pkg-upgraded it, about 30 sec. to complete. No contest for me, it's pkg all the way unless something (flash support) necessitates compiling from ports. $0.02, no more, no less .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 20:37:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6346317B for ; Fri, 26 Dec 2014 20:37:28 +0000 (UTC) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E859C66CDD for ; Fri, 26 Dec 2014 20:37:27 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id n12so14905455wgh.22 for ; Fri, 26 Dec 2014 12:37:26 -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=nYF/Tz1hk3RN/TSJnMDPpjc2hs/3MX2VQUWeyMcMT1U=; b=i36ZpIRbtPVB0/oUp3Wdkg8LAjHbWWEBFJ+6xLB03uRss7Y+pXINkk1O24gcgQno5P v2DPuWAvfOaCBeMzX92U61tWO0AR8Aq4Xw5TAsFUjnrnLFYKvJ9YBKvT/tGh0Cd5L0ZG K2dD4HBayImc/5BpbAd3+EF/2HybdZ/oUT+x7FNcMpFjhuRhwhatQsZBjEXOilVX5gHl bDsXiUNTs5R29Icn+AlzYTHBVzAYYPua7F3hWjnDE0Ao9ZetEFa+Cfsz443wlbti8feB 9vwpZu8XTaGRFO0yOvMfEHwWNE79dCi4TIJj/hnRKZ19tBagRnbb3G8d8mPUdYyyHWCS ln1Q== MIME-Version: 1.0 X-Received: by 10.180.7.198 with SMTP id l6mr72426654wia.26.1419626246270; Fri, 26 Dec 2014 12:37:26 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.195 with HTTP; Fri, 26 Dec 2014 12:37:26 -0800 (PST) In-Reply-To: <549A8FF4.3080303@compudoc.za.org> References: <549A8FF4.3080303@compudoc.za.org> Date: Fri, 26 Dec 2014 12:37:26 -0800 X-Google-Sender-Auth: 5fegbjChNO5OiAFLrD6LcGyfLTs Message-ID: Subject: Re: Anyone had experince setting up gnokii From: Adrian Chadd To: freebsdlist@compudoc.za.org Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 20:37:28 -0000 Hi, I thought gnokii worked on a real serial port, not a ugen device. ugen is the generic USB device that userland USB drivers would use. I think gnokii expects the device / port there to be a serial device, USB or otherwise. So, what cable are you using? and whats the output of "dmesg" and "usbconfig list" say? -adrian On 24 December 2014 at 02:05, Godfrey Hamshire wrote: > Hello > > I have got a Nokia N79 and am trying to set it up to send sms's I am not > wanting any thing fancy just to send me sms's in addition to the other > notification methods I already employ for power outages loss of connectivity > etc etc. > > I have managed to get this far and am stuck > > Initializing AT capable mobile phone ... > Serial device: opening device /dev/ugen4.2 > Gnokii serial_open: tcgetattr: Inappropriate ioctl for device > Couldn't open ATBUS device: Inappropriate ioctl for device > > No matter what I try I am unable to proceed beyond this point > > > Google is not much help here I was wondering what suggestions you guys might > have. > > Regards > > Godfrey > > > > > root@32.165 ~ # usbconfig ; gnokii --identify > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE (0mA) > ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON > (100mA) > GNOKII Version 0.6.31 > LOG: debug mask is 0x1 > Config read from file /usr/local/etc/gnokiirc. > phone instance config: > model = AT > port = /dev/ugen4.2 > connection = serial > initlength = default > serial_baudrate = 115200 > serial_write_usleep = 5000 > handshake = hardware > require_dcd = 0 > smsc_timeout = 60 > rfcomm_channel = 0 > sm_retry = 0 > Initializing AT capable mobile phone ... > Serial device: opening device /dev/ugen4.2 > Gnokii serial_open: tcgetattr: Inappropriate ioctl for device > Couldn't open ATBUS device: Inappropriate ioctl for device > AT bus initialization failed (1) > Initialization failed (1) > Serial device: closing device > Telephone interface init failed: Command failed. > Quitting. > Command failed. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 21:26:51 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12232CF2 for ; Fri, 26 Dec 2014 21:26:51 +0000 (UTC) Received: from kessel.vindaloo.com (kessel.vindaloo.com [IPv6:2001:470:1f07:26b:0:ac18:9147:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA4C67405 for ; Fri, 26 Dec 2014 21:26:49 +0000 (UTC) Received: by kessel.vindaloo.com (Postfix, from userid 501) id 6D4FC4411839; Fri, 26 Dec 2014 16:26:47 -0500 (EST) Date: Fri, 26 Dec 2014 16:26:47 -0500 From: Christopher Sean Hilton To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? Message-ID: <20141226212647.GA35442@kessel.vindaloo.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 21:26:51 -0000 On Fri, Dec 26, 2014 at 08:47:58AM -0800, Chris Stankevitz wrote: > Hello, > > I am familiar with the gentoo "portage" system but I am unfamiliar > with the freebsd system. I prefer to compile ports. > > While I am familiar with "make install", I do not know how to upgrade > all the ports I previously installed (equivalent to gentoo's "emerge > -Dauv world"). Section 5.5.3.1 of the handbook says that I should use > portmaster. When I install portmaster I get a friendly reminder: > > "If you want to switch to the new pkg(8) format, and have not already > done so, there are some extra 1-time steps to take" > > Can you guys help me answer these questions: > > 1. Do I want to switch to the new pkg(8) format? > It probably depends the most on how many boxes you manage and how many ports you build with non-default configuration options. For me managing more than five boxes with ports alone is a big chore and a management headache. Honestly, if you aren't tweaking a bunch of ports then pkg* is the way to go but, as a former ports user, and a current poudriere user, I believe that it's up to you to determine how you want to spend your time. TL;DR pkgng seriously improves over pkg_* in the area of upgrading. And once you've grown to the point where you need it, the combination of pkgng and poudriere is wonderful. Pkgng looks like work is being done in the area of multiple repositories which I think it needs. Pkgng integrates very well with puppet. In my world, I maintain a poudriere repository to hold the tweaked ports that I run. I use puppet to determine what's installed on what machines and how it's configured, and I use Git to manage changes in the whole ball. By way of example I have a poudriere machine that holds two repo's each repo takes about 2.5 hours to rebuild ~420 from scratch. Once that's done updating a box in the field is two pkg commands. Of the 420 ports that I build, 91 are requested and no more than 15 of them are tweaked in the "make config" step. I haven't found a way to to configure pkgng to look at "repo local-A" before looking at "repo FreeBSD-global" so I pretty much build everything that I use in house. > 2. If yes, have I already done so? > I'm not sure on this. I'm running FreeBSD-9 right now with a plan to move to -10 this coming Spring. I don't know for sure if FreeBSD-10 or FreeBSD-11 comes with pkgng built in. > Thank you, > > Chris > > PS: I'm running 10.1-RELEASE-p3 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 21:42:31 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7EAFA128 for ; Fri, 26 Dec 2014 21:42:31 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bbn0109.outbound.protection.outlook.com [157.56.111.109]) (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 7ADCC67C8D for ; Fri, 26 Dec 2014 21:42:06 +0000 (UTC) Received: from [10.0.0.21] (73.5.142.244) by BY1PR0301MB0837.namprd03.prod.outlook.com (25.160.193.143) with Microsoft SMTP Server (TLS) id 15.1.49.12; Fri, 26 Dec 2014 21:42:03 +0000 Message-ID: <549DD625.1040408@my.hennepintech.edu> Date: Fri, 26 Dec 2014 15:41:57 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Subject: Re: Do I want to switch to the new pkg(8) format? References: <20141226212647.GA35442@kessel.vindaloo.com> In-Reply-To: <20141226212647.GA35442@kessel.vindaloo.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [73.5.142.244] X-ClientProxiedBy: BY2PR01CA0022.prod.exchangelabs.com (10.255.242.12) To BY1PR0301MB0837.namprd03.prod.outlook.com (25.160.193.143) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB0837; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:BY1PR0301MB0837; X-Forefront-PRVS: 04371797A5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(6009001)(24454002)(199003)(189002)(106356001)(450100001)(64706001)(122386002)(46102003)(105586002)(110136001)(4396001)(77156002)(99396003)(42186005)(68736005)(86362001)(62966003)(97736003)(87976001)(54356999)(76176999)(77096005)(87266999)(89122001)(65956001)(65806001)(107886001)(107046002)(2351001)(66066001)(101416001)(64126003)(83506001)(21056001)(88552001)(80316001)(19580395003)(23676002)(120916001)(20776003)(47776003)(40100003)(2950100001)(50986999)(33656002)(50466002)(75432002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB0837; H:[10.0.0.21]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:0; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: my.HennepinTech.edu does not designate permitted sender hosts) X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0837; X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2014 21:42:03.2294 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0837 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 21:42:31 -0000 On 2014.12.26 15:26, Christopher Sean Hilton wrote: > Of the 420 ports that I build, 91 are requested and no more than 15 of > them are tweaked in the "make config" step. I haven't found a way to > to configure pkgng to look at "repo local-A" before looking at "repo > FreeBSD-global" so I pretty much build everything that I use in house. There is a new not-yet-documented option with pkg 1.4.1 - CONSERVATIVE_UPGRADE. If set to yes in pkg.conf, it will prefer the repo that initially installed a given package. This solves a couple annoyances I've had with a multi-repo setup. There is a priority property for repos as well (CONSERVATIVE_UPGRADE prefers same repo -> priority -> any repo with a newer version), but this too is not documented, and I do not know the details of it. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 22:33:43 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7FB9B69 for ; Fri, 26 Dec 2014 22:33:43 +0000 (UTC) Received: from smtp.demon.co.uk (mdfmta010.mxout.tch.inty.net [91.221.169.51]) (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 58AA12BC0 for ; Fri, 26 Dec 2014 22:33:42 +0000 (UTC) Received: from smtp.demon.co.uk (unknown [127.0.0.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mdfmta010.tch.inty.net (Postfix) with ESMTP id A83A64011E5 for ; Fri, 26 Dec 2014 22:27:23 +0000 (GMT) Received: from mdfmta004.tch.inty.net (unknown [127.0.0.1]) by mdfmta004.tch.inty.net (Postfix) with ESMTP id 39FB0AC40BD for ; Fri, 26 Dec 2014 22:27:35 +0000 (GMT) Received: from mdfmta004.tch.inty.net (unknown [127.0.0.1]) by mdfmta004.tch.inty.net (Postfix) with ESMTP id CE042AC40A1 for ; Fri, 26 Dec 2014 22:27:34 +0000 (GMT) Received: from [192.168.254.7] (unknown [80.177.21.188]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mdfmta004.tch.inty.net (Postfix) with ESMTP for ; Fri, 26 Dec 2014 22:27:34 +0000 (GMT) Message-ID: <549DE0D6.6010903@sliderule.demon.co.uk> Date: Fri, 26 Dec 2014 22:27:34 +0000 From: Steve Burton User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Anyone had experince setting up gnokii References: <549A8FF4.3080303@compudoc.za.org> In-Reply-To: X-MDF-HostID: 17 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 22:33:44 -0000 On 26/12/2014 20:37, Adrian Chadd wrote: > Hi, > > I thought gnokii worked on a real serial port, not a ugen device. > > ugen is the generic USB device that userland USB drivers would use. > > I think gnokii expects the device / port there to be a serial device, > USB or otherwise. > > So, what cable are you using? and whats the output of "dmesg" and > "usbconfig list" say? > > > > -adrian > > > On 24 December 2014 at 02:05, Godfrey Hamshire > wrote: >> Hello >> >> I have got a Nokia N79 and am trying to set it up to send sms's I am not >> wanting any thing fancy just to send me sms's in addition to the other >> notification methods I already employ for power outages loss of connectivity >> etc etc. >> >> I have managed to get this far and am stuck >> >> Initializing AT capable mobile phone ... >> Serial device: opening device /dev/ugen4.2 >> Gnokii serial_open: tcgetattr: Inappropriate ioctl for device >> Couldn't open ATBUS device: Inappropriate ioctl for device >> >> No matter what I try I am unable to proceed beyond this point >> >> >> Google is not much help here I was wondering what suggestions you guys might >> have. >> >> Regards >> >> Godfrey >> >> >> >> >> root@32.165 ~ # usbconfig ; gnokii --identify >> ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) >> pwr=SAVE (0mA) >> ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) >> pwr=SAVE (0mA) >> ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) >> pwr=SAVE (0mA) >> ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) >> pwr=SAVE (0mA) >> ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) >> pwr=SAVE (0mA) >> ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON >> (100mA) >> GNOKII Version 0.6.31 >> LOG: debug mask is 0x1 >> Config read from file /usr/local/etc/gnokiirc. >> phone instance config: >> model = AT >> port = /dev/ugen4.2 >> connection = serial >> initlength = default >> serial_baudrate = 115200 >> serial_write_usleep = 5000 >> handshake = hardware >> require_dcd = 0 >> smsc_timeout = 60 >> rfcomm_channel = 0 >> sm_retry = 0 >> Initializing AT capable mobile phone ... >> Serial device: opening device /dev/ugen4.2 >> Gnokii serial_open: tcgetattr: Inappropriate ioctl for device >> Couldn't open ATBUS device: Inappropriate ioctl for device >> AT bus initialization failed (1) >> Initialization failed (1) >> Serial device: closing device >> Telephone interface init failed: Command failed. >> Quitting. >> Command failed. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > As I recall, gnokii (and smstools) expects a /dev/cua* device. If your device is ugen, I think it means unrecognized in this context. Steve. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 22:39:01 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72D72F20 for ; Fri, 26 Dec 2014 22:39:01 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 245BD2C76 for ; Fri, 26 Dec 2014 22:39:01 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBQMcxJJ031541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 15:38:59 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBQMcxhf031538; Fri, 26 Dec 2014 15:38:59 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 15:38:59 -0700 (MST) From: Warren Block To: Christopher Sean Hilton Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: <20141226212647.GA35442@kessel.vindaloo.com> Message-ID: References: <20141226212647.GA35442@kessel.vindaloo.com> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 15:38:59 -0700 (MST) Cc: freebsd-questions , Chris Stankevitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 22:39:01 -0000 On Fri, 26 Dec 2014, Christopher Sean Hilton wrote: > On Fri, Dec 26, 2014 at 08:47:58AM -0800, Chris Stankevitz wrote: >> Hello, >> >> I am familiar with the gentoo "portage" system but I am unfamiliar >> with the freebsd system. I prefer to compile ports. >> >> While I am familiar with "make install", I do not know how to upgrade >> all the ports I previously installed (equivalent to gentoo's "emerge >> -Dauv world"). Section 5.5.3.1 of the handbook says that I should use >> portmaster. When I install portmaster I get a friendly reminder: >> >> "If you want to switch to the new pkg(8) format, and have not already >> done so, there are some extra 1-time steps to take" >> >> Can you guys help me answer these questions: >> >> 1. Do I want to switch to the new pkg(8) format? >> > > It probably depends the most on how many boxes you manage and how many > ports you build with non-default configuration options. pkg is the package management system. It is required unless you are happy with ports or packages from before September 2014. After that, the ports tree (from which binary packages are built) requires pkg. pkg is required both for binary package installation or ports installation. > For me > managing more than five boxes with ports alone is a big chore and a > management headache. Honestly, if you aren't tweaking a bunch of ports > then pkg* is the way to go but, as a former ports user, and a current > poudriere user, I believe that it's up to you to determine how you > want to spend your time. But pkg is required either way. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 22:45:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AEB9E44A for ; Fri, 26 Dec 2014 22:45:13 +0000 (UTC) Received: from smtp.demon.co.uk (mdfmta005.mxout.tbr.inty.net [91.221.168.46]) (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 169DD2DAF for ; Fri, 26 Dec 2014 22:45:12 +0000 (UTC) Received: from smtp.demon.co.uk (unknown [127.0.0.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mdfmta005.tbr.inty.net (Postfix) with ESMTP id 2BF8CA6505B for ; Fri, 26 Dec 2014 22:38:31 +0000 (GMT) Received: from mdfmta004.tbr.inty.net (unknown [127.0.0.1]) by mdfmta004.tbr.inty.net (Postfix) with ESMTP id AFBDCA0C088 for ; Fri, 26 Dec 2014 22:37:29 +0000 (GMT) Received: from mdfmta004.tbr.inty.net (unknown [127.0.0.1]) by mdfmta004.tbr.inty.net (Postfix) with ESMTP id 50081A0C081 for ; Fri, 26 Dec 2014 22:37:29 +0000 (GMT) Received: from [192.168.254.7] (unknown [80.177.21.188]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mdfmta004.tbr.inty.net (Postfix) with ESMTP for ; Fri, 26 Dec 2014 22:37:29 +0000 (GMT) Message-ID: <549DE35E.3090101@sliderule.demon.co.uk> Date: Fri, 26 Dec 2014 22:38:22 +0000 From: Steve Burton User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Anyone had experince setting up gnokii References: <549A8FF4.3080303@compudoc.za.org> <549DE0D6.6010903@sliderule.demon.co.uk> In-Reply-To: <549DE0D6.6010903@sliderule.demon.co.uk> X-MDF-HostID: 9 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 22:45:13 -0000 On 26/12/2014 22:27, Steve Burton wrote: > On 26/12/2014 20:37, Adrian Chadd wrote: >> Hi, >> >> I thought gnokii worked on a real serial port, not a ugen device. >> >> ugen is the generic USB device that userland USB drivers would use. >> >> I think gnokii expects the device / port there to be a serial device, >> USB or otherwise. >> >> So, what cable are you using? and whats the output of "dmesg" and >> "usbconfig list" say? >> >> >> >> -adrian >> >> >> On 24 December 2014 at 02:05, Godfrey Hamshire >> wrote: >>> Hello >>> >>> I have got a Nokia N79 and am trying to set it up to send sms's I am >>> not >>> wanting any thing fancy just to send me sms's in addition to the other >>> notification methods I already employ for power outages loss of >>> connectivity >>> etc etc. >>> >>> I have managed to get this far and am stuck >>> >>> Initializing AT capable mobile phone ... >>> Serial device: opening device /dev/ugen4.2 >>> Gnokii serial_open: tcgetattr: Inappropriate ioctl for device >>> Couldn't open ATBUS device: Inappropriate ioctl for device >>> >>> No matter what I try I am unable to proceed beyond this point >>> >>> >>> Google is not much help here I was wondering what suggestions you >>> guys might >>> have. >>> >>> Regards >>> >>> Godfrey >>> >>> >>> >>> >>> root@32.165 ~ # usbconfig ; gnokii --identify >>> ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) >>> pwr=SAVE (0mA) >>> ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH >>> (480Mbps) >>> pwr=SAVE (0mA) >>> ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) >>> pwr=SAVE (0mA) >>> ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) >>> pwr=SAVE (0mA) >>> ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) >>> pwr=SAVE (0mA) >>> ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON >>> (100mA) >>> GNOKII Version 0.6.31 >>> LOG: debug mask is 0x1 >>> Config read from file /usr/local/etc/gnokiirc. >>> phone instance config: >>> model = AT >>> port = /dev/ugen4.2 >>> connection = serial >>> initlength = default >>> serial_baudrate = 115200 >>> serial_write_usleep = 5000 >>> handshake = hardware >>> require_dcd = 0 >>> smsc_timeout = 60 >>> rfcomm_channel = 0 >>> sm_retry = 0 >>> Initializing AT capable mobile phone ... >>> Serial device: opening device /dev/ugen4.2 >>> Gnokii serial_open: tcgetattr: Inappropriate ioctl for device >>> Couldn't open ATBUS device: Inappropriate ioctl for device >>> AT bus initialization failed (1) >>> Initialization failed (1) >>> Serial device: closing device >>> Telephone interface init failed: Command failed. >>> Quitting. >>> Command failed. >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > As I recall, gnokii (and smstools) expects a /dev/cua* device. If your > device is ugen, I think it means unrecognized in this context. > > Steve. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I mis-wrote! smstools definitely uses /dev/cua0 on my server. Steve. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 22:57:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB23EBCB for ; Fri, 26 Dec 2014 22:57:46 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BEC264DB1 for ; Fri, 26 Dec 2014 22:57:46 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id ex7so17855667wid.9 for ; Fri, 26 Dec 2014 14:57:45 -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=vHAnOgYvItQ2hl7ptWAhJ6VyqI3ZobHJthqBAUSw47E=; b=wHvhnx50S8kD59DNiCWm9LKPSsq6DJaw2aVsYAdCNqo5lIuDxBBRD7QzptXcclqitS s6tyFZQdJ2zo2edLFuMNduhXkrn+SazvaotXRY2CC3zhJ+oBF8UeSXLaPyhsdZ3q9snA GRhe37h6MmdyqzlWJ3xeTNV+MJ+suVljBMMr5c0MbWeG0o8W2VflyCYpxAw9DUg1b1vl Cze2R9KrHqKAEgVOX5qO+2SAha3z8dX5TJB1cd6b0l5/KadzEdzW4zCnWD65b6H+sWZX PUtogg4WnfieA+NwWi7BXwIRpQ2gXjexfC2ohixLV5jObuq6JwTkbG99oJEsENcT6MHV LVvw== MIME-Version: 1.0 X-Received: by 10.181.8.193 with SMTP id dm1mr71954721wid.55.1419634664929; Fri, 26 Dec 2014 14:57:44 -0800 (PST) Received: by 10.217.157.195 with HTTP; Fri, 26 Dec 2014 14:57:44 -0800 (PST) In-Reply-To: References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> Date: Fri, 26 Dec 2014 14:57:44 -0800 Message-ID: Subject: Re: Do I want to switch to the new pkg(8) format? From: Chris Stankevitz To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: cpet@sdf.org, freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 22:57:47 -0000 On Fri, Dec 26, 2014 at 9:59 AM, Warren Block wrote: > No, both binary packages and ports require pkg now. It is the only > supported package management tool, and installing ports *is* installing > packages. Warren, Thank you for your replies. I appreciate how careful you are being with your language. Keeping in mind that my FreeBSD vocabulary is not up-to-snuff, can you explain how these two statements can both be simultaneously true: "pkg is the only supported package management tool (and installing ports *is* installing packages)" -Warren Block "portmaster is the recommended tool for upgrading installed ports" -Handbook section 5.5.3.1 If both statement are indeed true, then I must conclude: 1. Upgrading ports is not a "package management" operation. 2. There are many different "operations" you can do with ports and packages. 3. Each "operation" might use a different tool. Sometimes pkg, portmaster, portsnap, make, cvs, pkg_, portsclean, portupgrade, etc. Thank you again, Chris From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:02:30 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B5F4CAF for ; Fri, 26 Dec 2014 23:02:30 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F4C16602B for ; Fri, 26 Dec 2014 23:02:29 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id x13so15241817wgg.33 for ; Fri, 26 Dec 2014 15:02:28 -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=Yc8RDAQfUCE/Xdmk9Ze9xdN4KsSqZ4Beu9rIL9ken84=; b=bDgk9Sy5S3vJISQhadxGt7wjg5TWa3muKF5ICNdRteh+Dma0swM3BG3/tNlWf02Kqv JvrXyu7Y3RV9s8N5Q76AQdw8Kp902aeGgfZ+rJ/g/l1uxJmLm2NTzTSByodZZ89GXNk/ Jced2/8UWCalZkHJKYEn0cXgfhcFxOe92L+NDdswfWNbD/srDz1y9CfxkhfXFlM1GiiZ hFkrjf3OCp5pQvBWf6gGkP+2akMRpueJAzEa2zs/6WcsomtlEdM5RBWM/IRF4a5ueQY0 76I8MdU2JPYC/j0wQjfDWRynEJpWIQ8PG/D8wOiPoIhenfrTOm2xbD8fYUcndd3l9bQW dsgQ== MIME-Version: 1.0 X-Received: by 10.194.92.235 with SMTP id cp11mr9110588wjb.112.1419634948001; Fri, 26 Dec 2014 15:02:28 -0800 (PST) Received: by 10.217.157.195 with HTTP; Fri, 26 Dec 2014 15:02:27 -0800 (PST) In-Reply-To: <20141226171618.GA30541@workbox.Home> References: <20141226171618.GA30541@workbox.Home> Date: Fri, 26 Dec 2014 15:02:27 -0800 Message-ID: Subject: Re: Do I want to switch to the new pkg(8) format? From: Chris Stankevitz To: Bigby James Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:02:30 -0000 On Fri, Dec 26, 2014 at 9:16 AM, Bigby James wrote: > That message is only for folks upgrading a pre-10.0 installation. If you > installed 10.0 or later, any binary packages you install will use the new > format. At present there actually aren't any binary package management tools in > the base system---the 'pkg' command is just a bootstrap that installs pkgng, > which can also be installed from the port in 'ports-mgmt/pkg.' Bigby, Thank you, that is helpful. FYI the only "package-like" command I have ever typed is "portsnap" and "make". I have never typed pkg or pkgng and I'm not sure why I would... except if I wanted to install a pre-compiled binary. So I'm a bit confused as to why someone who only uses "portsnap" and "make" would be asked questions about the "format" of my "pkg". Chris From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:11:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E18BDBE for ; Fri, 26 Dec 2014 23:11:15 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE2AE66170 for ; Fri, 26 Dec 2014 23:11:14 +0000 (UTC) Received: from r56.edvax.de (port-92-195-30-13.dynamic.qsc.de [92.195.30.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id E86723DDF0; Sat, 27 Dec 2014 00:11:05 +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 sBQNB47e003695; Sat, 27 Dec 2014 00:11:04 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 27 Dec 2014 00:11:04 +0100 From: Polytropon To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? Message-Id: <20141227001104.44a2b3f2.freebsd@edvax.de> In-Reply-To: References: <20141226171618.GA30541@workbox.Home> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:11:15 -0000 On Fri, 26 Dec 2014 15:02:27 -0800, Chris Stankevitz wrote: > FYI the only "package-like" command I > have ever typed is "portsnap" and "make". I have never typed pkg or > pkgng and I'm not sure why I would... except if I wanted to install a > pre-compiled binary. So I'm a bit confused as to why someone who only > uses "portsnap" and "make" would be asked questions about the "format" > of my "pkg". When you install a port with "make install", the pkg tools will maintain the system's database of what is being installed and where. This is no separate process. No matter if you just run "make install" or use portmaster or portupgrade, pkg will take actions. You can easily conclude why a command like "make deinstall" works - and how pkg is involved. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:12:01 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84A38E8A for ; Fri, 26 Dec 2014 23:12:01 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A307661B8 for ; Fri, 26 Dec 2014 23:12:00 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBQNBxaw039644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 16:11:59 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBQNBxGe039641; Fri, 26 Dec 2014 16:11:59 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 16:11:59 -0700 (MST) From: Warren Block To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: Message-ID: References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 16:11:59 -0700 (MST) Cc: cpet@sdf.org, freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:12:01 -0000 On Fri, 26 Dec 2014, Chris Stankevitz wrote: > On Fri, Dec 26, 2014 at 9:59 AM, Warren Block wrote: >> No, both binary packages and ports require pkg now. It is the only >> supported package management tool, and installing ports *is* installing >> packages. > > Warren, > > Thank you for your replies. I appreciate how careful you are being > with your language. Keeping in mind that my FreeBSD vocabulary is not > up-to-snuff, can you explain how these two statements can both be > simultaneously true: > > "pkg is the only supported package management tool (and installing > ports *is* installing packages)" -Warren Block > > "portmaster is the recommended tool for upgrading installed ports" > -Handbook section 5.5.3.1 > > > If both statement are indeed true, then I must conclude: > > 1. Upgrading ports is not a "package management" operation. It is. A port is compiled and a package created from it. The old package is deleted and the new package installed. > 2. There are many different "operations" you can do with ports and packages. Well, yes, but installing, deinstalling, and updating are in the realm of package management. > 3. Each "operation" might use a different tool. Sometimes pkg, > portmaster, portsnap, make, cvs, pkg_, portsclean, portupgrade, etc. Well, cvs and pkg_* can be skipped, they are deprecated. portsnap update the ports tree (/usr/ports), not installed packages. portsclean similarly works on the ports tree, not installed packages. portmaster and portupgrade are port upgrade tools. Both are functionally similar, mostly concerned with upgrading multiple ports and getting the dependencies in the right order. portmaster and portupgrade call 'make' to build and do other ports operations. But the port Makefiles call the package management tools when it is time to delete or install packages, like after a new version of a port has been compiled and the make target was "install". Likewise, 'make deinstall' calls 'pkg delete'. So the ports operations may not look like package management commands, but many of them actually are. The whole thing is really pretty amazing, both for the amount of complexity and the relative simplicity of the user interface. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:21:21 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6CD713D for ; Fri, 26 Dec 2014 23:21:21 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58A56662E6 for ; Fri, 26 Dec 2014 23:21:21 +0000 (UTC) Received: from r56.edvax.de (port-92-195-30-13.dynamic.qsc.de [92.195.30.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 12E913E3F1; Sat, 27 Dec 2014 00:21: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 sBQNLIgi003714; Sat, 27 Dec 2014 00:21:18 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 27 Dec 2014 00:21:17 +0100 From: Polytropon To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? Message-Id: <20141227002117.b2d10b46.freebsd@edvax.de> In-Reply-To: References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: cpet@sdf.org, freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:21:22 -0000 On Fri, 26 Dec 2014 14:57:44 -0800, Chris Stankevitz wrote: > Keeping in mind that my FreeBSD vocabulary is not > up-to-snuff, can you explain how these two statements can both be > simultaneously true: > > "pkg is the only supported package management tool (and installing > ports *is* installing packages)" -Warren Block By "management", also keeping the system's records about packages (what is installed, which dependencies exist, where did files get written to, etc.) is meant. Tools like portmaster or a simple "make install" also cause those steps to happen. > "portmaster is the recommended tool for upgrading installed ports" > -Handbook section 5.5.3.1 You can upgrade from source - and use portmaster, or you can upgrade binarily - by using pkg. This works whenever you do not have custom options set when building from source. When you build from source, you basically build a binary package (compare "make package"), and then, this package is being installed. This is nothing much different from the path of obtaining precompiled packages from an external source and then installing those. > If both statement are indeed true, then I must conclude: Your statements aren't wrong per se, but not formed in a way that doesn't allow misunderstandings. :-) > 1. Upgrading ports is not a "package management" operation. It is, as explained. > 2. There are many different "operations" you can do with ports and packages. Correct. > 3. Each "operation" might use a different tool. Sometimes pkg, > portmaster, portsnap, make, cvs, pkg_, portsclean, portupgrade, etc. Allow me to summarize and clarify: pkg -> install, upgrade and remove installed software, keep system database about installed stuff and the depdendencies that may appear portmaster -> interface to the ports tree when building from source, also allows upgrading, but can also be used to deal with binary packages (see -P and -PP options) portsnap -> obtain the latest ports tree (snapshot, often not 100% current, but close) in a compressed format make -> generic interface to Makefiles that control how certain ports actions are performed (install, update, deinstall, reinstall, package, fetch, patch and so on) cvs -> DEPRECATED - tool to check out ports tree from the version control system; today svn (subversion) is being used for interaction with the version control system pkg_ -> DEPRECATED - collection of tools to deal with binary packages portsclean -> see "man portconfig" portupgrade -> comparable to portmaster -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:24:11 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98F801E4 for ; Fri, 26 Dec 2014 23:24:11 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 294D766353 for ; Fri, 26 Dec 2014 23:24:11 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id r20so17887018wiv.8 for ; Fri, 26 Dec 2014 15:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=R1FEIDarwkCp7SfdXOwdv5YVGUOB3yU4rchNu6xOG1U=; b=kaSk4be3FZwZkdsU68ZVIG6huZdApa8u49o9JI7m+YJsx1ZDC0O/2N9Tc5Jf2h/fXY NKDxBfHjFjML7aUtHrXfL/TSFb4ukXBP37SnxYZGile9O6q2uopAlqUizLaOS/ppXgq/ u1yA1mm15Rh2YipODoyiuVqywn5XsUt4M2Gkl19pSlcD5i3+fOOvYogyPdUgYNVaVtBT yx/T23WNZCqi7kESPW4sEAkHyptFB1j/KrtWAuylwtbC5Y/7xGXKhrcU8XRLLpAAzlqD OtLMcB90OHEd6dUWy8nbnLzQ2SSCys9LdAXFAOz7LeNwexVqkpRTWzqn83Lpr9C0mOj9 RaXw== MIME-Version: 1.0 X-Received: by 10.194.84.179 with SMTP id a19mr51251658wjz.96.1419636249639; Fri, 26 Dec 2014 15:24:09 -0800 (PST) Received: by 10.217.157.195 with HTTP; Fri, 26 Dec 2014 15:24:09 -0800 (PST) In-Reply-To: References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> Date: Fri, 26 Dec 2014 15:24:09 -0800 Message-ID: Subject: Re: Do I want to switch to the new pkg(8) format? From: Chris Stankevitz To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: cpet@sdf.org, freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:24:11 -0000 On Fri, Dec 26, 2014 at 3:11 PM, Warren Block wrote: >> 1. Upgrading ports is not a "package management" operation. > > > It is. A port is compiled and a package created from it. The old package > is deleted and the new package installed. How do I use pkg to upgrade all of my ports? I think you said "use pkg for all package management operations" but the handbook says use "pkg upgrade" for binary packages and portmaster for ports. > Well, cvs and pkg_* can be skipped, they are deprecated. > > portsnap update the ports tree (/usr/ports), not installed packages. > portsclean similarly works on the ports tree, not installed packages. > > portmaster and portupgrade are port upgrade tools. Both are functionally > similar, mostly concerned with upgrading multiple ports and getting the > dependencies in the right order. > > portmaster and portupgrade call 'make' to build and do other ports > operations. But the port Makefiles call the package management tools when > it is time to delete or install packages, like after a new version of a port > has been compiled and the make target was "install". Thank you -- perhaps I should just stop beating around the bush and directly ask: can someone give me a list of all the "package related" tools what what they do? Ideally the list will include the tools that I should be using at the top and in a postscript the tools I should not be using because they are too old or for whatever other reason. I find the handbook confusing... for example section 5.4 is titled "Use pkg for binary package management" but you seem to feel otherwise... Thank you, Chris From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:35:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3B4E415 for ; Fri, 26 Dec 2014 23:35:09 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 67F3966526 for ; Fri, 26 Dec 2014 23:35:09 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBQNZ7XE045262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 16:35:07 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBQNZ7OW045259; Fri, 26 Dec 2014 16:35:07 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 16:35:07 -0700 (MST) From: Warren Block To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: Message-ID: References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 16:35:07 -0700 (MST) Cc: cpet@sdf.org, freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:35:09 -0000 On Fri, 26 Dec 2014, Chris Stankevitz wrote: > On Fri, Dec 26, 2014 at 3:11 PM, Warren Block wrote: >>> 1. Upgrading ports is not a "package management" operation. >> >> >> It is. A port is compiled and a package created from it. The old package >> is deleted and the new package installed. > > How do I use pkg to upgrade all of my ports? I think you said "use > pkg for all package management operations" I'm fairly sure I did not say that. :) > but the handbook says use > "pkg upgrade" for binary packages and portmaster for ports. The difference is, essentially, where the packages are built. 'pkg upgrade' looks for newer binary packages in the repository, portmaster or portupgrade will build them locally. > Thank you -- perhaps I should just stop beating around the bush and > directly ask: can someone give me a list of all the "package related" > tools what what they do? Ideally the list will include the tools that > I should be using at the top and in a postscript the tools I should > not be using because they are too old or for whatever other reason. I > find the handbook confusing... for example section 5.4 is titled "Use > pkg for binary package management" but you seem to feel otherwise... No. In reality, even those of us who mostly use ports occasionally see 'pkg' commands. For example, 'pkg info' to list what has been installed. There is no ports make target that does that. The workflow really depends on whether you install from binary packages or ports. Once installed, they are the same thing. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:38:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 237224DB for ; Fri, 26 Dec 2014 23:38:39 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0136.outbound.protection.outlook.com [157.56.110.136]) (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 CDAF6665A9 for ; Fri, 26 Dec 2014 23:38:37 +0000 (UTC) Received: from [10.0.0.21] (73.5.142.244) by BN3PR0301MB0834.namprd03.prod.outlook.com (25.160.154.144) with Microsoft SMTP Server (TLS) id 15.1.49.12; Fri, 26 Dec 2014 23:22:51 +0000 Message-ID: <549DEDC4.5020008@my.hennepintech.edu> Date: Fri, 26 Dec 2014 17:22:44 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Subject: Re: Do I want to switch to the new pkg(8) format? References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [73.5.142.244] X-ClientProxiedBy: BY2PR01CA0048.prod.exchangelabs.com (10.255.242.38) To BN3PR0301MB0834.namprd03.prod.outlook.com (25.160.154.144) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0834; X-Forefront-PRVS: 04371797A5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(6009001)(199003)(24454002)(51704005)(189002)(4396001)(50986999)(83506001)(450100001)(62966003)(77156002)(76176999)(87266999)(46102003)(40100003)(54356999)(65816999)(97736003)(42186005)(80316001)(64126003)(50466002)(59896002)(75432002)(33656002)(93886004)(23676002)(66066001)(99396003)(120916001)(65956001)(107046002)(2351001)(110136001)(107886001)(122386002)(68736005)(101416001)(31966008)(86362001)(92566001)(21056001)(77096005)(20776003)(2950100001)(64706001)(47776003)(105586002)(87976001)(106356001)(89122001)(89472002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB0834; H:[10.0.0.21]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:0; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: my.HennepinTech.edu does not designate permitted sender hosts) X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2014 23:22:51.1340 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB0834 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:38:39 -0000 On 2014.12.26 16:57, Chris Stankevitz wrote: > If both statement are indeed true, then I must conclude: > > 1. Upgrading ports is not a "package management" operation. Incorrect. You can't upgrade anything (and track it) if you don't have a package. Whether you create a package or someone else does is irrelevant. Using normal ports tools builds and installs packages. > > 2. There are many different "operations" you can do with ports and packages. Sure. There's fetching (or updating) the ports tree, calculating dependencies, fetching source code, configuring, building, staging, packaging, installing, and uninstalling (in that order), as well as a few other miscellaneous things. Who goes through all the stages up to and including packaging is again, irrelevant. > > 3. Each "operation" might use a different tool. Sometimes pkg, > portmaster, portsnap, make, cvs, pkg_, portsclean, portupgrade, etc. And ultimately, you install or uninstall a binary package with pkg. The process of getting from ports metadata and a source tarball to a package can involve different tools for different stages. Some tools are wrappers around several of those stages that call other tools (e.g., poudriere and portmaster). You cannot actually do much of anything useful without pkg, since it is responsible for calculating dependencies, creating packages, and installing packages (among other things). From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:41:19 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8026A57B for ; Fri, 26 Dec 2014 23:41:19 +0000 (UTC) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF4B665D5 for ; Fri, 26 Dec 2014 23:41:19 +0000 (UTC) Received: from pd2mr1so-ssvc.prod.shaw.ca ([10.0.141.110]) by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 26 Dec 2014 16:40:11 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=s+0R4JzlRBUW8GXF//6L4/AwYJegyFoFyppZH3AfVto= c=1 sm=1 a=FKkrIqjQGGEA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=pGLkceISAAAA:8 a=s1O25tkdAAAA:8 a=6I5d2MoRAAAA:8 a=W6byqvpjIGo2wQI4y_oA:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO cds005.dcs.int.inet) ([10.0.141.22]) by pd2mr1so-svcs.prod.shaw.ca with ESMTP; 26 Dec 2014 16:40:11 -0700 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: Do I want to switch to the new pkg(8) format? References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> From: Dale Scott MIME-Version: 1.0 In-Reply-To: Message-Id: Date: Fri, 26 Dec 2014 16:40:11 -0700 (MST) To: Chris Stankevitz X-Mailer: Zimbra 7.1.4_GA_2567 (MobileSync - Apple-iPad2C5/1202.440) Cc: "cpet@sdf.org" , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:41:19 -0000 > On Dec 26, 2014, at 2:57 PM, Chris Stankevitz = wrote: >=20 >> On Fri, Dec 26, 2014 at 9:59 AM, Warren Block wrote= : >> No, both binary packages and ports require pkg now. It is the only >> supported package management tool, and installing ports *is* installing >> packages. >=20 > Warren, >=20 > Thank you for your replies. I appreciate how careful you are being > with your language. Keeping in mind that my FreeBSD vocabulary is not > up-to-snuff, can you explain how these two statements can both be > simultaneously true: >=20 > "pkg is the only supported package management tool (and installing > ports *is* installing packages)" -Warren Block >=20 > "portmaster is the recommended tool for upgrading installed ports" > -Handbook section 5.5.3.1 >=20 >=20 > If both statement are indeed true, then I must conclude: >=20 > 1. Upgrading ports is not a "package management" operation. My thinking is that a) the ports system is how software is adapted to FreeB= SD, b) applications can have build options (typically configured via "make = config" before "make install"), and c) if you can live with the "default" o= ptions, then installing pre-compiled packages ("pkg install foo") saves con= siderable time. If you are using pre-compiled packages, then "pkg upgrade" upgrades them. I= f you are compiling from ports, postmaster is my preferred tool to upgrade = ("portmaster foo") (but there are other tools also). If you are using some = packages and installing others by compiling from the ports tree, then you w= ill have to "pkg lock" the ones you are compiling yourself to prevent "pkg = upgrade" from upgrading them using pre-compiled packages (with the "default= " options, not the options which you need, which necessitated you to compil= e them yourself in the first place), upgrade the packages ("pkg upgrade"), = then unlock, upgrade them with portmaster (which will respect your selected= options), then "pkg lock" them again. As someone else noted, pkg is getting smarter every day and will soon be ab= le to sort out exactly how to upgrade (and may even be able to now). >=20 > 2. There are many different "operations" you can do with ports and packag= es. >=20 > 3. Each "operation" might use a different tool. Sometimes pkg, > portmaster, portsnap, make, cvs, pkg_, portsclean, portupgrade, etc. Portsnap is a tool to quickly way update your ports tree, but you still hav= e to compile a port yourself. The cvs management tool was used for the freebsd operating system itself, b= ut has now been replaced with Subversion (svn). Portupgrade is an alternative tool to portmaster. All the pkg_* tools have been replaced by pkg. > Thank you again, >=20 > Chris All the flexibility was confusing when I started with freebsd, but it was s= till less confusing than the differences between the Linux distro's. Google= showed me the popular strategies, and then I just stuck with one. Good luck! Dale > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:43:40 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E6CD61F for ; Fri, 26 Dec 2014 23:43:40 +0000 (UTC) Received: from fly.radel.com (fly.radel.com [70.184.242.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18F4C666D3 for ; Fri, 26 Dec 2014 23:43:39 +0000 (UTC) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.18.5 (ClamAV engine v0.98.5) Received: from [2001:4830:1600:47c::2] (account jon@radel.com HELO [IPv6:2001:4830:1600:47c::2]) by radel.com (CommuniGate Pro SMTP 6.0.11 _community_) with ESMTPSA id 496831 for freebsd-questions@freebsd.org; Fri, 26 Dec 2014 23:43:37 +0000 Message-ID: <549DF2A8.5090704@radel.com> Date: Fri, 26 Dec 2014 18:43:36 -0500 From: Jon Radel User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Do I want to switch to the new pkg(8) format? References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms010504060900040105010403" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:43:40 -0000 This is a cryptographically signed message in MIME format. --------------ms010504060900040105010403 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable On 12/26/14 6:11 PM, Warren Block wrote: > On Fri, 26 Dec 2014, Chris Stankevitz wrote: > >> >> >> 1. Upgrading ports is not a "package management" operation. > > It is. A port is compiled and a package created from it. The old=20 > package is deleted and the new package installed. > Or as I like to think of the big divide, you have a choice between: 1) Compiling a port to produce a package, possibly with other than=20 default options and other localization, or 2) Download a package that was compiled by somebody else from the port=20 using the defaults. As an aside, the fact that making a port results in a package is=20 somewhat more visible in OpenBSD; in FreeBSD the level of automation=20 that "just works" is rather amazing IMHO. --Jon Radel jon@radel.com --------------ms010504060900040105010403 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILBDCC BRowggQCoAMCAQICEG0Z6qcZT2ozIuYiMnqqcd4wDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNV BAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoT FVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2VydHJ1c3Qu Y29tMTYwNAYDVQQDEy1VVE4tVVNFUkZpcnN0LUNsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQg RW1haWwwHhcNMTEwNDI4MDAwMDAwWhcNMjAwNTMwMTA0ODM4WjCBkzELMAkGA1UEBhMCR0Ix GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE ChMRQ09NT0RPIENBIExpbWl0ZWQxOTA3BgNVBAMTMENPTU9ETyBDbGllbnQgQXV0aGVudGlj YXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC ggEBAJKEhFtLV5jUXi+LpOFAyKNTWF9mZfEyTvefMn1V0HhMVbdClOD5J3EHxcZppLkyxPFA GpDMJ1Zifxe1cWmu5SAb5MtjXmDKokH2auGj/7jfH0htZUOMKi4rYzh337EXrMLaggLW1DJq 1GdvIBOPXDX65VSAr9hxCh03CgJQU2yVHakQFLSZlVkSMf8JotJM3FLb3uJAAVtIaN3FSrTg 7SQfOq9xXwfjrL8UO7AlcWg99A/WF1hGFYE8aIuLgw9teiFX5jSw2zJ+40rhpVJyZCaRTqWS D//gsWD9Gm9oUZljjRqLpcxCm5t9ImPTqaD8zp6Q30QZ9FxbNboW86eb/8ECAwEAAaOCAUsw ggFHMB8GA1UdIwQYMBaAFImCZ33EnSZwAEu0UEh83j2uBG59MB0GA1UdDgQWBBR6E04AdFvG eGNkJ8Ev4qBbvHnFezAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADARBgNV HSAECjAIMAYGBFUdIAAwWAYDVR0fBFEwTzBNoEugSYZHaHR0cDovL2NybC51c2VydHJ1c3Qu Y29tL1VUTi1VU0VSRmlyc3QtQ2xpZW50QXV0aGVudGljYXRpb25hbmRFbWFpbC5jcmwwdAYI KwYBBQUHAQEEaDBmMD0GCCsGAQUFBzAChjFodHRwOi8vY3J0LnVzZXJ0cnVzdC5jb20vVVRO QWRkVHJ1c3RDbGllbnRfQ0EuY3J0MCUGCCsGAQUFBzABhhlodHRwOi8vb2NzcC51c2VydHJ1 c3QuY29tMA0GCSqGSIb3DQEBBQUAA4IBAQCF1r54V1VtM39EUv5C1QaoAQOAivsNsv1Kv/av QUn1G1rF0q0bc24+6SZ85kyYwTAo38v7QjyhJT4KddbQPTmGZtGhm7VNm2+vKGwdr+XqdFqo 2rHA8XV6L566k3nK/uKRHlZ0sviN0+BDchvtj/1gOSBH+4uvOmVIPJg9pSW/ve9g4EnlFsjr P0OD8ODuDcHTzTNfm9C9YGqzO/761Mk6PB/tm/+bSTO+Qik5g+4zaS6CnUVNqGnagBsePdIa XXxHmaWbCG0SmYbWXVcHG6cwvktJRLiQfsrReTjrtDP6oDpdJlieYVUYtCHVmdXgQ0BCML7q peeU0rD+83X5f27nMIIF4jCCBMqgAwIBAgIQUaWQdTU6RvxxeOjTUN4DtDANBgkqhkiG9w0B AQUFADCBkzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxOTA3BgNVBAMTMENP TU9ETyBDbGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTAeFw0xMjAz MjcwMDAwMDBaFw0xNTAzMjcyMzU5NTlaMIH6MQswCQYDVQQGEwJVUzEOMAwGA1UEERMFMjIx NTAxCzAJBgNVBAgTAlZBMRQwEgYDVQQHEwtTcHJpbmdmaWVsZDEaMBgGA1UECRMRNjkxNyBS aWRnZXdheSBEci4xFTATBgNVBAoTDEpvbiBULiBSYWRlbDEyMDAGA1UECxMpSXNzdWVkIHRo cm91Z2ggSm9uIFQuIFJhZGVsIEUtUEtJIE1hbmFnZXIxHzAdBgNVBAsTFkNvcnBvcmF0ZSBT ZWN1cmUgRW1haWwxEjAQBgNVBAMTCUpvbiBSYWRlbDEcMBoGCSqGSIb3DQEJARYNam9uQHJh ZGVsLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMuufqoh9QnyjZTH7UdO wpx6XnRz/94zoK1C1SaAepIRMyInXiwOVwT7iXKtkeRGEQA2vwTyqu5JVcvWkGxlTWPACgDW dDE3296Up2K9CFfrm+RKdlc6xfMklR7qQWyNw5ULkeOZZOIoSAlVAJPhjIvHcf0UPxjTqgtP 4JafBBvL8RFhMAm74I1kWltMcFPVm1sLFDR1CDZ48/zqmhK/0ppbiBGapi8vAO382laFgHaN 8ODBFBffom5zjL/I9SggGGAdtwi7Vp2cjzgtuNVyORPv5Jz9zLylVKlhNvyq3VjbWXuJNw0E J03F/UkjQsqsCkQnSdHAxtPkGhoBw/UvqEsCAwEAAaOCAccwggHDMB8GA1UdIwQYMBaAFHoT TgB0W8Z4Y2QnwS/ioFu8ecV7MB0GA1UdDgQWBBR8oxwxzLSB4/equQ4EqdH5Fld3sTAOBgNV HQ8BAf8EBAMCBaAwDAYDVR0TAQH/BAIwADAdBgNVHSUEFjAUBggrBgEFBQcDBAYIKwYBBQUH AwIwRgYDVR0gBD8wPTA7BgwrBgEEAbIxAQIBAwUwKzApBggrBgEFBQcCARYdaHR0cHM6Ly9z ZWN1cmUuY29tb2RvLm5ldC9DUFMwVwYDVR0fBFAwTjBMoEqgSIZGaHR0cDovL2NybC5jb21v ZG9jYS5jb20vQ09NT0RPQ2xpZW50QXV0aGVudGljYXRpb25hbmRTZWN1cmVFbWFpbENBLmNy bDCBiAYIKwYBBQUHAQEEfDB6MFIGCCsGAQUFBzAChkZodHRwOi8vY3J0LmNvbW9kb2NhLmNv bS9DT01PRE9DbGllbnRBdXRoZW50aWNhdGlvbmFuZFNlY3VyZUVtYWlsQ0EuY3J0MCQGCCsG AQUFBzABhhhodHRwOi8vb2NzcC5jb21vZG9jYS5jb20wGAYDVR0RBBEwD4ENam9uQHJhZGVs LmNvbTANBgkqhkiG9w0BAQUFAAOCAQEAJB+JWM2MbG5rR7/RCEm8bQRziBfl/FztfoV6dDGU Y0uTRegiwM2LA/GHGju7xtp49MrcmEciZs6Di2pvGzS5m/v5IBT0gMK6dyplBmBe4BXzwckE 1MH/iui+VstVHds+36SsQqPCtVmFWlX6QN56F6aGSCjI27f2mUYL3NBr6DPsslRIhF9PamKQ Bp4Y25/hnd+paEGIF6AZM3Uv7TvsTdCaBOt3dLrwUIpyQex5yqO8GPKWwgEPKxKiro7uLNNY yZU4dEEenQIi/4SD49XHd9Zqwf60jKVPeZjcrK7QSSQ8dlOYOGH60WBBFVwD1CCBCLSJnglY Dwh5wcgQG9ZRvjGCBBkwggQVAgEBMIGoMIGTMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3Jl YXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01PRE8gQ0Eg TGltaXRlZDE5MDcGA1UEAxMwQ09NT0RPIENsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQgU2Vj dXJlIEVtYWlsIENBAhBRpZB1NTpG/HF46NNQ3gO0MAkGBSsOAwIaBQCgggJFMBgGCSqGSIb3 DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE0MTIyNjIzNDMzNlowIwYJKoZI hvcNAQkEMRYEFEvZVO66ysQH0dYmVGZr4K1yH5z4MGwGCSqGSIb3DQEJDzFfMF0wCwYJYIZI AWUDBAEqMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgbkGCSsGAQQBgjcQBDGBqzCBqDCB kzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMH U2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxOTA3BgNVBAMTMENPTU9ETyBD bGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQQIQUaWQdTU6RvxxeOjT UN4DtDCBuwYLKoZIhvcNAQkQAgsxgauggagwgZMxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJH cmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBD QSBMaW1pdGVkMTkwNwYDVQQDEzBDT01PRE8gQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBT ZWN1cmUgRW1haWwgQ0ECEFGlkHU1Okb8cXjo01DeA7QwDQYJKoZIhvcNAQEBBQAEggEASEMc KnQ88RU2TEZyO9PBlcwxkUPudnfS2b294zxC63ggEPlxYK70K95iBeeTUtHKTxPlosZDj3Ij Pveis9wFVup811FmYacFWnKhgBPB8cPgUv0jhLQTIfSO2QhyHVjJ9L15Q7JekhaUFbtCBN7U PzDvObligv7rsKFOP9ETuL9FyX7lthujWfmdLtVPnwN99vPEfJtNlVyP8GEbVDTpvyyPlyr/ afgGoZsQtVIiPgCBmkmsXk0O7fkeOwQ0cvEw6/fi55LQl+eAaAoLl+qBZhpsgkhoiJ0+bvoW lmpQXHlQj4t9PshnF8q1y6B+i5yeFl4j+xMq3UviDcNGYe7BvwAAAAAAAA== --------------ms010504060900040105010403-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:45:49 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB5BC6D5 for ; Fri, 26 Dec 2014 23:45:49 +0000 (UTC) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79205666FE for ; Fri, 26 Dec 2014 23:45:49 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id b13so15147343wgh.3 for ; Fri, 26 Dec 2014 15:45:46 -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=XRFFbO91cbqp0SpmU4tp1WJp3kXstq5zACzPv/P3Kjw=; b=AhOBlvnRUYuFOHQEyBNhRrBP0xNPXchTTTXHLGs67Wrskrb1gmbhq9qVzXnZXU3wnF fyr8SyEFzcLEphdVWIkqDfnLHs60AQqYllionCqHfzCEoI4zZ3aO09cwSH8oxm7ql1q3 JT4rzSvkvkHo2hrr+Irvxy+hyhU9os7CgepucN6eaCXctN96vX2MI0Yx2+JI9yspYrxH WSHSx9f+y6Egbz83pIfVQI1mij5VjG2xyxnTp5Z6Dse1opWj7ncMozXOZxRttV2peYrm 6fzTrOi8o1inzZ9kl7VXehVYWTvAQZ4sePoKrFA4nUkRpNqzGXfO4a6vM5tKTF0rjtW1 I07g== MIME-Version: 1.0 X-Received: by 10.181.8.193 with SMTP id dm1mr72197065wid.55.1419637546843; Fri, 26 Dec 2014 15:45:46 -0800 (PST) Received: by 10.217.157.195 with HTTP; Fri, 26 Dec 2014 15:45:46 -0800 (PST) In-Reply-To: References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> Date: Fri, 26 Dec 2014 15:45:46 -0800 Message-ID: Subject: Re: Do I want to switch to the new pkg(8) format? From: Chris Stankevitz To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: cpet@sdf.org, freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:45:50 -0000 On Fri, Dec 26, 2014 at 3:35 PM, Warren Block wrote: >> How do I use pkg to upgrade all of my ports? I think you said "use >> pkg for all package management operations" > > > I'm fairly sure I did not say that. :) Early in this thread you said "No, both binary packages and ports require pkg now. It is the only supported package management tool, and installing ports *is* installing packages." -- that is what got me going but apparently I misunderstood. Chris From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 23:50:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ACBF4802 for ; Fri, 26 Dec 2014 23:50:35 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0137.outbound.protection.outlook.com [65.55.169.137]) (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 31C4D66760 for ; Fri, 26 Dec 2014 23:50:34 +0000 (UTC) Received: from [10.0.0.21] (73.5.142.244) by CY1PR0301MB0841.namprd03.prod.outlook.com (25.160.163.147) with Microsoft SMTP Server (TLS) id 15.1.49.12; Fri, 26 Dec 2014 23:50:25 +0000 Message-ID: <549DF43B.4060006@my.hennepintech.edu> Date: Fri, 26 Dec 2014 17:50:19 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Subject: Re: Do I want to switch to the new pkg(8) format? References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> <549DF2A8.5090704@radel.com> In-Reply-To: <549DF2A8.5090704@radel.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [73.5.142.244] X-ClientProxiedBy: BY2PR01CA0054.prod.exchangelabs.com (10.255.242.44) To CY1PR0301MB0841.namprd03.prod.outlook.com (25.160.163.147) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0841; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:CY1PR0301MB0841; X-Forefront-PRVS: 04371797A5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(189002)(199003)(24454002)(107046002)(99396003)(75432002)(107886001)(120916001)(83506001)(46102003)(20776003)(21056001)(50986999)(64706001)(42186005)(47776003)(93886004)(59896002)(65816999)(92566001)(86362001)(450100001)(89122001)(76176999)(54356999)(87266999)(23676002)(77156002)(40100003)(62966003)(64126003)(101416001)(66066001)(77096005)(50466002)(122386002)(65956001)(2351001)(106356001)(68736005)(97736003)(80316001)(33656002)(31966008)(110136001)(2950100001)(105586002)(87976001)(4396001)(89472002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB0841; H:[10.0.0.21]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: my.HennepinTech.edu does not designate permitted sender hosts) X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB0841; X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2014 23:50:25.9535 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0841 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 23:50:35 -0000 On 2014.12.26 17:43, Jon Radel wrote: > 2) Download a package that was compiled by somebody else from the port > using the defaults. More accurately: 2) Download a package that was compiled by somebody else from the port using the options specified by that person. The official repo uses the defaults, but you can use any repo (including your own with your own specified options and even your own custom ports tree if you are so inclined) and it's pretty transparent to the client box once configured. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 00:11:53 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4707BD7E for ; Sat, 27 Dec 2014 00:11:53 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.155]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 30DF467754 for ; Sat, 27 Dec 2014 00:11:52 +0000 (UTC) Received: from workbox.Home (184-100-71-241.mpls.qwest.net [184.100.71.241]) by mx.zohomail.com with SMTPS id 1419639109485524.4008701079596; Fri, 26 Dec 2014 16:11:49 -0800 (PST) Date: Fri, 26 Dec 2014 18:11:46 -0600 From: Bigby James To: freebsd-questions@freebsd.org Subject: Re: Do I want to switch to the new pkg(8) format? Message-ID: <20141227001146.GA1884@workbox.Home> References: <20141226171618.GA30541@workbox.Home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-ZohoMailClient: External X-Zoho-Virus-Status: 2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 00:11:53 -0000 On 12/26, Warren Block wrote: > > That message is only for folks upgrading a pre-10.0 installation. If you > > installed 10.0 or later, any binary packages you install will use the new > > format. > > As will ports. pkg is not just for binary packages, it is a package > management system and ports use it also. True enough. I usually prefer install and upgrade software from the ports tree, but use 'pkg delete && pkg autoremove' to get rid of unwanted build dependencies and/or software I only installed for testing purposes. Uniting both binary and source software management under a single system is a huge plus in my opinion. The OP mentioned being a Gentoo user, but the current state of package/ports management in FreeBSD is quite similar to that of Arch Linux: software may be installed either via binary packages or built from source code, but both means utilize a shared database and building ports now stores a binary package in a local cache. It seems perfectly sensible to install most software from packages and use the ports system just for build customizations. The only hitch I see is that if you build software from ports and then update your system with 'pkg upgrade,' pkgng will reinstall your customized ports with default settings. There may be a way to avoid this, but either the man page doesn't mention it or I've overlooked it. -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 00:30:42 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1B9D2351 for ; Sat, 27 Dec 2014 00:30:42 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A253A679B8 for ; Sat, 27 Dec 2014 00:30:41 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id h11so17916494wiw.13 for ; Fri, 26 Dec 2014 16:30:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=A7lhpuUeJtSDgfT94OZa2rWPFpq680TQrFwJhZLGf1Q=; b=M3CfJSWwOUT5S8/uQw/tOvhlz+6qAW7rjs7cttAfTz/bUzBY7k04EWhIwECYly1ok5 XZMan41G1PvTfYojWrPHQppJbD4otPo/D5nB7K7X0ITGEgmQa0OsiEJoIQFPLFQxFMMU zepb8QdWrxpyrpd6Pur6eFi1aUAZEgmMIvIOws115Mnr2fACRjTY0G6VXvoovkWjx/9h b4AUTBVP7EKWTFzp803dqQBGvFFCNX8l9a6Tbdw9uSRnK1/VBNy2Fyu1KQZm2DIlzXZ1 l9lfKPgS2a9iwBcgoeV5pCfdEqTCmMj2gkIn8dGU4InoTUl1XrfwjQBwXiOLFY55P+0N qQaA== MIME-Version: 1.0 X-Received: by 10.180.228.108 with SMTP id sh12mr49893551wic.55.1419640240014; Fri, 26 Dec 2014 16:30:40 -0800 (PST) Received: by 10.217.157.195 with HTTP; Fri, 26 Dec 2014 16:30:39 -0800 (PST) In-Reply-To: References: Date: Fri, 26 Dec 2014 16:30:39 -0800 Message-ID: Subject: Re: Do I want to switch to the new pkg(8) format? From: Chris Stankevitz To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 00:30:42 -0000 Thank you all for your help. A summary: 1. Packages can be installed from "source ports" or "binary packages". -- actually I knew that all along but thank you to you all for remind me so many times. 2. To install a binary package use "pkg" 3. To install a "source port" use "make" 4. To uninstall a "binary package" use "pkg" 5. To uninstall a "source port", use "pkg" or use "make deinstall" 6. To upgrade your "source ports" use "portsnap fetch install" and "portmaster". 7. To upgrade your "binary packages" use ???? (don't really care... but just adding it to be complete) 8. To remove unneeded "source ports", use "portmaster -l" or "pkg auto remove" (even though this is described in section 5.4 of the handbook "Using pkg for Binary Package Management"). Do not use pkg_cutleaves. 9. Do not use cvs or pkg_ or pkgng 10. If you are ever asked "to switch to the new pkg(8) format" say YES, even if you are using source ports. 11. If you are feeling frisky, upgrade your source ports with portupgrade instead of portmaster And summarized even further: - When you want to install a binary package, use pkg - When you want to list or remove installed software, whether it was installed via source or binary packages use pkg - When you want to install or upgrade using source use (portsnap AND make AND (postmaster OR portupgrade)). === Thank you again, Chris From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 00:35:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34066431 for ; Sat, 27 Dec 2014 00:35:16 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CFC8B67A1B for ; Sat, 27 Dec 2014 00:35:15 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBR0ZDnT060110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 17:35:13 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBR0ZDw0060107; Fri, 26 Dec 2014 17:35:13 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 17:35:13 -0700 (MST) From: Warren Block To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: Message-ID: References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 17:35:13 -0700 (MST) Cc: cpet@sdf.org, freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 00:35:16 -0000 On Fri, 26 Dec 2014, Chris Stankevitz wrote: > On Fri, Dec 26, 2014 at 3:35 PM, Warren Block wrote: >>> How do I use pkg to upgrade all of my ports? I think you said "use >>> pkg for all package management operations" >> >> >> I'm fairly sure I did not say that. :) > > Early in this thread you said "No, both binary packages and ports > require pkg now. It is the only supported package management tool, > and installing ports *is* installing packages." -- that is what got me > going but apparently I misunderstood. To clarify: the old package management system (pkg_* commands) is no longer supported. Whether you install from ports or binary packages, pkg is now required. Or rather, the old pkg_* commands and database are no longer supported and do not work with the current version of the ports tree. Something I've been meaning to do was a sort of mini-FAQ on pkg. It might help here: http://www.wonkity.com/~wblock/docs/html/pkg.html (Thanks to robak on IRC for suggestions!) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 00:42:43 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D90BE59F for ; Sat, 27 Dec 2014 00:42:43 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1BE367B6F for ; Sat, 27 Dec 2014 00:42:43 +0000 (UTC) Received: from dutch.freebsd.net ([172.15.184.248]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0M1W2B-1XlMOK0inx-00tRV1 for ; Sat, 27 Dec 2014 01:42:37 +0100 Message-ID: <549E007B.8090101@gmx.us> Date: Fri, 26 Dec 2014 19:42:35 -0500 From: Dutch Ingraham User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Do I want to switch to the new pkg(8) format? References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:0tBeHrvwzYQrKxj1ADkDKPoWKQBB68MmF8sBs1NsmhbQGZ2Emjy eBInlE9lNnl1u+om2FkBobfMgbLtQ0UlyIxFHcwgFflE5e+g87WJItvapGovBObq2sqjaKe sweDN6zRFVjkOpfCFNW/8lTa0gY0LwiX7h/gZ+qXbyTaG/S4dTXIXFzm7tYBnSds6IWFDjT wFeoGJw562Mcdo9lhC9Ug== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 00:42:43 -0000 On 12/26/14 11:47, Chris Stankevitz wrote: > Hello, > > I am familiar with the gentoo "portage" system but I am unfamiliar > with the freebsd system. I prefer to compile ports. > > While I am familiar with "make install", I do not know how to upgrade > all the ports I previously installed (equivalent to gentoo's "emerge > -Dauv world"). Section 5.5.3.1 of the handbook says that I should use > portmaster. When I install portmaster I get a friendly reminder: > > "If you want to switch to the new pkg(8) format, and have not already > done so, there are some extra 1-time steps to take" > > Can you guys help me answer these questions: > > 1. Do I want to switch to the new pkg(8) format? > > 2. If yes, have I already done so? > > Thank you, > > Chris > > PS: I'm running 10.1-RELEASE-p3 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I'm fairly new to FreeBSD, coming over from Gentoo and other Linuxes. The *BSDs do things a little differently and that can be confusing for someone like me who had only learned one way at that point. Sorry if some of this seems a little pedantic, but it took me a while to figure out and from the number of times I've seen it come up, I think it might help. The following is how I've come to understand FreeBSD basic software management; I would hope Warren or others would correct my understanding if any of the following is incorrect or inaccurate. A FreeBSD OS is made up of two main parts: a. Base; b. Third-party applications. Base can further be defined as the kernel plus userland (all of the executables found in /bin, for example.) When you install FreeBSD, all you have at that point is Base. Base is maintained with the freebsd-update(8) tool. I believe there are generally only security patches to Base between releases (10.0-RELEASE to 10.1-RELEASE, for example.) If you run it will print which patch level your system is at for both kernel and userland. (This applies to -RELEASE, not -STABLE nor -CURRENT.) That's it for Base. You can then customize your OS with third-party applications to your liking. Third-party applications (those found by clicking the "ports" link on the FreeBSD homepage) can be installed in two ways: binary "packages" (not to be confused with pkg (8)) or by using the ports system. Binary packages are installed, deleted, updated, and otherwise manipulated with the pkg (8) tool. Binary packages are compiled by FreeBSD in roughly the same way you would compile locally. Ports, on the other hand, are *instructions* for compiling on your local system. Ports do not contain the source code; a port only contains a Makefile script (and some other files) which is called by make (1), which then downloads the source code, manipulates it (./configure, etc.), and **turns it into a binary "package"** which is then used by pkg (8) just like if you had used pkg (8) to install the binary in the first place. It has been suggested, though, that one should not mix the method of installation of third-party applications; choose either the use of pre-made binary packages or roll your own locally. There are two primary ways to populate an empty ports tree at /usr/ports: using the portsnap (8) utility or by using subversion. The tree is then updated using the same specific tool you used to populate. Once you have a current tree, there are generally three ways to build the port (i.e., make a binary, executable "package" out of it): make (1), the portmaster (8) tool, or the portupgrade tool. They are not mutually exclusive, i.e., you can install a port with then later upgrade it with . The most important point, though, is that once a "port" or "package" is compiled locally into a binary, pkg (8) is used to install it (this happens automatically by way of the Makefile). (Further, if you did not change the configure options when building locally, you should have exactly the same third-party application on you local box as you would have had had you just installed the binary package.) You can then use the considerable power of pkg (8) to delete the package, gather information about the package, etc. Some of the things that can be done with pkg (8) can also be done with portmaster (8), so there is overlap, but it is your choice which to use. Hope this helps. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 00:48:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52462877 for ; Sat, 27 Dec 2014 00:48:58 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0317867C2D for ; Sat, 27 Dec 2014 00:48:57 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBR0mu7Z063535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 17:48:56 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBR0muw4063532; Fri, 26 Dec 2014 17:48:56 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 17:48:56 -0700 (MST) From: Warren Block To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 17:48:56 -0700 (MST) Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 00:48:58 -0000 On Fri, 26 Dec 2014, Chris Stankevitz wrote: > Thank you all for your help. A summary: > > 8. To remove unneeded "source ports", use "portmaster -l" or "pkg auto > remove" (even though this is described in section 5.4 of the handbook > "Using pkg for Binary Package Management"). Do not use pkg_cutleaves. Actually, pkg_cutleaves is a port and should be okay to use. The name is due to it trying to look like the old pkg_* system programs. Probably we should say "do not use /usr/sbin/pkg_*". > 9. Do not use cvs or pkg_ or pkgng The last one is pkg, but as far as names go, pretty much. > 10. If you are ever asked "to switch to the new pkg(8) format" say > YES, even if you are using source ports. Thank you. :) Switching is a one-time thing, too. > 11. If you are feeling frisky, upgrade your source ports with > portupgrade instead of portmaster portupgrade works okay, unless Ruby or ruby-bdb are upgraded, and then it trips over its own feet. portmaster is just sh, and does not have that problem. ("Frisky as a squid on Tuesday") From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 00:52:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34F09AFB for ; Sat, 27 Dec 2014 00:52:46 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD8F767D0D for ; Sat, 27 Dec 2014 00:52:45 +0000 (UTC) Received: from r56.edvax.de (port-92-195-30-13.dynamic.qsc.de [92.195.30.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2B3193E7F6; Sat, 27 Dec 2014 01:52:42 +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 sBR0qgSw004006; Sat, 27 Dec 2014 01:52:42 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 27 Dec 2014 01:52:42 +0100 From: Polytropon To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? Message-Id: <20141227015242.6fe2738c.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 00:52:46 -0000 On Fri, 26 Dec 2014 16:30:39 -0800, Chris Stankevitz wrote: > Thank you all for your help. A summary: > > 1. Packages can be installed from "source ports" or "binary packages". > -- actually I knew that all along but thank you to you all for remind > me so many times. Correct. Keep in mind that "source port" doesn't _neccessarily_ require source. The ports tree also contains software that is not available in source form, for example the "Flash" stuff: In this case, "make install" will download and install binary software that isn't being compiled on your system, because the code is not open source. > 2. To install a binary package use "pkg" Yes. > 3. To install a "source port" use "make" Or a port management tool; portmaster can be used to install software that's currently not on your system, and it can do this in both ways - from source or via binary packages. > 4. To uninstall a "binary package" use "pkg" Yes. > 5. To uninstall a "source port", use "pkg" or use "make deinstall" Yes. > 6. To upgrade your "source ports" use "portsnap fetch install" and "portmaster". Try to say it in a more correct way: With portsnap, you will update your ports _tree_ (/usr/ports), and with portmaster, you will update your _installed_ ports (/usr/local). > 7. To upgrade your "binary packages" use ???? (don't really care... > but just adding it to be complete) You can use pkg here. > 8. To remove unneeded "source ports", use "portmaster -l" or "pkg auto > remove" (even though this is described in section 5.4 of the handbook > "Using pkg for Binary Package Management"). Do not use pkg_cutleaves. > 9. Do not use cvs or pkg_ or pkgng CVS and the pkg_* tools cannot be used anymore (except you're running an older version of FreeBSD, but the required counter- parts, server-wise, don't exist anymore). NB: pkgng == pkg. > 10. If you are ever asked "to switch to the new pkg(8) format" say > YES, even if you are using source ports. Yes. And it will only happen on older installations (v9). > 11. If you are feeling frisky, upgrade your source ports with > portupgrade instead of portmaster This is a question of preference: some people use portupgrade, others prefer portmaster. In terms of functionality, they are considered "almost the same", even though portmaster seems to receive more active development and evolution. > And summarized even further: > > - When you want to install a binary package, use pkg Yes - except, of course, you use portmaster -P, but in the end, this involves pkg in the mentioned manner. > - When you want to list or remove installed software, whether it was > installed via source or binary packages use pkg Correct, pkg offers the tools that interface with the system's database. > - When you want to install or upgrade using source use (portsnap AND > make AND (postmaster OR portupgrade)). Let's split this apart: 1: update = ( svn | portsnap ) 2: install or upgrade = ( make | portmaster | portupgrade ) Note that especially tasks like "update the tree, then update the installed stuff" are easier to achieve with portmaster than with make, even though it's possible. But imagine you have to walk through your ports tree and "make deinstall && make reinstall" in every imaginable weird order, compared to what the EXAMPLES section of "man portmaster" has to offer. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 00:57:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51A33CE2 for ; Sat, 27 Dec 2014 00:57:09 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0259C67D68 for ; Sat, 27 Dec 2014 00:57:08 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBR0v7XC065524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 17:57:07 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBR0v71G065521; Fri, 26 Dec 2014 17:57:07 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 17:57:07 -0700 (MST) From: Warren Block To: Dutch Ingraham Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: <549E007B.8090101@gmx.us> Message-ID: References: <549E007B.8090101@gmx.us> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 17:57:07 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 00:57:09 -0000 On Fri, 26 Dec 2014, Dutch Ingraham wrote: > Once you have a current tree, there are generally three ways to build > the port (i.e., make a binary, executable "package" out of it): make (1), the > portmaster (8) tool, or the portupgrade tool. They are not mutually > exclusive, i.e., you can install a port with make install clean> then later upgrade it with . Right. Really, all that portmaster or portupgrade do is automate some of the steps. Both of these tools grew out of the problem of upgrading. When there are several things to upgrade, packages which are required by the others must be upgraded first. portmaster/portupgrade sort out the dependencies and build the requirements in the right order. They do that by using the standard port make targets. In fact, it is possible to get them to show a list of what they would do, and then do it by hand yourself. What I'm trying to say is that they automate the process, but it is still the ports system that is doing the building. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:05:59 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB1A6DF0 for ; Sat, 27 Dec 2014 01:05:59 +0000 (UTC) Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 370DA67E61 for ; Sat, 27 Dec 2014 01:05:59 +0000 (UTC) Received: by mail-lb0-f180.google.com with SMTP id l4so8859767lbv.25 for ; Fri, 26 Dec 2014 17:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=PFCJJKyUUIbUpc1GLXIOXnkji77LyXHN8mLComVHXAs=; b=iJmcbU0wkNefdt9XF1htNMeeqc8j1VDG1VBOCyKRYIWhyGcE3TsQVtng4dAtckG4RK NI5SfTpwXOz1DQU+hjl0C1D1zdG6fRMJqae5EEgGepA5he5Y6gX7SlKPNSMXjyhZucBo KZrzIpGUwzilAY+ezze3TiN/5y8ccIqB41bCobX0wtl139V3nGUJ7UUHSawo/X+/F2oC JaDAHk0+Bm96UsHEhKW2go/KcyJk6MB8w7C3dbwvuJwb6i9fsD728vh0FRVobSMn+/Al BSrpGkgfUUwSKhYE66ZNjUIJ7QlRd6+TQNBTMehbMHy+MC3qC55b/8InAyBpRARYfoZM V/iA== X-Received: by 10.152.5.132 with SMTP id s4mr45861902las.39.1419642357251; Fri, 26 Dec 2014 17:05:57 -0800 (PST) Received: from lazlar.no-ip.biz (213-64-218-92-no126.business.telia.com. [213.64.218.92]) by mx.google.com with ESMTPSA id 1sm4552086lal.20.2014.12.26.17.05.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Dec 2014 17:05:56 -0800 (PST) Message-ID: <549E05F4.7090704@gmail.com> Date: Sat, 27 Dec 2014 02:05:56 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Do I want to switch to the new pkg(8) format? References: <549E007B.8090101@gmx.us> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 01:05:59 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2014-12-27 01:57, Warren Block wrote: > On Fri, 26 Dec 2014, Dutch Ingraham wrote: > >> Once you have a current tree, there are generally three ways to >> build the port (i.e., make a binary, executable "package" out of >> it): make (1), the portmaster (8) tool, or the portupgrade tool. >> They are not mutually exclusive, i.e., you can install a port >> with then >> later upgrade it with . > > Right. Really, all that portmaster or portupgrade do is automate > some of the steps. > > Both of these tools grew out of the problem of upgrading. When > there are several things to upgrade, packages which are required by > the others must be upgraded first. portmaster/portupgrade sort out > the dependencies and build the requirements in the right order. > They do that by using the standard port make targets. In fact, it > is possible to get them to show a list of what they would do, and > then do it by hand yourself. What I'm trying to say is that they > automate the process, but it is still the ports system that is > doing the building. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions To > unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Whatever happened to portmanager? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUngXkAAoJEPJMW41Co4JgFMIQAJUcgWaDMELANfD0B5SHuuIH PheqhSvdeZvBFI/RQY2A8bGgot+7oHdVTLsmvnrYS6nt4Glm3yYwWMStaxsSY1y8 erKK08/di+7Ww0UaHUAiO901XPN1Jf/5egZcXqPmKKQkvXERrtSeLxrUuv/+xk9x cNg6gKgP2EOYnnliY4wknPSDxmB2cnrfMVB8yPb0ye0agXDpcUC8rl7Hve+intQ7 uB72BVArn2JFIB4bCwvvUG6bmjcTl4DmsnLCQ1p7fR61OMTRTj+GQz4c4acE05Gb kIE2ZY/APXjm5rL1CAooZAb4/vasWD9HKPEsVWs2GHjWe+iGldGRyEjq/JXSe+o/ rIH6tJmTGcG1M9m/bM1UQFXNrxVqPDfmWdYtfrP9Vfxs0in/ETzy5KOkwZoP1bsV 4K/0yGqkwPn+53AnVGaxcP5dfr7iIKtUAnSUAzI9ku7mjWkT753DdF6anqBrDhXU MjT9xV2gzCVSNGGn5qSkgxGoIp/5VXpqpJwO1PVHjXqfnjyTYzByG8Yt5yXiwL+z CPnBjbq3IEilPbA9tJN+kYZF5EeGXNxUKZLuUxEbQh3dB8McsQ1cgBdk8jxQbpR0 mUCH7kjGPhoRzQ9Eaio0vM/WRQAdI09axnCP5lcbuAqGw1N4sxg58PGPSfXB0AXh cS0+C73Rf8Ja1zioivRU =F7ZK -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:07:17 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26E8DFCA for ; Sat, 27 Dec 2014 01:07:17 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bn0101.outbound.protection.outlook.com [157.56.110.101]) (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 B5B6C67EA5 for ; Sat, 27 Dec 2014 01:07:16 +0000 (UTC) Received: from [10.0.0.21] (73.5.142.244) by BY1PR0301MB0839.namprd03.prod.outlook.com (25.160.193.145) with Microsoft SMTP Server (TLS) id 15.1.49.12; Sat, 27 Dec 2014 01:07:07 +0000 Message-ID: <549E0634.40604@my.hennepintech.edu> Date: Fri, 26 Dec 2014 19:07:00 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Subject: Re: Do I want to switch to the new pkg(8) format? References: In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [73.5.142.244] X-ClientProxiedBy: BY2PR01CA0041.prod.exchangelabs.com (10.255.242.31) To BY1PR0301MB0839.namprd03.prod.outlook.com (25.160.193.145) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB0839; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:BY1PR0301MB0839; X-Forefront-PRVS: 0438F90F17 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(189002)(199003)(24454002)(51704005)(68736005)(50466002)(122386002)(21056001)(46102003)(65816999)(87976001)(76176999)(23676002)(42186005)(64126003)(75432002)(97736003)(86362001)(40100003)(54356999)(110136001)(2950100001)(77096005)(120916001)(83506001)(77156002)(62966003)(450100001)(101416001)(89122001)(107046002)(33656002)(64706001)(47776003)(50986999)(92566001)(2351001)(105586002)(106356001)(99396003)(4396001)(20776003)(31966008)(107886001)(65956001)(66066001)(89472002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB0839; H:[10.0.0.21]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: my.HennepinTech.edu does not designate permitted sender hosts) X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0839; X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2014 01:07:07.7930 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0839 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 01:07:17 -0000 On 2014.12.26 18:30, Chris Stankevitz wrote: > Thank you all for your help. A summary: > > 1. Packages can be installed from "source ports" or "binary packages". > -- actually I knew that all along but thank you to you all for remind > me so many times. You are still thinking of ports and packages as separate things. You can install binary packages that you have built yourself using ports tools, or you can install binary packages that someone else has built using ports tools. You are using pkg to track what you have installed regardless, and it does not really care where the package came from. If you run 'make package' and someone else installs that package, do you think it is a "binary package" or a "source port"? All (tracked) third-party software comes from packages, and all packages are built from ports. It does not matter whether the packages are distributed or not. > > 2. To install a binary package use "pkg" Yes. > > 3. To install a "source port" use "make" Kind of. To perform various stages of port building, use make. There are a bunch of targets that do different things. 'make install' does all the stages, including installing the package at the end. It calls pkg to both create and install said package during the process. > > 4. To uninstall a "binary package" use "pkg" Yes. > > 5. To uninstall a "source port", use "pkg" or use "make deinstall" Just use pkg, because you are uninstalling a binary package. You can probably use 'make deinstall', but there isn't really a reason to. It would just call pkg anyway. > > 6. To upgrade your "source ports" use "portsnap fetch install" and "portmaster". To update your ports tree, use portsnap or svn(lite). To do various things with ports, including build and install new binary packages based on updates to the new ports tree, use portmaster (or portupgrade if that is your preference). Generally, portmaster removes the need to call make directly. Invoking make directly to test different stages (or as part of your own script) can be useful, but for everyday ports building, portmaster works really well. > > 7. To upgrade your "binary packages" use ???? (don't really care... > but just adding it to be complete) Same tool you use to do anything with binary packages - pkg. > > 8. To remove unneeded "source ports", use "portmaster -l" or "pkg auto > remove" (even though this is described in section 5.4 of the handbook > "Using pkg for Binary Package Management"). Do not use pkg_cutleaves. portmaster wraps pkg, so you can use it for this, but there is 'pkg autoremove' to cull packages that were only ever installed as dependencies. To trim any arbitrary leaf ports, there is ports-mgmt/pkg-rmleaf (a separate tool in ports, not part of pkg itself). > > 9. Do not use cvs or pkg_ or pkgng Correct, except, pkgng is the same thing as pkg. > > 10. If you are ever asked "to switch to the new pkg(8) format" say > YES, even if you are using source ports. Correct. > > 11. If you are feeling frisky, upgrade your source ports with > portupgrade instead of portmaster It's a matter of personal preference, but yes, they do pretty much the same thing. > And summarized even further: > > - When you want to install a binary package, use pkg > > - When you want to list or remove installed software, whether it was > installed via source or binary packages use pkg > > - When you want to install or upgrade using source use (portsnap AND > make AND (postmaster OR portupgrade)). Correct, except see my comment above about make and portmaster. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:28:52 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49BE43E3 for ; Sat, 27 Dec 2014 01:28:52 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EF9C26414D for ; Sat, 27 Dec 2014 01:28:51 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBR1SoSt073314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 18:28:50 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBR1SoHF073311; Fri, 26 Dec 2014 18:28:50 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 18:28:49 -0700 (MST) From: Warren Block To: Rolf Nielsen Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: <549E05F4.7090704@gmail.com> Message-ID: References: <549E007B.8090101@gmx.us> <549E05F4.7090704@gmail.com> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 18:28:50 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 01:28:52 -0000 On Sat, 27 Dec 2014, Rolf Nielsen wrote: > On 2014-12-27 01:57, Warren Block wrote: >> On Fri, 26 Dec 2014, Dutch Ingraham wrote: >> >>> Once you have a current tree, there are generally three ways to >>> build the port (i.e., make a binary, executable "package" out of >>> it): make (1), the portmaster (8) tool, or the portupgrade tool. >>> They are not mutually exclusive, i.e., you can install a port >>> with then >>> later upgrade it with . >> >> Right. Really, all that portmaster or portupgrade do is automate >> some of the steps. >> >> Both of these tools grew out of the problem of upgrading. When >> there are several things to upgrade, packages which are required by >> the others must be upgraded first. portmaster/portupgrade sort out >> the dependencies and build the requirements in the right order. >> They do that by using the standard port make targets. In fact, it >> is possible to get them to show a list of what they would do, and >> then do it by hand yourself. What I'm trying to say is that they >> automate the process, but it is still the ports system that is >> doing the building. > > Whatever happened to portmanager? Updates to it stopped and eventually it was cycled out of ports. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:43:10 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0BE958F6 for ; Sat, 27 Dec 2014 01:43:10 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0148.outbound.protection.outlook.com [157.56.110.148]) (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 A62916443D for ; Sat, 27 Dec 2014 01:43:08 +0000 (UTC) Received: from [10.0.0.21] (73.5.142.244) by DM2PR0301MB0847.namprd03.prod.outlook.com (25.160.215.145) with Microsoft SMTP Server (TLS) id 15.1.49.12; Sat, 27 Dec 2014 01:10:09 +0000 Message-ID: <549E06EA.20008@my.hennepintech.edu> Date: Fri, 26 Dec 2014 19:10:02 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Subject: Re: Do I want to switch to the new pkg(8) format? References: In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [73.5.142.244] X-ClientProxiedBy: BY2PR01CA0048.prod.exchangelabs.com (10.255.242.38) To DM2PR0301MB0847.namprd03.prod.outlook.com (25.160.215.145) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0847; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:DM2PR0301MB0847; X-Forefront-PRVS: 0438F90F17 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(6009001)(199003)(189002)(24454002)(20776003)(107886001)(97736003)(89122001)(120916001)(4396001)(46102003)(106356001)(33656002)(42186005)(75432002)(105586002)(64706001)(83506001)(47776003)(68736005)(50466002)(107046002)(77156002)(62966003)(54356999)(76176999)(101416001)(87976001)(23676002)(99396003)(110136001)(92566001)(65956001)(50986999)(65816999)(64126003)(77096005)(31966008)(2351001)(66066001)(86362001)(122386002)(450100001)(2950100001)(21056001)(40100003)(89472002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0847; H:[10.0.0.21]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:0; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: my.HennepinTech.edu does not designate permitted sender hosts) X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0847; X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2014 01:10:09.4012 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0847 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 01:43:10 -0000 On 2014.12.26 18:48, Warren Block wrote: > Actually, pkg_cutleaves is a port and should be okay to use. The name > is due to it trying to look like the old pkg_* system programs. > Probably we should say "do not use /usr/sbin/pkg_*". Unless it has been updated recently, pkg_cutleaves doesn't support pkgng. It does some weird things that make it look like it kind of works, but it doesn't. pkg-rmleaf, however, does work with pkgng. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 06:27:42 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4657E12B for ; Sat, 27 Dec 2014 06:27:42 +0000 (UTC) Received: from prime.gushi.org (prime.gushi.org [IPv6:2001:4f8:3:3d::42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "prime.gushi.org", Issuer "RapidSSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B2D8667EE for ; Sat, 27 Dec 2014 06:27:41 +0000 (UTC) Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.5/8.14.5) with ESMTP id sBR6RcU6091151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 26 Dec 2014 22:27:39 -0800 (PST) (envelope-from danm@prime.gushi.org) DKIM-Filter: OpenDKIM Filter v2.9.2 prime.gushi.org sBR6RcU6091151 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1419661334; bh=jzHbFW9Jb5raHdTZRdFMCMT62/twgdsMPCamBZ8WZW8=; h=Date:From:To:Subject; z=Date:=20Fri,=2026=20Dec=202014=2022:27:33=20-0800=20(PST)|From:=2 0"Dan=20Mahoney,=20System=20Admin"=20|To:=20 questions@freebsd.org|Subject:=20pkg=20fun; b=cayL27HXBr6VEdpmFVsEHKPqtbJWvnhfK1zjydzbiE6p6BLgyrKwNzbVnZV+K39fG 8sp1fV/xokXcISVECHrrBGlwGAYi24HI/H26nLWFqTQQoBkHU4F77F665mhc5NPz4R y2kbfgHSDBw96QEMjzGpxsVErBUvcu+Gadma/k1ztGW7WKAKNKG+FotbfMlFuew2RU UA+Zt1CdNEd87AN9dqzLu1Gsasgg3frH3izwaejBYcAqmyf6G1NLJkMgjGSmbaOhIc S+VA9UchbvPDi/kh+/M44A5FNl9huaUwJ9R57rqYJXw5aLk/5wkpoY1pf+DqTXPkh5 4ehZcyodClxWw== Received: (from danm@localhost) by prime.gushi.org (8.14.5/8.14.5/Submit) id sBR6Rbcr091150; Fri, 26 Dec 2014 22:27:37 -0800 (PST) (envelope-from danm) Date: Fri, 26 Dec 2014 22:27:33 -0800 (PST) From: "Dan Mahoney, System Admin" To: questions@freebsd.org Subject: pkg fun Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-ID: 0x624BB249 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (prime.gushi.org [127.0.0.1]); Sat, 27 Dec 2014 06:22:14 +0000 (UTC) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 06:27:42 -0000 Hey all, I'm getting the following on a "pkg upgrade" under FreeBSD 8.4 pkg: Cannot solve problem using SAT solver: conflict rule: The following packages conflict with each other: postgresql90-client-9.0.18(r), postgresql93-client-9.3.5(r) require rule: package postgresql90-client(r) depends on shared library provided by: postgresql90-client(l)postgresql84-client(r)postgresql92-client(r)postgresql94-client(r)postgresql93-client(r)postgresql91-client(r)asterisk18(r) dependency rule: package postgresql90-client(r) depends on: postgresql90-client(l)asterisk18(l) conflict rule: The following packages conflict with each other: postgresql90-client-9.0.18(r), postgresql90-client-9.0.18(r) upgrade rule: upgrade local postgresql90-client-9.0.17 to remote postgresql90-client-9.0.18 cannot install package postgresql90-client, remove it from request? [Y/n]: Eventually I solved this by deinstalling asterisk, and reinstalling it, which pulled in postgresql93-client. Since nothing else needed that package, why wasn't this an automatic jump? -Dan -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 13:36:08 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 027531C7 for ; Sat, 27 Dec 2014 13:36:08 +0000 (UTC) Received: from mail.xtaz.uk (tao.xtaz.uk [IPv6:2001:8b0:202::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6C5D1CF9 for ; Sat, 27 Dec 2014 13:36:07 +0000 (UTC) Received: by mail.xtaz.uk (Postfix, from userid 1001) id 424D5209AF2A; Sat, 27 Dec 2014 13:36:04 +0000 (GMT) Date: Sat, 27 Dec 2014 13:36:04 +0000 From: Matt Smith To: Andrew Berg Subject: Re: Do I want to switch to the new pkg(8) format? Message-ID: <20141227133604.GA40611@xtaz.uk> Mail-Followup-To: Matt Smith , Andrew Berg , freebsd-questions@freebsd.org References: <549E06EA.20008@my.hennepintech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <549E06EA.20008@my.hennepintech.edu> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 13:36:08 -0000 On Dec 26 19:10, Andrew Berg wrote: >On 2014.12.26 18:48, Warren Block wrote: >> Actually, pkg_cutleaves is a port and should be okay to use. The name >> is due to it trying to look like the old pkg_* system programs. >> Probably we should say "do not use /usr/sbin/pkg_*". >Unless it has been updated recently, pkg_cutleaves doesn't support pkgng. It >does some weird things that make it look like it kind of works, but it doesn't. >pkg-rmleaf, however, does work with pkgng. Hmmmm. I've been using pkg_cutleaves with pkgng for what must be coming up to a year and haven't ever seen it do anything strange. Seems to work fine to me. It definitely picks appropriate ports to delete and actually uninstalls them using the proper pkgng tools. Can you elaborate a bit on the weird things? Strangely I've just looked at the commit logs for the port to see if there are any clues as to when it was updated to use pkgng and there are none that are obvious. -- Matt From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 15:35:22 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0489347 for ; Sat, 27 Dec 2014 15:35:22 +0000 (UTC) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0126.outbound.protection.outlook.com [207.46.100.126]) (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 99FB76411B for ; Sat, 27 Dec 2014 15:35:22 +0000 (UTC) Received: from [10.0.0.21] (73.5.142.244) by BY1PR0301MB0839.namprd03.prod.outlook.com (25.160.193.145) with Microsoft SMTP Server (TLS) id 15.1.49.12; Sat, 27 Dec 2014 15:35:18 +0000 Message-ID: <549ED1B1.1090906@my.hennepintech.edu> Date: Sat, 27 Dec 2014 09:35:13 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Matt Smith , Subject: Re: Do I want to switch to the new pkg(8) format? References: <549E06EA.20008@my.hennepintech.edu> <20141227133604.GA40611@xtaz.uk> In-Reply-To: <20141227133604.GA40611@xtaz.uk> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [73.5.142.244] X-ClientProxiedBy: BY2PR01CA0044.prod.exchangelabs.com (10.255.242.34) To BY1PR0301MB0839.namprd03.prod.outlook.com (25.160.193.145) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB0839; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:BY1PR0301MB0839; X-Forefront-PRVS: 0438F90F17 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(189002)(199003)(24454002)(51704005)(46102003)(122386002)(21056001)(68736005)(50466002)(65816999)(87976001)(23676002)(93886004)(64126003)(75432002)(97736003)(86362001)(40100003)(76176999)(54356999)(42186005)(59896002)(2950100001)(77096005)(120916001)(88552001)(83506001)(77156002)(62966003)(80316001)(101416001)(89122001)(107046002)(65806001)(33656002)(64706001)(47776003)(50986999)(92566001)(99396003)(106356001)(20776003)(4396001)(31966008)(107886001)(105586002)(66066001)(89472002)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB0839; H:[10.0.0.21]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: my.HennepinTech.edu does not designate permitted sender hosts) X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0839; X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2014 15:35:18.9971 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0839 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 15:35:22 -0000 On 2014.12.27 07:36, Matt Smith wrote: > On Dec 26 19:10, Andrew Berg wrote: >>On 2014.12.26 18:48, Warren Block wrote: >>> Actually, pkg_cutleaves is a port and should be okay to use. The name >>> is due to it trying to look like the old pkg_* system programs. >>> Probably we should say "do not use /usr/sbin/pkg_*". >>Unless it has been updated recently, pkg_cutleaves doesn't support pkgng. It >>does some weird things that make it look like it kind of works, but it doesn't. >>pkg-rmleaf, however, does work with pkgng. > > Hmmmm. I've been using pkg_cutleaves with pkgng for what must be coming > up to a year and haven't ever seen it do anything strange. Seems to work > fine to me. It definitely picks appropriate ports to delete and actually > uninstalls them using the proper pkgng tools. Can you elaborate a bit on > the weird things? Perhaps it was just a bug or two that I encountered. It left the pkg database in a bad state (or it couldn't read the database correctly), but I can't remember the details since it's been so long. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 16:41:29 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E643FB92 for ; Sat, 27 Dec 2014 16:41:29 +0000 (UTC) Received: from hadar.vindaloo.com (unknown [IPv6:2001:470:1f07:26b:844c:e8c2:583d:99a8]) by mx1.freebsd.org (Postfix) with ESMTP id C953866A8F for ; Sat, 27 Dec 2014 16:41:27 +0000 (UTC) Received: by hadar.vindaloo.com (Postfix, from userid 501) id 0F152104DC4B; Sat, 27 Dec 2014 11:41:23 -0500 (EST) Date: Sat, 27 Dec 2014 11:41:23 -0500 From: Christopher Sean Hilton To: Warren Block Subject: Re: Do I want to switch to the new pkg(8) format? Message-ID: <20141227164123.GB2688@hadar.vindaloo.com> References: <20141226212647.GA35442@kessel.vindaloo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions , Chris Stankevitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 16:41:30 -0000 On Fri, Dec 26, 2014 at 03:38:59PM -0700, Warren Block wrote: > On Fri, 26 Dec 2014, Christopher Sean Hilton wrote: > [ ...snip... ] > >For me > >managing more than five boxes with ports alone is a big chore and a > >management headache. Honestly, if you aren't tweaking a bunch of ports > >then pkg* is the way to go but, as a former ports user, and a current > >poudriere user, I believe that it's up to you to determine how you > >want to spend your time. > > But pkg is required either way. > That's a not-so-subtle change that I didn't get because I moved from pkg_* to pkgng or pkg last spring. And before that I had tweaked ports and /etc/make.conf such that the default behaviour was package oriented as it is in OpenBSD. It deserves amplification. In a little more detail: Today the this set of commands: # cd /usr/ports/editors/emacs # make install uses pkg to build a pkgng format binary package and installs emacs from said package. Thus the ports system now requires pkg. Before 9/2014 the same cd ... make install sequence would: build and install the emacs port with all of it's dependencies; and register the port such that the pkg_* utilities would work as expected. It would not: build a single file binary install package for emacs or any of it's dependencies. I'm tempted to wax poetic on the beauty of the ports system here but I will refrain. Instead I will just state that this change in behaviour is a very very good thing. -- Chris -- __o "All I was trying to do was get home from work." _`\<,_ -Rosa Parks ___(*)/_(*)____.___o____..___..o...________ooO..._____________________ Christopher Sean Hilton [chris/at/vindaloo/dot/com] From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 22:25:57 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA66164A for ; Sat, 27 Dec 2014 22:25:57 +0000 (UTC) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "neonpark.inter-sonic.com", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B052411FE for ; Sat, 27 Dec 2014 22:25:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <549F30BC.20500@intersonic.se> Date: Sat, 27 Dec 2014 23:20:44 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: questions@freebsd.org Subject: hw.syscons.bell not working? Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 22:25:58 -0000 Lenovo X201i FreeBSD 10.1-STABLE #0 r276028: Sun Dec 21 22:48:24 CET 2014 set # sysctl hw.syscons.bell=0 But console still generates loud beeps, to my frustration. Did I miss something? This laptop ran 9-STABLE before and did not beep at me. Suggestions? From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 23:19:59 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E70B8DEE for ; Sat, 27 Dec 2014 23:19:59 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.155]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D351BCBF for ; Sat, 27 Dec 2014 23:19:59 +0000 (UTC) Received: from workbox.Home (184-100-71-241.mpls.qwest.net [184.100.71.241]) by mx.zohomail.com with SMTPS id 1419722390814681.2795199221125; Sat, 27 Dec 2014 15:19:50 -0800 (PST) Date: Sat, 27 Dec 2014 17:19:48 -0600 From: Bigby James To: freebsd-questions@freebsd.org Subject: Re: hw.syscons.bell not working? Message-ID: <20141227231948.GA17193@workbox.Home> References: <549F30BC.20500@intersonic.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <549F30BC.20500@intersonic.se> User-Agent: Mutt/1.5.23 (2014-03-12) X-ZohoMailClient: External X-Zoho-Virus-Status: 2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 23:20:00 -0000 On 12/27, Per olof Ljungmark wrote: > Lenovo X201i > FreeBSD 10.1-STABLE #0 r276028: Sun Dec 21 22:48:24 CET 2014 > > set > # sysctl hw.syscons.bell=0 > > But console still generates loud beeps, to my frustration. > > Did I miss something? This laptop ran 9-STABLE before and did not beep > at me. Suggestions? I was having the same problem. vt(4) is the default console driver in 10-STABLE, as well as the default starting with 10.0-RELEASE when booting via UEFI, so the 'hw.syscons.bell' setting no longer has meaning in that context. There doesn't seem to be a vt-specific analog for it yet. -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams