From owner-freebsd-questions@freebsd.org Sun Feb 21 17:31:28 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF0E9AB0952 for ; Sun, 21 Feb 2016 17:31:28 +0000 (UTC) (envelope-from trust_no_1@libero.it) Received: from libero.it (smtp-33-i2.italiaonline.it [212.48.25.204]) (using TLSv1.2 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 32D5C1A9E for ; Sun, 21 Feb 2016 17:31:27 +0000 (UTC) (envelope-from trust_no_1@libero.it) Received: from dukefleed.2mh.it ([151.65.202.183]) by smtp-33.iol.local with bizsmtp id M5WB1s00J3xvPmX0Z5WCr4; Sun, 21 Feb 2016 18:30:14 +0100 x-libjamoibt: 1601 X-CNFS-Analysis: v=2.1 cv=ZpIQUIPG c=1 sm=1 tr=0 a=0jmlnNByAypvCuWG3UcJOQ==:117 a=0jmlnNByAypvCuWG3UcJOQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=q-gEM2F82AIA:10 a=kj9zAlcOel0A:10 a=hKkVqfpeYcPBq3WEueMA:9 a=CjuIK1q_8ugA:10 Date: Sun, 21 Feb 2016 18:30:11 +0100 From: Trust No 1 To: Polytropon , Bernt Hansson Cc: freebsd-questions Subject: Re: thunderbird does not start if user is not member of "wheel" group Message-ID: <20160221183011.33af7ded@dukefleed.2mh.it> In-Reply-To: <20160126082128.6cced7ee.freebsd@edvax.de> References: <56A4B16F.2050707@libero.it> <20160126082128.6cced7ee.freebsd@edvax.de> Organization: - X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1456075814; bh=OJJWuMr0p8j4MPHy/FKeLrK7VPCPgTKjwYX6yGUN5Rc=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=JM42iqA4VBKbw3AGqB+L2/A7228vY5vhYhgr7C9GtszJhN9FMcyWyV50jrRQ48Vgf ThDRsVpEjNsnnW8dSJ/1tSQVPoAAWBI3VcUpWjDcmPMRoqSgLJ0KJY2hiveIHEnJ5K Dxfh+IwXHbwQ/B9AxOqRBh9N5rBFvVuEDv56PtxljMWbu+e5cm0OZjMASe6H3+q9az W+9hxteutWRc9U7B8OKsB9kKdIerHX57PpIZOrFJtrkLeYerKqXJS7IDMPxlv0PKFW EdKw8YlmSkFkNp8o36B6vqExBIoBYRGdsnENS/uycDA/5Q0m5SDrLsH7QkN+LeJGYP HIG8j6Lm4mI7w== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 17:31:29 -0000 On Tue, 26 Jan 2016 08:21:28 +0100 Polytropon wrote: > CUT > That looks like a permission problem, like if a file or directory > needs to be accessed, but cannot - followed by a strange error > message. > > CUT > > > By the way: on the same ws, firefox DOES start without problems for > > both the two users, and in particular (for user2) it starts even if > > I do NOT add it to the wheel group. > > Being member of the "wheel" group should _never_ be required in order > to start a web browser or a MUA. :-) Hello, and first of all my apologies for the long delay between you(r) answer(s) and mine. And thanks not only to you, but to Bernt Hansson too! Anyway, during this time I have investigated a lot the problem and discovered that, indeed, it was my fault! :-) Some time ago, I "just changed" the root's default umask from 022 to 027 and I forgot to change it back to 022 before to re-install thunderbird! The result was a "faulty" installation,... I did not notice immediately the problem because I am a member of the wheel group and (for my user account) there were no problems! So, I just replaced the "correct" umask value and re-installed thunderbird,... all is OK now! Thanks again to all you and kind regards! Mauro. From owner-freebsd-questions@freebsd.org Sun Feb 21 17:56:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9367AAF1C9 for ; Sun, 21 Feb 2016 17:56:40 +0000 (UTC) (envelope-from alphachi@mediaspirit.org) Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AD001500 for ; Sun, 21 Feb 2016 17:56:38 +0000 (UTC) (envelope-from alphachi@mediaspirit.org) Received: by mail-vk0-x232.google.com with SMTP id e6so112067277vkh.2 for ; Sun, 21 Feb 2016 09:56:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediaspirit-org.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZcxYRkENLBV84p8P11UWgNOpqGkGGQ1DGWM1iwkssDE=; b=rODXqoTxsLMSYO6BU5grWhJSO/bY/p5B7BcjjOE6FeISzu9POH3Sr5EZdDDadM8+o+ C4mfbl+y2U0VsSuLXo9aNNvNbLiDhUgK8l5KtSiaF0Fx3L7Yrlyp23YEZOXd3qdnXKap p4X1DCABfnTi+EW/lMGcfx+feEJ8PGwNqWL++SpXwjQ2Y2RBNpP1q9FFscKMatJP2t0r BID0GcB2Z89uVvceENkT2x8lrFMiTBaZrEMHdmFafycQ7ykGC2F77J9RZdxE5b1TkhDv wu/CWpjLP/apL/6YWrzpWeczbPycr0PoJ195YkYYWpfqLn0isw14EMhkckaU75uq1cgt XjuQ== 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=ZcxYRkENLBV84p8P11UWgNOpqGkGGQ1DGWM1iwkssDE=; b=YQk602pq49Djn13dt1Zu5aOmcZNaD/6A2nq35gCrnlqBx5nFl47+MQtwKxo3eZgsPM hH5fvP8u0LAnGpDnsx1dDZJHctVwB5WNmD/C9sRDtsTpChhiSw+4Q7b6nm28IY7ojKj0 wUMQJHZRejwNpk5KE2YcWXRB8tuBEX6J6D30hW6YBRP8TDj6ZPgpa0POCMp/kQPFk5GK 5CMrxhY7juwuRybCQv+VvnsyG4K5C0m+xMOxvbM+eQBUuD79MFKLwjwEAsKF3783e83E kSAYnn0EbNziG3+nwMVLlLqGknCbytEN/M5eOvWHYYweSZvnuVEvyKOHHmkjg5PfsR48 tjBg== X-Gm-Message-State: AG10YORpvcMd4xnhIQSfiCnIGZD1RwS1BO+PqQNSNQ4p3cCVUljk5JYtDW+G9RJ7E5pb2M7L1pYiOcbrL2P7uA== MIME-Version: 1.0 X-Received: by 10.31.47.200 with SMTP id v191mr21334038vkv.116.1456077397995; Sun, 21 Feb 2016 09:56:37 -0800 (PST) Received: by 10.31.33.13 with HTTP; Sun, 21 Feb 2016 09:56:37 -0800 (PST) Date: Mon, 22 Feb 2016 01:56:37 +0800 Message-ID: Subject: The vt(4) resolution is always 640x480 From: alphachi To: "list: freebsd" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 17:56:41 -0000 The laptop is ThinkPad X250 (Broadwell GPU) and the LCD resolution is 1366x768. I have set booting from UEFI only and disabled CSM. The whole disk is encrypted by GELI except /boot/. On 10.2-STABLE, the LCD resolution can be recognized rightly without any configure in /boot/loader.conf. The information about this in dmesg is: ... FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT(efifb): resolution 1366x768 CPU: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (2194.96-MHz K8-class CPU) ... But when the system is upgraded to 10.3-BETA2, the only resolution is 640x480 whether console or Xorg. The information about this in dmesg is: ... FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT(efifb): resolution 640x480 CPU: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (2194.96-MHz K8-class CPU) ... I try to write the new EFI file using: dd if=/boot/boot1.efifat of=/dev/ada0p1 or add something in /boot/loader.conf like: kern.vt.fb.default_mode="1366x768" No effect. How to deal this? Thanks! From owner-freebsd-questions@freebsd.org Sun Feb 21 18:38:32 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55718AB03EC for ; Sun, 21 Feb 2016 18:38:32 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 33EE5196F for ; Sun, 21 Feb 2016 18:38:32 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 31ED7AB03EB; Sun, 21 Feb 2016 18:38:32 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31862AB03E9 for ; Sun, 21 Feb 2016 18:38:32 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0021C196B for ; Sun, 21 Feb 2016 18:38:31 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: by mail-qg0-x22d.google.com with SMTP id b67so97497222qgb.1 for ; Sun, 21 Feb 2016 10:38:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:in-reply-to:references :disposition-notification-to:content-type:mime-version; bh=ch680XiaspksTEkJm2vHTpcVO2zreogvkMAQ7/ctipI=; b=jviSDeZIVG7uDWoJufJgdmGWwJXtjUwIJANhPd6kj5gSlP69aTwIm/ohfJheDgaXxG pevG3lXEh1euwXvTyOrEmnhfyIIH6fCg/8Pdemx0GQlH1HLtzJPejWYDRMKsLjxW7aHg 4B2nVpZm2zZS2tKBA2h3JNeHSZoaZlXT5DfVvhxSn7LE8faAo9c0GwFlR9TFKhCL7CCv LbuzJ2gpMpwfjZgWGbHurzrXQXOvb2NSzFwqOCNLClBIYHaFXJ6zKl+aUQWSjy2Me9sA Ny2QVaxF5UknKflOIL4R7F5MvD3ah/weFqQOJSL7W97ZChQoc5WMgi/Y3Kf7mopVLI50 fOyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:disposition-notification-to:content-type:mime-version; bh=ch680XiaspksTEkJm2vHTpcVO2zreogvkMAQ7/ctipI=; b=kZ5y9ebI1P8KNCFxs0/OQfmPYrsm7of62WSFe/vyG0mSAeXcMVhjvTvAeZRYVyH/xC gPxRN0wwL+791dBUYxnCdJeasKpyuPD5UgxJi3WasihUJpVtEX+8cYMj/enix/Yb9Iwo Iy7ZCgQ2nkLHlobmyvt3PopCelXiBgSJQg4Lo+cApy84eEstnjr57qpZ+DdBufGCfe7v 3o+Iqa9M7yfWV+EjjsHHvfJnvKs9NN64A9PbXJ01i4JoBn99mlB3jRKB6zsBDyo2Ak6w DScpmYooE5A/RuS3zUxbAvREbRZtBXbcjANs/cmIU4U0LX2eQXDi3pxt4fr43pzpaB76 7GYw== X-Gm-Message-State: AG10YOQImCULM/SK3oAjui9SalwNdjzfR7ck8BxBGKA9B97vBAcUWdPqM/42em/CzS1bqQ== X-Received: by 10.140.92.146 with SMTP id b18mr29200282qge.88.1456079910740; Sun, 21 Feb 2016 10:38:30 -0800 (PST) Received: from lenzinote.lenzicasa ([179.184.51.72]) by smtp.googlemail.com with ESMTPSA id 64sm8743067qhf.40.2016.02.21.10.38.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Feb 2016 10:38:30 -0800 (PST) Message-ID: <1456079909.35309.9.camel@gmail.com> Subject: Re: FREE BSD VS SCO From: Sergio de Almeida Lenzi To: grillo , questions@FreeBSD.org Date: Sun, 21 Feb 2016 15:38:29 -0300 In-Reply-To: <0c881e9226b3ca2c4bc24e0bd79d7a0b@goldnet.it> References: <0c881e9226b3ca2c4bc24e0bd79d7a0b@goldnet.it> X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 18:38:32 -0000 I think you need the FreeBSD i386 on the server it should work I can point you a pen drive image of a 10.2 release that should work it installs on almost anything.. http://distbsd.k1.com.br/Images/FreeBSD-i386.10.2-STABLE.zip it is a standalone pen drive image that fits on an 1GB+ usb storage unzip the image, write on the usb pen-drive. boot from the pen-drive the root password is root you may need to adjust your keyboard: 'sysrc keymap=us;service syscons restart" to whatever keyboard you use than make sure the system detects any ethernet adapter and the network have access to the internet dhcp and name server working Than boot the pen-drive it should start a VPN to our servers (ifconfig tun0) If you want to install the FreeBSD, than provide the computer with an HD and send us an email, we install the server for you for free. ANY information on the HD will be LOST, so make sure you have ONLY ONE HD on the machine Email is:nervoso@k1.com.br From owner-freebsd-questions@freebsd.org Mon Feb 22 02:07:29 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 686CAAB0A79 for ; Mon, 22 Feb 2016 02:07:29 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32F19123B for ; Mon, 22 Feb 2016 02:07:29 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: by mail-io0-x234.google.com with SMTP id 9so164057266iom.1 for ; Sun, 21 Feb 2016 18:07:29 -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=vcrMw21wUBIHlZAmyKUd60WvoKwrv18DBmhTsnlFVTg=; b=hJNMnlH3rKkgo+Ji4q7AS1CbNeCu5Tb8Fh0tor93DzaqMoHCLZB3Q0tNYNCySNNREp LcH6ALio9MeoKe3JuhdZUFC4+s89kcHlof2730sOrCc1yAp8A8YcHDpih1zT1qlxw8sH jihyOZywr6pJ6s6EuBJS62Gu8x+kL23BTmU+KtPelHBTfNxw6le8Ubsi7g3NQGIokvdp 1mzccC29k1GzP1DBxBioIdRfXIYMaWx5zwkWbphKXNZ2+Wj5VDYK6EuU7dEiMT2uETwz 0pNQy4qSQg4LkVXNVtJySOQKc7+MWPa1AT51OFqpv+cM79msekDwZhLDBvtbtIm6EXZz aQNw== 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=vcrMw21wUBIHlZAmyKUd60WvoKwrv18DBmhTsnlFVTg=; b=WaSvVnayIHifBXuu8s3PAXJGfriO0ZVhXDCDIrwgywi3VIr/TcNlzt1cn7mshARrvh kldjh8XtoWLZ/NdQx02eUFIqU+6UglXuDXglaUQ0JCuBiRQOlvAsFHAhTnKl5qLh1fFz vpR7+/ZZ7RuuS9kY6JPoVnL58ItE20F/GWWDmCgzeqMft8QN5R3pbnerEsA9E89VCZvG G3ZgeCkCC4jYm5L3iRZfkX4dNSX0fiMa/kB7uhoZOGhVGT3yJpXaNGL5Iy/T5Toa7z1H xa0gOYYDJrm2FsQnxoIjLYq5KKVElfdQFjHt2B++M65uFsDJViLipl6Pjpx45fy/qLOa sgCg== X-Gm-Message-State: AG10YOS8whptj3qzpYDK6/rgSbKpTDlS+PfM4BA1zXvJCbub23Yb7pK7jvS5agR+g1Nu0M0B6f+kLMR/9baYlQ== MIME-Version: 1.0 X-Received: by 10.107.135.34 with SMTP id j34mr27075549iod.173.1456106848259; Sun, 21 Feb 2016 18:07:28 -0800 (PST) Received: by 10.107.153.129 with HTTP; Sun, 21 Feb 2016 18:07:28 -0800 (PST) In-Reply-To: <20160219120503.fc97ef10.freebsd@edvax.de> References: <20160219120503.fc97ef10.freebsd@edvax.de> Date: Mon, 22 Feb 2016 13:07:28 +1100 Message-ID: Subject: Re: minimize use of root account From: Yudi V To: Polytropon Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 02:07:29 -0000 Thanks Polytropon. based on the answers here looks like the best answer is to use SUDO or SUPER. > ############### > > #!/bin/csh -f > > Why?! > > There's a relevant article: "Csh Programming Considered Harmful" written > by Tom Christiansen. > > https://www-uxsup.csx.cam.ac.uk/misc/csh.html > > I have written one (!) csh script and I still regret it, maybe because > it still works. :-) > > On FreeBSD, the default shell script interpreter is /bin/sh. > > > I am fairly new to Freebsd and I checked the shell variable before I wrote the script and as it said CSH, I just went with the csh script. I did not get why the user shell is /bin/sh and the root is /bin/csh. This is on a personal backup server and only has few scripts. I dont want to readup on yet another shell scripting (someone in the forum mentioned that /bin/sh is Almquist's Shell NOT bash). for the few scripts I run on this server, I am just happy if they work as intended. If the server was meant for anything else I will definitely not use csh scripts. -- Kind regards, Yudi From owner-freebsd-questions@freebsd.org Mon Feb 22 02:11:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66946AB0CA0 for ; Mon, 22 Feb 2016 02:11:11 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30AFA154A for ; Mon, 22 Feb 2016 02:11:11 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: by mail-ig0-x22d.google.com with SMTP id 5so72423936igt.0 for ; Sun, 21 Feb 2016 18:11:11 -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; bh=pQApDqfCHOnuYpmoAnEV6z/BHR9O1frspajCsmv2iBg=; b=W+l6D4brc1CSfQGzKGcLBdH4vIXfqHltPMn1dfoL3ix7UfL2Bb1yT1b11KN0yTHUdw BuWaUj8DtMpGk4Fozd1GUF3dPccr/u5tQzpIRL10jeYhKWBt+QnH4Q3938pZXvD/18/N vQ5L5jAGrWV7/vnGT/+1veKd/bcwaRmmT9ReiXTxMp++MsjoSygLBGiFJ2ig56oX3134 l+9iAXFOpzDSWydcGCTK19HFoiy0/vVUAUcn694aGn98eyvsREoGTxVWvTtq2Nwga3kN HUDJ9d13zMyx7352P6ndvvzxmiG3m/kQzpTO7ZuJ3j2ldvQtzVPYF1F5XUR+gzJTx0OX 0NeQ== 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; bh=pQApDqfCHOnuYpmoAnEV6z/BHR9O1frspajCsmv2iBg=; b=DjFnkIOpn7RZhpK6kPJslbspkn4DDrKoH3zIDBYGmyENa8LzfqBDWO60km3Y4aLui2 ZrbVwhf6y+7iNiHo94pl4UPz3SxULBBdjQjGadErugp0+qIIMi8fG94oI0FgLjDI4eJH J09BiYZKROkJGNYKrCmr7PsJPSw/VOktMWkE3aoVe/ExsVX9fmsAAcAwnXTul9MLEOwA i1GvBl+uTNlMZpDV7hTTG02UwqCEpptp4fh/+AFg7VoJCJuCmN5VbvbZtkWT+6eqZvy3 3POsQ93K7H/vZIhgU5KHb08JDrCbN+HuXn+ctKbMlNU4u/gwWXRTz7uUjbQojWI9P8i/ 4U2A== X-Gm-Message-State: AG10YOQ3fOBSHzHa4cq77fg5p5cVVJ4TM0TAM3DIgsGZkD4Ll+AxqU7oaT2e9jSlXY3P66KIuDzLn47s9x+VEA== MIME-Version: 1.0 X-Received: by 10.50.78.101 with SMTP id a5mr8730204igx.18.1456107070738; Sun, 21 Feb 2016 18:11:10 -0800 (PST) Received: by 10.107.153.129 with HTTP; Sun, 21 Feb 2016 18:11:10 -0800 (PST) In-Reply-To: References: <1455859963.3464449.525672506.6773F275@webmail.messagingengine.com> Date: Mon, 22 Feb 2016 13:11:10 +1100 Message-ID: Subject: Re: minimize use of root account From: Yudi V To: Christian Weisgerber Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 02:11:11 -0000 > Note that group operator also grants read access to disk devices. > (The idea is that such users can run backups with dump(8).) > This effectively means read access to any and all files on those > disks, regardless of the filesystem permissions. > that's good to know, I am the only one using this server, so it is fine. But just out of curiosity, how to give a user shutdown rights without giving them read access to all the drives? -- Kind regards, Yudi From owner-freebsd-questions@freebsd.org Mon Feb 22 02:27:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5FF6AAF47B for ; Mon, 22 Feb 2016 02:27:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D4C21E36 for ; Mon, 22 Feb 2016 02:27:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-96-7.dynamic.qsc.de [92.195.96.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 9062F276A1; Mon, 22 Feb 2016 03:27:02 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u1M2R2kY003929; Mon, 22 Feb 2016 03:27:02 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 22 Feb 2016 03:27:02 +0100 From: Polytropon To: Yudi V Cc: freebsd-questions@freebsd.org Subject: Re: minimize use of root account Message-Id: <20160222032702.86529bdb.freebsd@edvax.de> In-Reply-To: References: <20160219120503.fc97ef10.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 02:27:12 -0000 On Mon, 22 Feb 2016 13:07:28 +1100, Yudi V wrote: > Thanks Polytropon. > > based on the answers here looks like the best answer is to use SUDO or > SUPER. A good idea. You need to see if you prefer sudo or super. Both have their individual strengths, but sudo is probably the one you'll find more often. > > > ############### > > > #!/bin/csh -f > > > > Why?! > > > > There's a relevant article: "Csh Programming Considered Harmful" written > > by Tom Christiansen. > > > > https://www-uxsup.csx.cam.ac.uk/misc/csh.html > > > > I have written one (!) csh script and I still regret it, maybe because > > it still works. :-) > > > > On FreeBSD, the default shell script interpreter is /bin/sh. > > > > > I am fairly new to Freebsd and I checked the shell variable before I wrote > the script and as it said CSH, I just went with the csh script. The C shell is the default interactive shell (dialog shell), while /bin/sh is the default non-interactive shell (script shell), which you can see as most system scripts start with "#!/bin/sh". It tends to be more readable and portable than the C shell (which isn't even the best imaginable interactive shell, as many users seem to prefer bash or zsh which can easily be installed on FreeBSD). > I did not > get why the user shell is /bin/sh and the root is /bin/csh. For all users (including root) /bin/csh is the default dialog shell. It's easy to set a different shell using the "chsh" command. The shell to use must be listed in /etc/shells. The more simple /bin/sh is used as dialog shell only in single user mode (maintenance mode) by default. > This is on a personal backup server and only has few scripts. I dont want > to readup on yet another shell scripting (someone in the forum mentioned > that /bin/sh is Almquist's Shell NOT bash). That is correct - it's "ash" (Almquist's Shell), which is a close re-implementation of the traditional Bourne Shell; bash is the Bourne Again Shell (common in Linux) which can be seen as a superset of the Bourne shell. So bash usually executes sh code, and sh code tends to be the most reliable and portable. > I am just happy if they work as intended. If the server was > meant for anything else I will definitely not use csh scripts. As I said, I'm guilty myself of writing one csh script which is still in use and still works, even though is so full of bullshit it should go into /dev/null. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Feb 22 08:13:42 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40785AAFAB5 for ; Mon, 22 Feb 2016 08:13:42 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from io.ze.tum.de (w3projmail.ze.tum.de [129.187.39.2]) (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 D85601AFD for ; Mon, 22 Feb 2016 08:13:40 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from etustar (etustar.ze.tum.de [129.187.39.200]) by io.ze.tum.de (8.14.5/8.14.5) with ESMTP id u1M8D5f5036907 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 22 Feb 2016 09:13:05 +0100 (CET) (envelope-from schmidt@ze.tum.de) Message-ID: <1456128785.29228.7.camel@ze.tum.de> Subject: Re: Random Lockup with FreeBSD 10.2 on SuperMicro Boards From: Gerhard Schmidt To: freebsd-questions@freebsd.org Date: Mon, 22 Feb 2016 09:13:05 +0100 In-Reply-To: <20151116094334.GS2604@mordor.lan> References: <56498205.3060806@ze.tum.de> <20151116094334.GS2604@mordor.lan> Organization: WWW und Online Services Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 08:13:42 -0000 Am Montag, den 16.11.2015, 10:43 +0100 schrieb Julien Cigar: > On Mon, Nov 16, 2015 at 08:13:09AM +0100, Gerhard Schmidt wrote: > > Hi, > > Hello, > > > > > I'm running quiet a few FreeBSD servers on SuperMicro Boards. I'm > > in the > > process of upgrading from 10.1 to 10.2. On the machines running > > 10.2 I'm > > experiencing so random lockups. > > > > The server running fine bit sometimes (about 2-3 month apart the > > /var > > filesystem just locks. Other filesystems on the same drive (mirror > > -raid) > > still working, only when accessing anything on /var blocks the > > process. > > > > The same machines running with 10.1 don't have this Problem. > > > > > try to disable SU+J (tunefs -j disable), I had random lockups with HP > Proliant servers too and problem. Problem went away when I turned off > SU+J. As expected. Turning Journaling off didn't change anything. The Server still freze randomly between 1 and 50 Days appart. Regards Estartu From owner-freebsd-questions@freebsd.org Mon Feb 22 10:10:44 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CFE8AAF3CE for ; Mon, 22 Feb 2016 10:10:44 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD6A61DD9 for ; Mon, 22 Feb 2016 10:10:43 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x233.google.com with SMTP id g62so164233702wme.1 for ; Mon, 22 Feb 2016 02:10:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:reply-to; bh=gF85Dpbe/JgpQfY3+97LdnWKDfDBFfcWZARsLxpZNMk=; b=dd2CfPghHOiuVl+xiJgqWPuju5e6fAH2t+OHIbhLBq0XiTiu+QKrtJdstyRtffGTC3 1PcG7LFw/OdJFLx7E8jDok8g9WvVA2T2QRk+Xjij8ti7EMWF+aNxWIcvzNPvgDR4NQ45 IZ4qVoqRjbU2rINA0RNV4RJqfXYhDpaRizN9Ez5TNalYRfuVqGUU1YwlHx+b6OFau900 LJYfMnARDiGM72ap8ovlDqyCLul7EOT2W8rX9oFk7BmqVOe7H4QEG58I/ySc9705BbTy YNtYZH1IxTKBnAKp6V/Rq4MqMG/J7//JNNNviEF6rXxZkV1xdWbedCshsd3jmjjV2Zlb xKCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=gF85Dpbe/JgpQfY3+97LdnWKDfDBFfcWZARsLxpZNMk=; b=f7MAKPJB5TACq5GlcXfc/v8tNDZJi6wpfOH1a6cVEaM2Q+Vck99fT7uGlvFY4YRJmx 9LMTvZFQEqfh6ta39WpuOwp1O6693qmDmPhW9fL31gqKOvlLvkClhCswfwu+rTTUveIm Iwl0ZPySFju4z9lydPzR8gBBnKdFibxoLdVA/ezCpLrr6B/8Lq5tdtWuTo8KMoY2Oh3J R+cmgjlyx5iOpwmlKDgQG20GPZAGyZxjeVFnJ7rqSjBr74tWvM3Am4/aUyj1OgIYtwhX m3T1B/FZL5qgAMuVD5/HV1j/5j8bjL20rkQeDm1j1of8IkXwK/isqygOci9XDHWuu6cZ gWFA== X-Gm-Message-State: AG10YOQ7IL03OF/YTqtYbiQtXXzSScQqsBXV7VH0X2+YRj8yEwnKLLAUwBG/vJE/5wj7h4zy X-Received: by 10.194.47.133 with SMTP id d5mr28921660wjn.87.1456135841918; Mon, 22 Feb 2016 02:10:41 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id t205sm20385573wmt.23.2016.02.22.02.10.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Feb 2016 02:10:41 -0800 (PST) Date: Mon, 22 Feb 2016 02:10:41 -0800 (PST) X-Google-Original-Date: Mon, 22 Feb 2016 10:10:40 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u1MAAela088588 for ; Mon, 22 Feb 2016 10:10:40 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u1MAAe7J088587 for freebsd-questions@freebsd.org; Mon, 22 Feb 2016 10:10:40 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201602221010.u1MAAe7J088587@mech-as222.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: tcsh - SHELL: Undefined variable. Reply-To: mexas@bris.ac.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 10:10:44 -0000 I noticed recently that my tcsh does not define SHELL anymore: > echo $SHELL SHELL: Undefined variable. There is XTERM_SHELL: > setenv|grep SHELL XTERM_SHELL=/bin/tcsh but that's it. When I launch xterm from an existing shell, it opens with /bin/sh and returns nothing at all for $SHELL: $ echo $SHELL $ This is weird because xterm manual says if shell name is not given on the command line, it tries to get it from /etc/passwd. My entry has /bin/tcsh: > grep `whoami` /etc/passwd :/bin/tcsh My .tcshrc: set path=(/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin \ /usr/X11R6/bin /home/mexas/bin /usr/local/kde4/bin/) setenv EDITOR vi setenv PAGER more setenv LSCOLORS "ExFxCxDxBxegedabagacad" setenv LYNX_CFG ~/.lynx.cfg setenv LC_CTYPE en_US.UTF-8 setenv NNTPSERVER nntp.aioe.org alias su /usr/bin/su - Please help Anton From owner-freebsd-questions@freebsd.org Mon Feb 22 10:27:14 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71A49AAFDC9 for ; Mon, 22 Feb 2016 10:27:14 +0000 (UTC) (envelope-from tom@invisible-island.net) Received: from smtp-1.his.com (smtp-1.his.com [216.194.195.13]) by mx1.freebsd.org (Postfix) with ESMTP id 2064E1B8B for ; Mon, 22 Feb 2016 10:27:13 +0000 (UTC) (envelope-from tom@invisible-island.net) Received: from localhost (localhost [127.0.0.1]) by smtp-1.his.com (Postfix) with ESMTP id 942866075A for ; Mon, 22 Feb 2016 05:19:43 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at smtp-1.his.com X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-99 required=4 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from smtp-1.his.com ([127.0.0.1]) by localhost (smtp-1.his.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id enwTPjgwsJFL for ; Mon, 22 Feb 2016 05:19:38 -0500 (EST) Received: from smtp-nf-201.his.com (smtp-nf-201.his.com [216.194.196.24]) by smtp-1.his.com (Postfix) with ESMTP id 920676043A for ; Mon, 22 Feb 2016 05:19:38 -0500 (EST) Received: from cuda201.his.com (cuda201.his.com [216.194.196.22]) by smtp-nf-201.his.com (Postfix) with ESMTPS id 5D272605E6 for ; Mon, 22 Feb 2016 05:19:31 -0500 (EST) X-ASG-Debug-ID: 1456136370-061c414f76163140001-jLrpzn Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.196.20]) by cuda201.his.com with ESMTP id lDbMAA7VYjJnB37R; Mon, 22 Feb 2016 05:19:30 -0500 (EST) X-Barracuda-Envelope-From: tom@invisible-island.net X-Barracuda-RBL-Trusted-Forwarder: 216.194.196.20 Received: from mail-sterling.his.com (mail-sterling.his.com [216.194.248.141]) by smtp-nf-202.his.com (Postfix) with ESMTP id 7C5856009F; Mon, 22 Feb 2016 05:19:30 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail-sterling.his.com (Postfix) with ESMTP id A82303F80004; Mon, 22 Feb 2016 05:19:30 -0500 (EST) X-Barracuda-RBL-Trusted-Forwarder: 216.194.248.141 X-Virus-Scanned: amavisd-new at mail-sterling.his.com Received: from mail-sterling.his.com ([127.0.0.1]) by localhost (mail-sterling.his.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cyxsgflUVGSh; Mon, 22 Feb 2016 05:19:30 -0500 (EST) Received: from vmw-debian7-64.jexium-island.net (static-71-246-219-82.washdc.fios.verizon.net [71.246.219.82]) by mail-sterling.his.com (Postfix) with ESMTPSA id 3255D3F80003; Mon, 22 Feb 2016 05:19:30 -0500 (EST) Received: from tom by vmw-debian7-64.jexium-island.net with local (Exim 4.80) (envelope-from ) id 1aXnaT-0001iI-Ll; Mon, 22 Feb 2016 05:19:29 -0500 X-Barracuda-Effective-Source-IP: static-71-246-219-82.washdc.fios.verizon.net[71.246.219.82] X-Barracuda-Apparent-Source-IP: 71.246.219.82 X-Barracuda-RBL-IP: 71.246.219.82 Date: Mon, 22 Feb 2016 05:19:29 -0500 From: Thomas Dickey To: Anton Shterenlikht Cc: freebsd-questions@freebsd.org Subject: Re: tcsh - SHELL: Undefined variable. Message-ID: <20160222101929.GA6558@vmw-debian7-64.jexium-island.net> X-ASG-Orig-Subj: Re: tcsh - SHELL: Undefined variable. Reply-To: dickey@his.com References: <201602221010.u1MAAe7J088587@mech-as222.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <201602221010.u1MAAe7J088587@mech-as222.men.bris.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Barracuda-Connect: smtp-nf-202.his.com[216.194.196.20] X-Barracuda-Start-Time: 1456136370 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 1575 X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.27234 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 10:27:14 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 22, 2016 at 02:10:41AM -0800, Anton Shterenlikht wrote: > I noticed recently that my tcsh does not > define SHELL anymore: >=20 > > echo $SHELL > SHELL: Undefined variable. >=20 > There is XTERM_SHELL: >=20 > > setenv|grep SHELL > XTERM_SHELL=3D/bin/tcsh what version of xterm is this? xterm -v (In making changes for $SHELL, I broke it -- a year or two ago -- fixed sin= ce) > but that's it. >=20 > When I launch xterm from an existing shell, > it opens with /bin/sh and returns nothing at all for $SHELL: >=20 > $ echo $SHELL >=20 > $ >=20 > This is weird because xterm manual says if shell > name is not given on the command line, it tries > to get it from /etc/passwd. My entry has /bin/tcsh: >=20 > > grep `whoami` /etc/passwd > :/bin/tcsh >=20 > My .tcshrc: >=20 > set path=3D(/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin \ > /usr/X11R6/bin /home/mexas/bin /usr/local/kde4/bin/) > setenv EDITOR vi > setenv PAGER more > setenv LSCOLORS "ExFxCxDxBxegedabagacad" > setenv LYNX_CFG ~/.lynx.cfg > setenv LC_CTYPE en_US.UTF-8=20 > setenv NNTPSERVER nntp.aioe.org=20 > alias su /usr/bin/su - >=20 > Please help >=20 > Anton >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbK4LEACgkQcCNT4Pfkjts39QCfRxpeUuNsk1IyaWRXdWk8vN5a xywAoLuuDKcGMzOOORoNM9CQYNpggC11 =eFZT -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- From owner-freebsd-questions@freebsd.org Mon Feb 22 13:02:01 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D2A0AAF0E4 for ; Mon, 22 Feb 2016 13:02:01 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F137719AA for ; Mon, 22 Feb 2016 13:02:00 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x235.google.com with SMTP id b205so154513094wmb.1 for ; Mon, 22 Feb 2016 05:02:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:cc:reply-to:in-reply-to; bh=FIywBLw3nPbcDrGEa+hClfelbo8e8KisNtzux0xnZKY=; b=R33cA9fTGKeDHthYGl4qSFlG27+nuwg573l9AqOIxVTPklk2uSJ2pK6Lr1X9OTpnnM fLInmLUoyzIvCzYUQd8hh3c3BKBwAUdINKhZ/TX2m72EIK0Xwpj0DPo54icGMgfVgD60 qL8boFnIMMZHEbKri+0/j8tpYAYmSnbV2waqHJbYKmQcnrhpG+HADZJ+/sbl7ucppxLc N/Jgeiu9M+snY+hU9qW4x+82fwNAyTh8yWsiZlkF45Z+kuOtuvi5MdtmMOhmYxXVFKAd yJegUUl5kS+UIs90yGhV9p/e5L/+WafRO2BHoMTPfR8F1e6aovLtutt400rNQHSRgEpU 7n7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=FIywBLw3nPbcDrGEa+hClfelbo8e8KisNtzux0xnZKY=; b=IlM+YTCHrkUoPrz/MFtkpljTJhqbWvMPeC1Yw0wXgr75MQPSoOAyavb4IWX83qkI0H uyEmd0hA+OCFqu9jmza2o/IZLO33cs9kQd+48wEP5Pt79LQell4tQwsnmVOR38fbDHWW PagGJ4IH7Je9K7mLBdWjhEhuJFaJcLBEJbUlTW2ORxAmL/PpO/3aLrfPtx72E6w0KsPC g/OYWA+WRNurv0bcodc/crO0MjVaxIV6FAaFTUJ6FBfxFi7SUTFhEgMjTKFt1PvzNnk5 wtwFHhhdi9zul09MP7sey7RBNt+1jlGk7JVdE27ZeXXBoEXeQOJjAQhOSkjMvTxsPrnv gG7g== X-Gm-Message-State: AG10YOQQ4mnnutdZAC+hbjU7H0X3w8fOFzxeTtNC6HeJoyxvRhOmpSjBtvrzmZvM8YvDb/Y9 X-Received: by 10.28.57.131 with SMTP id g125mr11597463wma.17.1456146119083; Mon, 22 Feb 2016 05:01:59 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id w11sm3781069wmg.21.2016.02.22.05.01.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Feb 2016 05:01:58 -0800 (PST) Date: Mon, 22 Feb 2016 05:01:58 -0800 (PST) X-Google-Original-Date: Mon, 22 Feb 2016 13:01:57 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u1MD1vsG089421; Mon, 22 Feb 2016 13:01:57 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u1MD1vN7089420; Mon, 22 Feb 2016 13:01:57 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201602221301.u1MD1vN7089420@mech-as222.men.bris.ac.uk> To: dickey@his.com Subject: Re: tcsh - SHELL: Undefined variable. Cc: freebsd-questions@freebsd.org Reply-To: mexas@bris.ac.uk In-Reply-To: <20160222101929.GA6558@vmw-debian7-64.jexium-island.net> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 13:02:01 -0000 >From tom@invisible-island.net Mon Feb 22 11:52:29 2016 >On Mon, Feb 22, 2016 at 02:10:41AM -0800, Anton Shterenlikht wrote: >> I noticed recently that my tcsh does not >> define SHELL anymore: >>=20 >> > echo $SHELL >> SHELL: Undefined variable. >>=20 >> There is XTERM_SHELL: >>=20 >> > setenv|grep SHELL >> XTERM_SHELL=3D/bin/tcsh > >what version of xterm is this? > > xterm -v > xterm -v XTerm(321) Anton From owner-freebsd-questions@freebsd.org Mon Feb 22 13:16:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0BB6AAF81D for ; Mon, 22 Feb 2016 13:16:31 +0000 (UTC) (envelope-from ashish@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9778D1FA4; Mon, 22 Feb 2016 13:16:31 +0000 (UTC) (envelope-from ashish@freebsd.org) Received: from chateau.d.if (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 3D3181132; Mon, 22 Feb 2016 13:16:29 +0000 (UTC) (envelope-from ashish@freebsd.org) Received: from chateau.d.if (localhost [IPv6:::1]) by chateau.d.if (OpenSMTPD) with ESMTP id fed0bd00; Mon, 22 Feb 2016 18:46:10 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: Anton Shterenlikht Cc: dickey@his.com, freebsd-questions@freebsd.org Subject: Re: tcsh - SHELL: Undefined variable. Organization: The FreeBSD Project References: <201602221301.u1MD1vN7089420@mech-as222.men.bris.ac.uk> 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: 6:45PM up 9:35, 8 users, load averages: 0.36, 0.26, 0.24 X-Operating-System: FreeBSD/FreeBSD 10.2-RELEASE-p10/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:160222:mexas@bris.ac.uk::9vAGBUvzIzrhkCnB:04CX1 X-Hashcash: 1:20:160222:dickey@his.com::GEzQL/+1zyAYN7zP:0007rAL X-Hashcash: 1:20:160222:freebsd-questions@freebsd.org::pbAXVoi82z08TT3f:000000000000000000000000000000008eLu Date: Mon, 22 Feb 2016 18:46:10 +0530 In-Reply-To: <201602221301.u1MD1vN7089420@mech-as222.men.bris.ac.uk> (Anton Shterenlikht's message of "Mon, 22 Feb 2016 05:01:58 -0800 (PST)") Message-ID: <86d1ro7un9.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (amd64-portbld-freebsd10.2) 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: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 13:16:31 -0000 On Mon, 22 Feb 2016 05:01:58 -0800 (PST), Anton Shterenlikht said: || From tom@invisible-island.net Mon Feb 22 11:52:29 2016 || On Mon, Feb 22, 2016 at 02:10:41AM -0800, Anton Shterenlikht wrote: ||| I noticed recently that my tcsh does not ||| define SHELL anymore: ||| =20 ||| > echo $SHELL ||| SHELL: Undefined variable. ||| =20 ||| There is XTERM_SHELL: ||| =20 ||| > setenv|grep SHELL ||| XTERM_SHELL=3D/bin/tcsh || || what version of xterm is this? || || xterm -v || xterm -v | XTerm(321) Try xterm 322[1], it's fixed there. References: [1] http://invisible-island.net/xterm/xterm.log.html HTH -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 Sent from my Emacs From owner-freebsd-questions@freebsd.org Mon Feb 22 13:48:33 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8DEEAB08F2 for ; Mon, 22 Feb 2016 13:48:32 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (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 AF5CF1259 for ; Mon, 22 Feb 2016 13:48:32 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) for freebsd-questions@freebsd.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1aXqqk-000Nvt-3x>; Mon, 22 Feb 2016 14:48:30 +0100 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) for freebsd-questions@freebsd.org with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (envelope-from ) id <1aXqqj-002bux-PM>; Mon, 22 Feb 2016 14:48:30 +0100 Date: Mon, 22 Feb 2016 14:48:24 +0100 From: "O. Hartmann" To: freebsd-questions Subject: NanoBSD/FreeBSD: GPT bootable image: howto create sparse VMDK for ESXi? Message-ID: <20160222144824.7bbcc212@freyja.zeit4.iv.bundesimmobilien.de> Organization: FU Berlin X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 13:48:33 -0000 Hello out there. First please CC me as I do not subscribe this list. I successfully use the NanoBSD framework with some modifications for creation of GPT/UEFI bootable images with recent CURRENT. The appliance boots off microSD cards, ISO 9660 images (with some modifications made to the nanoBSD framework) and USB flash drives. I need this image of a FreeBSD appliance on an ESXi 5.5 and 6.0 system. I already tried to apply the vmdktool taken from ports (sysutils/vmdktool), but neither the ESXi 5.5 nor 6.0 recognizes the resulting vmdk file as a valid disk. The manpage of vmdktool states it suits disk format VMDisk Format 1.1, ESXi 5.5 or 6.0 has version 5.0, if not higher (as far as I know). Converting any tested and booting image is not recognized by the ESXi. Several manually applied manipulations did not go well - the vmdk file is seen then, but the ESXi complains about unknown disk type 7 in some cases. I tried then FreeBSD's mkimg(1) tool. Without success. The resulting vmdk file is well recognized by the ESXi, it also boots, but then the loader stops at the point where we have to issue "?" to get the recognized GEOM drives. Consider nano.img to be a raw image conatining a GPT partitioning layout and the EFIFAT UEFI partition and two (or three, depending on whether nanoBSD is configured using a second, ALTROOT partition, or not) partitions, named/labeled "/dev/ufs/nanos1a" and "/dev/ufs/nanos3" (the labels actually are s1a and s3). Put onot a SD or USB flash, booting off on a UEFI capable/configured box (using a Fujitsu Server as well as a ZOTAC nano box and Intel NUC) works well! Now I apply mkimg -s gpt -p freebsd:=nano.img -f vmdk -o nano.vmdk The resulting vmdk disk image boots - but then fails at the loader prompt calling for a boot partition. The labeling is wrong, when hitting "?" and showing the list of recognizes partitions. It seems, mkimg "envelopes" the whole image again instead of simply emitting a vmdk file suitable as ESXi disk with the partitioning layout represented by the RAW image. At the end, I'm floating dead in the water! Either I can convert a raw image to an ESXi vmdk file, but it isn't recognized, or I have a bootable vmdk, but it stops working because of a wrong partition layout and non-recognized labeling. Is there a way to convert RAW images of a working/booting disk into a vmdk file that is working with both ESXi 5.5 and 6.0? Thank yo very much in advance, oliver From owner-freebsd-questions@freebsd.org Mon Feb 22 14:46:10 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B06BAAF367 for ; Mon, 22 Feb 2016 14:46:10 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE3791A78 for ; Mon, 22 Feb 2016 14:46:09 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x22f.google.com with SMTP id g62so167024887wme.0 for ; Mon, 22 Feb 2016 06:46:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:cc:reply-to:in-reply-to; bh=E50fRBrAXDFaat6MA5p4B9HCGYXD0fcJ5xg+ytV3kxE=; b=eCm+KTW11jooqcnYfrnbRH5fBaL6/Q1Q67OLQz+0mik6KP4dMHqALo8un+oIE7HDzz Jazt0mSdmbPylrQzIxr9zfdYqnsUtzlRpIE9fRhobam3FSkev4cLf0SZLZbz3NyGcxK8 Ae29NQKk5jdfi/3Qz4volesDdH6qFPC3NwtZGojcqpyWuEzBj4TBG/J5+cfy+WCa3oK6 tN0T/zT39Bg/KdEvXVmQFvG3Rge61osm6je4dKTjQBgW5bqWa5FSCsC3I0+zbyiEXO27 3hyJL465vWYfp+sC7O2FxzxvUJX8PjTXyoCkObJJEAIkKRh7IrMoZnrU6AJ4CAN/LXqf /zyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=E50fRBrAXDFaat6MA5p4B9HCGYXD0fcJ5xg+ytV3kxE=; b=JjEqMcBdV35H7u3FuaU27CjWFdOh3tLQFPdBdmDFxfM0CYtekFuyTcfj9OmJdbrEdc v61+P9g1P6lIMNBhe5nnrSCcvEFRUNgp/gJPxRHrjfn2ywZSxeO5iXjeH638HxK3nCVQ yM6rgJyLy6xAeJMvg/2dQ9enVMIYzgxSQ0krd9NklVaKOHM4V8EI6eD6ShIulLQbvJ8M r3tUcp7TtEg/6aLFxH0loAKZqXaIngHDqLB5U0HT70rQzq7ks3Mj2SbE9akIVOjIve8v pd3s4yEQw054xmvXLigI4ODKxGvjc+uSuErRg2mWBHSjRXKkb5KeB1E2K1JRo4ULaAM+ igiw== X-Gm-Message-State: AG10YOTyTchfsT6PmzYl5vfFv9NryMAuwAR6XQLLYtpcBgQSTCkY8pZx3Lj4ubXBnKD5/Hfk X-Received: by 10.28.148.68 with SMTP id w65mr13457806wmd.66.1456152367692; Mon, 22 Feb 2016 06:46:07 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id et11sm25012017wjc.30.2016.02.22.06.46.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Feb 2016 06:46:06 -0800 (PST) Date: Mon, 22 Feb 2016 06:46:06 -0800 (PST) X-Google-Original-Date: Mon, 22 Feb 2016 14:46:05 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u1MEk5Tp089900; Mon, 22 Feb 2016 14:46:05 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u1MEk5i0089899; Mon, 22 Feb 2016 14:46:05 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201602221446.u1MEk5i0089899@mech-as222.men.bris.ac.uk> To: ashish@FreeBSD.org, mexas@bris.ac.uk Subject: Re: tcsh - SHELL: Undefined variable. Cc: dickey@his.com, freebsd-questions@freebsd.org Reply-To: mexas@bris.ac.uk In-Reply-To: <86d1ro7un9.fsf@chateau.d.if> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 14:46:10 -0000 >From ashish@freebsd.org Mon Feb 22 13:52:50 2016 > >|| xterm -v >| XTerm(321) > >Try xterm 322[1], it's fixed there. > >References: >[1] http://invisible-island.net/xterm/xterm.log.html Thank you, that fixed it. Anton From owner-freebsd-questions@freebsd.org Mon Feb 22 17:41:15 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 136F1AB16ED for ; Mon, 22 Feb 2016 17:41:15 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin1.langille.org (clavin.langille.org [162.208.116.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E384A1E06 for ; Mon, 22 Feb 2016 17:41:13 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin1.int.langille.org (clavin1.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 169EE50FE for ; Mon, 22 Feb 2016 17:41:10 +0000 (UTC) From: Dan Langille X-Pgp-Agent: GPGMail 2.6b2 Content-Type: multipart/signed; boundary="Apple-Mail=_2691C8A5-15A0-4108-AB5D-A59D89D7B646"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: ZFS: i/o error - all block copies unavailable Date: Mon, 22 Feb 2016 12:41:09 -0500 Message-Id: <5C208714-5117-4089-A872-85A6375856B7@langille.org> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 17:41:15 -0000 --Apple-Mail=_2691C8A5-15A0-4108-AB5D-A59D89D7B646 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I have a FreeBSD 10.2 (with freebsd-update applied) system at home which = cannot boot. The message is: ZFS: i/o error - all block copies unavailable ZFS: can't read MOS of pool system gptzfsboot: failed to mount default pool system The screen shot is = https://twitter.com/DLangille/status/701611716614946816 The zpool name is 'system'. I booted the box via mfsBSD thumb drive, and was able to import the = zpool: https://gist.github.com/dlangille/6da065e309301196b9cd = I have also run: "gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 = XXX" against each drive. I did with the the files provided with mfsBSD and with the files from my local 10.2 system. = Neither solution changed the booting problem. Ideas? Suggestions? -- Dan Langille - BSDCan / PGCon dan@langille.org --Apple-Mail=_2691C8A5-15A0-4108-AB5D-A59D89D7B646 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQJ8BAEBCgBmBQJWy0g1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MTE2RjM0ODIzRDdERDM4OTY0OUJBNzdF QjIxNTlERUU5NzI3MzlGAAoJEOshWd7pcnOf338QAM32i3EA88anC5m0ah9b7EcG cC/JNd0l0DpYgzNXqR51Ok3qqOtyfzYVSMC4D7dml62lYHucNI8aAwhVtmlGjvl2 PQWahmaSyP8E5nGgVbcgDIK4Xi3cidJi4mjtBCa3esbWNZ3qg2swq9VIrIolP1pT xvCGfvUcJOem4DAURlE9aw/PjnE/fNxT0IHToPuZwj3qvX66qkLDeMk0gKjoKsuK 4RjL172/ybjd/bVbZioZmqkS0afhq2M6saOE4pw5w6Yvs9LxVlWuI21bGW4M92ZP U92NPSAQ5LjaEjHcByzG/9s5D39w6pNnYYkc8i7l8JnHC/99HKxWyF/bV4XZP+Jo BSJVMhYBQ1jEfQpB/qa3BkfZm4w0tflEz1YEwvKi08X4Qe7HJhiaA8oYlbwLciZI +XAqWf8cVk5eC50RxC3vyDHlCZPLrMkHk0Bwo3B3p9lqwN4vFvwTQT8lb/pyPqBI jtKjO682nj5yqcmSC8Aj+aVJE4qA3R0MbDNRT8dP0Uoe0e5A7rw+SayS4ViYtVBT KsiLRovKkTCOqj9nzX5GFDnVkqLzYgxNwt0tfSyCHlZQy9djLAQFy0/USFKm8Gt+ BnIJ3I0qgmzhWvWqV7ssTpClbbb5X8wvdF8fyhsYbbqJ6yI9rz8XpHsmB3L9swRU 9VsoKsyP5c81FvFMn/M2 =HLBD -----END PGP SIGNATURE----- --Apple-Mail=_2691C8A5-15A0-4108-AB5D-A59D89D7B646-- From owner-freebsd-questions@freebsd.org Mon Feb 22 17:58:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0633AB1D87 for ; Mon, 22 Feb 2016 17:58:34 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (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 5A3C51641 for ; Mon, 22 Feb 2016 17:58:33 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 2D440860C for ; Mon, 22 Feb 2016 17:58:22 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/2D440860C; dkim=none; dkim-atps=neutral Subject: Re: ZFS: i/o error - all block copies unavailable To: freebsd-questions@freebsd.org References: <5C208714-5117-4089-A872-85A6375856B7@langille.org> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <56CB4C33.2030109@FreeBSD.org> Date: Mon, 22 Feb 2016 17:58:11 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <5C208714-5117-4089-A872-85A6375856B7@langille.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0DnIS5dCAKnfi27iXjQQENW2LgCGqfqWw" X-Virus-Scanned: clamav-milter 0.99 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.2 required=5.0 tests=RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 17:58:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0DnIS5dCAKnfi27iXjQQENW2LgCGqfqWw Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016/02/22 17:41, Dan Langille wrote: > I have a FreeBSD 10.2 (with freebsd-update applied) system at home whic= h cannot boot. The message is: >=20 > ZFS: i/o error - all block copies unavailable > ZFS: can't read MOS of pool system > gptzfsboot: failed to mount default pool system This always used to indicate problems with /boot/zfs/zpool.cache being inconsistent. However, my understanding is that ZFS should be able to cope with an inonsistent zpool.cache nowadays. The trick there was to boot from some other media, export the pool and then import it again. > The screen shot is https://twitter.com/DLangille/status/701611716614946= 816 >=20 > The zpool name is 'system'. >=20 > I booted the box via mfsBSD thumb drive, and was able to import the zpo= ol: https://gist.github.com/dlangille/6da065e309301196b9cd =2E.. which means all the zpool.cache stuff above isn't going to help. > I have also run: "gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1= XXX" against each drive. I did with the the files > provided with mfsBSD and with the files from my local 10.2 system. Nei= ther solution changed the booting problem. >=20 > Ideas? Suggestions? Is this mirrored or RAIDZx? If it's mirrored, you might be able to: - split your existing zpool (leaves it without redundancy) - on the half of your drives removed from the existing zpool, create a new zpool (again, without redundancy) - do a zfs send | zfs receive to copy all your data into the new zpool - boot from the new zpool - deconfigure the old zpool, and add the drives to the new zpool to make it fully redundant again - wait for lots of resilvering to complete However, this really only works if the pool is mirrored throughout. RAIDZ users will be out of luck. Cheers, Matthew --0DnIS5dCAKnfi27iXjQQENW2LgCGqfqWw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJWy0w7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnlxAQAJiTwtMgzDgCncR+oUdIIOX9 NFajo+MzjyUeKgC1GXLprMy7cgGwLGpNYApnm9BOK94koThCxlY5WmdmuRP4Mb1Z P0DHFbxJBvtcBdKlhWFez6S/khojtDuywUk2XoGBuMCGKRXb/7rsWlCM914i5Tnt 9YXZGqVgbiKh0MM0XJD+2B7f/XnLvkm5HVX6WpLkLkSz/ejv/m29vwSW7fNwjBeL tNxvAENYu8ptHrFnkZ6mBYSaMnyscbxKxljQQJGW8CLuQ/XTYkHCmhLExW824J9K RiIVoxEbDAHN8KBie9bZ89Mj/ObavdpA/3QWu/7LBgkpdtrFUZCeVCq3iACletii Wh9qO1jVrVhD1ot9yljySHnuMHcll4bNCZlaYVPpPZLCcGfoc6kmQ6GdXzpFNyB4 cY90cYVKdbqppvMJdAudRcVq19696HwaThONcz4W5eI0/iIn9Dhc3JRgGJTJA/9S GTUfBBE6lDIeUW8waWBFKhjo4DSEONiBjscKeEV1qtAnhUpkaVU+jVLeOLbboZMB Xk68KZJAYVH6e7H/b9QsP8QtrYXahdLGMZ0BarJCNRKcPDL6Xn3D/n0bGZYxzRRf QYg5a0q7+Db70ejiG10pWdZmAx0GBxXCCxuOgNJ2lSvcvYEi81OOF75QaTHGNidn HBYtMSiFc3IqpZOJk/D1 =gPY2 -----END PGP SIGNATURE----- --0DnIS5dCAKnfi27iXjQQENW2LgCGqfqWw-- From owner-freebsd-questions@freebsd.org Mon Feb 22 17:59:39 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04D18AB1E40 for ; Mon, 22 Feb 2016 17:59:39 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D20D17E1 for ; Mon, 22 Feb 2016 17:59:36 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from kw.news4all.se (netlaser-2 [10.0.0.6]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id u1MHckk7090673 for ; Mon, 22 Feb 2016 18:38:47 +0100 (CET) (envelope-from bah@bananmonarki.se) To: questions FreeBSD From: Bernt Hansson Subject: Got a panic today Message-ID: <56CB47A6.9080107@bananmonarki.se> Date: Mon, 22 Feb 2016 18:38:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 17:59:39 -0000 Hello list! This panic showed up today once; panic: AP (PHY# 1) What is AP and PHY? I did a search but no explanation of AP or PHY. Did what was suggested, fsck. Now it seems to do well. Before it was random lockups. Anyone? /B From owner-freebsd-questions@freebsd.org Mon Feb 22 18:03:27 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DE9BAB0074 for ; Mon, 22 Feb 2016 18:03:27 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin1.langille.org (clavin.langille.org [162.208.116.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F8EA1BBE; Mon, 22 Feb 2016 18:03:26 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin1.int.langille.org (clavin1.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id B59B3519D ; Mon, 22 Feb 2016 18:03:23 +0000 (UTC) Subject: Re: ZFS: i/o error - all block copies unavailable Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_1F07AEFD-94EE-4BB3-8419-64256D228F47"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.6b2 From: Dan Langille In-Reply-To: <56CB4C33.2030109@FreeBSD.org> Date: Mon, 22 Feb 2016 13:03:22 -0500 Cc: freebsd-questions@freebsd.org Message-Id: References: <5C208714-5117-4089-A872-85A6375856B7@langille.org> <56CB4C33.2030109@FreeBSD.org> To: Matthew Seaman X-Mailer: Apple Mail (2.3112) X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 18:03:27 -0000 --Apple-Mail=_1F07AEFD-94EE-4BB3-8419-64256D228F47 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 > On Feb 22, 2016, at 12:58 PM, Matthew Seaman = wrote: >=20 > On 2016/02/22 17:41, Dan Langille wrote: >> I have a FreeBSD 10.2 (with freebsd-update applied) system at home = which cannot boot. The message is: >>=20 >> ZFS: i/o error - all block copies unavailable >> ZFS: can't read MOS of pool system >> gptzfsboot: failed to mount default pool system >=20 > This always used to indicate problems with /boot/zfs/zpool.cache being > inconsistent. However, my understanding is that ZFS should be able to > cope with an inonsistent zpool.cache nowadays. >=20 > The trick there was to boot from some other media, export the pool and > then import it again. >=20 >> The screen shot is = https://twitter.com/DLangille/status/701611716614946816 >>=20 >> The zpool name is 'system'. >>=20 >> I booted the box via mfsBSD thumb drive, and was able to import the = zpool: https://gist.github.com/dlangille/6da065e309301196b9cd = >=20 > ... which means all the zpool.cache stuff above isn't going to help. >=20 >> I have also run: "gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i = 1 XXX" against each drive. I did with the the files >> provided with mfsBSD and with the files from my local 10.2 system. = Neither solution changed the booting problem. >>=20 >> Ideas? Suggestions? >=20 > Is this mirrored or RAIDZx? If it's mirrored, you might be able to: >=20 > - split your existing zpool (leaves it without redundancy) > - on the half of your drives removed from the existing zpool, > create a new zpool (again, without redundancy) > - do a zfs send | zfs receive to copy all your data into the > new zpool > - boot from the new zpool > - deconfigure the old zpool, and add the drives to the new zpool > to make it fully redundant again > - wait for lots of resilvering to complete >=20 > However, this really only works if the pool is mirrored throughout. > RAIDZ users will be out of luck. It is raidz2. There is a zpool status here: = http://dan.langille.org/2013/08/18/knew/ = --Apple-Mail=_1F07AEFD-94EE-4BB3-8419-64256D228F47 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQJ8BAEBCgBmBQJWy01qXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MTE2RjM0ODIzRDdERDM4OTY0OUJBNzdF QjIxNTlERUU5NzI3MzlGAAoJEOshWd7pcnOfun8P/1NA9eXL2TK3OjGiFOMDUSMk hLrlfXLK3tOYZTCtWVme0IyixYEUyFF5rQzJfGw35rPgAf4L+iBkHLI4elzShiFw eDnoxOD+16i2PrzMxpwSUwTYQiYqerJmKmx3cz5Hf/DQIiAUfBSNOYKUVlC5P7n0 EGKY/F4GU+OSdoOHBqeVhplw6OUJxwNKzht7LCCPXCv8zdoWBfy+0ICCF+nit2C9 ZXAjdwuhGcHXMcuKsS63XuASN2e0ajDeUj2g/wm4dws9g0CRuXdbsTAGPQ+QoBMi PgfALhB+P/f1TOcegGJB4POyqU7n2NchwCrazh8EKbu4pTuE1yQn+GF+hV2IfS46 9on6JHCwz3KwbLHCJAEq9lY5r/ffqjWj5nAVHrAgTHDKCnDUdA7BodMYbWj/VQ+0 yVT4ig5pLX/qKvj88iE1nJfuiJ/qCWiEDwRfkkwVPCYFbePYNv1Rwm/Eu0frcylQ Ljm/DDQFnMZdcru4GN6yshukik/fcxgZn3J1mqZ2P0IdxZwXjU4yvwyybV9essdE xTPtrHVh1UhspWynTHCSDIwvCgFVKdGCpwB7czsyJcUFBBITAzRqFa7sSHkHcvIl yMZQ30jazs9KvI0vr3kDTaB7BgFT6rcgSfqdPFi/y6xFkBpQViG70I/4dVw+7Syt qne878iSdzLrF2g5exiN =fZV8 -----END PGP SIGNATURE----- --Apple-Mail=_1F07AEFD-94EE-4BB3-8419-64256D228F47-- From owner-freebsd-questions@freebsd.org Mon Feb 22 18:13:30 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1902AB0636 for ; Mon, 22 Feb 2016 18:13:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AC35B1289 for ; Mon, 22 Feb 2016 18:13:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-96-7.dynamic.qsc.de [92.195.96.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 7194B3CF34; Mon, 22 Feb 2016 19:13:21 +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 u1MIDKDo002566; Mon, 22 Feb 2016 19:13:20 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 22 Feb 2016 19:13:20 +0100 From: Polytropon To: Bernt Hansson Cc: questions FreeBSD Subject: Re: Got a panic today Message-Id: <20160222191320.bc8ed616.freebsd@edvax.de> In-Reply-To: <56CB47A6.9080107@bananmonarki.se> References: <56CB47A6.9080107@bananmonarki.se> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 18:13:31 -0000 On Mon, 22 Feb 2016 18:38:46 +0100, Bernt Hansson wrote: > This panic showed up today once; > > panic: AP (PHY# 1) > > What is AP and PHY? AP seems to refer to the CPU, the "application processor" See for comparison this dmesg output: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 Here we see BSP ("bootstrap processor") and AP. PHY seems to refer to physical characteristics of interfaces. Again from "dmesg | grep PHY": nsphy0: PHY 24 on miibus0 ukphy0: PHY 1 on miibus1 You often see comparable output related to NICs. For example, if you search "man rl" for the string "PHY", there are refernces to the physical chipset (physical layer, as opposite to the MAC, the media-independent layer). It's a reference to the OSI layer 1. So in your case, the error refers a panic of the application processor, which is the 1st physical processor. I hope my guesses are correct. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Feb 22 18:31:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59CC7AB0FC8 for ; Mon, 22 Feb 2016 18:31:11 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 041AA1EA3 for ; Mon, 22 Feb 2016 18:31:10 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id u1MIV9Uc048495 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Feb 2016 13:31:09 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.14.9/8.14.9) with ESMTP id u1MIV8df098071; Mon, 22 Feb 2016 13:31:08 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: ZFS: i/o error - all block copies unavailable To: Dan Langille , freebsd-questions@freebsd.org References: <5C208714-5117-4089-A872-85A6375856B7@langille.org> From: Mike Tancsa X-Enigmail-Draft-Status: N1110 Organization: Sentex Communications Message-ID: <56CB53D5.1030709@sentex.net> Date: Mon, 22 Feb 2016 13:30:45 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <5C208714-5117-4089-A872-85A6375856B7@langille.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 18:31:11 -0000 On 2/22/2016 12:41 PM, Dan Langille wrote: > I have a FreeBSD 10.2 (with freebsd-update applied) system at home > which cannot boot. The message is: ZFS: i/o error - all block > copies unavailable ZFS: can't read MOS of pool system gptzfsboot: > failed to mount default pool system > > I booted the box via mfsBSD thumb drive, and was able to import > the zpool: https://gist.github.com/dlangille/6da065e309301196b9cd > > > I have also run: "gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot > -i 1 XXX" against each drive. I did with the the files provided > with mfsBSD and with the files from my local 10.2 system. Neither > solution changed the booting problem. This is a longshot, but I ran into an odd situation like this as well a few weeks ago. It seems on the motherboard I was using, when the "DUAL" boot option is enabled in the BIOS, present all the disks to the loader early in the boot process. So, when you escape to the loader prompt, and do OK lsdev cd devices: disk devices: disk0:BIOS drive C: disk1:BIOS drive D: disk2:BIOS drive E: disk3:BIOS drive F: pxe devices: zfs devices: zfs:zroot OK In this case, 4 of the disks that are normally part of the zroot were not there resulting in ZFS: i/o error - all block copies unavailable Disabling the "DUAL" option in the BIOS and going back to legacy and listing all the drives as possible boot drives, then presents to the zfsloader all the disks, so we see the familiar BIOS drive C: is disk0 BIOS drive D: is disk1 BIOS drive E: is disk2 BIOS drive F: is disk3 BIOS drive G: is disk4 BIOS drive H: is disk5 BIOS drive I: is disk6 BIOS drive J: is disk7 This is a Supermicro SYS-7048R-C1RT4+ X10DRC-T4+ (BIOS 01/29/2015) Prior to the reboot, the other drives were not used by the zfs pool, but were added. Since the old pool didnt need them, it didnt matter. Its a longshot that this is your problem, but I will takes the chances today :) ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@freebsd.org Mon Feb 22 18:33:37 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37B54AB11F2 for ; Mon, 22 Feb 2016 18:33:37 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B52E3109A for ; Mon, 22 Feb 2016 18:33:35 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from [10.0.0.3] (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id u1MIXPVa091732; Mon, 22 Feb 2016 19:33:25 +0100 (CET) (envelope-from bah@bananmonarki.se) Subject: Re: Got a panic today To: Polytropon References: <56CB47A6.9080107@bananmonarki.se> <20160222191320.bc8ed616.freebsd@edvax.de> Cc: questions FreeBSD From: Bernt Hansson Message-ID: <56CB5475.4090203@bananmonarki.se> Date: Mon, 22 Feb 2016 19:33:25 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160222191320.bc8ed616.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 18:33:37 -0000 On 2016-02-22 19:13, Polytropon wrote: > On Mon, 22 Feb 2016 18:38:46 +0100, Bernt Hansson wrote: >> This panic showed up today once; >> >> panic: AP (PHY# 1) >> >> What is AP and PHY? > AP seems to refer to the CPU, the "application processor" > See for comparison this dmesg output: > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > > Here we see BSP ("bootstrap processor") and AP. > > PHY seems to refer to physical characteristics of interfaces. > Again from "dmesg | grep PHY": > > nsphy0: PHY 24 on miibus0 > ukphy0: PHY 1 on miibus1 > > You often see comparable output related to NICs. For example, > if you search "man rl" for the string "PHY", there are refernces > to the physical chipset (physical layer, as opposite to the MAC, > the media-independent layer). It's a reference to the OSI layer 1. > > So in your case, the error refers a panic of the application > processor, which is the 1st physical processor. > > I hope my guesses are correct. :-) Very often they are, but I had the same kind of "panic" in windows. The machine would run fr any number of minutes then the screen went black and the led on the monitor started blinking slowly like if the screensaver started. This is what SEEMS to have "fixed" the problem; https://forums.freebsd.org/threads/19515/ From owner-freebsd-questions@freebsd.org Mon Feb 22 23:54:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B240AAAF137 for ; Mon, 22 Feb 2016 23:54:22 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 921C519FF for ; Mon, 22 Feb 2016 23:54:22 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from lowell-desk.lan (router.lan [172.30.250.2]) by be-well.ilk.org (Postfix) with ESMTP id 0B84033C1E; Mon, 22 Feb 2016 18:54:15 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id DBAAA39843; Mon, 22 Feb 2016 18:54:14 -0500 (EST) From: Lowell Gilbert To: Polytropon Cc: questions FreeBSD Subject: Re: Got a panic today References: <56CB47A6.9080107@bananmonarki.se> <20160222191320.bc8ed616.freebsd@edvax.de> Date: Mon, 22 Feb 2016 18:54:14 -0500 In-Reply-To: <20160222191320.bc8ed616.freebsd@edvax.de> (Polytropon's message of "Mon, 22 Feb 2016 19:13:20 +0100") Message-ID: <44bn7847yx.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 23:54:22 -0000 Polytropon writes: > PHY seems to refer to physical characteristics of interfaces. > Again from "dmesg | grep PHY": > > nsphy0: PHY 24 on miibus0 > ukphy0: PHY 1 on miibus1 > > You often see comparable output related to NICs. For example, > if you search "man rl" for the string "PHY", there are refernces > to the physical chipset (physical layer, as opposite to the MAC, > the media-independent layer). It's a reference to the OSI layer 1. Right, but in practice this is a little less abstract. MAC is the IEEE 802.3 area of "Media Access Control". Considerate chip vendors will refer to an EMAC to specify that it's Ethernet, but really most of the time in networking, if you see the term MAC, it will refer to Ethernet, and generally it will refer to the hardware that implements 802.3 MAC. Similarly, "PHY hardware" will usually mean an Ethernet transceiver. From owner-freebsd-questions@freebsd.org Tue Feb 23 02:48:15 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 876F6AB1EAF for ; Tue, 23 Feb 2016 02:48:15 +0000 (UTC) (envelope-from philip@semanchuk.com) Received: from rickgrimes.asoshared.com (rickgrimes.asoshared.com [108.165.20.44]) (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 6937C1379 for ; Tue, 23 Feb 2016 02:48:15 +0000 (UTC) (envelope-from philip@semanchuk.com) Received: from user-10lff6g.cable.mindspring.com ([65.87.188.208]:38358 helo=[10.0.1.5]) by rickgrimes.asoshared.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.86) (envelope-from ) id 1aY2Ii-0003Jp-1K for freebsd-questions@freebsd.org; Mon, 22 Feb 2016 21:02:08 -0500 From: Philip Semanchuk Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Adding printf() to observe semaphore behavior? Message-Id: <61DF564A-5DB5-4C9C-B12B-24CE529706D8@semanchuk.com> Date: Mon, 22 Feb 2016 21:01:46 -0500 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rickgrimes.asoshared.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - semanchuk.com X-Get-Message-Sender-Via: rickgrimes.asoshared.com: authenticated_id: philip@semanchuk.com X-Authenticated-Sender: rickgrimes.asoshared.com: philip@semanchuk.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 02:48:15 -0000 Hi all, I=E2=80=99m trying to debug a potential kernel problem with POSIX = semaphores. I=E2=80=99m trying to build a custom kernel with some added = printf() statements and I=E2=80=99m not seeing any output, neither to = /var/log/messages nor to the console. I would appreciate any help at = getting the kernel to talk to me.=20 Here=E2=80=99s what I=E2=80=99ve already done on my PC BSD 10.2 running = inside a VM =E2=80=94 =20 - Downloaded the source to /usr/src - Added a printf(=E2=80=9CHello world\n=E2=80=9D) in each implementation = of sem_open() (both in lib/libc/gen/sem.c and sem_new.c) and one inside = the implementation of ksem_open() (in sys/kern/uipc_sem.c) for good = measure. I did not #include which I=E2=80=99ve read is the = correct thing to do when one wants to use the kernel=E2=80=99s printf().=20= - cd /usr/src - sudo make buildkernel=20 - sudo make installkernel - reboot - Create a POSIX semaphore. It works, but I don=E2=80=99t see my = =E2=80=9CHello world=E2=80=9D message. Any suggestions on what I=E2=80=99m doing wrong would be appreciated. Thanks Philip From owner-freebsd-questions@freebsd.org Tue Feb 23 04:56:42 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FEBAAB1424 for ; Tue, 23 Feb 2016 04:56:42 +0000 (UTC) (envelope-from green_tiger@comcast.net) Received: from resqmta-ch2-11v.sys.comcast.net (resqmta-ch2-11v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:43]) (using TLSv1.2 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 D752612A9 for ; Tue, 23 Feb 2016 04:56:41 +0000 (UTC) (envelope-from green_tiger@comcast.net) Received: from resomta-ch2-01v.sys.comcast.net ([69.252.207.97]) by resqmta-ch2-11v.sys.comcast.net with comcast id Mgwg1s00226dK1R01gwgqM; Tue, 23 Feb 2016 04:56:40 +0000 Received: from [IPv6:2601:151:c303:4523:6129:eb2c:934e:c2a7] ([IPv6:2601:151:c303:4523:6129:eb2c:934e:c2a7]) by resomta-ch2-01v.sys.comcast.net with comcast id MgwZ1s00B0bvxye01gwfEd; Tue, 23 Feb 2016 04:56:39 +0000 Message-ID: <1456202944.4644.10.camel@comcast.net> Subject: Re: NanoBSD/FreeBSD: GPT bootable image: howto create sparse VMDK for ESXi? From: "John L. Templer" To: "O. Hartmann" Cc: freebsd-questions In-Reply-To: <20160222144824.7bbcc212@freyja.zeit4.iv.bundesimmobilien.de> References: <20160222144824.7bbcc212@freyja.zeit4.iv.bundesimmobilien.de> Content-Type: text/plain; charset="UTF-8" Date: Mon, 22 Feb 2016 23:49:04 -0500 Mime-Version: 1.0 X-Mailer: Evolution 3.12.9-1+b1 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1456203400; bh=ww+L+kKGezx876KbjNi6lC/dktBezqrxs2Dk2rFpYyI=; h=Received:Received:Message-ID:Subject:From:To:Content-Type:Date: Mime-Version; b=c+aIH3HbiH/RJn/QQPvsjr3cFGeRGLZ+uEOO3wc82EEYORIb8kMjxYpn7xxHM3Rrq Fy3MMuxiB+7hcM3i63YvOqT0Nl+Z4RCP1bSBlOyyVrG72iaf2TAhIZTmhNiEPrPp/p nVEV/coD9kgfx4Dk9o4Lqy74RzPULILJU/8IZDwOKaQhSAWTMMh+a1N/z21UdTS/Yk 3/+w8HeI4s7uqva21R56eNMh4umuchlq2de0r7kExgnl5y9++4uWLuEuV1XCh2AORF 4a1xBdeBLAhCiCB1IEUc9s1ZRRxjJDqRrIIxbVVrKtKEyUZKSTAdCk4brCeBek+Ucg qD+qViMvOJDFA== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 04:56:42 -0000 On Mon, 2016-02-22 at 14:48 +0100, O. Hartmann wrote: > Hello out there. > > First please CC me as I do not subscribe this list. > > I successfully use the NanoBSD framework with some modifications for creation > of GPT/UEFI bootable images with recent CURRENT. The appliance boots off microSD > cards, ISO 9660 images (with some modifications made to the nanoBSD framework) > and USB flash drives. > > I need this image of a FreeBSD appliance on an ESXi 5.5 and 6.0 system. I > already tried to apply the vmdktool taken from ports (sysutils/vmdktool), but > neither the ESXi 5.5 nor 6.0 recognizes the resulting vmdk file as a valid > disk. The manpage of vmdktool states it suits disk format VMDisk Format 1.1, > ESXi 5.5 or 6.0 has version 5.0, if not higher (as far as I know). Converting > any tested and booting image is not recognized by the ESXi. Several manually > applied manipulations did not go well - the vmdk file is seen then, but the > ESXi complains about unknown disk type 7 in some cases. > > I tried then FreeBSD's mkimg(1) tool. Without success. The resulting vmdk file > is well recognized by the ESXi, it also boots, but then the loader stops at > the point where we have to issue "?" to get the recognized GEOM drives. > Consider nano.img to be a raw image conatining a GPT partitioning layout and > the EFIFAT UEFI partition and two (or three, depending on whether nanoBSD is > configured using a second, ALTROOT partition, or not) > partitions, named/labeled "/dev/ufs/nanos1a" and "/dev/ufs/nanos3" (the labels > actually are s1a and s3). Put onot a SD or USB flash, booting off on a UEFI > capable/configured box (using a Fujitsu Server as well as a ZOTAC nano box and > Intel NUC) works well! Now I apply > > mkimg -s gpt -p freebsd:=nano.img -f vmdk -o nano.vmdk > > The resulting vmdk disk image boots - but then fails at the loader prompt > calling for a boot partition. The labeling is wrong, when hitting "?" and > showing the list of recognizes partitions. > > It seems, mkimg "envelopes" the whole image again instead of simply emitting a > vmdk file suitable as ESXi disk with the partitioning layout represented by > the RAW image. > > At the end, I'm floating dead in the water! Either I can convert a raw image > to an ESXi vmdk file, but it isn't recognized, or I have a bootable vmdk, but > it stops working because of a wrong partition layout and non-recognized > labeling. > > Is there a way to convert RAW images of a working/booting disk into a vmdk > file that is working with both ESXi 5.5 and 6.0? > > Thank yo very much in advance, > > oliver > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" (I'm assuming you're running some VMware product like vSphere or vCenter.) I always found it easier to put an ISO image of an install CD or DVD on a datastore, spin up a new VM with that image attached, and install it on the new VM. Then you can take the resulting VMDK file and copy it wherever you want. From owner-freebsd-questions@freebsd.org Tue Feb 23 07:20:52 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25071AB1D7C for ; Tue, 23 Feb 2016 07:20:52 +0000 (UTC) (envelope-from 000001530cf44e47-ccacfe21-94cc-4fb0-898b-c726a3c608e1-000000@us-west-2.amazonses.com) Received: from a27-34.smtp-out.us-west-2.amazonses.com (a27-34.smtp-out.us-west-2.amazonses.com [54.240.27.34]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06BD5A47 for ; Tue, 23 Feb 2016 07:20:51 +0000 (UTC) (envelope-from 000001530cf44e47-ccacfe21-94cc-4fb0-898b-c726a3c608e1-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=4nphvxivhgsntfxkzsopqsdbvjscuhxm; d=vmeta.jp; t=1456211250; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Subject:Message-ID; bh=4aVsS2WyK3ACVYeOAz9lXilFO7mJqWor6ail/idc0vA=; b=HuAUJzdGOGrBtoTxtCoF+Mo7dh9MEV2tjefeOW9DPklp2SIBuc7JiFcaDmo0sw/C 6E25Mo+ARA5ChBrkXljiLvvNbdPRz8Wmq5Ak9thdY3Z7mDWrQ3s/LxluD7kpA8SC0+t H+U79ZzHD9wKcZblcxEQI/WRjrccQ9Vz9mPO0EPU= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1456211250; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Subject:Message-ID:Feedback-ID; bh=4aVsS2WyK3ACVYeOAz9lXilFO7mJqWor6ail/idc0vA=; b=U7BhzIaE3e3MNdRysriItlLhlCcqcu//DxuYCYxfUjawPJ6R1LFHjOeuePkXEL4q NX3pd5/cMkbLsKtnI/75hxOCQk/+v13D0B2qmaZf6pGKuTZpGt+LLEKY8VkHyn8HMy3 dRVhqk4bgzVLlqj8niGmwSdezl0tgoqeus9407RQ= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on glory.vmeta.jp X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 23 Feb 2016 07:07:30 +0000 From: Koichiro IWAO To: freebsd-questions@freebsd.org Subject: how to know if bug 198092 applied in C program? Message-ID: <000001530cf44e47-ccacfe21-94cc-4fb0-898b-c726a3c608e1-000000@us-west-2.amazonses.com> X-Sender: meta@vmeta.jp User-Agent: Roundcube Webmail/1.1.4 X-SES-Outgoing: 2016.02.23-54.240.27.34 Feedback-ID: 1.us-west-2.ngRt4x2U/cWqug8pbfjwMxB6pcDw1fmN73bGmMLYyRI=:AmazonSES X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 07:20:52 -0000 Hello, I'm writing a C program and having a question. My program is intended to run under stable/9, releng/9.3, stable/10, releng/10.2, releng/10.3 and sometimes current. Stables are not always up to date. I'd like to check if getaddrinfo(3) supports AI_V4MAPPED using something like "#ifdef" or "#if" macros because it is not necessarily implemented[1]. Probably I can use __FreeBSD_version for that. Is this way good? If so, > #if __FreeBSD_version > __VALUE__ what the __VALUE__ will be? [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198092 Thanks, -- `whois vmeta.jp | nkf -w` meta From owner-freebsd-questions@freebsd.org Tue Feb 23 09:34:56 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6A24AAFA6E for ; Tue, 23 Feb 2016 09:34:56 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (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 7BC541315 for ; Tue, 23 Feb 2016 09:34:56 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1aY9Ml-000kdD-Iv>; Tue, 23 Feb 2016 10:34:47 +0100 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (envelope-from ) id <1aY9Ml-0047me-6m>; Tue, 23 Feb 2016 10:34:47 +0100 Date: Tue, 23 Feb 2016 10:34:41 +0100 From: "O. Hartmann" To: "John L. Templer" Cc: freebsd-questions Subject: Re: NanoBSD/FreeBSD: GPT bootable image: howto create sparse VMDK for ESXi? Message-ID: <20160223103441.3d64d544@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <1456202944.4644.10.camel@comcast.net> References: <20160222144824.7bbcc212@freyja.zeit4.iv.bundesimmobilien.de> <1456202944.4644.10.camel@comcast.net> Organization: FU Berlin X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 09:34:56 -0000 On Mon, 22 Feb 2016 23:49:04 -0500 "John L. Templer" wrote: > On Mon, 2016-02-22 at 14:48 +0100, O. Hartmann wrote: > > Hello out there. > > > > First please CC me as I do not subscribe this list. > > > > I successfully use the NanoBSD framework with some modifications for > > creation of GPT/UEFI bootable images with recent CURRENT. The appliance > > boots off microSD cards, ISO 9660 images (with some modifications made to > > the nanoBSD framework) and USB flash drives. > > > > I need this image of a FreeBSD appliance on an ESXi 5.5 and 6.0 system. I > > already tried to apply the vmdktool taken from ports (sysutils/vmdktool), > > but neither the ESXi 5.5 nor 6.0 recognizes the resulting vmdk file as a > > valid disk. The manpage of vmdktool states it suits disk format VMDisk > > Format 1.1, ESXi 5.5 or 6.0 has version 5.0, if not higher (as far as I > > know). Converting any tested and booting image is not recognized by the > > ESXi. Several manually applied manipulations did not go well - the vmdk > > file is seen then, but the ESXi complains about unknown disk type 7 in some > > cases. > > > > I tried then FreeBSD's mkimg(1) tool. Without success. The resulting vmdk > > file is well recognized by the ESXi, it also boots, but then the loader > > stops at the point where we have to issue "?" to get the recognized GEOM > > drives. Consider nano.img to be a raw image conatining a GPT partitioning > > layout and the EFIFAT UEFI partition and two (or three, depending on > > whether nanoBSD is configured using a second, ALTROOT partition, or not) > > partitions, named/labeled "/dev/ufs/nanos1a" and "/dev/ufs/nanos3" (the > > labels actually are s1a and s3). Put onot a SD or USB flash, booting off on > > a UEFI capable/configured box (using a Fujitsu Server as well as a ZOTAC > > nano box and Intel NUC) works well! Now I apply > > > > mkimg -s gpt -p freebsd:=nano.img -f vmdk -o nano.vmdk > > > > The resulting vmdk disk image boots - but then fails at the loader prompt > > calling for a boot partition. The labeling is wrong, when hitting "?" and > > showing the list of recognizes partitions. > > > > It seems, mkimg "envelopes" the whole image again instead of simply > > emitting a vmdk file suitable as ESXi disk with the partitioning layout > > represented by the RAW image. > > > > At the end, I'm floating dead in the water! Either I can convert a raw image > > to an ESXi vmdk file, but it isn't recognized, or I have a bootable vmdk, > > but it stops working because of a wrong partition layout and non-recognized > > labeling. > > > > Is there a way to convert RAW images of a working/booting disk into a vmdk > > file that is working with both ESXi 5.5 and 6.0? > > > > Thank yo very much in advance, > > > > oliver > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > (I'm assuming you're running some VMware product like vSphere or > vCenter.) > > I always found it easier to put an ISO image of an install CD or DVD on > a datastore, spin up a new VM with that image attached, and install it > on the new VM. Then you can take the resulting VMDK file and copy it > wherever you want. Hello. Thanks for the answer. For the NanoBSD environment, there is no such thing like an installation ISO and it has been provided with some advantages to create the layout manually of our appliance. I found a way, after days of searching, experiments and many faults using VBoxManage convertfromraw but this implies having already installed the huge port /emultaors/virtualbox-ose. Since VirtualBox can not be compiled on CURRENT with modern CPUs >= IvyBridge (see PR 193946, PR ,https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193946 ). It is a pity that this can't achieved with tools already aboard of FreeBSD. Kind regards, Oliver From owner-freebsd-questions@freebsd.org Tue Feb 23 10:39:15 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D9CCAB1B69 for ; Tue, 23 Feb 2016 10:39:15 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3A148A57 for ; Tue, 23 Feb 2016 10:39:15 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: by mailman.ysv.freebsd.org (Postfix) id 36F41AB1B68; Tue, 23 Feb 2016 10:39:15 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36952AB1B67 for ; Tue, 23 Feb 2016 10:39:15 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id F2777A56 for ; Tue, 23 Feb 2016 10:39:14 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3q8cLq5w3jzRRqT for ; Tue, 23 Feb 2016 11:39:15 +0100 (CET) X-Virus-Scanned: amavisd-new at mcs.it Received: from baobab.bilink.net ([127.0.0.1]) by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027) with ESMTP id zItjbVV9p0WE for ; Tue, 23 Feb 2016 11:39:15 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3q8cLq5D8hzRRqS for ; Tue, 23 Feb 2016 11:39:15 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id B84501B7515 for ; Tue, 23 Feb 2016 11:39:12 +0100 (CET) Date: Tue, 23 Feb 2016 11:39:12 +0100 From: Luciano Mannucci To: Subject: Changing architecture X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <3q8cLq5D8hzRRqS@baobab.bilink.it> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 10:39:15 -0000 Hello all! I have an i386 small server that I whish to upgrade to amd64 (upgrading the hardware too:) without destroying user files and configurations. Is that possible? It might be interesting on some virtual machines too... Maybe doing a rebuild of everything in /usr/src changing the architecture is enough? Thanks, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-questions@freebsd.org Tue Feb 23 10:52:20 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABAACAB233B for ; Tue, 23 Feb 2016 10:52:20 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU004-OMC4S10.hotmail.com (blu004-omc4s10.hotmail.com [65.55.111.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A71B1219 for ; Tue, 23 Feb 2016 10:52:20 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU436-SMTP99 ([65.55.111.137]) by BLU004-OMC4S10.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 23 Feb 2016 02:51:12 -0800 X-TMN: [6r81wSls8HNWUenokd9FM342gwHAwPun] X-Originating-Email: [carmel_ny@outlook.com] Message-ID: X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.99 at scorpio.seibercom.net Date: Tue, 23 Feb 2016 05:51:02 -0500 From: Carmel To: freebsd-questions@freebsd.org Subject: Updating Samba on new server. Organization: Seibercom NET X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Feb 2016 10:51:11.0543 (UTC) FILETIME=[1BD95470:01D16E28] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 10:52:20 -0000 I probably should ask this on the Samba forum; however, I was hoping that someone here might have an answer for me. I am moving from an older server to a newer one. I intended to install the latest versions of FreeBSD and of the other programs I use. One of those programs is Samba. I presently have samba36-3.6.25_1 installed on my old system. I intend to install samba43-4.3.3 on the new one. It is my understanding that SWAT is no longer available for Samba. Due to the way the server is used, modifications to the smb.conf file are fairly common. SWAT made that extremely easy. Is there another GUI available that works similar to how SWAT did? I really hate thinking that I will have to manually edit the file every time it requires updating. Can I import my old smb.conf file to start up with? At least I would have a base configuration to start with. Thanks! -- Carmel From owner-freebsd-questions@freebsd.org Tue Feb 23 11:02:32 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C12AAB26DE for ; Tue, 23 Feb 2016 11:02:32 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB2001B00 for ; Tue, 23 Feb 2016 11:02:31 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id b205so194240129wmb.1 for ; Tue, 23 Feb 2016 03:02:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Jp50P78NjleXvvLNDTH3vVajY2flVenH8uAGUuvfNlw=; b=AzUA+sX0Jpp8B+dwDAmLS9x12nAiupUTjFAKJDjt6N3PhWJ0d+MzuM4CnJccXYN4jf GwaGDH4baYvxJQS+LuMs7DrtxyWQRl6pSvlB5TLUFCyu+kpcpWp0PN7IIaC0WL8kzIIq zIVRvSzr3/p81DaMXQSMYxldZqq4odnmLsTAGjGxhBg7HvVay/8G1EVtQxj/exEYHtX1 734OBKt72S/sI7eE7EIZU0TzS67iqseG3/0MfLkPvc4p+NF5MQ+a7dqE9A6X0sv73ADG MjxhKLxCXF6jVLr1X1LDlZ91GVBqTRB77exX0vz8DUmxHpi6OGtqIvPX3sCSDiZIXNJ6 2fQA== 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; bh=Jp50P78NjleXvvLNDTH3vVajY2flVenH8uAGUuvfNlw=; b=HuqfY2aZYUZguO/MJQwY6DyfbNiT0VNFsrGXdBUf6Qp5QUuBKNf3vejtiHfEFs4oCW 3umork4JZ3IGI2dqtrO7AjsjKCqIMLLg7/0SAaiPfrspbLEYA5w9NLHEvU4YOxzD1gt+ Z4/2cPpECVU5UAxAfZDD6WQmsTqFR+7SjHy8xU3y2yfaw2TW7rsFCWrnjPDbiSSFpijO 2PJHq8mCG88MHvi2+MOy0uyywIoNf4XLJlKvZShVvkogY35lPwu6LF/7TDxCWb51Q5+e zPqc9r8uvMghRs9Ja1k4edeLU2x4mZ4YPwtg4/CjulKfycYQUUyt4VLTzB/LWQUEsY1N h7Tw== X-Gm-Message-State: AG10YOQqsMUt0e8WrN17Rq9XDW+HK/ojjqfBR5Vu7ZWna5XVNK2ZnI/MPENvOxN846QbN40QfuESnvsPz6+6nQ== MIME-Version: 1.0 X-Received: by 10.28.32.147 with SMTP id g141mr17696722wmg.19.1456225350131; Tue, 23 Feb 2016 03:02:30 -0800 (PST) Received: by 10.28.31.77 with HTTP; Tue, 23 Feb 2016 03:02:30 -0800 (PST) In-Reply-To: References: Date: Tue, 23 Feb 2016 11:02:30 +0000 Message-ID: Subject: Re: Updating Samba on new server. From: krad To: Carmel Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 11:02:32 -0000 There are quite a few changes from samba 3 to samba 4. We had quite a headache when someone upgraded a freenas box at work which resulting in a major samba jump. I wasnt directly involved but I think it there were lots of stuff with extended ACLs that needed fixing. Don't take the upgrade lightly and read all the upgrade notes before attempting. Definitely ask in the samba forums for advice. On 23 February 2016 at 10:51, Carmel wrote: > I probably should ask this on the Samba forum; however, I was hoping > that someone here might have an answer for me. > > I am moving from an older server to a newer one. I intended to install > the latest versions of FreeBSD and of the other programs I use. One of > those programs is Samba. > > I presently have samba36-3.6.25_1 installed on my old system. I intend > to install samba43-4.3.3 on the new one. It is my understanding that > SWAT is no longer available for Samba. > > Due to the way the server is used, modifications to the smb.conf file > are fairly common. SWAT made that extremely easy. Is there another GUI > available that works similar to how SWAT did? I really hate thinking > that I will have to manually edit the file every time it requires > updating. > > Can I import my old smb.conf file to start up with? At least I would > have a base configuration to start with. > > Thanks! > > -- > Carmel > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue Feb 23 11:31:00 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB39BAB2F23 for ; Tue, 23 Feb 2016 11:31:00 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU004-OMC4S21.hotmail.com (blu004-omc4s21.hotmail.com [65.55.111.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A547949 for ; Tue, 23 Feb 2016 11:30:59 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU436-SMTP135 ([65.55.111.137]) by BLU004-OMC4S21.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 23 Feb 2016 03:29:53 -0800 X-TMN: [pxSTx2hWctKP5ZWmt3g4VpE256sbKRg0] X-Originating-Email: [carmel_ny@outlook.com] Message-ID: X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.99 at scorpio.seibercom.net Date: Tue, 23 Feb 2016 06:29:44 -0500 From: Carmel To: freebsd-questions@freebsd.org Subject: Re: Updating Samba on new server. In-Reply-To: References: Organization: Seibercom NET X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Feb 2016 11:29:52.0872 (UTC) FILETIME=[83780680:01D16E2D] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 11:31:00 -0000 On Tue, 23 Feb 2016 11:02:30 +0000, krad stated: >There are quite a few changes from samba 3 to samba 4. We had quite a >headache when someone upgraded a freenas box at work which resulting >in a major samba jump. I wasnt directly involved but I think it there >were lots of stuff with extended ACLs that needed fixing. Don't take >the upgrade lightly and read all the upgrade notes before attempting. >Definitely ask in the samba forums for advice. Thanks, and I am most certainly NOT taking anything lightly. While Googling, I came across SWAT2 that is supposed to be a replacement for SWAT in the 4.x versions of Samba. I am; however, not able to locate it in the Ports System. Has it been ported to FreeBSD? -- Carmel From owner-freebsd-questions@freebsd.org Tue Feb 23 12:49:38 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 578E0AAF463 for ; Tue, 23 Feb 2016 12:49:38 +0000 (UTC) (envelope-from aberg010@my.HennepinTech.edu) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0133.outbound.protection.outlook.com [157.56.110.133]) (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 F049B1B84 for ; Tue, 23 Feb 2016 12:49:37 +0000 (UTC) (envelope-from aberg010@my.HennepinTech.edu) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=myhennepintech.onmicrosoft.com; s=selector1-my-hennepintech-edu; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CgHQsNTtqfqwtuxMB5jHMLWRCrwzgT3abK8r0h3fgIc=; b=kWgHtDLN2fYObG5wzLnjH+N7uNDEOEMmUtqAFkYxcTf67xPrhYx04ltVKtP8/0neK+xKmrcsjStIGaK1JkOPiSfyNUKXT+tmYp6YlqgYh0XL/ZuO8uB9lPkfLJj9iEdNIjXHg18gpvqAOp5pOyZpFOOuZDnJianSn5+l/Ud/dOE= Authentication-Results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=my.hennepintech.edu; Received: from [IPv6:2601:440:c080:492::30] (2601:440:c080:492::30) by BY1PR03MB1499.namprd03.prod.outlook.com (10.162.210.145) with Microsoft SMTP Server (TLS) id 15.1.409.15; Tue, 23 Feb 2016 12:49:27 +0000 Subject: Re: Updating Samba on new server. To: References: From: Andrew Berg X-Enigmail-Draft-Status: N1110 Message-ID: <56CC5551.7080202@my.hennepintech.edu> Date: Tue, 23 Feb 2016 06:49:21 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [2601:440:c080:492::30] X-ClientProxiedBy: BLUPR14CA0037.namprd14.prod.outlook.com (25.163.77.175) To BY1PR03MB1499.namprd03.prod.outlook.com (25.162.210.145) X-MS-Office365-Filtering-Correlation-Id: f856ddf1-5aae-49aa-c03f-08d33c4fc3fb X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1499; 2:yLp8hnZFM7QSXQdQPx5clzRC5FZfOSbIt8TJujaYnA05SIH1gIY53bsV4EX/17SSW5YgdxKljMo2ehCNgfebeV8D07Y9Id8N4h0vw0tvbWl/VkSGCAj3VRSEHJpwCn6OcyNkceHMjW2Z3ngfbjAGd99XEINHaKShQ+YrL4RBiuwtBaExzUJJ1QOAtF5WcFOC; 3:YSJFPRQ5vMh+e1l3MEBZUmdC92sSLljO8c3eCSz3d9+7ZBOKAwAzPU9xkA27dr1fqzGDjJEQNcC1McOH5QHTthYVFHbRfFn4kULwrNOUxqsBpJHSAPMPQDgYs/BvQ5bE; 25:pcuSPP3mwS1i5ZkO0oDIKXvoAKtwfwaYdrclLNQuyKBBIGqx1ztbMIUbJZP6UPcY++y5Sub3IvvMoojZxZOy2wQYDOi/+h3LneLYUpHsAZTLVMZwxvsg5IUJr/qPy8jIEFG3FQJo69K30CspxNMJZ7O38PrGicNBalmbS9tUwpJYnC2lIh2Q5H1TvZ1ayXX03M+vR24+4i8oflSG+2JFDsgu724XLVXzYrT7ZEFp34N0JicOaDiU4kz1cBWEAkeI5nx6drNLx+jnnOyMOVROiqhxtdRuxutp9/8ccwR8vqgdlYWQki5UFWblo8f65JmRZa4GpMNHHfpetYxCnkIn7mAmc0LA6Haxk2qsfJRtInk= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1499; X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1499; 20:pOSZhrtdLfLTMBtoI+8SYP3ODya7TDKiWugVGBIGxoUxY14XzkW9e6DJB3OznuHuTqiu+TU/XoV57nuQQ5HEYffr1VxnxAAOgiw3lboOguxW99zXO2NK1D4cXMrNeksyRur8Dm2TWP0F+w1WBJ1+fQlq2MLGGgaNRGAkvuRMpFciDHVTKmk9C7YSqtKUY3uoGwxqpKp/lucZb2fNq3HVVMKOcYAj6BIg19cNBepB2H8xL828Av4QO9YxqPp3LusLaApYLhCK/8OktnSrs+DwqWlwtSMzlqHQV9F3TGvZb4p60VqPqQGoc25bfYhkKHJMgXXwJhRxTFJ1FH+0RLJoIg==; 4:mrPYNrSYf2IPywiJoW9oTmpOt+1bvbzYMdw/3bjpJ8ufcN3yuEA52PpxcGi3G/1P3UbUmjn5nE8mjOvg7T0d05OOpT+/6/wtKYfZNQHidK00dwBHji13afmRJ0oXE7w9+qt9NR0qMJ4PKeGgU8xeo0Z5mZIC7jO/EsTahe7wmd8FAyZlLx3CyUwnhk5w4anG+F/HzFdLgG+Qdt7p6rmSxyp5sUvh7m3IBpvbHSbYDyYnmsM5VnDO9acPfdipKVrZXB7Hnc7Siqvzzi0lBQm+qzIt6N6vnJ/BGasZThwNwih1Ly+lk86bmo0Cfek+qbGKbHmN0z5zaDFRKys5mvDOW9ZChfmekgpoeZrgeFOkKLB58m/EqfMVAZQMx/+pPi+D X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:BY1PR03MB1499; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1499; X-Forefront-PRVS: 08617F610C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(24454002)(450100001)(65816999)(92566002)(80316001)(19580395003)(59896002)(6116002)(64126003)(110136002)(5001960100002)(107886002)(50466002)(75432002)(23676002)(54356999)(87266999)(76176999)(83506001)(40100003)(2351001)(50986999)(230700001)(2906002)(87976001)(122386002)(77096005)(86362001)(5008740100001)(1096002)(33656002)(4001350100001)(89122001)(189998001)(5004730100002)(586003)(47776003)(65806001)(2950100001)(65956001)(42186005)(88552002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1499; H:[IPv6:2601:440:c080:492::30]; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTFQUjAzTUIxNDk5OzIzOjlDSFBtTThPOFdlb2s2L3c5QlBmNHQ5ck9s?= =?utf-8?B?NGZzcU1BU20wQjZVaHFIQXJjNXhNUVV4OGhXdTJNbXg4dG03VXZXa09HOFRi?= =?utf-8?B?NFhWMDVyQmxwOWY0L3VWaWVpRm5RTk5wTk5FeWw3aTBVdDl2VmlodlFUcFF6?= =?utf-8?B?cTBHWTZ6NDhSSzRGUnpLM3VPb3hCNFZONlB2eXZHM1JXV3ZHNXFCSXhsVDBG?= =?utf-8?B?Nk0vVC96b2pZNzFHNlJqWjAyYXprb0FBSHlHV0N4ZmU1d3F4Q1B0VVE0aXNH?= =?utf-8?B?SjZ3SVVkbWdjRG0wQjlmbXFHNzgrWmFIN1BXdDhURGloVlpHMmsyb2tDUHI3?= =?utf-8?B?YWVHV2NDNXRxREpWNWdBVVZVdDNjdDcwQTRFbUVGYVJvM3c3KzVnTmFJZFdR?= =?utf-8?B?enp0Nlp2Z3UzTnhxR2tlaUJNWmJxMDF2eCtLdHdPRndrM1FvUEpJaEFaQ0U3?= =?utf-8?B?dGhBRW1LWDlUeHhQVHg2QVlPS1cyTWNkV0RTSFdyNXVscUZ4L0VPek5DQXdt?= =?utf-8?B?MFVPS1oxMUJicFc3bENJSDBOb2xvNTJYRkpWdmhITWlTcW0rMUhaNTIyTnB2?= =?utf-8?B?TFVIMWFKenhwVmhpc1dkSElGaTI5d0dGZ3VkWDJmRmNpditkc2IweHZTRUJr?= =?utf-8?B?NTd3MGVqZ0FaekdCb3NoRSs1UWdPeEU5YXpOVTRnZmhwMEFmYkY4TkptanNq?= =?utf-8?B?dXZSK282YnRmNmNHNi81VE9nWS9tdGVuVTBmN2J2blovM3BiK1VWZ1dzN3JJ?= =?utf-8?B?bXUzSlRrb3BONWEwR2xRaFFndFlVbFdIcnFiRWd5V1dzSjZTQzBEYWxqb29G?= =?utf-8?B?bG9MVnRkU0F5OFZOUzFnNm5iVjVteWpEVktPRjVMSVZVVnhEdGdKcXpoU1Zi?= =?utf-8?B?Z2kzVkdNaVVrTFNqN1R1V1ZZakxLRUxYOGdKNWpEazNibCs0T1VkNXRHRHc2?= =?utf-8?B?dUZHczJ6NTQvN2lxQVJrOFRmbk1LS0s3ZW8zVkM3ZW4wNHNEU2IydnNuTm5X?= =?utf-8?B?N2NBOCt4TWVZdTlJeHFMM2xwQlAxeVNzdnpSaXpPcEF6YmpjQ2dZV0VtdGFw?= =?utf-8?B?dlQ5OTd4aDJoa1NzVjZNQXduWnFFS2NsTng0UVk1U2hKN28rQ2liUUFic2Zz?= =?utf-8?B?Q2JreSt4emZwOEZUTGNXVGJYdXJjS1pOWkxWbU5ycnFkSzlwNldkSXhLSWZR?= =?utf-8?B?UVBEMmVSMWcrcVAzbjRQckgzZGM3YmI2Qkk4UTEvd1BvYlRrMVdnRW1QYlI0?= =?utf-8?B?T1g1elVoVFZlTWlwZzkxWmhvSUgyd3piNGFsclhjTzZRazRQenlONGxuMVI5?= =?utf-8?B?L2ZTcXd3TysrK203Ukt3TlhDdnpKVWFnd2lyTkpQeDd1Zm5iUFJzQXhwYlpI?= =?utf-8?B?amNhUU5FUGdpWEhnaW1ZVmFvWkZLN0x1N0F3NjQzU295V2RZMUhyQitLRGdr?= =?utf-8?B?OGdmbkE2K2hsNmxhQy9lUGs3cXppU0RFOE5mTG4zelI5M3F2c3ZhMDdicERq?= =?utf-8?B?blFURTR2WVg2cFNXQVRwREEyQjgvVEJxbUFvT0MwWk9qUlAyMzRtbWVVOFp2?= =?utf-8?B?K21Udkw4TmpndlNFZVNpSkV1RGZRb3c9PQ==?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1499; 5:nYq3lTrBuRZYINyvs465JHx2pj8ALYNWD4DxvkVsnXoE0hBMuyeutOjuSkBc7Vpw78IXw8da6T01Eu/8GOCmez095qFWGchOQgJ3x8ntm96n059X39h/u6SSQEnmAEgFZSYq4OMRvtabgXi0zf9KEg==; 24:cgmg//Xl9WuSQTgVVU7rSyWxaxVFhaYQq/doyFAW5aS9+eTlz1JqnU4U37KW+MULjmiM7OwEuuClDDvZbsRE2Rh2QAyYTJtEhooRNqk/EWA= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2016 12:49:27.4229 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1499 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 12:49:38 -0000 On 2016.02.23 04:51, Carmel wrote: > I probably should ask this on the Samba forum; however, I was hoping > that someone here might have an answer for me. > > I am moving from an older server to a newer one. I intended to install > the latest versions of FreeBSD and of the other programs I use. One of > those programs is Samba. > ... > Can I import my old smb.conf file to start up with? At least I would > have a base configuration to start with. There is actually not a ton of configuration difference between Samba 3 and 4 until you start doing things that are new to Samba 4. I wasted so much time looking for what was different and how to adjust until I stumbled across a mailing list post from one of the developers basically saying the configurations are the same. YMMV, but I was up and running with little, if any, change to my config. Start with your existing configuration, test, and change as needed. From owner-freebsd-questions@freebsd.org Tue Feb 23 12:57:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF9CEAAF8F7 for ; Tue, 23 Feb 2016 12:57:11 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A2C75212 for ; Tue, 23 Feb 2016 12:57:11 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id A1176AAF8F6; Tue, 23 Feb 2016 12:57:11 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0A94AAF8F5 for ; Tue, 23 Feb 2016 12:57:11 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 693D0211 for ; Tue, 23 Feb 2016 12:57:11 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: by mail-ob0-x22f.google.com with SMTP id gc3so192978317obb.3 for ; Tue, 23 Feb 2016 04:57:11 -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=v0ZkfJcadF+GA+Dg4TE0oMb8ty7o7NRlgjI3QQ7che4=; b=AZOEzj/UKbF7xiipNrUMzO5lUmHdZ3c1s04regkNdJ7nYlCHqwu1RYKRPmtRLrwAGQ xsPnKslxH1aPXVYATasfOrXuca1egQL5cSMhMsgTvNsJvuBlmRjEeTNEiDIUrT3X1Sdx WSmeqhqecmsKEtFFwAwBzBKtqqlg4OCmebvp/BpMFsC3EngEqPTgBIsKIAj9nWULMdSa x6zsYykvDvB4KErELPJ1Z7huwLbxgDApZQ5OPFmYoEpFXmqdvAPUcHcpzG/vSgf8uRMW hkuPiTdvnSLrOSXS3VolQTuJ3+1xg6PGBlpNRIXSGvVwzDjWoLHTQJQ0+in46aZkj5yB B+AA== 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=v0ZkfJcadF+GA+Dg4TE0oMb8ty7o7NRlgjI3QQ7che4=; b=AHeBpY2iYAhLM7XBK6Ih8DDXl3JEi5bp9rCp8Ima8OSc6vUtbVIhFwE0U5nao+F0k5 sQVqxP7RuubOes5HUDKn6wBTATpuuxQ7LpMBojld3vx91QObYGoXyu1lHVSWprrecx1r WaWJsEHypfnEmXch5sM/+xYX5DJ0H5HrihNv8WRa976K8FlWMKpy61PXLcDJmm/AfCw8 PCaQKQCgNEN3HCfSOpJY6BPvbsmMQ4wE1Lu8bbfRDqe4RlGo/LtW0ZuGs5Kh7UAIhzZv 9g9Aa0Ur5pKcNCH58JCUA0IzIGEADjcyv8DtXiJufVmSX9lGCQeyiiQoo/68l4KzuDuf vbNg== X-Gm-Message-State: AG10YOTB+tngt4yTslvvsPYm4Ll1SjYRlvmpihoeRA403xgORxc7TUf/vYOsTtPvrlIXQUA9zSSsceZK5Y9Dyw== MIME-Version: 1.0 X-Received: by 10.60.82.229 with SMTP id l5mr26795494oey.6.1456232230746; Tue, 23 Feb 2016 04:57:10 -0800 (PST) Received: by 10.76.177.74 with HTTP; Tue, 23 Feb 2016 04:57:10 -0800 (PST) In-Reply-To: <3q8cLq5D8hzRRqS@baobab.bilink.it> References: <3q8cLq5D8hzRRqS@baobab.bilink.it> Date: Tue, 23 Feb 2016 14:57:10 +0200 Message-ID: Subject: Re: Changing architecture From: Rares Aioanei To: Luciano Mannucci Cc: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 12:57:11 -0000 Hey, Basically, if I understand your question correctly, you want /home/$user and the contents of /etc (most of it) backed up then used on the new machine(s). No, a simple rebuild won't suffice, I'd go with a reinstall. On Tue, Feb 23, 2016 at 12:39 PM, Luciano Mannucci wrote: > > Hello all! > > I have an i386 small server that I whish to upgrade to amd64 (upgrading > the hardware too:) without destroying user files and configurations. > Is that possible? It might be interesting on some virtual machines too... > Maybe doing a rebuild of everything in /usr/src changing the architecture > is enough? > > Thanks, > > Luciano. > -- > /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) > \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 > X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG > / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue Feb 23 13:21:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E33CAB05B7 for ; Tue, 23 Feb 2016 13:21:31 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU004-OMC4S32.hotmail.com (blu004-omc4s32.hotmail.com [65.55.111.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DC6CE93 for ; Tue, 23 Feb 2016 13:21:31 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU436-SMTP147 ([65.55.111.137]) by BLU004-OMC4S32.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 23 Feb 2016 05:20:24 -0800 X-TMN: [4d24vsEkKKppW80gcU/rP444J2BEMSxd] X-Originating-Email: [carmel_ny@outlook.com] Message-ID: X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.99 at scorpio.seibercom.net Date: Tue, 23 Feb 2016 08:20:15 -0500 From: Carmel To: freebsd-questions@freebsd.org Subject: Re: Updating Samba on new server. In-Reply-To: <56CC5551.7080202@my.hennepintech.edu> References: <56CC5551.7080202@my.hennepintech.edu> Organization: Seibercom NET X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Feb 2016 13:20:24.0430 (UTC) FILETIME=[F42F78E0:01D16E3C] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 13:21:31 -0000 On Tue, 23 Feb 2016 06:49:21 -0600, Andrew Berg stated: > There is actually not a ton of configuration difference between Samba > 3 and 4 until you start doing things that are new to Samba 4. I > wasted so much time looking for what was different and how to adjust > until I stumbled across a mailing list post from one of the > developers basically saying the configurations are the same. YMMV, > but I was up and running with little, if any, change to my config. > Start with your existing configuration, test, and change as needed. That is how I am going to proceed. I really wish that "SWAT" had not been removed from the distribution. I found it immensely useful. -- Carmel From owner-freebsd-questions@freebsd.org Tue Feb 23 13:43:16 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62625AB12EB for ; Tue, 23 Feb 2016 13:43:16 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 2811119A7 for ; Tue, 23 Feb 2016 13:43:15 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3q8hR91dc6zRRqX for ; Tue, 23 Feb 2016 14:43:17 +0100 (CET) X-Virus-Scanned: amavisd-new at mcs.it Received: from baobab.bilink.net ([127.0.0.1]) by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027) with ESMTP id TUaWVYh1U5mA for ; Tue, 23 Feb 2016 14:43:17 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3q8hR90wFKzRRqW for ; Tue, 23 Feb 2016 14:43:17 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id 109511B7483 for ; Tue, 23 Feb 2016 14:43:14 +0100 (CET) Date: Tue, 23 Feb 2016 14:43:11 +0100 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: Changing architecture In-Reply-To: References: <3q8cLq5D8hzRRqS@baobab.bilink.it> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <3q8hR90wFKzRRqW@baobab.bilink.it> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 13:43:16 -0000 On Tue, 23 Feb 2016 14:57:10 +0200 Rares Aioanei wrote: > Basically, if I understand your question correctly, you want /home/$user > and the contents of /etc (most of it) backed up then used on the new > machine(s). Yep. :) /home is moreless 1TB, so I'd *love* not to make a backup+restore... Cheers, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-questions@freebsd.org Tue Feb 23 15:30:38 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38BC2AB1B2F for ; Tue, 23 Feb 2016 15:30:38 +0000 (UTC) (envelope-from jmire@lsuhsc.edu) Received: from exchipmx01.lsuhsc.edu (exchipmx01.lsuhsc.edu [155.58.210.27]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "exchipmx01.lsuhsc.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B52251748 for ; Tue, 23 Feb 2016 15:30:37 +0000 (UTC) (envelope-from jmire@lsuhsc.edu) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CFAgBSesxWihYNOptegm6BHm0GvFcXAQWFEV8CgUM8EAEBAQEBAQERAQEBFRIhJAuEQwUnBl4BFRVWJgEEEwiIEwUJnhaaVQFDgyoBAQEHAQEBAQEBAQEYhhOIVhgNgjsLQBiBDwWHU4VXgTGIKAQBhVaJY0qHEoU5hXKIVzeCP4FQagGHO30BAQE X-IPAS-Result: A2CFAgBSesxWihYNOptegm6BHm0GvFcXAQWFEV8CgUM8EAEBAQEBAQERAQEBFRIhJAuEQwUnBl4BFRVWJgEEEwiIEwUJnhaaVQFDgyoBAQEHAQEBAQEBAQEYhhOIVhgNgjsLQBiBDwWHU4VXgTGIKAQBhVaJY0qHEoU5hXKIVzeCP4FQagGHO30BAQE Received: from unknown (HELO exchmr02.lsuhsc.edu) ([155.58.13.22]) by exchipmx01.lsuhsc.edu with ESMTP/TLS/AES256-SHA; 23 Feb 2016 09:29:24 -0600 Received: from exchmr02.lsuhsc.edu (155.58.13.22) by exchmr02.lsuhsc.edu (155.58.13.22) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Tue, 23 Feb 2016 09:29:24 -0600 Received: from SH-EXCHHUB1.master.lsuhsc.edu (155.58.112.71) by exchmr02.lsuhsc.edu (155.58.13.22) with Microsoft SMTP Server (TLS) id 15.0.1130.7 via Frontend Transport; Tue, 23 Feb 2016 09:29:24 -0600 Received: from SH-EXCHMB2.master.lsuhsc.edu ([169.254.2.39]) by SH-ExchHub1.master.lsuhsc.edu ([155.58.112.71]) with mapi id 14.03.0248.002; Tue, 23 Feb 2016 09:28:03 -0600 From: "Mire, John" To: "freebsd-questions@freebsd.org" Subject: GnuPG(2.1.11) update problems Thread-Topic: GnuPG(2.1.11) update problems Thread-Index: AdFuRpFsuVVdakrRSSakJOwdCHuo+A== Date: Tue, 23 Feb 2016 15:28:20 +0000 Message-ID: <0B62814C161EBA4BB69C995965D04C7070D6667D@SH-ExchMB2.master.lsuhsc.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.10.7] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 15:30:38 -0000 Running FreeBSD 10.2-RELEASE-p12 #1 r295138 IPv4 connectivity only NO IPv6 Updated (GnuPG) 2.0.29 --> (GnuPG) 2.1.11 from ports Modified ~/.gnupg/gpg.conf as follows: ## ## gpg.conf ## no-greeting comment "" default-key 500026E6 default-recipient-self force-v3-sigs charset utf-8 keyserver hkp://hkps.pool.sks-keyservers.net #moved options to #keyserver-options ca-cert-file=3D/usr/local/share/gnupg/certs/sks-keyserve= rs.netCA.pem #keyserver-options ca-cert-path=3D/usr/local/share/gnupg/certs use-agent utf8-strings personal-digest-preferences SHA512 cert-digest-algo SHA512 default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5= ZLIB BZIP2 ZIP Uncompressed ##EOF Added ~/.gnupg/dirmngr.conf as follows: ## ## dirmngr.conf ## #keyserver hkp://jirk5u4osbsr34t5.onion keyserver hkps://hkps.pool.sks-keyservers.net # --hkp-cacert FILENAME # # For the "hkps" scheme (keyserver access over TLS), Dirmngr needs to # know the root certificates for verification of the TLS certificates # used for the connection. Enter the full name of a file with the # root certificates here. If that file is in PEM format a ".pem" # suffix is expected. This option may be given multiple times to add # more root certificates. Tilde expansion is supported. hkp-cacert /etc/ssl/sks-keyservers.netCA.pem hkp-cacert /etc/ssl/cert.pem ##EOF GnuPG(1.4.20) works fine with just HKP : % gpg --search-keys 0x500026E6 gpg: searching for "0x500026E6" from hkp server hkps.pool.sks-keyservers.ne= t (1) John Mire 4096 bit RSA key 500026E6, created: 2011-09-11 Keys 1-1 of 1 for "0x500026E6". Enter number(s), N)ext, or Q)uit > q GnuPG(2.1.11) gives the following: % gpg2 --search-keys 0x500026E6 gpg: error searching keyserver: No route to host gpg: keyserver search failed: No route to host closer examination of dirmngr unless it decides to use an IPv6 server address, it can resolve: % dirmngr dirmngr[61610.0]: permanently loaded certificates: 0 dirmngr[61610.0]: runtime cached certificates: 0 # Home: ~/.gnupg # Config: /home/jmire/.gnupg/dirmngr.conf OK Dirmngr 2.1.11 at your service ks_search 0x500026E6 dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'b4c= kbone.de' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'sks= .spodhuis.org' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'key= server.nbg-ha.de' S PROGRESS tick ? 0 0 dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': '[20= 01:ba8:1f1:f2d4::2]' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': '[26= 04:a880:800:10::163:b001]' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'bon= e.digitalis.org' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'huf= u.ki.iif.hu' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': '[2a= 00:1280:8000:4::3]' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'zim= merman.mayfirst.org' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'key= s02.fedoraproject.org' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'sks= .spodhuis.org' [already known] dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'key= server.nbg-ha.de' [already known] dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'huf= u.ki.iif.hu' [already known] S PROGRESS tick ? 0 0 dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'kro= necker.scientia.net' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'mx1= .adeti.org' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'ote= iza.siccegge.de' dirmngr[61610.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'cry= ptonomicon.mit.edu' dirmngr[61610.0]: can't connect to 'oteiza.siccegge.de': no IP address for = host dirmngr[61610.0]: error connecting to 'https://oteiza.siccegge.de:443': Unk= nown host dirmngr[61610.0]: marking host 'oteiza.siccegge.de' as dead S PROGRESS tick ? 0 0 S SOURCE https://cryptonomicon.mit.edu:443 D info:1:1%0Apub:2F69495FFA0850CDD83771E0E3DF4A51500026E6:1:4096:1315778755= ::%0Auid:John Mire :1315778755::%0A%0D%0A OK ks_search 0x4F25E3B6 S PROGRESS tick ? 0 0 S SOURCE https://cryptonomicon.mit.edu:443 D info:1:1%0Apub:D8692123C4065DEA5E0F3AB5249B39D24F25E3B6:1:2048:1294830465= :1577790083:%0Auid:Werner Koch (dist sig):1294830465::%0A%0D%0A OK Bye % dirmngr dirmngr[62413.0]: permanently loaded certificates: 0 dirmngr[62413.0]: runtime cached certificates: 0 # Home: ~/.gnupg # Config: /home/jmire/.gnupg/dirmngr.conf OK Dirmngr 2.1.11 at your service ks_search jmire dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyse= rvers.net': 'b4ckbone.de' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': '[20= 01:ba8:1f1:f2d4::2]' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'a.k= eyserver.pki.scientia.net' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': '[2a= 01:4a0:59:1000:223:9eff:fe00:100f]' S PROGRESS tick ? 0 0 dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'bon= e.digitalis.org' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'huf= u.ki.iif.hu' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': '[20= 01:41d0:8:1856::1:1]' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'pro= d00.keyserver.dca.witopia.net' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'bon= e.digitalis.org' [already known] dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'ip-= 209-135-211-141.ragingwire.net' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'b4c= kbone.de' [already known] dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'kro= necker.scientia.net' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'cry= ptonomicon.mit.edu' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'sks= .srv.dumain.com' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'ote= iza.siccegge.de' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'key= s02.fedoraproject.org' dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'huf= u.ki.iif.hu' [already known] dirmngr[62413.0]: resolve_dns_addr for 'hkps.pool.sks-keyservers.net': 'mx1= .adeti.org' dirmngr[62413.0]: can't connect to '2a01:4a0:59:1000:223:9eff:fe00:100f': N= o route to host dirmngr[62413.0]: error connecting to 'https://[2a01:4a0:59:1000:223:9eff:f= e00:100f]:443': No route to host dirmngr[62413.0]: command 'KS_SEARCH' failed: No route to host ERR 167804970 No route to host How can I let dirmngr know that IPv6 isn't available??? From owner-freebsd-questions@freebsd.org Tue Feb 23 15:37:55 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 716FDAB1F55 for ; Tue, 23 Feb 2016 15:37:55 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 562101CC0 for ; Tue, 23 Feb 2016 15:37:55 +0000 (UTC) (envelope-from idefix@fechner.net) Received: by mailman.ysv.freebsd.org (Postfix) id 53C64AB1F52; Tue, 23 Feb 2016 15:37:55 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 533D5AB1F51; Tue, 23 Feb 2016 15:37:55 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [80.190.182.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 149871CBE; Tue, 23 Feb 2016 15:37:54 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-185-17-205-20.dynamic.mnet-online.de [185.17.205.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 0E7911E65E6; Tue, 23 Feb 2016 16:37:45 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de 0E7911E65E6 Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1456241865; bh=3yjGjf+ZiBiWu7Xv6cLBbAcDRdqs39IQ62vZoW4v5cY=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=MNa3hDFaxLPuoKxs50XrD4F8WK1RUg+cIr8gYX1jtBlnaT5lKuUjiyzskTE27yycp gsbFwHq1T3rzk+QYrPB9YRNPqKeH15WReBXeiIyrkNBoyCXl40hP82cx9IT7mdXJ8u 1vZADd7/FGMxYBcRkVn5NiF9bTiSMRrqXd4h+x9k= Received: from server.idefix.lan (localhost [IPv6:::1]) by server.idefix.lan (Postfix) with ESMTP id C0AD310B741; Tue, 23 Feb 2016 16:37:44 +0100 (CET) X-Virus-Scanned: amavisd-new at fechner.net Received: from server.idefix.lan ([127.0.0.1]) by server.idefix.lan (server.idefix.lan [127.0.0.1]) (amavisd-new, port 10024) with LMTP id srsavNeyIuMr; Tue, 23 Feb 2016 16:37:44 +0100 (CET) Received: from webmail.fechner.net (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 673EE10B73C; Tue, 23 Feb 2016 16:37:44 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 23 Feb 2016 16:37:44 +0100 From: Matthias Fechner To: Luciano Mannucci Cc: questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: Changing architecture In-Reply-To: <3q8cLq5D8hzRRqS@baobab.bilink.it> References: <3q8cLq5D8hzRRqS@baobab.bilink.it> Message-ID: X-Sender: idefix@fechner.net User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 15:37:55 -0000 Am 2016-02-23 11:39, schrieb Luciano Mannucci: > I have an i386 small server that I whish to upgrade to amd64 (upgrading > the hardware too:) without destroying user files and configurations. > Is that possible? It might be interesting on some virtual machines > too... > Maybe doing a rebuild of everything in /usr/src changing the > architecture > is enough? check this article: https://wiki.freebsd.org/amd64/i386Migration Make sure you have a backup ;) -- Gruß Matthias From owner-freebsd-questions@freebsd.org Tue Feb 23 15:47:24 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A3B0AB2409 for ; Tue, 23 Feb 2016 15:47:24 +0000 (UTC) (envelope-from jmquintanacamara@gmail.com) Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CA94388 for ; Tue, 23 Feb 2016 15:47:23 +0000 (UTC) (envelope-from jmquintanacamara@gmail.com) Received: by mail-lf0-x22f.google.com with SMTP id 78so117802088lfy.3 for ; Tue, 23 Feb 2016 07:47:23 -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=zUfEQgD2bywqOITuEmIWqhAyKw5TvYCcQK610PiYSqo=; b=T7CQ1jJaf1mavWmbZb3ZTP4mYmCdh43Bl4b+e6/REl21FAnQl2Rm8jJR0hIPph6HbY wBveexvCayvei0LlFU/wxoZpSc6gxLNdrVZ3A1V1gh8zFzYxgzrpcL6bMUwvYBpTsXge 0mc/tOhJZm3Gl5C+OmCfJlxFxoxPR3SaNBOmEZwXVctxkcfSLNinol8753x71Ju0jB9q Nz8g8r6+5bjzAmLYijfORKtPQQaVE4VYEtB9tDEISEl++iX9EtpmeiFsim5/CKZ06c+g eigqzmfQ5K79amUCZz7+SBmMZwqknD0Ci8RbVBcyNdEdfDdACRueJdOkP6vvIm1sLurM zwSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=zUfEQgD2bywqOITuEmIWqhAyKw5TvYCcQK610PiYSqo=; b=SkD4AUgmg+uzss3Uz6kJlS+ARroH9SSpQ32XO3TDkMoh0uuswOwLZf516w+zpUJQRN DwhLXW9kflJ7/pfDDh1Vc6oIaYltWAF/fYsFKcoBG6bPbzlv3S+8HZHf2RIlxAiUFDIj ZdXQ/SlwuMwMoC2khMPIZjvzX1rWK9Abp8mHKZTCv0ictc+WHqZORoHU1WH347Ke7QGu Bqt9TqqJyacWfzWM9QgNFbUz6J0S2HTBLEEWigTrHAvVKkAV+B0RWdV+lIel9mV46e86 vxiyOkXiuuquSN3Xe5Vw7SElQYL64AcsbW3cKa364rnWtnorQteSkXsN12wNyRqcg+V8 cpUg== X-Gm-Message-State: AG10YOQUKieqS8oM1XUJ+c5x0jhcaNOikF7oPnA0vJ/vTBs3WuqK5LzJfThnTk7OuGno59boBOZB1Abl4rCDsw== X-Received: by 10.25.16.30 with SMTP id f30mr13659659lfi.126.1456242441453; Tue, 23 Feb 2016 07:47:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.134.3 with HTTP; Tue, 23 Feb 2016 07:47:01 -0800 (PST) From: =?UTF-8?Q?Jos=C3=A9_Manuel_Quintana_C=C3=A1mara?= Date: Tue, 23 Feb 2016 16:47:01 +0100 Message-ID: Subject: IPSec multicast limitation? 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.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 15:47:24 -0000 Dear FreeBsd developers, I am Jose Manuel, software engineer. I got your email address from the website (https://www.freebsd.org/mailto.html). I am sorry if this is not the right place to ask my question. If so, please tell me where to do it. I write to you because I am finding some problems when using IPSec multicast mode. I hope to be clear describing my problem. I am using the network environment (file attached Network.png). [image: Im=C3=A1genes integradas 1] Firstly, I performed IP multicast communications (IP, not IPSec, just to check that multicast is working properly) sending data from PC4 to PC1 and PC2. Everything OK. Then I enabled IPSec by means of using setkey ( https://www.freebsd.org/cgi/man.cgi?query=3Dsetkey&sektion=3D8) and found: 1. with IPSec unicast communications: I found some examples for IPSec unicast in the setkey man page. I configured a pair of SAs between PC4 and PC1 in tunnel mode (between routers 1 and 4) and it worked perfectly: I see that UDP data exchanged between PC1 and PC4 is protected between routers 1 and 4 in ESP mode. I attach the file IPSec_Unicast.txt with the SAs and SPs created, working in every pair of PCs. 2. Now I have IPSec unicast working and IP multicast, let's put to work IPSec multicast together... but I found problems with it :( I have not found any multicast example in the setkey man page. Since there are no multicast examples, I wonder if setkey is only made for unicast... or the kernel is not able to do it... I found this post from a guy who says it worked using the multicast address when creating the SA ( http://security.stackexchange.com/questions/85915/ipsec-on-multicast). So, I tried in the same way, using the multicast address, to send data from PC4 to PC1 and PC2 (belonging to multicast group) and I found that the router4 received the UPD frames but it didn't output the ESP frames to the rest of routers. I attach the file IPSec_Multicast.txt with the SAs and SPs created, not sure about they are well built or not. I have the following questions: 1. is there a limitation in the FreeBSD kernel of using IPSec multicast? 2. if not, is the limitation in setkey? or maybe I am not using setkey correctly? Thank you very much in advance and congratulations for your work! Best regards, Jos=C3=A9 Manuel Quintana From owner-freebsd-questions@freebsd.org Tue Feb 23 15:48:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17147AB252C for ; Tue, 23 Feb 2016 15:48:40 +0000 (UTC) (envelope-from jmquintanacamara@gmail.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4275A755 for ; Tue, 23 Feb 2016 15:48:39 +0000 (UTC) (envelope-from jmquintanacamara@gmail.com) Received: by mail-lf0-x22a.google.com with SMTP id 78so117827802lfy.3 for ; Tue, 23 Feb 2016 07:48:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=B46hdwHfKp6ZF/+xxoCwyfhxX+hPw/x71Ft60dWdY/s=; b=J8HKaX4OdMXovk5iQjQlGaMuxu8sZuvXzFqUBSWnLAsAMp9Gcc2YVMGAL2v7x160fz QpvMP/wwoDXtHn0ADMiUxJQXn/aicFr37tiUXljX9s2O4oB+aqHW0Az3Son396nabHKq fnsG2IcEOQLVupedYdb3boNHvy03cegiuLx7kswKWcTuB1Zzmlz75nzurlAnAe+duyJe 1i3g/f4aHyxSKe4HSmveWweOr7NK4RK/d+EFjYI7p+cQoylo6ybX6HJo6K2wWv36EvQB FXgkBpse7tsWDEYesHQJgRWXM0SDAd9fZj6mZ6g9LryMA8ckkOcxXw9o8xNOg6GwsihR 7TfA== 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:from:date :message-id:subject:to:content-type; bh=B46hdwHfKp6ZF/+xxoCwyfhxX+hPw/x71Ft60dWdY/s=; b=EvvLjwGIg8mCcIAFMSXRBQtMCGVyJanLqquwDmVmcUJhhAsuKphireT1iYmwZjVoza d8a0VVbw1spkvZdgnI52SzPiF9A5v9rlUSOzUxZT57SBKLpWCr4MXfyg6DR7iwpoSXcA L4smYPt8cqn/SFVa6GfAFJ8yhamieZuvQec6dVb5IvcjIkBpWE4Ln8uaztOTrL4Kp4aT PxNIziUANTRp2IOwodWuKVoq9bcKvKV7kipkAges9KJlGYz8awOa5pwxtaQCACnQm/nl 7enLgSe/6JJ3dgxtSBJx0onVQ26hd0heIB1zzSEqVqUWfDIxXMAeZKBQ/KnTD1L5VWOC q91A== X-Gm-Message-State: AG10YOSztlDRl5xnD8Ny5RwzpvN4wKVfbiPtnalXu9kowNwnfvHJJvV3WqbQl/ZAgNfw9GZajqU+KbLlELUZaQ== X-Received: by 10.25.152.135 with SMTP id a129mr11158478lfe.40.1456242517037; Tue, 23 Feb 2016 07:48:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.134.3 with HTTP; Tue, 23 Feb 2016 07:48:16 -0800 (PST) In-Reply-To: References: From: =?UTF-8?Q?Jos=C3=A9_Manuel_Quintana_C=C3=A1mara?= Date: Tue, 23 Feb 2016 16:48:16 +0100 Message-ID: Subject: Re: IPSec multicast limitation? To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary=001a114035e2ef73c2052c71e1e9 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 15:48:40 -0000 --001a114035e2ef73c2052c71e1e9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry, I forgot to attach the files. Now they are. 2016-02-23 16:47 GMT+01:00 Jos=C3=A9 Manuel Quintana C=C3=A1mara < jmquintanacamara@gmail.com>: > Dear FreeBsd developers, > > I am Jose Manuel, software engineer. I got your email address from the > website (https://www.freebsd.org/mailto.html). I am sorry if this is not > the right place to ask my question. If so, please tell me where to do it. > > I write to you because I am finding some problems when using IPSec > multicast mode. I hope to be clear describing my problem. > > I am using the network environment (file attached Network.png). > [image: Im=C3=A1genes integradas 1] > Firstly, I performed IP multicast communications (IP, not IPSec, just to > check that multicast is working properly) sending data from PC4 to PC1 an= d > PC2. Everything OK. > > Then I enabled IPSec by means of using setkey ( > https://www.freebsd.org/cgi/man.cgi?query=3Dsetkey&sektion=3D8) and found= : > 1. with IPSec unicast communications: I found some examples for IPSec > unicast in the setkey man page. I configured a pair of SAs between PC4 an= d > PC1 in tunnel mode (between routers 1 and 4) and it worked perfectly: I s= ee > that UDP data exchanged between PC1 and PC4 is protected between routers = 1 > and 4 in ESP mode. I attach the file IPSec_Unicast.txt with the SAs and S= Ps > created, working in every pair of PCs. > > 2. Now I have IPSec unicast working and IP multicast, let's put to work > IPSec multicast together... but I found problems with it :( > I have not found any multicast example in the setkey man page. Since ther= e > are no multicast examples, I wonder if setkey is only made for unicast... > or the kernel is not able to do it... > I found this post from a guy who says it worked using the multicast > address when creating the SA ( > http://security.stackexchange.com/questions/85915/ipsec-on-multicast). > So, I tried in the same way, using the multicast address, to send data fr= om > PC4 to PC1 and PC2 (belonging to multicast group) and I found that the > router4 received the UPD frames but it didn't output the ESP frames to th= e > rest of routers. I attach the file IPSec_Multicast.txt with the SAs and S= Ps > created, not sure about they are well built or not. > > I have the following questions: > 1. is there a limitation in the FreeBSD kernel of using IPSec multicast? > 2. if not, is the limitation in setkey? or maybe I am not using setkey > correctly? > > Thank you very much in advance and congratulations for your work! > > Best regards, > Jos=C3=A9 Manuel Quintana > --001a114035e2ef73c2052c71e1e9 Content-Type: text/plain; charset=US-ASCII; name="IPSec_Multicast.txt" Content-Disposition: attachment; filename="IPSec_Multicast.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ikzl6fwl0 LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpyb3V0ZXIxDQotLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0NCiNtdWx0aWNhc3QgUkVDRUlWRVINCmFkZCAgICAxMC4wLjQuMjAgMjM5LjEuMS4x IGVzcCAweDBjNDEzMDRlIC1FIDNkZXMtY2JjIDB4M2U2NDg3ZTFhZGM0NDcwNWFlZGJjYTllYmI4 YTk2OTFkYmNmZDNjMzcwODhjODEzIC1BIGhtYWMtc2hhMSAweDdmMDNlNzE2MDFkN2ZiZDg2YWQ3 MWZiMTA4OWFjMDU2YzFlMzFjYTUgOyANCnNwZGFkZCAxMC4wLjQuMjAgMjM5LjEuMS4xIGFueSAt UCBpbiBpcHNlYyBlc3AvdHVubmVsLzEwLjAuNC4yMC0yMzkuMS4xLjEvcmVxdWlyZSA7DQoNCi0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0Kcm91dGVyMg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tDQojbXVsdGljYXN0IFJFQ0VJVkVSDQphZGQgICAgMTAuMC40LjIwIDIzOS4xLjEuMSBl c3AgMHgwYzQxMzA0ZSAtRSAzZGVzLWNiYyAweDNlNjQ4N2UxYWRjNDQ3MDVhZWRiY2E5ZWJiOGE5 NjkxZGJjZmQzYzM3MDg4YzgxMyAtQSBobWFjLXNoYTEgMHg3ZjAzZTcxNjAxZDdmYmQ4NmFkNzFm YjEwODlhYzA1NmMxZTMxY2E1IDsgDQpzcGRhZGQgMTAuMC40LjIwIDIzOS4xLjEuMSBhbnkgLVAg aW4gaXBzZWMgZXNwL3R1bm5lbC8xMC4wLjQuMjAtMjM5LjEuMS4xL3JlcXVpcmUgOw0KDQotLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCnJvdXRlcjMNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLQ0KI211bHRpY2FzdCBSRUNFSVZFUg0KYWRkICAgIDEwLjAuNC4yMCAyMzkuMS4xLjEgZXNw IDB4MGM0MTMwNGUgLUUgM2Rlcy1jYmMgMHgzZTY0ODdlMWFkYzQ0NzA1YWVkYmNhOWViYjhhOTY5 MWRiY2ZkM2MzNzA4OGM4MTMgLUEgaG1hYy1zaGExIDB4N2YwM2U3MTYwMWQ3ZmJkODZhZDcxZmIx MDg5YWMwNTZjMWUzMWNhNSA7IA0Kc3BkYWRkIDEwLjAuNC4yMCAyMzkuMS4xLjEgYW55IC1QIGlu IGlwc2VjIGVzcC90dW5uZWwvMTAuMC40LjIwLTIzOS4xLjEuMS9yZXF1aXJlIDsNCg0KLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpyb3V0ZXI0DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0NCiNtdWx0aWNhc3QgU0VOREVSDQphZGQgICAgMTAuMC40LjIwIDIzOS4xLjEuMSBlc3AgMHgw YzQxMzA0ZSAtRSAzZGVzLWNiYyAweDNlNjQ4N2UxYWRjNDQ3MDVhZWRiY2E5ZWJiOGE5NjkxZGJj ZmQzYzM3MDg4YzgxMyAtQSBobWFjLXNoYTEgMHg3ZjAzZTcxNjAxZDdmYmQ4NmFkNzFmYjEwODlh YzA1NmMxZTMxY2E1IDsgDQpzcGRhZGQgMTAuMC40LjIwIDIzOS4xLjEuMSBhbnkgLVAgb3V0IGlw c2VjIGVzcC90dW5uZWwvMTAuMC40LjIwLTIzOS4xLjEuMS9yZXF1aXJlIDs= --001a114035e2ef73c2052c71e1e9 Content-Type: text/plain; charset=US-ASCII; name="IPSec_Unicast.txt" Content-Disposition: attachment; filename="IPSec_Unicast.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ikzl6fwx1 LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpyb3V0ZXIxDQotLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0NCiNyb3V0ZXIxIC0gcm91dGVyMg0KYWRkIDEwLjAuMS4xIDEwLjAuMS4yIGVzcCAw eDA2ZjBhNTkyIC1FIDNkZXMtY2JjIDB4YTJkMTk4NmQ0ZDM4MmJlZmRiMmVjZDQ4NjAxOTM2NDcw ZWM1ZTE2NzNlMjNlZGEzIC1BIGhtYWMtc2hhMSAweDIyY2Q2NDE4ODNmM2I1NDI0MzQ5ODE3Yjdh ODI1OGU0ZjY3NGI1ODggOw0KYWRkIDEwLjAuMS4yIDEwLjAuMS4xIGVzcCAweDBjNDEzMDRlIC1F IDNkZXMtY2JjIDB4M2U2NDg3ZTFhZGM0NDcwNWFlZGJjYTllYmI4YTk2OTFkYmNmZDNjMzcwODhj ODEzIC1BIGhtYWMtc2hhMSAweDdmMDNlNzE2MDFkN2ZiZDg2YWQ3MWZiMTA4OWFjMDU2YzFlMzFj YTUgOyANCnNwZGFkZCAxMC4wLjAuMC8yNCAgMTAuMC4yLjAvMjQgYW55IC1QIG91dCBpcHNlYyBl c3AvdHVubmVsLzEwLjAuMS4xLTEwLjAuMS4yL3JlcXVpcmUgOw0KDQojcm91dGVyMSAtIHJvdXRl cjMNCmFkZCAxMC4wLjEuMSAxMC4wLjEuMyBlc3AgMHgwNmYwYTU5MiAtRSAzZGVzLWNiYyAweGEy ZDE5ODZkNGQzODJiZWZkYjJlY2Q0ODYwMTkzNjQ3MGVjNWUxNjczZTIzZWRhMyAtQSBobWFjLXNo YTEgMHgyMmNkNjQxODgzZjNiNTQyNDM0OTgxN2I3YTgyNThlNGY2NzRiNTg4IDsNCmFkZCAxMC4w LjEuMyAxMC4wLjEuMSBlc3AgMHgwYzQxMzA0ZSAtRSAzZGVzLWNiYyAweDNlNjQ4N2UxYWRjNDQ3 MDVhZWRiY2E5ZWJiOGE5NjkxZGJjZmQzYzM3MDg4YzgxMyAtQSBobWFjLXNoYTEgMHg3ZjAzZTcx NjAxZDdmYmQ4NmFkNzFmYjEwODlhYzA1NmMxZTMxY2E1IDsgDQpzcGRhZGQgMTAuMC4wLjAvMjQg IDEwLjAuMy4wLzI0IGFueSAtUCBvdXQgaXBzZWMgZXNwL3R1bm5lbC8xMC4wLjEuMS0xMC4wLjEu My9yZXF1aXJlIDsNCg0KI3JvdXRlcjEgLSByb3V0ZXI0DQphZGQgMTAuMC4xLjEgMTAuMC4xLjQg ZXNwIDB4MDZmMGE1OTIgLUUgM2Rlcy1jYmMgMHhhMmQxOTg2ZDRkMzgyYmVmZGIyZWNkNDg2MDE5 MzY0NzBlYzVlMTY3M2UyM2VkYTMgLUEgaG1hYy1zaGExIDB4MjJjZDY0MTg4M2YzYjU0MjQzNDk4 MTdiN2E4MjU4ZTRmNjc0YjU4OCA7DQphZGQgMTAuMC4xLjQgMTAuMC4xLjEgZXNwIDB4MGM0MTMw NGUgLUUgM2Rlcy1jYmMgMHgzZTY0ODdlMWFkYzQ0NzA1YWVkYmNhOWViYjhhOTY5MWRiY2ZkM2Mz NzA4OGM4MTMgLUEgaG1hYy1zaGExIDB4N2YwM2U3MTYwMWQ3ZmJkODZhZDcxZmIxMDg5YWMwNTZj MWUzMWNhNSA7IA0Kc3BkYWRkIDEwLjAuMC4wLzI0ICAxMC4wLjQuMC8yNCBhbnkgLVAgb3V0IGlw c2VjIGVzcC90dW5uZWwvMTAuMC4xLjEtMTAuMC4xLjQvcmVxdWlyZSA7DQoNCi0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLQ0Kcm91dGVyMg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoj cm91dGVyMiAtIHJvdXRlcjENCmFkZCAxMC4wLjEuMiAxMC4wLjEuMSBlc3AgMHgwYzQxMzA0ZSAt RSAzZGVzLWNiYyAweDNlNjQ4N2UxYWRjNDQ3MDVhZWRiY2E5ZWJiOGE5NjkxZGJjZmQzYzM3MDg4 YzgxMyAtQSBobWFjLXNoYTEgMHg3ZjAzZTcxNjAxZDdmYmQ4NmFkNzFmYjEwODlhYzA1NmMxZTMx Y2E1IDsgDQphZGQgMTAuMC4xLjEgMTAuMC4xLjIgZXNwIDB4MDZmMGE1OTIgLUUgM2Rlcy1jYmMg MHhhMmQxOTg2ZDRkMzgyYmVmZGIyZWNkNDg2MDE5MzY0NzBlYzVlMTY3M2UyM2VkYTMgLUEgaG1h Yy1zaGExIDB4MjJjZDY0MTg4M2YzYjU0MjQzNDk4MTdiN2E4MjU4ZTRmNjc0YjU4OCA7DQpzcGRh ZGQgMTAuMC4yLjAvMjQgIDEwLjAuMC4wLzI0IGFueSAtUCBvdXQgaXBzZWMgZXNwL3R1bm5lbC8x MC4wLjEuMi0xMC4wLjEuMS9yZXF1aXJlIDsNCg0KI3JvdXRlcjIgLSByb3V0ZXIzDQphZGQgMTAu MC4xLjIgMTAuMC4xLjMgZXNwIDB4MGM0MTMwNGUgLUUgM2Rlcy1jYmMgMHgzZTY0ODdlMWFkYzQ0 NzA1YWVkYmNhOWViYjhhOTY5MWRiY2ZkM2MzNzA4OGM4MTMgLUEgaG1hYy1zaGExIDB4N2YwM2U3 MTYwMWQ3ZmJkODZhZDcxZmIxMDg5YWMwNTZjMWUzMWNhNSA7IA0KYWRkIDEwLjAuMS4zIDEwLjAu MS4yIGVzcCAweDA2ZjBhNTkyIC1FIDNkZXMtY2JjIDB4YTJkMTk4NmQ0ZDM4MmJlZmRiMmVjZDQ4 NjAxOTM2NDcwZWM1ZTE2NzNlMjNlZGEzIC1BIGhtYWMtc2hhMSAweDIyY2Q2NDE4ODNmM2I1NDI0 MzQ5ODE3YjdhODI1OGU0ZjY3NGI1ODggOw0Kc3BkYWRkIDEwLjAuMi4wLzI0ICAxMC4wLjMuMC8y NCBhbnkgLVAgb3V0IGlwc2VjIGVzcC90dW5uZWwvMTAuMC4xLjItMTAuMC4xLjMvcmVxdWlyZSA7 DQoNCiNyb3V0ZXIyIC0gcm91dGVyNA0KYWRkIDEwLjAuMS4yIDEwLjAuMS40IGVzcCAweDBjNDEz MDRlIC1FIDNkZXMtY2JjIDB4M2U2NDg3ZTFhZGM0NDcwNWFlZGJjYTllYmI4YTk2OTFkYmNmZDNj MzcwODhjODEzIC1BIGhtYWMtc2hhMSAweDdmMDNlNzE2MDFkN2ZiZDg2YWQ3MWZiMTA4OWFjMDU2 YzFlMzFjYTUgOyANCmFkZCAxMC4wLjEuNCAxMC4wLjEuMiBlc3AgMHgwNmYwYTU5MiAtRSAzZGVz LWNiYyAweGEyZDE5ODZkNGQzODJiZWZkYjJlY2Q0ODYwMTkzNjQ3MGVjNWUxNjczZTIzZWRhMyAt QSBobWFjLXNoYTEgMHgyMmNkNjQxODgzZjNiNTQyNDM0OTgxN2I3YTgyNThlNGY2NzRiNTg4IDsN CnNwZGFkZCAxMC4wLjIuMC8yNCAgMTAuMC40LjAvMjQgYW55IC1QIG91dCBpcHNlYyBlc3AvdHVu bmVsLzEwLjAuMS4yLTEwLjAuMS40L3JlcXVpcmUgOw0KDQotLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0NCnJvdXRlcjMNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KI3JvdXRlcjMgLSBy b3V0ZXIxDQphZGQgMTAuMC4xLjMgMTAuMC4xLjEgZXNwIDB4MGM0MTMwNGUgLUUgM2Rlcy1jYmMg MHgzZTY0ODdlMWFkYzQ0NzA1YWVkYmNhOWViYjhhOTY5MWRiY2ZkM2MzNzA4OGM4MTMgLUEgaG1h Yy1zaGExIDB4N2YwM2U3MTYwMWQ3ZmJkODZhZDcxZmIxMDg5YWMwNTZjMWUzMWNhNSA7IA0KYWRk IDEwLjAuMS4xIDEwLjAuMS4zIGVzcCAweDA2ZjBhNTkyIC1FIDNkZXMtY2JjIDB4YTJkMTk4NmQ0 ZDM4MmJlZmRiMmVjZDQ4NjAxOTM2NDcwZWM1ZTE2NzNlMjNlZGEzIC1BIGhtYWMtc2hhMSAweDIy Y2Q2NDE4ODNmM2I1NDI0MzQ5ODE3YjdhODI1OGU0ZjY3NGI1ODggOw0Kc3BkYWRkIDEwLjAuMy4w LzI0ICAxMC4wLjAuMC8yNCBhbnkgLVAgb3V0IGlwc2VjIGVzcC90dW5uZWwvMTAuMC4xLjMtMTAu MC4xLjEvcmVxdWlyZSA7DQoNCiNyb3V0ZXIzIC0gcm91dGVyMg0KYWRkIDEwLjAuMS4zIDEwLjAu MS4yIGVzcCAweDBjNDEzMDRlIC1FIDNkZXMtY2JjIDB4M2U2NDg3ZTFhZGM0NDcwNWFlZGJjYTll YmI4YTk2OTFkYmNmZDNjMzcwODhjODEzIC1BIGhtYWMtc2hhMSAweDdmMDNlNzE2MDFkN2ZiZDg2 YWQ3MWZiMTA4OWFjMDU2YzFlMzFjYTUgOyANCmFkZCAxMC4wLjEuMiAxMC4wLjEuMyBlc3AgMHgw NmYwYTU5MiAtRSAzZGVzLWNiYyAweGEyZDE5ODZkNGQzODJiZWZkYjJlY2Q0ODYwMTkzNjQ3MGVj NWUxNjczZTIzZWRhMyAtQSBobWFjLXNoYTEgMHgyMmNkNjQxODgzZjNiNTQyNDM0OTgxN2I3YTgy NThlNGY2NzRiNTg4IDsNCnNwZGFkZCAxMC4wLjMuMC8yNCAgMTAuMC4yLjAvMjQgYW55IC1QIG91 dCBpcHNlYyBlc3AvdHVubmVsLzEwLjAuMS4zLTEwLjAuMS4yL3JlcXVpcmUgOw0KDQojcm91dGVy MyAtIHJvdXRlcjQNCmFkZCAxMC4wLjEuMyAxMC4wLjEuNCBlc3AgMHgwYzQxMzA0ZSAtRSAzZGVz LWNiYyAweDNlNjQ4N2UxYWRjNDQ3MDVhZWRiY2E5ZWJiOGE5NjkxZGJjZmQzYzM3MDg4YzgxMyAt QSBobWFjLXNoYTEgMHg3ZjAzZTcxNjAxZDdmYmQ4NmFkNzFmYjEwODlhYzA1NmMxZTMxY2E1IDsg DQphZGQgMTAuMC4xLjQgMTAuMC4xLjMgZXNwIDB4MDZmMGE1OTIgLUUgM2Rlcy1jYmMgMHhhMmQx OTg2ZDRkMzgyYmVmZGIyZWNkNDg2MDE5MzY0NzBlYzVlMTY3M2UyM2VkYTMgLUEgaG1hYy1zaGEx IDB4MjJjZDY0MTg4M2YzYjU0MjQzNDk4MTdiN2E4MjU4ZTRmNjc0YjU4OCA7DQpzcGRhZGQgMTAu MC4zLjAvMjQgIDEwLjAuNC4wLzI0IGFueSAtUCBvdXQgaXBzZWMgZXNwL3R1bm5lbC8xMC4wLjEu My0xMC4wLjEuNC9yZXF1aXJlIDsNCg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpyb3V0 ZXI0DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCiNyb3V0ZXI0IC0gcm91dGVyMQ0KYWRk IDEwLjAuMS40IDEwLjAuMS4xIGVzcCAweDBjNDEzMDRlIC1FIDNkZXMtY2JjIDB4M2U2NDg3ZTFh ZGM0NDcwNWFlZGJjYTllYmI4YTk2OTFkYmNmZDNjMzcwODhjODEzIC1BIGhtYWMtc2hhMSAweDdm MDNlNzE2MDFkN2ZiZDg2YWQ3MWZiMTA4OWFjMDU2YzFlMzFjYTUgOyANCmFkZCAxMC4wLjEuMSAx MC4wLjEuNCBlc3AgMHgwNmYwYTU5MiAtRSAzZGVzLWNiYyAweGEyZDE5ODZkNGQzODJiZWZkYjJl Y2Q0ODYwMTkzNjQ3MGVjNWUxNjczZTIzZWRhMyAtQSBobWFjLXNoYTEgMHgyMmNkNjQxODgzZjNi NTQyNDM0OTgxN2I3YTgyNThlNGY2NzRiNTg4IDsNCnNwZGFkZCAxMC4wLjQuMC8yNCAgMTAuMC4w LjAvMjQgYW55IC1QIG91dCBpcHNlYyBlc3AvdHVubmVsLzEwLjAuMS40LTEwLjAuMS4xL3JlcXVp cmUgOw0KDQojcm91dGVyNCAtIHJvdXRlcjINCmFkZCAxMC4wLjEuNCAxMC4wLjEuMiBlc3AgMHgw YzQxMzA0ZSAtRSAzZGVzLWNiYyAweDNlNjQ4N2UxYWRjNDQ3MDVhZWRiY2E5ZWJiOGE5NjkxZGJj ZmQzYzM3MDg4YzgxMyAtQSBobWFjLXNoYTEgMHg3ZjAzZTcxNjAxZDdmYmQ4NmFkNzFmYjEwODlh YzA1NmMxZTMxY2E1IDsgDQphZGQgMTAuMC4xLjIgMTAuMC4xLjQgZXNwIDB4MDZmMGE1OTIgLUUg M2Rlcy1jYmMgMHhhMmQxOTg2ZDRkMzgyYmVmZGIyZWNkNDg2MDE5MzY0NzBlYzVlMTY3M2UyM2Vk YTMgLUEgaG1hYy1zaGExIDB4MjJjZDY0MTg4M2YzYjU0MjQzNDk4MTdiN2E4MjU4ZTRmNjc0YjU4 OCA7DQpzcGRhZGQgMTAuMC40LjAvMjQgIDEwLjAuMi4wLzI0IGFueSAtUCBvdXQgaXBzZWMgZXNw L3R1bm5lbC8xMC4wLjEuNC0xMC4wLjEuMi9yZXF1aXJlIDsNCg0KI3JvdXRlcjQgLSByb3V0ZXIz DQphZGQgMTAuMC4xLjQgMTAuMC4xLjMgZXNwIDB4MGM0MTMwNGUgLUUgM2Rlcy1jYmMgMHgzZTY0 ODdlMWFkYzQ0NzA1YWVkYmNhOWViYjhhOTY5MWRiY2ZkM2MzNzA4OGM4MTMgLUEgaG1hYy1zaGEx IDB4N2YwM2U3MTYwMWQ3ZmJkODZhZDcxZmIxMDg5YWMwNTZjMWUzMWNhNSA7IA0KYWRkIDEwLjAu MS4zIDEwLjAuMS40IGVzcCAweDA2ZjBhNTkyIC1FIDNkZXMtY2JjIDB4YTJkMTk4NmQ0ZDM4MmJl ZmRiMmVjZDQ4NjAxOTM2NDcwZWM1ZTE2NzNlMjNlZGEzIC1BIGhtYWMtc2hhMSAweDIyY2Q2NDE4 ODNmM2I1NDI0MzQ5ODE3YjdhODI1OGU0ZjY3NGI1ODggOw0Kc3BkYWRkIDEwLjAuNC4wLzI0ICAx MC4wLjMuMC8yNCBhbnkgLVAgb3V0IGlwc2VjIGVzcC90dW5uZWwvMTAuMC4xLjQtMTAuMC4xLjMv cmVxdWlyZSA7 --001a114035e2ef73c2052c71e1e9-- From owner-freebsd-questions@freebsd.org Tue Feb 23 16:02:57 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B50BAB2AD1 for ; Tue, 23 Feb 2016 16:02:57 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0FE8D10C4 for ; Tue, 23 Feb 2016 16:02:56 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3q8lXL5gCqzRRqT for ; Tue, 23 Feb 2016 17:02:58 +0100 (CET) X-Virus-Scanned: amavisd-new at mcs.it Received: from baobab.bilink.net ([127.0.0.1]) by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027) with ESMTP id RBZsvpJOBdSy for ; Tue, 23 Feb 2016 17:02:58 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3q8lXL4yW5zRRqS for ; Tue, 23 Feb 2016 17:02:58 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id B68961B7515 for ; Tue, 23 Feb 2016 17:02:55 +0100 (CET) Date: Tue, 23 Feb 2016 17:02:55 +0100 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: Changing architecture In-Reply-To: References: <3q8cLq5D8hzRRqS@baobab.bilink.it> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <3q8lXL4yW5zRRqS@baobab.bilink.it> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 16:02:57 -0000 On Tue, 23 Feb 2016 16:37:44 +0100 Matthias Fechner wrote: > check this article: > https://wiki.freebsd.org/amd64/i386Migration Wow! Sounds promising :-) Worth a try. > Make sure you have a backup ;) Of course... :) Tanks, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-questions@freebsd.org Tue Feb 23 16:46:49 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDDB9AB1FEB for ; Tue, 23 Feb 2016 16:46:49 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B22E3A5E for ; Tue, 23 Feb 2016 16:46:49 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: by mailman.ysv.freebsd.org (Postfix) id AFF31AB1FEA; Tue, 23 Feb 2016 16:46:49 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF8EDAB1FE8 for ; Tue, 23 Feb 2016 16:46:49 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B11DA5D for ; Tue, 23 Feb 2016 16:46:48 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u1NGkbxA013629 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 23 Feb 2016 17:46:37 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u1NGkbMD013626; Tue, 23 Feb 2016 17:46:37 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 23 Feb 2016 17:46:37 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Luciano Mannucci cc: questions@FreeBSD.org Subject: Re: Changing architecture In-Reply-To: <3q8cLq5D8hzRRqS@baobab.bilink.it> Message-ID: References: <3q8cLq5D8hzRRqS@baobab.bilink.it> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) 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.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 16:46:50 -0000 On Tue, 23 Feb 2016 11:39+0100, Luciano Mannucci wrote: > > Hello all! > > I have an i386 small server that I whish to upgrade to amd64 (upgrading > the hardware too:) without destroying user files and configurations. > Is that possible? It might be interesting on some virtual machines too... > Maybe doing a rebuild of everything in /usr/src changing the architecture > is enough? If you're really brave, you could carefully extract an amd64 system on top of your i386 system. You need to exclude a few directories for each of kernel.txz and base.txz, such as /boot, /etc, /root, and /var. Add lib32.txz to the mix. Having ports-mgmt/portmaster around helps rebuilding all your ports with ease. I did such a stunt a year ago, just to prove it's possible. As always, have good backups, in plural, just in case something goes wrong. It's devastating losing 1 TiB of precious data. http://ximalas.info/2015/01/17/migrating-freebsd-from-i386-to-amd64/ -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestl, | Trond Endrestl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjvik 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 Tue Feb 23 17:52:03 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D3A4AB17B6 for ; Tue, 23 Feb 2016 17:52:03 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 6218F7E6 for ; Tue, 23 Feb 2016 17:52:03 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3q8ny71gNLzRRqT for ; Tue, 23 Feb 2016 18:51:59 +0100 (CET) X-Virus-Scanned: amavisd-new at mcs.it Received: from baobab.bilink.net ([127.0.0.1]) by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027) with ESMTP id 2B8HkAxnoPT1 for ; Tue, 23 Feb 2016 18:51:59 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3q8ny70z6qzRRqS for ; Tue, 23 Feb 2016 18:51:59 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id 2C8FA1B7483 for ; Tue, 23 Feb 2016 18:51:56 +0100 (CET) Date: Tue, 23 Feb 2016 18:51:55 +0100 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: Changing architecture In-Reply-To: References: <3q8cLq5D8hzRRqS@baobab.bilink.it> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <3q8ny70z6qzRRqS@baobab.bilink.it> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 17:52:03 -0000 On Tue, 23 Feb 2016 17:46:37 +0100 (CET) Trond Endrest=F8l wrote: > http://ximalas.info/2015/01/17/migrating-freebsd-from-i386-to-amd64/ Wow! This one too sounds promizing! On my machine all packages are installed via pkg, so I think removing them and reinstall after the migration should be ok. I'm running 10.1-RELEASE-p29, BTW. Thanks, Luciano. --=20 /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-questions@freebsd.org Tue Feb 23 18:04:10 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20EF1AB1CF3 for ; Tue, 23 Feb 2016 18:04:10 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1mail2513.mymailbank.co.uk (UK1MAIL2513-PERMANET.IE.mymailbank.co.uk [217.69.47.44]) by mx1.freebsd.org (Postfix) with ESMTP id 7CE14EE5 for ; Tue, 23 Feb 2016 18:04:08 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp.lan.sohara.org (UnknownHost [88.151.27.41]) by uk1mail2513-d.mymailbank.co.uk with SMTP; Tue, 23 Feb 2016 17:57:12 +0000 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aYHD0-0005oT-EI for freebsd-questions@freebsd.org; Tue, 23 Feb 2016 17:57:14 +0000 Date: Tue, 23 Feb 2016 17:57:13 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Changing architecture Message-Id: <20160223175713.7c38c5fb6788a6acebfcd96f@sohara.org> In-Reply-To: <3q8ny70z6qzRRqS@baobab.bilink.it> References: <3q8cLq5D8hzRRqS@baobab.bilink.it> <3q8ny70z6qzRRqS@baobab.bilink.it> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 18:04:10 -0000 On Tue, 23 Feb 2016 18:51:55 +0100 Luciano Mannucci wrote: > On Tue, 23 Feb 2016 17:46:37 +0100 (CET) > Trond Endrestøl wrote: > > > http://ximalas.info/2015/01/17/migrating-freebsd-from-i386-to-amd64/ > Wow! > This one too sounds promizing! > On my machine all packages are installed via pkg, so I think removing > them and reinstall after the migration should be ok. pkg leaf is handy for getting a list to re-install. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Tue Feb 23 19:46:54 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5C98AB257F for ; Tue, 23 Feb 2016 19:46:54 +0000 (UTC) (envelope-from mailinglisten-2014@thomas-flaig.info) Received: from wp263.webpack.hosteurope.de (wp263.webpack.hosteurope.de [80.237.133.32]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68D9D684 for ; Tue, 23 Feb 2016 19:46:54 +0000 (UTC) (envelope-from mailinglisten-2014@thomas-flaig.info) Received: from aftr-185-17-207-248.dynamic.mnet-online.de ([185.17.207.248] helo=chaos.thomas-flaig.info); authenticated by wp263.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) id 1aYIfB-0001Vn-OW; Tue, 23 Feb 2016 20:30:25 +0100 Date: Tue, 23 Feb 2016 20:30:24 +0100 From: Thomas Flaig To: freebsd-questions@freebsd.org Subject: Re: Changing architecture Message-ID: <20160223203024.523d3205@chaos.thomas-flaig.info> In-Reply-To: <3q8cLq5D8hzRRqS@baobab.bilink.it> References: <3q8cLq5D8hzRRqS@baobab.bilink.it> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de; mailinglisten-2014@thomas-flaig.info; 1456256814; 40ddebd5; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 19:46:54 -0000 Hello, Am Tue, 23 Feb 2016 11:39:12 +0100 schrieb Luciano Mannucci : > I have an i386 small server that I whish to upgrade to amd64 > (upgrading the hardware too:) without destroying user files and > configurations. Is that possible? For my upgrade from i386 to amd64 (some years ago) I did follow the steps described in /usr/src/UPDATING in the section "To cross-install current onto a separate partition" with the additional arguments TARGET=amd64 TARGET_ARCH=amd64 for the make-commands. The first step in the new system was a native rebuild to be sure that all is good. regards Thomas -- The good thing about standards is that there are so many to choose from. -- Andrew S. Tanenbaum From owner-freebsd-questions@freebsd.org Tue Feb 23 21:59:14 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75551AB1A62 for ; Tue, 23 Feb 2016 21:59:14 +0000 (UTC) (envelope-from ggroth99@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5B75C110B for ; Tue, 23 Feb 2016 21:59:14 +0000 (UTC) (envelope-from ggroth99@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 56AF8AB1A61; Tue, 23 Feb 2016 21:59:14 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C5DCAB1A60 for ; Tue, 23 Feb 2016 21:59:14 +0000 (UTC) (envelope-from ggroth99@gmail.com) Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F24DF110A for ; Tue, 23 Feb 2016 21:59:13 +0000 (UTC) (envelope-from ggroth99@gmail.com) Received: by mail-qk0-x232.google.com with SMTP id o6so74172079qkc.2 for ; Tue, 23 Feb 2016 13:59:13 -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=+Jv7GtW49Epn+u7AJFJCTrXeom1OeRh7momMmk36z/Q=; b=nLzclyiw360XmM98fk0Ry5x6h+FBLZJeSLinz5+G1ztfJWdzSYnvqTHCyrgQ8I08BU umzUiG6kp+e1I/iuAU8F9vVdzgjcol7WApu2n5UFDII/vN3IMkQw4Yhn1VEwTU+LH+B1 ybGrAl8rlQ35e/q1r6RoZJtg/j8xVpM6jFgF4Oj14yJVhZP9oj8kW7wJA/28xhSWZFRG bkUjeOh7oqccF03dep/jHtajxvzk8ttBA4l7vmkhBMZHR+PYKGOEUs1s1KpyrHlmTCLZ hD7IhS79R6RsjLwE2rP1d9tnZdMLB8gqo7GUI6VfLR8ROzu86/T/AnVu+6Y1WsdAvemy XH9g== 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=+Jv7GtW49Epn+u7AJFJCTrXeom1OeRh7momMmk36z/Q=; b=LgHKUrojQOi8D5EqPRJbuH6ulsp4CDrGO8LzmrWdBBBO3o6KVPzdMV1eGGhMC3Ee81 lfC7xZ1zm6wD0v8llH1sUuU2CCxiEsDNzDZ1SFUBiRzLevx0E0DMFDGDKyvvl2s5vWYl 58Qo9hgapp/cQRUAsO+HNO//pbRlFLQbxbK+NbWsr9WqJdakP9pByZCME9KzTRDy5nmS AFF6jLUhaBEEtjV0XJJDfVzKgPLxvDbHi5SFEsTqp4uM7UrdT5JlXazq9Gid/s9k6Eie ackfh31W8SqS2TnwWI/aYE4Oi/pBL4oBTxyIBJpyfAdXwZe47InH7tb22dFz85tURWVi +hhA== X-Gm-Message-State: AG10YOS//WeK8BC8CA3HaE4g0rBCfYDjsy5bHmQ+50FASdar0Fhah1PhVxc2AO7oXZjpwlIm0wmRqoIf2E08Cw== MIME-Version: 1.0 X-Received: by 10.55.77.216 with SMTP id a207mr44211134qkb.80.1456264753081; Tue, 23 Feb 2016 13:59:13 -0800 (PST) Received: by 10.55.1.4 with HTTP; Tue, 23 Feb 2016 13:59:13 -0800 (PST) Date: Tue, 23 Feb 2016 15:59:13 -0600 Message-ID: Subject: VM Options From: Greg Groth To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 21:59:14 -0000 I'm looking to repurpose an older HP G6 and an older G7 server, and an HP MSA with 8 TB of storage as VM hosts for VM guests consisting of Windows 2012 R2 development servers, and non-mission critical FreeBSD 10.2 servers. We're using VMware for all of our production servers, but I don't want to purchase additional licenses for this purpose. I'd love to use FreeBSD for the hosts, but am unsure if the hardware will pose any issues. I'm guessing that since ESX had no issues that FreeBSD should be OK in this day and age. If the hardware is OK, should I be looking at bhyve, KVM or VirtualBox? The only issue I can think of that might sway the choice from one to another would be that while I'm comfortable with setting up config files from the command line, a GUI would be nice to allow people other than myself something to monitor the install. Any comments / thoughts / advice on this project would be most appreciated. Best regards, Greg Groth From owner-freebsd-questions@freebsd.org Tue Feb 23 23:56:13 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C6B4AB256B for ; Tue, 23 Feb 2016 23:56:13 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 149BEE57 for ; Tue, 23 Feb 2016 23:56:13 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: by mailman.ysv.freebsd.org (Postfix) id 13CE7AB256A; Tue, 23 Feb 2016 23:56:13 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 135E3AB2569 for ; Tue, 23 Feb 2016 23:56:13 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC250E56 for ; Tue, 23 Feb 2016 23:56:12 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=HOzPq3SVvhWKasPgrxCzbWKpmsT6VwoqBe7Uum6rm3Q=; b=dDwKMdECESCbYTohbTe3hWMCio DtdWen206TF7Nvq45FecTFcl5sMoH8hyRvIuhZAi2sCM1BcYNe2mriyR9uq3LXhdh5ewzqDw+AqBr AhWzZrjfWqYR5ci09s+mgyhARf7XgWWzsigMtUb6vIXfzrEroSbtaWXOyIslWYW0r/88=; Received: from [114.124.24.52] (port=14235 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1aYLZP-001T8h-FZ; Tue, 23 Feb 2016 15:36:40 -0700 Date: Wed, 24 Feb 2016 06:36:34 +0800 From: Erich Dollansky To: Luciano Mannucci Cc: Subject: Re: Changing architecture Message-ID: <20160224063634.24b751f0@X220.alogt.com> In-Reply-To: <3q8cLq5D8hzRRqS@baobab.bilink.it> References: <3q8cLq5D8hzRRqS@baobab.bilink.it> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 23:56:13 -0000 Hi, On Tue, 23 Feb 2016 11:39:12 +0100 Luciano Mannucci wrote: > Hello all! > > I have an i386 small server that I whish to upgrade to amd64 > (upgrading the hardware too:) without destroying user files and > configurations. Is that possible? It might be interesting on some > virtual machines too... Maybe doing a rebuild of everything > in /usr/src changing the architecture is enough? > > Thanks, > > Luciano. I use USB media which has a running system with a compiled source tree, boot from this media and install then on the other media by defining the target. I do not see problems when switching from i386 to amd64. There could be problems with some configuration files when you also do an upgrade. Erich From owner-freebsd-questions@freebsd.org Wed Feb 24 00:10:23 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43EA7AB2E1A for ; Wed, 24 Feb 2016 00:10:23 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin2.langille.org (clavin2.langille.org [199.233.228.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 030D81A92 for ; Wed, 24 Feb 2016 00:10:22 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin2.int.langille.org (clavin2.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 55F2CA30D ; Wed, 24 Feb 2016 00:10:21 +0000 (UTC) Subject: Re: ZFS: i/o error - all block copies unavailable Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_135255AB-6420-451E-8825-E4ECCFF984F4"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.6b2 From: Dan Langille In-Reply-To: <56CB53D5.1030709@sentex.net> Date: Tue, 23 Feb 2016 19:10:20 -0500 Cc: freebsd-questions@freebsd.org Message-Id: <49CF108E-BF95-4213-827C-C17A812AD958@langille.org> References: <5C208714-5117-4089-A872-85A6375856B7@langille.org> <56CB53D5.1030709@sentex.net> To: Mike Tancsa X-Mailer: Apple Mail (2.3112) X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 00:10:23 -0000 --Apple-Mail=_135255AB-6420-451E-8825-E4ECCFF984F4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Feb 22, 2016, at 1:30 PM, Mike Tancsa wrote: >=20 > On 2/22/2016 12:41 PM, Dan Langille wrote: >> I have a FreeBSD 10.2 (with freebsd-update applied) system at home >> which cannot boot. The message is: ZFS: i/o error - all block >> copies unavailable ZFS: can't read MOS of pool system gptzfsboot: >> failed to mount default pool system >>=20 >> I booted the box via mfsBSD thumb drive, and was able to import >> the zpool: https://gist.github.com/dlangille/6da065e309301196b9cd >> >>=20 >> I have also run: "gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot >> -i 1 XXX" against each drive. I did with the the files provided >> with mfsBSD and with the files from my local 10.2 system. Neither >> solution changed the booting problem. >=20 > This is a longshot, but I ran into an odd situation like this as well = a > few weeks ago. >=20 > It seems on the motherboard I was using, when the "DUAL" boot option > is enabled in the BIOS, present all the disks to the loader early in > the boot process. >=20 > So, when you escape to the loader prompt, and do >=20 >=20 > OK lsdev > cd devices: > disk devices: > disk0:BIOS drive C: > disk1:BIOS drive D: > disk2:BIOS drive E: > disk3:BIOS drive F: > pxe devices: > zfs devices: > zfs:zroot > OK >=20 >=20 > In this case, 4 of the disks that are normally part of the zroot were > not there resulting in >=20 > ZFS: i/o error - all block copies unavailable >=20 > Disabling the "DUAL" option in the BIOS and going back to legacy and > listing all the drives as possible boot drives, then presents to the > zfsloader all the disks, so we see the familiar > BIOS drive C: is disk0 > BIOS drive D: is disk1 > BIOS drive E: is disk2 > BIOS drive F: is disk3 > BIOS drive G: is disk4 > BIOS drive H: is disk5 > BIOS drive I: is disk6 > BIOS drive J: is disk7 >=20 > This is a Supermicro SYS-7048R-C1RT4+ X10DRC-T4+ (BIOS 01/29/2015) >=20 > Prior to the reboot, the other drives were not used by the zfs pool, = but > were added. Since the old pool didnt need them, it didnt matter. >=20 > Its a longshot that this is your problem, but I will takes the chances > today :) Since we last posted: - a drive partition issue was identified and fixed. glabel status = output disagreed with gpart output. (thanks to Josh Paetzel) - the drive was repartitioned and a resilvering occurred overnight. - the system would not boot this morning: ### ZFS: i/o error - all block copies unavailable ZFS: can't read MOS object directory ZFS: can't find root filesystem gptzfsboot: failed to mount default pool system FreeBBSD/x86 boot ZFS: i/o error - all block copies unavailable ZFS: can't find dataset u Default: system/<0x0>: boot: ### - While booting into mfsBSD to issue zpool set cachefile, I noticed that = I saw only three drives while booting. I looked in BIOS but didn't find what I was looking for, but I did find = it in the LSI card setting. During the debugging of the original problem, I changed the Boot Support setting on = the LSI card from BIOS & OS to OS Only. It did not help, but the debugging change was never reverted. - I made that change, rebooted the server, and it's back. see also: https://forums.freebsd.org/threads/55227/#post-312830 = Thank you. Mike: You were right. :) -- Dan Langille - BSDCan / PGCon dan@langille.org --Apple-Mail=_135255AB-6420-451E-8825-E4ECCFF984F4 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQJ8BAEBCgBmBQJWzPTsXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MTE2RjM0ODIzRDdERDM4OTY0OUJBNzdF QjIxNTlERUU5NzI3MzlGAAoJEOshWd7pcnOfq5sP/RvyIPeHO6upFXdqNJtuPn6s 0XFl+aiYoiPYL4qdIyabyykxp5UXSyCqek58ghfpa0/zFNMNYgnTw6SijpQ2EtrE ypKnqjIjW80xpodb2Qq8Hu3pOs6rkDUCy5JzHyInPuMHSqYiVJX/V3tYLZuulz4o 5A95ngSGavm5Z2H8qTl+jCOHFAwy27fL1iRJGjiHEXBKDPEQXHKeRtpXq9Hp6DOU ZtcakwmSMu+7GxWblDYHSGePSxsMrVFtek96Z6VGMneP3cIFpGa5v1eUFnTNEdXO suXl9E2GsCjRzaGgrZwTziFjv8LCZDruaBeGOLiERnZ+6/l+6yPfeNSy9g3p/qPf Y6sL2GMu8+25InL+Ioekp8li+gYlu84+m3xbmPap6A0CAb7TXRBrJr74roJybrsw LUtLkAsNFdcT6AqZHepzVK2qUCP0I6lDz59Y9AI89Tqc/H6g5KsZJHaSHfhhlrWw quTH7R2Dy40uSuLE4ibGYt59M/kqtmsPMSH1ySdy8+Ry/6PPZYpyoliUEURwDGZc Fv3dTmMakN74MYMepftA6YTgCXHGpJGJVB2VQtk38JRVTCZoa6p4vcXJfFvOWHtC edN8wzfXoGzr8/LuTjz5btDI4YZmt2aETWv9dO5M9b3JutlfsYESNAllhgvtI7en 9l8UVymsBtNtuntGtPn5 =WEzJ -----END PGP SIGNATURE----- --Apple-Mail=_135255AB-6420-451E-8825-E4ECCFF984F4-- From owner-freebsd-questions@freebsd.org Wed Feb 24 00:55:44 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E876DAB221B for ; Wed, 24 Feb 2016 00:55:44 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id D05C41439 for ; Wed, 24 Feb 2016 00:55:44 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from homiemail-a80.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by hapkido.dreamhost.com (Postfix) with ESMTP id 2CD7890CC7 for ; Tue, 23 Feb 2016 04:51:07 -0800 (PST) Received: from homiemail-a80.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTP id 1B3D437A076; Tue, 23 Feb 2016 04:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type: in-reply-to; s=ozzmosis.com; bh=f/Sl8Z7RXB8w34zGwBq/omLKjH0=; b= W3+uPpNc/+0PlXBh12TjDUWC9o1e8aLHWIhPr6/D5AVGS7ctnnoz9mHgX7Se+w/h 9fjGokQXCgJsaYMPVpNPg634FACXbwHfwiI/48KRLTn3QGkO4TrJcBU1qwld8lq7 lJGJCKiasH0lPC/a/BnMnD8MCJtZXfCTiQ8FNrhqtcg= Received: from blizzard.ozzmosis.com (unknown [202.161.22.216]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTPSA id C8FAD37A075; Tue, 23 Feb 2016 04:51:00 -0800 (PST) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id C3B65ABA; Tue, 23 Feb 2016 23:50:57 +1100 (AEDT) Date: Tue, 23 Feb 2016 23:50:57 +1100 From: andrew clarke To: Koichiro IWAO Cc: freebsd-questions@freebsd.org Subject: Re: how to know if bug 198092 applied in C program? Message-ID: <20160223125057.GA41865@ozzmosis.com> References: <000001530cf44e47-ccacfe21-94cc-4fb0-898b-c726a3c608e1-000000@us-west-2.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001530cf44e47-ccacfe21-94cc-4fb0-898b-c726a3c608e1-000000@us-west-2.amazonses.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 00:55:45 -0000 On Tue 2016-02-23 07:07:30 UTC+0000, Koichiro IWAO (meta@vmeta.jp) wrote: > Hello, > > I'm writing a C program and having a question. > > My program is intended to run under stable/9, releng/9.3, stable/10, > releng/10.2, releng/10.3 and sometimes current. Stables are not always > up to date. > > I'd like to check if getaddrinfo(3) supports AI_V4MAPPED using something > like "#ifdef" or "#if" macros because it is not necessarily > implemented[1]. > Probably I can use __FreeBSD_version for that. Is this way good? I think you could use a configure script (not necessarily Autoconf) instead, and test for AI_V4MAPPED support at build time. https://en.wikipedia.org/wiki/Configure_script From owner-freebsd-questions@freebsd.org Wed Feb 24 01:55:37 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6AFD3AB19DC for ; Wed, 24 Feb 2016 01:55:37 +0000 (UTC) (envelope-from 0000015310f49c11-b68f39f2-f777-4e59-a74d-aa87894f7430-000000@us-west-2.amazonses.com) Received: from a27-116.smtp-out.us-west-2.amazonses.com (a27-116.smtp-out.us-west-2.amazonses.com [54.240.27.116]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 466F714EF for ; Wed, 24 Feb 2016 01:55:37 +0000 (UTC) (envelope-from 0000015310f49c11-b68f39f2-f777-4e59-a74d-aa87894f7430-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=4nphvxivhgsntfxkzsopqsdbvjscuhxm; d=vmeta.jp; t=1456278379; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID; bh=XB0EADyEnzs+cXFySEMWr/Iv4LrSVq8FVlMa1/epIBs=; b=vuahpQo0A+GFtbCxuZz+jBrhTlr5aSRYr64o5H2nUlEqRFCWoGWomyKUJbHu1k5k 01gAg3t/+/jRd7JV1+IFV0Mq//4jdoO0XegMi6qa/wh/RAh9wodPX2WWobHo5q+c46r IFHChR1WLnVw4r1ITG5qubOxSO5SMdejF4zwulS4= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1456278379; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:Feedback-ID; bh=XB0EADyEnzs+cXFySEMWr/Iv4LrSVq8FVlMa1/epIBs=; b=czbIiWNI77TUmAdv6NHct2GVKLHqlPXSzrJiIAL0WWiluhfNci3PdYPTITPzQfxT h203r/SojJPa87L/36svZCN+P7j3Tq3FfVr7MP4WXJGfsFX4O8DUq05FUwEhnutzbg9 B5FOnryUSXqS0jndzB6GIUPHBz0HDdjSQJN9JkDQ= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on glory.vmeta.jp X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 24 Feb 2016 01:46:19 +0000 From: Koichiro IWAO To: andrew clarke Cc: freebsd-questions@freebsd.org Subject: Re: how to know if bug 198092 applied in C program? In-Reply-To: <20160223125057.GA41865@ozzmosis.com> References: <000001530cf44e47-ccacfe21-94cc-4fb0-898b-c726a3c608e1-000000@us-west-2.amazonses.com> <20160223125057.GA41865@ozzmosis.com> Message-ID: <0000015310f49c11-b68f39f2-f777-4e59-a74d-aa87894f7430-000000@us-west-2.amazonses.com> X-Sender: meta@vmeta.jp User-Agent: Roundcube Webmail/1.1.4 X-SES-Outgoing: 2016.02.24-54.240.27.116 Feedback-ID: 1.us-west-2.ngRt4x2U/cWqug8pbfjwMxB6pcDw1fmN73bGmMLYyRI=:AmazonSES X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 01:55:37 -0000 Thanks. I'll try configure script. 2016-02-23 21:50 に andrew clarke さんは書きました: > On Tue 2016-02-23 07:07:30 UTC+0000, Koichiro IWAO (meta@vmeta.jp) > wrote: > >> Hello, >> >> I'm writing a C program and having a question. >> >> My program is intended to run under stable/9, releng/9.3, stable/10, >> releng/10.2, releng/10.3 and sometimes current. Stables are not >> always >> up to date. >> >> I'd like to check if getaddrinfo(3) supports AI_V4MAPPED using >> something >> like "#ifdef" or "#if" macros because it is not necessarily >> implemented[1]. >> Probably I can use __FreeBSD_version for that. Is this way good? > > I think you could use a configure script (not necessarily Autoconf) > instead, and test for AI_V4MAPPED support at build time. > > https://en.wikipedia.org/wiki/Configure_script -- `whois vmeta.jp | nkf -w` meta From owner-freebsd-questions@freebsd.org Wed Feb 24 02:55:12 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C919FAB1145 for ; Wed, 24 Feb 2016 02:55:12 +0000 (UTC) (envelope-from 00000153112a4dc5-3ff13110-00a4-4a5e-85ce-a3a81d97eb95-000000@us-west-2.amazonses.com) Received: from a27-35.smtp-out.us-west-2.amazonses.com (a27-35.smtp-out.us-west-2.amazonses.com [54.240.27.35]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A9EC714D0 for ; Wed, 24 Feb 2016 02:55:12 +0000 (UTC) (envelope-from 00000153112a4dc5-3ff13110-00a4-4a5e-85ce-a3a81d97eb95-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=4nphvxivhgsntfxkzsopqsdbvjscuhxm; d=vmeta.jp; t=1456281898; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Subject:In-Reply-To:References:Message-ID; bh=bZaBTkme7Gy4aPfM6o6QuaR8WplH4Qkdos4QFcjl2Z8=; b=nDnGxLWSAeoKHVKPrAiEdPnJN5pajgF9iYnFfhA8CL/Af6zcwRMMsysiuxbydiI0 q0WM7inNjgtRmqnJntH2zsYJATvxwdnMcsJHaBZhHsPerFZrmQXFSPB7dN0eF81w/90 yMusE8zHlfzQG3eFkndYGWWa4LXH0m6aoyWLFbPI= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1456281898; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Subject:In-Reply-To:References:Message-ID:Feedback-ID; bh=bZaBTkme7Gy4aPfM6o6QuaR8WplH4Qkdos4QFcjl2Z8=; b=TpKnwudMoG0UN8iXhYb36r4csxHYXZyX8KmVkjmOqWQmhpKiqp1a2L1MfmP1M6Sz 2E33AvvuU+mnoMxWlOjRPmnaYNRBT8/0QxS+E+YRQJmCkZSOn6R0Vw2dQBisFS+WlNl GNklqKRsrCM+vzDjq5bqt5Vx4dnxcQd5mPmhkHZc= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on glory.vmeta.jp X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 24 Feb 2016 02:44:58 +0000 From: Koichiro IWAO To: freebsd-questions@freebsd.org Subject: Re: how to know if bug 198092 applied in C program? In-Reply-To: References: Message-ID: <00000153112a4dc5-3ff13110-00a4-4a5e-85ce-a3a81d97eb95-000000@us-west-2.amazonses.com> X-Sender: meta@vmeta.jp User-Agent: Roundcube Webmail/1.1.4 X-SES-Outgoing: 2016.02.24-54.240.27.35 Feedback-ID: 1.us-west-2.ngRt4x2U/cWqug8pbfjwMxB6pcDw1fmN73bGmMLYyRI=:AmazonSES X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 02:55:12 -0000 I looked at source code[1] again and finally find out #if AI_MASK & AI_V4MAPPED or #if AI_MASK & AI_V4MAPPED > 0 would be simple and effective. [1] https://svnweb.freebsd.org/base/stable/10/include/netdb.h?r1=292722&r2=292721&pathrev=292722 2016-02-23 16:07 に Koichiro IWAO さんは書きました: > Hello, > > I'm writing a C program and having a question. > > My program is intended to run under stable/9, releng/9.3, stable/10, > releng/10.2, releng/10.3 and sometimes current. Stables are not always > up to date. > > I'd like to check if getaddrinfo(3) supports AI_V4MAPPED using > something > like "#ifdef" or "#if" macros because it is not necessarily > implemented[1]. > Probably I can use __FreeBSD_version for that. Is this way good? If > so, > >> #if __FreeBSD_version > __VALUE__ > > what the __VALUE__ will be? > > > [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198092 > > Thanks, -- `whois vmeta.jp | nkf -w` meta From owner-freebsd-questions@freebsd.org Wed Feb 24 10:20:39 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8430FAB2693 for ; Wed, 24 Feb 2016 10:20:39 +0000 (UTC) (envelope-from mawad71@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 66BE42D7 for ; Wed, 24 Feb 2016 10:20:39 +0000 (UTC) (envelope-from mawad71@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 657CBAB2692; Wed, 24 Feb 2016 10:20:39 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65107AB2691 for ; Wed, 24 Feb 2016 10:20:39 +0000 (UTC) (envelope-from mawad71@gmail.com) Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [IPv6:2607:f8b0:4003:c01::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D49D2D3 for ; Wed, 24 Feb 2016 10:20:39 +0000 (UTC) (envelope-from mawad71@gmail.com) Received: by mail-ob0-x22a.google.com with SMTP id jq7so13319748obb.0 for ; Wed, 24 Feb 2016 02:20:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=+QlEb8aSZ06IKQ2pZsxqBQY124ANxz9eNy9vnd7atj8=; b=pCbuW0UAcsHZV+MqnXSeZW6CNi0vahUxkbFdb+KgowPnuzniRS7v/I37qiQYJZ+k7M a42DLauUzAcuzAocbHWmOcrBCvJJngb6ExmZg9AQJ/WBaJrGSOs8bJMpehnsBUW7tC5D KNbYoRfHpLgAy5bzEe/B+LbZtlXIQ87Ke3/R5JNHcvUQ8UJId+p3yfPlWF94VQ2uxsLt t+sVgnVodunV+I6VtZy84Evk2Jp8H4krC4tXJEfD+PHrpiSmOO9VT+SqQ/9foqe55Aci 8EMaLw48TfBe9OwFE0OkOPJiWQa/VunE53wJC1gPf/Ui1lD79O9/vpXH3C0X1CAuCxPA GKjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=+QlEb8aSZ06IKQ2pZsxqBQY124ANxz9eNy9vnd7atj8=; b=jt/CCDag1MG46s/Hafa1uNr3ENYuKUeHWlYt+05oQ8sgC6zYUyCNTyJEO3C+atrSkW 3rzDOkgy2CG7YDM4q/lxFrHXDw8jODX2BdoysNtX4ndLX36OZ0aK7HocnWM7aOZczYJv XhGNdTSuVQnU7kwNvaQRGEFSREF24btqQBOFhd1xPsCgnYh4jvZoRDp9LjgCOgJVLG+E Nondk/4Of2j7qGnWhEsQnRafDH60R66D6UWS1xh/GVRnwnq6xE/Z3uLuy+NGXtIyg+H6 GJ0l77Cr1Os8eoW8htvG8ddFF9X865VogbHQSfZJYFyhHAegd6Cp2ps5lwCIXpESfz7L /puA== X-Gm-Message-State: AG10YOQhcMLXMQkkjf4fEKAzsUAYycsLaUiVv7ac3RxkiYSr94PFA12QOwDlyhpVWS/2IUYKuaENz3LafVYdYg== MIME-Version: 1.0 X-Received: by 10.60.159.105 with SMTP id xb9mr32393419oeb.26.1456309238407; Wed, 24 Feb 2016 02:20:38 -0800 (PST) Received: by 10.202.221.9 with HTTP; Wed, 24 Feb 2016 02:20:38 -0800 (PST) Date: Wed, 24 Feb 2016 12:20:38 +0200 Message-ID: Subject: Error Appear On freebsd 7.2 From: Mohamed Awad To: questions@freebsd.org Cc: Mohamed Awad Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 10:20:39 -0000 Dear FreeBSD Team kindly thanks for freebsd Software kindly i face this error on server when make any action from Software Login: pam_sm_close_session(): no utmp record for ttyp0 How resolve this issue thanks for your help From owner-freebsd-questions@freebsd.org Wed Feb 24 11:29:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C9A3AB3DDE for ; Wed, 24 Feb 2016 11:29:53 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28EE7968 for ; Wed, 24 Feb 2016 11:29:53 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: by mail-ob0-x22b.google.com with SMTP id dm2so14479372obb.2 for ; Wed, 24 Feb 2016 03:29:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=k2MKhU/Rymy3hlATFGz+4WzeD2DyOTl+cljSO+t9KlA=; b=gvutYWmlCFO74PzjTWyQOgvbdAG2Y3DMIF/SVQtP4dYJl+g2LDlU/GY+fJKwKhOtPI dVXo32cJTu+ff7hVoVApaoK0q8EbAVOrYtVWNBW2oYSCWOzLVRjcfpky02BSiPVLB7wG gL5++rCsw6PcnYffYx8p8Rt3BmjbzQy5+kUaOhaAMF5EPFyGu+jdLslPTaKqCixzpYel uh8+FY0pWyLmg/kUD2gTXjPAXJLZCsT1g0Iz1hVecQ5W+0IpXtvIAXTbWHsRS4dY9KHD 9c6dx+y2ofp/m7d61hdZdxAB6Dq9ZP8gXaDmb+MpTwpO14h92fAp5WD395sOAHJeWXVM b3gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=k2MKhU/Rymy3hlATFGz+4WzeD2DyOTl+cljSO+t9KlA=; b=fTVvYRkAHMHYLsdT8iI4ntzMIvhkJYnabVEp6k4FeHhOBAybxJokq1dColAO3mrqwM KvA48UJqndAQiMcvD7VjniiZP3L5tXI8mfq2UjIkS25jepJPdci1lODgCAOJxZ+6Btsm UBXqqZsoD/6TvUyqZdGwwipEGAWWQ2yv8WM2FEgBssgIqpvJRI8WGPC9KvJh4glHLYKB 1qbTLZWoTEHb8p6MJBnDiEXysD8MithUadHFvRS0rTUgW5skDvS1iLoYD8jy9hwviQur 4qLQV+X+2wO43rcD9Tn6xZt1N448iqpan9ZBRdq23OdGRf0K86fLwjFGFLLXvWGaNvz6 Z+lw== X-Gm-Message-State: AG10YOSr8LAfhcRkFQpybBP4E31te9oouoLm617fbVicH1ZIGHyzzOb2neJslh8u6eqeLkiKSlyWxB7yI+q+og== MIME-Version: 1.0 X-Received: by 10.60.80.70 with SMTP id p6mr32796723oex.75.1456313392304; Wed, 24 Feb 2016 03:29:52 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.202.226.200 with HTTP; Wed, 24 Feb 2016 03:29:52 -0800 (PST) Date: Wed, 24 Feb 2016 06:29:52 -0500 X-Google-Sender-Auth: JNCX47Bw9vUcWeVNSdpiqhBvdX4 Message-ID: Subject: Poudriere Port Options From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 11:29:53 -0000 Hi all, I need to check what non-default port options have been set on a Poudriere built repo and the options sub-command appeared to fit the bill with the -s option. However, upon executing port option -s -f $file, the output seems to describe what options are available along with their default setting as opposed to it's current setting. Is this the expected behavior? Is there an alternate method of checking what options have changed for arbitrary ports? -- Take care Rick Miller From owner-freebsd-questions@freebsd.org Wed Feb 24 12:34:35 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8FFAAB2994 for ; Wed, 24 Feb 2016 12:34:35 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A6291C18 for ; Wed, 24 Feb 2016 12:34:35 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id AE5B57370 for ; Wed, 24 Feb 2016 12:34:28 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/AE5B57370; dkim=none; dkim-atps=neutral Subject: Re: Poudriere Port Options To: freebsd-questions@freebsd.org References: From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <56CDA34A.9070906@freebsd.org> Date: Wed, 24 Feb 2016 12:34:18 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iuEHnAHJF8vA9WqqONJKxvcjScPgtnFdr" X-Virus-Scanned: clamav-milter 0.99 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.2 required=5.0 tests=RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 12:34:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iuEHnAHJF8vA9WqqONJKxvcjScPgtnFdr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/24/16 11:29, Rick Miller wrote: > I need to check what non-default port options have been set on a Poudri= ere > built repo and the options sub-command appeared to fit the bill with th= e -s > option. However, upon executing port option -s -f $file, the output se= ems > to describe what options are available along with their default setting= as > opposed to it's current setting. Is this the expected behavior? Is th= ere > an alternate method of checking what options have changed for arbitrary= > ports? >=20 poudriere options -s .... will show you the current options settings poudriere will use when it builds anything. If you never set any options for a particular port, then it will show you the default set of options. As I recall, it's not obvious where an option has been set to anything other than the default value. You can tell when an option has been set, but you'll need to dig deeper to find out if the value it was set to is different to the default. Cheers, Matthew --iuEHnAHJF8vA9WqqONJKxvcjScPgtnFdr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWzaNLAAoJEABRPxDgqeTnL6AQAKCaoA/o7AOwOtLECL4GooKZ PEDtS/gne9kVyA1Q0ak55a0NYTosSSDf91nVL7Xorcq2gpfaFSgExncXEseC5y55 fC8cPB9y4eZ7rdeNQUGYSgDH0cAJWnYXvxc4SK2n4SBrgl/Vz+CCp3PDMTbs4zt8 SKio25BXtTeHq07lUU9mh/ggxqloA+8okIyAlbG6DdsjcqpZJJhSBc8hu8rSlbQz HecMJsWv/v9nkKcEDJucUFgwlGN6CwPoEWPdso7/pclyVb0fKAiC6d2vdr8sIY18 w3jZOgnZKFNRK2N6j/WCg8KvKPIWedxypKANTtyWI6PrIZViu4gHG3qfo7T2Swr2 VAbORB2ME3Z3XEmKyYeiVhZcEVMcAQB+E9ViaXNUbRDxCSV3cRJDyde6Mi98u/al PoqaNaC3hvcU34Jd0c6ynn3ltGjzD/ZM1LipHum2jYIgO7bBx5EVf+wRPpXl0Grp 2tkAwMyAQf24n0gDZ/8qaeOx7PIAOTIMN+hREN9Rvp/LtS/ROV+zaT9RE9GC6amL 61LD1z1w9uK/rlW1btWIMGKn1gtAs7FjB7ZSZ8P7h3xI9eflZ17MCmBMBVQuE720 vE45ek7oQptu1FSrHczleRdgKaQLJOo5wRleCmbokzHxBDgHB4WQxeIgjzOUgYYj kU3Ud+WpkFiLOoXEbzC9 =No0D -----END PGP SIGNATURE----- --iuEHnAHJF8vA9WqqONJKxvcjScPgtnFdr-- From owner-freebsd-questions@freebsd.org Wed Feb 24 14:46:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDCA7AB3CB6 for ; Wed, 24 Feb 2016 14:46:08 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin2.langille.org (clavin2.langille.org [199.233.228.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97377616 for ; Wed, 24 Feb 2016 14:46:08 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin2.int.langille.org (clavin2.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 1E697AF21 for ; Wed, 24 Feb 2016 14:46:06 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_9510377A-15D2-47B9-B02F-BDE618E23806"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: Poudriere Port Options X-Pgp-Agent: GPGMail 2.6b2 From: Dan Langille In-Reply-To: <56CDA34A.9070906@freebsd.org> Date: Wed, 24 Feb 2016 09:45:59 -0500 Message-Id: References: <56CDA34A.9070906@freebsd.org> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3112) X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 14:46:08 -0000 --Apple-Mail=_9510377A-15D2-47B9-B02F-BDE618E23806 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Feb 24, 2016, at 7:34 AM, Matthew Seaman = wrote: >=20 > On 02/24/16 11:29, Rick Miller wrote: >> I need to check what non-default port options have been set on a = Poudriere >> built repo and the options sub-command appeared to fit the bill with = the -s >> option. However, upon executing port option -s -f $file, the output = seems >> to describe what options are available along with their default = setting as >> opposed to it's current setting. Is this the expected behavior? Is = there >> an alternate method of checking what options have changed for = arbitrary >> ports? >>=20 >=20 > poudriere options -s .... will show you the current options settings > poudriere will use when it builds anything. If you never set any > options for a particular port, then it will show you the default set = of > options. >=20 > As I recall, it's not obvious where an option has been set to anything > other than the default value. You can tell when an option has been = set, > but you'll need to dig deeper to find out if the value it was set to = is > different to the default. FreshPorts has the default config, listed under 'Configuration Options': e.g. https://www.freshports.org/sysutils/bacula-server/ = -- Dan Langille - BSDCan / PGCon dan@langille.org --Apple-Mail=_9510377A-15D2-47B9-B02F-BDE618E23806 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQJ8BAEBCgBmBQJWzcItXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MTE2RjM0ODIzRDdERDM4OTY0OUJBNzdF QjIxNTlERUU5NzI3MzlGAAoJEOshWd7pcnOfW8sP/1MADBK1s6LmidpsNft9JWYB 4W2QhuC8dpa9gEHk20VycZwo85vgUkBawnR4ZBVJqlyTgPfMFwiKJpnKXLYySoyb bnlrbjIZ854ggKprXEAfO/guBnkZFmgWajM/pvfWYvn+WO160jjZLguyWGPSIPrv uhQFgUSVDammHwT1Qn2Hzs5F+vPcpO0YggNyPP2XWp0qLWXtRRSaDidpHxggMkUT fHbyOgcU0zZUUXv02N7g+6oeQV2B++dLjvgU2Jr5lIgYhrdsMnp9JH+RCOn9qd1c qFGhAv23g+Jh7fB+peIT8VTb/CbszuwMy7FdMCTrRo4TepeShVU1xj3p7cnTYyuO 6mBWW4oaQEttjrd1xk73hgL5oKG1DcpfgMjvkea7/EpR8We5m3N5WYX5VBRTsRl4 gqIsdzWIvXWFxKcs7yvlRdynFDecNHBTYCbHIv514gUngonwJQPstrgN6XoTJg2j 0DMoqjY9+moT5H8vUFWcW7Lv0/0FkXoKFSR8K+TVtJW9Tb07N/ij0ghss9QjN36j Hnw5GLN3YjdhqLkF8bWSodFU4zRz/jdOEaQnYOU8WqAXLDgL4m+CdXkwFXjkod3T 1AT7DSxDBDeOQxmAuuAIhi4bwxoIWS68E6TyiwicoDyHWaQaVfKyR10flnze4qZT fwXC4ZpLJAFBZLbD51Ir =HQFO -----END PGP SIGNATURE----- --Apple-Mail=_9510377A-15D2-47B9-B02F-BDE618E23806-- From owner-freebsd-questions@freebsd.org Wed Feb 24 14:51:54 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CAD1AB3F6C for ; Wed, 24 Feb 2016 14:51:54 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1C621947 for ; Wed, 24 Feb 2016 14:51:54 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1ABC9AB3F6B; Wed, 24 Feb 2016 14:51:54 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A50FAB3F6A for ; Wed, 24 Feb 2016 14:51:54 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B3B26946 for ; Wed, 24 Feb 2016 14:51:53 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id u1OEpjaM011666; Wed, 24 Feb 2016 14:51:45 GMT (envelope-from freebsd@qeng-ho.org) Subject: Re: Error Appear On freebsd 7.2 To: Mohamed Awad , questions@freebsd.org References: From: Arthur Chance Message-ID: <56CDC37C.9060105@qeng-ho.org> Date: Wed, 24 Feb 2016 14:51:40 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 14:51:54 -0000 On 24/02/2016 10:20, Mohamed Awad wrote: > Dear FreeBSD Team > > kindly thanks for freebsd Software > > kindly i face this error on server when make any action from Software > > Login: pam_sm_close_session(): no utmp record for ttyp0 > > How resolve this issue > > thanks for your help You may not get any help with this as 7.2 reached end of life at the end of June 2010, so is over 5 years out of date. I suggest you upgrade to a supported release if you want help. https://www.freebsd.org/security/index.html#sup -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point. From owner-freebsd-questions@freebsd.org Wed Feb 24 16:35:57 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EBFEAB38D6 for ; Wed, 24 Feb 2016 16:35:57 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF47F197B; Wed, 24 Feb 2016 16:35:56 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: by mail-oi0-x22b.google.com with SMTP id m82so19314255oif.1; Wed, 24 Feb 2016 08:35:56 -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=z2i71kZCaVdPYsULHJBT1xOlby/EpB8/nQkBhpaUYR4=; b=rH6Gxug4ZNaYrL1kxjXT3NabeobRIImOtTDv+qWmtoBBYNWWi9+omg7kmn1CjjsRcq dltWMq2az1jmMpnO6AIbnRQ5RtNDvINz7cvnhL1g88DKdHlksuUnycn+JH7zartqchSd yQTAdPIc+PQw22tStWFUWpPg0pAYpfkRJ/XI7e0xfJ+APtvAuC2jw/kU1ezHKrvTxsqd KFIQ7OBWcXECtIoaBUWr5byFq4ZHvapVQ7GLssJkpAmiIOQcMR6g1ALqv/DNjN6W96ky 740zYCKlvfrheRN7Hh7gQfxoDJbWnSh/zmlEjJs+g6IhYFjsION+/blvqwF0OM/cyxQR Q1Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=z2i71kZCaVdPYsULHJBT1xOlby/EpB8/nQkBhpaUYR4=; b=ce7r/AgAuF57AADaiPkc5aiHUnRXGxv1G3j6IsbVyR8fEkH0urBqtyJUnKAbIhF0nH 3M2kv5z0rv+GpM45BdvWWdrQeIBm2lgLG/oszQKcQksX7u301CxpG+gZmFRQagcj2RyB A7VKt11wcIJa3cf3O/X9Hnc0Wt62WRTZztTM2M6Gyb36xxIWSsQDWPXHau1RRl3C3ZXO ddHj0eZLW/lD081rXXl2JTWi+Q/ynM2rRCcmNcrtpsiBHDX9mycWatNi3Il6bAtUn/2u n52EWEjo3pzRaIlVdin/bS+NQyfvcLTUSdz1cESu8ygD8CBxoePK0h5Q1vTIW71s1l5e jvnw== X-Gm-Message-State: AG10YOTWFIQFDFNlKS7WN/Ep4ONBxv65Y2pqi4ShVJI4yQtZaosJRR877II8Z7hlkl5br/vq4vK5j2iTZKtUkw== MIME-Version: 1.0 X-Received: by 10.202.175.151 with SMTP id y145mr31882642oie.107.1456331756247; Wed, 24 Feb 2016 08:35:56 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.202.226.200 with HTTP; Wed, 24 Feb 2016 08:35:56 -0800 (PST) In-Reply-To: <56CDA34A.9070906@freebsd.org> References: <56CDA34A.9070906@freebsd.org> Date: Wed, 24 Feb 2016 11:35:56 -0500 X-Google-Sender-Auth: dx-33Lu5Xx-QuhFobZqsASCMIak Message-ID: Subject: Re: Poudriere Port Options From: Rick Miller To: Matthew Seaman Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 16:35:57 -0000 Thanks... On Wed, Feb 24, 2016 at 7:34 AM, Matthew Seaman wrote: > On 02/24/16 11:29, Rick Miller wrote: > > I need to check what non-default port options have been set on a > Poudriere > > built repo and the options sub-command appeared to fit the bill with the > -s > > option. However, upon executing port option -s -f $file, the output > seems > > to describe what options are available along with their default setting > as > > opposed to it's current setting. Is this the expected behavior? Is > there > > an alternate method of checking what options have changed for arbitrary > > ports? > > > > poudriere options -s .... will show you the current options settings > poudriere will use when it builds anything. If you never set any > options for a particular port, then it will show you the default set of > options. > > As I recall, it's not obvious where an option has been set to anything > other than the default value. You can tell when an option has been set, > but you'll need to dig deeper to find out if the value it was set to is > different to the default. I must be crazy. Could have sworn pkg options -s displayed the default setting for an option that was known to be changed when testing it, but subsequent tests failed to prove the original assertion. You explain above that it can be determined when an option was set. Can you elaborate? It does not seem obvious (at least to me) in options.sh that this can be ascertained in this manner nor does the ports collection appear to save this to disk inside the tree, but admittedly, the only test for this was pretty rudimentary (a couple find commands). -- Take care Rick Miller From owner-freebsd-questions@freebsd.org Wed Feb 24 16:55:54 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6C59AB3FA8 for ; Wed, 24 Feb 2016 16:55:54 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 965B57CF for ; Wed, 24 Feb 2016 16:55:54 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 6D7147416; Wed, 24 Feb 2016 16:55:50 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/6D7147416; dkim=none; dkim-atps=neutral Subject: Re: Poudriere Port Options To: Rick Miller References: <56CDA34A.9070906@freebsd.org> Cc: FreeBSD Questions From: Matthew Seaman Message-ID: <56CDE090.9030606@freebsd.org> Date: Wed, 24 Feb 2016 16:55:44 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OWJH3pXlNR6qHv48p4NchEoARSaOrJUdf" X-Virus-Scanned: clamav-milter 0.99 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.2 required=5.0 tests=RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 16:55:54 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OWJH3pXlNR6qHv48p4NchEoARSaOrJUdf Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/24/16 16:35, Rick Miller wrote: > You explain above that it can be determined when an option was set. Ca= n > you elaborate? It does not seem obvious (at least to me) in options.sh= > that this can be ascertained in this manner nor does the ports collecti= on > appear to save this to disk inside the tree, but admittedly, the only t= est > for this was pretty rudimentary (a couple find commands). Well, one way of doing that is: poudriere options -c some/port which will indicate previously unset options by a little red + sign. Of course, this is the command line for *setting* package options, so be sure to hit cancel if you don't want to do that. Cheers, Matthew --OWJH3pXlNR6qHv48p4NchEoARSaOrJUdf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWzeCQAAoJEABRPxDgqeTnmAcP/1wnw2KtWGkMNDQl/7tkmM3n 1fDHFqNFuc+tZi4no0AXv322lSKaSBRRfDrYOHMioaDQ6N3G8Mwsrkcw1gesS9yd qC6boSyNg/YgfNjigsNi5zVdsg9PfCjTpqAdsu+fqqH0CFhgRpZ096bseCYarNpd cvu/faXByW9MxKnoTIXpdnKsz+mkYj95E2whcOMoG6OZT4HZSL4mfgX7f7UPlECC CHfm6qoSz+pz8RAA4J0ZiqjiDfluL07mKoCpGrGTU55n2lrAtQNZguCEVI0oWKVI /KFYXAp9mgjkhgoNQIEXY/gHrBK0g/eBfMuoBdwa9wUbF9kKO6/tintNmVper7MA soz6g/E4syyGgfETC/VwSCP7bUdMi5TLqAaBLe2gkJhWI9xtS0/7cZB3mciuqGhD PvXq+eN2TBCcb5DPIKyWJFPBIH8UwoUSefPzQrW5fndTo668Jay/Q3J/T5NDKG13 yVkKW9KdIp8H5mrSaZRGYu6/NQJu3LhbsP65aHUtu8XkZ7IKzDJ362T1kv4pFz6I JY/7shKV7xmk+PyzNr0esIGb58QqXjGya8w53Uqv+2lXs8wMuIqmHf/dEPsoanuD CckytVfbSMcMYS3Lt8k4X5sgEepXM8m/MDkN4a8P6trKL350LNMtYw+YE7GX5we3 pal7VE6fhFPNHlhxZPZk =RUSI -----END PGP SIGNATURE----- --OWJH3pXlNR6qHv48p4NchEoARSaOrJUdf-- From owner-freebsd-questions@freebsd.org Wed Feb 24 18:32:59 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C40EEAB32FE for ; Wed, 24 Feb 2016 18:32:59 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A8C1012DD for ; Wed, 24 Feb 2016 18:32:59 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id A7149AB32FD; Wed, 24 Feb 2016 18:32:59 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6A55AB32FC for ; Wed, 24 Feb 2016 18:32:59 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-io0-f176.google.com (mail-io0-f176.google.com [209.85.223.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7EFFE12DC for ; Wed, 24 Feb 2016 18:32:59 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-io0-f176.google.com with SMTP id l127so57217496iof.3 for ; Wed, 24 Feb 2016 10:32:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; bh=Sy//PLsx3RbO0hRAwtvyMFrPKaRp3ihV0kdmCxQxhgk=; b=eFbYdev9VSsE5VoQ684T+cuH1mKKCzKOCI8IwIp5Iasorjxfy6ZQDlajgiHVBxCeHH On2cOC0hhWOLEuMbaWhNZPyUpkQRiy8vWNQfhFS1sJvuMQBEI1Iv28/FUCW4a7/k5aCv GD2tlfhostVZbJZX5nnLhGz3jggxgx7sBgxIT+zk+f/cP/jRJu2Omf/gAdXVmQAfGoIY LjOfFUxPziZc5Igx2BgmKpoHSS+C0MVAX+gsH3e4OuzKCB/VeSFr7uX/irI7/vJktiLo BekYu4l6T4rCocHQRnRa/zJTGB4ezIkobDDrZLAX9Pr9JR78nv+/TMaS7qbOYqcIlgw2 kbng== X-Gm-Message-State: AG10YOTlmryKhhpTJpydLT6HjcsEXvg24s7SJ/d5RnEPagCGWfGP/KgjwbzWHIl7t1XuGA== X-Received: by 10.107.37.12 with SMTP id l12mr35391650iol.138.1456329378885; Wed, 24 Feb 2016 07:56:18 -0800 (PST) Received: from WorkBox.Home.gmail.com (63-231-151-131.mpls.qwest.net. [63.231.151.131]) by smtp.gmail.com with ESMTPSA id j10sm1481799igx.15.2016.02.24.07.56.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Feb 2016 07:56:17 -0800 (PST) References: <56CDC37C.9060105@qeng-ho.org> User-agent: mu4e 0.9.16; emacs 24.5.1 From: Brandon J. Wandersee To: Arthur Chance Cc: Mohamed Awad , questions@freebsd.org Subject: Re: Error Appear On freebsd 7.2 In-reply-to: <56CDC37C.9060105@qeng-ho.org> Date: Wed, 24 Feb 2016 09:56:17 -0600 Message-ID: <86oab65cgu.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 18:32:59 -0000 Arthur Chance writes: > You may not get any help with this as 7.2 reached end of life at the end > of June 2010, so is over 5 years out of date. > > I suggest you upgrade to a supported release if you want help. > > https://www.freebsd.org/security/index.html#sup I'll just post this here, follwing a hunch: https://forums.freebsd.org/threads/37344/ If that thread is relevant to your case, you won't get any help at all. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From owner-freebsd-questions@freebsd.org Wed Feb 24 19:17:33 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B31A5AB233F for ; Wed, 24 Feb 2016 19:17:33 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from BLU004-OMC4S5.hotmail.com (blu004-omc4s5.hotmail.com [65.55.111.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 751C61DED for ; Wed, 24 Feb 2016 19:17:33 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from BLU436-SMTP184 ([65.55.111.135]) by BLU004-OMC4S5.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 24 Feb 2016 11:16:26 -0800 X-TMN: [4QZ1EUUItOpXOrPJEyx9AwVUqkTz6XUc] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: To: freebsd-questions@freebsd.org From: Manish Jain Subject: Is it possible to print to Canon Pixma MG2470 (USB) ? Date: Thu, 25 Feb 2016 00:46:02 +0530 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Feb 2016 19:16:24.0278 (UTC) FILETIME=[DA0F5F60:01D16F37] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 19:17:33 -0000 Hi All, I am running into familiar problems with printing on FreeBSD 10.2 (amd64). I installed all possible packages I thought might be necessary for Canon BJC PIXMA MG2470, including cups, gimp-gutenprint and some more. I then followed the handbook to insert the lines for cups in devfs.conf (usb dev = 2.6.0) and rc.conf, and then restarted devfsd and cupsd. Upon opening the cups admin page, there was no Canon make available - although there were makes for HP and a few others. I chose 'generic-IPP-print-anywhere' and tried printing a text file. The printer blinked a few times but produced nothing in output. This is what I got from the log in the CUPS admin page : [cups-deviced] PID 2083 (dnssd) stopped with status 1! [Client 234] Returning IPP client-error-not-possible for Create-Printer-Subscriptions (/) from localhost I have no idea what the above lines mean. Maybe a ppd file is needed for my printer, but googling fails to get any suitable ppd file. Interestingly, gimp-gutenprint states that the printer is supported. So what could I be missing ? Thanks for any help. -- Regards, Manish Jain From owner-freebsd-questions@freebsd.org Wed Feb 24 21:53:42 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4B6EAB24CB for ; Wed, 24 Feb 2016 21:53:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 70BC0BC8 for ; Wed, 24 Feb 2016 21:53:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-135-84.dynamic.qsc.de [92.195.135.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2192D3CE7A; Wed, 24 Feb 2016 22:53:32 +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 u1OLrWqj002076; Wed, 24 Feb 2016 22:53:32 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 24 Feb 2016 22:53:32 +0100 From: Polytropon To: Luciano Mannucci Cc: freebsd-questions@freebsd.org Subject: Re: Changing architecture Message-Id: <20160224225332.8d2f311f.freebsd@edvax.de> In-Reply-To: <3q8hR90wFKzRRqW@baobab.bilink.it> References: <3q8cLq5D8hzRRqS@baobab.bilink.it> <3q8hR90wFKzRRqW@baobab.bilink.it> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 21:53:42 -0000 On Tue, 23 Feb 2016 14:43:11 +0100, Luciano Mannucci wrote: > On Tue, 23 Feb 2016 14:57:10 +0200 > Rares Aioanei wrote: > > > Basically, if I understand your question correctly, you want /home/$user > > and the contents of /etc (most of it) backed up then used on the new > > machine(s). > Yep. :) > /home is moreless 1TB, so I'd *love* not to make a backup+restore... Basically, an OS update or platform change does not touch any files _not_ belonging to the OS. But it's helpful to make data inaccessible that should not be altered: # umount /home And make sure you do not mess with the partitioning and the device associated to the /home directory. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Feb 24 22:04:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24DB2AB2A22 for ; Wed, 24 Feb 2016 22:04:09 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF3F11311 for ; Wed, 24 Feb 2016 22:04:08 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by mail-ob0-x235.google.com with SMTP id gc3so31255932obb.3 for ; Wed, 24 Feb 2016 14:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ara-ler-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=i1wlTcuYJTImdf1fwpL2mmjiUdpgsU1Q4JmbPKdXXYM=; b=clnqWK3RDqg8ERIi/lg2zes914rGDYry33mw9Z9hJ1E2dLEJvapjsMnYettSWjpY6j bRQL0h1MjH3AAhrlF2RYt1ZKaNUm/5/e7ohiUsgFQEoPrKadOCfkaOKxgeGCFO5b4AI7 HEGoY6cgaeyj4kduC2PK28s6v7+7Z8EcEEhz5OIwkEuCBnMOsBhaEyvfEPo8qA10sgGH bY+eGOk9b70F/LqqS68+QU6Fwj6S4sJ2L66WnjDfoE+Kh2UCkjxHfaWR+43Vy1wogQYV Nen5BsBUheAt9HLCQK5dpscLDxwk1dFU9VuLsMAit76TqkgYMfOckeDSzBY3+Y7giS3G pqkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=i1wlTcuYJTImdf1fwpL2mmjiUdpgsU1Q4JmbPKdXXYM=; b=Zx34iRXwVQGlrbk9TKShqT8pD3L+6V4vftvPrsZDxCQDn/KTjsm9WigoO9zMJc+HKx WmqZ8b3UXoHCshPMJOANgl99PYxFrbbgX7DaC3G863xNNBlB4uavdCj+i/jRC0oGrQ0Q +6mhJ156SUUQ368fWRxgu/aCBx9YGBXxNOf+Zv4DhowI3UMVFFtH1dEdTXfAc+cepzBZ +fGPIDquE0Mqn0hinOYPQTU0xetryf4ziNnVdLqW0JCIIqzDWanOd87o0C66PZUdMiSE tpOO9acBv85RpzP2G+A5a/EUhBFZRe3ahzmt03zHarJaM9Ws80c9JBYMQKi5N3ffjKrZ 1yVA== X-Gm-Message-State: AG10YOTALiWvdcEkd2IDKN5MhXJjGztNgxzAXJ9B5sW5TQyuI3AtdXGgUFt8wq1ymV76nA== X-Received: by 10.182.24.197 with SMTP id w5mr33916630obf.31.1456351448205; Wed, 24 Feb 2016 14:04:08 -0800 (PST) Received: from debian.ara-ler.com ([50.243.135.133]) by smtp.gmail.com with ESMTPSA id n127sm3187457oia.8.2016.02.24.14.04.07 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Feb 2016 14:04:07 -0800 (PST) Date: Wed, 24 Feb 2016 15:04:05 -0700 From: Sergey Manucharian To: Manish Jain Cc: freebsd-questions@freebsd.org Subject: Re: Is it possible to print to Canon Pixma MG2470 (USB) ? Message-ID: <20160224220405.GG12209@debian.ara-ler.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 22:04:09 -0000 Hi Manish, Excerpts from Manish Jain's message from Thu 25-Feb-16 00:46: > Maybe a ppd file is needed for my printer, but googling fails to get any > suitable ppd file. Interestingly, gimp-gutenprint states that the printer is > supported. So what could I be missing ? Have you tried building the official driver from Canon web site? Or at list use the corresponding ppd form the same package? Here is the link: http://support-in.canon-asia.com/contents/IN/EN/0100551502.html -- Sergey From owner-freebsd-questions@freebsd.org Wed Feb 24 22:46:56 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E9BFAB3961 for ; Wed, 24 Feb 2016 22:46:56 +0000 (UTC) (envelope-from karly@kipshouse.net) Received: from mgmt.ironboy.kipshouse.net (ironboy.kipshouse.net [IPv6:2001:470:835a:4242::42]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx.kipshouse.net", Issuer "Starfield Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E6CDEFC4 for ; Wed, 24 Feb 2016 22:46:55 +0000 (UTC) (envelope-from karly@kipshouse.net) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kipshouse.org; i=@kipshouse.org; q=dns/txt; s=kh-ss; t=1456354016; x=1487890016; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; z=Date:=20Wed,=2024=20Feb=202016=2014:32:26=20-0800|From: =20Karl=20Young=20|To:=20Manish=20Ja in=20|Cc:=20freebsd-question s@freebsd.org|Subject:=20Re:=20Is=20it=20possible=20to=20 print=20to=20Canon=20Pixma=20MG2470=20(USB)=20? |Message-ID:=20<20160224223226.GA8337@mailboy.kipshouse.n et>|References:=20|MIME-Version:=201.0|In-Reply-To:=20; bh=eYS8DbJ/p4F9SvC9v7kJxiqDbKgDBIztjv/4u+fwoTA=; b=SeL1OzJNgjt3hsRtYIboYG9im+i28vCqX/JyxyeC+TfDg2WAcpE3tRWt CFkSwNrDGSCsJP9RCY3MGgFLDULnb1ELhii8qOBBmLfyszFFkn+OKdl+k iWcdhbl0Mrkte87qjAptC0g+aWps1b4tRruMHqgB2fFoBoKu33T17aHVE fu8y/keH1kPYYblI2kS9+kvZj1tkv++mB2nGHXcEqHe58MV7zqe/iMz1Z SmnQ4hlvjhswhhcvWFJKO8qlADSAb6lIUiXYnsGZF4p4CJnIUqkQSu9Jy 4ZVKQ1+pwKWfc8i0DgeokKbeGq1ziI5XVCeakEHZMoeWPcEdgWVYO/Tes w==; Authentication-Results: d2.ironport.kipshouse.net; dkim=neutral (message not signed) header.i=none Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of karly@kipshouse.org) identity=pra; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="karly@kipshouse.org"; x-conformance=sidf_compatible Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of karly@kipshouse.net) identity=mailfrom; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="karly@kipshouse.net"; x-conformance=sidf_compatible Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of postmaster@mailboy.kipshouse.net) identity=helo; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="postmaster@mailboy.kipshouse.net"; x-conformance=sidf_compatible X-SBRS: None X-MID: 192696 X-RemoteIP: 2001:470:835a:1010::26 X-RemoteHost: 2001:470:835a:1010::26, mailboypriv.kipshouse.net X-IronPort-AV: E=McAfee;i="5700,7163,8085"; a="192696" Received: from mailboypriv.kipshouse.net (HELO mailboy.kipshouse.net) ([IPv6:2001:470:835a:1010::26]) by d2.ironport.kipshouse.net with ESMTP; 24 Feb 2016 14:46:55 -0800 Received: by mailboy.kipshouse.net (Postfix, from userid 500) id DAD4043BAD; Wed, 24 Feb 2016 14:32:26 -0800 (PST) Date: Wed, 24 Feb 2016 14:32:26 -0800 From: Karl Young To: Manish Jain Cc: freebsd-questions@freebsd.org Subject: Re: Is it possible to print to Canon Pixma MG2470 (USB) ? Message-ID: <20160224223226.GA8337@mailboy.kipshouse.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Arbitrary-Number-Of-The-Day: 42 X-URL: http://www.kipshouse.org/karly X-Work-URL: http://www.cisco.com/ X-Disclaimer: My opinions do not necessarily represent those of my employer. User-Agent: Mutt/1.5.20 (2009-12-10) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 22:46:56 -0000 Manish Jain(bourne.identity@hotmail.com)@2016.02.25 00:46:02 +0530: > > Hi All, > > I am running into familiar problems with printing on FreeBSD 10.2 > (amd64). I installed all possible packages I thought might be > necessary for Canon BJC PIXMA MG2470, including cups, > gimp-gutenprint and some more. I then followed the handbook to > insert the lines for cups in devfs.conf (usb dev = 2.6.0) and > rc.conf, and then restarted devfsd and cupsd. > > Upon opening the cups admin page, there was no Canon make available > - although there were makes for HP and a few others. I chose > 'generic-IPP-print-anywhere' and tried printing a text file. The > printer blinked a few times but produced nothing in output. > > This is what I got from the log in the CUPS admin page : > [cups-deviced] PID 2083 (dnssd) stopped with status 1! Might this help? https://forums.freebsd.org/threads/49502/ If not, google has other lots of other hits for this error. -karl > [Client 234] Returning IPP client-error-not-possible for > Create-Printer-Subscriptions (/) from localhost > > I have no idea what the above lines mean. > > Maybe a ppd file is needed for my printer, but googling fails to get > any suitable ppd file. Interestingly, gimp-gutenprint states that > the printer is supported. So what could I be missing ? > > Thanks for any help. > > -- > Regards, > > Manish Jain > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Thu Feb 25 07:02:47 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B62F8AB37D9 for ; Thu, 25 Feb 2016 07:02:47 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from BLU004-OMC3S7.hotmail.com (blu004-omc3s7.hotmail.com [65.55.116.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85601A46 for ; Thu, 25 Feb 2016 07:02:47 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from BLU436-SMTP110 ([65.55.116.74]) by BLU004-OMC3S7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 24 Feb 2016 23:01:39 -0800 X-TMN: [7rnh2hOPfRxNubHaJHV+mYYkNFJOmnxy] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Subject: Re: Is it possible to print to Canon Pixma MG2470 (USB) ? To: Sergey Manucharian , karly@kipshouse.org, freebsd-questions@freebsd.org References: <20160224220405.GG12209@debian.ara-ler.com> From: Manish Jain Date: Thu, 25 Feb 2016 12:31:10 +0530 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20160224220405.GG12209@debian.ara-ler.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Feb 2016 07:01:36.0470 (UTC) FILETIME=[5E177F60:01D16F9A] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 07:02:47 -0000 On 02/25/16 03:34, Sergey Manucharian wrote: > Hi Manish, > > Excerpts from Manish Jain's message from Thu 25-Feb-16 00:46: >> Maybe a ppd file is needed for my printer, but googling fails to get any >> suitable ppd file. Interestingly, gimp-gutenprint states that the printer is >> supported. So what could I be missing ? > Have you tried building the official driver from Canon web site? > Or at list use the corresponding ppd form the same package? > > Here is the link: > http://support-in.canon-asia.com/contents/IN/EN/0100551502.html > > -- > Sergey Thanks for your response. I downloaded the tarball and compiled the necessary cups filters for Canon MG2400. Here is what I now have in /usr/local/libexec/cups/filter : /usr/local/libexec/cups/filter <<: ls bannertopdf gstoraster pdftoopvp pstops rastertohp textonly cmdtocanonij gziptoany pdftopdf pstopxl rastertolabel texttopdf commandtoescpx imagetopdf pdftops pstoraster rastertopclx texttops commandtopclx imagetops pdftoraster rastertodymo rastertopdf urftopdf commandtops imagetoraster pstocanonij rastertoepson rastertopwg gstopxl pdftoijs pstopdf rastertoescpx sys5ippprinter When I try to print a test page or a text file, the printer blinks 1-2 times and nothing happens. Here a few lines from cups' error log : E [25/Feb/2016:10:53:58 +0530] Missing directive on line 27 of /var/db/cups/job.cache. E [25/Feb/2016:11:00:28 +0530] [Client 2634] Returning IPP client-error-not-possible for Create-Printer-Subscriptions (/) from localhost E [25/Feb/2016:11:01:40 +0530] c2470: File "/usr/local/libexec/cups/filter/pstocanonij" not available: No such file or directory E [25/Feb/2016:11:27:50 +0530] [CGI] Unable to create service connection: No such file or directory E [25/Feb/2016:11:27:50 +0530] [cups-deviced] PID 21771 (dnssd) stopped with status 1! E [25/Feb/2016:11:33:02 +0530] [CGI] Unable to create service connection: No such file or directory E [25/Feb/2016:11:33:02 +0530] [cups-deviced] PID 21812 (dnssd) stopped with status 1! Then I tried using the cupsd.conf available at freebsd forums, with the result : /usr/local/etc/cups <<: /usr/local/etc/rc.d/cupsd restart WARNING: failed to start cupsd The error log in /var has the following lines : E [25/Feb/2016:12:23:04 +0530] Unknown directive BrowseAllow on line 15 of /usr/local/etc/cups/cupsd.conf. E [25/Feb/2016:12:23:04 +0530] Unknown directive BrowseAddress on line 16 of /usr/local/etc/cups/cupsd.conf. E [25/Feb/2016:12:23:04 +0530] Syntax error on line 49 of /usr/local/etc/cups/cupsd.conf. Thanks for any further help. Regards, Manish Jain From owner-freebsd-questions@freebsd.org Thu Feb 25 11:05:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F82BAB4506 for ; Thu, 25 Feb 2016 11:05:09 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CAEF18EB for ; Thu, 25 Feb 2016 11:05:09 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id b205so26562887wmb.1 for ; Thu, 25 Feb 2016 03:05:09 -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; bh=ecfIrs7qZjbMmDx6/FCj5s3u8kAA5LQ/6lq21o+Q7Vo=; b=vmF+pyF/Xj+gRK2pjSVPBe/gkv1au2ioJCjqvKIjzObqUxNZiKwgp1zTtkkheNVnV7 LKfoeFriwkGKgMyxyot1n3jjEsW2k28110QGB33bGjL4vsqzBlOwC5vWdAkr3llDo4Zn jaC197KLks7JXcfbmBW5TMDkdcHCWMiy6SlR7dwJi7ejRIIU2SMzxD18xmxP6sDpXgvi /9u/yetrAS/c1ajnylL6Ej5Zv3l9E5eTxU2bSK2/4yCLvlu+loVMhQpHXqTvRwS+JQK4 k3PP5Mxnufa+zoZSWhKZhARuMPXoVaxkLmbcPI8AyYNvFiytBpeEibQs8oqk1nEi4X7R g4pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ecfIrs7qZjbMmDx6/FCj5s3u8kAA5LQ/6lq21o+Q7Vo=; b=RDmXQgKcF6s4ewDNN44Jzlnwzi+Xm3IetJWTBqehRC2/4hXBee77G11kJ5MIuuuPRb 2kE1mxpat+5T7MPEWKVBFbCQQo521JJWGqQXqLYvtGVlH/yJaG8ff4Iv99koqVNQmGLv bCKSvdWqi56aiB20ZcUETthl8kVwBZcovQj9VQ9/SFwxSONPQTHv4axa6vizjjfLhTvn H4GT6e+GhWdmwIz3PPpfpwz85b3Vih7N7mbN6XEXSh8OP8S8q/6qGMcdmDRXYcyJSC1X 29zBYwf0OxyhtqpFH8/1loj2qqO3+I5gConEe83kgUddstiplR6aTd7+G7WD7oY0yTRY 8pYQ== X-Gm-Message-State: AG10YOSR2fkv2WapSPWUZdJxkmQQHsqPwgv8wmZuwlicYPbnf2yhDHZR2G140GOubbUJxoF168yJQmuoBWAzHw== X-Received: by 10.28.171.8 with SMTP id u8mr2666871wme.97.1456398307765; Thu, 25 Feb 2016 03:05:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.166.67 with HTTP; Thu, 25 Feb 2016 03:04:28 -0800 (PST) From: Odhiambo Washington Date: Thu, 25 Feb 2016 14:04:28 +0300 Message-ID: Subject: WhatsApp Calls through IPFilter - How do I allow? To: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 11:05:09 -0000 I have a network where FreeBSD acts as the gateway. I use IPFilter as the firewall. I have users with smartphones who'd like to use Whatsapp call feature but the firewall is blocking these. I have googled and found https://github.com/ukanth/afwall/issues/358 which seems to talk about the ports that I need to open, but even after following that, I still cannot get this working. My IPFilter rules are these -> http://pastebin.com/77YrMEEG Hopefully someone can see what I am missing or knows what I should do. I am currently away from the box and with bad Internet, I cannot easily do packet capture to analyze... I know iy sounds lazy, but I also hope this wheel has already been invented and is spinning already... -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft." From owner-freebsd-questions@freebsd.org Thu Feb 25 15:00:49 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40317AB4565 for ; Thu, 25 Feb 2016 15:00:49 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 1BD3212D7 for ; Thu, 25 Feb 2016 15:00:48 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id EB54B2CE8C for ; Thu, 25 Feb 2016 10:00:47 -0500 (EST) Received: from web6 ([10.202.2.216]) by compute3.internal (MEProxy); Thu, 25 Feb 2016 10:00:47 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=ZbjtaulfCC/h/tg CDSPIlz5Qfiw=; b=s/OHDKcfVvy4dWlWq9VlBosgZaQtRWsO6nDyGR/tmT7VwoO TzQcwmowroU2bvSxvwQsJzplIEO1BhIfaApXromEL+JQw/uL3PvHYx5QUcycnme8 vgj0mp2l9JQyQ0oET3Vxl0N4vQqHpX0jFCvPM5gFqQsrWxMFM+lhvf9jAn9A= Received: by web6.nyi.internal (Postfix, from userid 99) id BE8044DF77; Thu, 25 Feb 2016 10:00:47 -0500 (EST) Message-Id: <1456412447.3227197.531722746.2BC3D996@webmail.messagingengine.com> X-Sasl-Enc: D1dOLvteKJ33mTdDs23IaxIp51Jozc7PU2Irl2KM+hSI 1456412447 From: Mark Felder To: Odhiambo Washington , User Questions MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-aeec9b65 In-Reply-To: References: Subject: Re: WhatsApp Calls through IPFilter - How do I allow? Date: Thu, 25 Feb 2016 09:00:47 -0600 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 15:00:49 -0000 On Thu, Feb 25, 2016, at 05:04, Odhiambo Washington wrote: > I have a network where FreeBSD acts as the gateway. I use IPFilter as the > firewall. > > I have users with smartphones who'd like to use Whatsapp call feature but > the firewall is blocking these. I have googled and found > https://github.com/ukanth/afwall/issues/358 which seems to talk about the > ports that I need to open, but even after following that, I still cannot > get this working. My IPFilter rules are these -> > http://pastebin.com/77YrMEEG > > Hopefully someone can see what I am missing or knows what I should do. > I am currently away from the box and with bad Internet, I cannot easily > do > packet capture to analyze... I know iy sounds lazy, but I also hope this > wheel has already been invented and is spinning already... > > Do you end up getting log entries for the blocked traffic? -- Mark Felder ports-secteam member feld@FreeBSD.org From owner-freebsd-questions@freebsd.org Thu Feb 25 15:50:46 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8662AAB2F7F for ; Thu, 25 Feb 2016 15:50:46 +0000 (UTC) (envelope-from motty.cruz@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B36919AE for ; Thu, 25 Feb 2016 15:50:46 +0000 (UTC) (envelope-from motty.cruz@gmail.com) Received: by mail-pa0-x22e.google.com with SMTP id fy10so33997257pac.1 for ; Thu, 25 Feb 2016 07:50:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=g57Y3UidEwzFg5p6sYnTto07C7ajO85IpA0wJJqBBJw=; b=OLGLKnii3TLzLUTPBfro1GeogkAuBc0Ib/TaIFaoLzEHyhJQrwxZbFtmLGpTD33vIh EqExjuHIaHy+P6JDqE+i28lomcq3FAN7ap9qwbWWYtDiKXL2UagfmVx0p3ox72QbYj8a mlQyqylTFDOiVcb+tBdVYDYW6xhzuVd6J1qoMfHJ8fAI/1VKKMOKZ24EmdhLzSiq4xCm 5nIO0FthtD2APY/Ub9KcB0gX/ZCMH8C0DNc6360gThqi8ILKY6po4MoaNKTUYPPzBhFj D5fIPW6HiYtqj/uTaWeld4JMMDqwgoFgxBFAqBB6hvEHPSt8E/W9iNt6ETsbqP3dutlS pmMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=g57Y3UidEwzFg5p6sYnTto07C7ajO85IpA0wJJqBBJw=; b=QE3dygXPBswJVdxA2cBPUjLyGIflbPxx/KzOJb0gFexsbEI3WxKM1EHbfLdwhfPd2b F9pUg607RaLKzCe2tUH8tbCE9E6s1SEJlPvr94Im4bqrimRnxYelzDC60RLOGF+Qi2ix U17NNunvncofTd7fv+YzWlZE90e3IfW5+Pp0+SofkDOcTDBnnEAT1GgHnA0mGECpN5fT wvwQY/9/FnYLTV1sHnX0QxZ3BSa0Rln9KLRoTTIPr5X8jBp2VkgH8EEIaUyLFVKrwBtt gb/+S+y+/3zTImJLX+ZL7jcLpLjKFPBohytK7BrMUX8lsf4zYCipABwUK2j32nucF2Ij fDmw== X-Gm-Message-State: AG10YOT9vs97c9xCPNfx4+243Eqc8Y/3sovCzKoKvPaD4/Cp4eVFZ1j/wyXiI+JxhBeA5A== X-Received: by 10.66.142.193 with SMTP id ry1mr29881160pab.33.1456415446002; Thu, 25 Feb 2016 07:50:46 -0800 (PST) Received: from kali.sscs.ad (aswan.sscsinc.com. [199.96.38.41]) by smtp.gmail.com with ESMTPSA id p9sm13203842pfa.11.2016.02.25.07.50.44 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Feb 2016 07:50:44 -0800 (PST) To: freebsd-questions@freebsd.org, motty.cruz@gmail.com From: Motty Cruz Subject: find -sx / /hpetrunk /poolinfo /tank - FreeBSD 10.1 daily run output Message-ID: <56CF22D3.4030503@gmail.com> Date: Thu, 25 Feb 2016 07:50:43 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 15:50:46 -0000 Hello, I notice the following command takes a very long time and is affecting the daily run output cron job. root 26608 2.7 0.2 20564 10184 - D 3:01AM 5:33.27 find -sx / /hypetrunk /poolinfo /tank /dev/null -type f ( -perm -u+x -or -perm -g+x -or -perm any suggestions, root@X:~ # zfs list NAME USED AVAIL REFER MOUNTPOINT tank 640G 971G 25.4K /tank tank/hypertrunk 639G 971G 590G /hypertrunk tank/poolinfo 31.4K 971G 31.4K /poolinfo is it looking for permissions and should ignore? Thanks, Motty From owner-freebsd-questions@freebsd.org Fri Feb 26 01:22:00 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A043AB4E35 for ; Fri, 26 Feb 2016 01:22:00 +0000 (UTC) (envelope-from anonymous@webxc07s03.ad.aruba.it) Received: from smtplqs-out34.aruba.it (smtplqs-out34.aruba.it [62.149.158.74]) by mx1.freebsd.org (Postfix) with ESMTP id B006F1C57 for ; Fri, 26 Feb 2016 01:21:58 +0000 (UTC) (envelope-from anonymous@webxc07s03.ad.aruba.it) Received: from webxc07s03.ad.aruba.it ([62.149.141.105]) by smartcmd04.ad.aruba.it with bizsmtp id NpLn1s0032GeYuN01pLnD4; Fri, 26 Feb 2016 02:20:47 +0100 Received: (qmail 20173 invoked by uid 17003665); 26 Feb 2016 01:11:52 -0000 Date: 26 Feb 2016 01:11:52 -0000 Message-ID: <20160226011152.20168.qmail@webxc07s03.ad.aruba.it> To: freebsd-questions@FreeBSD.org Subject: File (2) From: MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 01:22:00 -0000 From owner-freebsd-questions@freebsd.org Fri Feb 26 07:33:47 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC244AB487B for ; Fri, 26 Feb 2016 07:33:47 +0000 (UTC) (envelope-from terje@elde.net) Received: from rand.keepquiet.net (keepquiet.net [144.76.43.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "keepquiet.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 979891C23 for ; Fri, 26 Feb 2016 07:33:47 +0000 (UTC) (envelope-from terje@elde.net) Received: from [10.96.74.209] (2.150.20.162.tmi.telenormobil.no [2.150.20.162]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: terje@elde.net) by rand.keepquiet.net (Postfix) with ESMTPSA id ABB46AD2; Fri, 26 Feb 2016 07:33:45 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: WhatsApp Calls through IPFilter - How do I allow? From: Terje Elde X-Mailer: iPhone Mail (13D20) In-Reply-To: Date: Fri, 26 Feb 2016 08:33:44 +0100 Cc: User Questions Content-Transfer-Encoding: quoted-printable Message-Id: <90E87888-152D-43BA-BBF5-E07EE72BBAA1@elde.net> References: To: Odhiambo Washington X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 07:33:47 -0000 > On 25 Feb 2016, at 12:04, Odhiambo Washington wrote: >=20 > I have a network where FreeBSD acts as the gateway. I use IPFilter as the > firewall. I'd really like to recommend looking into the pf-firewall in stead of ipfilt= er. The two are pretty similar, but pf is probably both generally a better c= hoice, and also has convenient logging via pflog. That would allow you to no= t only inspect logged traffic, but also filter the log, so you can narrow do= wn on blocked packets through or from a specific host for example.=20 Terje From owner-freebsd-questions@freebsd.org Fri Feb 26 07:57:20 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54BD8AB506A for ; Fri, 26 Feb 2016 07:57:20 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3B40788; Fri, 26 Feb 2016 07:57:19 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id g62so61972035wme.0; Thu, 25 Feb 2016 23:57:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dnMb0AOPrA48/fpKzPI/lzRnnZOOKzNAFIde/6cC164=; b=vn4AnqW/PYlVeL49jc3XZBeJ1oeDuERlLn2AQFR3gErVrVSZUBXpn8NTsLs0Q/40LG w8ZjaLdr6WbfZEVpl5HXqLX2e/+o+MyM/wc3j/ggaxdQM+LK6lgrCyV7YzCPohmEU5tG JlczlVva7yXt9T3q0rjjihBMvPtiNj3aUQPvmtgIYEtQ3kMjMtn+DJ+vcSjGTY8E4fJs 580qCg/VfoFmHlVBnQOWhrXNQFgg59C7SqjsxBgtbRHm/hWjy4Xn5zvnJxQeyCsH4iy4 djn9/juiZ7NJ2uj9wS5P5MSRrxMG5ZdNkQJbv2FZMt20mgWbeXAF8QQlmm/qD7jdsO+D ZjlQ== 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:from:date :message-id:subject:to:cc; bh=dnMb0AOPrA48/fpKzPI/lzRnnZOOKzNAFIde/6cC164=; b=Vw019DYxQ4GFWe2YqrHC8BRpNKppCk//Bh+1Kt/yM1EZHWz/X98+yWxGPvFkyUOG1h GRa952ciOeWKs26Mt5MY9AshWx8UGjo0TgLpSWTTrs33I7jm6fCA4yf4LovXxnCWeu5o as6Ssckeo0hnFr3Lnqq3MBrwsscEflUFDgmWtQD+tGPTIHbOVLb6rz4i94fcR3Gi57G2 //HmGm4RTxS9jhWlMmtphU15znX7i8Sjn9tFEAN2RxAA8tzggO/Wa/2nNTtNCAv1ZNyj 27g26Fw9hk+1pxX9vAoiwL7eRdQ2CFGliZjJ243y3qp0vLqJiFnYxXxuSCJ+pQIltKkO QqPg== X-Gm-Message-State: AD7BkJJHEsgmZGmgtXkFL8/HV9oVUnjci4Nu6DAJIqlUUKIMnlmbPUAq5OyE74cGLvUmMolkKXwQ15OK/O9ZJg== X-Received: by 10.194.77.15 with SMTP id o15mr206508wjw.41.1456473438237; Thu, 25 Feb 2016 23:57:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.166.67 with HTTP; Thu, 25 Feb 2016 23:56:38 -0800 (PST) In-Reply-To: <1456412447.3227197.531722746.2BC3D996@webmail.messagingengine.com> References: <1456412447.3227197.531722746.2BC3D996@webmail.messagingengine.com> From: Odhiambo Washington Date: Fri, 26 Feb 2016 10:56:38 +0300 Message-ID: Subject: Re: WhatsApp Calls through IPFilter - How do I allow? To: Mark Felder Cc: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 07:57:20 -0000 On 25 February 2016 at 18:00, Mark Felder wrote: > > > On Thu, Feb 25, 2016, at 05:04, Odhiambo Washington wrote: > > I have a network where FreeBSD acts as the gateway. I use IPFilter as the > > firewall. > > > > I have users with smartphones who'd like to use Whatsapp call feature but > > the firewall is blocking these. I have googled and found > > https://github.com/ukanth/afwall/issues/358 which seems to talk about > the > > ports that I need to open, but even after following that, I still cannot > > get this working. My IPFilter rules are these -> > > http://pastebin.com/77YrMEEG > > > > Hopefully someone can see what I am missing or knows what I should do. > > I am currently away from the box and with bad Internet, I cannot easily > > do > > packet capture to analyze... I know iy sounds lazy, but I also hope this > > wheel has already been invented and is spinning already... > > > > > > Do you end up getting log entries for the blocked traffic? > > -- > Mark Felder > ports-secteam member > feld@FreeBSD.org > I do't see anything written to the logfile. However, I have identified the rules blocking the traffic. I just need to get the ports used by Whatsapp for calls and I'll get this sorted. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft." From owner-freebsd-questions@freebsd.org Fri Feb 26 07:58:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A287AB511E for ; Fri, 26 Feb 2016 07:58:09 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C8249880 for ; Fri, 26 Feb 2016 07:58:08 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id b205so61591154wmb.1 for ; Thu, 25 Feb 2016 23:58:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=s3Pby0zQYva+AORpklelDJ+ZMznC5HFF7uGuNKehsls=; b=FM1LsrRzTFBw9FmRvSu0GgkboFKP8xhxBoRwQzT/IaoUp4dkPUakpR24VfFfuONHHo DSjBc01hqK8C3LK/IgrLI3tgOh6i6Lp+B9hS3ob9KJwLUTn7EbskXaumVjkyP7yOP4Fc TVX0yWe/U1l3FruqZh4EDCg95v4PwCsIuX5LQ63eGss6Cqu5UwMCGtEaGcP3JpFCN71z SVFf54ieSExY5MGE90G76/OwLN9ymMp+w+DQk511agO/Na9uHq+AD3/EUYqd3+RCxMz9 5CCdDC+zyoV1RaSApfnqOekdwcpsEFFGzJTsnIZ8KDpmvxaYcOqD76Vc8ftpJOAq7LOU 9N7Q== 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:from:date :message-id:subject:to:cc; bh=s3Pby0zQYva+AORpklelDJ+ZMznC5HFF7uGuNKehsls=; b=goykvVQRxZUlQMtWNk7dcDrwrorhRlKEZ9LIJeYrqCl/ytUxn3GL4kC+d3Fp8EANNo /TrD5N0m+rAxDwbq4Gcbeq1YFAObif6ZZ/yGZsVjr676XL3RR3Nq//0Cq9MmV17rCx/w FWpGP3kXWAIpgsFj8WbtHi+bJCHV27BxarqcfxHwsy4vEJgREn07M0KHNG0hPikFHQ06 FGJm+yDLXyLs3a8CC8zecV2ZhYQtMmsopcgc0IsGVPBFa3DVMt+j5bEXRuP8UhLjrFxu ONjweZcD7BkftWgNLV+feWiMR/ITCoRMAt4TGhkkkkf/9tFoxfiGxIcz0aN2+r97MRsT SaXw== X-Gm-Message-State: AD7BkJL2QWAWhBWoCTiYfI/EVr3J00OqZRG1Hwuibr8BNVPrxdP7x2Zdggxc6AjDBubxMNF37COqPYzA63QQTA== X-Received: by 10.28.139.147 with SMTP id n141mr1657916wmd.53.1456473487388; Thu, 25 Feb 2016 23:58:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.166.67 with HTTP; Thu, 25 Feb 2016 23:57:27 -0800 (PST) In-Reply-To: <90E87888-152D-43BA-BBF5-E07EE72BBAA1@elde.net> References: <90E87888-152D-43BA-BBF5-E07EE72BBAA1@elde.net> From: Odhiambo Washington Date: Fri, 26 Feb 2016 10:57:27 +0300 Message-ID: Subject: Re: WhatsApp Calls through IPFilter - How do I allow? To: Terje Elde Cc: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 07:58:09 -0000 On 26 February 2016 at 10:33, Terje Elde wrote: > > > On 25 Feb 2016, at 12:04, Odhiambo Washington > wrote: > > > > I have a network where FreeBSD acts as the gateway. I use IPFilter as the > > firewall. > > I'd really like to recommend looking into the pf-firewall in stead of > ipfilter. The two are pretty similar, but pf is probably both generally a > better choice, and also has convenient logging via pflog. That would allow > you to not only inspect logged traffic, but also filter the log, so you can > narrow down on blocked packets through or from a specific host for example. > > Terje > > I would use PF. I use it in certain places, but I just want to get this done using IPFilter. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft." From owner-freebsd-questions@freebsd.org Fri Feb 26 11:52:57 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C72F3AB51A6 for ; Fri, 26 Feb 2016 11:52:57 +0000 (UTC) (envelope-from sascha.biberhofer@univie.ac.at) Received: from mail.geekosphere.org (mail.geekosphere.org [IPv6:2a01:4f8:190:13e3::3]) by mx1.freebsd.org (Postfix) with ESMTP id 94E21151B for ; Fri, 26 Feb 2016 11:52:57 +0000 (UTC) (envelope-from sascha.biberhofer@univie.ac.at) Received: from localhost (unknown [IPv6:2a02:8109:1dbf:f168:6267:20ff:feae:5ea0]) by mail.geekosphere.org (Postfix) with ESMTPSA id A2BADFB64D for ; Fri, 26 Feb 2016 11:52:55 +0000 (UTC) Date: Fri, 26 Feb 2016 12:53:35 +0100 From: Sascha Biberhofer To: User Questions Subject: Jails, loopback-addresses and IPv6 Message-ID: <20160226115335.GC1279@phosphorus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 11:52:57 -0000 When setting up jails, the handbook mentions [1] that the loopback-address is an "alias" for the first IP-address assigned to that jail. In particular, listening on the loopback-address seems to be equivalent to listening on that IP, which might well be a globally reachable address. This - as far as I have understood this - leads one to create another loopback-device (e.g. lo1) and assign loopback-addresses like lo1|127.0.1.* to the jail and use stuff like pf to prevent other jails from accessing loopback-addresses not belonging to them (please correct me if I'm wrong on this). However, with IPv6, one has exactly one loopback-address (::1/128), hence such a setup can't easily be replicated. Is there any commonplace way to solve this? I could probably assign ULAs to each jail as the first IPv6-address, but this seems like a cumbersome workaround. People have also suggested switching to VIMAGE, which - as far as I can tell - isn't ready for production. Any thoughts/ideas/suggestions on this would be greatly appreciated. Cheers, Sascha [1] https://www.freebsd.org/doc/handbook/jails-ezjail.html 14.6.1 From owner-freebsd-questions@freebsd.org Fri Feb 26 12:49:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC990AB512E for ; Fri, 26 Feb 2016 12:49:34 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4D401A87 for ; Fri, 26 Feb 2016 12:49:33 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 59C3120706 for ; Fri, 26 Feb 2016 07:49:27 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Fri, 26 Feb 2016 07:49:27 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=8mm92XCmSnvH2vW FRws+D4r39q4=; b=oQifxj9FALYnfH4z+m/L7XaQV91valHiGzohvb3vyDcangc hfD89c6XB1osj/ilQzdUHc6fW/jISvlsfnW8CSE5xp9B48PNoLH3RdoTQpqPHaKH NVs8P1LoDcL8iktw2WLzb4tpze6EfIEDk3zzmRooAzrZ/76Yc4xXog7XMttg= X-Sasl-enc: uuunbs/kGv47TzwNoJDSlMRzWOECDUsMRpfeNJbNgJyZ 1456490966 Received: from [172.16.1.172] (68-117-126-78.static.mdsn.wi.charter.com [68.117.126.78]) by mail.messagingengine.com (Postfix) with ESMTPA id A755768014B; Fri, 26 Feb 2016 07:49:26 -0500 (EST) Mime-Version: 1.0 (1.0) Subject: Re: WhatsApp Calls through IPFilter - How do I allow? From: Mark Felder X-Mailer: iPhone Mail (13E5214d) In-Reply-To: Date: Fri, 26 Feb 2016 06:49:25 -0600 Cc: User Questions Message-Id: <6458F1DB-6E78-44E3-92F2-3E684BEA16FA@FreeBSD.org> References: <1456412447.3227197.531722746.2BC3D996@webmail.messagingengine.com> To: Odhiambo Washington Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 12:49:35 -0000 > On Feb 26, 2016, at 01:56, Odhiambo Washington wrote:= >=20 >=20 >=20 >> On 25 February 2016 at 18:00, Mark Felder wrote: >>=20 >>=20 >> On Thu, Feb 25, 2016, at 05:04, Odhiambo Washington wrote: >> > I have a network where FreeBSD acts as the gateway. I use IPFilter as t= he >> > firewall. >> > >> > I have users with smartphones who'd like to use Whatsapp call feature b= ut >> > the firewall is blocking these. I have googled and found >> > https://github.com/ukanth/afwall/issues/358 which seems to talk about t= he >> > ports that I need to open, but even after following that, I still canno= t >> > get this working. My IPFilter rules are these -> >> > http://pastebin.com/77YrMEEG >> > >> > Hopefully someone can see what I am missing or knows what I should do. >> > I am currently away from the box and with bad Internet, I cannot easily= >> > do >> > packet capture to analyze... I know iy sounds lazy, but I also hope thi= s >> > wheel has already been invented and is spinning already... >> > >> > >>=20 >> Do you end up getting log entries for the blocked traffic? >>=20 >> -- >> Mark Felder >> ports-secteam member >> feld@FreeBSD.org >=20 >=20 > I do't see anything written to the logfile. > However, I have identified the rules blocking the traffic. I just need to g= et the ports used by Whatsapp for calls and I'll get this sorted. >=20 After some searching I was able to find someone who claims "The voice server= connects only, as mentioned, 59437 - 59581 (the first time) and this goes t= hrough port 5222." I also came across this URL containing all the whatsapp IPs: http://www.what= sapp.com/cidr.txt If you still can't get this sorted out I can try emailing a contact I have a= t Whatsapp to see if he can provide further details.= From owner-freebsd-questions@freebsd.org Fri Feb 26 12:57:05 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4081EAB5563 for ; Fri, 26 Feb 2016 12:57:05 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C805F108 for ; Fri, 26 Feb 2016 12:57:04 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id u1QCut1e027730; Fri, 26 Feb 2016 12:56:55 GMT (envelope-from freebsd@qeng-ho.org) Subject: Re: Jails, loopback-addresses and IPv6 To: Sascha Biberhofer , User Questions References: <20160226115335.GC1279@phosphorus> From: Arthur Chance Message-ID: <56D04B97.1050202@qeng-ho.org> Date: Fri, 26 Feb 2016 12:56:55 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160226115335.GC1279@phosphorus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 12:57:05 -0000 On 26/02/2016 11:53, Sascha Biberhofer wrote: > When setting up jails, the handbook mentions [1] that the > loopback-address is an "alias" for the first IP-address assigned to that > jail. In particular, listening on the loopback-address seems to be > equivalent to listening on that IP, which might well be a globally > reachable address. This - as far as I have understood this - leads one > to create another loopback-device (e.g. lo1) and assign > loopback-addresses like lo1|127.0.1.* to the jail and use stuff like pf > to prevent other jails from accessing loopback-addresses not belonging > to them (please correct me if I'm wrong on this). That's pretty much it. If you look at the networking code, in a jail an address of 127.0.0.1, either as source or destination, is rewritten as the primary address of the jail. Ignoring jails, the IPv4 networking code knows of both loopback addresses (127.*) and loopback devices (lo*) and ensures that packets containing loopback addresses (in either source or destination fields) are dropped on non-loopback devices. This means jails on 127.* can only talk to the outside world if you have NAT in place. If all jails are assigned lo1|127.0.1.*/24 addresses then they can all talk to each other freely (and the host if it has such an address). If you wish to control communication between jails you need a firewall. If however you simply don't want jails to be able to talk to each other, I think giving them 127.0.1.*/32 addresses should work, alternatively give them 127.x.y.1/24 addresses. > However, with IPv6, one has exactly one loopback-address (::1/128), > hence such a setup can't easily be replicated. Is there any commonplace > way to solve this? I could probably assign ULAs to each jail as the > first IPv6-address, but this seems like a cumbersome workaround. People > have also suggested switching to VIMAGE, which - as far as I can tell - > isn't ready for production. > > Any thoughts/ideas/suggestions on this would be greatly appreciated. Warning: I haven't yet converted my systems to use IPv6 (my ISP has only just started supporting it and I have to find time to sort it out) so the following is purely theoretical on my part. Yes, there's only one loopback address, and for most purposes it's just another unicast address. ULAs are also normal unicast addresses, they merely have the qualification that they should not be seen outside your administrative domain. A badly configured router might let them through, which is why 40 bits of the 48 bit prefix are supposed to be randomly generated, to avoid collisions. There are also link local addresses (fe80::/10, the equivalent of 169.254.*/16) which can only be seen on the one interface. These might be useful for jails, depending on what you want to do. As for VIMAGE, many people are happily using it but officially it's not ready for production work. The latest news was in the January FreeBSD Foundation newsletter https://www.freebsdfoundation.org/press/2016janupdate.pdf (PDF). TL;DR version: probably in Release 11.0. -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point. From owner-freebsd-questions@freebsd.org Fri Feb 26 14:49:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A244AB4146 for ; Fri, 26 Feb 2016 14:49:34 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7FAF216D for ; Fri, 26 Feb 2016 14:49:34 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 7BBAFAB4144; Fri, 26 Feb 2016 14:49:34 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B4FFAB4143 for ; Fri, 26 Feb 2016 14:49:34 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BE9E14C for ; Fri, 26 Feb 2016 14:49:34 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mail-io0-x234.google.com with SMTP id g203so124103257iof.2 for ; Fri, 26 Feb 2016 06:49:34 -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; bh=9QnBQawdv/LpPzuuOUgkrIap7riuXeDCZpiSXmKwKus=; b=ubFPzdjl3QRCs59j8V2RhGm9j1pL7X+xKmYcxkYxCPgaw6Mh4Yk9BQrEoHEP98JQV0 uSMijmFab8KLqn9cVe14v7D6i2/YxS1h6NyLyQn3/sN19Yc5MSEaWJvEM6NrUROs0WmA 5w5WpBhXe+DhzK8JlZsBl0e9bNjbMpw0A/0KhL7GMt/lDbxmter0SbwgMfSZNLFM6DPM j5khBN3YZEVz2CFCbZtHMtPhZWv0+pLivfOSbvtM1QCsAkJuccv88/z/FG2orUOUqYou jrDCbWBN9c8bMHwjmU2KOjRcQu3PmrTndjkeJHzPV2++hNZvwbbILLlYofJW8GjPjllC aAwg== 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; bh=9QnBQawdv/LpPzuuOUgkrIap7riuXeDCZpiSXmKwKus=; b=b7wld8OdR3CWlwocjEMKm6SpeuI49b4WCLrCTHfp/fXMp3M6gNjQi5PQgKGQNgGs0Z FRynpuRZcgxDQJz15EnJ0U886oOmrX4eHfSUYsoja+8IrgH9kJ02sKppPwPrbYvmkaus EhlLN/EJIr26SHPZyh/N6YxYhJ47aowJXk2ts7xyY9qtE+gNThMUYNGZprxdRuT2KSiY ickDbgQym9UHrPzk1EbyFHRq+9Z5jYklnMwqLaHNKtYH147CtyOz25CHaFcZ9JR3rWBO DmtBckb5iShMKPVZhcwU700Dpq32can8W64pAwBnViI9EHsDm3IaVYl/d3hbKcw71GsC B5Qg== X-Gm-Message-State: AG10YOS1j88+BkXpEmXnUi72MoJgJmh/FkztpDels46jGWMPhbpb7SBxRNXZIMz7ERx8LyKl7EGP+p2LsfpIYQ== MIME-Version: 1.0 X-Received: by 10.107.135.156 with SMTP id r28mr8740648ioi.40.1456498173579; Fri, 26 Feb 2016 06:49:33 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 06:49:33 -0800 (PST) Date: Fri, 26 Feb 2016 20:19:33 +0530 Message-ID: Subject: upgrade from 4.2 to 6.2 From: sathiyaraj v To: questions@FreeBSD.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 14:49:34 -0000 Hi Team, I want to know how to upgrade from FreeBSD 4.2 to FreeBSD 6.2 for power PC architeture. Can you help me to upgrade? if any procedure can you please share. Thanks, Sathya.V From owner-freebsd-questions@freebsd.org Fri Feb 26 15:13:20 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 082BAAB4C3A for ; Fri, 26 Feb 2016 15:13:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EB188F65 for ; Fri, 26 Feb 2016 15:13:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id E6C05AB4C39; Fri, 26 Feb 2016 15:13:19 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E65D5AB4C37 for ; Fri, 26 Feb 2016 15:13:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B400EF64 for ; Fri, 26 Feb 2016 15:13:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-20-226.dynamic.qsc.de [92.195.20.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id C2DA4277FB; Fri, 26 Feb 2016 16:13:09 +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 u1QFD9q2002190; Fri, 26 Feb 2016 16:13:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 26 Feb 2016 16:13:09 +0100 From: Polytropon To: sathiyaraj v Cc: questions@freebsd.org Subject: Re: upgrade from 4.2 to 6.2 Message-Id: <20160226161309.85976ddc.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 15:13:20 -0000 On Fri, 26 Feb 2016 20:19:33 +0530, sathiyaraj v wrote: > I want to know how to upgrade from FreeBSD 4.2 to FreeBSD 6.2 for power > PC architeture. Note that FreeBSD 6.2 is already EOL. You can still obtain and install it, but it's not supported anymore, so installing current software won't work (precompiled packages are your only option, from the "historic mirror"). FreeBSD 10 is the currently supported version. Try to install version 10.2. Keep in mind that the port infrastructure has been significantly changed (as well as the binary packaging mechanism) around FreeBSD 9, so neither 4.2 or 6.2 will be able to deal with current ports and packages. For backwards compatibility, you can install the required packages, such as compat{4,5,6,7,8,9}x-ppc. But it's usually advised to install current versions of the software you want to use. > Can you help me to upgrade? if any procedure can you please share. For such an upgrade, I'd suggest you first make a full backup. Verify the backup. Also make sure you have easily accessible copies of any configuration and user data you want to have on the new system. Then proceed with a new installation of FreeBSD, which probably is much easier than trying an "in-place upgrade" here. Finally, adjust the configuration and migrate all data back as needed. Check for changes in configuration files and adjust settings accordingly. This "recipe" should get you up and running quickly. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Feb 26 15:29:24 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38805AB5105 for ; Fri, 26 Feb 2016 15:29:24 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1B1AB1589 for ; Fri, 26 Feb 2016 15:29:24 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 16610AB5104; Fri, 26 Feb 2016 15:29:24 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1D6EAB5103 for ; Fri, 26 Feb 2016 15:29:23 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEE6B1588 for ; Fri, 26 Feb 2016 15:29:23 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mail-io0-x232.google.com with SMTP id g203so125340819iof.2 for ; Fri, 26 Feb 2016 07:29:23 -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; bh=YL4xeDehIDEeQXA2NBVMxRmGpOdzPRCnDJJvUO/yccA=; b=BEVYBxyPBh7o7A2Y0JrMau/tAJSegCMDWhZqz2NmKqe3UU+HPaICkgHYV9+xZksqrH pK9+dJA1rCWXc3IQTJwI2vMlTU+FMfV6jIwmaSpaPeAh4OufeKyxxDOLFJQQ3sOcMwVZ VLxoXsSUz/ZurfVwuC4d/duuHbTgiJ1pkBkph6wPVDv2FPG+UxjH0OM0ki/l/DCkqP7c cq+cxtYqAO2fbI7Kr9DC+r6Mu7ErymrLW6RL1Xj8Qe9c0YuE/9w4ZGd7deVDKvXvLgqu tAS626paVtVrg7a5QGLDF8iZ5KsJmEUyC+I8+K9AIBXZXvsuPKWC48h75w2zBDmi09PQ gltQ== 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; bh=YL4xeDehIDEeQXA2NBVMxRmGpOdzPRCnDJJvUO/yccA=; b=CVGhE94EZpav4mTjy2DLRH8Dkiq2WDUmT5KHP30/R2ezSyy/lR+JyyUpc99BEnF1WU J0URpyp1iWJOc/4Y2YtR2GWKC088XT4MJxzB8vteEoH0NvCYZnxXMAmHksxA9NT9KImN Zd6YF+CNHAHLONuINLvozSA+qEJw+/ggA0PPXHaE6nXstFi8yaN6LaMFAi7MVeF+oUIf KfDU9hve5ENteYJYU1+WVmSeramAek2eGWeSh4yN+uSC+kjBQGeuTzSDReRioQcxXEcF gjTyKj+i7fzY/PD4xBwioRX1WXKSv0V24c/dYBe1vEhZXJ511DlhGBvA9mho2hmFS7Qk 0Nag== X-Gm-Message-State: AG10YOTY0qkDfkyiIbtnl2tlMruZ0K4KUBlz0fENSyvzk+tSfWP0LIE2DhY6P2w05Eq0eNpFQJX6c+acIecagg== MIME-Version: 1.0 X-Received: by 10.107.17.137 with SMTP id 9mr8079051ior.45.1456500563220; Fri, 26 Feb 2016 07:29:23 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 07:29:22 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 07:29:22 -0800 (PST) In-Reply-To: <20160226161309.85976ddc.freebsd@edvax.de> References: <20160226161309.85976ddc.freebsd@edvax.de> Date: Fri, 26 Feb 2016 20:59:22 +0530 Message-ID: Subject: Re: upgrade from 4.2 to 6.2 From: sathiyaraj v To: Polytropon Cc: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 15:29:24 -0000 Hi, Thanks for the information. Where can I find the precompiled package for 6.2? I am just checking some bug fixes. (Tcp sync crash fix)So from 4.2 to 10.2 is a long journey for me. Can you help me to upgrade 6.2 ? If that works for me let me think of upgrading 10.2. Thanks, Sathya V On Feb 26, 2016 8:43 PM, "Polytropon" wrote: > On Fri, 26 Feb 2016 20:19:33 +0530, sathiyaraj v wrote: > > I want to know how to upgrade from FreeBSD 4.2 to FreeBSD 6.2 for > power > > PC architeture. > > Note that FreeBSD 6.2 is already EOL. You can still obtain and > install it, but it's not supported anymore, so installing current > software won't work (precompiled packages are your only option, > from the "historic mirror"). > > FreeBSD 10 is the currently supported version. Try to install > version 10.2. Keep in mind that the port infrastructure has > been significantly changed (as well as the binary packaging > mechanism) around FreeBSD 9, so neither 4.2 or 6.2 will be > able to deal with current ports and packages. > > For backwards compatibility, you can install the required > packages, such as compat{4,5,6,7,8,9}x-ppc. But it's usually > advised to install current versions of the software you want > to use. > > > > > Can you help me to upgrade? if any procedure can you please share. > > For such an upgrade, I'd suggest you first make a full backup. > Verify the backup. Also make sure you have easily accessible > copies of any configuration and user data you want to have on > the new system. Then proceed with a new installation of FreeBSD, > which probably is much easier than trying an "in-place upgrade" > here. Finally, adjust the configuration and migrate all data > back as needed. Check for changes in configuration files and > adjust settings accordingly. > > This "recipe" should get you up and running quickly. :-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From owner-freebsd-questions@freebsd.org Fri Feb 26 15:55:58 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0632AB5E67 for ; Fri, 26 Feb 2016 15:55:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CEC371248 for ; Fri, 26 Feb 2016 15:55:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id C9B1FAB5E66; Fri, 26 Feb 2016 15:55:58 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C94B8AB5E65 for ; Fri, 26 Feb 2016 15:55:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96C551247 for ; Fri, 26 Feb 2016 15:55:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-20-226.dynamic.qsc.de [92.195.20.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id D109C2769F; Fri, 26 Feb 2016 16:55:56 +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 u1QFtufo002302; Fri, 26 Feb 2016 16:55:56 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 26 Feb 2016 16:55:56 +0100 From: Polytropon To: sathiyaraj v Cc: questions@freebsd.org Subject: Re: upgrade from 4.2 to 6.2 Message-Id: <20160226165556.16940e82.freebsd@edvax.de> In-Reply-To: References: <20160226161309.85976ddc.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 15:55:59 -0000 On Fri, 26 Feb 2016 20:59:22 +0530, sathiyaraj v wrote: > Hi, > Thanks for the information. Where can I find the precompiled package for > 6.2? I am just checking some bug fixes. You can find them here: http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/powerpc/6.2-RELEASE/ Set $PACKAGESITE accordingly for pkg_add to work as intended. See "man pkg_add" for details. > (Tcp sync crash fix)So from 4.2 to > 10.2 is a long journey for me. It is, but you might have good reasons to keep an older (or unsupported) version running. However, using the currently supported version is usually advised. http://www.freebsd.org/platforms/ppc.html https://wiki.freebsd.org/powerpc But with a "new installation after backup" approach the distance between two versions is "one maintenance session", no matter what those version are. :-) > Can you help me to upgrade 6.2 ? If that > works for me let me think of upgrading 10.2. Refer to my last post for a broad outline of how to do it. Basically, it's "backup, install new, restore selected stuff"). But allow me to re-emphasize the importance of a backup. :-) For more specific information, contact the "freebsd-ppc" mailing list (as you might run into situations specific to the ppc architecture). http://lists.freebsd.org/mailman/listinfo/freebsd-ppc -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Feb 26 16:10:25 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA4A1AB57BA for ; Fri, 26 Feb 2016 16:10:25 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8CD789C2 for ; Fri, 26 Feb 2016 16:10:25 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 89A92AB57B9; Fri, 26 Feb 2016 16:10:25 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F759AB57B8 for ; Fri, 26 Feb 2016 16:10:25 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C0F59C1 for ; Fri, 26 Feb 2016 16:10:25 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mail-io0-x233.google.com with SMTP id l127so126405020iof.3 for ; Fri, 26 Feb 2016 08:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=0ELJPdisG2CGD10Zk0wq9sFTBBxYvHG4YebHRgQ/1wU=; b=n5A1DlXBePm5nlIBWn7jMqkydz5v/StupVy79hV+kEyfnmMGL159tXgk6ZW+GIMUoZ lVnj6mQwZk82+i0ej3AnmVrX9wpCfGv1pQCgEjntf8h6ejNd3qylkUtVmpZq1PaFNGdB qTdSCZoQaQEA5ptx1f1dFiim/DvU/2P1vF3UlLfMjRqG9q3GttjUf9EU2AhFlCVPLeux XxCTrI3JOwwftx9GtjglZ5UVZekER5JvyFIRjl+N3SwctzulmLcQrgywsPZpmv7V/JnE bAy3VxGeNtw1L0KyqOVTz8Z9fnhvoCwZJ/a7CaPkn2KYaPJTNMc1ZQFrzzCzeyQMNL5d 54Dw== 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; bh=0ELJPdisG2CGD10Zk0wq9sFTBBxYvHG4YebHRgQ/1wU=; b=GcPoe2I1wTYn4s7gZ+FgR5QS/D9RGRaW9byU5/Q0CGJ7cm8PkEFk2treMdOPkPn2LF b5ZC9rImOeR7z7WolUK5tO4x0nkOqSjB3zDGkbeoWL0kkyOpLa/OVelX3LYML//4R7+c PuwE+3iz7jafpH+TXb+LsqzzdcOk0V4oHAh/13w6kFcqbjLP2ggl8hGy0YFlWSS/PnHI TZKSkvo2SifuJyh0jNb0cTgsfWKaK8olJTYep1gD3evQCAX2als32u/RjPReda5SzD53 Se19t5opNLMo75KST+pfXfv+JotFlehF/uQwaLefUkFcy8CDkndBgH3a4Prh74wW7MIA /tUQ== X-Gm-Message-State: AG10YOReRmQk1Ae8i88byhBP/0e0TF85EPrEEdJ8eQ9J6KOiZRWgCPpNnhGoe2aIjm+wRu03NGiwG09rXPqWdg== MIME-Version: 1.0 X-Received: by 10.107.17.137 with SMTP id 9mr8259544ior.45.1456503024499; Fri, 26 Feb 2016 08:10:24 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 08:10:24 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 08:10:24 -0800 (PST) In-Reply-To: <20160226165556.16940e82.freebsd@edvax.de> References: <20160226161309.85976ddc.freebsd@edvax.de> <20160226165556.16940e82.freebsd@edvax.de> Date: Fri, 26 Feb 2016 21:40:24 +0530 Message-ID: Subject: Re: upgrade from 4.2 to 6.2 From: sathiyaraj v To: Polytropon Cc: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 16:10:25 -0000 Hi Polytropon, Thanks again. I am doing it for the first time. That's why I am looking for some tutor. I just tried to add new files in the existing 4.2. But I ran into compilation issues. To fix that I am searching file by file. That consumes lot of my time. That's where I thought of direct upgrade from 4.2 to 6.2. My understanding is that to upgrade from 4.2 to 6.2 ,we need to take backup and install new SRC directly. Is that a way or any other easiest way to achieve that? Thanks for your patience and time. Sathya V From owner-freebsd-questions@freebsd.org Fri Feb 26 17:18:35 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29E1AAB5608 for ; Fri, 26 Feb 2016 17:18:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 107B812AC for ; Fri, 26 Feb 2016 17:18:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id 0BDABAB5607; Fri, 26 Feb 2016 17:18:35 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5C34AB5606 for ; Fri, 26 Feb 2016 17:18:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFD7D12AB for ; Fri, 26 Feb 2016 17:18:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-20-226.dynamic.qsc.de [92.195.20.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 7D33F27742; Fri, 26 Feb 2016 18:18:32 +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 u1QHIW0a002615; Fri, 26 Feb 2016 18:18:32 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 26 Feb 2016 18:18:32 +0100 From: Polytropon To: sathiyaraj v Cc: questions@freebsd.org Subject: Re: upgrade from 4.2 to 6.2 Message-Id: <20160226181832.86d5c3e4.freebsd@edvax.de> In-Reply-To: References: <20160226161309.85976ddc.freebsd@edvax.de> <20160226165556.16940e82.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 17:18:35 -0000 On Fri, 26 Feb 2016 21:40:24 +0530, sathiyaraj v wrote: > I am doing it for the first time. This is why a verified backup is mandatory. :-) > That's why I am looking for some tutor. I > just tried to add new files in the existing 4.2. But I ran into > compilation issues. To fix that I am searching file by file. That consumes > lot of my time. Manually messing with the source is not a good idea, especially when you want to improve system security. > That's where I thought of direct upgrade from 4.2 to 6.2. The easiest way to do this is to actually re-install the whole OS (and then the applications you need). Doing this via source is possible, but often more complicated than it needs to be. You will have to manually download the source distributions, as FreeBSD 4 and 6 still use CVS for source checkout (which isn't supported anymore and therefore won't work). Installing the currently required tool for source checkout, which is SVN, isn't really possible because FreeBSD 4 and 6 are lacking the ports toolchain which is required, and binary packages probably won't exist for that old version (in the archive I mentioned in a previous message). > My understanding is that to upgrade from 4.2 to 6.2 ,we need to take backup > and install new SRC directly. No, you install the OS in the "normal" (binary) manner. To install from source, you need a system that's able to process the sources, which in your case would mean you'd first have to get the sources of 5.0, compile and install, upgrade to lastest 5.x version, compile and install, get sources of 6.0, compile and install, upgrade sources to 6.2, compile and install - which is much more work than actually using the precompiled 6.2 installation image and install "from scratch", and after that, restore configuration and user data from backup. > Is that a way or any other easiest way to > achieve that? As I said, it's possible, but much more work that it needs to be. There's nothing wrong with installing "from scratch". From the installation media, you can also install precompiled packages of software you need. And everything else can be installed from the ftp-archive location with $PACKAGESITE set for pkg_add. Is there any reason for you not to install a _current_ FreeBSD version, such as FreeBSD 10.2 for PPC? It will be much easier for you to get the additional software you need: You can install it binarily (via "pkg add") or from source with the ports collection (which now has totally different "inner workings"). And you're using an OS that is supported. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Feb 26 17:28:32 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9767AB5AC0 for ; Fri, 26 Feb 2016 17:28:32 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 89CC41A23 for ; Fri, 26 Feb 2016 17:28:32 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 85589AB5ABE; Fri, 26 Feb 2016 17:28:32 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C6B2AB5ABB for ; Fri, 26 Feb 2016 17:28:32 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3733D1A22 for ; Fri, 26 Feb 2016 17:28:32 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id l127so128748687iof.3 for ; Fri, 26 Feb 2016 09:28:32 -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; bh=r5SsSsXHHngcU9Xo3OKvGdbI+vUu9792rcjYpydFIJ4=; b=JImZoepeaa1yWbVBqcPz9PGjRSHcceF4MrhMDBbWO6qMnWCUfDBiuRSmIjxx43mqPY 6eFlqUq8FLHgEf1OiCP/+9vPYwDeqonkfxsuS+QZtNPJMsik21Gvu3+1JiGWKujPynRd deVliCkx3ryasxFXMaULa/8mP6JqvxOWViKtvOxFa9unNyFFU0XVkfsMoHxNTxi6FOAM UP/B8DGdpZkBFKRVEKqPWaQ3uU2/z+IrjZkUsNFnOwshvB/Ee3umII3A/fc4OdNjLggj fdQ8CmFF6CMcsoP/2q9fRpkgQmmB/Ao58QQvCtYpNjKtCHvtdajuGoCCZIDEzL2qsaUF eLsA== 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; bh=r5SsSsXHHngcU9Xo3OKvGdbI+vUu9792rcjYpydFIJ4=; b=aTyUTzCmnVSw68/7ifFd67mImV6PKD2JDCpSlNlr7gs/42Z4HvQ4760doKKDU093Lt 76xR0+C/5+bs6AX6btbFMh9DePpGuqWA07Mc+qSlJfk55ndkvgPRjzSWFMIH+A+1hzan +3RASkZUNLS2779gEZsInav6KW1SU0DyS/K5VoMxw3B1fimKmpx1KWfoqASQkfTntrMb rr7zGgHlzLfDU92FVR3Wb2apHbdIAvhv9JcnW0BOIJ74vNbFFZYYKzd1KfOAhGVfDLsI RHFe+PJCBwn+f5So3H67TEQtKVt+OmWdV5PSgl5ht5s6cGdteC8yxqpSuGCwD9g/neAN klXg== X-Gm-Message-State: AG10YOR5wjzstzrmZEr4Fx+zTG/nV+/GSF5kIdTLLpDk4wL1oVM/1JwwhufuY5ZLqD1dzLbU1jC0CIaUwsiXRA== MIME-Version: 1.0 X-Received: by 10.107.3.220 with SMTP id e89mr8710118ioi.99.1456507711595; Fri, 26 Feb 2016 09:28:31 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 09:28:31 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 09:28:31 -0800 (PST) In-Reply-To: <20160226181832.86d5c3e4.freebsd@edvax.de> References: <20160226161309.85976ddc.freebsd@edvax.de> <20160226165556.16940e82.freebsd@edvax.de> <20160226181832.86d5c3e4.freebsd@edvax.de> Date: Fri, 26 Feb 2016 22:58:31 +0530 Message-ID: Subject: Re: upgrade from 4.2 to 6.2 From: sathiyaraj v To: Polytropon Cc: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 17:28:32 -0000 Thanks Polytropon. I don't have any specific reason not to upgrade latest one. I thought it may require my older driver support need to be aligned to support these new version. By the way I am not able to find older release code like 4.2,4.5 etc... in the FTP repository. Is it still accessible? If so Can you please tell me where it is? Thanks for understanding. Sathya V On Fri, 26 Feb 2016 21:40:24 +0530, sathiyaraj v wrote: > I am doing it for the first time. This is why a verified backup is mandatory. :-) > That's why I am looking for some tutor. I > just tried to add new files in the existing 4.2. But I ran into > compilation issues. To fix that I am searching file by file. That consumes > lot of my time. Manually messing with the source is not a good idea, especially when you want to improve system security. > That's where I thought of direct upgrade from 4.2 to 6.2. The easiest way to do this is to actually re-install the whole OS (and then the applications you need). Doing this via source is possible, but often more complicated than it needs to be. You will have to manually download the source distributions, as FreeBSD 4 and 6 still use CVS for source checkout (which isn't supported anymore and therefore won't work). Installing the currently required tool for source checkout, which is SVN, isn't really possible because FreeBSD 4 and 6 are lacking the ports toolchain which is required, and binary packages probably won't exist for that old version (in the archive I mentioned in a previous message). > My understanding is that to upgrade from 4.2 to 6.2 ,we need to take backup > and install new SRC directly. No, you install the OS in the "normal" (binary) manner. To install from source, you need a system that's able to process the sources, which in your case would mean you'd first have to get the sources of 5.0, compile and install, upgrade to lastest 5.x version, compile and install, get sources of 6.0, compile and install, upgrade sources to 6.2, compile and install - which is much more work than actually using the precompiled 6.2 installation image and install "from scratch", and after that, restore configuration and user data from backup. > Is that a way or any other easiest way to > achieve that? As I said, it's possible, but much more work that it needs to be. There's nothing wrong with installing "from scratch". From the installation media, you can also install precompiled packages of software you need. And everything else can be installed from the ftp-archive location with $PACKAGESITE set for pkg_add. Is there any reason for you not to install a _current_ FreeBSD version, such as FreeBSD 10.2 for PPC? It will be much easier for you to get the additional software you need: You can install it binarily (via "pkg add") or from source with the ports collection (which now has totally different "inner workings"). And you're using an OS that is supported. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Feb 26 18:43:21 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64759AB49BD for ; Fri, 26 Feb 2016 18:43:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4EBCECE for ; Fri, 26 Feb 2016 18:43:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id 4C111AB49BB; Fri, 26 Feb 2016 18:43:21 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BA86AB49BA for ; Fri, 26 Feb 2016 18:43:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 14A28CD for ; Fri, 26 Feb 2016 18:43:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-20-226.dynamic.qsc.de [92.195.20.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 24B203CE71; Fri, 26 Feb 2016 19:43:11 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u1QIhBlM002149; Fri, 26 Feb 2016 19:43:11 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 26 Feb 2016 19:43:10 +0100 From: Polytropon To: sathiyaraj v Cc: questions@freebsd.org Subject: Re: upgrade from 4.2 to 6.2 Message-Id: <20160226194310.da698e3e.freebsd@edvax.de> In-Reply-To: References: <20160226161309.85976ddc.freebsd@edvax.de> <20160226165556.16940e82.freebsd@edvax.de> <20160226181832.86d5c3e4.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 18:43:21 -0000 On Fri, 26 Feb 2016 22:58:31 +0530, sathiyaraj v wrote: > Thanks Polytropon. I don't have any specific reason not to upgrade latest > one. I thought it may require my older driver support need to be aligned to > support these new version. That may be a valid reason. Check the documentation of the driver with the current FreeBSD version and see if your devices are still listed as being supported. Additionally, there is also a memstick image (for USB sticks) which you can try to boot from. Disc 1 can also be used to check things before you start overwriting your current installtion. The images can be found here: http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.2/ So if you _can_, use a supported version of FreeBSD (10.2 is suggested) to reduce upcoming trouble. Use an older version only if needed. > By the way I am not able to find older release code like 4.2,4.5 etc... in > the FTP repository. Is it still accessible? If so Can you please tell me > where it is? Yes, those are located in the ftp archive (as they are not considered supported releases): http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Feb 26 20:27:44 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C90DAB6E8D for ; Fri, 26 Feb 2016 20:27:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 02C7B1FAF for ; Fri, 26 Feb 2016 20:27:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: by mailman.ysv.freebsd.org (Postfix) id F3CD7AB6E8C; Fri, 26 Feb 2016 20:27:43 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D99ADAB6E8B for ; Fri, 26 Feb 2016 20:27:43 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAFE61FAE for ; Fri, 26 Feb 2016 20:27:43 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-244-25.knology.net [216.186.244.25] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id u1QKANws000852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 26 Feb 2016 14:10:24 -0600 Subject: Re: upgrade from 4.2 to 6.2 References: <20160226161309.85976ddc.freebsd@edvax.de> <20160226165556.16940e82.freebsd@edvax.de> <20160226181832.86d5c3e4.freebsd@edvax.de> Cc: questions@freebsd.org From: "William A. Mahaffey III" Message-ID: <56D0B12F.9050407@hiwaay.net> Date: Fri, 26 Feb 2016 14:15:53 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160226181832.86d5c3e4.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 20:27:44 -0000 On 02/26/16 11:24, Polytropon wrote: > On Fri, 26 Feb 2016 21:40:24 +0530, sathiyaraj v wrote: >> I am doing it for the first time. > This is why a verified backup is mandatory. :-) > > > >> That's why I am looking for some tutor. I >> just tried to add new files in the existing 4.2. But I ran into >> compilation issues. To fix that I am searching file by file. That consumes >> lot of my time. > Manually messing with the source is not a good idea, especially > when you want to improve system security. > > > >> That's where I thought of direct upgrade from 4.2 to 6.2. > The easiest way to do this is to actually re-install the whole OS > (and then the applications you need). Doing this via source is > possible, but often more complicated than it needs to be. You > will have to manually download the source distributions, as FreeBSD > 4 and 6 still use CVS for source checkout (which isn't supported > anymore and therefore won't work). Installing the currently required > tool for source checkout, which is SVN, isn't really possible because > FreeBSD 4 and 6 are lacking the ports toolchain which is required, > and binary packages probably won't exist for that old version (in > the archive I mentioned in a previous message). > > > >> My understanding is that to upgrade from 4.2 to 6.2 ,we need to take backup >> and install new SRC directly. > No, you install the OS in the "normal" (binary) manner. To install > from source, you need a system that's able to process the sources, > which in your case would mean you'd first have to get the sources > of 5.0, compile and install, upgrade to lastest 5.x version, compile > and install, get sources of 6.0, compile and install, upgrade sources > to 6.2, compile and install - which is much more work than actually > using the precompiled 6.2 installation image and install "from scratch", > and after that, restore configuration and user data from backup. > > > >> Is that a way or any other easiest way to >> achieve that? > As I said, it's possible, but much more work that it needs to be. > There's nothing wrong with installing "from scratch". From the > installation media, you can also install precompiled packages of > software you need. And everything else can be installed from the > ftp-archive location with $PACKAGESITE set for pkg_add. > > Is there any reason for you not to install a _current_ FreeBSD > version, such as FreeBSD 10.2 for PPC? It will be much easier > for you to get the additional software you need: You can install > it binarily (via "pkg add") or from source with the ports collection > (which now has totally different "inner workings"). And you're > using an OS that is supported. > I'll jump in & 2nd the motion on a straight *backup/verify-reinstall* upgrade pathway. Once you decide to do that, it is no more difficult to go from 4.2 --> 10.2 than it would be to go from 4.2 --> 6.2, except that 6.2 is also past EOL & unsupported in the same way 4.2 is, so you wouldn't be buying yourself any real advantage going to 6.2. -- 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 Feb 26 21:14:19 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66EA0AB54F6 for ; Fri, 26 Feb 2016 21:14:19 +0000 (UTC) (envelope-from sascha.biberhofer@univie.ac.at) Received: from mail.geekosphere.org (mail.geekosphere.org [IPv6:2a01:4f8:190:13e3::3]) by mx1.freebsd.org (Postfix) with ESMTP id 35B2DD8 for ; Fri, 26 Feb 2016 21:14:18 +0000 (UTC) (envelope-from sascha.biberhofer@univie.ac.at) Received: from localhost (unknown [IPv6:2a02:8109:1dbf:f168:6267:20ff:feae:5ea0]) by mail.geekosphere.org (Postfix) with ESMTPSA id 1BCF0FB7FC; Fri, 26 Feb 2016 21:14:10 +0000 (UTC) Date: Fri, 26 Feb 2016 22:14:49 +0100 From: Sascha Biberhofer To: Arthur Chance Cc: User Questions Subject: Re: Jails, loopback-addresses and IPv6 Message-ID: <20160226211449.GD1279@phosphorus> References: <20160226115335.GC1279@phosphorus> <56D04B97.1050202@qeng-ho.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56D04B97.1050202@qeng-ho.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 21:14:19 -0000 Hi, Arthur Chance wrote: > [...] > Ignoring jails, the IPv4 networking code knows of both loopback addresses > (127.*) and loopback devices (lo*) and ensures that packets containing > loopback addresses (in either source or destination fields) are dropped on > non-loopback devices. This means jails on 127.* can only talk to the outside > world if you have NAT in place. > My jails also have an address in a private RFC 1918 address space which is used for nat, so that's fine for me. :) > If all jails are assigned lo1|127.0.1.*/24 addresses then they can all talk > to each other freely (and the host if it has such an address). If you wish > to control communication between jails you need a firewall. If however you > simply don't want jails to be able to talk to each other, I think giving > them 127.0.1.*/32 addresses should work, alternatively give them > 127.x.y.1/24 addresses. > That's actually an interesting idea, I'll see how that works out. Since I'll be running pf anyway to limit jail communication on the internal network, filtering loopback-traffic isn't much of a problem in any case. > [...] > Yes, there's only one loopback address, and for most purposes it's just > another unicast address. ULAs are also normal unicast addresses, they merely > have the qualification that they should not be seen outside your > administrative domain. A badly configured router might let them through, > which is why 40 bits of the 48 bit prefix are supposed to be randomly > generated, to avoid collisions. There are also link local addresses > (fe80::/10, the equivalent of 169.254.*/16) which can only be seen on the > one interface. These might be useful for jails, depending on what you want > to do. > Using link-local addresses is actually a really good idea, I don't know why I didn't think of that. This should be more than sufficient for my needs and less of a hassle than ULAs. > As for VIMAGE, many people are happily using it but officially it's not > ready for production work. The latest news was in the January FreeBSD > Foundation newsletter > https://www.freebsdfoundation.org/press/2016janupdate.pdf (PDF). TL;DR > version: probably in Release 11.0. > Thanks for the heads up, I'll probably use the "standard" jail networking for now and switch to vimage as soon as it's officially ready for prime time. Also, thank you for the detailed response, this really helped a lot. :) Cheers, Sascha From owner-freebsd-questions@freebsd.org Sat Feb 27 01:33:13 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE2A5AB6AC0 for ; Sat, 27 Feb 2016 01:33:13 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id ABEA51ECB for ; Sat, 27 Feb 2016 01:33:13 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id AB7E4AB6ABF; Sat, 27 Feb 2016 01:33:13 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9149EAB6ABE for ; Sat, 27 Feb 2016 01:33:13 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CBDB1ECA for ; Sat, 27 Feb 2016 01:33:13 +0000 (UTC) (envelope-from sathiyarajmca@gmail.com) Received: by mail-io0-x234.google.com with SMTP id g203so139343843iof.2 for ; Fri, 26 Feb 2016 17:33:13 -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; bh=K0m35UHp0Fq1pIAjh6DpV0iFFqbbfYdKCOJLvpHkguA=; b=iTM71XxnZ3lwximwEQdS9QCQT4MTHIAbP+TsPbQE8mab7rBACggTsCvOI/85Sw173j 91b1/CmJBPrixu+V4jLOaERiy/bw4qZWRqeUYxP9nIx7Sau2WLARd4/3o/ZZLgBMK07Y fpGd9TN+yJmpeodkl4pyhQMquHul/7DiutiotOyUt+Kn+jqRA7yPbv+FbonhIkxfzZHg N3wEREYUiag2gdKwEOY+B9phtt+IYnL91/WJ9xEiZUtPyvKzEx/ZZPCRb7LMQ0AaNwiq 6zGvXbsD/8EWjoMxqMZAJTOXlw4n9cGi49Dq3tw9u7Ub7vYS0D7k/deTqTDLJC48g2DU 7OEA== 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; bh=K0m35UHp0Fq1pIAjh6DpV0iFFqbbfYdKCOJLvpHkguA=; b=Td8ZvSi/kAnGTu6X1EwmG5ZN+t4IifUQH/hssRvqUYv4v47BYiUdWoKiZ2+1HufypQ 9ssQlh/EjYfUtLTmc8gmqRheDE3khkbWaW8hOq8Du1IOT+1b9LPanUHfMap3v9uZ6dKp 3/07bppJGvWjfGm5Z4jxZlVolKlfztvf31jrve5xCuvZ2glfiB7Cu7OMTfIz5F4zJ7v0 YTPTKJpPlxjjQKsPGUscuPTUUZHARkMAakpkLpVYqXU2GdZYv3At7Hvi2b+Skk6mLufR jAOSRDyLgYfjZRa0iRfQekhUt9jDiopFIRK2+/lN0yhCc0x61blTgaFd4Kb9KQbBD5Oh QvdQ== X-Gm-Message-State: AG10YOQ6SbZXxf+j68TW0xzZEE+FGH0esZnF4RCypQpDxP9r95zWvQobvSziDnKc7yuTNs2wluOz8MIy1WGQ4Q== MIME-Version: 1.0 X-Received: by 10.107.17.137 with SMTP id 9mr10011798ior.45.1456536792389; Fri, 26 Feb 2016 17:33:12 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 17:33:12 -0800 (PST) Received: by 10.64.83.131 with HTTP; Fri, 26 Feb 2016 17:33:12 -0800 (PST) In-Reply-To: <20160226194310.da698e3e.freebsd@edvax.de> References: <20160226161309.85976ddc.freebsd@edvax.de> <20160226165556.16940e82.freebsd@edvax.de> <20160226181832.86d5c3e4.freebsd@edvax.de> <20160226194310.da698e3e.freebsd@edvax.de> Date: Sat, 27 Feb 2016 07:03:12 +0530 Message-ID: Subject: Re: upgrade from 4.2 to 6.2 From: sathiyaraj v To: Polytropon Cc: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 01:33:14 -0000 Thank you. Is the archives common for PPC also? I saw i386 as directory name. Thanks, Sathya V On Feb 27, 2016 12:13 AM, "Polytropon" wrote: > On Fri, 26 Feb 2016 22:58:31 +0530, sathiyaraj v wrote: > > Thanks Polytropon. I don't have any specific reason not to upgrade latest > > one. I thought it may require my older driver support need to be aligned > to > > support these new version. > > That may be a valid reason. Check the documentation of the > driver with the current FreeBSD version and see if your > devices are still listed as being supported. Additionally, > there is also a memstick image (for USB sticks) which you > can try to boot from. Disc 1 can also be used to check things > before you start overwriting your current installtion. > > The images can be found here: > > http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.2/ > > So if you _can_, use a supported version of FreeBSD (10.2 > is suggested) to reduce upcoming trouble. Use an older version > only if needed. > > > > > By the way I am not able to find older release code like 4.2,4.5 etc... > in > > the FTP repository. Is it still accessible? If so Can you please tell me > > where it is? > > Yes, those are located in the ftp archive (as they are not > considered supported releases): > > http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From owner-freebsd-questions@freebsd.org Sat Feb 27 09:43:28 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83328AB6640 for ; Sat, 27 Feb 2016 09:43:28 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44D396C1; Sat, 27 Feb 2016 09:43:28 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id p65so13679762wmp.1; Sat, 27 Feb 2016 01:43: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:from:date:message-id:subject:to :cc; bh=DPRmnvypjeUMPHZBEj3rAm67TALAX9spiAtVRV8ydk4=; b=yORuzpNVCxnfLd7Q2W+9zaC/tjUR2klTwU42ZFsrPPCb2Tf4OFzdXvCotFV3lndsxC rhKn3QpeiZNVURejwAuqTm1hPcngL3Id6Y6mLbnUzqKqfCSuFRisFPdwV9Z85lFMS9I2 oVFUvFZ5WAsQVXdFBnsksmT4sSyKiHxrxQV24sX90PZBZ8EO021UlS/+B5URC1rxD5tx sHXQN5CTRMu4dKjr07jmSMR+jv/Dsbs1uUtnaWQv7giVejJbxRIGnegKjoSkUHSZd2s0 M3W7o5EbplsPfwQeENoFWKtsKiol6Q0GAx6Ur182tF+HjfEc5YVGLxRJBC40o8Vl5Avg Z+6g== 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:from:date :message-id:subject:to:cc; bh=DPRmnvypjeUMPHZBEj3rAm67TALAX9spiAtVRV8ydk4=; b=Fwt1+9G8kSIzPwp3u/R93f3ASntOyNTkU0sgGcBdsU/A8DH0npYTU70TOzPLOUm+Y9 UBots4bNoA/6q8vHKzmAvgY4NaoUhm2DKfy9vwZv2fAvHFqcNjYHGcDOvNiCE0k1aXTQ pP/jwIYa+EMK3YuhH/HcoWoo4LNi4AFbb16uCmcllxlZst1E0xXXBpOrgqBW8BzcaHat 5aNzZdeoCA3LlT2FrI4vYj0JBtVdrBaS+i1+l56V8eppy4WGW47+WZkMP1spzILdEC5D Exc7860MLXa0v8uxD82a5FlgAIUoHt6NuA8mnYOUYEdZ9eQhUPzb/GZU2Q712wQ2f0uJ aJHw== X-Gm-Message-State: AD7BkJJ8Hh0h6qKzheaOstsZwcPHVvnO7h/ZTKVuU8KdqSA04DsVzZWRv/J9GlqA6j+APUnTekU1FMceft6c5w== X-Received: by 10.28.171.8 with SMTP id u8mr2047968wme.97.1456566206411; Sat, 27 Feb 2016 01:43:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.166.67 with HTTP; Sat, 27 Feb 2016 01:42:46 -0800 (PST) In-Reply-To: <6458F1DB-6E78-44E3-92F2-3E684BEA16FA@FreeBSD.org> References: <1456412447.3227197.531722746.2BC3D996@webmail.messagingengine.com> <6458F1DB-6E78-44E3-92F2-3E684BEA16FA@FreeBSD.org> From: Odhiambo Washington Date: Sat, 27 Feb 2016 12:42:46 +0300 Message-ID: Subject: Re: WhatsApp Calls through IPFilter - How do I allow? To: Mark Felder Cc: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 09:43:28 -0000 On 26 February 2016 at 15:49, Mark Felder wrote: > > > On Feb 26, 2016, at 01:56, Odhiambo Washington wrote: > > > > On 25 February 2016 at 18:00, Mark Felder wrote: > >> >> >> On Thu, Feb 25, 2016, at 05:04, Odhiambo Washington wrote: >> > I have a network where FreeBSD acts as the gateway. I use IPFilter as >> the >> > firewall. >> > >> > I have users with smartphones who'd like to use Whatsapp call feature >> but >> > the firewall is blocking these. I have googled and found >> > https://github.com/ukanth/afwall/issues/358 which seems to talk about >> the >> > ports that I need to open, but even after following that, I still cannot >> > get this working. My IPFilter rules are these -> >> > http://pastebin.com/77YrMEEG >> > >> > Hopefully someone can see what I am missing or knows what I should do. >> > I am currently away from the box and with bad Internet, I cannot easily >> > do >> > packet capture to analyze... I know iy sounds lazy, but I also hope this >> > wheel has already been invented and is spinning already... >> > >> > >> >> Do you end up getting log entries for the blocked traffic? >> >> -- >> Mark Felder >> ports-secteam member >> feld@FreeBSD.org >> > > I do't see anything written to the logfile. > However, I have identified the rules blocking the traffic. I just need to > get the ports used by Whatsapp for calls and I'll get this sorted. > > > After some searching I was able to find someone who claims "The voice > server connects only, as mentioned, 59437 - 59581 (the first time) and this > goes through port 5222." > > I also came across this URL containing all the whatsapp IPs: > http://www.whatsapp.com/cidr.txt > > If you still can't get this sorted out I can try emailing a contact I have > at Whatsapp to see if he can provide further details. > The version of IPFilter on my server (FreeBSD 8.4-STABLE) does not support variable definitions/substitutions else I could have used the CIDR. My latest attempt at opening the relevant ports can be seen at http://goo.gl/0xnhw8 but still it did not work! Maybe it's me who's getting confused with the rules?? I have to literally leave the firewall open for Whatsapp calls to work, which is pretty bad! I'll appreciate any info from your contact at Whatsapp.. But also take a look at my rules and lemme know if you can act as my 3rd eye to see where I could be missing the point/going wrong with the rules - which are derived from http://freebsd.therek.net/handbook/firewalls-ipf.html, to be precise. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft." From owner-freebsd-questions@freebsd.org Sat Feb 27 13:17:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2FCBAB60A3 for ; Sat, 27 Feb 2016 13:17:41 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (cloudzeeland.xs4all.nl [83.161.133.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloudzeeland.nl", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 674DA195 for ; Sat, 27 Feb 2016 13:17:40 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (ceto.cloudzeeland.nl [10.10.10.30]) by ceto.cloudzeeland.nl (Postfix) with ESMTP id 491B247CAF7F for ; Sat, 27 Feb 2016 14:17:37 +0100 (CET) Received: from [10.10.10.33] (unknown [82.176.127.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by ceto.cloudzeeland.nl (Postfix) with ESMTPSA id 1AB6147CAF33 for ; Sat, 27 Feb 2016 14:17:37 +0100 (CET) From: JosC Subject: Changing Gateway temporarilly To: "freebsd-questions@FreeBSD.org" Message-ID: <56D1A1F5.1030602@cloudzeeland.nl> Date: Sat, 27 Feb 2016 14:17:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP on ceto.cloudzeeland.nl Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 13:17:41 -0000 Running FreeBSD v9 using Gateway1 (50/10Mbit) with Postfix and Apache2 Don't have two NICs in my server. Running IPFW. I have another Gateway2 (200/35Mbit) which I would like FreeBSD to use for certain internet traffic (download ports and some uploads). Can you tell me how I could realize this? 2nd Nic is no option. Thanks for your reply, Jos Chrispijn --- From owner-freebsd-questions@freebsd.org Sat Feb 27 13:18:46 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2766AAB6198 for ; Sat, 27 Feb 2016 13:18:46 +0000 (UTC) (envelope-from jos@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (cloudzeeland.xs4all.nl [83.161.133.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloudzeeland.nl", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DE90129B for ; Sat, 27 Feb 2016 13:18:45 +0000 (UTC) (envelope-from jos@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (ceto.cloudzeeland.nl [10.10.10.30]) by ceto.cloudzeeland.nl (Postfix) with ESMTP id D099747CAF65 for ; Sat, 27 Feb 2016 14:15:35 +0100 (CET) Received: from [10.10.10.33] (unknown [82.176.127.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by ceto.cloudzeeland.nl (Postfix) with ESMTPSA id A385247CAF33 for ; Sat, 27 Feb 2016 14:15:35 +0100 (CET) To: "freebsd-questions@FreeBSD.org" From: Jos Chrispijn Subject: Changing Gateway temporarilly Message-ID: <56D1A17C.3050107@cloudzeeland.nl> Date: Sat, 27 Feb 2016 14:15:40 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP on ceto.cloudzeeland.nl Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 13:18:46 -0000 Running FreeBSD v9 using Gateway1 (50/10Mbit) with Postfix and Apache2 Don't have two NICs in my server. Running IPFW. I have another Gateway2 (200/35Mbit) which I would like FreeBSD to use for certain internet traffic (download ports and some uploads). Can you tell me how I could realize this? 2nd Nic is no option. Thanks for your reply, Jos Chrispijn --- From owner-freebsd-questions@freebsd.org Sat Feb 27 13:23:44 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C30EAB63F7 for ; Sat, 27 Feb 2016 13:23:44 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (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 E5BE77FB for ; Sat, 27 Feb 2016 13:23:42 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u1RDKvbv014588 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO) for ; Sat, 27 Feb 2016 07:20:58 -0600 (CST) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u1RDKvXe014587; Sat, 27 Feb 2016 07:20:57 -0600 (CST) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: FreeBSD Questions Subject: CCACHE and openJDK issues X-PHP-Script: www.dweimer.net/webmail/index.php for 10.9.5.1, 10.9.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 27 Feb 2016 07:20:57 -0600 From: dweimer Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 13:23:44 -0000 I recently started using CCACHE on my systems to speed up builds. I ma having a problem now trying to build openjdk8. I have the following in /etc/make.conf # Enable CCACHE WITH_CCACHE_BUILD= yes .if !defined(NO_CCACHE) CC= /usr/local/libexec/ccache/world/cc CXX= /usr/local/libexec/ccache/world/c++ .endif .if ${.CURDIR:M*/ports/devel/ccache} NO_CCACHE= yes .endif I have verified that /usr/ports/java/openjdk8/Makefile contains NO_CCACHE= yes But when I try to build openjdk8, I get the following failure. checking for cc... /usr/local/libexec/ccache/world/cc configure: Resolving CC (as /usr/local/libexec/ccache/world/cc) failed, using /usr/local/libexec/ccache/world/cc directly. checking resolved symbolic links for CC... /usr/local/libexec/ccache/world/ccache checking if CC is disguised ccache... yes, trying to find proper C compiler checking for cc... cc configure: Rewriting PROPER_COMPILER_CC to "/usr/local/libexec/ccache/cc" checking for resolved symbolic links for CC... /usr/local/bin/ccache configure: The C compiler (located as /usr/local/bin/ccache) does not seem to be the required GCC compiler. configure: The result from running with --version was: "ccache version 3.2.4" configure: error: GCC compiler is required. Try setting --with-tools-dir. configure exiting with result code 1 ===> Script "../../configure" failed unexpectedly. It appears that I must have missed something in my /etc/make.conf, causing it to not honor the NO_CCACHE definition, anyone know what I am doing wrong? -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@freebsd.org Sat Feb 27 13:34:36 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70CD9AB68D1; Sat, 27 Feb 2016 13:34:36 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (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 4397BF71; Sat, 27 Feb 2016 13:34:35 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u1RDYSrg014995 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO); Sat, 27 Feb 2016 07:34:28 -0600 (CST) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u1RDYSpM014994; Sat, 27 Feb 2016 07:34:28 -0600 (CST) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: JosC Subject: Re: Changing Gateway temporarilly X-PHP-Script: www.dweimer.net/webmail/index.php for 10.9.5.1, 10.9.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 27 Feb 2016 07:34:28 -0600 From: dweimer Cc: "freebsd-questions@FreeBSD.org" , owner-freebsd-questions@freebsd.org Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <56D1A1F5.1030602@cloudzeeland.nl> References: <56D1A1F5.1030602@cloudzeeland.nl> Message-ID: <64464a20bc1915c8dc7c957d6e7802c3@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 13:34:36 -0000 On 2016-02-27 7:17 am, JosC wrote: > Running FreeBSD v9 using Gateway1 (50/10Mbit) with Postfix and Apache2 > Don't have two NICs in my server. > Running IPFW. > > I have another Gateway2 (200/35Mbit) which I would like FreeBSD to use > for certain internet traffic (download ports and some uploads). > Can you tell me how I could realize this? 2nd Nic is no option. > > Thanks for your reply, > Jos Chrispijn > > --- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I believe the term you are looking for is policy based routing, have a look at man pf.conf(5) . Using pf will allow you to set up rules that route traffic out different gateways. As for getting the second gateway accessible, you can simply use an alternate IP address on the interface. Use vlans if you have a switch supporting it. or use the same internal subnet for both gateways, but of course different IPs for the gateway itself. I haven't done it myself on FreeBSD, but I do use a similar setup on a pfSense box on one of the remote manufacturing plants where I work. in that case its in a small town, best download rate we can get is on DSL, but upload is very limited so we have a bundled T1 for VPN back to main office, and use the DSL line with HTTP & HTTPS traffic routed to DSL. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@freebsd.org Sat Feb 27 14:10:05 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09F5EAB6388 for ; Sat, 27 Feb 2016 14:10:05 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D0591C70 for ; Sat, 27 Feb 2016 14:10:04 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x22d.google.com with SMTP id g62so104390658wme.0 for ; Sat, 27 Feb 2016 06:10:04 -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-transfer-encoding; bh=E6rsNFOJuGdPzdWlO2o6ZFUd/9klyMruAfYkzu6ZpPA=; b=0UJZopaPdZgCdQTNmU0eTBMmb10XS/t9HozuFXzTVv6SO2orSjHh5W1/KWoPstGE4p C1bXf2JThe/qAr0b65DBFvhJ2WMqZntSoRlUdiJJAq6vJIbM6rNL11ozZ+mll5AokzOW pw9g10do0MgaxQLEDW603EBzqK/OQKj6nfMgSPZxpkC02hVs0XGnSEJ1h5h7RmCJxn4i fC8t7SDEc3nYOLm9D0bE3NGRWRBfZtOBlW6AFwLF3d+6WSmheEvaKRbScducKlhQ7jFP 7OQv39pXyiC6FyBvHVpTV7AE8Px7Yko5+8koyIMYuBoMbBOSWPrfUz0d/B2LPWGFkBoP AUhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E6rsNFOJuGdPzdWlO2o6ZFUd/9klyMruAfYkzu6ZpPA=; b=BFbcgbxyShqMcq5V8CVb4voJSCxHHUbxIbmNBU/06ruzSbrpPV6vVztwzySpu/xWR0 0Pp+9dj9ZzLo52wOFH6n9MomjF8Tul7tnW1Ljd87wIbQpVOxS7yEBwuUPGEYfo6GlIK/ 2bG+DmG8ChvI5tAu1BcsCIkhQyUEDRQqVI1/N0x986bauwC2Ugm9z/5SCfFqL8OzIZ7/ wMRf7UBYrOe/PHsnIjaJw70prfwu8yLEkabaMZe5MvI+NmS/d47EFKTaEcjQFe4NVNrp dZkiDq3SK8u0rv7iHr9+hXw12DR/2BuqJ1utM3wAyYzMCRBIiJCqF/X1k1o0wF78F4Gb IOnQ== X-Gm-Message-State: AD7BkJJYicjD5UDQDagyuKmt0/utrV2iAdhvwqpA6KTWeRcsXH+bozd93h+9QCdVnDFc1w== X-Received: by 10.194.246.35 with SMTP id xt3mr7180097wjc.57.1456582201639; Sat, 27 Feb 2016 06:10:01 -0800 (PST) Received: from gumby.homeunix.com ([2.220.22.147]) by smtp.gmail.com with ESMTPSA id e19sm7385641wmd.1.2016.02.27.06.09.59 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 27 Feb 2016 06:10:00 -0800 (PST) Date: Sat, 27 Feb 2016 14:09:57 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: CCACHE and openJDK issues Message-ID: <20160227140957.7fb2a62f@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 14:10:05 -0000 On Sat, 27 Feb 2016 07:20:57 -0600 dweimer wrote: > I recently started using CCACHE on my systems to speed up builds. I > ma having a problem now trying to build openjdk8. > > I have the following in /etc/make.conf > > # Enable CCACHE > WITH_CCACHE_BUILD= yes > .if !defined(NO_CCACHE) > CC= /usr/local/libexec/ccache/world/cc > CXX= /usr/local/libexec/ccache/world/c++ > .endif > .if ${.CURDIR:M*/ports/devel/ccache} > NO_CCACHE= yes > .endif Something may have changed, but the lines added to make.conf have in the past been intended purely for base-system builds. Yours aren't conditional. I think these days the ports system has its own support for ccache, or you can opt to have the ccache port install symlinks for each compiler if you prefer. I'd start by commenting-out those lines. From owner-freebsd-questions@freebsd.org Sat Feb 27 15:54:02 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F29D3AB67AF for ; Sat, 27 Feb 2016 15:54:02 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (cloudzeeland.xs4all.nl [83.161.133.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloudzeeland.nl", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B580D984 for ; Sat, 27 Feb 2016 15:54:02 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from ceto.cloudzeeland.nl (ceto.cloudzeeland.nl [10.10.10.30]) by ceto.cloudzeeland.nl (Postfix) with ESMTP id C59C347CAF65; Sat, 27 Feb 2016 16:53:57 +0100 (CET) Received: from [10.10.10.33] (unknown [82.176.127.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by ceto.cloudzeeland.nl (Postfix) with ESMTPSA id 80E5447CAF33; Sat, 27 Feb 2016 16:53:57 +0100 (CET) Subject: Re: Changing Gateway temporarilly To: dweimer@dweimer.net References: <56D1A1F5.1030602@cloudzeeland.nl> <64464a20bc1915c8dc7c957d6e7802c3@dweimer.net> Cc: "freebsd-questions@FreeBSD.org" From: JosC Message-ID: <56D1C69A.5000103@cloudzeeland.nl> Date: Sat, 27 Feb 2016 16:54:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <64464a20bc1915c8dc7c957d6e7802c3@dweimer.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on ceto.cloudzeeland.nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 15:54:03 -0000 In een bericht van 27-2-2016 14:34: > I believe the term you are looking for is policy based routing, have a > look at man pf.conf(5) > . Using > pf will allow you to set up rules that route traffic out different > gateways. As for getting the second gateway accessible, you can simply > use an alternate IP address on the interface. Use vlans if you have a > switch supporting it. or use the same internal subnet for both > gateways, but of course different IPs for the gateway itself. > > I haven't done it myself on FreeBSD, but I do use a similar setup on a > pfSense box on one of the remote manufacturing plants where I work. in > that case its in a small town, best download rate we can get is on > DSL, but upload is very limited so we have a bundled T1 for VPN back > to main office, and use the DSL line with HTTP & HTTPS traffic routed > to DSL. > Thanks, will check this out. BR, Jos From owner-freebsd-questions@freebsd.org Sat Feb 27 20:00:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 791C6AB7621 for ; Sat, 27 Feb 2016 20:00:31 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from forward16o.cmail.yandex.net (forward16o.cmail.yandex.net [IPv6:2a02:6b8:0:1a72::1e6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE0ACD1E for ; Sat, 27 Feb 2016 20:00:30 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::28]) by forward16o.cmail.yandex.net (Yandex) with ESMTP id EBB5221BA3 for ; Sat, 27 Feb 2016 23:00:18 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id BE791232015D for ; Sat, 27 Feb 2016 23:00:18 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ibJerKgm2G-0Ha0fnJR; Sat, 27 Feb 2016 23:00:17 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1456603218; bh=9110GdPFft4eKRWjQUSpQFCW3JxGC1XiUfWRmlfxi4U=; h=Message-ID:Subject:From:To:Date:Content-Type:X-Mailer: Mime-Version:Content-Transfer-Encoding; b=W6KFV+3Bfwu9jaBvn4DPVetMW2agFba25qAX0nCDam6urXa/2Mibr8FuoLDqssS39 vd9HXnfLBD4vtp5wHNMVFP67+JwTHD5Fw2McFu1fjIWOkyrUraIqstyzvZfHXSvOsm cbEsWFhRZ9Ek1HCtTN5TCN1AoQt3FhkpZxgkmnFI= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0 Message-ID: <1456603215.1576.6.camel@yandex.com> Subject: cups-base upgrade From: Stari Karp To: FreeBSD Questions Date: Sat, 27 Feb 2016 15:00:15 -0500 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.4 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 20:00:31 -0000 Hi! I did update cups-base. I am using hplip drivers on FreeBSD 10.2- RELEASE(amd64) and before last updates I cannot print anymore. I delete cups-base, cups-client, cups-image and cups-filters, hplip too and install again. User is a member of group "cups". I install printer again and was successful but I cannot print. In /var/log/cups I have: access_log: localhost - - [27/Feb/2016:14:34:37 -0500] "POST / HTTP/1.1" 200 361 Create-Printer-Subscriptions successful-ok localhost - - [27/Feb/2016:14:35:57 -0500] "POST /admin/ HTTP/1.1" 401 139 CUPS-Delete-Printer successful-ok localhost - root [27/Feb/2016:14:35:57 -0500] "POST /admin/ HTTP/1.1" 200 139 CUPS-Delete-Printer successful-ok localhost - - [27/Feb/2016:14:40:56 -0500] "POST / HTTP/1.1" 200 2702845 CUPS-Get-PPDs - localhost - - [27/Feb/2016:14:41:44 -0500] "POST /admin/ HTTP/1.1" 401 4442 CUPS-Add-Modify-Printer successful-ok localhost - root [27/Feb/2016:14:41:44 -0500] "POST /admin/ HTTP/1.1" 200 4442 CUPS-Add-Modify-Printer successful-ok localhost - - [27/Feb/2016:14:43:21 -0500] "POST /admin/ HTTP/1.1" 401 139 CUPS-Set-Default successful-ok localhost - root [27/Feb/2016:14:43:21 -0500] "POST /admin/ HTTP/1.1" 200 139 CUPS-Set-Default successful-ok localhost - - [27/Feb/2016:14:44:04 -0500] "POST /printers/hp_business_inkjet_3000 HTTP/1.1" 200 31668 Print-Job client- error-document-format-not-supported localhost - - [27/Feb/2016:14:45:10 -0500] "POST /printers/hp_business_inkjet_3000 HTTP/1.1" 200 266 Create-Job successful-ok localhost - - [27/Feb/2016:14:45:10 -0500] "POST /printers/hp_business_inkjet_3000 HTTP/1.1" 200 35720 Send-Document client-error-document-format-not-supported localhost - - [27/Feb/2016:14:45:10 -0500] "POST /jobs/ HTTP/1.1" 200 188 Cancel-Job successful-ok localhost - - [27/Feb/2016:14:45:42 -0500] "POST /printers/hp_business_inkjet_3000 HTTP/1.1" 200 266 Create-Job successful-ok localhost - - [27/Feb/2016:14:45:42 -0500] "POST /printers/hp_business_inkjet_3000 HTTP/1.1" 200 35720 Send-Document client-error-document-format-not-supported localhost - - [27/Feb/2016:14:45:42 -0500] "POST /jobs/ HTTP/1.1" 200 188 Cancel-Job successful-ok error_log:  [27/Feb/2016:14:26:27 -0500] cupsdLoadBanners: Unable to open banner directory "/usr/local/share/cups/banners": No such file or directory E [27/Feb/2016:14:28:51 -0500] cupsdLoadBanners: Unable to open banner directory "/usr/local/share/cups/banners": No such file or directory W [27/Feb/2016:14:41:44 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'hp_business_inkjet_3000-Gray..' already exists E [27/Feb/2016:14:44:04 -0500] [Client 190] Returning IPP client-error- document-format-not-supported for Print-Job (ipp://localhost:631/printers/hp_business_inkjet_3000) from localhost E [27/Feb/2016:14:45:10 -0500] [Client 201] Returning IPP client-error- document-format-not-supported for Send-Document (ipp://localhost:631/printers/hp_business_inkjet_3000) from localhost E [27/Feb/2016:14:45:42 -0500] [Client 211] Returning IPP client-error- document-format-not-supported for Send-Document (ipp://localhost:631/printers/hp_business_inkjet_3000) from localhost Thank you. From owner-freebsd-questions@freebsd.org Sat Feb 27 20:44:14 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DF3EAB5C62 for ; Sat, 27 Feb 2016 20:44:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id ECEB03E2 for ; Sat, 27 Feb 2016 20:44:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id E8C43AB5C61; Sat, 27 Feb 2016 20:44:13 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E85A5AB5C60 for ; Sat, 27 Feb 2016 20:44:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFCFA3E1 for ; Sat, 27 Feb 2016 20:44:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-66-139.dynamic.qsc.de [92.195.66.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 570F93CEF9; Sat, 27 Feb 2016 21:44: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 u1RKi4G9002019; Sat, 27 Feb 2016 21:44:04 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 27 Feb 2016 21:44:04 +0100 From: Polytropon To: sathiyaraj v Cc: questions@freebsd.org Subject: Re: upgrade from 4.2 to 6.2 Message-Id: <20160227214404.6690adc7.freebsd@edvax.de> In-Reply-To: References: <20160226161309.85976ddc.freebsd@edvax.de> <20160226165556.16940e82.freebsd@edvax.de> <20160226181832.86d5c3e4.freebsd@edvax.de> <20160226194310.da698e3e.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 20:44:14 -0000 On Sat, 27 Feb 2016 07:03:12 +0530, sathiyaraj v wrote: > Thank you. Is the archives common for PPC also? I saw i386 as directory > name. Yes, that i386 was a mistake, sorry. The correct path of course is this: http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/powerpc/ Images For FreeBSD 6.2 here: http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/powerpc/ISO-IMAGES/6.2/ A current release for FreeBSD 10.2 for the ppc architecture can be found here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.2/ This is what you should probably try first. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...