From owner-freebsd-questions@freebsd.org Sun Aug 30 00:05:07 2015 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 908319C574C; Sun, 30 Aug 2015 00:05:07 +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 46CD71518; Sun, 30 Aug 2015 00:05:06 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7U04x7W008124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 29 Aug 2015 19:05:00 -0500 Subject: Re: Old screensaver References: <55E2095A.5090901@hiwaay.net> <20150829222438.66d6a33b.freebsd@edvax.de> Cc: FreeBSD Questions !!!! , FreeBSD X11 mailing list From: "William A. Mahaffey III" Message-ID: <55E248AA.4020106@hiwaay.net> Date: Sat, 29 Aug 2015 19:10:28 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150829222438.66d6a33b.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: Sun, 30 Aug 2015 00:05:07 -0000 On 08/29/15 15:30, Polytropon wrote: > On Sat, 29 Aug 2015 14:40:20 -0453.75, William A. Mahaffey III wrote: >> [...] a warning window >> whining about how old my screensaver is & telling me my distro is doing >> me a disservice for shipping such old software. > I hope you're not going to read the date information > at the bottom of many of the system's manpages... ;-) I am often struck w/ how .... *mature* some man pages are ;-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 01:13:15 2015 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 E04A49C099B for ; Sun, 30 Aug 2015 01:13:15 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6A66376 for ; Sun, 30 Aug 2015 01:13:15 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id t7U14Arw054432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 29 Aug 2015 18:04:10 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id t7U149h9054431 for freebsd-questions@freebsd.org; Sat, 29 Aug 2015 18:04:09 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA01690; Sat, 29 Aug 15 18:10:56 PDT Date: Sat, 29 Aug 2015 18:11:46 -0700 From: perryh@pluto.rain.com (Perry Hutchison) To: freebsd-questions@freebsd.org Subject: disabling dhclient Message-Id: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 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: Sun, 30 Aug 2015 01:13:16 -0000 My FreeBsd 8 system has recently developed an annoying habit of running dhclient during reboot. There is only one Ethernet card (xl0), and it is not supposed to be using DHCP -- it has a static IP address assigned in rc.conf. During the last couple of reboots dhclient has assigned a second IP address, and things have gone downhill from there. Is there a configuration knob somewhere that will say "never run dhclient" or "never run dhclient on xl0", or do I need to take a sledgehammer approach (like hacking on /etc/rc.d/dhclient, or replacing /sbin/dhclient with a link to /bin/true)? These are the settings in /etc/rc.conf: ifconfig_xl0="192.168.0.81 netmask 255.255.0.0" defaultrouter="192.168.0.1" nfs_server_enable="YES" check_quotas="NO" rpcbind_enable="YES" nfs_client_enable="YES" sshd_enable="YES" inetd_enable="YES" kern_securelevel_enable="NO" linux_enable="YES" moused_enable="NO" moused_type="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" lpd_enable="YES" and this is what "ifconfig -a" reports (after I've used "ifconfig xl0 -alias 192.168.0.3" to remove the extra IP address): xl0: flags=8843 metric 0 mtu 1500 options=80009 ether 00:b0:d0:22:5a:14 inet 192.168.0.81 netmask 0xffff0000 broadcast 192.168.255.255 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=8810 metric 0 mtu 1500 lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3 From owner-freebsd-questions@freebsd.org Sun Aug 30 01:26:07 2015 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 4811F9C0FB5 for ; Sun, 30 Aug 2015 01:26:07 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qg0-f41.google.com (mail-qg0-f41.google.com [209.85.192.41]) (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 0E1B4A08 for ; Sun, 30 Aug 2015 01:26:06 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by qgeh99 with SMTP id h99so50610087qge.0 for ; Sat, 29 Aug 2015 18:26:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4WsoT/w/7mTKeROYN5L9kc+aoeZBRUbVi7uLSIlr3gU=; b=EzCnwwKBg3ZT/0iRpoUAxT1I5e+uWEcNDrUgyk7usx5/n1v4VdLLI1r2NBUcQPVccy gLrzcxDgN9d8w91ClD7iYW/882A0RgJkBA9CASzPg+kcUnqJqvN4RJCJm5pWuxa1MlsM G0Sjnq48979U3YUeii+zXoP6mOcUHeLB5aOsGZQLlmwsuPOivVqXkgJ09+iu4IUm66u1 6/almTfrSYo28zb5w/DWpmg+E3YCJdvoNQU2i8MdIq0IlirS2DwYk7wkssUBdAH3vV2o zzGMFh4d0kVixIw9p0d/9xmcHpiUKrthR9/LAlY/bRhJbH61kE4RNntRs6n1yquOlD6M tZjg== X-Gm-Message-State: ALoCoQnVakl1b5WxZLhhObyslPYZfuEeryobNPF/T+ta7eURtl0mAZBaR5uH9hsVZspZbTdmgyyH MIME-Version: 1.0 X-Received: by 10.140.131.139 with SMTP id 133mr29803680qhd.70.1440897955032; Sat, 29 Aug 2015 18:25:55 -0700 (PDT) Received: by 10.140.41.230 with HTTP; Sat, 29 Aug 2015 18:25:54 -0700 (PDT) In-Reply-To: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> References: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> Date: Sat, 29 Aug 2015 18:25:54 -0700 Message-ID: Subject: Re: disabling dhclient From: Michael Sierchio To: Perry Hutchison 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: Sun, 30 Aug 2015 01:26:07 -0000 On Sat, Aug 29, 2015 at 6:11 PM, Perry Hutchison wrote: > > These are the settings in /etc/rc.conf: > > ifconfig_xl0="192.168.0.81 netmask 255.255.0.0" > defaultrouter="192.168.0.1" > nfs_server_enable="YES" > check_quotas="NO" > rpcbind_enable="YES" > nfs_client_enable="YES" > sshd_enable="YES" > inetd_enable="YES" > kern_securelevel_enable="NO" > linux_enable="YES" > moused_enable="NO" > moused_type="NO" > sendmail_submit_enable="NO" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable="NO" > lpd_enable="YES" > > Is that the complete file? From owner-freebsd-questions@freebsd.org Sun Aug 30 01:26:51 2015 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 526579C5050 for ; Sun, 30 Aug 2015 01:26:51 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qg0-f44.google.com (mail-qg0-f44.google.com [209.85.192.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17C89AB1 for ; Sun, 30 Aug 2015 01:26:50 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by qgeh99 with SMTP id h99so50615657qge.0 for ; Sat, 29 Aug 2015 18:26:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=677VzmbHjfIwWLAlJlJhimF0LOtwcJiE1ZMx8zq/pWc=; b=C3RZQWujI+5IzMhtjGQzhe0AAfEchCkUJS/eWlPP87g+Emnn0dOyO4QzvRrgLxvHU6 8hmvOR9dsw/titRZQuWVqFN4fLutfVgroSKj1dT2ZlBfr+0XgFw2LU9k5H7uRMZzREoL aw/AFw+1J2rBZLXV3wz3LqukEAlE0jgZGpZIGpITz/vOIQP6z4hVmD1DNiYxr3P2Fbo+ zAKcpx8TdosMwq+oz7zHpS0MzrTSRc4uQYqfTq+VS7FWy4xL2wk5A/MX8F+x3Tp5KOWY Px2H2m4pBBwnXUD8bXMFWxW1jtgMlFdQ7C3fOh6rzl/iLuFTFnSy5ep6FrGGMUpDqU1A cgEg== X-Gm-Message-State: ALoCoQkjxfNcVD5ierfwuHAVRrlcxqx1fP5z6vVHml6Fn/RfAAq01/TE8dphQsEttwC9MKyazrKg MIME-Version: 1.0 X-Received: by 10.141.23.84 with SMTP id z81mr29300021qhd.50.1440898004608; Sat, 29 Aug 2015 18:26:44 -0700 (PDT) Received: by 10.140.41.230 with HTTP; Sat, 29 Aug 2015 18:26:44 -0700 (PDT) In-Reply-To: References: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> Date: Sat, 29 Aug 2015 18:26:44 -0700 Message-ID: Subject: Re: disabling dhclient From: Michael Sierchio To: Perry Hutchison 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: Sun, 30 Aug 2015 01:26:51 -0000 On Sat, Aug 29, 2015 at 6:25 PM, Michael Sierchio wrote: > > Is that the complete file? > > and is there an /etc/rc.local or /usr/local/etc/rc.local? From owner-freebsd-questions@freebsd.org Sun Aug 30 02:57:53 2015 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 698F39C5EEC for ; Sun, 30 Aug 2015 02:57:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B51CCC2 for ; Sun, 30 Aug 2015 02:57:52 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZVsoV-0004qV-6A for freebsd-questions@freebsd.org; Sun, 30 Aug 2015 04:57:47 +0200 Received: from pool-72-66-1-32.washdc.fios.verizon.net ([72.66.1.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Aug 2015 04:57:47 +0200 Received: from nightrecon by pool-72-66-1-32.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Aug 2015 04:57:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: disabling dhclient Date: Sat, 29 Aug 2015 22:57:30 -0400 Lines: 85 Message-ID: References: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-66-1-32.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 02:57:53 -0000 Perry Hutchison wrote: > My FreeBsd 8 system has recently developed an annoying habit of > running dhclient during reboot. There is only one Ethernet card > (xl0), and it is not supposed to be using DHCP -- it has a static > IP address assigned in rc.conf. During the last couple of reboots > dhclient has assigned a second IP address, and things have gone > downhill from there. > > Is there a configuration knob somewhere that will say "never run > dhclient" or "never run dhclient on xl0", or do I need to take > a sledgehammer approach (like hacking on /etc/rc.d/dhclient, or > replacing /sbin/dhclient with a link to /bin/true)? > I don't remember for sure if these were showing up in 10.0 or if they started after upgrading to 10.1: Aug 24 21:11:54 testbed devd: Executing '/etc/rc.d/dhclient quietstart em0' Aug 26 00:33:13 testbed devd: Executing '/etc/rc.d/dhclient quietstart em0' Never investigated it but was wondering at the time why devd was running it, even though I have static ifconfig(s). >From devd.conf: # Try to start dhclient on Ethernet-like interfaces when the link comes # up. Only devices that are configured to support DHCP will actually # run it. No link down rule exists because dhclient automatically exits # when the link goes down. The above entries are incorrect; it runs no matter what. For me it doesn't cause any problems so I ignored it. Figured if it wasn't a problem for anyone else either that I more than likely had just screwed up somewhere in mergemaster going from 10.0 to 10.1 (I do the source upgrade and do not use the binary update). According to the line in devd.conf it's not supposed to start on interfaces that are not configured for DHCP in rc.conf, and all mine are static. -Mike > These are the settings in /etc/rc.conf: > > ifconfig_xl0="192.168.0.81 netmask 255.255.0.0" > defaultrouter="192.168.0.1" > nfs_server_enable="YES" > check_quotas="NO" > rpcbind_enable="YES" > nfs_client_enable="YES" > sshd_enable="YES" > inetd_enable="YES" > kern_securelevel_enable="NO" > linux_enable="YES" > moused_enable="NO" > moused_type="NO" > sendmail_submit_enable="NO" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable="NO" > lpd_enable="YES" > > and this is what "ifconfig -a" reports (after I've used > "ifconfig xl0 -alias 192.168.0.3" to remove the extra IP address): > > xl0: flags=8843 metric 0 mtu 1500 > options=80009 > ether 00:b0:d0:22:5a:14 > inet 192.168.0.81 netmask 0xffff0000 broadcast 192.168.255.255 > media: Ethernet autoselect (100baseTX ) > status: active > plip0: flags=8810 metric 0 mtu 1500 > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=3 > _______________________________________________ > 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 Sun Aug 30 04:13:59 2015 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 A27FD9C5998 for ; Sun, 30 Aug 2015 04:13:59 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 864FB7A4 for ; Sun, 30 Aug 2015 04:13:58 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id t7U44nwG059433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 29 Aug 2015 21:04:50 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id t7U44m8C059431; Sat, 29 Aug 2015 21:04:48 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA02353; Sat, 29 Aug 15 21:12:58 PDT Date: Sat, 29 Aug 2015 21:13:48 -0700 From: perryh@pluto.rain.com (Perry Hutchison) To: kudzu@tenebras.com Cc: freebsd-questions@freebsd.org Subject: Re: disabling dhclient Message-Id: <55e282fc.s+OSZJ/KaD3iwr7U%perryh@pluto.rain.com> References: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 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: Sun, 30 Aug 2015 04:13:59 -0000 Michael Sierchio wrote: > On Sat, Aug 29, 2015 at 6:11 PM, Perry Hutchison > wrote: > > These are the settings in /etc/rc.conf: > > > > ifconfig_xl0="192.168.0.81 netmask 255.255.0.0" > > defaultrouter="192.168.0.1" > > nfs_server_enable="YES" > > check_quotas="NO" > > rpcbind_enable="YES" > > nfs_client_enable="YES" > > sshd_enable="YES" > > inetd_enable="YES" > > kern_securelevel_enable="NO" > > linux_enable="YES" > > moused_enable="NO" > > moused_type="NO" > > sendmail_submit_enable="NO" > > sendmail_outbound_enable="NO" > > sendmail_msp_queue_enable="NO" > > lpd_enable="YES" > > > Is that the complete file? Apart from comments and the hostname setting, yes. (Keep in mind that /etc/defaults/rc.conf is loaded first, so /etc/rc.conf only needs to contain changes from the defaults. I figured there was no need to clutter the list with a dump of ~700 lines of default settings, since they're unchanged from the original distribution.) > > and is there an /etc/rc.local or /usr/local/etc/rc.local? No. From owner-freebsd-questions@freebsd.org Sun Aug 30 05:37:01 2015 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 2D9989C5240 for ; Sun, 30 Aug 2015 05:37:01 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC73987F for ; Sun, 30 Aug 2015 05:37:00 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id t7U5RqFK061438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 29 Aug 2015 22:27:53 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id t7U5Rp0c061437; Sat, 29 Aug 2015 22:27:51 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA02613; Sat, 29 Aug 15 22:26:51 PDT Date: Sat, 29 Aug 2015 22:27:41 -0700 From: perryh@pluto.rain.com (Perry Hutchison) To: nightrecon@hotmail.com Cc: freebsd-questions@freebsd.org Subject: Re: disabling dhclient Message-Id: <55e2944d.MRhLE3hY7fqOZUby%perryh@pluto.rain.com> References: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 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: Sun, 30 Aug 2015 05:37:01 -0000 Michael Powell wrote: > Perry Hutchison wrote: > > My FreeBsd 8 system has recently developed an annoying habit of > > running dhclient during reboot. There is only one Ethernet card > > (xl0), and it is not supposed to be using DHCP -- it has a static > > IP address assigned in rc.conf. During the last couple of reboots > > dhclient has assigned a second IP address, and things have gone > > downhill from there. > ... > I don't remember for sure if these were showing up in 10.0 or if they > started after upgrading to 10.1: > > Aug 24 21:11:54 testbed devd: Executing '/etc/rc.d/dhclient quietstart em0' > Aug 26 00:33:13 testbed devd: Executing '/etc/rc.d/dhclient quietstart em0' > > Never investigated it but was wondering at the time why devd was running it, > even though I have static ifconfig(s). > > From devd.conf: > # Try to start dhclient on Ethernet-like interfaces when the link comes > # up. Only devices that are configured to support DHCP will actually > # run it. No link down rule exists because dhclient automatically exits > # when the link goes down. > > The above entries are incorrect; it runs no matter what. > ... > According to the line in devd.conf it's not supposed to start on interfaces > that are not configured for DHCP in rc.conf, and all mine are static. I think what the comment is trying to say is that, while devd will run the dhclient script on any "link up" event, the dhclient script will not actually run the dhclient daemon unless the device is configured to use DHCP. So, getting log entries from devd does not, by itself, point to a problem. However, I am getting reports like this (seen in "dmesg -a", but not in "dmesg"): add net default: gateway 192.168.0.1 Starting devd. DHCPREQUEST on xl0 to 255.255.255.255 port 67 DHCPACK from 192.168.0.1 bound to 192.168.0.3 -- renewal in 706607801 seconds. which seems to indicate that the dhclient script is running the daemon, even on this static-addressed interface. From owner-freebsd-questions@freebsd.org Sun Aug 30 07:16:36 2015 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 D48209C4329 for ; Sun, 30 Aug 2015 07:16:36 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) Received: from nm7-vm7.access.bullet.mail.gq1.yahoo.com (nm7-vm7.access.bullet.mail.gq1.yahoo.com [216.39.63.185]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A6AD3182 for ; Sun, 30 Aug 2015 07:16:36 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s2048; t=1440918889; bh=UeQnGgx6Knsjwf2fmWXlmKIyjVtpFZmAe+bb0ggkl4c=; h=Date:From:To:Subject:References:From:Subject; b=gdY3YGdpQtitIwJZZRQm5FLn4JE3IkK7ZCoaPQ+3DrXPcv3hZX1NMGznyuGN/xt5cEGcAnZ/RGuDCDLMyQFoKTo0ktqIzZiQDm3gZ0nMDS0jEHWUHDx6epBw/LWQHyywMiqjPRY+6CIuaFfzqI0Fw50SBWxQ3dsPOdbUTBBbihupM2OZW6oqabA1Oj6uqoaS1H8+5TVT5J06VvNwKbMHrEs8n1Owp8myU7r7Ggh5II000IOaXik3pwKy18uS7/XiuaxSkiEUZD0wYs5duivM76lxjJQ/6DbyHQ14YUcZPzuyvMPhgCsRuGe4Qi920jiAv6gEhgTrVbInWQikNpKdYA== Received: from [216.39.60.173] by nm7.access.bullet.mail.gq1.yahoo.com with NNFMP; 30 Aug 2015 07:14:49 -0000 Received: from [98.138.104.96] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 30 Aug 2015 07:14:49 -0000 Received: from [127.0.0.1] by smtp116.sbc.mail.ne1.yahoo.com with NNFMP; 30 Aug 2015 07:14:49 -0000 X-Yahoo-Newman-Id: 15727.94738.bm@smtp116.sbc.mail.ne1.yahoo.com Message-ID: <15727.94738.bm@smtp116.sbc.mail.ne1.yahoo.com> X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: rtnP5SsVM1mcQNeSdpjPGA0xQ6FUcliLvESPCoja354RbRq 4tKX.T9olpBO5eGSDVjuGTn1EdI4ImxEvVP1Mx7cGW.cRkKivHlfc4x4Y_OP 2DvHGu4bmUDXMAIMqksy5fFKEgb8b7ndqMvmjuwl8kvgdnwVHJZWYoD3LlEV nVDsrilwc4Ltt7RgCdzlSLl2KU9vvqvazyp6wULKfnWnCGisUtuoSqi82GlP a9HksG98y5mxZSHwd4mxxEf.FsDiIIqxB8IXJpuvRIhd1HE9zQDuPgw_AQJe o7CoZU_RbqaUPRJtSMqQJ27nk7SirPtBsV_skPVY8qyu2kXrEmnuyuVk_Fx0 d_tswHlgFwEKJbOJEmQl1bMDYyd15RFfSW2n2tDeGrZAbQRrxj_gCRU5Slav OlmTlAgZQaTXnf9jzoyGByWYVxhkwE5QJcr0LErDUsxO5kZhza8aeCvLKXlP ROHx6P3KvLDBgcwohbDSRZbGa9kO8ZxDjioQUNbnrXkL6adoVJLrUMjbZPsr ptcEaCnFd.T8brfryzI9W62sP5.c8XkDSXetIV06OIxDLCsZkT1AE8077wUo - X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- Date: Sun, 30 Aug 2015 07:13:56 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: disabling dhclient References: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> <55e282fc.s+OSZJ/KaD3iwr7U%perryh@pluto.rain.com> 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, 30 Aug 2015 07:16:37 -0000 Perry Hutchison wrote; > Michael Sierchio wrote: > > On Sat, Aug 29, 2015 at 6:11 PM, Perry Hutchison > > wrote: > > > These are the settings in /etc/rc.conf: > > > > > ifconfig_xl0="192.168.0.81 netmask 255.255.0.0" > > > defaultrouter="192.168.0.1" > > > nfs_server_enable="YES" > > > check_quotas="NO" > > > rpcbind_enable="YES" > > > nfs_client_enable="YES" > > > sshd_enable="YES" > > > inetd_enable="YES" > > > kern_securelevel_enable="NO" > > > linux_enable="YES" > > > moused_enable="NO" > > > moused_type="NO" > > > sendmail_submit_enable="NO" > > > sendmail_outbound_enable="NO" > > > sendmail_msp_queue_enable="NO" > > > lpd_enable="YES" > > > > Is that the complete file? > Apart from comments and the hostname setting, yes. > (Keep in mind that /etc/defaults/rc.conf is loaded first, so > /etc/rc.conf only needs to contain changes from the defaults. > I figured there was no need to clutter the list with a dump > of ~700 lines of default settings, since they're unchanged from > the original distribution.) > > > and is there an /etc/rc.local or /usr/local/etc/rc.local? > No. I don't have ifconfig in /etc/rc.conf, dhclient never runs automatically on my system. This is true for both FreeBSD and NetBSD. I run dhclient on the command line. There is a line in /etc/defaults/rc.conf dhclient_program="/sbin/dhclient" # Path to dhcp client program. Setting dhclient_program="/usr/bin/true" in /etc/rc.conf would avoid the need to hack dhclient itself; I don't know if this would prevent dhclient from working from the command line. Tom From owner-freebsd-questions@freebsd.org Sun Aug 30 09:03:31 2015 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 787BD9C62ED for ; Sun, 30 Aug 2015 09:03:31 +0000 (UTC) (envelope-from me@rvijay.me) Received: from mail11.rvijay.me (mail11.rvijay.me [107.6.164.87]) by mx1.freebsd.org (Postfix) with ESMTP id 35C8074A for ; Sun, 30 Aug 2015 09:03:30 +0000 (UTC) (envelope-from me@rvijay.me) Received: from mail10.rvijay.me (mail10.rvijay.me [89.233.108.53]) by mail11.rvijay.me (Postfix) with ESMTP id A72E71E611EC for ; Sun, 30 Aug 2015 14:33:28 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail10.rvijay.me (Postfix) with ESMTP id 8962E24822 for ; Sun, 30 Aug 2015 09:03:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rvijay.me; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=20130919; t=1440925402; x= 1441789403; bh=Vck9QlItn8wcRGZP9NyqSoYfDEEldvG9Rp4YJhuLvlQ=; b=U KXZ+KZsvcVSDsdKmqHvseKGvqVc1sYMHLjCYpglBAdrMYaqx9KbMDJglsmXrYoKn JfEXjSIgcCGENqUKtHS0em2fLxZlbcQZpnKdxr+FuiO3NGZGiLjBDPlXgVKhKeU1 qJbmhPJRClxaBUNRLrtJX0myfAZUjLWt9C0taxhRp8= Received: from mail10.rvijay.me ([127.0.0.1]) by localhost (mail10.rvijay.me [127.0.0.1]) (amavisd-new, port 10026) with LMTP id GTkt_GjVhCMG for ; Sun, 30 Aug 2015 09:03:22 +0000 (UTC) Received: from [192.168.1.119] (unknown [49.207.184.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail10.rvijay.me (Postfix) with ESMTPSA id 471992400D for ; Sun, 30 Aug 2015 09:03:20 +0000 (UTC) Subject: Re: adding packages during jails creation To: freebsd-questions@freebsd.org References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> <55E19F72.6090804@rvijay.me> <55E1A91D.7020108@gmail.com> From: Vijay Rajah Message-ID: <55E2C6D3.2050200@rvijay.me> Date: Sun, 30 Aug 2015 14:33:15 +0530 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E1A91D.7020108@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 09:03:31 -0000 On 29/08/15 6:14 pm, Ernie Luzar wrote: > Vijay Rajah wrote: >> Ben, >> >> Looks interesting.. did not get a chance to read the docs completely. >> >> Do you know if I can switch over my existing jails from ezjail to >> iocage? >> >> -Thanks >> Vijay >> >> On 28/08/15 3:35 pm, Ben Woods wrote: >>> On Friday, August 28, 2015, Vijay Rajah wrote: >>>> My question is how can I automate installation of ports, instead of me >>>> manually installing these packages on every Jail? >>>> >>>> -Thanks >>>> Vijay >>>> >>> Hi Vijay, >>> >>> If you use iocage for jail management instead of ezjail, you can use >>> its >>> pkglist keyword to automatically install a list of packages in a >>> file as >>> the jail is created. >>> >>> Documented here: >>> https://iocage.readthedocs.org/en/latest/advanced-use.html#automatic-package-installation >>> >>> >>> Hope that helps, >>> -Ben >>> >>> > > > If I remember correctly iocage jails are based on zfs and the > methodology employed is totally different that the one used in ezjail > zfs jails. > You may want to check out qjail, it also has option to auto install > pkg's listed in a flat file as well as a few other methods to > accomplish the same thing and is UFS based. No mater which jail tool > you use, changing from one to another is going to require a complete > re-creation of your jail(8) environment. > > > > Thanks.. I will take a look at those options... -Vijay > > _______________________________________________ > 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 Sun Aug 30 09:35:02 2015 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 C0C909C412A for ; Sun, 30 Aug 2015 09:35:02 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id 5DBF42E4 for ; Sun, 30 Aug 2015 09:35:01 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-169-30.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.169.30]) by ipmail06.adl2.internode.on.net with ESMTP; 30 Aug 2015 19:04:53 +0930 Message-ID: <55E2CE39.5010102@ShaneWare.Biz> Date: Sun, 30 Aug 2015 19:04:49 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Carlos J Puga Medina , emorrasg@yahoo.es CC: freebsd-questions Subject: Re: fetch a distribution file using the git commit References: <1440840184.30127.5.camel@fbsd.es> In-Reply-To: <1440840184.30127.5.camel@fbsd.es> 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: Sun, 30 Aug 2015 09:35:02 -0000 On 29/08/2015 18:53, Carlos J Puga Medina wrote: >> It works for me as expected, but is this line from the configuration >> file? if yes, it should have "": > >> MASTER_SITES_tl-parser=" > https://codeload.github.com/vysheng/tl-parser/tar.gz/1659d87?dummy=" > > No. The MASTER_SITES is set by GH_* variables. That's not from the makefile, it is the output during the fetch stage. > See for details: > https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfile > s.html#makefile-master_sites-github > >> not found >> *** Error code 127 >> >> Here it is the relevant part in the Makefile >> USE_GITHUB= yes >> GH_ACCOUNT= vysheng >> GH_PROJECT= tgl:tgl tl-parser:tl-parser >> GH_TAGNAME= 2.0.1:tgl 1659d87:tl-parser >> Yes using multiple github groups has been working for a couple of months now and they had me stumped at first too, you need two small changes. The first is that you must use the default group, this is misleading as the example in the porters handbook matches what you have done and the non-github use of groups does not enforce a default group. In the second paragraph to 5.4.3.1 it does say "The main value can either have no tag, or the :DEFAULT tag" - so you should remove the usage of :tgl - not specifying a group name implies :DEFAULT The second issue is that the group name does not like the '-' sign in the name. As detailed under 5.4.8.2 - "Elements can be postfixed with :n where n is [^:,]+, that is, n could conceptually be any alphanumeric string but we will limit it to [a-zA-Z_][0-9a-zA-Z_]+ for now." This leads to the following to get it working - USE_GITHUB= yes GH_ACCOUNT= vysheng GH_PROJECT= tgl tl-parser:tlparser GH_TAGNAME= 2.0.1 1659d87:tlparser While the porters handbook has been updated since I suggested some changes I think it could still be improved a little. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=172964 -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Sun Aug 30 09:56:47 2015 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 E32939C4ED6 for ; Sun, 30 Aug 2015 09:56:47 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.40]) (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 A4B6CFF3 for ; Sun, 30 Aug 2015 09:56:47 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [78.35.187.140] (helo=fabiankeil.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZVzKd-00012O-1z; Sun, 30 Aug 2015 11:55:23 +0200 Date: Sun, 30 Aug 2015 11:55:24 +0200 From: Fabian Keil To: zhup Cc: freebsd-questions@freebsd.org Subject: Re: How to make process working in background? Message-ID: <2ac65a7c.445eda7a@fabiankeil.de> In-Reply-To: <1440834990532-6035821.post@n5.nabble.com> References: <1440834990532-6035821.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/h2CM1Lhs3lY98BY+7D5jXqF"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 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, 30 Aug 2015 09:56:48 -0000 --Sig_/h2CM1Lhs3lY98BY+7D5jXqF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable zhup wrote: > I have below startup script. > My question is how to make this process working in background? >=20 > #!/bin/sh > . /etc/rc.subr > name=3Dtest > rcvar=3Dtest_enable > command=3D"/usr/sbin/${name}" > load_rc_config $name > run_rc_command "$1" If the program itself has no flag to go into the background you can use daemon(8) for this: https://www.freebsd.org/cgi/man.cgi?query=3Ddaemon > Why I am not able to stop this process? >=20 > root@mys:~ # /etc/rc.d/test stop > Stopping test. > Waiting for PIDS: 5146 5147Stopping oscam. > Waiting for PIDS: 5146 5147 Did you verify that the PIDs are correct? Specifying a pidfile may help. Fabian --Sig_/h2CM1Lhs3lY98BY+7D5jXqF Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlXi0wkACgkQBYqIVf93VJ2g4wCgsK576RXGmHNrp37znvvYz+sF OtIAoIbbUe4CrazkQKUmSnoV0IZ7J/rp =JHPJ -----END PGP SIGNATURE----- --Sig_/h2CM1Lhs3lY98BY+7D5jXqF-- From owner-freebsd-questions@freebsd.org Sun Aug 30 11:53:36 2015 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 CA2629C6681 for ; Sun, 30 Aug 2015 11:53:36 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from imap1-1.ox.privateemail.com (imap1-1.ox.privateemail.com [198.187.29.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "privateemail.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CDC493A for ; Sun, 30 Aug 2015 11:53:36 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from localhost (localhost [127.0.0.1]) by imap1.ox.privateemail.com (Postfix) with ESMTP id 7CA4BB00101; Sun, 30 Aug 2015 07:53:29 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from imap1.ox.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s9-BHBE03vG2; Sun, 30 Aug 2015 07:53:29 -0400 (EDT) Received: from [192.168.1.33] (138.Red-83-33-58.dynamicIP.rima-tde.net [83.33.58.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by imap1.ox.privateemail.com (Postfix) with ESMTPSA id C5894B0013C; Sun, 30 Aug 2015 07:53:27 -0400 (EDT) Message-ID: <1440935599.4939.3.camel@fbsd.es> Subject: Re: fetch a distribution file using the git commit From: Carlos J Puga Medina To: Shane Ambler , emorrasg@yahoo.es Cc: freebsd-questions Date: Sun, 30 Aug 2015 13:53:19 +0200 In-Reply-To: <55E2CE39.5010102@ShaneWare.Biz> References: <1440840184.30127.5.camel@fbsd.es> <55E2CE39.5010102@ShaneWare.Biz> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-AwXw6OH/kcdcC3zsGYpM" X-Mailer: Evolution 3.16.4 FreeBSD GNOME Team Port Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 11:53:37 -0000 --=-AwXw6OH/kcdcC3zsGYpM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2015-08-30 at 19:04 +0930, Shane Ambler wrote: > On 29/08/2015 18:53, Carlos J Puga Medina wrote: > > > It works for me as expected, but is this line from the=20 > > > configuration > > > file? if yes, it should have "": > >=20 > > > MASTER_SITES_tl-parser=3D" > > https://codeload.github.com/vysheng/tl-parser/tar.gz/1659d87?dummy=3D > > " > >=20 > > No. The MASTER_SITES is set by GH_* variables. >=20 > That's not from the makefile, it is the output during the fetch=20 > stage. >=20 > > See for details: > > https://www.freebsd.org/doc/en/books/porters-handbook/makefile-dist > > file > > s.html#makefile-master_sites-github > >=20 > > > not found > > > *** Error code 127 > > >=20 > > > Here it is the relevant part in the Makefile > > > USE_GITHUB=3D yes > > > GH_ACCOUNT=3D vysheng > > > GH_PROJECT=3D tgl:tgl tl-parser:tl-parser > > > GH_TAGNAME=3D 2.0.1:tgl 1659d87:tl-parser > > >=20 >=20 > Yes using multiple github groups has been working for a couple of > months now and they had me stumped at first too, you need two small > changes. >=20 > The first is that you must use the default group, this is misleading=20 > as > the example in the porters handbook matches what you have done and=20 > the > non-github use of groups does not enforce a default group. In the > second paragraph to 5.4.3.1 it does say "The main value can either=20 > have > no tag, or the :DEFAULT tag" - so you should remove the usage of :tgl > - not specifying a group name implies :DEFAULT >=20 > The second issue is that the group name does not like the '-' sign in > the name. As detailed under 5.4.8.2 - "Elements can be postfixed with > :n where n is [^:,]+, that is, n could conceptually be any=20 > alphanumeric > string but we will limit it to [a-zA-Z_][0-9a-zA-Z_]+ for now." >=20 > This leads to the following to get it working - >=20 > USE_GITHUB=3D yes > GH_ACCOUNT=3D vysheng > GH_PROJECT=3D tgl tl-parser:tlparser > GH_TAGNAME=3D 2.0.1 1659d87:tlparser >=20 >=20 > While the porters handbook has been updated since I suggested some > changes I think it could still be improved a little. > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D172964 >=20 I didn't have any idea about this change. Now it can fetch properly all distribution files. =20 Thanks, Shane! --=20 Carlos Jacobo Puga Medina PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=-AwXw6OH/kcdcC3zsGYpM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJV4u6vAAoJEKHzXWbm0FRTKosH/jxa7UIFII77H/7WvYVqM1Pw O6vjej8srcdB02AW1r2Lh860f4Dsw/njV9p2zPBJM0VVjiUJbXSjI3GK+se3R9UT Ek21BkwnZmyXCcqIWd7UsyqofbCjcFHvQB482/R8DjHAe3VqNlmndwAZuCgedwEq IRLlmJPU4fZ2OxtFtit0aL+PuHJc3OONgSr7tjuDjcKSh/u8ZB2AMYofNLaJcy7K BY18LuTc1kfzKonj8puCcZ2U/mP5ddJJUQcUF56Eopvu4KP+cehUpPBw3rn9nHed xfmQ7GPaYKBvRbCAj/OpGmgZ1gXoLWZ7yIH3tJv5MUnuUpWu9YD1fNp5Ezg6DLs= =4POI -----END PGP SIGNATURE----- --=-AwXw6OH/kcdcC3zsGYpM-- From owner-freebsd-questions@freebsd.org Sun Aug 30 12:04:54 2015 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 C376E9C6D18 for ; Sun, 30 Aug 2015 12:04:54 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from imap1-1.ox.privateemail.com (imap1-1.ox.privateemail.com [198.187.29.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "privateemail.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AE4FED2 for ; Sun, 30 Aug 2015 12:04:53 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from localhost (localhost [127.0.0.1]) by imap1.ox.privateemail.com (Postfix) with ESMTP id EEE88B000C9; Sun, 30 Aug 2015 08:04:52 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from imap1.ox.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id r1OvNPgYI5Dq; Sun, 30 Aug 2015 08:04:52 -0400 (EDT) Received: from [192.168.1.33] (138.Red-83-33-58.dynamicIP.rima-tde.net [83.33.58.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by imap1.ox.privateemail.com (Postfix) with ESMTPSA id E1E38B000E0; Sun, 30 Aug 2015 08:04:51 -0400 (EDT) Message-ID: <1440936289.4939.7.camel@fbsd.es> Subject: Re: fetch a distribution file using the git commit From: Carlos J Puga Medina To: Shane Ambler , emorrasg@yahoo.es Cc: freebsd-questions Date: Sun, 30 Aug 2015 14:04:49 +0200 In-Reply-To: <55E2CE39.5010102@ShaneWare.Biz> References: <1440840184.30127.5.camel@fbsd.es> <55E2CE39.5010102@ShaneWare.Biz> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-F0eGYX+mFQl/81gBZ30K" X-Mailer: Evolution 3.16.4 FreeBSD GNOME Team Port Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 12:04:54 -0000 --=-F0eGYX+mFQl/81gBZ30K Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > On 29/08/2015 18:53, Carlos J Puga Medina wrote: > > > It works for me as expected, but is this line from the=20 > > > configuration > > > file? if yes, it should have "": > >=20 > > > MASTER_SITES_tl-parser=3D" > > https://codeload.github.com/vysheng/tl-parser/tar.gz/1659d87?dummy=3D > > " > >=20 > > No. The MASTER_SITES is set by GH_* variables. >=20 > That's not from the makefile, it is the output during the fetch=20 > stage. Sorry, I explained all this badly: the MASTER_SITES is defined in Mk/bsd.sites.mk=20 In the Makefile we set the nomenclature for the distribution file(s) using GH_* variables. Cheers, --=20 Carlos Jacobo Puga Medina PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=-F0eGYX+mFQl/81gBZ30K Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJV4vFhAAoJEKHzXWbm0FRTaMcIAKor6FsjspeHwF1ljQTvNeu3 y3ahp6Zzp6796x1BB3eQ1hl3k7mX3etS5P3R8WJmI29atm0nWBdqiFi9l6YboazC acZ54QlsHcixtmJoJQR6D3LYO8+N8Fbj88jAyNC5nn1Oe+GfkbKhJm6f1DfAADf3 HlIqimqe0dxX4mLhTx3yIoAgLYTU2gKxkemQigIyOd/1Ar4bwgmUrPE6sGZtQ67c 4mD+9PBuFA0zo7KuFaj7absPuMzAAg3KOlMJqAcvigltmIGvjrHu6MbYBWxqJo2B NxdkbFEvKnraYnxvEBW3I/cyNhy1HLtmjOu/tPfErLthWVHA+e6NvADp6t/u7Sg= =TnEL -----END PGP SIGNATURE----- --=-F0eGYX+mFQl/81gBZ30K-- From owner-freebsd-questions@freebsd.org Sun Aug 30 12:29:27 2015 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 134749C62AB for ; Sun, 30 Aug 2015 12:29:27 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF6F1AF7 for ; Sun, 30 Aug 2015 12:29:26 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by igboj15 with SMTP id oj15so6884657igb.1 for ; Sun, 30 Aug 2015 05:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ktlhhJ3zyY1eXCuyJq+qaUjFlOOxilumVNOd38GEH7s=; b=hGe+ywdTbQ6KTQpZSmJde5Y+gc53zFMvhDvW8+TyOOoaREB5G+iVhD6N7vfp4TtldP PzUmQJgNOMpVc8y06a4c3RDuqgNNsKt93rOQ56RO9n7kp4/CBBB52JOHkt7LjviK3nQG jSLVpZlaK9ytoWcpX8tcxLuJ6a8WPkVwtYPdjM11Bfasi3Z4/oPypqOquybI9krBWAQM cBjQtL7R9D6BGbg10bkeDn3oxFnCCOM977oucnp4tzrPJNPZ4oxMFKk4pxQMVoHmhXcO 6J/8Wh/T4yuUwwzV1yUDtz3fm3oJybmtDuHjIdutfTB+Mm5UIy5PvkBEXHjr2m+6mI8T izIw== X-Received: by 10.50.61.34 with SMTP id m2mr9774958igr.27.1440937766195; Sun, 30 Aug 2015 05:29:26 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by smtp.googlemail.com with ESMTPSA id b78sm10430644ioe.2.2015.08.30.05.29.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Aug 2015 05:29:25 -0700 (PDT) Message-ID: <55E2F727.2040804@gmail.com> Date: Sun, 30 Aug 2015 08:29:27 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: =?UTF-8?B?0KDRg9GB0LvQsNC9INCR0YPRgNGF0LDQvdC+0LI=?= CC: freebsd-questions Subject: Re: how to change daily cron emails to go to user account instead of root References: <55DF057F.6040205@gmail.com> <55DF0C75.5000907@qeng-ho.org> <55DF0DB3.3040400@qeng-ho.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; 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: Sun, 30 Aug 2015 12:29:27 -0000 Руслан Бурханов wrote: > man cron > > -m mailto > Overrides the default recipient for cron mail. Each > crontab(5) > without MAILTO explicitly set will send mail to the > mailto mail‐ > box. Sending mail will be disabled by default if mailto > set to a > null string, usually specified in a shell as '' or "". > > So you just can add this option on cron flags from rc.conf, like: > > cron_flags="-m 'root@mymail.com '" > > and restart cron daemon. > snip This method seemed the simplest so I gave it a try. The host has a user account called bob. I want all cron email to go to bob and not root. I use postfix and sendmail is disabled. I put cron_flags="-m bob" in /etc/rc.conf and rebooted the host. Next morning the daily cron email still went to root. 1. Is there a way to scan rc.conf to verify all the included options are valid and accepted? 2. Since root and bob are on the same host is @mydomain really required? 3. Any ideas why it did not work and no errors were generated? From owner-freebsd-questions@freebsd.org Sun Aug 30 12:58:44 2015 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 02FF59C68F1 for ; Sun, 30 Aug 2015 12:58:44 +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 9A8A690B for ; Sun, 30 Aug 2015 12:58:43 +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 t7UCwY6m026662; Sun, 30 Aug 2015 13:58:35 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: how to change daily cron emails to go to user account instead of root To: Ernie Luzar , =?UTF-8?B?0KDRg9GB0LvQsNC9INCR0YPRgNGF?= =?UTF-8?B?0LDQvdC+0LI=?= References: <55DF057F.6040205@gmail.com> <55DF0C75.5000907@qeng-ho.org> <55DF0DB3.3040400@qeng-ho.org> <55E2F727.2040804@gmail.com> Cc: freebsd-questions From: Arthur Chance Message-ID: <55E2FDFA.7090301@qeng-ho.org> Date: Sun, 30 Aug 2015 13:58:34 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E2F727.2040804@gmail.com> Content-Type: text/plain; charset=utf-8; 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: Sun, 30 Aug 2015 12:58:44 -0000 On 30/08/2015 13:29, Ernie Luzar wrote: > Руслан Бурханов wrote: >> man cron >> >> -m mailto >> Overrides the default recipient for cron mail. Each >> crontab(5) >> without MAILTO explicitly set will send mail to the >> mailto mail‐ >> box. Sending mail will be disabled by default if mailto >> set to a >> null string, usually specified in a shell as '' or "". >> >> So you just can add this option on cron flags from rc.conf, like: >> >> cron_flags="-m 'root@mymail.com '" >> >> and restart cron daemon. > snip > > This method seemed the simplest so I gave it a try. > The host has a user account called bob. I want all cron email to go to > bob and not root. > I use postfix and sendmail is disabled. > > I put cron_flags="-m bob" in /etc/rc.conf and rebooted the host. > Next morning the daily cron email still went to root. > > 1. Is there a way to scan rc.conf to verify all the included options are > valid and accepted? > 2. Since root and bob are on the same host is @mydomain really required? > 3. Any ideas why it did not work and no errors were generated? The periodic script does its own output using this: output_pipe() { # Where's our output going ? eval output=\$${1##*/}_output case "$output" in /*) pipe="cat >>$output";; "") pipe=cat;; *) pipe="mail -E -s '$host ${2}${2:+ }${1##*/} run output' $output";; esac eval $pipe } You need to override the various *_output variables periodic uses in /etc/periodic.conf. See my earlier mail on the subject. -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Sun Aug 30 12:58:54 2015 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 E295D9C690F for ; Sun, 30 Aug 2015 12:58:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A5DAA962 for ; Sun, 30 Aug 2015 12:58:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t7UCwgAg052047 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 30 Aug 2015 06:58:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t7UCwgUM052044; Sun, 30 Aug 2015 06:58:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 30 Aug 2015 06:58:42 -0600 (MDT) From: Warren Block To: Polytropon cc: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD In-Reply-To: <20150829220311.c7608be1.freebsd@edvax.de> Message-ID: References: <20150829220311.c7608be1.freebsd@edvax.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 30 Aug 2015 06:58:42 -0600 (MDT) 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, 30 Aug 2015 12:58:55 -0000 On Sat, 29 Aug 2015, Polytropon wrote: > On Fri, 28 Aug 2015 12:47:30 -0600 (MDT), Warren Block wrote: >> If you are a belt-and-suspenders type, create a smallish, maybe 4G, >> partition on the drive that will never be used and leave it empty. >> Don't write to it, ever. This is called over-provisioning. The drive >> sees that all those blocks are free and it can swap them around for wear >> leveling. This can be used in addition to trim. > > To extend the idea (because sometimes I am the axe-and-byrnie type): > Does this also work with _no_ partitions at all? For example, when > the device is formatted "as a whole" (dedicated), like > > # bsdlabel -w ada0 > # bsdlabel -e ada0 > set type "4.2BSD" for 'a' partition > make 'a' same size as 'c' > save > # newfs -m 0 -i 16384 -b 16384 -f 2048 -U -t enable -n disable -L ssdroot /dev/ada0a > # bsdlabel -B ada0 > > where /dev/ada0a has been prepared with bsdlabel to span the entire > device (as in the example) - or in this case, to be a little bit > less (4G) than the whole disk capacity? Making a partition for free space is one way. Another way is to leave part of the drive unpartitioned. Either one just guarantees there is a good supply of unused blocks available to the drive. I'm fairly sure that UFS does not write to every block under its control even during a format. Until written as part of a file, those blocks are also known to be unused. So forcing extra unused space is probably unnecessary most of the time. From owner-freebsd-questions@freebsd.org Sun Aug 30 14:59:23 2015 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 6B7D49C6191 for ; Sun, 30 Aug 2015 14:59:23 +0000 (UTC) (envelope-from katmai@keptprivate.com) Received: from keptprivate.com (keptprivate.com [38.117.1.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.keptprivate.com", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26101281 for ; Sun, 30 Aug 2015 14:59:22 +0000 (UTC) (envelope-from katmai@keptprivate.com) Received: (qmail 9260 invoked by uid 89); 30 Aug 2015 14:59:14 -0000 Received: from (HELO ) (katmai@keptprivate.com) by keptprivate.com with ESMTPA; 30 Aug 2015 14:59:14 -0000 Subject: Re: memcached port broken? To: freebsd-questions@freebsd.org References: <20150828140200.B40C96F0462@barracuda.keptprivate.com> <55E06CB7.9090304@keptprivate.com> From: Stefanita Rares Dumitrescu Message-ID: <55E31A3A.10201@keptprivate.com> Date: Sun, 30 Aug 2015 16:59:06 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E06CB7.9090304@keptprivate.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 150830-0, 08/30/2015), Outbound message X-Antivirus-Status: Not-Tested 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, 30 Aug 2015 14:59:23 -0000 sorry to bug but does anyone have any ideas on this? On 28-Aug-15 4:14 PM, Stefanita Rares Dumitrescu wrote: > 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC > 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > make.conf is empty and for the make config - i have the default > selected - docs + SASL auth > > that's about it. > > yeah on 10.1 it's working for me too. > > On 28-Aug-15 4:01 PM, Simon wrote: >> >> It would help to know what version of FBSD you're trying this on. I have >> memcached 1.4.24 compiled both on i386/amd64 on 10.1 Also your >> make.conf and make config settings for memcached >> >> -Simon >> >> On Fri, 28 Aug 2015 15:55:29 +0200, Stefanita Rares Dumitrescu wrote: >> >> >Hi, >> > >> >I think the problem is fairly recent ? I haven't experienced this on >> any >> >other BSD servers i got. This is a brand new installation. >> > >> >anyone else happen to get this? >> > >> >mv -f .deps/memcached_debug-memcached.Tpo >> .deps/memcached_debug-memcached.Po >> >--- memcached-memcached.o --- >> >mv -f .deps/memcached-memcached.Tpo .deps/memcached-memcached.Po >> >1 error >> > >> >make[4]: stopped in >> /usr/ports/databases/memcached/work/memcached-1.4.24 >> >*** [all-recursive] Error code 1 >> > >> >make[3]: stopped in >> /usr/ports/databases/memcached/work/memcached-1.4.24 >> >1 error >> > >> >make[3]: stopped in >> /usr/ports/databases/memcached/work/memcached-1.4.24 >> >*** [all] Error code 2 >> > >> >make[2]: stopped in >> /usr/ports/databases/memcached/work/memcached-1.4.24 >> >1 error >> > >> >make[2]: stopped in >> /usr/ports/databases/memcached/work/memcached-1.4.24 >> >===> Compilation failed unexpectedly. >> >Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the >> failure to >> >the maintainer. >> >*** Error code 1 >> > >> >Stop. >> >make[1]: stopped in /usr/ports/databases/memcached >> >*** Error code 1 >> > >> >Stop. >> >make: stopped in /usr/ports/databases/memcached >> > >> >_______________________________________________ >> >_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_" >> > >> > > _______________________________________________ > 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 Sun Aug 30 15:14:32 2015 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 D66D69C6542 for ; Sun, 30 Aug 2015 15:14:32 +0000 (UTC) (envelope-from katmai@keptprivate.com) Received: from keptprivate.com (keptprivate.com [38.117.1.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.keptprivate.com", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92396D2F for ; Sun, 30 Aug 2015 15:14:32 +0000 (UTC) (envelope-from katmai@keptprivate.com) Received: (qmail 11505 invoked by uid 89); 30 Aug 2015 15:14:31 -0000 Received: from (HELO ) (katmai@keptprivate.com) by keptprivate.com with ESMTPA; 30 Aug 2015 15:14:31 -0000 Subject: Re: memcached port broken? To: freebsd-questions@freebsd.org References: <20150828140200.B40C96F0462@barracuda.keptprivate.com> <55E06CB7.9090304@keptprivate.com> <55E31A3A.10201@keptprivate.com> From: Stefanita Rares Dumitrescu Message-ID: <55E31DCF.4020701@keptprivate.com> Date: Sun, 30 Aug 2015 17:14:23 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E31A3A.10201@keptprivate.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 150830-0, 08/30/2015), Outbound message X-Antivirus-Status: Not-Tested 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, 30 Aug 2015 15:14:33 -0000 odd stuff. i just updated the ports tree, then ran a make clean && make distclean, tried to install it again just for kicks and it worked. On 30-Aug-15 4:59 PM, Stefanita Rares Dumitrescu wrote: > sorry to bug but does anyone have any ideas on this? > > On 28-Aug-15 4:14 PM, Stefanita Rares Dumitrescu wrote: >> 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC >> 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >> >> make.conf is empty and for the make config - i have the default >> selected - docs + SASL auth >> >> that's about it. >> >> yeah on 10.1 it's working for me too. >> >> On 28-Aug-15 4:01 PM, Simon wrote: >>> >>> It would help to know what version of FBSD you're trying this on. I >>> have >>> memcached 1.4.24 compiled both on i386/amd64 on 10.1 Also your >>> make.conf and make config settings for memcached >>> >>> -Simon >>> >>> On Fri, 28 Aug 2015 15:55:29 +0200, Stefanita Rares Dumitrescu wrote: >>> >>> >Hi, >>> > >>> >I think the problem is fairly recent ? I haven't experienced this >>> on any >>> >other BSD servers i got. This is a brand new installation. >>> > >>> >anyone else happen to get this? >>> > >>> >mv -f .deps/memcached_debug-memcached.Tpo >>> .deps/memcached_debug-memcached.Po >>> >--- memcached-memcached.o --- >>> >mv -f .deps/memcached-memcached.Tpo .deps/memcached-memcached.Po >>> >1 error >>> > >>> >make[4]: stopped in >>> /usr/ports/databases/memcached/work/memcached-1.4.24 >>> >*** [all-recursive] Error code 1 >>> > >>> >make[3]: stopped in >>> /usr/ports/databases/memcached/work/memcached-1.4.24 >>> >1 error >>> > >>> >make[3]: stopped in >>> /usr/ports/databases/memcached/work/memcached-1.4.24 >>> >*** [all] Error code 2 >>> > >>> >make[2]: stopped in >>> /usr/ports/databases/memcached/work/memcached-1.4.24 >>> >1 error >>> > >>> >make[2]: stopped in >>> /usr/ports/databases/memcached/work/memcached-1.4.24 >>> >===> Compilation failed unexpectedly. >>> >Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the >>> failure to >>> >the maintainer. >>> >*** Error code 1 >>> > >>> >Stop. >>> >make[1]: stopped in /usr/ports/databases/memcached >>> >*** Error code 1 >>> > >>> >Stop. >>> >make: stopped in /usr/ports/databases/memcached >>> > >>> >_______________________________________________ >>> >_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_" >>> > >>> >> >> _______________________________________________ >> 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" > > _______________________________________________ > 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 Sun Aug 30 15:38:32 2015 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 82A0B9C6A6B for ; Sun, 30 Aug 2015 15:38:32 +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 31BD4A41 for ; Sun, 30 Aug 2015 15:38:31 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7UFcT2A032638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 10:38:30 -0500 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: /etc files Message-ID: <55E32375.9060804@hiwaay.net> Date: Sun, 30 Aug 2015 10:43:59 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.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: Sun, 30 Aug 2015 15:38:32 -0000 I notice several files in my /etc directory whose filenames end in ':'. Are these system files ? If not, can I usefully delete them :-) ? TIA & have aq nice weekend. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 15:43:17 2015 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 A28E49C6CCE for ; Sun, 30 Aug 2015 15:43:17 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from cyrus.watson.org (cyrus.watson.org [198.74.231.69]) by mx1.freebsd.org (Postfix) with ESMTP id 7C54CF75 for ; Sun, 30 Aug 2015 15:43:17 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id E6C2846B35; Sun, 30 Aug 2015 11:43:15 -0400 (EDT) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.15.2/8.15.2) with ESMTP id t7UFhF4A081840; Sun, 30 Aug 2015 11:43:15 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.15.2/8.15.2/Submit) with ESMTP id t7UFhF90081836; Sun, 30 Aug 2015 11:43:15 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Sun, 30 Aug 2015 11:43:15 -0400 (EDT) From: doug Reply-To: doug@safeport.com To: "William A. Mahaffey III" cc: FreeBSD Questions !!!! Subject: Re: /etc files In-Reply-To: <55E32375.9060804@hiwaay.net> Message-ID: References: <55E32375.9060804@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (fledge.watson.org [127.0.0.1]); Sun, 30 Aug 2015 16:43:15 +0100 (BST) 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, 30 Aug 2015 15:43:17 -0000 On Sun, 30 Aug 2015, William A. Mahaffey III wrote: > I notice several files in my /etc directory whose filenames end in ':'. Are > these system files ? If not, can I usefully delete them :-) ? TIA & have aq > nice weekend. > Compare /etc to /usr/src/etc From owner-freebsd-questions@freebsd.org Sun Aug 30 15:44:06 2015 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 E25289C6D2B for ; Sun, 30 Aug 2015 15:44:06 +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 9BB8373 for ; Sun, 30 Aug 2015 15:44:06 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7UFi461002378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 10:44:05 -0500 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: system temperatures Message-ID: <55E324C4.4010500@hiwaay.net> Date: Sun, 30 Aug 2015 10:49:34 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.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: Sun, 30 Aug 2015 15:44:07 -0000 It is convenient on my various linux boxen to use lm_sensors to retrieve apparently accurate temps. for various system components (CPU's), as well as data on fan speeds, etc. Under FreeBSD (9.3R-p21), sysctl provides some of this info, but apparently inaccurately. It would be sweet to fix that minor issue, seems like it would be a bit more than just sweet for remote servers, etc. Do I file this as a problem report of some sort ? If so, how do I go about doing that :-) ? TIA & have a nice weekend. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 15:46:10 2015 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 2C89E9C6DD8 for ; Sun, 30 Aug 2015 15:46:10 +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 D86AE13B for ; Sun, 30 Aug 2015 15:46:09 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7UFk8N6003107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 10:46:08 -0500 Subject: Re: /etc files References: <55E32375.9060804@hiwaay.net> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E32540.5090709@hiwaay.net> Date: Sun, 30 Aug 2015 10:51:38 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 15:46:10 -0000 On 08/30/15 10:49, doug wrote: > On Sun, 30 Aug 2015, William A. Mahaffey III wrote: > >> I notice several files in my /etc directory whose filenames end in >> ':'. Are these system files ? If not, can I usefully delete them :-) >> ? TIA & have aq nice weekend. >> > > Compare /etc to /usr/src/etc > No such directory on my box, I am guessing my virtually exclusive use of pkgng to maintain packages might be to blame. Other ideas ? TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 15:56:31 2015 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 63F609C609D for ; Sun, 30 Aug 2015 15:56:31 +0000 (UTC) (envelope-from doug@safeport.com) Received: from cyrus.watson.org (cyrus.watson.org [198.74.231.69]) by mx1.freebsd.org (Postfix) with ESMTP id 3BD087B0 for ; Sun, 30 Aug 2015 15:56:31 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id D1CBC46BA5; Sun, 30 Aug 2015 11:56:30 -0400 (EDT) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.15.2/8.15.2) with ESMTP id t7UFuURd084506; Sun, 30 Aug 2015 11:56:30 -0400 (EDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.15.2/8.15.2/Submit) with ESMTP id t7UFuUBK084503; Sun, 30 Aug 2015 11:56:30 -0400 (EDT) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Sun, 30 Aug 2015 11:56:30 -0400 (EDT) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org Reply-To: doug@fledge.watson.org To: "William A. Mahaffey III" cc: FreeBSD Questions !!!! Subject: Re: /etc files In-Reply-To: <55E32540.5090709@hiwaay.net> Message-ID: References: <55E32375.9060804@hiwaay.net> <55E32540.5090709@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (fledge.watson.org [127.0.0.1]); Sun, 30 Aug 2015 16:56:30 +0100 (BST) 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, 30 Aug 2015 15:56:31 -0000 On Sun, 30 Aug 2015, William A. Mahaffey III wrote: > On 08/30/15 10:49, doug wrote: >> On Sun, 30 Aug 2015, William A. Mahaffey III wrote: >> >>> I notice several files in my /etc directory whose filenames end in ':'. >>> Are these system files ? If not, can I usefully delete them :-) ? TIA & >>> have aq nice weekend. >>> >> >> Compare /etc to /usr/src/etc >> > > > No such directory on my box, I am guessing my virtually exclusive use of > pkgng to maintain packages might be to blame. Other ideas ? TIA & have a good > one. > Modify freebsd-update to include src. Change components statement to be Components src world kernel From owner-freebsd-questions@freebsd.org Sun Aug 30 16:05:26 2015 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 A3F469C62F3 for ; Sun, 30 Aug 2015 16:05:26 +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 59322BF4 for ; Sun, 30 Aug 2015 16:05:25 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7UG5NjU010488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 11:05:24 -0500 Subject: Re: /etc files References: <55E32375.9060804@hiwaay.net> <55E32540.5090709@hiwaay.net> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E329C3.2000809@hiwaay.net> Date: Sun, 30 Aug 2015 11:10:53 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 16:05:26 -0000 On 08/30/15 11:02, doug@safeport.com wrote: > > > On Sun, 30 Aug 2015, William A. Mahaffey III wrote: > >> On 08/30/15 10:49, doug wrote: >>> On Sun, 30 Aug 2015, William A. Mahaffey III wrote: >>> >>>> I notice several files in my /etc directory whose filenames end in >>>> ':'. Are these system files ? If not, can I usefully delete them >>>> :-) ? TIA & have aq nice weekend. >>>> >>> >>> Compare /etc to /usr/src/etc >>> >> >> >> No such directory on my box, I am guessing my virtually exclusive use >> of pkgng to maintain packages might be to blame. Other ideas ? TIA & >> have a good one. >> > Modify freebsd-update to include src. Change components statement to be > Components src world kernel Hmmmm .... OK, I'll try that. Right now I just do a 'freebsd-update fetch install', or 'freebsd-update fetch; freebsd-update install', & I notice the Components line in freebsd-update.conf, so I (guess I) am off to the races. Thanks. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 16:08:56 2015 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 BC8CE9C6436 for ; Sun, 30 Aug 2015 16:08:56 +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 732DACDE for ; Sun, 30 Aug 2015 16:08:56 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7UG8sVM012024 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 11:08:55 -0500 Subject: Re: /etc files References: <55E32375.9060804@hiwaay.net> <55E32540.5090709@hiwaay.net> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E32A96.1080103@hiwaay.net> Date: Sun, 30 Aug 2015 11:14:24 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 16:08:56 -0000 On 08/30/15 11:02, doug@safeport.com wrote: > > > On Sun, 30 Aug 2015, William A. Mahaffey III wrote: > >> On 08/30/15 10:49, doug wrote: >>> On Sun, 30 Aug 2015, William A. Mahaffey III wrote: >>> >>>> I notice several files in my /etc directory whose filenames end in >>>> ':'. Are these system files ? If not, can I usefully delete them >>>> :-) ? TIA & have aq nice weekend. >>>> >>> >>> Compare /etc to /usr/src/etc >>> >> >> >> No such directory on my box, I am guessing my virtually exclusive use >> of pkgng to maintain packages might be to blame. Other ideas ? TIA & >> have a good one. >> > Modify freebsd-update to include src. Change components statement to be > Components src world kernel > Hmmmm .... Just tried that, did a 'freebsd-update fetch' & still no /usr/src/etc .... Clues ? TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 16:11:24 2015 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 7919B9C6601 for ; Sun, 30 Aug 2015 16:11:24 +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 495E41FC for ; Sun, 30 Aug 2015 16:11:24 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7UGBMXA012913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 11:11:23 -0500 Subject: Re: /etc files Cc: FreeBSD Questions !!!! References: <55E32375.9060804@hiwaay.net> <55E32540.5090709@hiwaay.net> <55E32A96.1080103@hiwaay.net> From: "William A. Mahaffey III" Message-ID: <55E32B2A.3080605@hiwaay.net> Date: Sun, 30 Aug 2015 11:16:52 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E32A96.1080103@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 16:11:24 -0000 On 08/30/15 11:13, William A. Mahaffey III wrote: > On 08/30/15 11:02, doug@safeport.com wrote: >> >> >> On Sun, 30 Aug 2015, William A. Mahaffey III wrote: >> >>> On 08/30/15 10:49, doug wrote: >>>> On Sun, 30 Aug 2015, William A. Mahaffey III wrote: >>>> >>>>> I notice several files in my /etc directory whose filenames end in >>>>> ':'. Are these system files ? If not, can I usefully delete them >>>>> :-) ? TIA & have aq nice weekend. >>>>> >>>> >>>> Compare /etc to /usr/src/etc >>>> >>> >>> >>> No such directory on my box, I am guessing my virtually exclusive >>> use of pkgng to maintain packages might be to blame. Other ideas ? >>> TIA & have a good one. >>> >> Modify freebsd-update to include src. Change components statement to be >> Components src world kernel >> > > > Hmmmm .... Just tried that, did a 'freebsd-update fetch' & still no > /usr/src/etc .... Clues ? TIA & have a good one. BTW: [root@kabini1, /etc, 11:15:51am] 375 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p21 FreeBSD 9.3-RELEASE-p21 #0: Tue Jul 28 09:02:48 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 11:16:55am] 376 % forgot that earlier, sorry :-/ .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 16:22:41 2015 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 5B2279C6CBC for ; Sun, 30 Aug 2015 16:22:41 +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 22807B35 for ; Sun, 30 Aug 2015 16:22:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 359863CEF5; Sun, 30 Aug 2015 18:22:37 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t7UGMb8F001984; Sun, 30 Aug 2015 18:22:37 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 30 Aug 2015 18:22:37 +0200 From: Polytropon To: Warren Block Cc: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD Message-Id: <20150830182237.5a39e04c.freebsd@edvax.de> In-Reply-To: References: <20150829220311.c7608be1.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: Sun, 30 Aug 2015 16:22:41 -0000 On Sun, 30 Aug 2015 06:58:42 -0600 (MDT), Warren Block wrote: > On Sat, 29 Aug 2015, Polytropon wrote: > > > On Fri, 28 Aug 2015 12:47:30 -0600 (MDT), Warren Block wrote: > >> If you are a belt-and-suspenders type, create a smallish, maybe 4G, > >> partition on the drive that will never be used and leave it empty. > >> Don't write to it, ever. This is called over-provisioning. The drive > >> sees that all those blocks are free and it can swap them around for wear > >> leveling. This can be used in addition to trim. > > > > To extend the idea (because sometimes I am the axe-and-byrnie type): > > Does this also work with _no_ partitions at all? For example, when > > the device is formatted "as a whole" (dedicated), like > > > > # bsdlabel -w ada0 > > # bsdlabel -e ada0 > > set type "4.2BSD" for 'a' partition > > make 'a' same size as 'c' > > save > > # newfs -m 0 -i 16384 -b 16384 -f 2048 -U -t enable -n disable -L ssdroot /dev/ada0a > > # bsdlabel -B ada0 > > > > where /dev/ada0a has been prepared with bsdlabel to span the entire > > device (as in the example) - or in this case, to be a little bit > > less (4G) than the whole disk capacity? > > Making a partition for free space is one way. Another way is to leave > part of the drive unpartitioned. Either one just guarantees there is a > good supply of unused blocks available to the drive. Thanks for this answer. I will probably use this approach when new SSDs come into use here (for single-user all-in-one laptop systems typically). > I'm fairly sure that UFS does not write to every block under its control > even during a format. Correct, it doesn't. It simply initializes a subset of locations on disk and leaves the majority of allocated disk space untouched. It will receive writes as soon as there are _actual_ writes to the file system. That's one of the reasons newfs is so damn fast even if you format a 2 TB hard disk. :-) > Until written as part of a file, those blocks are > also known to be unused. So forcing extra unused space is probably > unnecessary most of the time. Still I believe it's a good idea to have some "spare space" available that is guaranteed to _not_ go into use. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Aug 30 16:29:43 2015 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 AE9719C6FB1 for ; Sun, 30 Aug 2015 16:29:43 +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 77FC8C77 for ; Sun, 30 Aug 2015 16:29:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 53E823CE47; Sun, 30 Aug 2015 18:29:41 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t7UGTfVI002002; Sun, 30 Aug 2015 18:29:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 30 Aug 2015 18:29:40 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: /etc files Message-Id: <20150830182940.38e81873.freebsd@edvax.de> In-Reply-To: <55E32375.9060804@hiwaay.net> References: <55E32375.9060804@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 16:29:43 -0000 On Sun, 30 Aug 2015 10:43:59 -0453.75, William A. Mahaffey III wrote: > I notice several files in my /etc directory whose filenames end in ':'. > Are these system files ? If not, can I usefully delete them :-) ? TIA & > have aq nice weekend. Never heared of those... can you provide an example? Maybe some timestamped backup files? But who would store them in /etc? And why should they end in ':'? Aside of file names, what do those files contain? Can you show or tell? And what are their creation timestamps? As it has been suggested, add the "src" component in /etc/freebsd-update.conf and fetch+install it, then compare to /usr/src/etc, which is the "template" from which /etc will be generated. To summarize: Files ending in ':' probably do not belong to /etc. COM1: :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Aug 30 16:44:23 2015 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 2516B9C47BC for ; Sun, 30 Aug 2015 16:44:23 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA39F69B for ; Sun, 30 Aug 2015 16:44:22 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7UGiKnU026854 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 11:44:21 -0500 Subject: Re: /etc files References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E332E4.2070400@hiwaay.net> Date: Sun, 30 Aug 2015 11:49:50 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150830182940.38e81873.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: Sun, 30 Aug 2015 16:44:23 -0000 On 08/30/15 11:35, Polytropon wrote: > On Sun, 30 Aug 2015 10:43:59 -0453.75, William A. Mahaffey III wrote: >> I notice several files in my /etc directory whose filenames end in ':'. >> Are these system files ? If not, can I usefully delete them :-) ? TIA & >> have aq nice weekend. > Never heared of those... can you provide an example? > Maybe some timestamped backup files? But who would > store them in /etc? And why should they end in ':'? > > Aside of file names, what do those files contain? > Can you show or tell? > > And what are their creation timestamps? > > As it has been suggested, add the "src" component > in /etc/freebsd-update.conf and fetch+install it, > then compare to /usr/src/etc, which is the "template" > from which /etc will be generated. > > To summarize: Files ending in ':' probably do not > belong to /etc. > > > > COM1: :-) From last nights backup: [wam@Q6600, ~, 11:46:03am] 1369 % lf /home/rsync/Jaguar/etc/*: /home/rsync/Jaguar/etc/enabled: /home/rsync/Jaguar/etc/fingerprints: /home/rsync/Jaguar/etc/mirror_type: /home/rsync/Jaguar/etc/signature_type: [wam@Q6600, ~, 11:46:09am] 1370 % file !$ file /home/rsync/Jaguar/etc/*: /home/rsync/Jaguar/etc/enabled:: ASCII text /home/rsync/Jaguar/etc/fingerprints:: empty /home/rsync/Jaguar/etc/mirror_type:: empty /home/rsync/Jaguar/etc/signature_type:: empty [wam@Q6600, ~, 11:46:14am] 1371 % ll !$ ll /home/rsync/Jaguar/etc/*: -rw-r--r--. 1 wam users 143851520 Sep 3 2014 /home/rsync/Jaguar/etc/enabled: -rw-r--r--. 1 wam users 0 Sep 3 2014 /home/rsync/Jaguar/etc/fingerprints: -rw-r--r--. 1 wam users 0 Sep 3 2014 /home/rsync/Jaguar/etc/mirror_type: -rw-r--r--. 1 wam users 0 Sep 3 2014 /home/rsync/Jaguar/etc/signature_type: [wam@Q6600, ~, 11:46:20am] 1372 % I did the mod to freebsd-update.conf & did a fetch, but not an install (yet), is that required ? I see no /usr/src/etc directory after the fetch, so I surmise that the update is required, no ? If so, I will do that from a console login to minimize disturbances to the force, not the XFCE/rxvt ssh-root-login I currently have open .... FreeBSD 9.3R-p21, BTW .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 17:01:57 2015 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 E59819C5306 for ; Sun, 30 Aug 2015 17:01:57 +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 72E90F1D for ; Sun, 30 Aug 2015 17:01:56 +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 t7UH1sNB027524; Sun, 30 Aug 2015 18:01:54 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: /etc files To: "William A. Mahaffey III" , FreeBSD Questions !!!! References: <55E32375.9060804@hiwaay.net> From: Arthur Chance Message-ID: <55E33702.8020708@qeng-ho.org> Date: Sun, 30 Aug 2015 18:01:54 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E32375.9060804@hiwaay.net> 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: Sun, 30 Aug 2015 17:01:58 -0000 On 30/08/2015 16:36, William A. Mahaffey III wrote: > I notice several files in my /etc directory whose filenames end in ':'. > Are these system files ? If not, can I usefully delete them :-) ? TIA & > have aq nice weekend. Highly unlikely, but you can check by fetching base.txz from ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/9.3-RELEASE/ and having a look at what would install in /etc. Getting the release tar files is a useful trick, I also use it to build jails. -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Sun Aug 30 17:33:40 2015 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 6C0129C63B5 for ; Sun, 30 Aug 2015 17:33:40 +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 0E9961F17 for ; Sun, 30 Aug 2015 17:33:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 82B223CEFA; Sun, 30 Aug 2015 19:33:37 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t7UHXbxF002229; Sun, 30 Aug 2015 19:33:37 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 30 Aug 2015 19:33:37 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: /etc files Message-Id: <20150830193337.2b7757ce.freebsd@edvax.de> In-Reply-To: <55E332E4.2070400@hiwaay.net> References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 17:33:40 -0000 On Sun, 30 Aug 2015 11:49:50 -0453.75, William A. Mahaffey III wrote: > On 08/30/15 11:35, Polytropon wrote: > > On Sun, 30 Aug 2015 10:43:59 -0453.75, William A. Mahaffey III wrote: > >> I notice several files in my /etc directory whose filenames end in ':'. > >> Are these system files ? If not, can I usefully delete them :-) ? TIA & > >> have aq nice weekend. > > Never heared of those... can you provide an example? > > Maybe some timestamped backup files? But who would > > store them in /etc? And why should they end in ':'? > > > > Aside of file names, what do those files contain? > > Can you show or tell? > > > > And what are their creation timestamps? > > > > As it has been suggested, add the "src" component > > in /etc/freebsd-update.conf and fetch+install it, > > then compare to /usr/src/etc, which is the "template" > > from which /etc will be generated. > > > > To summarize: Files ending in ':' probably do not > > belong to /etc. > > > > > > > > COM1: :-) > > > From last nights backup: > > > [wam@Q6600, ~, 11:46:03am] 1369 % lf /home/rsync/Jaguar/etc/*: > /home/rsync/Jaguar/etc/enabled: /home/rsync/Jaguar/etc/fingerprints: > /home/rsync/Jaguar/etc/mirror_type: /home/rsync/Jaguar/etc/signature_type: > [wam@Q6600, ~, 11:46:09am] 1370 % file !$ > file /home/rsync/Jaguar/etc/*: > /home/rsync/Jaguar/etc/enabled:: ASCII text > /home/rsync/Jaguar/etc/fingerprints:: empty > /home/rsync/Jaguar/etc/mirror_type:: empty > /home/rsync/Jaguar/etc/signature_type:: empty Empty files and a text file, and ending in ':', very strange. However, a process with root privilege must have written them because /etc is (or _should be_) writable by root only. What does /etc/enabled: contain? > [wam@Q6600, ~, 11:46:14am] 1371 % ll !$ > ll /home/rsync/Jaguar/etc/*: > -rw-r--r--. 1 wam users 143851520 Sep 3 2014 > /home/rsync/Jaguar/etc/enabled: > -rw-r--r--. 1 wam users 0 Sep 3 2014 > /home/rsync/Jaguar/etc/fingerprints: > -rw-r--r--. 1 wam users 0 Sep 3 2014 > /home/rsync/Jaguar/etc/mirror_type: > -rw-r--r--. 1 wam users 0 Sep 3 2014 > /home/rsync/Jaguar/etc/signature_type: And _this_ is very strange: Those look like user files. How did they get (a) into the original /etc, or (b) into its backup which you're showing the listing from? > I did the mod to freebsd-update.conf & did a fetch, but not an install > (yet), is that required ? Yes. The "fetch" operation will only download the changes, but "install" will actually put them in place. Of course you could manually extract what "fetch" has already down- loaded and find /usr/src. However, none of the names looks familiar to me in a context that they would somehow deserve to exist in /etc... > I see no /usr/src/etc directory after the > fetch, so I surmise that the update is required, no ? Correct. If not present yet, it will be generated and populated automatically when you do the "install" step. > If so, I will do > that from a console login to minimize disturbances to the force, not the > XFCE/rxvt ssh-root-login I currently have open .... It shouldn't matter. It's basically just an archive decompression process. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Aug 30 18:26:33 2015 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 D8C019C6AAE for ; Sun, 30 Aug 2015 18:26:33 +0000 (UTC) (envelope-from doug@safeport.com) Received: from cyrus.watson.org (cyrus.watson.org [198.74.231.69]) by mx1.freebsd.org (Postfix) with ESMTP id 938BC1C86 for ; Sun, 30 Aug 2015 18:26:33 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 0948946B35; Sun, 30 Aug 2015 14:26:26 -0400 (EDT) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.15.2/8.15.2) with ESMTP id t7UIQPSD022727; Sun, 30 Aug 2015 14:26:25 -0400 (EDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.15.2/8.15.2/Submit) with ESMTP id t7UIQPbc022722; Sun, 30 Aug 2015 14:26:25 -0400 (EDT) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Sun, 30 Aug 2015 14:26:25 -0400 (EDT) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org Reply-To: doug@fledge.watson.org To: Polytropon cc: "William A. Mahaffey III" , FreeBSD Questions !!!! Subject: Re: /etc files In-Reply-To: <20150830193337.2b7757ce.freebsd@edvax.de> Message-ID: References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <20150830193337.2b7757ce.freebsd@edvax.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (fledge.watson.org [127.0.0.1]); Sun, 30 Aug 2015 19:26:25 +0100 (BST) 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, 30 Aug 2015 18:26:33 -0000 On Sun, 30 Aug 2015, Polytropon wrote: > On Sun, 30 Aug 2015 11:49:50 -0453.75, William A. Mahaffey III wrote: >> On 08/30/15 11:35, Polytropon wrote: >>> On Sun, 30 Aug 2015 10:43:59 -0453.75, William A. Mahaffey III wrote: >>>> I notice several files in my /etc directory whose filenames end in ':'. >>>> Are these system files ? If not, can I usefully delete them :-) ? TIA & >>>> have aq nice weekend. >>> Never heared of those... can you provide an example? >>> Maybe some timestamped backup files? But who would >>> store them in /etc? And why should they end in ':'? >>> >>> Aside of file names, what do those files contain? >>> Can you show or tell? >>> >>> And what are their creation timestamps? >>> >>> As it has been suggested, add the "src" component >>> in /etc/freebsd-update.conf and fetch+install it, >>> then compare to /usr/src/etc, which is the "template" >>> from which /etc will be generated. >>> >>> To summarize: Files ending in ':' probably do not >>> belong to /etc. >>> >>> >>> >>> COM1: :-) >> >> >> From last nights backup: >> >> >> [wam@Q6600, ~, 11:46:03am] 1369 % lf /home/rsync/Jaguar/etc/*: >> /home/rsync/Jaguar/etc/enabled: /home/rsync/Jaguar/etc/fingerprints: >> /home/rsync/Jaguar/etc/mirror_type: /home/rsync/Jaguar/etc/signature_type: >> [wam@Q6600, ~, 11:46:09am] 1370 % file !$ >> file /home/rsync/Jaguar/etc/*: >> /home/rsync/Jaguar/etc/enabled:: ASCII text >> /home/rsync/Jaguar/etc/fingerprints:: empty >> /home/rsync/Jaguar/etc/mirror_type:: empty >> /home/rsync/Jaguar/etc/signature_type:: empty > > Empty files and a text file, and ending in ':', very strange. > However, a process with root privilege must have written them > because /etc is (or _should be_) writable by root only. > > What does /etc/enabled: contain? > > > >> [wam@Q6600, ~, 11:46:14am] 1371 % ll !$ >> ll /home/rsync/Jaguar/etc/*: >> -rw-r--r--. 1 wam users 143851520 Sep 3 2014 >> /home/rsync/Jaguar/etc/enabled: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/fingerprints: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/mirror_type: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/signature_type: > > > And _this_ is very strange: Those look like user files. How > did they get (a) into the original /etc, or (b) into its > backup which you're showing the listing from? > > > >> I did the mod to freebsd-update.conf & did a fetch, but not an install >> (yet), is that required ? > > Yes. The "fetch" operation will only download the changes, > but "install" will actually put them in place. Of course > you could manually extract what "fetch" has already down- > loaded and find /usr/src. > > However, none of the names looks familiar to me in a > context that they would somehow deserve to exist in /etc... > > > >> I see no /usr/src/etc directory after the >> fetch, so I surmise that the update is required, no ? > > Correct. If not present yet, it will be generated and > populated automatically when you do the "install" step. > > > >> If so, I will do >> that from a console login to minimize disturbances to the force, not the >> XFCE/rxvt ssh-root-login I currently have open .... > > It shouldn't matter. It's basically just an archive > decompression process. :-) > On RELEASE FreeBSD 10.1-RELEASE #0 r274401 there is no /etc/enabled. What sequence causes this to be created? I frequently generate files with weird names by being careless with the mouse, ie doing a cut-and-paste and an immediate double-click that catches some portion of the screen above the command line. If you can reboot nothing fatal was done. You can usually pick out all such files by 'ls -lt | head -'. Any files past your last intensional change would be suspect. Any zero length files were created in some fashion similar to this. From owner-freebsd-questions@freebsd.org Sun Aug 30 18:32:54 2015 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 3C48C9C6E9E for ; Sun, 30 Aug 2015 18:32:54 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id EF156279 for ; Sun, 30 Aug 2015 18:32:53 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id DE028CB8CC2; Sun, 30 Aug 2015 13:05:39 -0500 (CDT) Received: from 76.193.17.15 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 30 Aug 2015 13:05:39 -0500 (CDT) Message-ID: <52248.76.193.17.15.1440957939.squirrel@cosmo.uchicago.edu> In-Reply-To: <20150830193337.2b7757ce.freebsd@edvax.de> References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <20150830193337.2b7757ce.freebsd@edvax.de> Date: Sun, 30 Aug 2015 13:05:39 -0500 (CDT) Subject: Re: /etc files From: "Valeri Galtsev" To: freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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, 30 Aug 2015 18:32:54 -0000 On Sun, August 30, 2015 12:33 pm, Polytropon wrote: > On Sun, 30 Aug 2015 11:49:50 -0453.75, William A. Mahaffey III wrote: >> On 08/30/15 11:35, Polytropon wrote: >> > On Sun, 30 Aug 2015 10:43:59 -0453.75, William A. Mahaffey III wrote: >> >> I notice several files in my /etc directory whose filenames end in >> ':'. >> >> Are these system files ? If not, can I usefully delete them :-) ? TIA >> & >> >> have aq nice weekend. >> > Never heared of those... can you provide an example? >> > Maybe some timestamped backup files? But who would >> > store them in /etc? And why should they end in ':'? >> > >> > Aside of file names, what do those files contain? >> > Can you show or tell? >> > >> > And what are their creation timestamps? >> > >> > As it has been suggested, add the "src" component >> > in /etc/freebsd-update.conf and fetch+install it, >> > then compare to /usr/src/etc, which is the "template" >> > from which /etc will be generated. >> > >> > To summarize: Files ending in ':' probably do not >> > belong to /etc. >> > >> > >> > >> > COM1: :-) >> >> >> From last nights backup: >> >> >> [wam@Q6600, ~, 11:46:03am] 1369 % lf /home/rsync/Jaguar/etc/*: >> /home/rsync/Jaguar/etc/enabled: /home/rsync/Jaguar/etc/fingerprints: >> /home/rsync/Jaguar/etc/mirror_type: >> /home/rsync/Jaguar/etc/signature_type: >> [wam@Q6600, ~, 11:46:09am] 1370 % file !$ >> file /home/rsync/Jaguar/etc/*: >> /home/rsync/Jaguar/etc/enabled:: ASCII text >> /home/rsync/Jaguar/etc/fingerprints:: empty >> /home/rsync/Jaguar/etc/mirror_type:: empty >> /home/rsync/Jaguar/etc/signature_type:: empty Doing grep piped to some other command or script while being in /etc (as root) can produce filenames ending with columns. If this was the case you may be able to find somewhere files with the same names but the column at the end (if they still exists on that box). Just a wild guess. Valeri > > Empty files and a text file, and ending in ':', very strange. > However, a process with root privilege must have written them > because /etc is (or _should be_) writable by root only. > > What does /etc/enabled: contain? > > > >> [wam@Q6600, ~, 11:46:14am] 1371 % ll !$ >> ll /home/rsync/Jaguar/etc/*: >> -rw-r--r--. 1 wam users 143851520 Sep 3 2014 >> /home/rsync/Jaguar/etc/enabled: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/fingerprints: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/mirror_type: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/signature_type: > > > And _this_ is very strange: Those look like user files. How > did they get (a) into the original /etc, or (b) into its > backup which you're showing the listing from? > > > >> I did the mod to freebsd-update.conf & did a fetch, but not an install >> (yet), is that required ? > > Yes. The "fetch" operation will only download the changes, > but "install" will actually put them in place. Of course > you could manually extract what "fetch" has already down- > loaded and find /usr/src. > > However, none of the names looks familiar to me in a > context that they would somehow deserve to exist in /etc... > > > >> I see no /usr/src/etc directory after the >> fetch, so I surmise that the update is required, no ? > > Correct. If not present yet, it will be generated and > populated automatically when you do the "install" step. > > > >> If so, I will do >> that from a console login to minimize disturbances to the force, not the >> XFCE/rxvt ssh-root-login I currently have open .... > > It shouldn't matter. It's basically just an archive > decompression process. :-) > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Sun Aug 30 19:59:59 2015 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 ECF1A9C5CCF for ; Sun, 30 Aug 2015 19:59:59 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 65D9715F for ; Sun, 30 Aug 2015 19:59:59 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local ([192.168.100.2]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7UJxoc0012408 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 30 Aug 2015 20:59:51 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t7UJxoc0012408 Authentication-Results: smtp.infracaninophile.co.uk/t7UJxoc0012408; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [192.168.100.2] claimed to be liminal.local Subject: Re: /etc files To: freebsd-questions@freebsd.org References: <55E32375.9060804@hiwaay.net> From: Matthew Seaman Message-ID: <55E360B0.4070703@FreeBSD.org> Date: Sun, 30 Aug 2015 20:59:44 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E32375.9060804@hiwaay.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aX26daUpRkkiIu6mp9cqi8fPtiM6V20k2" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 20:00:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aX26daUpRkkiIu6mp9cqi8fPtiM6V20k2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 30/08/2015 16:36, William A. Mahaffey III wrote: > I notice several files in my /etc directory whose filenames end in ':'.= > Are these system files ? If not, can I usefully delete them :-) ? TIA &= > have aq nice weekend. What files are those? What do they contain? I have none with that naming pattern on my system: lucid-nonsense:/home/matthew:# find /etc -name '*:' lucid-nonsense:/home/matthew:# Doesn't mean they aren't valid, but they don't sound like typical files you'ld find under /etc to me. --aX26daUpRkkiIu6mp9cqi8fPtiM6V20k2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJV42C2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATZQAP/isReVmykySjzh1QX8n0cHuQ 0hECnuYkbU63MyH/ep0hLYnzkMP5R/hhLGLkYBP/8WZ+BK9gw2Dmuhb0M43nxWuX HVvNK8o4SUN2NL+txBJZ84+eeYwU/jXsL7YdF+cVbBGH7cycFPNVJtaXjvjOdjVW kIXRveZfgJDmOu6pDquzD1lWjQvZicu+q0ITD6YZpIl0cUHTSFggbIE3695s6bgf 0TpfHMizuYlFdPINLkm2Chk3KAhyleEucjHbRcK9vIr6CmVr2VTzzad0k4Un5TVX /T8kRL7i76IC733Iza9/tDDv7YobvGp7krTror7aRx6tW3ED1L7bZD/dM52QRcKK 8jEktPpHW49GXTV7TDm3bJtRVLRqt64sbg9S4pijx74y+4dbc7aYHN1aQVb+j4cw 2W2w6TdaiqJOdTDZOzZEfIEk5XDEYLsI7QQTdovVLSll0JpghFBT08j91+SJVW0y fgKE+fYAHpy6nqBrSrfqeIbuS1mtR4DcSMGAa0TYPr7z9YFajr2I5RhYQuOCJv4v 36oLnMAmKgHJD3C2TWKMCC7s/13RxKO1T89JlHraf8XU6Q8Ddm9hIKZehn9qUe4D A9WGVE5ncUOzKgSTtOLdkFlEvp+B8oINuyPxuB0zOKYRpChubawTs3KiUxOlZIIn n7YGn0fJ5J21Xcr3SpdH =5gto -----END PGP SIGNATURE----- --aX26daUpRkkiIu6mp9cqi8fPtiM6V20k2-- From owner-freebsd-questions@freebsd.org Sun Aug 30 20:06:17 2015 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 CEA219C6061 for ; Sun, 30 Aug 2015 20:06:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 750D9953 for ; Sun, 30 Aug 2015 20:06:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local ([192.168.100.2]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7UK64bm012571 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 30 Aug 2015 21:06:05 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t7UK64bm012571 Authentication-Results: smtp.infracaninophile.co.uk/t7UK64bm012571; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [192.168.100.2] claimed to be liminal.local Subject: Re: /etc files To: freebsd-questions@freebsd.org References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55E3622C.8000800@FreeBSD.org> Date: Sun, 30 Aug 2015 21:06:04 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E332E4.2070400@hiwaay.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p9hXSFlU0apJXE3WmTFwnhqc4RfqqSuFS" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 20:06:18 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --p9hXSFlU0apJXE3WmTFwnhqc4RfqqSuFS Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 30/08/2015 17:42, William A. Mahaffey III wrote: > ll /home/rsync/Jaguar/etc/*: > -rw-r--r--. 1 wam users 143851520 Sep 3 2014 > /home/rsync/Jaguar/etc/enabled: > -rw-r--r--. 1 wam users 0 Sep 3 2014 > /home/rsync/Jaguar/etc/fingerprints: > -rw-r--r--. 1 wam users 0 Sep 3 2014 > /home/rsync/Jaguar/etc/mirror_type: > -rw-r--r--. 1 wam users 0 Sep 3 2014 > /home/rsync/Jaguar/etc/signature_type: Hmmm... this all looks somewhat familiar from pkg(8) configuration. Except what is used by pkg(8) is from inside the file /etc/pkg/FreeBSD.conf -- lucid-nonsense:/home/matthew:# cat /etc/pkg/FreeBSD.conf # $FreeBSD: stable/10/etc/pkg/FreeBSD.conf 263938 2014-03-30 15:29:54Z bdrewery $ # # To disable this repository, instead of modifying or removing this file,= # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: # # mkdir -p /usr/local/etc/pkg/repos # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.co= nf # FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } And, as it says, you shouldn't edit /etc/pkg/FreeBSD.conf, but instead create files in /usr/local/etc/pkg/repos if you want to override the defaults. Perhaps some shell script went a bit awry? Cheers, Matthew --p9hXSFlU0apJXE3WmTFwnhqc4RfqqSuFS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJV42IsXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT27MP+wT/XS7ggr+YSsrOObY3FFgT F06gLCj9aWuJwqlnWtsHW+G7Lgeux3+NzeqnNtONerokMKrlGtqRhhUiJ8u+NyHA SqF5MI1Qz9sBX15kP8qSvr282I03A/QqpTgVJjpVRs8VY57BnMyN0TnxchxYiiM1 ptHKSQhFytY6PxHdSN6sN1doanzk7OeBpgWbYvB5oH23xuTtHvqlC/Q5BnliLcVp 0EewTFrdeac+1kMTyOtI4W8wm8oaCKsD+hmyR5Cwc9B7j8lmV7aclyobDP48Fvog am/FBsJ/b/N9Y9kN/3PT6C6mMIorPs/FciB84W9YizNEFIP5QJ495c9QTy9I9U2n ivsqD7E24y8qEjHMDkE5pNWl0zDp6g14yiYhqw0VS9+H949xzJdthyxwlm5cg6r1 a7ECd1ThcgK5H1PEZEarmN9//PGE/U3OhEvgsgY2EF4vAIG6XN7kTSDZebtT0W2b UoJjFLwLAL+vCsppMt5C+4EhuXeawD1AsW4QZYt0kA7ospMZ6gLvxg16KRY7Wbf+ dhfDoSA7rAUzpGigqSLuY2mGU/z7bDG+LzeOfiAbslljQiI1mT2wELfmKmqA6Hq8 qClmAv0RvqtVgM7RI3mESv3c/gdd84jI0w2TO+xJUsMDwDvXHAx05zXVQPlQHcLp M7rPTcr4NKBM4SrQ00Zh =yfWQ -----END PGP SIGNATURE----- --p9hXSFlU0apJXE3WmTFwnhqc4RfqqSuFS-- From owner-freebsd-questions@freebsd.org Sun Aug 30 20:12:11 2015 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 F080D9C6344 for ; Sun, 30 Aug 2015 20:12:10 +0000 (UTC) (envelope-from ricky1252@hotmail.com) Received: from SNT004-OMC1S36.hotmail.com (snt004-omc1s36.hotmail.com [65.55.90.47]) (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 C09A2CA7 for ; Sun, 30 Aug 2015 20:12:10 +0000 (UTC) (envelope-from ricky1252@hotmail.com) Received: from SNT146-W51 ([65.55.90.8]) by SNT004-OMC1S36.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 30 Aug 2015 13:11:03 -0700 X-TMN: [ffiadaflbchb6FHAdoUJ/Ml3OZ2ueTuB] X-Originating-Email: [ricky1252@hotmail.com] Message-ID: From: Ricky G To: "dweimer@dweimer.net" CC: "freebsd-questions@freebsd.org" Subject: RE: Jail not starting at Boot Date: Sun, 30 Aug 2015 16:11:02 -0400 Importance: Normal In-Reply-To: <4437010e968d156ec6087a56bc334b40@dweimer.net> References: <4437010e968d156ec6087a56bc334b40@dweimer.net> MIME-Version: 1.0 X-OriginalArrivalTime: 30 Aug 2015 20:11:03.0100 (UTC) FILETIME=[FEDC67C0:01D0E35F] Content-Type: text/plain; charset="iso-8859-1" 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: Sun, 30 Aug 2015 20:12:11 -0000 Hello=2C I dunno if this will help... but I decided I would try. I'm not su= re why the one jail wont start=2C however I suggest trying to clean up your= config file. The issue could be parsing the config because its so long=2C = I will provide an example. ### jail.conf ### host.hostname =3D ${name}.dweimer.local=3Binterface =3D LAN=3Bpath =3D /jai= ls/${name}/ROOT=3Ballow.mount.devfs=3Bmount.devfs=3B mount.fstab =3D "/jails/${name}/fstab"=3Ballow.sysvipc=3Ballow.dying=3Bexec= .start =3D "/bin/sh /etc/rc"=3Bexec.stop =3D "/bin/sh /etc/rc.shutdown"=3B exec.prestart =3D "/jails/${name}/poststop.sh"=3Bexec.poststop =3D "/jails/= ${name}/poststop.sh"=3Bexec.consolelog =3D "/jails/${name}/console.log"=3B pgsql {ip4.addr =3D 192.168.5.6=3B} mysql {ip4.addr =3D 192.168.5.9=3B} ### EOF ### Basically when not in { } it is treated as a default value=2C this will mak= e the file much easier to read and manage. If you have a jail that does not= follow the defaults=2C then just add the value to that jail. Unfortunately I don't think this will solve the issue. I am wondering if th= e same jail will act up shutting down all jails then starting them via serv= ice jail start. > To: freebsd-questions@freebsd.org > Subject: Jail not starting at Boot > Date: Wed=2C 26 Aug 2015 08:50:02 -0500 > From: dweimer@dweimer.net >=20 > I have seven jails configured on my system=2C I have them configured to=20 > start at boot with the following lines in /etc/rc.conf >=20 > jail_enable=3D"YES" > jail_parallel_start=3D"YES" >=20 > They are all defined in /etc/jail.conf=2C here is the configuration from= =20 > the first two. They are all basically the same=2C except IP address and=20 > directories. A couple of the ones not included do have one additional=20 > entry=2C depend =3D "pgsql"=3B as they have services that can't start wit= hout=20 > the pgsql databases up. >=20 > # Define PostgreSQL Jail > pgsql { > host.hostname =3D pgsql.dweimer.local=3B > ip4.addr =3D 192.168.5.6=3B > interface =3D LAN=3B > path =3D /jails/pgsql/ROOT=3B > allow.mount.devfs=3B > mount.devfs=3B > mount.fstab =3D "/jails/pgsql/fstab"=3B > allow.sysvipc=3B > allow.dying=3B > exec.start =3D "/bin/sh /etc/rc"=3B > exec.stop =3D "/bin/sh /etc/rc.shutdown"=3B > exec.prestart =3D "/jails/pgsql/prestart.sh"=3B > exec.poststop =3D "/jails/pgsql/poststop.sh"=3B > exec.consolelog =3D "/jails/pgsql/console.log"=3B > } >=20 > # Define MySQL Jail > mysql { > host.hostname =3D mysql.dweimer.local=3B > ip4.addr =3D 192.168.5.9=3B > interface =3D LAN=3B > path =3D /jails/mysql/ROOT=3B > allow.mount.devfs=3B > mount.devfs=3B > allow.sysvipc=3B > allow.dying=3B > mount.fstab =3D "/jails/mysql/fstab"=3B > exec.start =3D "/bin/sh /etc/rc"=3B > exec.stop =3D "/bin/sh /etc/rc.shutdown"=3B > exec.prestart =3D "/jails/mysql/prestart.sh"=3B > exec.poststop =3D "/jails/mysql/poststop.sh"=3B > exec.consolelog =3D "/jails/mysql/console.log"=3B > } >=20 > The issue I have is that the mysql jail above doesn't start at boot=2C I= =20 > can't find any errors in any of the logs=2C all the other 6 start just=20 > fine. The exec.prestart and exec.poststop commands were added for=20 > troubleshooting=2C all they do is echo out the date and time that the=20 > command was called to the console log file for each jail. The mysql one=20 > doesn't get called at boot. All the jails cleanly shutdown when the=20 > server is shutdown=2C and the jail loads fine if I run jail -c mysql. I=20 > originally didn't have the jail_parallel_start=3D"YES" set=2C and had the= =20 > same issue. >=20 > Does anyone have any clue what to look for to determine what's stopping=20 > this jail from loading at boot? >=20 >=20 > --=20 > Thanks=2C > Dean E. Weimer > http://www.dweimer.net/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" = From owner-freebsd-questions@freebsd.org Sun Aug 30 21:10:30 2015 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 26EED9C62A0 for ; Sun, 30 Aug 2015 21:10:30 +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 E95967B4 for ; Sun, 30 Aug 2015 21:10:29 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7ULARla027071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 16:10:28 -0500 Subject: Re: /etc files References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <20150830193337.2b7757ce.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E37143.1060103@hiwaay.net> Date: Sun, 30 Aug 2015 16:15:57 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150830193337.2b7757ce.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; 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: Sun, 30 Aug 2015 21:10:30 -0000 On 08/30/15 12:39, Polytropon wrote: >> > From last nights backup: >> > >> > >> >[wam@Q6600, ~, 11:46:03am] 1369 % lf/home/rsync/Jaguar/etc/*: >> >/home/rsync/Jaguar/etc/enabled: /home/rsync/Jaguar/etc/fingerprints: >> >/home/rsync/Jaguar/etc/mirror_type: /home/rsync/Jaguar/etc/signature_type: >> >[wam@Q6600, ~, 11:46:09am] 1370 % file !$ >> >file/home/rsync/Jaguar/etc/*: >> >/home/rsync/Jaguar/etc/enabled:: ASCII text >> >/home/rsync/Jaguar/etc/fingerprints:: empty >> >/home/rsync/Jaguar/etc/mirror_type:: empty >> >/home/rsync/Jaguar/etc/signature_type:: empty > Empty files and a text file, and ending in ':', very strange. > However, a process with root privilege must have written them > because /etc is (or_should be_) writable by root only. > > What does /etc/enabled: contain? As near as I can tell, all lines containing one letter: 'y'. It's a huge file, so I didn't explore all of it .... > > >> >[wam@Q6600, ~, 11:46:14am] 1371 % ll !$ >> >ll/home/rsync/Jaguar/etc/*: >> >-rw-r--r--. 1 wam users 143851520 Sep 3 2014 >> >/home/rsync/Jaguar/etc/enabled: >> >-rw-r--r--. 1 wam users 0 Sep 3 2014 >> >/home/rsync/Jaguar/etc/fingerprints: >> >-rw-r--r--. 1 wam users 0 Sep 3 2014 >> >/home/rsync/Jaguar/etc/mirror_type: >> >-rw-r--r--. 1 wam users 0 Sep 3 2014 >> >/home/rsync/Jaguar/etc/signature_type: > And_this_ is very strange: Those look like user files. How > did they get (a) into the original /etc, or (b) into its > backup which you're showing the listing from? Yeah, I just noticed that, that's because the backup process is run by my regular user, not root. That's something I may review, I have always done backups as regular user in the past because it was user stuff getting backed up, however (as posted a last week or so) I am reviewing my backup practices & protocols .... Thanks :-). -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 21:19:33 2015 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 31D3B9C6622 for ; Sun, 30 Aug 2015 21:19:33 +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 DC5FDB1F for ; Sun, 30 Aug 2015 21:19:32 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7ULJUFj031104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 16:19:31 -0500 Subject: Re: /etc files References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <20150830193337.2b7757ce.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E37362.3040001@hiwaay.net> Date: Sun, 30 Aug 2015 16:25:00 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 21:19:33 -0000 On 08/30/15 13:32, doug@safeport.com wrote: >> > > On RELEASE FreeBSD 10.1-RELEASE #0 r274401 there is no /etc/enabled. > What sequence causes this to be created? > > I frequently generate files with weird names by being careless with > the mouse, ie doing a cut-and-paste and an immediate double-click that > catches some portion of the screen above the command line. If you can > reboot nothing fatal was done. You can usually pick out all such files > by 'ls -lt | head -'. Any files past your last intensional > change would be suspect. Any zero length files were created in some > fashion similar to this. I *think* that may have been the case here given the dates on the files (Sep., 2014), that's when I was still relatively new to FreBSD & I know I made some mistakes during configuration, & that's probably what happened. Inception date for this box was apparently Jul 10, 2014, & I had quite a few foulups during original build & configuration. Thanks :-). -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 21:21:53 2015 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 49E939C67F9 for ; Sun, 30 Aug 2015 21:21:53 +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 1B2A2E60 for ; Sun, 30 Aug 2015 21:21:52 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7ULLokv032053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 16:21:51 -0500 Subject: Re: /etc files To: freebsd-questions@freebsd.org References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <55E3622C.8000800@FreeBSD.org> From: "William A. Mahaffey III" Message-ID: <55E373EE.4080109@hiwaay.net> Date: Sun, 30 Aug 2015 16:27:20 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E3622C.8000800@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 21:21:53 -0000 On 08/30/15 15:12, Matthew Seaman wrote: > On 30/08/2015 17:42, William A. Mahaffey III wrote: >> ll /home/rsync/Jaguar/etc/*: >> -rw-r--r--. 1 wam users 143851520 Sep 3 2014 >> /home/rsync/Jaguar/etc/enabled: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/fingerprints: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/mirror_type: >> -rw-r--r--. 1 wam users 0 Sep 3 2014 >> /home/rsync/Jaguar/etc/signature_type: > Hmmm... this all looks somewhat familiar from pkg(8) configuration. > Except what is used by pkg(8) is from inside the file > /etc/pkg/FreeBSD.conf -- > > lucid-nonsense:/home/matthew:# cat /etc/pkg/FreeBSD.conf > # $FreeBSD: stable/10/etc/pkg/FreeBSD.conf 263938 2014-03-30 15:29:54Z > bdrewery $ > # > # To disable this repository, instead of modifying or removing this file, > # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: > # > # mkdir -p /usr/local/etc/pkg/repos > # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf > # > > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > > And, as it says, you shouldn't edit /etc/pkg/FreeBSD.conf, but instead > create files in /usr/local/etc/pkg/repos if you want to override the > defaults. > > Perhaps some shell script went a bit awry? > > Cheers, > > Matthew > > I *think* that may be the case given the dates on those files, it was either a then-new pkg burping or a still-way-too-noob root user fat-fingering something. Thanks :-). -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Aug 30 22:54:59 2015 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 B0BC19C49C1 for ; Sun, 30 Aug 2015 22:54:59 +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 80AA8E9B for ; Sun, 30 Aug 2015 22:54:59 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7UMsuUk002694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 17:54:57 -0500 Subject: Re: /etc files References: <55E32375.9060804@hiwaay.net> <20150830182940.38e81873.freebsd@edvax.de> <55E332E4.2070400@hiwaay.net> <20150830193337.2b7757ce.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E389C0.40509@hiwaay.net> Date: Sun, 30 Aug 2015 18:00:26 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150830193337.2b7757ce.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: Sun, 30 Aug 2015 22:54:59 -0000 On 08/30/15 12:39, Polytropon wrote: >> >I see no /usr/src/etc directory after the >> >fetch, so I surmise that the update is required, no ? > Correct. If not present yet, it will be generated and > populated automatically when you do the "install" step. > > > >> >If so, I will do >> >that from a console login to minimize disturbances to the force, not the >> >XFCE/rxvt ssh-root-login I currently have open .... > It shouldn't matter. It's basically just an archive > decompression process.:-) OK, I did a 'freebsd-update fetch install', but still no /usr/src/etc: . . . . The following files will be updated as part of updating to 9.3-RELEASE-p24: /boot/kernel/kernel /boot/kernel/kernel.symbols /usr/bin/slogin /usr/bin/ssh /usr/sbin/pkg /usr/sbin/sshd /usr/share/man/whatis Installing updates...install: ///usr/src/contrib/tzdata/zone1970.tab: No such file or directory install: ///usr/src/crypto/openssl/crypto/constant_time_locl.h: No such file or directory install: ///usr/src/crypto/openssl/crypto/constant_time_test.c: No such file or directory install: ///usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod: No such file or directory install: ///usr/src/crypto/openssl/test/constant_time_test.c: No such file or directory install: ///usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3: No such file or directory done. whew !!!! that took (31.574 cpu + 14.762 sys) sec., 1:13.50 elapsed time tot, 63.0% CPU efficiency (26 text, 754 data, 10068 max) KB, (5299+1434) io, 0 pfs + 0 swaps [root@kabini1, /etc, 5:57:44pm] 378 % lf /usr/src/ contrib/ [root@kabini1, /etc, 5:57:54pm] 379 % lf /usr/src/contrib/ file/ [root@kabini1, /etc, 5:57:57pm] 380 % lf /usr/src/contrib/file/ config.guess config.sub depcomp doc/ ltmain.sh magic/ missing src/ [root@kabini1, /etc, 5:58:00pm] 381 % Not a huge issue, since it now appears that the files in question were foulups, not something essential, but this is now a bit curious :-/ .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Aug 31 01:37:01 2015 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 41A129C67EA for ; Mon, 31 Aug 2015 01:37:01 +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 1499B134A for ; Mon, 31 Aug 2015 01:37:00 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7V1aqPG019703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 20:36:54 -0500 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: [(borderline) OT]: memtest question Message-ID: <55E3AFB4.9050607@hiwaay.net> Date: Sun, 30 Aug 2015 20:42:22 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.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, 31 Aug 2015 01:37:01 -0000 I downloaded Passmark memtest v6.0.0 some weeks ago & dd'ed it to a USB stick & used it to memtest a box I was then building, AMD 4256EE Opteron based server. Everything went AOK (IIRC) & the box is now in service. I am doing another one now (AMD A8 6500 CPU based) & the memtest seems to be stuck. I downloaded memtest86+ lastest from their site (5.0.1) & want to make another USB memtest stick out of it. I wound up going to the Passmark version back when because I could never get a bootable USB stick configured from this box (FreeBSD 9.3R-p24 now, ~p9 back then). I wound up using Passmark's disk image, dd-ing it to a USB stick under Linux, & all went well. The file I downloaded is called 'memtest86+-5.01.bin.gz' & file says it is just a compressed '.bin' file: [wam@kabini1, ~, 8:37:47pm] 407 % file Downloads/memtest86+/* Downloads/memtest86+/memtest86+-5.01.bin.gz: gzip compressed data, was "memtest86+-5.01.bin", last modified: Sat Aug 10 07:42:35 2013, from Unix Downloads/memtest86+/memtest86+-5.01.usb.installer.zip: Zip archive data, at least v2.0 to extract [wam@kabini1, ~, 8:37:54pm] 407 % I downloaded that installer hoping it would do the trick, but it is a '.exe' file, & I have no winders boxen on my LAN just now. How do I make a bootable USB stick from that memtest86+-5.01.bin file ? TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Aug 31 02:02:03 2015 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 691349C65EA for ; Mon, 31 Aug 2015 02:02:03 +0000 (UTC) (envelope-from zarniwhoop@ntlworld.com) Received: from know-smtprelay-omc-7.server.virginmedia.net (know-smtprelay-omc-7.server.virginmedia.net [80.0.253.71]) by mx1.freebsd.org (Postfix) with ESMTP id CB5F31E2C for ; Mon, 31 Aug 2015 02:02:01 +0000 (UTC) (envelope-from zarniwhoop@ntlworld.com) Received: from localhost.localdomain ([81.106.150.188]) by know-smtprelay-7-imp with bizsmtp id BE0r1r0034481jl01E0rg0; Mon, 31 Aug 2015 03:00:51 +0100 X-Originating-IP: [81.106.150.188] X-Spam: 0 X-Authority: v=2.1 cv=JuUM15MC c=1 sm=1 tr=0 a=DGj713NdaxKrsjjgQne7PA==:117 a=DGj713NdaxKrsjjgQne7PA==:17 a=NLZqzBF-AAAA:8 a=IkcTkHD0fZMA:10 a=uRRa74qj2VoA:10 a=I6Rh_O1cN7CNVK9K09IA:9 a=QEXdDO2ut3YA:10 Received: by localhost.localdomain (Postfix, from userid 500) id C6F5F879B8; Mon, 31 Aug 2015 02:59:22 +0100 (BST) Date: Mon, 31 Aug 2015 02:59:22 +0100 From: Ken Moffat To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: [(borderline) OT]: memtest question Message-ID: <20150831015922.GA6804@milliways> References: <55E3AFB4.9050607@hiwaay.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett Content-Transfer-Encoding: 8bit In-Reply-To: <55E3AFB4.9050607@hiwaay.net> 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: Mon, 31 Aug 2015 02:02:03 -0000 On Sun, Aug 30, 2015 at 08:42:22PM -0453, William A. Mahaffey III wrote: > > > I downloaded Passmark memtest v6.0.0 some weeks ago & dd'ed it to a USB > stick & used it to memtest a box I was then building, AMD 4256EE Opteron > based server. Everything went AOK (IIRC) & the box is now in service. I am > doing another one now (AMD A8 6500 CPU based) & the memtest seems to be > stuck. I downloaded memtest86+ lastest from their site (5.0.1) & want to > make another USB memtest stick out of it. I wound up going to the Passmark > version back when because I could never get a bootable USB stick configured > from this box (FreeBSD 9.3R-p24 now, ~p9 back then). I wound up using > Passmark's disk image, dd-ing it to a USB stick under Linux, & all went > well. The file I downloaded is called 'memtest86+-5.01.bin.gz' & file says > it is just a compressed '.bin' file: > I had never heard of passmark memtest until you mentioned it, but it appears to be the current version of memtest86, unless I am mistaken? Om ny current machines I happen to use memtest86+, but on _none_ of them does the "use all processors" variant run for more than a couple of minutes. So, do you really _need_ memtest86+5.01 ? Mine are all installed to /boot from linux, so I cannot offer any suggestions about how to install to a stick. But in theory, both are variants of the same test routine, and therefore either variant is *probably* good-enough for most people ? ĸen -- Il Porcupino Nil Sodomy Est! (if you will excuse my latatian) aka "The hedgehog song" From owner-freebsd-questions@freebsd.org Mon Aug 31 02:19:09 2015 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 495719C6DE9 for ; Mon, 31 Aug 2015 02:19:09 +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 1AAAE2D2 for ; Mon, 31 Aug 2015 02:19:08 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7V2J6P3002298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 30 Aug 2015 21:19:07 -0500 Subject: Re: [(borderline) OT]: memtest question References: <55E3AFB4.9050607@hiwaay.net> <20150831015922.GA6804@milliways> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E3B99A.9090501@hiwaay.net> Date: Sun, 30 Aug 2015 21:24:36 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150831015922.GA6804@milliways> Content-Type: text/plain; charset=utf-8; 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, 31 Aug 2015 02:19:09 -0000 On 08/30/15 21:05, Ken Moffat wrote: > On Sun, Aug 30, 2015 at 08:42:22PM -0453, William A. Mahaffey III wrote: >> >> I downloaded Passmark memtest v6.0.0 some weeks ago & dd'ed it to a USB >> stick & used it to memtest a box I was then building, AMD 4256EE Opteron >> based server. Everything went AOK (IIRC) & the box is now in service. I am >> doing another one now (AMD A8 6500 CPU based) & the memtest seems to be >> stuck. I downloaded memtest86+ lastest from their site (5.0.1) & want to >> make another USB memtest stick out of it. I wound up going to the Passmark >> version back when because I could never get a bootable USB stick configured >> from this box (FreeBSD 9.3R-p24 now, ~p9 back then). I wound up using >> Passmark's disk image, dd-ing it to a USB stick under Linux, & all went >> well. The file I downloaded is called 'memtest86+-5.01.bin.gz' & file says >> it is just a compressed '.bin' file: >> > I had never heard of passmark memtest until you mentioned it, but it > appears to be the current version of memtest86, unless I am mistaken? AFAIK, yes. > > Om ny current machines I happen to use memtest86+, but on _none_ of > them does the "use all processors" variant run for more than a > couple of minutes. So, do you really _need_ memtest86+5.01 ? Only if it works :-). > > Mine are all installed to /boot from linux, so I cannot offer any > suggestions about how to install to a stick. But in theory, both > are variants of the same test routine, and therefore either variant > is *probably* good-enough for most people ? > > ĸen I wanted to try 5.01 to see if it worked any better than the Passmark version, nothing more. There is a port of memtest86+ v4.2, but since the 5.01 claims July 2013 as its inception, I figured 4.20 would be even older, perhaps unable to work w/ this particular CPU. There is also something called 'memtester-4.3.0', would you happen to know anything about it ? The currently running memtest still shows its spinning state ASCII icon, & the time advances, but it the pass progress & test progress haven't changed in hours now .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Aug 31 05:13:17 2015 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 BD00D9C6B4E for ; Mon, 31 Aug 2015 05:13:17 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9FD741DA7 for ; Mon, 31 Aug 2015 05:13:17 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id t7V52xfG031970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 30 Aug 2015 22:03:00 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id t7V52wS9031969; Sun, 30 Aug 2015 22:02:58 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA09237; Sun, 30 Aug 15 21:56:47 PDT Date: Sun, 30 Aug 2015 21:58:22 -0700 From: perryh@pluto.rain.com (Perry Hutchison) To: mueller6724@bellsouth.net Cc: freebsd-questions@freebsd.org Subject: Re: disabling dhclient Message-Id: <55e3deee.rst6YFxS1jQ+SXFE%perryh@pluto.rain.com> References: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> <55e282fc.s+OSZJ/KaD3iwr7U%perryh@pluto.rain.com> <15727.94738.bm@smtp116.sbc.mail.ne1.yahoo.com> In-Reply-To: <15727.94738.bm@smtp116.sbc.mail.ne1.yahoo.com> User-Agent: nail 11.25 7/29/05 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, 31 Aug 2015 05:13:17 -0000 "Thomas Mueller" wrote: > I don't have ifconfig in /etc/rc.conf, dhclient never runs > automatically on my system. This is true for both FreeBSD > and NetBSD. That used to be true for this system also (or, if it ran, it didn't do anything). I don't know what changed. > There is a line in /etc/defaults/rc.conf > > dhclient_program="/sbin/dhclient" # Path to dhcp client program. > > Setting dhclient_program="/usr/bin/true" in /etc/rc.conf would > avoid the need to hack dhclient itself That still seems in the sledgehammer category, since I doubt it's the intended use of the knob (which is more likely intended to select a different DHCP client, perhaps from a port). However, it's worth a try. I suspect /bin/sync may be a better choice than /usr/bin/true, since devd can potentially fire up before /usr has been mounted; alternatively one could copy /usr/bin/true into /bin or /sbin (but then we are back to hacking on the system rather than configuring it). > I don't know if this would prevent dhclient from working from the > command line. If I'm understanding the /etc/dhclient script correctly, it would effectively disable that script -- which is perfectly OK for this particular situation. I would not expect any effect on running /sbin/dhclient directly. From owner-freebsd-questions@freebsd.org Mon Aug 31 05:29:22 2015 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 F34719C6301 for ; Mon, 31 Aug 2015 05:29:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B96ED39F for ; Mon, 31 Aug 2015 05:29:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 5B87F3CEF5; Mon, 31 Aug 2015 07:29:14 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t7V5TD0Y002026; Mon, 31 Aug 2015 07:29:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 31 Aug 2015 07:29:13 +0200 From: Polytropon To: perryh@pluto.rain.com (Perry Hutchison) Cc: mueller6724@bellsouth.net, freebsd-questions@freebsd.org Subject: Re: disabling dhclient Message-Id: <20150831072913.0363f0ce.freebsd@edvax.de> In-Reply-To: <55e3deee.rst6YFxS1jQ+SXFE%perryh@pluto.rain.com> References: <55e25852.0Xpg4zY1btmbpx9Z%perryh@pluto.rain.com> <55e282fc.s+OSZJ/KaD3iwr7U%perryh@pluto.rain.com> <15727.94738.bm@smtp116.sbc.mail.ne1.yahoo.com> <55e3deee.rst6YFxS1jQ+SXFE%perryh@pluto.rain.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 05:29:23 -0000 On Sun, 30 Aug 2015 21:58:22 -0700, Perry Hutchison wrote: > "Thomas Mueller" wrote: > > > There is a line in /etc/defaults/rc.conf > > > > dhclient_program="/sbin/dhclient" # Path to dhcp client program. > > > > Setting dhclient_program="/usr/bin/true" in /etc/rc.conf would > > avoid the need to hack dhclient itself > > That still seems in the sledgehammer category, since I doubt it's > the intended use of the knob (which is more likely intended to select > a different DHCP client, perhaps from a port). However, it's worth > a try. > > I suspect /bin/sync may be a better choice than /usr/bin/true, > since devd can potentially fire up before /usr has been mounted; > alternatively one could copy /usr/bin/true into /bin or /sbin (but > then we are back to hacking on the system rather than configuring > it). The choice of a "no action substitute" might be a problem when $dhclient_program is called with command line parameters. Such a program (or custom script) should accept possible parameters and ignore them. Of course, "sync" fulfills this requirement. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Aug 31 06:55:53 2015 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 7E02D9C4DA7 for ; Mon, 31 Aug 2015 06:55:53 +0000 (UTC) (envelope-from ehsan.tadayon1985@live.com) Received: from DUB004-OMC4S34.hotmail.com (dub004-omc4s34.hotmail.com [157.55.2.109]) (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 F3921160D for ; Mon, 31 Aug 2015 06:55:52 +0000 (UTC) (envelope-from ehsan.tadayon1985@live.com) Received: from DUB123-W20 ([157.55.2.71]) by DUB004-OMC4S34.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 30 Aug 2015 23:54:43 -0700 X-TMN: [fwqRqJXlxXbTVHE4vJskhVmmtxBgTCum] X-Originating-Email: [ehsan.tadayon1985@live.com] Message-ID: From: Ehsan Tadayon To: "freebsd-questions@freebsd.org" Subject: pkt-gen can not use all of available CPUs Date: Mon, 31 Aug 2015 11:24:43 +0430 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 31 Aug 2015 06:54:43.0417 (UTC) FILETIME=[EA5D1C90:01D0E3B9] Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: base64 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, 31 Aug 2015 06:55:53 -0000 aGVsbG9JIGhhdmUgYSBwcm9ibGVtIHdpdGggcGt0LWdlbiBzY3JpcHQgZHVyaW5nIHJ1bm5pbmcg dW5kZXIgVWJ1bnR1IDE0LjA0IHNlcnZlci4gSW4gZGV0YWlsLCB3aGVuIEkgcnVuIHRoaXMgc2Ny aXB0LCBpdCB1c2VzIG9ubHkgb25lIENQVSBjb3JlIGFuZCBJIGhhdmUgMTIgYXZhaWxhYmxlIGNv cmVzLiBIb3cgY2FuIGkgc2V0IHBrdC1nZXQgdG8gdXNlIGFsbCBhdmFpbGFibGUgY29yZXMgZm9y IHJ1bm5pbmc/IAkJIAkgICAJCSAg From owner-freebsd-questions@freebsd.org Mon Aug 31 08:45:11 2015 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 DB9CF9C7F28 for ; Mon, 31 Aug 2015 08:45: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 A45521327 for ; Mon, 31 Aug 2015 08:45:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id CE24427897; Mon, 31 Aug 2015 10:45:02 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t7V8j2gF002465; Mon, 31 Aug 2015 10:45:02 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 31 Aug 2015 10:45:02 +0200 From: Polytropon To: Ehsan Tadayon Cc: "freebsd-questions@freebsd.org" Subject: Re: pkt-gen can not use all of available CPUs Message-Id: <20150831104502.e30f1208.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: Mon, 31 Aug 2015 08:45:12 -0000 On Mon, 31 Aug 2015 11:24:43 +0430, Ehsan Tadayon wrote: > helloI have a problem with pkt-gen script during running > under Ubuntu 14.04 server. In detail, when I run this script, > it uses only one CPU core and I have 12 available cores. > How can i set pkt-get to use all available cores for running? You should probably address an Ubuntu-related mailing list or web forum with that question. This list, having the name of freebsd-questions@freebsd.org, is primarily intended for FreeBSD user questions. See http://lists.freebsd.org/mailman/listinfo/ for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Aug 31 11:30:06 2015 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 30E049C7646 for ; Mon, 31 Aug 2015 11:30:06 +0000 (UTC) (envelope-from luzar722@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 EBEB4FC for ; Mon, 31 Aug 2015 11:30:05 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by iods203 with SMTP id s203so154298846iod.0 for ; Mon, 31 Aug 2015 04:30:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=pojDJUG3jnngPYljFq1ibsNp97xqrgy3Coi83PHejN4=; b=QEFWYv+Z+fU+CyJ4Q6idJSasjuKvunPcmJeMQo7VjN8SMshL+PxbhfOYgBQ4AVwnfE sTH4WlLrM4Ud1wHpoYZ/yzvsHquNZPKedzO6AJZao7KbvPgbRlTp+eQTcXDZhC7f11R9 zSXgAlcBLI4OIe/DWCA75KMKF4tmDyIm1bbdmPcgkPEuKHc/IdmgNXol9WrDsn3Wtdz7 l90ePSG3Mawmhc7SO8VsWqRJNmzIPKijGLiM21FHl6gd5lMhur4aKUB0iyIndps3Z0kO cLw6l3Wsyl07wo/3/wa7kr5jb9r1aSNrCVWurWmrkvDdohPUXFwZ5qbtaEPAmTB47KDV jtJg== X-Received: by 10.107.162.9 with SMTP id l9mr23921434ioe.76.1441020605318; Mon, 31 Aug 2015 04:30:05 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by smtp.googlemail.com with ESMTPSA id j13sm10429509igf.6.2015.08.31.04.30.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 31 Aug 2015 04:30:04 -0700 (PDT) Message-ID: <55E43ABA.4090509@gmail.com> Date: Mon, 31 Aug 2015 07:30:02 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions Subject: cron_flags="-m not working Content-Type: text/plain; charset=UTF-8; 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, 31 Aug 2015 11:30:06 -0000 The host has a user account called bob. I want all cron email to go to bob and not root. I use postfix and sendmail is disabled. man cron says -m mailto Overrides the default recipient for cron mail. Each crontab(5) without MAILTO explicitly set will send mail to the mailto mail‐ box. Sending mail will be disabled by default if mailto set to a null string, usually specified in a shell as '' or "". I interpret that to mean I add cron_flags="-m option to /etc/rc.conf like this: cron_flags="-m bob@mymail.com" and reboot the host. I tried cron_flags="-m bob" cron_flags="-m 'bob'" cron_flags="-m bob@mymail.com" cron_flags="-m 'bob@mymail.com'" In all cases the daily cron email still went to root. Any ideas why it did not work and no errors were generated? From owner-freebsd-questions@freebsd.org Mon Aug 31 12:26:03 2015 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 46E4C9C63A1 for ; Mon, 31 Aug 2015 12:26:03 +0000 (UTC) (envelope-from r100500b@gmail.com) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C10B1116 for ; Mon, 31 Aug 2015 12:26:02 +0000 (UTC) (envelope-from r100500b@gmail.com) Received: by lbbtg9 with SMTP id tg9so59417213lbb.1 for ; Mon, 31 Aug 2015 05:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hA3fjEO605CGUf79Ecg+eU9s+peGSmNB8IxBA4fp4ls=; b=xFr6rPuZj5P/O+achY5SA0Iep4wB8OPfENH1jsOIQei+LKleg5KYST+huMSF8NWVkz ZF3BowVOCkRZIeUYM1apGPifY4Dcn4L4cJI7DaEp5OmnBsdDUxvutM0sWyGB9a0J9mMj ObvZ2iKP+ZHv9tnIREve7x6TBT9ZptvRJKQBk2QTSGM9F5Msuga2ye2G7WxoM9CtISZE AOWle9FenmHltw83JsKtWZz0jVD0yKYD9sjnOAeXOHmdCOoiWuL5poo9dIBIwV9Kmrz5 9rp3CgwjKZZrQX/xPIlzflEgQKqzjGztf/r4P+fier1z+MDy0Yel1oRjPW+XqdZAd98o XXMQ== MIME-Version: 1.0 X-Received: by 10.152.6.162 with SMTP id c2mr5414592laa.1.1441023960897; Mon, 31 Aug 2015 05:26:00 -0700 (PDT) Received: by 10.112.55.9 with HTTP; Mon, 31 Aug 2015 05:26:00 -0700 (PDT) In-Reply-To: <55E2FDFA.7090301@qeng-ho.org> References: <55DF057F.6040205@gmail.com> <55DF0C75.5000907@qeng-ho.org> <55DF0DB3.3040400@qeng-ho.org> <55E2F727.2040804@gmail.com> <55E2FDFA.7090301@qeng-ho.org> Date: Mon, 31 Aug 2015 15:26:00 +0300 Message-ID: Subject: Re: how to change daily cron emails to go to user account instead of root From: =?UTF-8?B?0KDRg9GB0LvQsNC9INCR0YPRgNGF0LDQvdC+0LI=?= To: Ernie Luzar Cc: freebsd-questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 12:26:03 -0000 Ernie, look: Open you rc.conf, copy string and modify flags for cron daemon: cron_flags=3D"-j 60 -m 'YOU@MAIL'" Then, restart cron daemon (it is not necessary reboot system): /etc/rc.d/cron restart Then take a look on cron process: ps auxww | grep cron If you doing all okey, it will be something like: root 561 0.0 0.1 7984 1528 ?? Is 3:16PM 0:00.01 /usr/sbin/cron -j 60 -m YOU@MAIL -s 2015-08-30 15:58 GMT+03:00 Arthur Chance : > On 30/08/2015 13:29, Ernie Luzar wrote: > >> =D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD =D0=91=D1=83=D1=80=D1=85=D0=B0=D0= =BD=D0=BE=D0=B2 wrote: >> >>> man cron >>> >>> -m mailto >>> Overrides the default recipient for cron mail. Each >>> crontab(5) >>> without MAILTO explicitly set will send mail to the >>> mailto mail=E2=80=90 >>> box. Sending mail will be disabled by default if mailto >>> set to a >>> null string, usually specified in a shell as '' or "". >>> >>> So you just can add this option on cron flags from rc.conf, like: >>> >>> cron_flags=3D"-m 'root@mymail.com '" >>> >>> and restart cron daemon. >>> >> snip >> >> This method seemed the simplest so I gave it a try. >> The host has a user account called bob. I want all cron email to go to >> bob and not root. >> I use postfix and sendmail is disabled. >> >> I put cron_flags=3D"-m bob" in /etc/rc.conf and rebooted the host. >> Next morning the daily cron email still went to root. >> >> 1. Is there a way to scan rc.conf to verify all the included options are >> valid and accepted? >> 2. Since root and bob are on the same host is @mydomain really required? >> 3. Any ideas why it did not work and no errors were generated? >> > > The periodic script does its own output using this: > > output_pipe() > { > # Where's our output going ? > eval output=3D\$${1##*/}_output > case "$output" in > /*) pipe=3D"cat >>$output";; > "") pipe=3Dcat;; > *) pipe=3D"mail -E -s '$host ${2}${2:+ }${1##*/} run output' $output= ";; > esac > eval $pipe > } > > You need to override the various *_output variables periodic uses in > /etc/periodic.conf. See my earlier mail on the subject. > > -- > Those who do not learn from computing history are doomed to > GOTO 1 > From owner-freebsd-questions@freebsd.org Mon Aug 31 13:02:01 2015 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 43E119C74CA for ; Mon, 31 Aug 2015 13:02:01 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E55CFAFB for ; Mon, 31 Aug 2015 13:02:00 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wicpl12 with SMTP id pl12so32904045wic.0 for ; Mon, 31 Aug 2015 06:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=g8h+hjHNetbu7wacjc2BIobWaXqmAS75acIoYoTBdU4=; b=DrAYk32MD1rmSq6fBXtfImwGgJK61ythd6ZHO4ObkX4u5DFFLaWXjJ4LoKZLWOzWQt IMv1TNqGamyST2scmCp5IQV+7QmcOzw0mcnPNeEeI5R5RjmsszGmhiL88oy6YRtf3KOo bWjsiOcTekgwALd165MBGAX5OqTM7kwMqPqiB3iK6ASvk/I0bQod5HEXlYMtFMG/+/yQ 6IwFQCDhT+M8QTGLLjyb5aJRQfl+jF2jVk1lxSaWuxA/YnF7sKNlAHgV0eAI8sTv6MHL oPhgbl3pmHkXPmMhSqqzJVVqk9AsWentsqiTd/CLEMrnvLo4EfFMGunL9KGGObRIRyiE EiYA== X-Received: by 10.194.79.225 with SMTP id m1mr27540749wjx.8.1441026119241; Mon, 31 Aug 2015 06:01:59 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.198.255]) by smtp.gmail.com with ESMTPSA id ja8sm22140062wjb.13.2015.08.31.06.01.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Aug 2015 06:01:58 -0700 (PDT) Date: Mon, 31 Aug 2015 14:01:57 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: cron_flags="-m not working Message-ID: <20150831140157.2a521da9@gumby.homeunix.com> In-Reply-To: <55E43ABA.4090509@gmail.com> References: <55E43ABA.4090509@gmail.com> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 13:02:01 -0000 On Mon, 31 Aug 2015 07:30:02 -0400 Ernie Luzar wrote: > The host has a user account called bob. I want all cron email to go > to bob and not root. ull string, usually specified in a shell as '' or "". > > I interpret that to mean I add cron_flags="-m option to /etc/rc.conf > like this: > > cron_flags="-m bob@mymail.com" > > In all cases the daily cron email still went to root. > > Any ideas why it did not work and no errors were generated? You've already been told. The periodic scripts are run from cron, but they handle their own logging; read the previous thread. From owner-freebsd-questions@freebsd.org Mon Aug 31 13:32:16 2015 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 4FC629C61E1 for ; Mon, 31 Aug 2015 13:32:16 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (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 25F701F71 for ; Mon, 31 Aug 2015 13:32:15 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id CA3A73F710 for ; Mon, 31 Aug 2015 09:32:07 -0400 (EDT) Message-ID: <55E45757.9000901@sneakertech.com> Date: Mon, 31 Aug 2015 09:32:07 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <55DEFB5A.3080408@FreeBSD.org> <55DEFC74.3040609@sneakertech.com> <20150828000602.b9a288a8.freebsd@edvax.de> <20150829220809.438bbf30.freebsd@edvax.de> In-Reply-To: <20150829220809.438bbf30.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 13:32:16 -0000 > The remaining question is: Is it technically valid to > remove a device special file from the devfs file system > corresponding to a device that currently is not in use > (anymore), but is _present_ (attached to the system in > some way)? I keep using OSX as a point of reference, but the way they do it is that once the drive has been "ejected", it's effectively not present anymore. Their mental model is that a drive can be physically attached without being 'connected' software-wise, just that the process of establishing that connection when a device is plugged in has been automated. Personally I've never had a problem with this mental model. Many different things can be physically plugged into a computer without actually functioning (ie; network cable) so I don't see why drives should have special rules. Any anyway, when I eject a drive it's because I'm about to physically remove it. From owner-freebsd-questions@freebsd.org Mon Aug 31 13:41:08 2015 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 BB9869C6929 for ; Mon, 31 Aug 2015 13:41:08 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (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 9C66D1806 for ; Mon, 31 Aug 2015 13:41:08 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id 994A23F6FB for ; Mon, 31 Aug 2015 09:41:07 -0400 (EDT) Message-ID: <55E45973.2050103@sneakertech.com> Date: Mon, 31 Aug 2015 09:41:07 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD References: <20150829220311.c7608be1.freebsd@edvax.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 13:41:08 -0000 > Making a partition for free space is one way. Another way is to leave > part of the drive unpartitioned. Either one just guarantees there is a > good supply of unused blocks available to the drive. I'm not super well versed on exactly how SSD TRIM works. How does the drive in question know which blocks are or aren't free, isn't that a function of the filesystem? For that matter, how does the drive even "know" which parts are or aren't partitioned, it's not like they're programmed to understand MBR vs GPT, etc. How does the system communicate to the drive firmware layer which blocks are in use? Simply assuming based on if or how long ago it was written to can't possibly be a workable solution. I'm not convinced that leaving large chunks of the drive 'free' has any effect on wear leveling. From owner-freebsd-questions@freebsd.org Mon Aug 31 13:51:18 2015 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 352489C6DDD for ; Mon, 31 Aug 2015 13:51:18 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) (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 BCFEC1DF3 for ; Mon, 31 Aug 2015 13:51:17 +0000 (UTC) (envelope-from ml@my.gd) Received: by labnh1 with SMTP id nh1so46491466lab.3 for ; Mon, 31 Aug 2015 06:51:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=eBxd2iLFqG93aFAujSwyDsZuGQl4c8qO0iWjMTdiirs=; b=kciQ4Kf8c2bkVENJNCBMbP5mqFHBm6vjNj0AMpo1miW+TJx6Bc8VTkA96D9/usAIZd tP54Ta+o/0bTVcej4dbueAVfUhbS5ig5d74CDCzI9d9puvMz8vjIqS/c1W74ZxRcMwwG 5JZQ0CWclP34xRDc4wfVOhJYOnleLthwcwE34d5YSfBV2yLTwayaBQ9g12RQFeDZzHuP 904QYrF742pcuAXa/DWvRWtPi9MR3z6yTDisuguMWvmdF8XCIgk4r91EuG0o0znr/XVq qacEIoxCo6jRmczwvL96hxm2dAL83PcEye3iM/S1wNtD+ojKO6IaBWWGMNQTClfmE/c1 3Hxw== X-Gm-Message-State: ALoCoQl8PGaWKjy97UxzcmyI5jMI7nZcNiW1dM86JAnia3eIj1Skay5sFEmdBfIUJedEsnoJl5tu MIME-Version: 1.0 X-Received: by 10.152.170.130 with SMTP id am2mr10408770lac.54.1441029069167; Mon, 31 Aug 2015 06:51:09 -0700 (PDT) Received: by 10.112.60.34 with HTTP; Mon, 31 Aug 2015 06:51:09 -0700 (PDT) Date: Mon, 31 Aug 2015 15:51:09 +0200 Message-ID: Subject: BIND - disabling IPv6 lookups From: Damien Fleuriot To: "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, 31 Aug 2015 13:51:18 -0000 Hello list, I'm currently experiencing this very weird behaviour with BIND 9.8.7 running on 10-STABLE and, obviously, installed from ports. I'm trying to prevent BIND from trying to resolve AAAA resource records. To this effect, I've added : named_flags="-4" to /etc/rc.conf, as the man page and several google searches suggest [1] After restarting BIND, I see it's come back alive with the correct startup flag : /usr/local/sbin/named -4 -u bind -c /usr/local/etc/namedb/named.con However, I still see queries for AAAA records : 13:39:26.990819 IP 10.104.10.252.54566 > 195.158[snip].53: 43577+ [1au] AAAA? www.tvsembox.com. (45) Is that expected behaviour ? And yes, 10.104.10.252 is the actual FreeBSD box, not a client host trying to resolve stuff. [1] https://www.sbarjatiya.com/notes_wiki/index.php/Disabling_IPv6_lookups_in_bind From owner-freebsd-questions@freebsd.org Mon Aug 31 14:16:55 2015 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 49E099C7611 for ; Mon, 31 Aug 2015 14:16:55 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E2B9C934 for ; Mon, 31 Aug 2015 14:16:54 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 8629943d; Mon, 31 Aug 2015 10:16:47 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 563a34b7; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 31 Aug 2015 10:16:46 -0400 (EDT) Message-ID: <1441030711.3150.13.camel@michaeleichorn.com> Subject: Re: [(borderline) OT]: memtest question From: "Michael B. Eichorn" To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Date: Mon, 31 Aug 2015 10:18:31 -0400 In-Reply-To: <55E3B99A.9090501@hiwaay.net> References: <55E3AFB4.9050607@hiwaay.net> <20150831015922.GA6804@milliways> <55E3B99A.9090501@hiwaay.net> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-YUs3h2jzo3HRuc+/vA2Y" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 14:16:55 -0000 --=-YUs3h2jzo3HRuc+/vA2Y Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2015-08-30 at 21:24 +0000, William A. Mahaffey III wrote: > On 08/30/15 21:05, Ken Moffat wrote: > > On Sun, Aug 30, 2015 at 08:42:22PM -0453, William A. Mahaffey III > > wrote: > > >=20 > > > I downloaded Passmark memtest v6.0.0 some weeks ago & dd'ed it to a > > > USB > > > stick & used it to memtest a box I was then building, AMD 4256EE > > > Opteron > > > based server. Everything went AOK (IIRC) & the box is now in > > > service. I am > > > doing another one now (AMD A8 6500 CPU based) & the memtest seems > > > to be > > > stuck. I downloaded memtest86+ lastest from their site (5.0.1) & > > > want to > > > make another USB memtest stick out of it. I wound up going to the > > > Passmark > > > version back when because I could never get a bootable USB stick > > > configured > > > from this box (FreeBSD 9.3R-p24 now, ~p9 back then). I wound up > > > using > > > Passmark's disk image, dd-ing it to a USB stick under Linux, & all > > > went > > > well. The file I downloaded is called 'memtest86+-5.01.bin.gz' & > > > file says > > > it is just a compressed '.bin' file: > > >=20 > > I had never heard of passmark memtest until you mentioned it, but it > > appears to be the current version of memtest86, unless I am mistaken? >=20 > AFAIK, yes. >=20 > >=20 > > Om ny current machines I happen to use memtest86+, but on _none_ of > > them does the "use all processors" variant run for more than a > > couple of minutes. So, do you really _need_ memtest86+5.01 ? >=20 > Only if it works :-). >=20 > >=20 > > Mine are all installed to /boot from linux, so I cannot offer any > > suggestions about how to install to a stick. But in theory, both > > are variants of the same test routine, and therefore either variant > > is *probably* good-enough for most people ? > >=20 > > =C4=B8en >=20 >=20 > I wanted to try 5.01 to see if it worked any better than the Passmark=20 > version, nothing more. There is a port of memtest86+ v4.2, but since > the=20 > 5.01 claims July 2013 as its inception, I figured 4.20 would be even=20 > older, perhaps unable to work w/ this particular CPU. There is also=20 > something called 'memtester-4.3.0', would you happen to know anything=20 > about it ? The currently running memtest still shows its spinning state > ASCII icon, & the time advances, but it the pass progress & test=20 > progress haven't changed in hours now .... Just checked, memtest86+ 5.01 is the version on the Arch Linux live/install iso. https://www.archlinux.org/download/ --=-YUs3h2jzo3HRuc+/vA2Y Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j drgeU1nHst0qxwsIofRD7nC4dakT6exnrVndlBmLrf/bLPh2qOM8YK5qKK6m33fE7AyYrwiYAWFT 3fERI7LakjaabrIoS/Y1rCdL5FaCTMOlRbZyduc8HkrgjT2JW+i4fVcKyGL5gExBJWfS3q1uGFaB ie6pYtl8lZPtvN0JSfibP003RBoLgzqHJKW91RL0qNeDjKZi/5nrlU398l9UoVvLLO3KxoPBXKCx AgMBAAGjggLcMIIC2DAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHSUEFjAUBggrBgEFBQcD AgYIKwYBBQUHAwQwHQYDVR0OBBYEFJZqarc6CcrOs6eAwOgrMznk5ZWWMB8GA1UdIwQYMBaAFFNy 7ZKc4NrLAVx8fpY1TvLUuFGCMCEGA1UdEQQaMBiBFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggFM BgNVHSAEggFDMIIBPzCCATsGCysGAQQBgbU3AQIDMIIBKjAuBggrBgEFBQcCARYiaHR0cDovL3d3 dy5zdGFydHNzbC5jb20vcG9saWN5LnBkZjCB9wYIKwYBBQUHAgIwgeowJxYgU3RhcnRDb20gQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwAwIBARqBvlRoaXMgY2VydGlmaWNhdGUgd2FzIGlzc3VlZCBh Y2NvcmRpbmcgdG8gdGhlIENsYXNzIDEgVmFsaWRhdGlvbiByZXF1aXJlbWVudHMgb2YgdGhlIFN0 YXJ0Q29tIENBIHBvbGljeSwgcmVsaWFuY2Ugb25seSBmb3IgdGhlIGludGVuZGVkIHB1cnBvc2Ug aW4gY29tcGxpYW5jZSBvZiB0aGUgcmVseWluZyBwYXJ0eSBvYmxpZ2F0aW9ucy4wNgYDVR0fBC8w LTAroCmgJ4YlaHR0cDovL2NybC5zdGFydHNzbC5jb20vY3J0dTEtY3JsLmNybDCBjgYIKwYBBQUH AQEEgYEwfzA5BggrBgEFBQcwAYYtaHR0cDovL29jc3Auc3RhcnRzc2wuY29tL3N1Yi9jbGFzczEv Y2xpZW50L2NhMEIGCCsGAQUFBzAChjZodHRwOi8vYWlhLnN0YXJ0c3NsLmNvbS9jZXJ0cy9zdWIu Y2xhc3MxLmNsaWVudC5jYS5jcnQwIwYDVR0SBBwwGoYYaHR0cDovL3d3dy5zdGFydHNzbC5jb20v MA0GCSqGSIb3DQEBCwUAA4IBAQB4K8iQw+0FRn3xEnB3vIIu2Vi4C3ZGnOMWP90FFXLrZ6uAu9AK xVCjXUVP6nAEsOopTMu769vVecdBvg0KO2i5aTDTdTLX4g9d020g4OLWW1NiynAkX8oKqJLqZ53q vHK4zP4KWPS3bSqDWVCosTMfI+H6tkg+6G3gS0HHoHTLKZhIT3z6PQZAfeofM7ed6NOdAcj0J2lP ODHzzz7Y9x4wMwYJdidorzUDVYkNIkim8ak7hK9F60NadA5w/BirFATSlzRyV0h1tl6oNisEaQcq tGvy6UoCTDhzaJ7pQValfDXJ/A47P0hNj/CX/PmkY1wQHsEJz2pbh5lqteP/fO0rMIIGMDCCBRig AwIBAgIDDl3GMA0GCSqGSIb3DQEBCwUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRD b20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYG A1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcN MTUwNjEzMjAyNDQ2WhcNMTYwNjE0MDAzNTUwWjBIMR8wHQYDVQQDDBZpa2VAbWljaGFlbGVpY2hv cm4uY29tMSUwIwYJKoZIhvcNAQkBFhZpa2VAbWljaGFlbGVpY2hvcm4uY29tMIIBIjANBgkqhkiG 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyVXVgCz8+YdrOc1EBiCWJelafBT7WTZKPKv97HKwrMVyS6az Gg3aZ6k7JpG5hHyr7Kj0BOh1TqRsVUU5f7Qpvlb6LlvXmPSEzIoG9Tpx3VNdwijtI3a4HlNZx7Ld KscLCKH0Q+5wuHWpE+nsZ61Z3ZQZi63/2yz4dqjjPGCuaiiupt93xOwMmK8ImAFhU93xESOy2pI2 mm6yKEv2NawnS+RWgkzDpUW2cnbnPB5K4I09iVvouH1XCshi+YBMQSVn0t6tbhhWgYnuqWLZfJWT 7bzdCUn4mz9NN0QaC4M6hySlvdUS9KjXg4ymYv+Z65VN/fJfVKFbyyztysaDwVygsQIDAQABo4IC 3DCCAtgwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUF BwMEMB0GA1UdDgQWBBSWamq3OgnKzrOngMDoKzM55OWVljAfBgNVHSMEGDAWgBRTcu2SnODaywFc fH6WNU7y1LhRgjAhBgNVHREEGjAYgRZpa2VAbWljaGFlbGVpY2hvcm4uY29tMIIBTAYDVR0gBIIB QzCCAT8wggE7BgsrBgEEAYG1NwECAzCCASowLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3RhcnRz c2wuY29tL3BvbGljeS5wZGYwgfcGCCsGAQUFBwICMIHqMCcWIFN0YXJ0Q29tIENlcnRpZmljYXRp b24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRpZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5n IHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24gcmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBD QSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkgZm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBs aWFuY2Ugb2YgdGhlIHJlbHlpbmcgcGFydHkgb2JsaWdhdGlvbnMuMDYGA1UdHwQvMC0wK6ApoCeG JWh0dHA6Ly9jcmwuc3RhcnRzc2wuY29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8w OQYIKwYBBQUHMAGGLWh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9j YTBCBggrBgEFBQcwAoY2aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5j bGllbnQuY2EuY3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG 9w0BAQsFAAOCAQEAeCvIkMPtBUZ98RJwd7yCLtlYuAt2RpzjFj/dBRVy62ergLvQCsVQo11FT+pw BLDqKUzLu+vb1XnHQb4NCjtouWkw03Uy1+IPXdNtIODi1ltTYspwJF/KCqiS6med6rxyuMz+Clj0 t20qg1lQqLEzHyPh+rZIPuht4EtBx6B0yymYSE98+j0GQH3qHzO3nejTnQHI9CdpTzgx888+2Pce MDMGCXYnaK81A1WJDSJIpvGpO4SvRetDWnQOcPwYqxQE0pc0cldIdbZeqDYrBGkHKrRr8ulKAkw4 c2ie6UFWpXw1yfwOOz9ITY/wl/z5pGNcEB7BCc9qW4eZarXj/3ztKzCCBjQwggQcoAMCAQICAR4w DQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzAp BgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0 Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1 NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1 cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAx IFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAMcJg8zOLdgasSmkLhOrlr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7 zM9/UnC6TS2y9UKTpT1v7RSMzR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8 VpH/Clt+4iq7nirMcNh6qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+ jb9x4Pa5gNf1TwSDkOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQO Jebr/f/h5t95m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB /wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAf BgNVHSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3dy5z dGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cuc3RhcnRz c2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20vc2ZzY2EuY3Js MIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3Rh cnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93d3cuc3RhcnRzc2wuY29t L2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqDCH14qywGXLhjjF6uHLkjd02h cdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy6QMVQjbbMXltUfO4n4bGGdKo3awP Wp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPIzKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8C h507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKfKSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893 gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HORz9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0 PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBm unwxD5nvtTW4vtN6VY7mUCmxsCieuoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2L L9C9U0ptvjcDjefLTvqSFc7tw1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwF i2/14+xeSUDG2bwnsYJQG2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhE puP9wirslFe6fQ1t5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMYIDnzCCA5sCAQEwgZQwgYwxCzAJ BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRh bCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkg SW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDl3GMA0GCWCGSAFlAwQCAwUAoIIB2zAYBgkqhkiG9w0B CQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNTA4MzExNDE4MzFaME8GCSqGSIb3DQEJ BDFCBEB7sf+mUnVz0In5/OgD94Ij8V71gN+ttdLI3esYvx8sJ2ICH7PwYdikJvuUUgCx7/bwm2yh jHr1zPsBQ2SgIkQiMIGlBgkrBgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQQIDDl3GMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEAPZ5h9SWMdFANwEFX+nztmTDQjFnRABh3Njs06u9m Ee5+gI6xHqgYoMbUfoCvJmMy8QVYjGPx2UHJ9MzBnIee2+61EEK0yLTPJmSWSHMsLuNkcJ9XmbhS Y0UIWBLdRvg1Ey3aLhBytcclSOO83y1U62r5m4ZahS6tb5bRQlIXDMAVyrB8B3EQL8jEvtGgRXrV nyT8QjbD09lnsZIZkHukHelF0XBO8qJfZNBvhNJSfTm5laH19kfBf55wOdeW0aeuPaxkvxijO4HD +tMN/gefh7+bfPRayNVMGbqiMOvl+u1BOvfGFwVD+oov/nSKdaqRHPJc4RoLjrxNYamxjhFNvwAA AAAAAA== --=-YUs3h2jzo3HRuc+/vA2Y-- From owner-freebsd-questions@freebsd.org Mon Aug 31 14:22:37 2015 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 8F9DB9C7888 for ; Mon, 31 Aug 2015 14:22:37 +0000 (UTC) (envelope-from zarniwhoop@ntlworld.com) Received: from know-smtprelay-omc-7.server.virginmedia.net (know-smtprelay-omc-7.server.virginmedia.net [80.0.253.71]) by mx1.freebsd.org (Postfix) with ESMTP id 015D7C6B for ; Mon, 31 Aug 2015 14:22:36 +0000 (UTC) (envelope-from zarniwhoop@ntlworld.com) Received: from localhost.localdomain ([81.106.150.188]) by know-smtprelay-7-imp with bizsmtp id BSNb1r0034481jl01SNbuy; Mon, 31 Aug 2015 15:22:35 +0100 X-Originating-IP: [81.106.150.188] X-Spam: 0 X-Authority: v=2.1 cv=JuUM15MC c=1 sm=1 tr=0 a=DGj713NdaxKrsjjgQne7PA==:117 a=DGj713NdaxKrsjjgQne7PA==:17 a=NLZqzBF-AAAA:8 a=IkcTkHD0fZMA:10 a=uRRa74qj2VoA:10 a=1HmOSzrRH-StQ67YweEA:9 a=QEXdDO2ut3YA:10 Received: by localhost.localdomain (Postfix, from userid 500) id F0F42879B8; Mon, 31 Aug 2015 15:21:05 +0100 (BST) Date: Mon, 31 Aug 2015 15:21:05 +0100 From: Ken Moffat To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: [(borderline) OT]: memtest question Message-ID: <20150831142105.GA2272@milliways> References: <55E3AFB4.9050607@hiwaay.net> <20150831015922.GA6804@milliways> <55E3B99A.9090501@hiwaay.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett Content-Transfer-Encoding: 8bit In-Reply-To: <55E3B99A.9090501@hiwaay.net> 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: Mon, 31 Aug 2015 14:22:37 -0000 On Sun, Aug 30, 2015 at 09:24:36PM -0453, William A. Mahaffey III wrote: > On 08/30/15 21:05, Ken Moffat wrote: > > > I wanted to try 5.01 to see if it worked any better than the Passmark > version, nothing more. There is a port of memtest86+ v4.2, but since the > 5.01 claims July 2013 as its inception, I figured 4.20 would be even older, > perhaps unable to work w/ this particular CPU. There is also something > called 'memtester-4.3.0', would you happen to know anything about it ? ISTR memtester is not confined to x86, and that I used a version of it, probably much older, on ppc64. I have a feeling that it ran in userspace, but that was several years ago. ĸen -- Il Porcupino Nil Sodomy Est! (if you will excuse my latatian) aka "The hedgehog song" From owner-freebsd-questions@freebsd.org Mon Aug 31 14:23:59 2015 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 CFAD69C790B for ; Mon, 31 Aug 2015 14:23:59 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73C01D16 for ; Mon, 31 Aug 2015 14:23:59 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wibz8 with SMTP id z8so1993438wib.1 for ; Mon, 31 Aug 2015 07:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=yktYGo8ydYNif1+g5utge1mu7gCq3Fzr2J7jswnfjN8=; b=kU0kr4vQyUvGfigKIXBKZZkAusiWNkSckRrzf4Z5xwikC0rZ62EJPlHuBsw/Hu0G1b VGFdZEbCFs7fgZ+MSe89DmEWrSnDSJxbmOtDRz5fiIgcYqfvSIQ+VYLOZx6CYXkf+Gr/ I3zkjisJiR3d2KFG8l+YFuCIQH/easnYPr6jRAWV0fBCRQvn+3eP34a6VClWrwA2mB7N 7O3uK32cKWdSjkqzy+wTVWpsnVLczpamoukRRpUWQxrqHl0cKbzdlBq4WNE/NUJpj+OE OQutTccr1tcCxEQ16GKJ8Zm02HZsCi4b48npz/YiO2hxcAZduikZDW7qt339CFdJtntU wFMw== X-Received: by 10.194.109.97 with SMTP id hr1mr28200746wjb.38.1441031037071; Mon, 31 Aug 2015 07:23:57 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.198.255]) by smtp.gmail.com with ESMTPSA id gk9sm16156054wib.9.2015.08.31.07.23.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Aug 2015 07:23:56 -0700 (PDT) Date: Mon, 31 Aug 2015 15:23:53 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD Message-ID: <20150831152353.5ca78976@gumby.homeunix.com> In-Reply-To: <55E45973.2050103@sneakertech.com> References: <20150829220311.c7608be1.freebsd@edvax.de> <55E45973.2050103@sneakertech.com> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 14:23:59 -0000 On Mon, 31 Aug 2015 09:41:07 -0400 Quartz wrote: > > Making a partition for free space is one way. Another way is to > > leave part of the drive unpartitioned. Either one just guarantees > > there is a good supply of unused blocks available to the drive. > > I'm not super well versed on exactly how SSD TRIM works. How does the > drive in question know which blocks are or aren't free, isn't that a > function of the filesystem? For that matter, how does the drive even > "know" which parts are or aren't partitioned, it's not like they're > programmed to understand MBR vs GPT, etc. Physical blocks are assigned to logical sectors on write. Partitioning a device and putting UFS on it doesn't write into the free space on a filesystem or any unpartitioned space. > How does the system > communicate to the drive firmware layer which blocks are in use? When a file is deleted, the OS can use TRIM to tell the device which sectors not longer contain data. From owner-freebsd-questions@freebsd.org Mon Aug 31 15:01:40 2015 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 41A949C6813 for ; Mon, 31 Aug 2015 15:01:40 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (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 2137FF3E for ; Mon, 31 Aug 2015 15:01:39 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id 233243F701; Mon, 31 Aug 2015 11:01:38 -0400 (EDT) Message-ID: <55E46C51.2090109@sneakertech.com> Date: Mon, 31 Aug 2015 11:01:37 -0400 From: Quartz MIME-Version: 1.0 To: "William A. Mahaffey III" CC: "FreeBSD Questions !!!!" Subject: Re: [(borderline) OT]: memtest question References: <55E3AFB4.9050607@hiwaay.net> In-Reply-To: <55E3AFB4.9050607@hiwaay.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 15:01:40 -0000 > I downloaded Passmark memtest.......... You asked this question at the right time, I just had to deal with all of this only last week. Here's the situation: The memory testing landscape is currently a big ol' pile of shit. memtest86+ has had only three updates in the past five years, with the most recent (5.01) being in '13. It does not support UEFI booting (crashes and random errors), native 64 bit (it uses a PAE hack), can't really handle ddr4, and has never supported ECC ram or other options. As far as anyone can tell the developer(s) dropped off the face of the earth. Although a bootable ISO is available for download from the website, it's NOT a hybrid ISO meaning it has to be burned to a physical CD. All of the other files on the site are *just* the memtest application binaries. If you want to put these on a bootable usb stick, you'll have to, manually, format a stick yourself from the ground up with your own bootloader and everything and then install the memtest binary into that. The website offers a program to do this for you but as you discovered it's a Windows EXE. Linux and Unix users are expected to figure it out themselves. My best advice (if just burning a CD isn't an option) is to find some Linux distro or utility live-cd that offers a hybrid ISO or direct USB image that also comes with memtest86+. I *think* the latest Ubuntu's come with 5.01. Gparted-Live only has 4.x for some reason. PassMark is their own can of shit. Starting with version 5.x, they completely dropped support for BIOS booting and went UEFI only, ostensibly to provide a 'better experience' but really so that they could sell a new thing that was closed source. Unfortunately, UEFI is still half broken on a lot of hardware and their new program loads all sorts of extra shit that requires extra hardware support accordingly, so it fails/hangs/crashes about as often as not. Their USB image still lets you boot into the old 4.x BIOS version, but as with memtest86+, there's no support for new chipsets/64bit/ddr4/ecc/etc. Basically, you want to test a server that's a couple years old that doesn't have UEFI? eat a dick. You want to test a new machine with the latest chipset but it has a buggy UEFI? eat a dick. You want to do pretty much anything other than testing a commodity desktop from five years ago? eat a dick. Can you tell I'm bitter about all this? From owner-freebsd-questions@freebsd.org Mon Aug 31 15:14:54 2015 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 12D539C6D44 for ; Mon, 31 Aug 2015 15:14:54 +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 D7FBF1332 for ; Mon, 31 Aug 2015 15:14:53 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7VFEobR018690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 31 Aug 2015 10:14:52 -0500 Subject: Re: [(borderline) OT]: memtest question References: <55E3AFB4.9050607@hiwaay.net> <55E46C51.2090109@sneakertech.com> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55E46F6A.2040009@hiwaay.net> Date: Mon, 31 Aug 2015 10:20:20 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E46C51.2090109@sneakertech.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 15:14:54 -0000 On 08/31/15 10:07, Quartz wrote: >> I downloaded Passmark memtest.......... > > You asked this question at the right time, I just had to deal with all > of this only last week. > > > Here's the situation: > The memory testing landscape is currently a big ol' pile of shit. > > memtest86+ has had only three updates in the past five years, with the > most recent (5.01) being in '13. It does not support UEFI booting > (crashes and random errors), native 64 bit (it uses a PAE hack), can't > really handle ddr4, and has never supported ECC ram or other options. > As far as anyone can tell the developer(s) dropped off the face of the > earth. Although a bootable ISO is available for download from the > website, it's NOT a hybrid ISO meaning it has to be burned to a > physical CD. All of the other files on the site are *just* the memtest > application binaries. If you want to put these on a bootable usb > stick, you'll have to, manually, format a stick yourself from the > ground up with your own bootloader and everything and then install the > memtest binary into that. The website offers a program to do this for > you but as you discovered it's a Windows EXE. Linux and Unix users are > expected to figure it out themselves. My best advice (if just burning > a CD isn't an option) is to find some Linux distro or utility live-cd > that offers a hybrid ISO or direct USB image that also comes with > memtest86+. I *think* the latest Ubuntu's come with 5.01. Gparted-Live > only has 4.x for some reason. > > > PassMark is their own can of shit. Starting with version 5.x, they > completely dropped support for BIOS booting and went UEFI only, > ostensibly to provide a 'better experience' but really so that they > could sell a new thing that was closed source. Unfortunately, UEFI is > still half broken on a lot of hardware and their new program loads all > sorts of extra shit that requires extra hardware support accordingly, > so it fails/hangs/crashes about as often as not. Their USB image still > lets you boot into the old 4.x BIOS version, but as with memtest86+, > there's no support for new chipsets/64bit/ddr4/ecc/etc. > > > Basically, you want to test a server that's a couple years old that > doesn't have UEFI? eat a dick. You want to test a new machine with the > latest chipset but it has a buggy UEFI? eat a dick. You want to do > pretty much anything other than testing a commodity desktop from five > years ago? eat a dick. Can you tell I'm bitter about all this? Oh man, I haven't laughed this hard in months, maybe years. I agree w/ your assessment, I was hoping someone might have a magic bullet to save the day, but I guess not. Is the memtest86+ source available ? If so, maybe someone else (*not* you or me) will pick it up. It was/is a nice facility when it works. As it happens, my ongoing Passmark memtest v6.0.0 got unstuck & has proceeded into the 2nd pass, so I may be OK there .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Aug 31 15:35:08 2015 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 E975D9C74B9 for ; Mon, 31 Aug 2015 15:35:08 +0000 (UTC) (envelope-from dave@dgmm.net) Received: from outbound-queue-2.mail.thdo.gradwell.net (outbound-queue-2.mail.thdo.gradwell.net [212.11.70.35]) by mx1.freebsd.org (Postfix) with ESMTP id AED8C1B93 for ; Mon, 31 Aug 2015 15:35:08 +0000 (UTC) (envelope-from dave@dgmm.net) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-2.mail.thdo.gradwell.net (Postfix) with ESMTP id 132E75535D; Mon, 31 Aug 2015 16:33:53 +0100 (BST) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username dave%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Mon, 31 Aug 2015 16:33:53 +0100 From: Dave To: "William A. Mahaffey III" , freebsd-questions@freebsd.org Subject: Re: system temperatures Date: Mon, 31 Aug 2015 16:33:51 +0100 Message-ID: <1618952.RHTisjpRBZ@amd.asgard.uk> User-Agent: KMail/4.14.3 (FreeBSD/9.3-RELEASE-p24; KDE/4.14.3; amd64; ; ) In-Reply-To: <55E324C4.4010500@hiwaay.net> References: <55E324C4.4010500@hiwaay.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 55e473e1.7e8-38d1-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: dave@pop3.dgmm.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 15:35:09 -0000 On Sunday 30 August 2015 10:49:34 you wrote: William, you keep ending up in my spam filters, see below. It looks like your system or mail server dates have a problem. Also, there's no To: address, just a CC: address when you send replies which ads to the spam score Content analysis details: (6.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 BUG6152_INVALID_DATE_TZ_ABSURD No description available. 1.2 INVALID_DATE Invalid Date: header (not RFC 2822) 1.2 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date 1.2 MISSING_HEADERS Missing To: header 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 2.0 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4428] 1.2 RDNS_NONE Delivered to internal network by a host with no rDNS > > From owner-freebsd-questions@freebsd.org Mon Aug 31 15:42:14 2015 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 A03C09C77F7 for ; Mon, 31 Aug 2015 15:42:14 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (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 7ECB31FC7 for ; Mon, 31 Aug 2015 15:42:14 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id 2C2943F707 for ; Mon, 31 Aug 2015 11:42:13 -0400 (EDT) Message-ID: <55E475D4.2080603@sneakertech.com> Date: Mon, 31 Aug 2015 11:42:12 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: [(borderline) OT]: memtest question References: <55E3AFB4.9050607@hiwaay.net> <20150831015922.GA6804@milliways> In-Reply-To: <20150831015922.GA6804@milliways> 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, 31 Aug 2015 15:42:14 -0000 > I had never heard of passmark memtest until you mentioned it, but it > appears to be the current version of memtest86, unless I am mistaken? Sorta. Way back when, there was only one version, "memtest86", which was an open source freeware thing. Like a lot of smaller open source projects, it languished for a few years with no updates. Enough people thought it was useful that it got forked into "memtest86+" which continued for a few years and became the defacto version. After some time, the original not-plus version got sold off to a company called PassMark who continued work on it (although it was clear from the get-go that they were using it as a money mill, since for the longest time they offered no freeware version for download). While PassMark has continued development on their version (memtest86) more or less continuously, memtest86+ is basically dead at this point. Although if you see my other email, if you're not lucky enough to have a machine that can boot their stupid UEFI version, you're effectively in 2014 forever... in which case neither version really counts as 'current'. From owner-freebsd-questions@freebsd.org Mon Aug 31 15:46:35 2015 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 7BE2F9C7959 for ; Mon, 31 Aug 2015 15:46:35 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (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 56C3A137 for ; Mon, 31 Aug 2015 15:46:34 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id 005A03F707 for ; Mon, 31 Aug 2015 11:46:33 -0400 (EDT) Message-ID: <55E476D9.6050105@sneakertech.com> Date: Mon, 31 Aug 2015 11:46:33 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: [(borderline) OT]: memtest question References: <55E3AFB4.9050607@hiwaay.net> <55E46C51.2090109@sneakertech.com> In-Reply-To: <55E46C51.2090109@sneakertech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 15:46:35 -0000 >and their new program loads all > sorts of extra shit that requires extra hardware support accordingly *Unnecessary* shit I should say. I'm not convinced a memory tester needs a full GUI with mouse support. From owner-freebsd-questions@freebsd.org Mon Aug 31 15:50:12 2015 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 CDA5E9C7AD0 for ; Mon, 31 Aug 2015 15:50:12 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (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 B03F7341 for ; Mon, 31 Aug 2015 15:50:12 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id D67B63F707 for ; Mon, 31 Aug 2015 11:50:11 -0400 (EDT) Message-ID: <55E477B3.6050500@sneakertech.com> Date: Mon, 31 Aug 2015 11:50:11 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: [(borderline) OT]: memtest question References: <55E3AFB4.9050607@hiwaay.net> <55E46C51.2090109@sneakertech.com> <55E46F6A.2040009@hiwaay.net> In-Reply-To: <55E46F6A.2040009@hiwaay.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 15:50:12 -0000 >Is the memtest86+ source available ? The website lists it, but I've never attempted to download or compile it to see if it actually works. >If so, > maybe someone else (*not* you or me) will pick it up. Well that's how 86+ forked from 86 in the first place. Although since the PassMark version is around and being developed, as broken as it is, there aren't a lot of people who will probably care. From owner-freebsd-questions@freebsd.org Mon Aug 31 15:56:31 2015 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 620109C7D55 for ; Mon, 31 Aug 2015 15:56:31 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (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 417388E3 for ; Mon, 31 Aug 2015 15:56:31 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id 68A1E3F70E for ; Mon, 31 Aug 2015 11:56:30 -0400 (EDT) Message-ID: <55E4792E.6060404@sneakertech.com> Date: Mon, 31 Aug 2015 11:56:30 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: [(borderline) OT]: memtest question References: <55E3AFB4.9050607@hiwaay.net> In-Reply-To: <55E3AFB4.9050607@hiwaay.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 15:56:31 -0000 > am doing another one now (AMD A8 6500 CPU based) & the memtest seems to > be stuck. And lastly, FWIW, although I complain about their version having issues, they're at least very responsive to support questions. The usb stick version will log its startup routine, and they were able to analyze that to determine that the specific problem I was facing was in fact due to a UEFI failure and not something else. So they have that going for them at least. From owner-freebsd-questions@freebsd.org Mon Aug 31 16:07:12 2015 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 741669C6195 for ; Mon, 31 Aug 2015 16:07:12 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FCDCCD1 for ; Mon, 31 Aug 2015 16:07:11 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t7VG7Abo093648 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 31 Aug 2015 10:07:10 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t7VG7Adf093645; Mon, 31 Aug 2015 10:07:10 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 31 Aug 2015 10:07:10 -0600 (MDT) From: Warren Block To: Quartz cc: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD In-Reply-To: <55E45973.2050103@sneakertech.com> Message-ID: References: <20150829220311.c7608be1.freebsd@edvax.de> <55E45973.2050103@sneakertech.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 31 Aug 2015 10:07:10 -0600 (MDT) 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, 31 Aug 2015 16:07:12 -0000 On Mon, 31 Aug 2015, Quartz wrote: >> Making a partition for free space is one way. Another way is to leave >> part of the drive unpartitioned. Either one just guarantees there is a >> good supply of unused blocks available to the drive. > > I'm not super well versed on exactly how SSD TRIM works. How does the drive > in question know which blocks are or aren't free, isn't that a function of > the filesystem? For that matter, how does the drive even "know" which parts > are or aren't partitioned, it's not like they're programmed to understand MBR > vs GPT, etc. How does the system communicate to the drive firmware layer > which blocks are in use? That is exactly what TRIM is, a mechanism for a filesystem to tell the drive "this block is no longer in use". Otherwise, the only thing the drive has to determine whether a block is in use is whether it has ever been written. > Simply assuming based on if or how long ago it was written to can't > possibly be a workable solution. I'm not convinced that leaving large > chunks of the drive 'free' has any effect on wear leveling. It provides a pool of blocks that have not and will not be written. From owner-freebsd-questions@freebsd.org Mon Aug 31 16:52:46 2015 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 1065B9C758D for ; Mon, 31 Aug 2015 16:52:46 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (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 E4163685 for ; Mon, 31 Aug 2015 16:52:45 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id A931B3F71B; Mon, 31 Aug 2015 12:52:43 -0400 (EDT) Message-ID: <55E4865B.1000104@sneakertech.com> Date: Mon, 31 Aug 2015 12:52:43 -0400 From: Quartz MIME-Version: 1.0 To: Warren Block CC: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD References: <20150829220311.c7608be1.freebsd@edvax.de> <55E45973.2050103@sneakertech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 16:52:46 -0000 > That is exactly what TRIM is, a mechanism for a filesystem to tell the > drive "this block is no longer in use". Otherwise, the only thing the > drive has to determine whether a block is in use is whether it has ever > been written. But, from what I understand, it doesn't exactly tell the firmware "this is no longer in use" so much as it says "you can zero this right now if you want" >> Simply assuming based on if or how long ago it was written to can't >> possibly be a workable solution. I'm not convinced that leaving large >> chunks of the drive 'free' has any effect on wear leveling. > > It provides a pool of blocks that have not and will not be written. Bbut how does the drive "know" that those blocks are not allocated by a partition somewhere and are safe to use as spares? It's not like the drive firmware reads into the partition table or anything. From owner-freebsd-questions@freebsd.org Mon Aug 31 17:06:05 2015 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 3C9559C7C16 for ; Mon, 31 Aug 2015 17:06:05 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.226]) by mx1.freebsd.org (Postfix) with ESMTP id 0CB061012 for ; Mon, 31 Aug 2015 17:06:04 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [70.121.59.224] ([70.121.59.224:60356] helo=[192.168.0.4]) by dnvrco-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id D9/04-24905-BB884E55; Mon, 31 Aug 2015 17:02:52 +0000 Date: Mon, 31 Aug 2015 12:02:53 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: Ernie Luzar , freebsd-questions Subject: Re: cron_flags="-m not working Message-ID: <143030C577C3F1576A268986@Pauls-MacBook-Pro.local> In-Reply-To: <55E43ABA.4090509@gmail.com> References: <55E43ABA.4090509@gmail.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-RR-Connecting-IP: 107.14.64.118:25 X-Authority-Analysis: v=2.1 cv=Q75c4uGa c=1 sm=1 tr=0 a=Jnt5oOXMh44BVXcArVZt4A==:117 a=Jnt5oOXMh44BVXcArVZt4A==:17 a=ayC55rCoAAAA:8 a=kj9zAlcOel0A:10 a=pGLkceISAAAA:8 a=GzfttSJt_VW5WeIrEdQA:9 a=CjuIK1q_8ugA:10 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 17:06:05 -0000 --On August 31, 2015 at 7:30:02 AM -0400 Ernie Luzar wrote: > The host has a user account called bob. I want all cron email to go to > bob and not root. > I use postfix and sendmail is disabled. > In the aliases file: # Person who should get root's mail. This alias root: bob After editing the file, run postalias on it to rebuild the aliases db. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@freebsd.org Mon Aug 31 17:11:42 2015 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 6C7609C7F75 for ; Mon, 31 Aug 2015 17:11:42 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F15F14EA for ; Mon, 31 Aug 2015 17:11:42 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wibq14 with SMTP id q14so6882796wib.0 for ; Mon, 31 Aug 2015 10:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=dCONqWwV3C5WyfzuChcfGy+rt6oJffXNk3JDH0DA7jk=; b=kegwgQTUHoiLMjaQEKHLJSCPUt3Vyidv4ef/4ZmTX+jgBFO9FsRqkyIu8XpAe+syVR stVbNcihUlMlfT8GZYWkjMl8tIXnBP0HBDa/NQhn69ZLrRwqsWTe7ZnjFXwcF3pHEb97 a9cV79EqYAm493E7dVvnkcer1L/7rpmqiEQCW22suNOLjYzt7/zpMiAlIoHL7ql9/FjE hrC1giJ8i3AZjqbGlvhmJhkIxQEz53Cx9/2cDF8dtEy9Xx9BW2ZawLraVmMnrYNQBuM6 rRv4ReE3agmU3lzOAW/LLwZD26dU11/C4gl5Vks/WHK3j9nlSdV6Ws7VWPtQKaYOKGV5 Nm4w== X-Received: by 10.195.11.37 with SMTP id ef5mr27883498wjd.60.1441041100470; Mon, 31 Aug 2015 10:11:40 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.198.255]) by smtp.gmail.com with ESMTPSA id eu2sm18947242wic.8.2015.08.31.10.11.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Aug 2015 10:11:39 -0700 (PDT) Date: Mon, 31 Aug 2015 18:11:35 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD Message-ID: <20150831181135.7682a810@gumby.homeunix.com> In-Reply-To: <55E4865B.1000104@sneakertech.com> References: <20150829220311.c7608be1.freebsd@edvax.de> <55E45973.2050103@sneakertech.com> <55E4865B.1000104@sneakertech.com> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 17:11:42 -0000 On Mon, 31 Aug 2015 12:52:43 -0400 Quartz wrote: > > > > It provides a pool of blocks that have not and will not be > > written. > > Bbut how does the drive "know" that those blocks are not allocated by > a partition somewhere and are safe to use as spares? It's not like > the drive firmware reads into the partition table or anything. It's analogous to virtual memory. It's the unused physical blocks that form the free pool. The point of leaving the unpartitioned space is that it's a region of a logical address space with no physical blocks attached. From owner-freebsd-questions@freebsd.org Mon Aug 31 17:14:29 2015 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 53AC69C60BB for ; Mon, 31 Aug 2015 17:14:29 +0000 (UTC) (envelope-from xavierfreebsdquestio@aim.com) Received: from omr-a015.mx.aol.com (omr-a015e.mx.aol.com [204.29.186.63]) (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 2B74C179E for ; Mon, 31 Aug 2015 17:14:28 +0000 (UTC) (envelope-from xavierfreebsdquestio@aim.com) Received: from mtaomg-mae01.mx.aol.com (mtaomg-mae01.mx.aol.com [172.26.254.143]) by omr-a015.mx.aol.com (Outbound Mail Relay) with ESMTP id DA5E3380008B for ; Mon, 31 Aug 2015 13:14:21 -0400 (EDT) Received: from core-mma01d.mail.aol.com (core-mma01.mail.aol.com [172.27.38.11]) by mtaomg-mae01.mx.aol.com (OMAG/Core Interface) with ESMTP id 837903800008D for ; Mon, 31 Aug 2015 13:14:21 -0400 (EDT) Received: from 46.246.46.32 by webprd-a100.mail.aol.com (10.72.52.236) with HTTP (WebMailUI); Mon, 31 Aug 2015 13:14:21 -0400 Date: Mon, 31 Aug 2015 13:14:21 -0400 From: Xavier Freebsd Questio To: freebsd-questions@freebsd.org Message-Id: <14f84c0a368-6be4-8a13@webprd-a100.mail.aol.com> Subject: route issue between FreeBSD boxes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-MB-Message-Source: WebUI X-MB-Message-Type: User X-Mailer: JAS STD X-Originating-IP: [46.246.46.32] x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aim.com; s=20150623; t=1441041261; bh=aVQO2f5GriTolxHqkJfqYqw7uwTJgW0QFPJyPvzZfNs=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=Q2VvK05RBPq0PUv9HyI8L3eliI4cfiXS0F/B13aAsuX24lL49orISqMEJ5idgq4Hc 4IME8RzjNBIn5kkCkf9KwQL9yORIA/FW5qnM9dHxc8jqYBnM1+78pBz+G+PMNh4VYU SGxfZVxtVtklxPMdyi1WhqBURD0Ck1XU/omu5T+M= x-aol-sid: 3039ac1afe8f55e48b6d1005 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, 31 Aug 2015 17:14:29 -0000 Hi , I can't ping to one IP ( a FreeBSD-CURRENT/ARM box ) from anothers FreeBSD boxes in my LAN. In the same LAN, I can ping to it from Fedora box. Some test logs here: http://sprunge.us/PGKU http://sprunge.us/FjAj http://sprunge.us/LeSR http://sprunge.us/bKfL http://sprunge.us/MQGe http://sprunge.us/gVfT http://sprunge.us/ShgN Ideas ? Thanks. See you. From owner-freebsd-questions@freebsd.org Mon Aug 31 17:29:47 2015 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 75D499C67F2 for ; Mon, 31 Aug 2015 17:29:47 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01.mail.uk1.eechost.net [217.69.40.69]) by mx1.freebsd.org (Postfix) with ESMTP id 405A686F for ; Mon, 31 Aug 2015 17:29:46 +0000 (UTC) (envelope-from steve@sohara.org) Received: from [88.151.27.41] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1ZWSe9-0005Vz-9y for freebsd-questions@freebsd.org; Mon, 31 Aug 2015 18:13:29 +0100 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.marelmo.com with smtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZWSe8-000DC9-SZ for freebsd-questions@freebsd.org; Mon, 31 Aug 2015 17:13:28 +0000 Date: Mon, 31 Aug 2015 18:13:26 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD Message-Id: <20150831181326.ec4d6bdab2d2f10de5f7aa22@sohara.org> In-Reply-To: <55E4865B.1000104@sneakertech.com> References: <20150829220311.c7608be1.freebsd@edvax.de> <55E45973.2050103@sneakertech.com> <55E4865B.1000104@sneakertech.com> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 24227@permanet.ie (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, 31 Aug 2015 17:29:47 -0000 On Mon, 31 Aug 2015 12:52:43 -0400 Quartz wrote: > > That is exactly what TRIM is, a mechanism for a filesystem to tell the > > drive "this block is no longer in use". Otherwise, the only thing the > > drive has to determine whether a block is in use is whether it has ever > > been written. > > But, from what I understand, it doesn't exactly tell the firmware "this > is no longer in use" so much as it says "you can zero this right now if > you want" > > > >> Simply assuming based on if or how long ago it was written to can't > >> possibly be a workable solution. I'm not convinced that leaving large > >> chunks of the drive 'free' has any effect on wear leveling. > > > > It provides a pool of blocks that have not and will not be written. > > Bbut how does the drive "know" that those blocks are not allocated by a > partition somewhere and are safe to use as spares? It's not like the > drive firmware reads into the partition table or anything. AIUI that with SSDs and the like it's more that physical blocks are not allocated to logical block addresses until the block is written to for the first time, so all blocks are spares until they are used and they can be returned to the spare pool using TRIM. All this with the proviso that the physical blocks used in the SSD generally cover many logical blocks. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon Aug 31 17:57:51 2015 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 784139C74CA for ; Mon, 31 Aug 2015 17:57:51 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 35C341E6D for ; Mon, 31 Aug 2015 17:57:51 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZWTKv-0006y0-G7 for freebsd-questions@freebsd.org; Mon, 31 Aug 2015 19:57:41 +0200 Received: from pool-72-66-1-32.washdc.fios.verizon.net ([72.66.1.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Aug 2015 19:57:41 +0200 Received: from nightrecon by pool-72-66-1-32.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Aug 2015 19:57:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: BIND - disabling IPv6 lookups Date: Mon, 31 Aug 2015 13:57:28 -0400 Lines: 45 Message-ID: References: Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-66-1-32.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 17:57:51 -0000 Damien Fleuriot wrote: > Hello list, > > > I'm currently experiencing this very weird behaviour with BIND 9.8.7 > running on 10-STABLE and, obviously, installed from ports. > > > I'm trying to prevent BIND from trying to resolve AAAA resource records. > > To this effect, I've added : > named_flags="-4" to /etc/rc.conf, as the man page and several google > searches suggest [1] > > > After restarting BIND, I see it's come back alive with the correct startup > flag : > /usr/local/sbin/named -4 -u bind -c /usr/local/etc/namedb/named.con > > > However, I still see queries for AAAA records : > 13:39:26.990819 IP 10.104.10.252.54566 > 195.158[snip].53: 43577+ [1au] > AAAA? www.tvsembox.com. (45) > > Is that expected behaviour ? > And yes, 10.104.10.252 is the actual FreeBSD box, not a client host trying > to resolve stuff. > > > [1] > https://www.sbarjatiya.com/notes_wiki/index.php/Disabling_IPv6_lookups_in_bind I don't know if this will help, as it's slightly apples to oranges. I use the Bind 9.9.x version from ports so may not apply and I don't know/not sure whether it matters, or not. But there is under the make config in the bind99 port an option: FILTER_AAAA Enable filtering of AAAA records, which seems to be 'off' by default. Not sure this actually applies to your situation. Also don't really know exactly what it does either. Just a $0.02 idea. -Mike From owner-freebsd-questions@freebsd.org Mon Aug 31 18:35:57 2015 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 9D1B89C64C9 for ; Mon, 31 Aug 2015 18:35:57 +0000 (UTC) (envelope-from dave@dgmm.net) Received: from outbound-queue-2.mail.thdo.gradwell.net (outbound-queue-2.mail.thdo.gradwell.net [212.11.70.35]) by mx1.freebsd.org (Postfix) with ESMTP id 62181B4E for ; Mon, 31 Aug 2015 18:35:56 +0000 (UTC) (envelope-from dave@dgmm.net) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-2.mail.thdo.gradwell.net (Postfix) with ESMTP id E3EC955383 for ; Mon, 31 Aug 2015 19:35:55 +0100 (BST) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username dave%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Mon, 31 Aug 2015 19:35:55 +0100 From: Dave To: freebsd-questions@freebsd.org Subject: Re: system temperatures Date: Mon, 31 Aug 2015 19:35:54 +0100 Message-ID: <1568095.rmZeycZDhO@amd.asgard.uk> User-Agent: KMail/4.14.3 (FreeBSD/9.3-RELEASE-p24; KDE/4.14.3; amd64; ; ) In-Reply-To: <55E324C4.4010500@hiwaay.net> References: <55E324C4.4010500@hiwaay.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 55e49e8b.eaf7-13e6-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: dave@pop3.dgmm.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 18:35:57 -0000 On Sunday 30 August 2015 10:49:34 you wrote: > It is convenient on my various linux boxen to use lm_sensors to retrieve > apparently accurate temps. for various system components (CPU's), as > well as data on fan speeds, etc. Under FreeBSD (9.3R-p21), sysctl > provides some of this info, but apparently inaccurately. It would be > sweet to fix that minor issue, seems like it would be a bit more than > just sweet for remote servers, etc. Do I file this as a problem report > of some sort ? If so, how do I go about doing that ? TIA & have a > nice weekend. It might be worth doing this: sysctl -a | grep temp dev.cpu.0.temperature: 42.0C dev.cpu.1.temperature: 42.0C dev.cpu.2.temperature: 42.0C dev.cpu.3.temperature: 42.0C dev.cpu.4.temperature: 42.0C dev.cpu.5.temperature: 42.0C dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors dev.amdtemp.0.%driver: amdtemp dev.amdtemp.0.%parent: hostb4 dev.amdtemp.0.sensor0.core0: 42.0C ...just to see what else might show up in relation to temperatures in the various sysctl variables. both healthd and xmbmon in their default states report a CPU temp of ~143c on my system. 42c is ~107F so that's not the problem. From owner-freebsd-questions@freebsd.org Mon Aug 31 19:57:16 2015 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 72CDC9C66D2 for ; Mon, 31 Aug 2015 19:57:16 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (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 5256230F for ; Mon, 31 Aug 2015 19:57:15 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id 6DB243F73A for ; Mon, 31 Aug 2015 15:57:14 -0400 (EDT) Message-ID: <55E4B19A.5030007@sneakertech.com> Date: Mon, 31 Aug 2015 15:57:14 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD References: <20150829220311.c7608be1.freebsd@edvax.de> <55E45973.2050103@sneakertech.com> <55E4865B.1000104@sneakertech.com> <20150831181326.ec4d6bdab2d2f10de5f7aa22@sohara.org> In-Reply-To: <20150831181326.ec4d6bdab2d2f10de5f7aa22@sohara.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 19:57:16 -0000 >physical blocks are > not allocated to logical block addresses until the block is written to for > the first time, so all blocks are spares until they are used and they can > be returned to the spare pool using TRIM. Ahh, ok. That was the missing piece of the puzzle. Thanks. From owner-freebsd-questions@freebsd.org Mon Aug 31 20:03:09 2015 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 CB2DC9C69BF for ; Mon, 31 Aug 2015 20:03:09 +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 9BDB393D for ; Mon, 31 Aug 2015 20:03:09 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t7VK36I8026474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 31 Aug 2015 15:03:07 -0500 Subject: Re: system temperatures To: freebsd-questions@freebsd.org References: <55E324C4.4010500@hiwaay.net> <1568095.rmZeycZDhO@amd.asgard.uk> From: "William A. Mahaffey III" Message-ID: <55E4B2FA.9090501@hiwaay.net> Date: Mon, 31 Aug 2015 15:08:36 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1568095.rmZeycZDhO@amd.asgard.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 20:03:10 -0000 On 08/31/15 13:42, Dave wrote: > On Sunday 30 August 2015 10:49:34 you wrote: >> It is convenient on my various linux boxen to use lm_sensors to retrieve >> apparently accurate temps. for various system components (CPU's), as >> well as data on fan speeds, etc. Under FreeBSD (9.3R-p21), sysctl >> provides some of this info, but apparently inaccurately. It would be >> sweet to fix that minor issue, seems like it would be a bit more than >> just sweet for remote servers, etc. Do I file this as a problem report >> of some sort ? If so, how do I go about doing that ? TIA & have a >> nice weekend. > It might be worth doing this: > > sysctl -a | grep temp > dev.cpu.0.temperature: 42.0C > dev.cpu.1.temperature: 42.0C > dev.cpu.2.temperature: 42.0C > dev.cpu.3.temperature: 42.0C > dev.cpu.4.temperature: 42.0C > dev.cpu.5.temperature: 42.0C > dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors > dev.amdtemp.0.%driver: amdtemp > dev.amdtemp.0.%parent: hostb4 > dev.amdtemp.0.sensor0.core0: 42.0C > > ...just to see what else might show up in relation to temperatures > in the various sysctl variables. > > both healthd and xmbmon in their default states report a CPU temp of ~143c on my system. > 42c is ~107F so that's not the problem. Hmmmm .... OK, your command, followed by my usual incantation: [root@kabini1, /etc, 3:00:06pm] 352 % sysctl -a | grep temp amdtemp0: on hostb5 net.inet6.ip6.use_tempaddr: 0 net.inet6.ip6.temppltime: 86400 net.inet6.ip6.tempvltime: 604800 net.inet6.ip6.prefer_tempaddr: 0 hw.usb.template: 0 dev.cpu.0.temperature: 11.8C dev.cpu.1.temperature: 11.8C dev.cpu.2.temperature: 11.8C dev.cpu.3.temperature: 11.8C dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors dev.amdtemp.0.%driver: amdtemp dev.amdtemp.0.%parent: hostb5 dev.amdtemp.0.sensor0.core0: 11.8C [root@kabini1, /etc, 3:00:08pm] 353 % sysctl -A | egrep '(temperature|usage)' dev.cpu.0.temperature: 11.7C dev.cpu.0.cx_usage: 100.00% 0.00% last 880us dev.cpu.1.temperature: 11.7C dev.cpu.1.cx_usage: 100.00% last 10us dev.cpu.2.temperature: 11.7C dev.cpu.2.cx_usage: 100.00% last 11us dev.cpu.3.temperature: 11.7C dev.cpu.3.cx_usage: 100.00% last 10us [root@kabini1, /etc, 3:00:17pm] 354 % I'd say it's off, room temp is around 76F, or about 26-ish C, & the CPU is generating heat, so it can't be cooler (Thermodynamics). My CPU is an AMD Sempron 3850, jaguar-kabini, quad core, fairly new, April 9 2014 to be precise, exactly the day I bought it :-). I guess it's either something mbd or too-new CPU, but that is rank speculation. Your numbers look at least plausible, so I'd say you are good to go, just trying to get myself there as well. Those CPU's are apparently fairly widely used in laptops & low-end desktops, so while new-ish, they are certainly not rare birds. I like the output of your command a bit better than mine, I think I will adopt it :-) .... Any more info needed, don't hesitate. [root@kabini1, /etc, 3:03:44pm] 354 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 3:03:47pm] 355 % -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Aug 31 21:35:03 2015 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 BC6129C7072 for ; Mon, 31 Aug 2015 21:35:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 80CE01A98 for ; Mon, 31 Aug 2015 21:35:02 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZWWjA-0007ml-CF for freebsd-questions@freebsd.org; Mon, 31 Aug 2015 23:34:56 +0200 Received: from gly.ftfl.ca ([129.173.34.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Aug 2015 23:34:56 +0200 Received: from jrm by gly.ftfl.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Aug 2015 23:34:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Joseph Mingrone Subject: networking after resuming from suspend Date: Mon, 31 Aug 2015 18:34:41 -0300 Lines: 38 Message-ID: <86fv2znnv2.fsf@gly.ftfl.ca> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gly.ftfl.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) Cancel-Lock: sha1:wrSj08ziTU3nht/mKUVfs8l6cOA= 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, 31 Aug 2015 21:35:03 -0000 --=-=-= Content-Type: text/plain Hi, I'm searching for the code that controls how and when networking gets restarted on a resume after a suspend. Where should I be looking? I recall in the past not having to worry about putting anything special like `service netif restart` in /etc/rc.resume and everything just worked. For example, at home I would have a 192.168.x.x address, suspend, then I would go to work, resume and dhclient would get a new IP. Either I changed something or an upgrade to a newer 10-STABLE triggered something. Joseph --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJV5MhxAAoJEDakDIOw1u+eA50P/Ao98drNQ0F82Ie+BQ94tRMx zQXWuWkcLkQMtw8H2IxMuQ35lMfkYS/yrcpUD+lywIEfxluSkDiPu7BSSzGfMfY9 UM3ovnUaG4aqjGiyVgYzJOhwFnKRt4ZY5RjpQeTdHN4JIkKtmTswrNihSj2wQzUE lWQyGHLFA3ElruHKjqQUDVv54/9bSdTVJ9VXOCR1flMlAa8SUB7+j/SGOFrNIVfN mgO5Gc8T6UfCqW4GpwfCgPHbUcOUWtThjeB20Kf2ws00E4qD0NJrCYtslK5MwL1O deQzXqnhH3uXCNn9NNtmtH2NOCjoh07UpzVTWMv/8ojzHLPOV8g91K/qWnXfqe1L tVJ1EiNmdi1ktMs9t/+3h7/ZnEXV0X9MxmzYD9vYYk2Y7uQnMaj5ppZSvO2l9o7w 0LSGzYbxvs/v7QEkMEQRYG0Oh0yapK1zE3U1ACevbuDP0Ek8zEcEiZUTtRKby6ES KdWe0OvfGvbh+1pr+alduMnFgZYGuYT9/07H6yraYB8Any0kjb5DyQQMGLwrl2La jS3qnO4xus1Uvjlijzs7hM+jAUiB5WuItMK3uRa2+wDDMChTe5SEyyy85y2GfSzt xmFFWUAWUVOLkFHN7tytMGw0wnsRH+PJNgtdN3pn1xWKsMabdlEjA8BYL43m9EfK v50pmo8XZvkQd3LEQumc =wKj+ -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@freebsd.org Mon Aug 31 21:40:11 2015 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 C77D99C728B for ; Mon, 31 Aug 2015 21:40:11 +0000 (UTC) (envelope-from dave@dgmm.net) Received: from outbound-queue-1.mail.thdo.gradwell.net (outbound-queue-1.mail.thdo.gradwell.net [212.11.70.34]) by mx1.freebsd.org (Postfix) with ESMTP id 59FD81CA5 for ; Mon, 31 Aug 2015 21:40:11 +0000 (UTC) (envelope-from dave@dgmm.net) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-1.mail.thdo.gradwell.net (Postfix) with ESMTP id 7F51E21FF3 for ; Mon, 31 Aug 2015 22:39:01 +0100 (BST) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username dave%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Mon, 31 Aug 2015 22:39:01 +0100 From: Dave To: freebsd-questions@freebsd.org Subject: Re: system temperatures Date: Mon, 31 Aug 2015 22:39 +0100 Message-ID: <1580689.71VicvVbGW@amd.asgard.uk> User-Agent: KMail/4.14.3 (FreeBSD/9.3-RELEASE-p24; KDE/4.14.3; amd64; ; ) In-Reply-To: <55E4B2FA.9090501@hiwaay.net> References: <55E324C4.4010500@hiwaay.net> <1568095.rmZeycZDhO@amd.asgard.uk> <55E4B2FA.9090501@hiwaay.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 55e4c975.874b-690d-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: dave@pop3.dgmm.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 21:40:12 -0000 On Monday 31 August 2015 15:08:36 William A. Mahaffey III wrote: > On 08/31/15 13:42, Dave wrote: > > On Sunday 30 August 2015 10:49:34 you wrote: > >> It is convenient on my various linux boxen to use lm_sensors to retrieve > >> apparently accurate temps. for various system components (CPU's), as > >> well as data on fan speeds, etc. Under FreeBSD (9.3R-p21), sysctl > >> provides some of this info, but apparently inaccurately. It would be > >> sweet to fix that minor issue, seems like it would be a bit more than > >> just sweet for remote servers, etc. Do I file this as a problem report > >> of some sort ? If so, how do I go about doing that ? TIA & have a > >> nice weekend. > > It might be worth doing this: > > > > sysctl -a | grep temp > > dev.cpu.0.temperature: 42.0C > > dev.cpu.1.temperature: 42.0C > > dev.cpu.2.temperature: 42.0C > > dev.cpu.3.temperature: 42.0C > > dev.cpu.4.temperature: 42.0C > > dev.cpu.5.temperature: 42.0C > > dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors > > dev.amdtemp.0.%driver: amdtemp > > dev.amdtemp.0.%parent: hostb4 > > dev.amdtemp.0.sensor0.core0: 42.0C > > > > ...just to see what else might show up in relation to temperatures > > in the various sysctl variables. > > > > both healthd and xmbmon in their default states report a CPU temp of ~143c on my system. > > 42c is ~107F so that's not the problem. > > > Hmmmm .... OK, your command, followed by my usual incantation: > > > [root@kabini1, /etc, 3:00:06pm] 352 % sysctl -a | grep temp > amdtemp0: on hostb5 > net.inet6.ip6.use_tempaddr: 0 > net.inet6.ip6.temppltime: 86400 > net.inet6.ip6.tempvltime: 604800 > net.inet6.ip6.prefer_tempaddr: 0 > hw.usb.template: 0 > dev.cpu.0.temperature: 11.8C > dev.cpu.1.temperature: 11.8C > dev.cpu.2.temperature: 11.8C > dev.cpu.3.temperature: 11.8C > dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors > dev.amdtemp.0.%driver: amdtemp > dev.amdtemp.0.%parent: hostb5 > dev.amdtemp.0.sensor0.core0: 11.8C > [root@kabini1, /etc, 3:00:08pm] 353 % sysctl -A | egrep > '(temperature|usage)' > dev.cpu.0.temperature: 11.7C > dev.cpu.0.cx_usage: 100.00% 0.00% last 880us > dev.cpu.1.temperature: 11.7C > dev.cpu.1.cx_usage: 100.00% last 10us > dev.cpu.2.temperature: 11.7C > dev.cpu.2.cx_usage: 100.00% last 11us > dev.cpu.3.temperature: 11.7C > dev.cpu.3.cx_usage: 100.00% last 10us > [root@kabini1, /etc, 3:00:17pm] 354 % > > > I'd say it's off, room temp is around 76F, or about 26-ish C, & the CPU > is generating heat, so it can't be cooler (Thermodynamics). My CPU is an > AMD Sempron 3850, jaguar-kabini, quad core, fairly new, April 9 2014 to > be precise, exactly the day I bought it :-). I guess it's either > something mbd or too-new CPU, but that is rank speculation. Your numbers > look at least plausible, so I'd say you are good to go, just trying to > get myself there as well. Those CPU's are apparently fairly widely used > in laptops & low-end desktops, so while new-ish, they are certainly not > rare birds. I like the output of your command a bit better than mine, I > think I will adopt it :-) .... Any more info needed, don't hesitate. > > > [root@kabini1, /etc, 3:03:44pm] 354 % uname -a > FreeBSD kabini1.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat > Aug 22 01:54:44 UTC 2015 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > [root@kabini1, /etc, 3:03:47pm] 355 % > > I'm pretty much at the limit of what I can suggest, but thought at least checking the sysctl stuff might be useful since in my experience pretty much everything else which claims to be able to read system and/or CPU temperature tends to fail with massive over-readings. I'll be watching this thread with interest to see if anything useful for me turns up, From owner-freebsd-questions@freebsd.org Mon Aug 31 22:24:55 2015 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 2C3D09C68B0 for ; Mon, 31 Aug 2015 22:24:55 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (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 DC14D1301 for ; Mon, 31 Aug 2015 22:24:54 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id t7VMOkIb003656; Mon, 31 Aug 2015 18:24:47 -0400 (EDT) (envelope-from doug@safeport.com) Date: Mon, 31 Aug 2015 18:24:46 -0400 (EDT) From: doug@safeport.com To: Warren Block cc: "lokadamus@gmx.de" , freebsd-questions@FreeBSD.ORG Subject: Re: generating xorg.conf does not work In-Reply-To: Message-ID: References: <55E0A5E5.1040803@gmx.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Mon, 31 Aug 2015 18:24:47 -0400 (EDT) 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, 31 Aug 2015 22:24:55 -0000 On Fri, 28 Aug 2015, Warren Block wrote: > On Fri, 28 Aug 2015, doug@safeport.com wrote: >> >> Maybe I should have taken the questions one at a time. My highest priority >> question is that the handbook is in error on how to generate xorg.conf. >> startx is just not correct. > > I don't understand what you are saying there. This part got cut from my first post. The handbook says: To generate the configuration file and start the X system, issue this command: % startx This is clearly wrong. 5.4 also says autoconfiguration is the preferred method. I found a post to forums.freebsd.org on 8/4/15 from wblock@ saying: "Auto-generating xorg.conf is not recommended any more." Hence my confusion. The next part I understand and will try. But it seems to me that Xorg -configure, if it is there, should work. I was asking should this be reported as a bug (I could find nothing) or is there another way just not documented yet? >> The next issue (Xorg -confgure), I only noted in passing. My question here >> is this a FreeBSD issue or should it be PR'd to Xorg. For starters 'Xorg >> -configure' selected the vesa driver, autoconfiguration picked the ATI >> Radeon driver. The vesa driver could not negociate a setting. Note even if >> it did the screen resolution would be 1026x760 or whatever the current >> one-size fits all resolution is. This is clearly an error in the Xorg >> command. There may have been other errors in the generated xorg.conf file, >> but the first one was the vesa driver could not get something out of the >> BIOS it liked. Earlier versions of Xorg this all worked albeit with the >> vesa driver. > > Back up for a second. Exactly what video hardware do you have? If you have > onboard Intel video along with an add-on Radeon card, it would probably be > best to disable the Intel video in the BIOS. If this not a depreciated method, I can report it and/or provide all the data. That was not really my question as clearly the radeon driver works. Again I was going for, "is this just a documentation error"? > Otherwise, try this for xorg.conf. Do not add this to an existing file, this > is the *entire* file: > > Section "Device" > Identifier "Card0" > Driver "radeon" > EndSection I assume I can then also add the font commands as needed. I could find no documentation in the FreeBSD wiki or on Xorg that indicated X would just piece all this together. I assume this would now go in /usr/local/etc/X11. Thanks _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Mon Aug 31 23:14:16 2015 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 AD24A9C6043 for ; Mon, 31 Aug 2015 23:14:16 +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 4DAC4D88 for ; Mon, 31 Aug 2015 23:14:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 3BF1C24BD5; Tue, 1 Sep 2015 01:14:12 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t7VNECph002193; Tue, 1 Sep 2015 01:14:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 1 Sep 2015 01:14:12 +0200 From: Polytropon To: Quartz Cc: freebsd-questions Subject: Re: Stop using a SATA drive Message-Id: <20150901011412.ec085f86.freebsd@edvax.de> In-Reply-To: <55E45757.9000901@sneakertech.com> References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <55DEFB5A.3080408@FreeBSD.org> <55DEFC74.3040609@sneakertech.com> <20150828000602.b9a288a8.freebsd@edvax.de> <20150829220809.438bbf30.freebsd@edvax.de> <55E45757.9000901@sneakertech.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 23:14:16 -0000 On Mon, 31 Aug 2015 09:32:07 -0400, Quartz wrote: > > The remaining question is: Is it technically valid to > > remove a device special file from the devfs file system > > corresponding to a device that currently is not in use > > (anymore), but is _present_ (attached to the system in > > some way)? > > I keep using OSX as a point of reference, but the way they do it is that > once the drive has been "ejected", it's effectively not present anymore. > Their mental model is that a drive can be physically attached without > being 'connected' software-wise, just that the process of establishing > that connection when a device is plugged in has been automated. This leaves the more or less philosophical question: If the user intends to use the disk he just ejected (but which is still connected) again, what does he have to do? Obviously, he cannot mount it anymore - no device file. Does he need to pull the USB cable and so powering down the device, and then plugging it in again, causing a somehow superfluous power cycle, to make the device file re-appear, or is there some "scan for new devices" (equivalent to "camcontrol reset")? > Personally I've never had a problem with this mental model. The problems start when you leave the predefined path. :-) > Many > different things can be physically plugged into a computer without > actually functioning (ie; network cable) so I don't see why drives > should have special rules. This is in fact correct, and again philosophically, think about the importance of the _time_: Just because I plug in something _now_ - it doesn't imply that I intend to interact with it right away, or even worse, in the way the OS believes I will. Example 1: I have a hard disk that is to be subject to a forensic analysis. What I do _not_ want is that it will be automacially mounted r/w, maybe searched for files, or written to. Example 2: I have a DVD which I want to copy some files from. Not now, later. What I do _not_ want is that it starts auto-playing. Example 3: I have a PCCARD wireless network adapter which I need the next day for setting up a WLAN AP "man in the middle" for traffic diagnostics. What I do _not_ want is that it automatically connects to my neighbor's open WLAN right now, and phone home. The "problem" with automatism is that one size doesn't fit everyone. :-) > Any anyway, when I eject a drive it's because > I'm about to physically remove it. In this, and _only_ in this kind of context, it's a fully valid approach. It's just that the question of the technical implementation and its valididy remains, and maybe even that is just a matter of taste. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Aug 31 23:35:11 2015 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 21D4B9C6C65 for ; Mon, 31 Aug 2015 23:35: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 DC00418BE for ; Mon, 31 Aug 2015 23:35:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 024CB27847; Tue, 1 Sep 2015 01:35:08 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t7VNZ8ef002258; Tue, 1 Sep 2015 01:35:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 1 Sep 2015 01:35:08 +0200 From: Polytropon To: doug@safeport.com Cc: Warren Block , freebsd-questions@freebsd.org Subject: Re: generating xorg.conf does not work Message-Id: <20150901013508.39c7f458.freebsd@edvax.de> In-Reply-To: References: <55E0A5E5.1040803@gmx.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, 31 Aug 2015 23:35:11 -0000 On Mon, 31 Aug 2015 18:24:46 -0400 (EDT), doug@safeport.com wrote: > On Fri, 28 Aug 2015, Warren Block wrote: > > > On Fri, 28 Aug 2015, doug@safeport.com wrote: > >> > >> Maybe I should have taken the questions one at a time. My highest priority > >> question is that the handbook is in error on how to generate xorg.conf. > >> startx is just not correct. > > > > I don't understand what you are saying there. > > This part got cut from my first post. The handbook says: > > To generate the configuration file and start the X system, issue > this command: > > % startx > > This is clearly wrong. In some way, yes. X will generate configuration data dynamically (auto-detect), but will not write an xorg.conf file to be used later on. "X -configure" will do that. > 5.4 also says autoconfiguration is the preferred method. Works for most things. > I found a post to forums.freebsd.org on 8/4/15 from wblock@ saying: > "Auto-generating xorg.conf is not recommended any more." Only for the few things where auto-detection magic does not work, or where you intendedly want to "hard wire" things and summarize X settings in a central location. To do this, the auto-generated file is a good starting point, but in many cases, can be stripped off of many lines. > > Otherwise, try this for xorg.conf. Do not add this to an existing file, this > > is the *entire* file: > > > > Section "Device" > > Identifier "Card0" > > Driver "radeon" > > EndSection > > I assume I can then also add the font commands as needed. Yes. It should work the same for keyboard language definitions. > I could find no > documentation in the FreeBSD wiki or on Xorg that indicated X would just piece > all this together. I assume this would now go in /usr/local/etc/X11. That's a valid location, but X will also use /etc/X11/xorg.conf (even with partial content) if it is present. In fact, there are other locations; you can find them in "man 5 xorg.conf". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Aug 31 23:40:03 2015 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 692799C6F0A for ; Mon, 31 Aug 2015 23:40:03 +0000 (UTC) (envelope-from maillist@bsdjunk.com) Received: from fallback8.mail.ru (fallback8.mail.ru [94.100.181.110]) by mx1.freebsd.org (Postfix) with ESMTP id 8BBBA1ACB for ; Mon, 31 Aug 2015 23:40:02 +0000 (UTC) (envelope-from maillist@bsdjunk.com) Received: from smtp12.mail.ru (smtp12.mail.ru [94.100.181.93]) by fallback8.mail.ru (mPOP.Fallback_MX) with ESMTP id E52C988BFDF3 for ; Tue, 1 Sep 2015 02:16:31 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=y3zccgDl+BZR/SyqznuMCBM3HNQgkzPksC3k6bKelDY=; b=llpyEBBYJDd18Kvp/0T/DU5tl1snTQY9WpzeMB00xdtGtPtG0AyTZtvEe7rSOWd/CTAL3fWBviMVLW9mrep1vObpJ/Mtftas2zQ/rwDEd30aI970/fGcRZIMNyMLwDnEj3hqPgsZZy1EHzYFpgHkKItbnfWYeyqU2mdRRL6Mttk=; Received: from [187.150.132.107] (port=50180 helo=[192.168.1.77]) by smtp12.mail.ru with esmtpa (envelope-from ) id 1ZWYJK-00020W-6z for freebsd-questions@freebsd.org; Tue, 01 Sep 2015 02:16:22 +0300 Subject: Re: generating xorg.conf does not work To: freebsd-questions@freebsd.org References: <55E0A5E5.1040803@gmx.de> From: Chris Petrik Message-ID: <55E4E041.5020107@bsdjunk.com> Date: Mon, 31 Aug 2015 18:16:17 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Mras: Ok 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, 31 Aug 2015 23:40:03 -0000 On 08/31/15 17:24, doug@safeport.com wrote: > On Fri, 28 Aug 2015, Warren Block wrote: > >> On Fri, 28 Aug 2015, doug@safeport.com wrote: >>> >>> Maybe I should have taken the questions one at a time. My highest >>> priority question is that the handbook is in error on how to >>> generate xorg.conf. >>> startx is just not correct. >> >> I don't understand what you are saying there. > > This part got cut from my first post. The handbook says: > > To generate the configuration file and start the X system, issue > this command: > > % startx > > This is clearly wrong. 5.4 also says autoconfiguration is the > preferred method. I found a post to forums.freebsd.org on 8/4/15 from > wblock@ saying: "Auto-generating xorg.conf is not recommended any more." > > Hence my confusion. The next part I understand and will try. But it > seems to me that Xorg -configure, if it is there, should work. I was > asking should this be reported as a bug (I could find nothing) or is > there another way just not documented yet? > >>> The next issue (Xorg -confgure), I only noted in passing. My >>> question here is this a FreeBSD issue or should it be PR'd to Xorg. >>> For starters 'Xorg -configure' selected the vesa driver, >>> autoconfiguration picked the ATI Radeon driver. The vesa driver >>> could not negociate a setting. Note even if it did the screen >>> resolution would be 1026x760 or whatever the current one-size fits >>> all resolution is. This is clearly an error in the Xorg command. >>> There may have been other errors in the generated xorg.conf file, >>> but the first one was the vesa driver could not get something out of >>> the BIOS it liked. Earlier versions of Xorg this all worked albeit >>> with the vesa driver. >> >> Back up for a second. Exactly what video hardware do you have? If >> you have onboard Intel video along with an add-on Radeon card, it >> would probably be best to disable the Intel video in the BIOS. > > If this not a depreciated method, I can report it and/or provide all > the data. That was not really my question as clearly the radeon driver > works. Again I was going for, "is this just a documentation error"? > >> Otherwise, try this for xorg.conf. Do not add this to an existing >> file, this is the *entire* file: >> >> Section "Device" >> Identifier "Card0" >> Driver "radeon" >> EndSection > > I assume I can then also add the font commands as needed. I could find > no documentation in the FreeBSD wiki or on Xorg that indicated X would > just piece all this together. I assume this would now go in > /usr/local/etc/X11. > > Thanks > > _____ > Douglas Denault > http://www.safeport.com > doug@safeport.com > Voice: 301-217-9220 > Fax: 301-217-9277 > _______________________________________________ > 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" Hi, I think what wblock meant was the old Xorg -configure is no longer recommended. Also this is the wrong list to be complaining that the docs are wrong these are mainly for questions freebsd-docs@ is what you want to chit chat about doc issues. Or just fetch the code and edit to what you think it should say. I am rather interested to see said patch. From owner-freebsd-questions@freebsd.org Tue Sep 1 01:37:23 2015 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 40B869C70B6 for ; Tue, 1 Sep 2015 01:37:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 107FE12E2 for ; Tue, 1 Sep 2015 01:37:22 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t811bK5O035831 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 31 Aug 2015 19:37:20 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t811bJkR035828; Mon, 31 Aug 2015 19:37:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 31 Aug 2015 19:37:19 -0600 (MDT) From: Warren Block To: doug@safeport.com cc: "lokadamus@gmx.de" , freebsd-questions@FreeBSD.ORG Subject: Re: generating xorg.conf does not work In-Reply-To: Message-ID: References: <55E0A5E5.1040803@gmx.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 31 Aug 2015 19:37:20 -0600 (MDT) 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, 01 Sep 2015 01:37:23 -0000 On Mon, 31 Aug 2015, doug@safeport.com wrote: > On Fri, 28 Aug 2015, Warren Block wrote: > >> On Fri, 28 Aug 2015, doug@safeport.com wrote: >>> >>> Maybe I should have taken the questions one at a time. My highest priority >>> question is that the handbook is in error on how to generate xorg.conf. >>> startx is just not correct. >> >> I don't understand what you are saying there. > > This part got cut from my first post. The handbook says: > > To generate the configuration file and start the X system, issue > this command: > > % startx > > This is clearly wrong. 5.4 also says autoconfiguration is the preferred > method. I found a post to forums.freebsd.org on 8/4/15 from wblock@ saying: > "Auto-generating xorg.conf is not recommended any more." It's not, at least not on the forums. The X11 section of the Handbook needs a complete rewrite. > Hence my confusion. The next part I understand and will try. But it seems to > me that Xorg -configure, if it is there, should work. I was asking should > this be reported as a bug (I could find nothing) or is there another way just > not documented yet? Last I knew, --configure caused a core dump. I don't know why, but it's just another reason to avoid it. >>> The next issue (Xorg -confgure), I only noted in passing. My question here >>> is this a FreeBSD issue or should it be PR'd to Xorg. For starters 'Xorg >>> -configure' selected the vesa driver, autoconfiguration picked the ATI >>> Radeon driver. The vesa driver could not negociate a setting. Note even if >>> it did the screen resolution would be 1026x760 or whatever the current >>> one-size fits all resolution is. This is clearly an error in the Xorg >>> command. There may have been other errors in the generated xorg.conf file, >>> but the first one was the vesa driver could not get something out of the >>> BIOS it liked. Earlier versions of Xorg this all worked albeit with the >>> vesa driver. >> >> Back up for a second. Exactly what video hardware do you have? If you >> have onboard Intel video along with an add-on Radeon card, it would >> probably be best to disable the Intel video in the BIOS. > > If this not a depreciated method, I can report it and/or provide all the > data. That was not really my question as clearly the radeon driver works. > Again I was going for, "is this just a documentation error"? We could be dealing with multiple problems. It's hard to tell. The reason for asking about the exact hardware was to see if either or both of the Intel and Radeon hardware was too new to be supported, because then the vesa driver would be involved. >> Otherwise, try this for xorg.conf. Do not add this to an existing file, >> this is the *entire* file: >> >> Section "Device" >> Identifier "Card0" >> Driver "radeon" >> EndSection > > I assume I can then also add the font commands as needed. I'm not sure even those are needed. > I could find no documentation in the FreeBSD wiki or on Xorg that > indicated X would just piece all this together. As above, the X11 chapter needs a rewrite. > I assume this would now go in /usr/local/etc/X11. Yes. Some people still use /etc/X11, but that breaks the separation of ports and base. From owner-freebsd-questions@freebsd.org Tue Sep 1 12:33:56 2015 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 422469C670F for ; Tue, 1 Sep 2015 12:33:56 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08E0E1025 for ; Tue, 1 Sep 2015 12:33:56 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by iog7 with SMTP id 7so69642832iog.2 for ; Tue, 01 Sep 2015 05:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=nMX8xF/ze0Pcq31yYhryS3zi2SA5bYb4fJzqkYUSOJc=; b=Q9xMc+vlA5aW6OR6PZ4rM6g54stRlEyxZEDQSMO+AZRuqCjPKfo3u3aMBCfG2hgUgT 2rsZP0DUIufJ+GyFsSs3SY3j0FHRGDmuCt9GtmiEqFJSM6NwmllgcnZskm5gKr2sxVSG aV4szSwQEkw8GcdyhlTuUxeQ0ZQBycqSIn4CCvczZX2nqywK6pRJP3Aeki8wAowoToEL W3LZpSfqXU4wVH7EU6vFefEMwBehaMnm+H3PER12Ek7fUb9ZC9O0bQRNXx+E5VbI/uXb d7oxmX/CEL/07nxRxOokK1E9khyPoYFk/kFPaouSdJ2gnx3zq5xkHa3ZCJA3dY9K+AUA Y3YQ== X-Received: by 10.107.39.142 with SMTP id n136mr21927063ion.193.1441110834862; Tue, 01 Sep 2015 05:33:54 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by smtp.googlemail.com with ESMTPSA id x23sm7305175ioi.41.2015.09.01.05.33.53 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Sep 2015 05:33:54 -0700 (PDT) Message-ID: <55E59B36.1050606@gmail.com> Date: Tue, 01 Sep 2015 08:33:58 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: =?UTF-8?B?0KDRg9GB0LvQsNC9INCR0YPRgNGF0LDQvdC+0LI=?= CC: freebsd-questions Subject: Re: how to change daily cron emails to go to user account instead of root References: <55DF057F.6040205@gmail.com> <55DF0C75.5000907@qeng-ho.org> <55DF0DB3.3040400@qeng-ho.org> <55E2F727.2040804@gmail.com> <55E2FDFA.7090301@qeng-ho.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; 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: Tue, 01 Sep 2015 12:33:56 -0000 Руслан Бурханов wrote: > Ernie, look: > > Open you rc.conf, copy string and modify flags for cron daemon: > > cron_flags="-j 60 -m 'YOU@MAIL'" > > Then, restart cron daemon (it is not necessary reboot system): > > /etc/rc.d/cron restart > > Then take a look on cron process: > > ps auxww | grep cron > > If you doing all okey, it will be something like: > > root 561 0.0 0.1 7984 1528 ?? Is 3:16PM 0:00.01 > /usr/sbin/cron -j 60 -m YOU@MAIL -s > Thank you Руслан Бурханов for the informative reply. I did as you said and still the cron email went to root.instead of to bob. I edited rc.conf and added this cron_flags="-m 'bob@mydomain'" followed by "service cron restart" console command. ps auxww console command showed root 1953 0,0 0.2 10184 1940 - Is 1:05PM 0:00.30 /usr/sbin/cron -m bob@mydomain -s I am running version 10.2 on the host. In the /var/log/maillog file I can see postfix messages showing root receiving the emails. rc.conf hostname= option value is the same as the mydomain value in the cron_flags= option. Looks and acts like cron is not processing the over ride destination at daily cron security check time. Other than this problem of over ridding the cron email destination every thing seems to be working as one would expect. Is this enough to declare this a bug and submit a bug report? Can you suggest other tests I can do to help debug this problem? Thanks Ernie From owner-freebsd-questions@freebsd.org Tue Sep 1 13:43:55 2015 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 6F3B59C8FC7 for ; Tue, 1 Sep 2015 13:43:55 +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 EC2B31918 for ; Tue, 1 Sep 2015 13:43:54 +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 t81Dhk6v037729; Tue, 1 Sep 2015 14:43:46 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: how to change daily cron emails to go to user account instead of root To: Ernie Luzar References: <55DF057F.6040205@gmail.com> <55DF0C75.5000907@qeng-ho.org> <55DF0DB3.3040400@qeng-ho.org> <55E2F727.2040804@gmail.com> <55E2FDFA.7090301@qeng-ho.org> <55E59B36.1050606@gmail.com> Cc: freebsd-questions From: Arthur Chance Message-ID: <55E5AB92.20005@qeng-ho.org> Date: Tue, 1 Sep 2015 14:43:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E59B36.1050606@gmail.com> Content-Type: text/plain; charset=utf-8; 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: Tue, 01 Sep 2015 13:43:55 -0000 On 01/09/2015 13:33, Ernie Luzar wrote: > Руслан Бурханов wrote: >> Ernie, look: >> >> Open you rc.conf, copy string and modify flags for cron daemon: >> >> cron_flags="-j 60 -m 'YOU@MAIL'" >> >> Then, restart cron daemon (it is not necessary reboot system): >> >> /etc/rc.d/cron restart >> >> Then take a look on cron process: >> >> ps auxww | grep cron >> >> If you doing all okey, it will be something like: >> >> root 561 0.0 0.1 7984 1528 ?? Is 3:16PM 0:00.01 >> /usr/sbin/cron -j 60 -m YOU@MAIL -s >> > Thank you Руслан Бурханов for the informative reply. > I did as you said and still the cron email went to root.instead of to bob. > > I edited rc.conf and added this cron_flags="-m 'bob@mydomain'" followed > by "service cron restart" console command. > ps auxww console command showed > root 1953 0,0 0.2 10184 1940 - Is 1:05PM 0:00.30 /usr/sbin/cron -m > bob@mydomain -s > > I am running version 10.2 on the host. In the /var/log/maillog file I > can see postfix messages showing root receiving the emails. > rc.conf hostname= option value is the same as the mydomain value in the > cron_flags= option. > Looks and acts like cron is not processing the over ride destination at > daily cron security check time. > Other than this problem of over ridding the cron email destination every > thing seems to be working as one would expect. > Is this enough to declare this a bug and submit a bug report? > Can you suggest other tests I can do to help debug this problem? In the case of mail from periodic (the usual source of mail to root) there is no bug. I've already explained to you that periodic reroutes its output independent of cron's settings, and I've shown you how to deal with that. You've also had the suggestion of using aliases to ensure that any mail to root *whatever its origins* goes to some other user. Have you tried either of those techniques? -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Tue Sep 1 15:09:55 2015 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 A58419C7141 for ; Tue, 1 Sep 2015 15:09:55 +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 5F91B1290 for ; Tue, 1 Sep 2015 15:09:55 +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 535EB33C24; Tue, 1 Sep 2015 11:03:33 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 526093984C; Tue, 1 Sep 2015 11:03:31 -0400 (EDT) From: Lowell Gilbert To: Dave Cc: freebsd-questions@freebsd.org Subject: Re: system temperatures References: <55E324C4.4010500@hiwaay.net> <1568095.rmZeycZDhO@amd.asgard.uk> <55E4B2FA.9090501@hiwaay.net> <1580689.71VicvVbGW@amd.asgard.uk> Date: Tue, 01 Sep 2015 11:03:31 -0400 In-Reply-To: <1580689.71VicvVbGW@amd.asgard.uk> (dave@dgmm.net's message of "Mon, 31 Aug 2015 22:39 +0100") Message-ID: <44oahmdvwc.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: Tue, 01 Sep 2015 15:09:55 -0000 Dave writes: > On Monday 31 August 2015 15:08:36 William A. Mahaffey III wrote: >> On 08/31/15 13:42, Dave wrote: >> > On Sunday 30 August 2015 10:49:34 you wrote: >> >> It is convenient on my various linux boxen to use lm_sensors to retrieve >> >> apparently accurate temps. for various system components (CPU's), as >> >> well as data on fan speeds, etc. Under FreeBSD (9.3R-p21), sysctl >> >> provides some of this info, but apparently inaccurately. It would be >> >> sweet to fix that minor issue, seems like it would be a bit more than >> >> just sweet for remote servers, etc. Do I file this as a problem report >> >> of some sort ? If so, how do I go about doing that ? TIA & have a >> >> nice weekend. >> > It might be worth doing this: >> > >> > sysctl -a | grep temp >> > dev.cpu.0.temperature: 42.0C >> > dev.cpu.1.temperature: 42.0C >> > dev.cpu.2.temperature: 42.0C >> > dev.cpu.3.temperature: 42.0C >> > dev.cpu.4.temperature: 42.0C >> > dev.cpu.5.temperature: 42.0C >> > dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors >> > dev.amdtemp.0.%driver: amdtemp >> > dev.amdtemp.0.%parent: hostb4 >> > dev.amdtemp.0.sensor0.core0: 42.0C >> > >> > ...just to see what else might show up in relation to temperatures >> > in the various sysctl variables. >> > >> > both healthd and xmbmon in their default states report a CPU temp of ~143c on my system. >> > 42c is ~107F so that's not the problem. >> >> >> Hmmmm .... OK, your command, followed by my usual incantation: >> >> >> [root@kabini1, /etc, 3:00:06pm] 352 % sysctl -a | grep temp >> amdtemp0: on hostb5 >> net.inet6.ip6.use_tempaddr: 0 >> net.inet6.ip6.temppltime: 86400 >> net.inet6.ip6.tempvltime: 604800 >> net.inet6.ip6.prefer_tempaddr: 0 >> hw.usb.template: 0 >> dev.cpu.0.temperature: 11.8C >> dev.cpu.1.temperature: 11.8C >> dev.cpu.2.temperature: 11.8C >> dev.cpu.3.temperature: 11.8C >> dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors >> dev.amdtemp.0.%driver: amdtemp >> dev.amdtemp.0.%parent: hostb5 >> dev.amdtemp.0.sensor0.core0: 11.8C >> [root@kabini1, /etc, 3:00:08pm] 353 % sysctl -A | egrep >> '(temperature|usage)' >> dev.cpu.0.temperature: 11.7C >> dev.cpu.0.cx_usage: 100.00% 0.00% last 880us >> dev.cpu.1.temperature: 11.7C >> dev.cpu.1.cx_usage: 100.00% last 10us >> dev.cpu.2.temperature: 11.7C >> dev.cpu.2.cx_usage: 100.00% last 11us >> dev.cpu.3.temperature: 11.7C >> dev.cpu.3.cx_usage: 100.00% last 10us >> [root@kabini1, /etc, 3:00:17pm] 354 % >> >> >> I'd say it's off, room temp is around 76F, or about 26-ish C, & the CPU >> is generating heat, so it can't be cooler (Thermodynamics). My CPU is an >> AMD Sempron 3850, jaguar-kabini, quad core, fairly new, April 9 2014 to >> be precise, exactly the day I bought it :-). I guess it's either >> something mbd or too-new CPU, but that is rank speculation. Your numbers >> look at least plausible, so I'd say you are good to go, just trying to >> get myself there as well. Those CPU's are apparently fairly widely used >> in laptops & low-end desktops, so while new-ish, they are certainly not >> rare birds. I like the output of your command a bit better than mine, I >> think I will adopt it :-) .... Any more info needed, don't hesitate. >> >> >> [root@kabini1, /etc, 3:03:44pm] 354 % uname -a >> FreeBSD kabini1.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat >> Aug 22 01:54:44 UTC 2015 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >> [root@kabini1, /etc, 3:03:47pm] 355 % >> >> > I'm pretty much at the limit of what I can suggest, but thought at > least checking the sysctl stuff might be useful since in my experience > pretty much everything else which claims to be able to read system and/or > CPU temperature tends to fail with massive over-readings. > > I'll be watching this thread with interest to see if anything useful for > me turns up, At some point, AMD claimed that they weren't going to try accurate temperature measurements any more, and just focus on having good enough information for power control. I don't really have the time to look up the details in their manuals, though -- this information is not covered in the data sheet where I expected to find it. From owner-freebsd-questions@freebsd.org Tue Sep 1 15:10:24 2015 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 3873A9C71A3 for ; Tue, 1 Sep 2015 15:10:24 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF145134A for ; Tue, 1 Sep 2015 15:10:23 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by igbkq10 with SMTP id kq10so3303452igb.0 for ; Tue, 01 Sep 2015 08:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FA8e16MH8b2Do2J/Kwdlsi0bI/6NS8j1q3jespxZokM=; b=qtbn6+6f9t2pyc17XHV7FyyYJL+4CsZlUOwJLZmql9sHEsT99KvXgO43aXAcN/QSfx l7lpL8RVNvUOMlM6GA+aCa0xeuWNPGck3E5+jC8+1Hwxo24rktLEHOWxJUfl3FHhum+c bMRwOAXcfCYuC8Q4dVzIjMUIFbTzZdvAS8a2rVkDjbWD5XsIGYaiWfvRA6NFMuhkZdBb gs1ebrarod14S2Gr9kIV6lean1GHpFmNLqLRkSSimOoFX8Cl0G4yKanAZfo0TkRVmicy eH7+4oiWbVxJlCYsU5Pe2hFBshFPQ6s4G4E/idTHj//3uAzbkLysnw++lwOV0xNkZoBp /l7A== X-Received: by 10.50.2.39 with SMTP id 7mr2711109igr.86.1441120222289; Tue, 01 Sep 2015 08:10:22 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by smtp.googlemail.com with ESMTPSA id bd7sm1783309igb.19.2015.09.01.08.10.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Sep 2015 08:10:21 -0700 (PDT) Message-ID: <55E5BFE7.8050008@gmail.com> Date: Tue, 01 Sep 2015 11:10:31 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Arthur Chance CC: freebsd-questions Subject: Re: how to change daily cron emails to go to user account instead of root References: <55DF057F.6040205@gmail.com> <55DF0C75.5000907@qeng-ho.org> <55DF0DB3.3040400@qeng-ho.org> <55E2F727.2040804@gmail.com> <55E2FDFA.7090301@qeng-ho.org> <55E59B36.1050606@gmail.com> <55E5AB92.20005@qeng-ho.org> In-Reply-To: <55E5AB92.20005@qeng-ho.org> Content-Type: text/plain; charset=UTF-8; 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: Tue, 01 Sep 2015 15:10:24 -0000 Arthur Chance wrote: > On 01/09/2015 13:33, Ernie Luzar wrote: >> Руслан Бурханов wrote: >>> Ernie, look: >>> >>> Open you rc.conf, copy string and modify flags for cron daemon: >>> >>> cron_flags="-j 60 -m 'YOU@MAIL'" >>> >>> Then, restart cron daemon (it is not necessary reboot system): >>> >>> /etc/rc.d/cron restart >>> >>> Then take a look on cron process: >>> >>> ps auxww | grep cron >>> >>> If you doing all okey, it will be something like: >>> >>> root 561 0.0 0.1 7984 1528 ?? Is 3:16PM 0:00.01 >>> /usr/sbin/cron -j 60 -m YOU@MAIL -s >>> >> Thank you Руслан Бурханов for the informative reply. >> I did as you said and still the cron email went to root.instead of to >> bob. >> >> I edited rc.conf and added this cron_flags="-m 'bob@mydomain'" followed >> by "service cron restart" console command. >> ps auxww console command showed >> root 1953 0,0 0.2 10184 1940 - Is 1:05PM 0:00.30 /usr/sbin/cron -m >> bob@mydomain -s >> >> I am running version 10.2 on the host. In the /var/log/maillog file I >> can see postfix messages showing root receiving the emails. >> rc.conf hostname= option value is the same as the mydomain value in the >> cron_flags= option. >> Looks and acts like cron is not processing the over ride destination at >> daily cron security check time. >> Other than this problem of over ridding the cron email destination every >> thing seems to be working as one would expect. >> Is this enough to declare this a bug and submit a bug report? >> Can you suggest other tests I can do to help debug this problem? > > In the case of mail from periodic (the usual source of mail to root) > there is no bug. I've already explained to you that periodic reroutes > its output independent of cron's settings, and I've shown you how to > deal with that. > > You've also had the suggestion of using aliases to ensure that any > mail to root *whatever its origins* goes to some other user. > > Have you tried either of those techniques? > Hello Arthur Chance; Thank you for your reply. To answer your questions. I have not tried the techniques of postfix alias and periodic.conf that you have been so good as to point out. Lets step back and look at the big cron picture. Cron is designed as per the cron manual pages to use rc.conf cron_flags= option to over ride the default "root" destination. Now you state and tests prove that the cron periodic routines reroutes its output independent of cron's settings. To my way of thinking this is the definition of the bug I am experiencing. The periodic routines are in error by not adhering to the cron design standard. The periodic routines need code added to them to comply with the cron design and check for or use the value in the flags option to over ride the destination. Adding the statements you previous posted to periodic.conf is a work-a-round, not a fix or the correct method as per man cron. The goal here is not to just get things working by a secondary method, but more to the point of getting bugs corrected. Thank you for pointing out the cause of this bug. I am going to post a bug report on this. From owner-freebsd-questions@freebsd.org Tue Sep 1 16:00:58 2015 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 55DAC9C6FCE for ; Tue, 1 Sep 2015 16:00:58 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::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 F13731F3E for ; Tue, 1 Sep 2015 16:00:57 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by wicjd9 with SMTP id jd9so38340351wic.1 for ; Tue, 01 Sep 2015 09:00:56 -0700 (PDT) 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=eVXKZVSOBwNX1QLUacjlGG7viGDBcXFpf22jvJU97hA=; b=LbAknvTLfwVoQz6kDiSKXWX1Cb0sV+xKCFIYYXi27tpt1tBTelf9mGsZ/+Whr1HAGx zuUkJLDCCUSoF7ktd/GWfb2sKINP/fhK4KvHEO8qbHpB3NZLkPEIZZFJmhjdMIyNXqLv DX1vUOEgWTABk49A+BL8xitrso6WyStk5CHzwFLzhDAGctWn4LQ9wAXGSXbOhb9Vd06B gpubwBzkOHcgmWRPIpXdwUj1vUpb7hj5UfkYQeTFAYiZDsSPctemj/yIjVzcsjINizyO X5VrRR6L9tOjJLt4KlaSeH/BuEtUMgZvNaHtaeZQrZ8D3yo95g9Uo3jcwmTu+mMjQmDe MheA== X-Received: by 10.194.77.70 with SMTP id q6mr34585480wjw.70.1441123255871; Tue, 01 Sep 2015 09:00:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.172.193 with HTTP; Tue, 1 Sep 2015 09:00:16 -0700 (PDT) From: Odhiambo Washington Date: Tue, 1 Sep 2015 19:00:16 +0300 Message-ID: Subject: Allowing uTorrent for a certain host - IPFilter 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: Tue, 01 Sep 2015 16:00:58 -0000 I would like to let a few PCs behind my FreeBSD gateway machine to download some files using uTorrent. My IPFilter rules file is: http://pastebin.com/6RWXV5Ry I have tried pass in quick on bge0 proto tcp from any to 192.168.55.3 flags S keep state pass in quick on bge0 proto udp from any to 192.168.55.3 keep state pass out quick on bge0 proto tcp from any to 192.168.55.3 flags S keep state pass out quick on bge0 proto udp from any to 192.168.55.3 keep state Looks like I am either not putting the rules at the right place in the filter or I have just lost it:) Any advise is welcome. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From owner-freebsd-questions@freebsd.org Tue Sep 1 16:12:39 2015 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 78D4A9C76B1 for ; Tue, 1 Sep 2015 16:12:39 +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 2E009BD0 for ; Tue, 1 Sep 2015 16:12:38 +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 t81GCZhP038286; Tue, 1 Sep 2015 17:12:36 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: how to change daily cron emails to go to user account instead of root To: Ernie Luzar References: <55DF057F.6040205@gmail.com> <55DF0C75.5000907@qeng-ho.org> <55DF0DB3.3040400@qeng-ho.org> <55E2F727.2040804@gmail.com> <55E2FDFA.7090301@qeng-ho.org> <55E59B36.1050606@gmail.com> <55E5AB92.20005@qeng-ho.org> <55E5BFE7.8050008@gmail.com> Cc: freebsd-questions From: Arthur Chance Message-ID: <55E5CE73.9020007@qeng-ho.org> Date: Tue, 1 Sep 2015 17:12:35 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E5BFE7.8050008@gmail.com> Content-Type: text/plain; charset=utf-8; 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: Tue, 01 Sep 2015 16:12:39 -0000 On 01/09/2015 16:10, Ernie Luzar wrote: > Arthur Chance wrote: >> On 01/09/2015 13:33, Ernie Luzar wrote: >>> Руслан Бурханов wrote: >>>> Ernie, look: >>>> >>>> Open you rc.conf, copy string and modify flags for cron daemon: >>>> >>>> cron_flags="-j 60 -m 'YOU@MAIL'" >>>> >>>> Then, restart cron daemon (it is not necessary reboot system): >>>> >>>> /etc/rc.d/cron restart >>>> >>>> Then take a look on cron process: >>>> >>>> ps auxww | grep cron >>>> >>>> If you doing all okey, it will be something like: >>>> >>>> root 561 0.0 0.1 7984 1528 ?? Is 3:16PM 0:00.01 >>>> /usr/sbin/cron -j 60 -m YOU@MAIL -s >>>> >>> Thank you Руслан Бурханов for the informative reply. >>> I did as you said and still the cron email went to root.instead of to >>> bob. >>> >>> I edited rc.conf and added this cron_flags="-m 'bob@mydomain'" followed >>> by "service cron restart" console command. >>> ps auxww console command showed >>> root 1953 0,0 0.2 10184 1940 - Is 1:05PM 0:00.30 /usr/sbin/cron -m >>> bob@mydomain -s >>> >>> I am running version 10.2 on the host. In the /var/log/maillog file I >>> can see postfix messages showing root receiving the emails. >>> rc.conf hostname= option value is the same as the mydomain value in the >>> cron_flags= option. >>> Looks and acts like cron is not processing the over ride destination at >>> daily cron security check time. >>> Other than this problem of over ridding the cron email destination every >>> thing seems to be working as one would expect. >>> Is this enough to declare this a bug and submit a bug report? >>> Can you suggest other tests I can do to help debug this problem? >> >> In the case of mail from periodic (the usual source of mail to root) >> there is no bug. I've already explained to you that periodic reroutes >> its output independent of cron's settings, and I've shown you how to >> deal with that. >> >> You've also had the suggestion of using aliases to ensure that any >> mail to root *whatever its origins* goes to some other user. >> >> Have you tried either of those techniques? >> > > Hello Arthur Chance; > Thank you for your reply. > > To answer your questions. I have not tried the techniques of postfix > alias and periodic.conf that you have been so good as to point out. > > Lets step back and look at the big cron picture. Cron is designed as per > the cron manual pages to use rc.conf cron_flags= option to over ride > the default "root" destination. Now you state and tests prove that the > cron periodic routines reroutes its output independent of cron's > settings. To my way of thinking this is the definition of the bug I am > experiencing. The periodic routines are in error by not adhering to the > cron design standard. The periodic routines need code added to them to > comply with the cron design and check for or use the value in the flags > option to over ride the destination. No, cron mails output to the user but periodic is specifically designed to handle its own output because you can make it send all output to log files rather than mail. (There's even a default set of files handled by newsyslog to enable this - the whole thing is very well thought out.) This is necessary on servers which do not run a mailer and is a design feature not a bug. Output would simply be lost otherwise. If you had read the manual page for periodic you'd know this. If you really insist that periodic must route its output via cron, look at the option of setting the output variables to an empty string. > Adding the statements you previous posted to periodic.conf is a > work-a-round, not a fix or the correct method as per man cron. The goal > here is not to just get things working by a secondary method, but more > to the point of getting bugs corrected. Periodic is a different program from cron with a different set of requirements. Setting the output variables is not a work round or secondary method, it's the way periodic works. RTFM is always good advice. > Thank you for pointing out the cause of this bug. I am going to post a > bug report on this. I predict it will be rejected because there is no bug, just the way things have worked for a long time. -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Tue Sep 1 22:30:03 2015 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 41E619C7466 for ; Tue, 1 Sep 2015 22:30:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06B0512A2 for ; Tue, 1 Sep 2015 22:30:02 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZWu3s-0002Ro-J9 for freebsd-questions@freebsd.org; Wed, 02 Sep 2015 00:29:52 +0200 Received: from 5e1bcc45.mobile.pool.telekom.hu ([94.27.204.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Sep 2015 00:29:52 +0200 Received: from leventelist by 5e1bcc45.mobile.pool.telekom.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Sep 2015 00:29:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Lev Subject: LaTeX issues Date: Wed, 2 Sep 2015 00:29:45 +0200 Lines: 23 Message-ID: <20150902002945.67e2bb2a@jive.levalinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 5e1bcc45.mobile.pool.telekom.hu X-Newsreader: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) 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, 01 Sep 2015 22:30:03 -0000 SGksDQoNCg0KSWYgSSBydW4gdGV4aTJkdmksIEkgZ2V0IHRoaXM6DQoNCi91c3IvbG9jYWwvYmlu L3RleGkyZHZpIC0tcGRmIC0tYmF0Y2ggIC0tYnVpbGQtZGlyPXBjYi50MnAgLW8gcGNiLnBkZiAg XA0KcGNiLnRleGkNCi91c3IvbG9jYWwvYmluL3RleGkyZHZpOiB0ZXhpbmZvLnRleCBhcHBlYXJz IHRvIGJlIGJyb2tlbi4NClRoaXMgbWF5IGJlIGR1ZSB0byB0aGUgZW52aXJvbm1lbnQgdmFyaWFi bGUgVEVYIHNldCB0byBzb21ldGhpbmcNCm90aGVyIHRoYW4gKHBsYWluKSB0ZXgsIGEgY29ycnVw dCB0ZXhpbmZvLnRleCBmaWxlLCBvciANCnRvIHRleCBpdHNlbGYgc2ltcGx5IG5vdCB3b3JraW5n Lg0KVGhpcyBpcyBwZGZUZVgsIFZlcnNpb24gMy4xNDE1OTI2NS0yLjYtMS40MC4xNiAoV2ViMkMg MjAxNSkgKHByZWxvYWRlZCBmb3JtYXQ9ZXRleCkNCiByZXN0cmljdGVkIFx3cml0ZTE4IGVuYWJs ZWQuDQotLS0hIC91c3IvbG9jYWwvc2hhcmUvdGV4bWYtdmFyL3dlYjJjL3BkZnRleC9ldGV4LmZt dCBkb2Vzbid0IG1hdGNoIHBkZnRleC5wb29sDQoNCg0KDQpJZiBJIHJ1biBsYXRleCwgSSBnZXQg dGhpczoNCg0KVGhpcyBpcyBwZGZUZVgsIFZlcnNpb24gMy4xNDE1OTI2NS0yLjYtMS40MC4xNiAo V2ViMkMgMjAxNSkgKHByZWxvYWRlZCBmb3JtYXQ9bGF0ZXgpDQogcmVzdHJpY3RlZCBcd3JpdGUx OCBlbmFibGVkLg0KLS0tISAvdXNyL2xvY2FsL3NoYXJlL3RleG1mLXZhci93ZWIyYy9wZGZ0ZXgv bGF0ZXguZm10IGRvZXNuJ3QgbWF0Y2ggcGRmdGV4LnBvb2wNCihGYXRhbCBmb3JtYXQgZmlsZSBl cnJvcjsgSSdtIHN0eW1pZWQpDQoNCg0KSU1ITyB0aGVyZSdzIHNvbWV0aGluZyB3cm9uZyB3aXRo IHRoZSBjdXJyZW50IExhVGVYIHBhY2thZ2VzLiBQbGVhc2UNCm5vdGUgdGhhdCBJIHVwZ3JhZGVk IHJlY2VudGx5IGZyb20gMTAuMSB0byAxMC4yLiBEaWQgSSBkbyBzb21ldGhpbmcNCndyb25nIHdo aWxlIGRvaW5nIHRoZSB1cGdyYWRlPw0KDQp1bmFtZSAtYQ0KRnJlZUJTRCBqaXZlIDEwLjItUkVM RUFTRS1wMiBGcmVlQlNEIDEwLjItUkVMRUFTRS1wMiAjMDogU2F0IEF1ZyAyOSAxNzo0MTozMCBD RVNUIDIwMTUgICAgIGxldmFAaml2ZTovdXNyL29iai91c3Ivc3JjL3N5cy9HRU5FUklDICBhbWQ2 NA0KDQpBbnkgd29ya2Fyb3VuZD8NCg0KVGhhbmtzLA0KTGV2DQoNCi0tIA0KNzMgZGUgSEE1T0dM DQpPcC46IExldmVudGUNCg== From owner-freebsd-questions@freebsd.org Tue Sep 1 22:38:27 2015 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 58B5A9C793E for ; Tue, 1 Sep 2015 22:38:27 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9B801A79 for ; Tue, 1 Sep 2015 22:38:26 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by lbpo4 with SMTP id o4so8106669lbp.2 for ; Tue, 01 Sep 2015 15:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=14T1q/5YpTxqwizKEc0HMx7U4COhodI3RTBmKnZqU+E=; b=sJAATwahp3Mb5Stveij3vdr3d1QU+jQAN7A31uvwbAf8rdsJW21vpBI9YoMusms37d PjsCnNHvgIsW/q+2kHPXdQKjo6Het387MJTIM+YJ203fKtFqu0KLRRKAhD7X/r6dQuXl HeAzqr6MBo508wWsz1hcrbwu7HBmme8KzIxjNtCVSJkPN7F71cnVXS6Sh7lXlkoU/Tdt myrDSn/z8IgBAeqyFqR/BH5FM7n3zHalpUhvylegdfhr/71V1u7XcYYKAtaE0NDM2gUY oPmlPlLQtr2nqnPeE7sjNHLPq0D5qCIDHystqDjE75TAGVco41LTMvWr4NrfuHBmZU0a RkcA== MIME-Version: 1.0 X-Received: by 10.152.29.6 with SMTP id f6mr13934098lah.85.1441147104818; Tue, 01 Sep 2015 15:38:24 -0700 (PDT) Received: by 10.112.149.201 with HTTP; Tue, 1 Sep 2015 15:38:24 -0700 (PDT) In-Reply-To: <20150902002945.67e2bb2a@jive.levalinux.org> References: <20150902002945.67e2bb2a@jive.levalinux.org> Date: Tue, 1 Sep 2015 17:38:24 -0500 Message-ID: Subject: Re: LaTeX issues From: Adam Vande More To: Lev 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, 01 Sep 2015 22:38:27 -0000 On Tue, Sep 1, 2015 at 5:29 PM, Lev wrote: > > Any workaround? > During an upgrade not so long ago or far away, I experienced issues w/ latex afterwards. I never did find the root cause but removing and then installing the latex packages resolved the issue. -- Adam From owner-freebsd-questions@freebsd.org Tue Sep 1 22:45:22 2015 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 C2EB69C7E66 for ; Tue, 1 Sep 2015 22:45:22 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from forward16p.cmail.yandex.net (forward16p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::bf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7ADAE1F55 for ; Tue, 1 Sep 2015 22:45:22 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from smtp18.mail.yandex.net (smtp18.mail.yandex.net [95.108.252.18]) by forward16p.cmail.yandex.net (Yandex) with ESMTP id 4205121E82 for ; Wed, 2 Sep 2015 01:45:10 +0300 (MSK) Received: from smtp18.mail.yandex.net (localhost [127.0.0.1]) by smtp18.mail.yandex.net (Yandex) with ESMTP id 11F2918A00D5 for ; Wed, 2 Sep 2015 01:45:09 +0300 (MSK) Received: by smtp18.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id NWaQ5MLh2E-j8t0lN1h; Wed, 2 Sep 2015 01:45:08 +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=1441147509; bh=cKjvlP7Qc5yR7RloTXhptRIRUjqRTOWkebDC9RlQBMM=; h=Message-ID:Subject:From:To:Date:Content-Type:X-Mailer: Mime-Version:Content-Transfer-Encoding; b=tOX5CIl+N+wnpyEjPRBNAgWLTN59Gq5CZtWhaQktbO34u3yCus+I55g1FyMJWuwJJ rr9aDsyY3iQYMsRXraoFysvVHvqz2+SO4dF1Rp1FIJ7ZRYdA+rsSHRViMBJBT1xgQe Rk9MZnvehhmrLgmrXWCHApn6YnVImyP1+rFfcpG4= Authentication-Results: smtp18.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-ForeignMX: US Message-ID: <1441147505.8153.6.camel@yandex.com> Subject: usb reader card mount From: Stari Karp To: FreeBSD Questions Date: Tue, 01 Sep 2015 18:45:05 -0400 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.4 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: Tue, 01 Sep 2015 22:45:22 -0000 Hi! My system FreeBSD 10.2-RELEASE (GENERIC/amd64) and GNOME 3.16 started with GDM. On previous version of GNOME 3.14 I didn't have a problem with automounting USB card reader but now on 3.16 I have problem just with unmount. I got a message: Cannot umount volume Cannot umont volume "BLA BLA' cannot remove directory. But it is unmounted but empty directory is there still. In /var/log/messages I have: Aug 30 14:09:45 starikarp kernel: ugen3.5: at usbus3 Aug 30 14:09:45 starikarp kernel: umass2: on usbus3 Aug 30 14:09:45 starikarp kernel: umass2: SCSI over Bulk-Only; quirks = 0xc100 Aug 30 14:09:45 starikarp kernel: umass2:5:2:-1: Attached to scbus5 Aug 30 14:09:45 starikarp kernel: da1 at umass-sim2 bus 2 scbus5 target 0 lun 0 Aug 30 14:09:45 starikarp kernel: da1: Removable Dire ct Access SCSI-2 device Aug 30 14:09:45 starikarp kernel: da1: Serial Number 00000000000006 Aug 30 14:09:45 starikarp kernel: da1: 40.000MB/s transfers Aug 30 14:09:45 starikarp kernel: da1: 1938MB (3970048 512 byte sectors: 255H 63S/T 247C) Aug 30 14:09:45 starikarp kernel: da1: quirks=0x2 Aug 30 14:10:52 starikarp kernel: ugen3.5: at usbus3 (disconnected) Aug 30 14:10:52 starikarp kernel: umass2: at uhub5, port 4, addr 5 (disconnected) Aug 30 14:10:52 starikarp kernel: da1 at umass-sim2 bus 2 scbus5 target 0 lun 0 Aug 30 14:10:52 starikarp kernel: da1: s/n 0000000000 0006 detached Aug 30 14:10:52 starikarp kernel: (da1:umass-sim2:2:0:0): Periph destroyed On 3.14 version I didn't have anything in /usr/local/etc/PolicyKit/Policykit.conf but now on version 3.16 I put: ;; Manual mount/unmount works. Thank you. Stari Karp From owner-freebsd-questions@freebsd.org Wed Sep 2 00:43:23 2015 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 EC58D9C80FB for ; Wed, 2 Sep 2015 00:43:23 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::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 B4B3DD44 for ; Wed, 2 Sep 2015 00:43:23 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: by obcts10 with SMTP id ts10so8915101obc.1 for ; Tue, 01 Sep 2015 17:43:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=a5bJC96Ku4e1mSlU2JaiUfzcU8s4dzsuc+V1myeK96U=; b=NGOlOI8AK2v2DTfISl4elWxQZAwmDj8+ITL6HvUEi1F9c1DZqUXmFCPuPGX5qj7FKc /fafgJxIiyaR9WVVLoaswnkLqjyd61b33gqkedrkMfRTvlZqsYiF76kEonjsHIBNXz0v FFAwyUIJzv2gyHWqig2jEVlc/EnsIBzoYCyKyFqCN6ufHJRsy4I+yONV3X4MlaVhIlnR Obhm88U/BzydrrxS4eHPnMG0rpgUMSPhpuiGHN6QoNCO174aruFx7M50m8IvoTR9E/gY QB9YiGMuROBoTwC6n4Nt7rAIG9dA2JIRe3ANb3EL8Xb9ps4BG3AA7ZHz8rvrxE5uYoWt z84Q== MIME-Version: 1.0 X-Received: by 10.182.227.199 with SMTP id sc7mr14870175obc.12.1441154603075; Tue, 01 Sep 2015 17:43:23 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.202.210.71 with HTTP; Tue, 1 Sep 2015 17:43:23 -0700 (PDT) Date: Tue, 1 Sep 2015 20:43:23 -0400 X-Google-Sender-Auth: Ex-h1jBe1Pi_UJPP3Ig1lO4xurk Message-ID: Subject: vBSDcon 2015 is just around the corner... 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, 02 Sep 2015 00:43:24 -0000 Hi all, vBSDcon 2015 is scheduled for September 11 - 13, 2015 at the Sheraton Reston in Reston, VA. vBSDcon aims to be a BSD conference inclusive of all BSD communities and this year is no different than the inaugural event. In fact, this year's program includes a more diverse set of topics from varying BSD communities. For example, there are talks from members of each of the major BSD families including FreeBSD, OpenBSD, and NetBSD such as The FreeBSD Foundation on supporting a BSD project and Devio.us presenting on the technical and social impact of their platform and Shawn Webb and Pierre Pronchery presenting on HardenedBSD and EdgeBSD, respectively. And what conference would be complete without a talk on ZFS? Come see Allan Jude talk about interesting things you didn't know you could do with ZFS. vBSDcon is being brought to you by great sponsors including our platinum sponsor, XinuOS, while The FreeBSD Foundation brings us a FreeBSD Developer's Summit! Cisco Talos is a Gold sponsor and the mid-conference social is being brought to you, in part, by iXsystems! RootBSD comes back for the second time as the tote bag sponsor followed up by Daemon Security, Cambridge Computer, and BigSwitch as Silver and Saturday Breakfast sponsors! Online registrations are currently open at vBSDcon.com. Your registration includes access to the welcome reception and mid-conference social as well as breakfast, lunch, and breaks during the conference. Your RootBSD sponsored tote bag also includes a vBSDcon 2015 t-shirt in addition to sponsor gifts! We'll see you there! -- Take care Rick Miller From owner-freebsd-questions@freebsd.org Wed Sep 2 04:16:44 2015 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 342139C809A for ; Wed, 2 Sep 2015 04:16: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 04AD6DC for ; Wed, 2 Sep 2015 04:16:42 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (webmail [192.168.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTP id t824GZ9N004205 for ; Tue, 1 Sep 2015 23:16:35 -0500 (CDT) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id t824GZ03004204; Tue, 1 Sep 2015 23:16:35 -0500 (CDT) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: FreeBSD Questions Subject: 10.1 to 10.2 Failed with ZFS boot volume X-PHP-Script: www.dweimer.net/webmail/index.php for 192.168.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 01 Sep 2015 23:16:35 -0500 From: dweimer Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: <0427ba5839eceda428e8ca0f52263955@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.1.2 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, 02 Sep 2015 04:16:44 -0000 I have upgraded a couple of my systems from 10.1-RELEASE-p17 to 10.2-RELEASE-p2, the third one however was unable to boot after the upgrade. I was able to boot from the CD and switch the bootfs on the zpool back to the 10.1 data set. The error I received was panic: Solaris(panic): blkptr at 0xffff80007fd9848 DVA 2 has invalid OFFSET 37425723392 Screen Capture is here: https://pydio.dweimer.net/data/public/freebsdpanic Does anyone have any ideas? I am going to copy the environment to a new VM tomorrow and attempt to boot it off the network to see if I can troubleshoot more. I did copy the existing 10.1-RELEASE-p17 dataset to another machine that was already upgraded, installed the 10.2 version to it, and then moved it back to the main system then rebooted with it set as the bootfs. Always possible that some bits just got corrupted during the ZFS send/receive operations. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@freebsd.org Wed Sep 2 11:48:19 2015 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 D48C29C91A3 for ; Wed, 2 Sep 2015 11:48:19 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from mail2.kulturflatrate.net (mail2.kulturflatrate.net [IPv6:2a01:4f8:121:52ad::3:1]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5908AA for ; Wed, 2 Sep 2015 11:48:19 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from [192.168.0.25] (mail.kulturflatrate.net [IPv6:2a01:488:66:1000:2ea3:77dd:0:1]) (Authenticated sender: niklaas@kulturflatrate.net) by mail2.kulturflatrate.net (Postfix) with ESMTPSA id 590CD3E183 for ; Wed, 2 Sep 2015 13:48:12 +0200 (CEST) To: freebsd-questions@freebsd.org From: Niklaas Baudet von Gersdorff Subject: Jail causes host to reboot X-Enigmail-Draft-Status: N1110 Message-ID: <55E6E26A.1040706@kulturflatrate.net> Date: Wed, 2 Sep 2015 13:50:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 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: Wed, 02 Sep 2015 11:48:19 -0000 Hi, after upgrading a package (net/syncthing) in a jail I experienced that the host system rebooted. It seems because the jail starts at each boot running syncthing again, the host system rebooted each time it started the jail. A vicious circle. Because of this, I was nearly unable to connect to the server. By continuously pinging the server and sending a ssh ezjail-admin config -r norun once I knew the server is online again, I could stop the circle and finally log into the server again. I guess that something's wrong with net/syncthing (or its configuration) but what worries me more is how a malfunctioning jail can cause an entire host system to reboot? Thanks for your help and best, -- Niklaas From owner-freebsd-questions@freebsd.org Wed Sep 2 12:31:25 2015 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 F1DC79C6B97 for ; Wed, 2 Sep 2015 12:31:25 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward2m.mail.yandex.net (forward2m.mail.yandex.net [IPv6:2a02:6b8:0:2519::3:11]) by mx1.freebsd.org (Postfix) with ESMTP id AE9D3FC2 for ; Wed, 2 Sep 2015 12:31:25 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp4m.mail.yandex.net (smtp4m.mail.yandex.net [IPv6:2a02:6b8:0:2519::126]) by forward2m.mail.yandex.net (Yandex) with ESMTP id 2A26A5CA0D97 for ; Wed, 2 Sep 2015 15:31:17 +0300 (MSK) Received: from smtp4m.mail.yandex.net (localhost [127.0.0.1]) by smtp4m.mail.yandex.net (Yandex) with ESMTP id E90A9BE02CB for ; Wed, 2 Sep 2015 15:31:16 +0300 (MSK) Received: by smtp4m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id tvQdfnZ1iI-VGpO5MEG; Wed, 2 Sep 2015 15:31:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-ForeignMX: US To: freebsd-questions@freebsd.org From: Boris Samorodov Subject: java park and sleep issue X-Enigmail-Draft-Status: N1110 Message-ID: <55E6EC14.8020205@passap.ru> Date: Wed, 2 Sep 2015 15:31:16 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 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: Wed, 02 Sep 2015 12:31:26 -0000 Hi All, I'm a newcomer to the java world, so my questions may be too vague. So, I've got an unexpected result at FreeBSD (r287323 amd64) and java (openjdk version "1.7.0_80"): ----- Starting... For timeVal = 0; Time elapsed: 1 ms For timeVal = 1; Time elapsed: 2000 ms For timeVal = 2; Time elapsed: 3000 ms For timeVal = 3; Time elapsed: 4000 ms For timeVal = 4; Time elapsed: 5000 ms ----- Linux (CentOS-6.6 x64) and java (java version "1.7.0_71") give a more expected result: ----- Starting... For timeVal = 0; Time elapsed: 1 ms For timeVal = 1; Time elapsed: 1056 ms For timeVal = 2; Time elapsed: 2065 ms For timeVal = 3; Time elapsed: 3066 ms For timeVal = 4; Time elapsed: 4066 ms ----- The testcase is: ----- public class App { public static void main(String[] args) { System.out.println("Starting..."); for (int expectedMS = 0; expectedMS < 5; expectedMS++) { long start = System.currentTimeMillis(); for (int i = 0; i < 1000; i++) java.util.concurrent.locks.LockSupport.parkNanos((long) 1e6 * expectedMS); long stop = System.currentTimeMillis(); System.out.println("For timeVal = " + expectedMS + "; Time elapsed: " + (stop - start) + " ms"); } } } ----- BTW, Thread.sleep() gives the same results both at FreeBSD and Linux. Is it a real issue? Or may be it's just OK? -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@freebsd.org Wed Sep 2 13:56:10 2015 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 563329C8685 for ; Wed, 2 Sep 2015 13:56:10 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E562CCE9 for ; Wed, 2 Sep 2015 13:56:09 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wicfx3 with SMTP id fx3so20106739wic.0 for ; Wed, 02 Sep 2015 06:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bqXjkhGR2BFWLDBNOsTBHKIrw5hqIKxi8CV9l0KuDz0=; b=CqnUvMGm34/n5ExkhTH2LK1KYj3KZwfdjFwzo71WMBKknpOX7xO2IQhhnEUYP158Ul kVDaQO70uSszxpXFMoH+UD15EVgN2RVozFgNNyTR0Y61uqNGM5md0OtnIUubm48xfAvk 9H1aQGAJxonjxyH48N5GHZwqr/gkKCAmf9VlsgdB8Nltb1ruMQ5brrPiEHxWxl8DB+PL YNWaz6QEBAiqDnxOnBu4nTbBwpyY1vPGlTIm187HzVny3dyveGFBGKflhEX266VMJ7xt 428f1MTEngTljbRCjA8jNE7uizyLH1d/p8A2LTAGpbaxQ0UD6qFDHjUO7nK8wLwhwq3t f4Mg== MIME-Version: 1.0 X-Received: by 10.181.13.228 with SMTP id fb4mr4525935wid.10.1441202167241; Wed, 02 Sep 2015 06:56:07 -0700 (PDT) Received: by 10.194.67.5 with HTTP; Wed, 2 Sep 2015 06:56:07 -0700 (PDT) In-Reply-To: <55E6E26A.1040706@kulturflatrate.net> References: <55E6E26A.1040706@kulturflatrate.net> Date: Wed, 2 Sep 2015 08:56:07 -0500 Message-ID: Subject: Re: Jail causes host to reboot From: Adam Vande More To: Niklaas Baudet von Gersdorff 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, 02 Sep 2015 13:56:10 -0000 On Wed, Sep 2, 2015 at 6:50 AM, Niklaas Baudet von Gersdorff < niklaas@kulturflatrate.net> wrote: > how a malfunctioning jail can cause an > entire host system to reboot? > A jail is used for isolation and security. It isn't intended to prevent kernel panics and other such issues. For example, if a jail accesses a corrupt fs, it may cause a panic and probably a reboot depending on configuration. An expectation of jails protecting against such a thing is misguided. -- Adam From owner-freebsd-questions@freebsd.org Wed Sep 2 13:59:35 2015 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 C1EF99C895E for ; Wed, 2 Sep 2015 13:59:35 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::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 8D9D1759 for ; Wed, 2 Sep 2015 13:59:35 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by igbut12 with SMTP id ut12so14340118igb.1 for ; Wed, 02 Sep 2015 06:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=uG9DM1IfXoa7mdGj6Zj7XvBHrHmZJorpCfBbtgxaSXg=; b=C3FyKhUtS25WR4dFYTBuNbNSyhOxJzvYZyAXF9jhGufgiDDw5mjQZEkeEXlNIfTwGO dQ7I+UcRMS2Rm+yLTE6QYI9Z0/BVYH7RKKCN1qXbPT2GJ6h+oE9B6XAl70EALAbb2+JL 4svKKK6mFp9z8ty/HM55vRWmxISK03JaZnz3PwruC6gXLVUHIsK+q6/sMRR3LVwC7aRe UVqZzW9JZxYEsW1LRSUXAzz8bypZsCvHJI5KKi+gXZEM0g0lpMSXuKeEAqiYyVNhQj1d sSyFR8na0JV+gQXVFjTRdueNZhWhzTpaBEH4PKRG6ifx4JwRwboc4KvRtdR5PJCiYt5V TvBg== X-Received: by 10.50.8.69 with SMTP id p5mr3418686iga.43.1441202374830; Wed, 02 Sep 2015 06:59:34 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by smtp.googlemail.com with ESMTPSA id f16sm2267653igt.5.2015.09.02.06.59.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Sep 2015 06:59:33 -0700 (PDT) Message-ID: <55E700C9.4080000@gmail.com> Date: Wed, 02 Sep 2015 09:59:37 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions Subject: fail to fetch vulnxml file each night, as seen in daily security, run output. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 13:59:35 -0000 Hello list; I get the following message in the daily security run output on both my 10.1 and 10.2 systems. Both which were installed from scratch using a cdisc1.iso file. Checking for packages with security vulnerabilities: pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No route to host pkg: cannot fetch vulnxml file -- End of security output -- Is this normal by design? From owner-freebsd-questions@freebsd.org Wed Sep 2 14:05:07 2015 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 A17E19C8D16 for ; Wed, 2 Sep 2015 14:05:07 +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 583D2DB6 for ; Wed, 2 Sep 2015 14:05:07 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t82E4xr9031190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 2 Sep 2015 09:05:00 -0500 Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. To: freebsd-questions References: <55E700C9.4080000@gmail.com> From: "William A. Mahaffey III" Message-ID: <55E7020B.6040404@hiwaay.net> Date: Wed, 2 Sep 2015 09:10:29 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E700C9.4080000@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 14:05:07 -0000 On 09/02/15 09:05, Ernie Luzar wrote: > Hello list; > > I get the following message in the daily security run output on both > my 10.1 and 10.2 systems. Both which were installed from scratch using > a cdisc1.iso file. > > Checking for packages with security vulnerabilities: > pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No route to host > pkg: cannot fetch vulnxml file > > -- End of security output -- > > > Is this normal by design? 'No route to host' means networking issue. I get the same thing whenever I disconnect my Cable modem overnight, which I often do. Make sure your networking is working AOK overnight when that fetch is attempted. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Wed Sep 2 14:09:53 2015 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 CE3BA9C8FC1 for ; Wed, 2 Sep 2015 14:09:53 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F467669 for ; Wed, 2 Sep 2015 14:09:53 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (vpn-1.adestra.com [46.236.37.122]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t82E9aoK037634 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 2 Sep 2015 15:09:42 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t82E9aoK037634 Authentication-Results: smtp.infracaninophile.co.uk/t82E9aoK037634; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host vpn-1.adestra.com [46.236.37.122] claimed to be host-4-75.office.adestra.com Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. To: freebsd-questions@freebsd.org References: <55E700C9.4080000@gmail.com> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55E70319.7060604@FreeBSD.org> Date: Wed, 2 Sep 2015 15:09:29 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E700C9.4080000@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FrV7k4qjWixt56sWLSvtVXg56C8TU2gfm" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, SUBJ_AS_SEEN autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.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, 02 Sep 2015 14:09:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FrV7k4qjWixt56sWLSvtVXg56C8TU2gfm Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/09/02 14:59, Ernie Luzar wrote: > I get the following message in the daily security run output on both my= > 10.1 and 10.2 systems. Both which were installed from scratch using a > cdisc1.iso file. >=20 > Checking for packages with security vulnerabilities: > pkg:=20 : No route to host > pkg: cannot fetch vulnxml file Well? Did you verify if you could fetch the audit file manually? Try: # pkg audit -F If that doesn't work, start investigating why your jails can't connect properly. vuxml.freebsd.org is on a GeoIP load balancer, so you should get directed to a nearby mirror. Try this -- you should see similar output, but probably to a different IP number: # curl -v -o /dev/null http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 2001:41c8:112:8300::50:5... * Connected to vuxml.freebsd.org (2001:41c8:112:8300::50:5) port 80 (#0) > GET /freebsd/vuln.xml.bz2 HTTP/1.1 > Host: vuxml.freebsd.org > User-Agent: curl/7.43.0 > Accept: */* > < HTTP/1.1 200 OK < Date: Wed, 02 Sep 2015 14:05:36 GMT < Content-Type: application/x-bzip < Content-Length: 538363 < Last-Modified: Wed, 02 Sep 2015 00:35:15 GMT < Connection: keep-alive < ETag: "55e64443-836fb" < Server: ToTheCloud/v0.01beta < Accept-Ranges: bytes < { [11164 bytes data] 100 525k 100 525k 0 0 4511k 0 --:--:-- --:--:-- --:--:-- 4571k * Connection #0 to host vuxml.freebsd.org left intact If it doesn't work, it should at least give you some clues as to what is going wrong. If it does work, then see if the daily cron job has mysteriously started working again, in which case you can put the problem down to something temporary; outside your network and beyond your control. > -- End of security output -- >=20 >=20 > Is this normal by design? Why would we publish a script that intentionally doesn't work? No, it isn't normal and neither is it by design. Cheers, Matthew --FrV7k4qjWixt56sWLSvtVXg56C8TU2gfm 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 iQJ8BAEBCgBmBQJV5wMfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnLT0P/1Ux8IdSJBpA/K4dsdW2Q5LT G8w4IdNByAl5ct9RAjjDUCNtOVaCjmZQi78iiEytDBKPOFVM1HrwnqmAy4JB3Tu4 RxJl/ce1A/ZJINj0qKVptxiTZCq+wbrQeBx9OBiiCCiIubNxUmYb0m/5qVBDwucr No/kX3e6fz9CixJDudD2HCMnxxO7TV86MhwfD59UZg6KaQLcLXZfswKIps8g/w1L yB9y8ZP8fMlgvtoMbidqPor94HzHqN6U7dar3ddi32O+VQMopPJxFX+EYs3DNdvp 48NV/BGzQZFcBENT5IZdIyiTN2S62l4ZyQ2h8EvVbezhyrx1pgixM/D9kHc5+tON Pr9cce5htJx5HO6GFZxJtddI802QGC8AkD/mqGqFlsmiLHVtMi3uXI4+s1fXr3YI QUTFbGwJw3q2HMp9jtAr/NHxeMyOj81JBGNTcMpr7Mm7tV1OQqmtqiWH6eZvdpQw rijlfRMVyKlx1r1PoGlxGwEWtFk37Pr9eVBpGVcZKchkuB9XbST3Xj6JW2xAthol hu9D3LQ8u4GWwdGNV52oPnsa6Gwm8tIcUkvFOaJwk6wYmFavifsKKUkVhAP9kkhx 4nYf7/KB3fNp3zOlu+xrnZsiUAYO6nhUVZng3c7KtXOdtSUw97JC9kJ0FD/HsDCb vx/2vcbZhyitn8ntQft1 =fnZI -----END PGP SIGNATURE----- --FrV7k4qjWixt56sWLSvtVXg56C8TU2gfm-- From owner-freebsd-questions@freebsd.org Wed Sep 2 14:15:04 2015 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 510EB9C9388 for ; Wed, 2 Sep 2015 14:15:04 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from mail2.kulturflatrate.net (mail2.kulturflatrate.net [IPv6:2a01:4f8:121:52ad::3:1]) by mx1.freebsd.org (Postfix) with ESMTP id 1A388F4F for ; Wed, 2 Sep 2015 14:15:04 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from [192.168.0.25] (mail.kulturflatrate.net [IPv6:2a01:488:66:1000:2ea3:77dd:0:1]) (Authenticated sender: niklaas@kulturflatrate.net) by mail2.kulturflatrate.net (Postfix) with ESMTPSA id 5FBD23E2E1; Wed, 2 Sep 2015 16:15:02 +0200 (CEST) Subject: Re: Jail causes host to reboot To: Adam Vande More References: <55E6E26A.1040706@kulturflatrate.net> Cc: FreeBSD Questions From: Niklaas Baudet von Gersdorff X-Enigmail-Draft-Status: N1110 Message-ID: <55E704D4.2050607@kulturflatrate.net> Date: Wed, 2 Sep 2015 16:16:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 14:15:04 -0000 On 02/09/15 15:56, Adam Vande More wrote: > A jail is used for isolation and security. It isn't intended to prevent > kernel panics and other such issues. For example, if a jail accesses a > corrupt fs, it may cause a panic and probably a reboot depending on > configuration. An expectation of jails protecting against such a thing > is misguided. Thanks for this clarification. So, in case someone is able to get access to a jail and causes a kernel panic, the person can compromise the entire host system? I doubt that it is possible but you saying "depending on configuration" brought up the following question: Is there a way to tell the host system to only shut down the jail (and maybe send an email to me) in case the jail causes a panic and not reboot the entire system? Am I right that the only way to prevent such failure is virtualising an entire operating system instead of using a jail? From owner-freebsd-questions@freebsd.org Wed Sep 2 14:29:56 2015 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 E444A9C995E for ; Wed, 2 Sep 2015 14:29:56 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADF189E2 for ; Wed, 2 Sep 2015 14:29:56 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by igbkq10 with SMTP id kq10so26640438igb.0 for ; Wed, 02 Sep 2015 07:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=w6XL4KXgATFPk4rAQ5XMToY8baTqNbeZ6YsFvogPars=; b=XKcF7EFLSCRndUtNNMt/JwACbsmBkcUonByc91fitqMaAfLorM58zhHQhILtb2BdHU OEMwZE77WmoP2/iG0jU2Bh32HeXEElnQIO8s1NMkeIrORHvvsD7ZnosTIKn8Qn/9t4bN AG4EmgjMZJ7aqGknE0y4g02RLUP1GznS1D51Je5P3YNqLJyYq49BDygU/Ji5LRRjbTRF 8VcSwUZAPocQYQbBMeaHFldhNuHUMR5j79akO9LGxXdLd6Uju21ghw30eLGWUXRu97hQ lKF0miKDbFrNY1w/nTDcb4c5IZYkVoslzuH/uMs19QkdsKKdM38/2kfBiqvcoaOOQhAq H5mw== X-Received: by 10.50.73.41 with SMTP id i9mr3696304igv.14.1441204195915; Wed, 02 Sep 2015 07:29:55 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by smtp.googlemail.com with ESMTPSA id qq7sm2327418igb.13.2015.09.02.07.29.55 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Sep 2015 07:29:55 -0700 (PDT) Message-ID: <55E707E7.4070904@gmail.com> Date: Wed, 02 Sep 2015 10:29:59 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "William A. Mahaffey III" CC: freebsd-questions Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. References: <55E700C9.4080000@gmail.com> <55E7020B.6040404@hiwaay.net> In-Reply-To: <55E7020B.6040404@hiwaay.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 14:29:57 -0000 William A. Mahaffey III wrote: > On 09/02/15 09:05, Ernie Luzar wrote: >> Hello list; >> >> I get the following message in the daily security run output on both >> my 10.1 and 10.2 systems. Both which were installed from scratch >> using a cdisc1.iso file. >> >> Checking for packages with security vulnerabilities: >> pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No route to host >> pkg: cannot fetch vulnxml file >> >> -- End of security output -- >> >> >> Is this normal by design? > > > 'No route to host' means networking issue. I get the same thing > whenever I disconnect my Cable modem overnight, which I often do. Make > sure your networking is working AOK overnight when that fetch is > attempted. > > My network is on 7/24 so that is not the problem. When I launch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 in my browser I get a 404. This means the vuln.xml.bz2 is not present. From owner-freebsd-questions@freebsd.org Wed Sep 2 14:33:22 2015 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 5D06E9C9B97 for ; Wed, 2 Sep 2015 14:33:22 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 270F6CED; Wed, 2 Sep 2015 14:33:22 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by igbut12 with SMTP id ut12so15245869igb.1; Wed, 02 Sep 2015 07:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=xZX2jz1nb2aQ4nQHPmh43fqauClOWjODKK39dI5+dVk=; b=sKDuKiJ8EZqEWgPg6o7SkTRFjG0eXD/1cBIUofMVL04Wn77wN3javgskTFS+2t2yAk ZVhZ4wbfB2JIDL6UqJepjGAQLHSvemCpIroMTJKxOvqhvfOr+ix3KyuubLGg24fmpcJD tuf3ZgY/TP7z0rLWKuN+BV2nAjM1I3iLTMGrrTra09BTuow756Lxz8cSnm9O+9a9Q0bQ 4xrwfiTe0zAEGYv2XciBcM8qeJNHzUqcrvNV6geiAWP/NGytLGtPb3Ix8do/3RijeXAn hvFuo8a13xRNOzNEfHtO6ikV6AOaWKPjGV0sbY10HMKgrCtSih/8C9QeY2UGWjDXRwTQ +6Mw== X-Received: by 10.50.80.13 with SMTP id n13mr3569005igx.6.1441204401547; Wed, 02 Sep 2015 07:33:21 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by smtp.googlemail.com with ESMTPSA id n14sm164142ioi.15.2015.09.02.07.33.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Sep 2015 07:33:20 -0700 (PDT) Message-ID: <55E708B5.7020507@gmail.com> Date: Wed, 02 Sep 2015 10:33:25 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Matthew Seaman CC: freebsd-questions@freebsd.org Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. References: <55E700C9.4080000@gmail.com> <55E70319.7060604@FreeBSD.org> In-Reply-To: <55E70319.7060604@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 14:33:22 -0000 Matthew Seaman wrote: > On 2015/09/02 14:59, Ernie Luzar wrote: > >> I get the following message in the daily security run output on both my >> 10.1 and 10.2 systems. Both which were installed from scratch using a >> cdisc1.iso file. >> >> Checking for packages with security vulnerabilities: >> pkg: >> > : No route to host > >> pkg: cannot fetch vulnxml file >> > > Well? Did you verify if you could fetch the audit file manually? Try: > > # pkg audit -F > > If that doesn't work, start investigating why your jails can't connect > properly. vuxml.freebsd.org is on a GeoIP load balancer, so you should > get directed to a nearby mirror. > > Try this -- you should see similar output, but probably to a different > IP number: > > # curl -v -o /dev/null http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- > 0* Trying 2001:41c8:112:8300::50:5... > * Connected to vuxml.freebsd.org (2001:41c8:112:8300::50:5) port 80 (#0) > >> GET /freebsd/vuln.xml.bz2 HTTP/1.1 >> Host: vuxml.freebsd.org >> User-Agent: curl/7.43.0 >> Accept: */* >> >> > < HTTP/1.1 200 OK > < Date: Wed, 02 Sep 2015 14:05:36 GMT > < Content-Type: application/x-bzip > < Content-Length: 538363 > < Last-Modified: Wed, 02 Sep 2015 00:35:15 GMT > < Connection: keep-alive > < ETag: "55e64443-836fb" > < Server: ToTheCloud/v0.01beta > < Accept-Ranges: bytes > < > { [11164 bytes data] > 100 525k 100 525k 0 0 4511k 0 --:--:-- --:--:-- --:--:-- > 4571k > * Connection #0 to host vuxml.freebsd.org left intact > > If it doesn't work, it should at least give you some clues as to what is > going wrong. If it does work, then see if the daily cron job has > mysteriously started working again, in which case you can put the > problem down to something temporary; outside your network and beyond > your control. > > >> -- End of security output -- >> >> >> Is this normal by design? >> > > Why would we publish a script that intentionally doesn't work? No, it > isn't normal and neither is it by design. > > Cheers, > > Matthew > > > I just ran "pkg audit -F" command and got the same message again. When I launch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 in my browser I get a 404. This means the vuln.xml.bz2 file is not present. From owner-freebsd-questions@freebsd.org Wed Sep 2 14:37:56 2015 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 7A31E9C9DAB for ; Wed, 2 Sep 2015 14:37:56 +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 47537FB1 for ; Wed, 2 Sep 2015 14:37:56 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t82EbsHK022003 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 2 Sep 2015 09:37:55 -0500 Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. References: <55E700C9.4080000@gmail.com> <55E7020B.6040404@hiwaay.net> <55E707E7.4070904@gmail.com> Cc: freebsd-questions From: "William A. Mahaffey III" Message-ID: <55E709C2.8040800@hiwaay.net> Date: Wed, 2 Sep 2015 09:43:24 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E707E7.4070904@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 14:37:56 -0000 On 09/02/15 09:36, Ernie Luzar wrote: > William A. Mahaffey III wrote: >> On 09/02/15 09:05, Ernie Luzar wrote: >>> Hello list; >>> >>> I get the following message in the daily security run output on both >>> my 10.1 and 10.2 systems. Both which were installed from scratch >>> using a cdisc1.iso file. >>> >>> Checking for packages with security vulnerabilities: >>> pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No route to host >>> pkg: cannot fetch vulnxml file >>> >>> -- End of security output -- >>> >>> >>> Is this normal by design? >> >> >> 'No route to host' means networking issue. I get the same thing >> whenever I disconnect my Cable modem overnight, which I often do. >> Make sure your networking is working AOK overnight when that fetch is >> attempted. >> >> > My network is on 7/24 so that is not the problem. > When I launch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 in my > browser I get a 404. > This means the vuln.xml.bz2 is not present. Agreed. Misconfigured repo or repo down for some reason ? If so, not a design or software flaw BTW, but a (presumably temporary) infrastructure issue. If a bad file-name in a config file, bug, file it :-), although it is a bit hard to believe that would have survived 2 software version revisions. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Wed Sep 2 15:08:28 2015 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 1CED99C8E78 for ; Wed, 2 Sep 2015 15:08:28 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp1.bway.net (smtp1.v6.bway.net [IPv6:2607:d300:1::27]) (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 EC733E9C for ; Wed, 2 Sep 2015 15:08:27 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-179.dsl.bway.net [216.220.115.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp1.bway.net (Postfix) with ESMTPSA id 15AB8958CD for ; Wed, 2 Sep 2015 11:08:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1441206499; bh=YDpf3YLtxENpC6noga3lASeK+wMiccWK3CS6F9bJnCY=; h=Date:From:To:Subject:In-Reply-To:References:Reply-To; b=LbipZpotNHePMtLcj/FYXLabxZQ9B9iQvPWKW/KZlI0PZmpGSHBN6p1q74FscKX7T 05WrqpJ7dBg3V8HD3Om8YNOqBhlfXFQNgE4UYh5O8o4sbOq5pPpHOg7n3wVjwnN13y XAy+PeKoFsRKsz0liRJJMki7UmgVleLvYR3wG7VU= Date: Wed, 2 Sep 2015 11:08:18 -0400 From: mfv To: freebsd-questions@freebsd.org Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. Message-ID: <20150902110818.209e8664@gecko4> In-Reply-To: <55E709C2.8040800@hiwaay.net> References: <55E700C9.4080000@gmail.com> <55E7020B.6040404@hiwaay.net> <55E707E7.4070904@gmail.com> <55E709C2.8040800@hiwaay.net> Reply-To: mfv@bway.net 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, 02 Sep 2015 15:08:28 -0000 > On Wed, 2015-09-02 at 09:43 "William A. Mahaffey III" > wrote: > >On 09/02/15 09:36, Ernie Luzar wrote: >> William A. Mahaffey III wrote: >>> On 09/02/15 09:05, Ernie Luzar wrote: >>>> Hello list; >>>> >>>> I get the following message in the daily security run output on >>>> both my 10.1 and 10.2 systems. Both which were installed from >>>> scratch using a cdisc1.iso file. >>>> >>>> Checking for packages with security vulnerabilities: >>>> pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No route to >>>> host pkg: cannot fetch vulnxml file >>>> >>>> -- End of security output -- >>>> >>>> >>>> Is this normal by design? >>> >>> >>> 'No route to host' means networking issue. I get the same thing >>> whenever I disconnect my Cable modem overnight, which I often do. >>> Make sure your networking is working AOK overnight when that fetch >>> is attempted. >>> >>> >> My network is on 7/24 so that is not the problem. >> When I launch in my >> browser I get a 404. >> This means the vuln.xml.bz2 is not present. > > >Agreed. Misconfigured repo or repo down for some reason ? If so, not a >design or software flaw BTW, but a (presumably temporary) >infrastructure issue. If a bad file-name in a config file, bug, file >it :-), although it is a bit hard to believe that would have survived >2 software version revisions. > > Hello Ernie and William, As a test I just ran http://vuxml.freebsd.org/freebsd/vuln.xml.bz2. After this file was downloaded, it was decompressed. It was then compared to another decompressed file which was installed using "pkg audit -F". This is the results of that comparison: [10:52] /tmp > sha256 /tmp/vuln.xml /var/db/pkg/vuln.xml SHA256 (/tmp/vuln.xml) = b0f0224f66ac9384af08d2e116c8d66cc1826926b6b3d22ec218745e2bb83f26 SHA256 (/var/db/pkg/vuln.xml) = b0f0224f66ac9384af08d2e116c8d66cc1826926b6b3d22ec218745e2bb83f26 Clearly vuln.xml can be downloaded by hand or installed using pkg. As such it seems there is a network issue. Cheers ... Marek From owner-freebsd-questions@freebsd.org Wed Sep 2 15:09:21 2015 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 5563F9C8F1D for ; Wed, 2 Sep 2015 15:09:21 +0000 (UTC) (envelope-from raimund.sacherer@logitravel.com) Received: from formentor.toolfactory.net (pina.toolfactory.net [213.97.158.39]) by mx1.freebsd.org (Postfix) with ESMTP id EA2C3F6B for ; Wed, 2 Sep 2015 15:09:20 +0000 (UTC) (envelope-from raimund.sacherer@logitravel.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 772C817841B for ; Wed, 2 Sep 2015 17:09:12 +0200 (CEST) Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Iyw62rI0dDjD for ; Wed, 2 Sep 2015 17:09:12 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 2E0C8178437 for ; Wed, 2 Sep 2015 17:09:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at logpmzimmta01v.toolfactory.net Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KmKVrry4amHZ for ; Wed, 2 Sep 2015 17:09:12 +0200 (CEST) Received: from xorrigo.toolfactory.net (xorrigo.toolfactory.net [192.168.2.210]) by formentor.toolfactory.net (Postfix) with ESMTP id 1886E17841B for ; Wed, 2 Sep 2015 17:09:12 +0200 (CEST) Date: Wed, 2 Sep 2015 17:09:11 +0200 (CEST) From: Raimund Sacherer Reply-To: Raimund Sacherer To: FreeBSD Questions Message-ID: <1191031848.12018409.1441206551674.JavaMail.zimbra@logitravel.com> In-Reply-To: <112342674.12012299.1441206175639.JavaMail.zimbra@logitravel.com> Subject: How to convert a physical host into a Jail? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.2.213] X-Mailer: Zimbra 8.0.8_GA_6184 (ZimbraWebClient - SAF7 (Mac)/8.0.8_GA_6184) Thread-Topic: How to convert a physical host into a Jail? Thread-Index: BDOp0TjLS6P7Yr5P5gVvBwwSlw5OKg== 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, 02 Sep 2015 15:09:21 -0000 Hello, the first server I set up in our production environment was a backup server. Its FreeBSD 10.0 and I installed our backup server directly without creating jails first. Now that I am much more familiar with FreeBSD and jails (iocage) I would like to: clone (move, sync, ...?) the physical host into a iocage jail after the clone works stop and remove the services from the host Then upgrade to 10.2. I am not sure on how to correctly move the physical host installation to the jail, also not sure about the correct way for the jail to get to various zfs datasets which our backup server needs. Allow them to mount in the Jail? Move them from where they are to beneath the jail? What are the differences? Thank you Best Ray -- From owner-freebsd-questions@freebsd.org Wed Sep 2 15:10:07 2015 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 C045A9C8FCA for ; Wed, 2 Sep 2015 15:10:07 +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 887E775 for ; Wed, 2 Sep 2015 15:10:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 9683427671; Wed, 2 Sep 2015 17:09:59 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t82F9w7W002551; Wed, 2 Sep 2015 17:09:59 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 2 Sep 2015 17:09:58 +0200 From: Polytropon To: John Haraden Cc: freebsd-questions@freebsd.org Subject: Re: usb printers Message-Id: <20150902170958.7442e552.freebsd@edvax.de> In-Reply-To: References: <20150826001105.37b2d454.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: Wed, 02 Sep 2015 15:10:07 -0000 Re-including list, hope that's okay. On Tue, 1 Sep 2015 17:21:15 -0700, John Haraden wrote: > ulpt0 and unlpt0 fail to appear after installing ulpt_load > in /boot/loader.conf. With and without the printer connected, > several generic isn't ports urgenx.y appear. So do I understand this correctly: When you plug in the printer while the system is running, only a ugen device file appears, or more than one? Can you post the relevant last lines from the "dmesg" output after you've attached the printer? Example - this happens when I plug in my Samsung CLX-2160 to my FreeBSD home system: % dmesg [...] ugen4.3: at usbus4 ulpt0: on usbus4 ulpt0: using bi-directional mode You should see something similar. > I have prepared a postscript file text, ps beginning with %!PS. > For each generic port, I execute > cat text.ps > /dev/genx.y > Nothing prints. Any suggestions? Good approach, but... what if the printer does not understand Postscript? Check the printer's specification to see if it does. For example, the Samsung printer mentioned above does _not_ speak PS. I have to postprocess the PS into "Splix" format to be able to send it to the printer directly. Maybe something similar is needed in your case? What "printer languages" does your printer actually understand? Here's an example of what I have to do: % foo2qpdl-wrapper -p 2 -c -r 1200x600 -z 0 inputfile.ps > /dev/ulpt0 Of course, using CUPS could make things easier, but because I use this printer only few times a month, I don't bother messing around with CUPS to get it working. :-) On Tue, 1 Sep 2015 17:24:45 -0700, John Haraden wrote: > Made a mistake. Executed > cat text.ps > /dev/ugenx.y Yes, that is correct. But always check that your PS file works. Use "gv text.ps", for example. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Sep 2 15:11:33 2015 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 131CF9C9142 for ; Wed, 2 Sep 2015 15:11:33 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A7CD3371 for ; Wed, 2 Sep 2015 15:11:32 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wicge5 with SMTP id ge5so44540301wic.0 for ; Wed, 02 Sep 2015 08:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xOchzVjsT2U97vJ5YqfvsAJqHW8l6ZfuIQ3yepMmUCM=; b=Fr3gte4M/MuSlioHu1DxmIpHx61o56W7AhMMLVRu7/DnAk8yOWOHPBBz+Si0m87W+S 42sHZQJMHGbBlNMIO2LvtWuQ9Uhf2i1/3G2g7DBLl3gUw7Fhy3f/CiJno9+nH4nFLDNY 18ybfaGRLz0w6mCB4iQeYiEWbRwthmMWaUrLtMru5uvcqPx743xAPaOaATtOjv6C3F5m A2r01YXREa2AqTdECSzD8JmqB1yOD+DO2Ojf/fftqCIyAFgURTJAal8H6emWGHnQVW8S m+jPSDoZBj/L1mVABwft22Tz2Vw1ruaPhUax+YDKxliy+cZJuUgb6IAJoyGnQDqhLxGJ 7uYQ== MIME-Version: 1.0 X-Received: by 10.194.187.79 with SMTP id fq15mr10870262wjc.142.1441206691210; Wed, 02 Sep 2015 08:11:31 -0700 (PDT) Received: by 10.194.67.5 with HTTP; Wed, 2 Sep 2015 08:11:31 -0700 (PDT) In-Reply-To: <55E704D4.2050607@kulturflatrate.net> References: <55E6E26A.1040706@kulturflatrate.net> <55E704D4.2050607@kulturflatrate.net> Date: Wed, 2 Sep 2015 10:11:31 -0500 Message-ID: Subject: Re: Jail causes host to reboot From: Adam Vande More To: Niklaas Baudet von Gersdorff 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, 02 Sep 2015 15:11:33 -0000 On Wed, Sep 2, 2015 at 9:16 AM, Niklaas Baudet von Gersdorff < niklaas@kulturflatrate.net> wrote: > On 02/09/15 15:56, Adam Vande More wrote: > > Thanks for this clarification. > > So, in case someone is able to get access to a jail and causes a kernel > panic, the person can compromise the entire host system? > Yes, depending on configuration. It's trivial to make a jail insecure. The trick is to make a jail secure and fully functional for your needs. > I doubt that it is possible but you saying "depending on configuration" > brought up the following question: Is there a way to tell the host > system to only shut down the jail (and maybe send an email to me) in > case the jail causes a panic and not reboot the entire system? > The host and jails use the same kernel, so if there's a panic it all goes down. A separate monitoring and alerting platform is the only reliable way I know to get emails if something goes down. Am I right that the only way to prevent such failure is virtualising an > entire operating system instead of using a jail? > Yes, but virtualizing is a loaded term. Some people don't consider jails as virtualization. I do, at least from a certain point of view. Especially now since independent FS's and network stacks can be involved. Then you have types like container eg OpenVZ(there was FreeBSD version of this floating around on 9.x, not sure what happened to it). The guest in container's have independent kernels so the host would survive in my original scenario. Same w/ other virtualization types like KVM, bhyve, VBox, Xen, etc. -- Adam From owner-freebsd-questions@freebsd.org Wed Sep 2 15:15:48 2015 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 167099C92CF for ; Wed, 2 Sep 2015 15:15:48 +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 D25F5995 for ; Wed, 2 Sep 2015 15:15:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 049A624C9A; Wed, 2 Sep 2015 17:15:45 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t82FFj70002606; Wed, 2 Sep 2015 17:15:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 2 Sep 2015 17:15:45 +0200 From: Polytropon To: Ernie Luzar Cc: "William A. Mahaffey III" , freebsd-questions Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. Message-Id: <20150902171545.fd0e9d47.freebsd@edvax.de> In-Reply-To: <55E707E7.4070904@gmail.com> References: <55E700C9.4080000@gmail.com> <55E7020B.6040404@hiwaay.net> <55E707E7.4070904@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=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, 02 Sep 2015 15:15:48 -0000 On Wed, 02 Sep 2015 10:29:59 -0400, Ernie Luzar wrote: > My network is on 7/24 so that is not the problem. Hmmm... > When I launch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 in my > browser I get a 404. > This means the vuln.xml.bz2 is not present. You're very fast with your conclusions... :-) Cannot confirm: % fetch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 vuln.xml.bz2 100% of 525 kB 1122 kBps I can download the file just fine, even from within a web browser. Are you sure you don't have some strange networking issue? Can you, for example, ping vuxml.freebsd.org, and then open http://vuxml.freebsd.org/freebsd/ (it is a web page) in your browser? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Sep 2 15:23:18 2015 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 3550B9C9672 for ; Wed, 2 Sep 2015 15:23:18 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B8529E5F for ; Wed, 2 Sep 2015 15:23:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (vpn-1.adestra.com [46.236.37.122]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t82FNBax039245 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 2 Sep 2015 16:23:12 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t82FNBax039245 Authentication-Results: smtp.infracaninophile.co.uk/t82FNBax039245; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host vpn-1.adestra.com [46.236.37.122] claimed to be host-4-75.office.adestra.com Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. To: Ernie Luzar References: <55E700C9.4080000@gmail.com> <55E70319.7060604@FreeBSD.org> <55E708B5.7020507@gmail.com> Cc: freebsd-questions@freebsd.org From: Matthew Seaman Message-ID: <55E71459.1030204@FreeBSD.org> Date: Wed, 2 Sep 2015 16:23:05 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E708B5.7020507@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u8OE475b8tGcxKN37SEg3lD1OlTR5Ca4x" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, SUBJ_AS_SEEN autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.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, 02 Sep 2015 15:23:18 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --u8OE475b8tGcxKN37SEg3lD1OlTR5Ca4x Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/09/02 15:33, Ernie Luzar wrote: > I just ran "pkg audit -F" command and got the same message again. > When I launch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 in my > browser I get a 404. > This means the vuln.xml.bz2 file is not present. OK. Can you tell us what vuxml.freebsd.org resolves to from your machine? ie. run: % host vuxml.freebsd.org It looks like one of the mirrors hasn't updated properly, which we need to report to the guys who admin those systems. Cheers, Matthew --u8OE475b8tGcxKN37SEg3lD1OlTR5Ca4x 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 iQJ8BAEBCgBmBQJV5xRfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnsJMQAKR7NntBSDEdnRRsds9ZaWt3 56huaNTDij7unrUlUj5xfmi99gcssiwUxnuBkl5226XYmLGyMQ/QIthronAUXVLW ZZmKkC89oRPI9PTW/Bd4giI+WasMmk/wDUq3ARxCNzWAYse7e5EWmLwmt4DF/rCX EmtbnwhhXeP7RHP0G8lyZJjFMNfde6oA0eCelWm8p1cdRAiKVW8jwYVlGPyrb6qp uOI0XsVVpCBcVoKJcUge4R9YjpQmLkbVj5DpMx0ymF2bYFZq14p/imKo4x74y/eS i2Ifeg+QhPqCIOhgT5U+Qz7+QKxR0JG7Wki+MnqjMg/p+djmFMvTMWZhVKKZ4wXt sWN2X2cfz8pCP2RSnZnsmzm8hEQtnWpHVKObiFJo+8NTZy9+lOWOO7haPyPqalNu tSP9zz2oZNSZTHd/aAX0jgZyDl3QWft46dTf9hyWa2TRdH5CgFl0+W0RVDzHNyIK uUbTpdJS//c9Qw92DRRcb31t4K9l6U1OAmNtyn5zH5q3qSWN1I43JiAuqiCr0g57 tD3jKorcM0l80wUKYAYmP9hQp7jDjX6YXeMXpUs/PKRTEiW3Fak4Mi3ECyE6/PKC ul4G+BDjfWMazPu/5uqBDeY9Cr2jBnUgtjAvQgCF0SP4bOYa2fMP6v0I/dyxaQr4 8C5RFmgGM8BzKoMd1n1W =Kyw2 -----END PGP SIGNATURE----- --u8OE475b8tGcxKN37SEg3lD1OlTR5Ca4x-- From owner-freebsd-questions@freebsd.org Wed Sep 2 15:27:53 2015 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 30C349C987A for ; Wed, 2 Sep 2015 15:27:53 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CEE3711E1 for ; Wed, 2 Sep 2015 15:27:52 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from host-4-75.office.adestra.com (vpn-1.adestra.com [46.236.37.122]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t82FRl4R039339 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 2 Sep 2015 16:27:47 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t82FRl4R039339 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1441207667; bh=9Exx4AfxMwXNpAJ56H+9aRHsmQBM2LEsxxoDOwIseS0=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20fail=20to=20fetch=20vulnxml=20file=20each=20nigh t,=20as=20seen=20in=20daily=20security,=0D=0A=20run=20output.|To:= 20freebsd-questions@freebsd.org|References:=20<55E700C9.4080000@gm ail.com>=20<55E7020B.6040404@hiwaay.net>=0D=0A=20<55E707E7.4070904 @gmail.com>=20<20150902171545.fd0e9d47.freebsd@edvax.de>|From:=20M atthew=20Seaman=20|Date:=20Wed,=2 02=20Sep=202015=2016:27:46=20+0100|In-Reply-To:=20<20150902171545. fd0e9d47.freebsd@edvax.de>; b=CLXYJwzwWs49E3KL9x4wLzBVCduTx/APb4Y8s2IJCq2JtGlmGpA8SwX3APKGkg2yY 8EIFnC7rfKCS2wsjr5q0UM+IJlZx2f0HdalGZ7/tOQvChdkmvfJfKDRCWxmmjBP4aM MLG/ALrSwMUdMGwgM6PZb8ztipbCL5TVjbpbMJz4= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host vpn-1.adestra.com [46.236.37.122] claimed to be host-4-75.office.adestra.com Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. To: freebsd-questions@freebsd.org References: <55E700C9.4080000@gmail.com> <55E7020B.6040404@hiwaay.net> <55E707E7.4070904@gmail.com> <20150902171545.fd0e9d47.freebsd@edvax.de> From: Matthew Seaman Message-ID: <55E71572.1020003@infracaninophile.co.uk> Date: Wed, 2 Sep 2015 16:27:46 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150902171545.fd0e9d47.freebsd@edvax.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R8ql6Uq9GMmAjDVK8NBELLFm52V4rjfLu" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SUBJ_AS_SEEN autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.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, 02 Sep 2015 15:27:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --R8ql6Uq9GMmAjDVK8NBELLFm52V4rjfLu Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/09/02 16:15, Polytropon wrote: > Cannot confirm: >=20 > % fetch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 > vuln.xml.bz2 100% of 525 kB 1122 kBps= >=20 > I can download the file just fine, even from within > a web browser. >=20 > Are you sure you don't have some strange networking > issue? >=20 > Can you, for example, ping vuxml.freebsd.org, and > then open http://vuxml.freebsd.org/freebsd/ (it is > a web page) in your browser? It's GeoIP load balanced, meaning you get directed to a different server depending on where you are in the world. The European area server is fine -- but the one wherever the OP lives apparently doesn't have the required file. Matthew --R8ql6Uq9GMmAjDVK8NBELLFm52V4rjfLu 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 iQJ8BAEBCgBmBQJV5xVzXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnV6YP/0XWe7BkPdNd8jlQ2uWIRK0m qfxshfOzSu2HbB+umpNev7HkhTuAH8ryQrHM906MsZHPgtYgcdgvozhxurXdFo+M 6wEKDUfLN3rdtLmRsqn9Ri6Vr3i2DPgZh7kRwmkczCpqCs8/hgrFGQM0N4evnX46 Wb4/hBXEDkUyaF17Jd+uLrT26Pbgrds1cqKo5RqQUEXhUl3dpXgwthe2WcaUxWp2 pl7XJ38eJ9BpQKjhZd2fZUcbKiMoB9zLDCoBEN3FskgvPxRt/2SUsLxeSNwl2aX9 k82S0hx2KKK9mOyL5xKHCnPTmzacoqLuxeBk+JN4QaBH83qJ+A62NDougfFzNPUZ pARbrrUfFq04s6w0ox+Sd2vDvTmuoRcLp3VnJ95LR2phoKlg61nqr6A8v0Bpilx7 QSMXBf2jcZ+tKuYy4H1xwcwLjYHJbOVCrN0GAmfDNjABYz8WttkaRJYG0OmA9WLA f7QVNQzG/ZbNm3ebDfCoi2UY10wRA9yJpvpIbLsk88cXZL3AKN2vpO475aYv9E3p ykg8QGVnwjSxZzpFYShrHNppXvgvLlBIGTl4T+1GGK/PfSMiQt3XXK03DaNm+8o8 hIhQIRIFYL+BxWBlWiucZjdTvy3hn4jiKy0w84AQEDcC/PHshJF5TG/9ZtJ5uOGA Z7HuL9CLJg2uchLJJR2i =pK5E -----END PGP SIGNATURE----- --R8ql6Uq9GMmAjDVK8NBELLFm52V4rjfLu-- From owner-freebsd-questions@freebsd.org Wed Sep 2 15:33:45 2015 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 D615E9C9BC1 for ; Wed, 2 Sep 2015 15:33:45 +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 9D6111A80 for ; Wed, 2 Sep 2015 15:33:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id CCFB6277E0; Wed, 2 Sep 2015 17:33:43 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t82FXhZ7002684; Wed, 2 Sep 2015 17:33:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 2 Sep 2015 17:33:43 +0200 From: Polytropon To: Matthew Seaman Cc: freebsd-questions@freebsd.org Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. Message-Id: <20150902173343.f6c4fee1.freebsd@edvax.de> In-Reply-To: <55E71572.1020003@infracaninophile.co.uk> References: <55E700C9.4080000@gmail.com> <55E7020B.6040404@hiwaay.net> <55E707E7.4070904@gmail.com> <20150902171545.fd0e9d47.freebsd@edvax.de> <55E71572.1020003@infracaninophile.co.uk> 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, 02 Sep 2015 15:33:45 -0000 On Wed, 2 Sep 2015 16:27:46 +0100, Matthew Seaman wrote: > On 2015/09/02 16:15, Polytropon wrote: > > Cannot confirm: > > > > % fetch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 > > vuln.xml.bz2 100% of 525 kB 1122 kBps > > > > I can download the file just fine, even from within > > a web browser. > > > > Are you sure you don't have some strange networking > > issue? > > > > Can you, for example, ping vuxml.freebsd.org, and > > then open http://vuxml.freebsd.org/freebsd/ (it is > > a web page) in your browser? > > It's GeoIP load balanced, meaning you get directed to a different server > depending on where you are in the world. The European area server is > fine -- but the one wherever the OP lives apparently doesn't have the > required file. Thanks for the pointer. I just checked: From my location the host resolves to 213.138.116.80. Could the OP temporarily change to the EU area server in an easy way to obtain the required file (even if the download takes more time)? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Sep 2 16:08:02 2015 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 664859C8AC9 for ; Wed, 2 Sep 2015 16:08:02 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp1.bway.net (smtp1.bway.net [216.220.96.27]) (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 40177DA8 for ; Wed, 2 Sep 2015 16:08:01 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-179.dsl.bway.net [216.220.115.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp1.bway.net (Postfix) with ESMTPSA id A2498958C9; Wed, 2 Sep 2015 12:07:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1441210079; bh=suWZreZa8sYC4ZktH224k3oO7hGTW8eXU4LuHZ7GJf4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Reply-To; b=ctTIbLiJ0iYDccJoaGug6BvHfznzFEiw3h5okCuOZsAd1tOquxJ+ofne7e0kwmO48 YBTuK7NrbygiuJKNkowEFDZouv161iDRD+auagfv8B+DSFqT3gzP2HVfgJ14HMgNMT 58Quro2Zj0Vclbu4IH/22p+v7WUttBSZG7RwCuZo= Date: Wed, 2 Sep 2015 12:07:58 -0400 From: mfv To: freebsd-questions@freebsd.org Cc: Polytropon Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. Message-ID: <20150902120758.09a6a95e@gecko4> In-Reply-To: <20150902173343.f6c4fee1.freebsd@edvax.de> References: <55E700C9.4080000@gmail.com> <55E7020B.6040404@hiwaay.net> <55E707E7.4070904@gmail.com> <20150902171545.fd0e9d47.freebsd@edvax.de> <55E71572.1020003@infracaninophile.co.uk> <20150902173343.f6c4fee1.freebsd@edvax.de> Reply-To: mfv@bway.net 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, 02 Sep 2015 16:08:02 -0000 > On Wed, 2015-09-02 at 17:33 Polytropon wrote: > >On Wed, 2 Sep 2015 16:27:46 +0100, Matthew Seaman wrote: >> On 2015/09/02 16:15, Polytropon wrote: >> > Cannot confirm: >> > >> > % fetch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 >> > vuln.xml.bz2 100% of 525 kB 1122 >> > kBps >> > >> > I can download the file just fine, even from within >> > a web browser. >> > >> > Are you sure you don't have some strange networking >> > issue? >> > >> > Can you, for example, ping vuxml.freebsd.org, and >> > then open http://vuxml.freebsd.org/freebsd/ (it is >> > a web page) in your browser? >> >> It's GeoIP load balanced, meaning you get directed to a different >> server depending on where you are in the world. The European area >> server is fine -- but the one wherever the OP lives apparently >> doesn't have the required file. > >Thanks for the pointer. I just checked: From my location >the host resolves to 213.138.116.80. Could the OP temporarily >change to the EU area server in an easy way to obtain the >required file (even if the download takes more time)? > > > Hello, Just fetched vuln.xml.bz2 from two sites. The first was from Polytrpon's IP address: fetch http://213.138.116.80/freebsd/vuln.xml.bz2 and the second was tried from New York: fetch http://96.47.72.77/freebsd/vuln.xml.bz2 In both cases the output of sha256 compares with the same file installed at /var/db/pkg by pkg. How many servers can the OP try? Cheers ... Marek From owner-freebsd-questions@freebsd.org Wed Sep 2 17:54:37 2015 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 55C7B9C965D for ; Wed, 2 Sep 2015 17:54:37 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 20D5BBE7; Wed, 2 Sep 2015 17:54:37 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by igbni9 with SMTP id ni9so20229331igb.0; Wed, 02 Sep 2015 10:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=CfDNDhf+WCnw4JmSTQiGy1vj73turSzUswLnBawmD88=; b=Aj100jxm8W/IW+Fid7SRMUaHV0UOax4ufrdAn1odk5E/VcPeUcwj62oxDEg/HmNahM H+hwCmjFpoQN1w9utQo1eWslG6Fc/ss6jPfLOM97V/+CEQf4YP6qGH0GJ/j4fPmLeWFt zEZYV5FaKEW3qUUjp2hq++D4pR9CRAPMeZPGpYQ6bVyIlVFONN96IqwT64lLR1ag87eX bljtuOdwsJPGe5NHOCsR704tybgDzPC6ZwPyZzafi0cfhjKNsJRgcl9UzgrJSfJIFK4m U7v5nJOL9wl/g8cmqRA1RCv0TiiGGYIAjLzHXEMfd2QmlrSoLv9mSZVQddMkjUYeYlV2 0c+A== X-Received: by 10.50.79.167 with SMTP id k7mr4656498igx.67.1441216476608; Wed, 02 Sep 2015 10:54:36 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by smtp.googlemail.com with ESMTPSA id n6sm2669708igv.17.2015.09.02.10.54.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Sep 2015 10:54:35 -0700 (PDT) Message-ID: <55E737DF.8000006@gmail.com> Date: Wed, 02 Sep 2015 13:54:39 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Matthew Seaman CC: freebsd-questions@freebsd.org Subject: Re: fail to fetch vulnxml file each night, as seen in daily security, run output. References: <55E700C9.4080000@gmail.com> <55E70319.7060604@FreeBSD.org> <55E708B5.7020507@gmail.com> <55E71459.1030204@FreeBSD.org> In-Reply-To: <55E71459.1030204@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 17:54:37 -0000 Matthew Seaman wrote: > On 2015/09/02 15:33, Ernie Luzar wrote: > >> I just ran "pkg audit -F" command and got the same message again. >> When I launch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 in my >> browser I get a 404. >> This means the vuln.xml.bz2 file is not present. >> > > OK. Can you tell us what vuxml.freebsd.org resolves to from your > machine? ie. run: > > % host vuxml.freebsd.org > > It looks like one of the mirrors hasn't updated properly, which we need > to report to the guys who admin those systems. > > Cheers, > > Matthew > > > 96.47.72.77 From owner-freebsd-questions@freebsd.org Wed Sep 2 19:32:31 2015 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 EF78F9C85C6 for ; Wed, 2 Sep 2015 19:32:30 +0000 (UTC) (envelope-from kozlov.sergey.404@gmail.com) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73918F00 for ; Wed, 2 Sep 2015 19:32:30 +0000 (UTC) (envelope-from kozlov.sergey.404@gmail.com) Received: by laeb10 with SMTP id b10so14550715lae.1 for ; Wed, 02 Sep 2015 12:32:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=UBNvS3p4OVqdHXkCzlVUglBOFzUyEY9uOud1/nSX7DM=; b=NFoDG2HFdyBjSNVQ/CzvbAhy965N9xgimEm0SnUUUs6yyDAUyKZ2jg9Nf2+7zOf7F6 7mdUQw3fK6O2ez7j3QDEJcjkVlBf0obBoedZRn+q6ClFUhfqLcjV8xdfVakKSkWsA6Zo cTshzmYF0HxpghpWpXWRTSAWDaETF8nbY2wq+8JyA3fNRNmQmGdXOzR0rhWFA0gB97V/ oI7YqWFZmc8ytS2480SdJm1w43MZu8a2CHtSXi5kTtkFSVK8iLp0JY8I39ugImpk6yuq wmj34Fq9XnlJDWKgYDSfnH5MQV+hK4NQGDD0HIKSjiZ0+yi47wfGVgc6UliPE/vxFS74 RogQ== X-Received: by 10.152.178.165 with SMTP id cz5mr11005318lac.29.1441222348423; Wed, 02 Sep 2015 12:32:28 -0700 (PDT) Received: from [192.168.210.11] (89-71-237-249.dynamic.chello.pl. [89.71.237.249]) by smtp.googlemail.com with ESMTPSA id nv3sm5765440lbb.24.2015.09.02.12.32.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 12:32:27 -0700 (PDT) Subject: Re: Jail causes host to reboot To: freebsd-questions@freebsd.org References: <55E6E26A.1040706@kulturflatrate.net> <55E704D4.2050607@kulturflatrate.net> From: Kozlov Sergey X-Enigmail-Draft-Status: N1110 Message-ID: <55E74EC9.1060803@gmail.com> Date: Wed, 2 Sep 2015 21:32:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 19:32:31 -0000 Hello Anyways, any userspace program should not be able to crash the kernel, so if you don't use self-modified OS and you're sure that everything is ok with your hardware, you should really consider adding a bug to Regards, Sergey Kozlov On 02.09.2015 17:11, Adam Vande More wrote: > On Wed, Sep 2, 2015 at 9:16 AM, Niklaas Baudet von Gersdorff < > niklaas@kulturflatrate.net> wrote: > >> On 02/09/15 15:56, Adam Vande More wrote: >> >> Thanks for this clarification. >> >> So, in case someone is able to get access to a jail and causes a kernel >> panic, the person can compromise the entire host system? >> > Yes, depending on configuration. It's trivial to make a jail insecure. > The trick is to make a jail secure and fully functional for your needs. > > >> I doubt that it is possible but you saying "depending on configuration" >> brought up the following question: Is there a way to tell the host >> system to only shut down the jail (and maybe send an email to me) in >> case the jail causes a panic and not reboot the entire system? >> > The host and jails use the same kernel, so if there's a panic it all goes > down. A separate monitoring and alerting platform is the only reliable way > I know to get emails if something goes down. > > Am I right that the only way to prevent such failure is virtualising an >> entire operating system instead of using a jail? >> > Yes, but virtualizing is a loaded term. Some people don't consider jails > as virtualization. I do, at least from a certain point of view. > Especially now since independent FS's and network stacks can be involved. > Then you have types like container eg OpenVZ(there was FreeBSD version of > this floating around on 9.x, not sure what happened to it). The guest in > container's have independent kernels so the host would survive in my > original scenario. Same w/ other virtualization types like KVM, bhyve, > VBox, Xen, etc. > > From owner-freebsd-questions@freebsd.org Wed Sep 2 19:46:12 2015 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 8AD179C8CDE for ; Wed, 2 Sep 2015 19:46:12 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from mail2.kulturflatrate.net (mail2.kulturflatrate.net [IPv6:2a01:4f8:121:52ad::3:1]) by mx1.freebsd.org (Postfix) with ESMTP id 4E142792 for ; Wed, 2 Sep 2015 19:46:12 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from [192.168.0.25] (mail.kulturflatrate.net [IPv6:2a01:488:66:1000:2ea3:77dd:0:1]) (Authenticated sender: niklaas@kulturflatrate.net) by mail2.kulturflatrate.net (Postfix) with ESMTPSA id 84C863E48C; Wed, 2 Sep 2015 21:46:10 +0200 (CEST) Subject: Re: Jail causes host to reboot To: Adam Vande More References: <55E6E26A.1040706@kulturflatrate.net> <55E704D4.2050607@kulturflatrate.net> Cc: FreeBSD Questions From: Niklaas Baudet von Gersdorff Message-ID: <55E7526D.5040101@kulturflatrate.net> Date: Wed, 2 Sep 2015 21:47:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 19:46:12 -0000 On 02/09/15 17:11, Adam Vande More wrote: > Yes, depending on configuration. It's trivial to make a jail insecure. > The trick is to make a jail secure and fully functional for your needs. Can you recommend resources that further explicates how to secure jails? I am very interested in this but lack "ideas" on how to attack a system so that I could make it more secure. I'd be happy about any internet resource, book or article. > Yes, but virtualizing is a loaded term. Some people don't consider > jails as virtualization. I do, at least from a certain point of view. > Especially now since independent FS's and network stacks can be > involved. Then you have types like container eg OpenVZ(there was > FreeBSD version of this floating around on 9.x, not sure what happened > to it). The guest in container's have independent kernels so the host > would survive in my original scenario. Same w/ other virtualization > types like KVM, bhyve, VBox, Xen, etc. I also prefer jails. This experience only makes me considering to better secure my jails. From owner-freebsd-questions@freebsd.org Wed Sep 2 19:48:56 2015 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 4F74B9C8E34 for ; Wed, 2 Sep 2015 19:48:56 +0000 (UTC) (envelope-from kozlov.sergey.404@gmail.com) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3D74859 for ; Wed, 2 Sep 2015 19:48:55 +0000 (UTC) (envelope-from kozlov.sergey.404@gmail.com) Received: by lamp12 with SMTP id p12so13690451lam.0 for ; Wed, 02 Sep 2015 12:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=HT+TwVtFTa+QhGgDx/G3Z1vo7EZLbJSXOZwdoK0btb0=; b=KURaumAbofUwPnasXN4i/8JrGN++zD3CeJL8/KOWP8aN9tRdrHPmMK17oZO/yhiQYG P/BhwELDdrXtryjMMe0yq1mYcDxfSoyE2in0sTGjHbayEhQag/1/NmVBAAIW2U/E8RpN fh7eF13BCWSPbPpjIHDQrYMu2ZbjPMRM5GAKVCUsxzMBMc92NjavNAWxnNEyS6DhdWxu uKXdQMCZT9iY0XPZkeLogOXr0OI2iRc5R0BVvPbvcRkL+zdHY5Zj+cTtTBQFE2KICoR3 BLniVZeAlGaufyWqXgo/+Lt830h0HXhcjsphgAHx+11IYrTdRGL09sNnwYK580SOS+JX FxIw== X-Received: by 10.112.161.137 with SMTP id xs9mr18048795lbb.4.1441223333966; Wed, 02 Sep 2015 12:48:53 -0700 (PDT) Received: from [192.168.210.11] (89-71-237-249.dynamic.chello.pl. [89.71.237.249]) by smtp.googlemail.com with ESMTPSA id y8sm5777336lbf.35.2015.09.02.12.48.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 12:48:53 -0700 (PDT) Subject: Re: How to convert a physical host into a Jail? To: Raimund Sacherer References: <1191031848.12018409.1441206551674.JavaMail.zimbra@logitravel.com> Cc: FreeBSD Questions From: Kozlov Sergey X-Enigmail-Draft-Status: N1110 Message-ID: <55E752A2.6080207@gmail.com> Date: Wed, 2 Sep 2015 21:48:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1191031848.12018409.1441206551674.JavaMail.zimbra@logitravel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 19:48:56 -0000 Hello Raimund, First, if you're using ZFS for the whole system you can "zfs send"/"zfs receive" the root dataset to one of the folders, where your jail will reside. I don't know if that jail will be usable right away or not, maybe there will be some tweaking required. One thing I'm sure about is that in jail you won't need any boot-related stuff including the kernel as jails share it with the host, so you can delete it to save some space and not to confuse any update tools in the future. Second, if your jail needs to manage the zfs datasets you can dedicate a branch of your zfs dataset tree to a jail by using the "zfs jail" command. Note though that you have to issue "zfs jail" each time you start the jail (i never used iocage but I bet it has functionality to run some script after start of the jail) and after you dedicate the zfs branch to the jail it won't be accessible from the host before you issue the "zfs unjail" command. Regards, Sergey Kozlov On 02.09.2015 17:09, Raimund Sacherer wrote: > Hello, > > the first server I set up in our production environment was a backup server. Its FreeBSD 10.0 and I installed our backup server directly without creating jails first. > > Now that I am much more familiar with FreeBSD and jails (iocage) I would like to: > > clone (move, sync, ...?) the physical host into a iocage jail > after the clone works stop and remove the services from the host > > Then upgrade to 10.2. > > I am not sure on how to correctly move the physical host installation to the jail, also not sure about the correct way for the jail to get to various zfs datasets which our backup server needs. Allow them to mount in the Jail? Move them from where they are to beneath the jail? What are the differences? > > Thank you > Best > Ray > > From owner-freebsd-questions@freebsd.org Wed Sep 2 19:49:42 2015 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 91B819C8F01 for ; Wed, 2 Sep 2015 19:49:42 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 56885987 for ; Wed, 2 Sep 2015 19:49:42 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 509c2368; Wed, 2 Sep 2015 15:49:36 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id e4c1328b; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 2 Sep 2015 15:49:34 -0400 (EDT) Message-ID: <1441223480.3487.8.camel@michaeleichorn.com> Subject: Re: Jail causes host to reboot From: "Michael B. Eichorn" To: Niklaas Baudet von Gersdorff , freebsd-questions@freebsd.org Date: Wed, 02 Sep 2015 15:51:20 -0400 In-Reply-To: <55E6E26A.1040706@kulturflatrate.net> References: <55E6E26A.1040706@kulturflatrate.net> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-D0NNDHhMH4IUitOKbCdU" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 19:49:42 -0000 --=-D0NNDHhMH4IUitOKbCdU Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-09-02 at 13:50 +0200, Niklaas Baudet von Gersdorff wrote: > Hi, >=20 > after upgrading a package (net/syncthing) in a jail I experienced that > the host system rebooted. It seems because the jail starts at each boot > running syncthing again, the host system rebooted each time it started > the jail. A vicious circle. Because of this, I was nearly unable to > connect to the server. >=20 > By continuously pinging the server and sending a >=20 > ssh ezjail-admin config -r norun >=20 > once I knew the server is online again, I could stop the circle and > finally log into the server again. >=20 > I guess that something's wrong with net/syncthing (or its > configuration) > but what worries me more is how a malfunctioning jail can cause an > entire host system to reboot? >=20 > Thanks for your help and best, >=20 Just wanted to chime in. I just upgraded my jailed net/syncthing to 0.11.10 (using pkg -j) on a 10.2-RELEASE system, and I did not have any problems. This of course doesn't mean that you are not having problems with the port, but its another data point. --=-D0NNDHhMH4IUitOKbCdU Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j drgeU1nHst0qxwsIofRD7nC4dakT6exnrVndlBmLrf/bLPh2qOM8YK5qKK6m33fE7AyYrwiYAWFT 3fERI7LakjaabrIoS/Y1rCdL5FaCTMOlRbZyduc8HkrgjT2JW+i4fVcKyGL5gExBJWfS3q1uGFaB ie6pYtl8lZPtvN0JSfibP003RBoLgzqHJKW91RL0qNeDjKZi/5nrlU398l9UoVvLLO3KxoPBXKCx AgMBAAGjggLcMIIC2DAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHSUEFjAUBggrBgEFBQcD AgYIKwYBBQUHAwQwHQYDVR0OBBYEFJZqarc6CcrOs6eAwOgrMznk5ZWWMB8GA1UdIwQYMBaAFFNy 7ZKc4NrLAVx8fpY1TvLUuFGCMCEGA1UdEQQaMBiBFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggFM BgNVHSAEggFDMIIBPzCCATsGCysGAQQBgbU3AQIDMIIBKjAuBggrBgEFBQcCARYiaHR0cDovL3d3 dy5zdGFydHNzbC5jb20vcG9saWN5LnBkZjCB9wYIKwYBBQUHAgIwgeowJxYgU3RhcnRDb20gQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwAwIBARqBvlRoaXMgY2VydGlmaWNhdGUgd2FzIGlzc3VlZCBh Y2NvcmRpbmcgdG8gdGhlIENsYXNzIDEgVmFsaWRhdGlvbiByZXF1aXJlbWVudHMgb2YgdGhlIFN0 YXJ0Q29tIENBIHBvbGljeSwgcmVsaWFuY2Ugb25seSBmb3IgdGhlIGludGVuZGVkIHB1cnBvc2Ug aW4gY29tcGxpYW5jZSBvZiB0aGUgcmVseWluZyBwYXJ0eSBvYmxpZ2F0aW9ucy4wNgYDVR0fBC8w LTAroCmgJ4YlaHR0cDovL2NybC5zdGFydHNzbC5jb20vY3J0dTEtY3JsLmNybDCBjgYIKwYBBQUH AQEEgYEwfzA5BggrBgEFBQcwAYYtaHR0cDovL29jc3Auc3RhcnRzc2wuY29tL3N1Yi9jbGFzczEv Y2xpZW50L2NhMEIGCCsGAQUFBzAChjZodHRwOi8vYWlhLnN0YXJ0c3NsLmNvbS9jZXJ0cy9zdWIu Y2xhc3MxLmNsaWVudC5jYS5jcnQwIwYDVR0SBBwwGoYYaHR0cDovL3d3dy5zdGFydHNzbC5jb20v MA0GCSqGSIb3DQEBCwUAA4IBAQB4K8iQw+0FRn3xEnB3vIIu2Vi4C3ZGnOMWP90FFXLrZ6uAu9AK xVCjXUVP6nAEsOopTMu769vVecdBvg0KO2i5aTDTdTLX4g9d020g4OLWW1NiynAkX8oKqJLqZ53q vHK4zP4KWPS3bSqDWVCosTMfI+H6tkg+6G3gS0HHoHTLKZhIT3z6PQZAfeofM7ed6NOdAcj0J2lP ODHzzz7Y9x4wMwYJdidorzUDVYkNIkim8ak7hK9F60NadA5w/BirFATSlzRyV0h1tl6oNisEaQcq tGvy6UoCTDhzaJ7pQValfDXJ/A47P0hNj/CX/PmkY1wQHsEJz2pbh5lqteP/fO0rMIIGMDCCBRig AwIBAgIDDl3GMA0GCSqGSIb3DQEBCwUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRD b20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYG A1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcN MTUwNjEzMjAyNDQ2WhcNMTYwNjE0MDAzNTUwWjBIMR8wHQYDVQQDDBZpa2VAbWljaGFlbGVpY2hv cm4uY29tMSUwIwYJKoZIhvcNAQkBFhZpa2VAbWljaGFlbGVpY2hvcm4uY29tMIIBIjANBgkqhkiG 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyVXVgCz8+YdrOc1EBiCWJelafBT7WTZKPKv97HKwrMVyS6az Gg3aZ6k7JpG5hHyr7Kj0BOh1TqRsVUU5f7Qpvlb6LlvXmPSEzIoG9Tpx3VNdwijtI3a4HlNZx7Ld KscLCKH0Q+5wuHWpE+nsZ61Z3ZQZi63/2yz4dqjjPGCuaiiupt93xOwMmK8ImAFhU93xESOy2pI2 mm6yKEv2NawnS+RWgkzDpUW2cnbnPB5K4I09iVvouH1XCshi+YBMQSVn0t6tbhhWgYnuqWLZfJWT 7bzdCUn4mz9NN0QaC4M6hySlvdUS9KjXg4ymYv+Z65VN/fJfVKFbyyztysaDwVygsQIDAQABo4IC 3DCCAtgwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUF BwMEMB0GA1UdDgQWBBSWamq3OgnKzrOngMDoKzM55OWVljAfBgNVHSMEGDAWgBRTcu2SnODaywFc fH6WNU7y1LhRgjAhBgNVHREEGjAYgRZpa2VAbWljaGFlbGVpY2hvcm4uY29tMIIBTAYDVR0gBIIB QzCCAT8wggE7BgsrBgEEAYG1NwECAzCCASowLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3RhcnRz c2wuY29tL3BvbGljeS5wZGYwgfcGCCsGAQUFBwICMIHqMCcWIFN0YXJ0Q29tIENlcnRpZmljYXRp b24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRpZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5n IHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24gcmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBD QSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkgZm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBs aWFuY2Ugb2YgdGhlIHJlbHlpbmcgcGFydHkgb2JsaWdhdGlvbnMuMDYGA1UdHwQvMC0wK6ApoCeG JWh0dHA6Ly9jcmwuc3RhcnRzc2wuY29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8w OQYIKwYBBQUHMAGGLWh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9j YTBCBggrBgEFBQcwAoY2aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5j bGllbnQuY2EuY3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG 9w0BAQsFAAOCAQEAeCvIkMPtBUZ98RJwd7yCLtlYuAt2RpzjFj/dBRVy62ergLvQCsVQo11FT+pw BLDqKUzLu+vb1XnHQb4NCjtouWkw03Uy1+IPXdNtIODi1ltTYspwJF/KCqiS6med6rxyuMz+Clj0 t20qg1lQqLEzHyPh+rZIPuht4EtBx6B0yymYSE98+j0GQH3qHzO3nejTnQHI9CdpTzgx888+2Pce MDMGCXYnaK81A1WJDSJIpvGpO4SvRetDWnQOcPwYqxQE0pc0cldIdbZeqDYrBGkHKrRr8ulKAkw4 c2ie6UFWpXw1yfwOOz9ITY/wl/z5pGNcEB7BCc9qW4eZarXj/3ztKzCCBjQwggQcoAMCAQICAR4w DQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzAp BgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0 Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1 NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1 cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAx IFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAMcJg8zOLdgasSmkLhOrlr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7 zM9/UnC6TS2y9UKTpT1v7RSMzR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8 VpH/Clt+4iq7nirMcNh6qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+ jb9x4Pa5gNf1TwSDkOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQO Jebr/f/h5t95m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB /wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAf BgNVHSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3dy5z dGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cuc3RhcnRz c2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20vc2ZzY2EuY3Js MIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3Rh cnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93d3cuc3RhcnRzc2wuY29t L2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqDCH14qywGXLhjjF6uHLkjd02h cdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy6QMVQjbbMXltUfO4n4bGGdKo3awP Wp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPIzKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8C h507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKfKSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893 gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HORz9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0 PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBm unwxD5nvtTW4vtN6VY7mUCmxsCieuoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2L L9C9U0ptvjcDjefLTvqSFc7tw1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwF i2/14+xeSUDG2bwnsYJQG2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhE puP9wirslFe6fQ1t5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMYIDnzCCA5sCAQEwgZQwgYwxCzAJ BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRh bCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkg SW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDl3GMA0GCWCGSAFlAwQCAwUAoIIB2zAYBgkqhkiG9w0B CQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNTA5MDIxOTUxMjBaME8GCSqGSIb3DQEJ BDFCBED8Zj7GyknPmVZLagh09TlsBvn885HfgpjBHIM03F0Mk5tn2i7AYqbW073xDDHu9bu4bRHs 99Kvlrhz0dhfwQXOMIGlBgkrBgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQQIDDl3GMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEAA86J32p567rrt1b8oIL57/yYXTclFej0WTpUNpWd YzcNhnLJJO0xkNf7zQY7QASMZKBwWLZqjI2XjhAfEDxFp4pUayYS6OlwIlyFI2MjtHhxVlnCdRVe f8NWl9bdrSFtqSMFfgWmboYxvUZtRSFB6TiunrjGSIO0IJe70cGb6TZ+rtyVEnHzkUMeXULO9EEo 9Y/9mfcQ48hu9MOPuaUQQlUGmWqKFD46rttAGgPqB/cD5VI93fz9sv6gSvshJd+0hAuI5QDFKaBp FyP8OoOi3BLX+jD086vyneKA4wMNmyhZKaf/0h+B0Vmk0I1agHika2m7TxF/VKpCQVs3RIfqBwAA AAAAAA== --=-D0NNDHhMH4IUitOKbCdU-- From owner-freebsd-questions@freebsd.org Wed Sep 2 19:59:10 2015 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 D6BA69C9365 for ; Wed, 2 Sep 2015 19:59:10 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from mail2.kulturflatrate.net (mail2.kulturflatrate.net [IPv6:2a01:4f8:121:52ad::3:1]) by mx1.freebsd.org (Postfix) with ESMTP id A05C072 for ; Wed, 2 Sep 2015 19:59:10 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from [192.168.0.25] (mail.kulturflatrate.net [IPv6:2a01:488:66:1000:2ea3:77dd:0:1]) (Authenticated sender: niklaas@kulturflatrate.net) by mail2.kulturflatrate.net (Postfix) with ESMTPSA id BD3CD3E4D1; Wed, 2 Sep 2015 21:59:09 +0200 (CEST) Subject: Re: Jail causes host to reboot To: Kozlov Sergey , freebsd-questions@freebsd.org References: <55E6E26A.1040706@kulturflatrate.net> <55E704D4.2050607@kulturflatrate.net> <55E74EC9.1060803@gmail.com> From: Niklaas Baudet von Gersdorff Message-ID: <55E7557C.1000306@kulturflatrate.net> Date: Wed, 2 Sep 2015 22:01:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E74EC9.1060803@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 19:59:10 -0000 On 02/09/15 21:32, Kozlov Sergey wrote: > Anyways, any userspace program should not be able to crash the kernel, > so if you don't use self-modified OS and you're sure that everything is > ok with your hardware, you should really consider adding a bug to > I was very surprised about that happening, too. I'll further investigate what happened and will add a bug to the tracking system once I'm sure that net/syncthing was capable of crashing the kernel. I don't use a modified OS and since I have been able to stop my jail with net/syncthing running on it to start during boot everything works as expected. From owner-freebsd-questions@freebsd.org Wed Sep 2 20:01:24 2015 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 1931A9C953E for ; Wed, 2 Sep 2015 20:01:24 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from mail2.kulturflatrate.net (mail2.kulturflatrate.net [IPv6:2a01:4f8:121:52ad::3:1]) by mx1.freebsd.org (Postfix) with ESMTP id D3912678 for ; Wed, 2 Sep 2015 20:01:23 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from [192.168.0.25] (mail.kulturflatrate.net [IPv6:2a01:488:66:1000:2ea3:77dd:0:1]) (Authenticated sender: niklaas@kulturflatrate.net) by mail2.kulturflatrate.net (Postfix) with ESMTPSA id 06A703E4EA; Wed, 2 Sep 2015 22:01:22 +0200 (CEST) Subject: Re: Jail causes host to reboot To: "Michael B. Eichorn" , freebsd-questions@freebsd.org References: <55E6E26A.1040706@kulturflatrate.net> <1441223480.3487.8.camel@michaeleichorn.com> From: Niklaas Baudet von Gersdorff X-Enigmail-Draft-Status: N1110 Message-ID: <55E75601.8040308@kulturflatrate.net> Date: Wed, 2 Sep 2015 22:03:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1441223480.3487.8.camel@michaeleichorn.com> 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: Wed, 02 Sep 2015 20:01:24 -0000 On 02/09/15 21:51, Michael B. Eichorn wrote: > Just wanted to chime in. I just upgraded my jailed net/syncthing to > 0.11.10 (using pkg -j) on a 10.2-RELEASE system, and I did not have any > problems. This of course doesn't mean that you are not having problems > with the port, but its another data point. Thanks for sharing. In case the discussion goes further into the direction how net/syncthing could cause this, I upgraded 0.11.18 -> 0.11.23 (I let poudriere build the port). From owner-freebsd-questions@freebsd.org Wed Sep 2 20:22:08 2015 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 B2A0B9C9F45 for ; Wed, 2 Sep 2015 20:22:08 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 70EFC11E9 for ; Wed, 2 Sep 2015 20:22:07 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 53c85f64; Wed, 2 Sep 2015 16:22:08 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id c4e7f700; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 2 Sep 2015 16:22:05 -0400 (EDT) Message-ID: <1441225432.3487.23.camel@michaeleichorn.com> Subject: Re: Jail causes host to reboot From: "Michael B. Eichorn" To: Niklaas Baudet von Gersdorff , freebsd-questions@freebsd.org Date: Wed, 02 Sep 2015 16:23:52 -0400 In-Reply-To: <55E75601.8040308@kulturflatrate.net> References: <55E6E26A.1040706@kulturflatrate.net> <1441223480.3487.8.camel@michaeleichorn.com> <55E75601.8040308@kulturflatrate.net> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-GGD3y0jDcHQN6BtaLxk4" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 20:22:08 -0000 --=-GGD3y0jDcHQN6BtaLxk4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-09-02 at 22:03 +0200, Niklaas Baudet von Gersdorff wrote: > On 02/09/15 21:51, Michael B. Eichorn wrote: >=20 > > Just wanted to chime in. I just upgraded my jailed net/syncthing to > > 0.11.10 (using pkg -j) on a 10.2-RELEASE system, and I did not have > > any > > problems. This of course doesn't mean that you are not having > > problems > > with the port, but its another data point. >=20 > Thanks for sharing. In case the discussion goes further into the > direction how net/syncthing could cause this, I upgraded 0.11.18 -> > 0.11.23 (I let poudriere build the port). Well, at least if the problem is the package, it is confined to ports/head and hasn't reached the quarterly branch. Thus most 10.2 users won't have run into it yet. I guess we should start noting which ports branch we are talking about in the lists. The more you know... Good luck sorting this out, at least you have the workaround of using the quarterly branch. --=-GGD3y0jDcHQN6BtaLxk4 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j drgeU1nHst0qxwsIofRD7nC4dakT6exnrVndlBmLrf/bLPh2qOM8YK5qKK6m33fE7AyYrwiYAWFT 3fERI7LakjaabrIoS/Y1rCdL5FaCTMOlRbZyduc8HkrgjT2JW+i4fVcKyGL5gExBJWfS3q1uGFaB ie6pYtl8lZPtvN0JSfibP003RBoLgzqHJKW91RL0qNeDjKZi/5nrlU398l9UoVvLLO3KxoPBXKCx AgMBAAGjggLcMIIC2DAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHSUEFjAUBggrBgEFBQcD AgYIKwYBBQUHAwQwHQYDVR0OBBYEFJZqarc6CcrOs6eAwOgrMznk5ZWWMB8GA1UdIwQYMBaAFFNy 7ZKc4NrLAVx8fpY1TvLUuFGCMCEGA1UdEQQaMBiBFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggFM BgNVHSAEggFDMIIBPzCCATsGCysGAQQBgbU3AQIDMIIBKjAuBggrBgEFBQcCARYiaHR0cDovL3d3 dy5zdGFydHNzbC5jb20vcG9saWN5LnBkZjCB9wYIKwYBBQUHAgIwgeowJxYgU3RhcnRDb20gQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwAwIBARqBvlRoaXMgY2VydGlmaWNhdGUgd2FzIGlzc3VlZCBh Y2NvcmRpbmcgdG8gdGhlIENsYXNzIDEgVmFsaWRhdGlvbiByZXF1aXJlbWVudHMgb2YgdGhlIFN0 YXJ0Q29tIENBIHBvbGljeSwgcmVsaWFuY2Ugb25seSBmb3IgdGhlIGludGVuZGVkIHB1cnBvc2Ug aW4gY29tcGxpYW5jZSBvZiB0aGUgcmVseWluZyBwYXJ0eSBvYmxpZ2F0aW9ucy4wNgYDVR0fBC8w LTAroCmgJ4YlaHR0cDovL2NybC5zdGFydHNzbC5jb20vY3J0dTEtY3JsLmNybDCBjgYIKwYBBQUH AQEEgYEwfzA5BggrBgEFBQcwAYYtaHR0cDovL29jc3Auc3RhcnRzc2wuY29tL3N1Yi9jbGFzczEv Y2xpZW50L2NhMEIGCCsGAQUFBzAChjZodHRwOi8vYWlhLnN0YXJ0c3NsLmNvbS9jZXJ0cy9zdWIu Y2xhc3MxLmNsaWVudC5jYS5jcnQwIwYDVR0SBBwwGoYYaHR0cDovL3d3dy5zdGFydHNzbC5jb20v MA0GCSqGSIb3DQEBCwUAA4IBAQB4K8iQw+0FRn3xEnB3vIIu2Vi4C3ZGnOMWP90FFXLrZ6uAu9AK xVCjXUVP6nAEsOopTMu769vVecdBvg0KO2i5aTDTdTLX4g9d020g4OLWW1NiynAkX8oKqJLqZ53q vHK4zP4KWPS3bSqDWVCosTMfI+H6tkg+6G3gS0HHoHTLKZhIT3z6PQZAfeofM7ed6NOdAcj0J2lP ODHzzz7Y9x4wMwYJdidorzUDVYkNIkim8ak7hK9F60NadA5w/BirFATSlzRyV0h1tl6oNisEaQcq tGvy6UoCTDhzaJ7pQValfDXJ/A47P0hNj/CX/PmkY1wQHsEJz2pbh5lqteP/fO0rMIIGMDCCBRig AwIBAgIDDl3GMA0GCSqGSIb3DQEBCwUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRD b20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYG A1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcN MTUwNjEzMjAyNDQ2WhcNMTYwNjE0MDAzNTUwWjBIMR8wHQYDVQQDDBZpa2VAbWljaGFlbGVpY2hv cm4uY29tMSUwIwYJKoZIhvcNAQkBFhZpa2VAbWljaGFlbGVpY2hvcm4uY29tMIIBIjANBgkqhkiG 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyVXVgCz8+YdrOc1EBiCWJelafBT7WTZKPKv97HKwrMVyS6az Gg3aZ6k7JpG5hHyr7Kj0BOh1TqRsVUU5f7Qpvlb6LlvXmPSEzIoG9Tpx3VNdwijtI3a4HlNZx7Ld KscLCKH0Q+5wuHWpE+nsZ61Z3ZQZi63/2yz4dqjjPGCuaiiupt93xOwMmK8ImAFhU93xESOy2pI2 mm6yKEv2NawnS+RWgkzDpUW2cnbnPB5K4I09iVvouH1XCshi+YBMQSVn0t6tbhhWgYnuqWLZfJWT 7bzdCUn4mz9NN0QaC4M6hySlvdUS9KjXg4ymYv+Z65VN/fJfVKFbyyztysaDwVygsQIDAQABo4IC 3DCCAtgwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUF BwMEMB0GA1UdDgQWBBSWamq3OgnKzrOngMDoKzM55OWVljAfBgNVHSMEGDAWgBRTcu2SnODaywFc fH6WNU7y1LhRgjAhBgNVHREEGjAYgRZpa2VAbWljaGFlbGVpY2hvcm4uY29tMIIBTAYDVR0gBIIB QzCCAT8wggE7BgsrBgEEAYG1NwECAzCCASowLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3RhcnRz c2wuY29tL3BvbGljeS5wZGYwgfcGCCsGAQUFBwICMIHqMCcWIFN0YXJ0Q29tIENlcnRpZmljYXRp b24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRpZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5n IHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24gcmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBD QSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkgZm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBs aWFuY2Ugb2YgdGhlIHJlbHlpbmcgcGFydHkgb2JsaWdhdGlvbnMuMDYGA1UdHwQvMC0wK6ApoCeG JWh0dHA6Ly9jcmwuc3RhcnRzc2wuY29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8w OQYIKwYBBQUHMAGGLWh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9j YTBCBggrBgEFBQcwAoY2aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5j bGllbnQuY2EuY3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG 9w0BAQsFAAOCAQEAeCvIkMPtBUZ98RJwd7yCLtlYuAt2RpzjFj/dBRVy62ergLvQCsVQo11FT+pw BLDqKUzLu+vb1XnHQb4NCjtouWkw03Uy1+IPXdNtIODi1ltTYspwJF/KCqiS6med6rxyuMz+Clj0 t20qg1lQqLEzHyPh+rZIPuht4EtBx6B0yymYSE98+j0GQH3qHzO3nejTnQHI9CdpTzgx888+2Pce MDMGCXYnaK81A1WJDSJIpvGpO4SvRetDWnQOcPwYqxQE0pc0cldIdbZeqDYrBGkHKrRr8ulKAkw4 c2ie6UFWpXw1yfwOOz9ITY/wl/z5pGNcEB7BCc9qW4eZarXj/3ztKzCCBjQwggQcoAMCAQICAR4w DQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzAp BgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0 Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1 NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1 cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAx IFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAMcJg8zOLdgasSmkLhOrlr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7 zM9/UnC6TS2y9UKTpT1v7RSMzR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8 VpH/Clt+4iq7nirMcNh6qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+ jb9x4Pa5gNf1TwSDkOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQO Jebr/f/h5t95m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB /wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAf BgNVHSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3dy5z dGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cuc3RhcnRz c2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20vc2ZzY2EuY3Js MIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3Rh cnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93d3cuc3RhcnRzc2wuY29t L2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqDCH14qywGXLhjjF6uHLkjd02h cdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy6QMVQjbbMXltUfO4n4bGGdKo3awP Wp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPIzKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8C h507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKfKSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893 gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HORz9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0 PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBm unwxD5nvtTW4vtN6VY7mUCmxsCieuoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2L L9C9U0ptvjcDjefLTvqSFc7tw1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwF i2/14+xeSUDG2bwnsYJQG2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhE puP9wirslFe6fQ1t5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMYIDnzCCA5sCAQEwgZQwgYwxCzAJ BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRh bCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkg SW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDl3GMA0GCWCGSAFlAwQCAwUAoIIB2zAYBgkqhkiG9w0B CQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNTA5MDIyMDIzNTJaME8GCSqGSIb3DQEJ BDFCBEDbUS8ocXtNR6uhNohjIc2xXKR6OCW3j5TkQ60+na/NpuNsUFWmmgSZzguS1oX76Wprum0v Dxlwrl+GImxiLMl5MIGlBgkrBgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQQIDDl3GMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEAjyV7yuFPFCcnQxzkvA0gxxDQLVarSaQWm7fWHP+f 55GPp6LAd4Y+EVa3EhH2hKOo/zSimAbOSxqsfwljAWW3ETkd2nV+yPjZQ+ZagdUResu/o4vLBtjj aGjyWGqoELBm6nhmwauE07JPMV3ivMjAwIMhbCmTrR3Y2zNwYSnmCQRae2SvVYaStUBbdUIfIkVV Uu+oriJ5GtILmnw61eLPTjhwKA1c/sx+eqWlYrPkMc/FrFz0aqMRnBjVXow8gfv2rcOcBYETe26R q1NMOMWzwxmTVEVMwHXmIP6Huqd4wy6h2flJEhEMedZBfPNyEnYrlhYBNfd/YOZsLIrWTktrrAAA AAAAAA== --=-GGD3y0jDcHQN6BtaLxk4-- From owner-freebsd-questions@freebsd.org Wed Sep 2 20:43:29 2015 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 3E94F9C8C50 for ; Wed, 2 Sep 2015 20:43:29 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from mail.pingpong.net (mail.pingpong.net [79.136.116.202]) by mx1.freebsd.org (Postfix) with ESMTP id EEA5B1DDE for ; Wed, 2 Sep 2015 20:43:28 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from mail.pingpong.net (localhost [127.0.0.1]) by mail.pingpong.net (Postfix) with ESMTP id B0A47C9FE for ; Wed, 2 Sep 2015 22:43:20 +0200 (CEST) X-Virus-Scanned: by amavisd-new at pingpong.net Received: from mail.pingpong.net ([127.0.0.1]) by mail.pingpong.net (mail.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id O0_Ywa2KbYK5 for ; Wed, 2 Sep 2015 22:43:20 +0200 (CEST) Received: from [10.0.1.12] (h-155-4-74-242.na.cust.bahnhof.se [155.4.74.242]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.pingpong.net (Postfix) with ESMTPSA id 7E4B9C9F9 for ; Wed, 2 Sep 2015 22:43:20 +0200 (CEST) From: Palle Girgensohn X-Pgp-Agent: GPGMail 2.5.1 Content-Type: multipart/signed; boundary="Apple-Mail=_B6178436-CD5A-4F28-B8B8-C68ADC8E87D3"; protocol="application/pgp-signature"; micalg=pgp-sha256 Subject: How can I mirror update.freebsd.org for offline use? Date: Wed, 2 Sep 2015 22:43:17 +0200 Message-Id: <8EC6B839-C73A-4DAC-B924-0D1E3C06F3DA@pingpong.net> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) 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, 02 Sep 2015 20:43:29 -0000 --Apple-Mail=_B6178436-CD5A-4F28-B8B8-C68ADC8E87D3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, I have some servers that have no direct access to internet. They can = access a "support server" running linux, and that machine can access the = net. I need to mirror update.freebsd.org so I can run freebsd-update locally. = I have no interest in building my own version, I simply want a local = mirror that I can set in freebsd-update.conf. I'm not what is the best, = most preferred, way to do this, without putting unnecessary load on = update.freebsd.org. Any ideas? Palle --Apple-Mail=_B6178436-CD5A-4F28-B8B8-C68ADC8E87D3 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 iQEcBAEBCAAGBQJV519nAAoJEIhV+7FrxBJD5FQIAIb5H6CMnHBUpbrn7aLSPVqJ yVKb5HHiGHkk1g/cr8rTBMyFAiKb2j5tsGrVjM+HPQJS4G39FNSFgoaqBUsB8LWX 1NiAusS6AF4/c++VsNjiItbk5ttqvAMARQsz4w8Twf1C6T8HP6WhnYCw+wpHaban OAry4gN7foVJpEHPWn8E13aFaTDtX3IeR4waP8xsKshi+LJBFUUpd1YYl9EE7mK1 YlXk7agzjXBledxexiAXujUUu4WnBG3yW48kU2VJldZA2Oi25YuR+aq8niaaIPz4 7yMB0gQLDta/TqnvvF3ZXCqO088hqLqBiazOQD7FYgu2ZH0dchjAJry/gUp75ik= =+S/O -----END PGP SIGNATURE----- --Apple-Mail=_B6178436-CD5A-4F28-B8B8-C68ADC8E87D3-- From owner-freebsd-questions@freebsd.org Wed Sep 2 21:39:50 2015 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 1D3A09C8306 for ; Wed, 2 Sep 2015 21:39:50 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) (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 A20D09C9 for ; Wed, 2 Sep 2015 21:39:49 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by lamp12 with SMTP id p12so15366658lam.0 for ; Wed, 02 Sep 2015 14:39:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=B1URreWwvsxP06XzV33oKFy3vfD52bOY5L93KZwi9xM=; b=XRRTgMuKfpCijV2D26WAmY3STBI8UiN0fGjOE+T/ideEFpI6tTeyCBrCTQmfDPu/Lf C/qJXhOtKhgPZpi0GKwl7GnTEyBcesy39SBGD4rh5PtHoXGkFv26P/lSimBkt2UtFT/q R5MzhEIhPdySq7V2TlhDJ6Cyv7uKRvniHKFjdxSbAO/zsG9f3WtNOwrftyxdlBI96xvE 6Umji6zodMIrAYA/XOweNZUUpzij7y71N1/6Ll4tsVtEavhZbFk278a6KccRhr8WVyJf 8QgRZTjJmodPzCRhb2eZX9r0W1XDJ5Kt92EeSj7xoGuChbbK6EvWIxvimNL1bbnzyjGm doeQ== X-Gm-Message-State: ALoCoQkEvqZvw8/Y6OnScjuB1YXafYk/coNdohLXmDwNd5BViczxbyNAqDV2HwS9RYPeGo10xOlE MIME-Version: 1.0 X-Received: by 10.152.20.70 with SMTP id l6mr7352772lae.4.1441229981492; Wed, 02 Sep 2015 14:39:41 -0700 (PDT) Received: by 10.25.133.130 with HTTP; Wed, 2 Sep 2015 14:39:41 -0700 (PDT) X-Originating-IP: [140.239.2.163] In-Reply-To: <8EC6B839-C73A-4DAC-B924-0D1E3C06F3DA@pingpong.net> References: <8EC6B839-C73A-4DAC-B924-0D1E3C06F3DA@pingpong.net> Date: Wed, 2 Sep 2015 14:39:41 -0700 Message-ID: Subject: Re: How can I mirror update.freebsd.org for offline use? From: "Brian W." To: Palle Girgensohn Cc: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 21:39:50 -0000 Did you see https://www.freebsd.org/doc/en/articles/hubs/mirror-howto.html On Wed, Sep 2, 2015 at 1:43 PM, Palle Girgensohn wrote: > Hi, > > I have some servers that have no direct access to internet. They can > access a "support server" running linux, and that machine can access the > net. > > I need to mirror update.freebsd.org so I can run freebsd-update locally. > I have no interest in building my own version, I simply want a local mirror > that I can set in freebsd-update.conf. I'm not what is the best, most > preferred, way to do this, without putting unnecessary load on > update.freebsd.org. Any ideas? > > Palle > > From owner-freebsd-questions@freebsd.org Wed Sep 2 21:41:04 2015 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 D73E59C84E9 for ; Wed, 2 Sep 2015 21:41:04 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7067BBFE for ; Wed, 2 Sep 2015 21:41:04 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wicge5 with SMTP id ge5so54579352wic.0 for ; Wed, 02 Sep 2015 14:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lTeUeZJDW4Y1YtqtxRuV4EGz5mdxWcr4VyKoTnU/qcc=; b=dF0KApmp2ZUVw1tvNf8xP50K+V+eZZxFlXkuuTJGc1ecLQX6+rFcgbiSYIOUrx8xc1 4MbYStHcKzv3qPm+NQd8JKG92IQ0Wzpl8NDl1WXJ9zLIYRysS94KjjPwSE6Jwe2elc+M CSorEwibNUHPvHt1ewAftNIAH9e1EohRtRLsNTpSIM4JYNvACJZAatK0Qvn2lWtVTMt2 QPxy0WP4tjX+sbtEMTlhi61NMtMy/X7Jd49gFXATdbNXoW1XydQxVEVHEyr/NVYCUTeB lQip32Me9DflKPyVcQ4SISu3yi/DjseRPpkW51EQLNY0h6+X8u7lgp+G1grA/ZMk2E2b g9cQ== MIME-Version: 1.0 X-Received: by 10.180.105.74 with SMTP id gk10mr7259469wib.92.1441230062822; Wed, 02 Sep 2015 14:41:02 -0700 (PDT) Received: by 10.194.67.5 with HTTP; Wed, 2 Sep 2015 14:41:02 -0700 (PDT) In-Reply-To: <55E7526D.5040101@kulturflatrate.net> References: <55E6E26A.1040706@kulturflatrate.net> <55E704D4.2050607@kulturflatrate.net> <55E7526D.5040101@kulturflatrate.net> Date: Wed, 2 Sep 2015 16:41:02 -0500 Message-ID: Subject: Re: Jail causes host to reboot From: Adam Vande More To: Niklaas Baudet von Gersdorff 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, 02 Sep 2015 21:41:05 -0000 On Wed, Sep 2, 2015 at 2:47 PM, Niklaas Baudet von Gersdorff < niklaas@kulturflatrate.net> wrote: > On 02/09/15 17:11, Adam Vande More wrote: > > > Yes, depending on configuration. It's trivial to make a jail insecure. > > The trick is to make a jail secure and fully functional for your needs. > > Can you recommend resources that further explicates how to secure jails? > I am very interested in this but lack "ideas" on how to attack a system > so that I could make it more secure. I'd be happy about any internet > resource, book or article. > The best resource I can think is the FreeBSD bugzilla which contains the jail security advisories and related fixes. -- Adam From owner-freebsd-questions@freebsd.org Wed Sep 2 21:42:41 2015 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 D6B829C8582 for ; Wed, 2 Sep 2015 21:42:41 +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 B31DED52 for ; Wed, 2 Sep 2015 21:42:41 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 8102233C48; Wed, 2 Sep 2015 17:42:40 -0400 (EDT) From: Lowell Gilbert To: Palle Girgensohn Cc: freebsd-questions@freebsd.org Subject: Re: How can I mirror update.freebsd.org for offline use? References: <8EC6B839-C73A-4DAC-B924-0D1E3C06F3DA@pingpong.net> Date: Wed, 02 Sep 2015 17:42:40 -0400 In-Reply-To: <8EC6B839-C73A-4DAC-B924-0D1E3C06F3DA@pingpong.net> (Palle Girgensohn's message of "Wed, 2 Sep 2015 22:43:17 +0200") Message-ID: <444mjcjy5r.fsf@be-well.ilk.org> 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: Wed, 02 Sep 2015 21:42:41 -0000 Palle Girgensohn writes: > I have some servers that have no direct access to internet. They can > access a "support server" running linux, and that machine can access > the net. > > I need to mirror update.freebsd.org so I can run freebsd-update > locally. I have no interest in building my own version, I simply want > a local mirror that I can set in freebsd-update.conf. I'm not what is > the best, most preferred, way to do this, without putting unnecessary > load on update.freebsd.org. Any ideas? If you can run a caching proxy server on the support server, that would be the easy thing to do. From owner-freebsd-questions@freebsd.org Wed Sep 2 21:42:39 2015 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 D7FF89C857E for ; Wed, 2 Sep 2015 21:42:39 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from mail.pingpong.net (mail.pingpong.net [79.136.116.202]) by mx1.freebsd.org (Postfix) with ESMTP id 97EA1D51 for ; Wed, 2 Sep 2015 21:42:39 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from [10.0.1.13] (h-155-4-74-242.na.cust.bahnhof.se [155.4.74.242]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.pingpong.net (Postfix) with ESMTPSA id E9C6CCC24; Wed, 2 Sep 2015 23:42:37 +0200 (CEST) Mime-Version: 1.0 (1.0) Subject: Re: How can I mirror update.freebsd.org for offline use? From: Palle Girgensohn X-Mailer: iPhone Mail (12H321) In-Reply-To: Date: Wed, 2 Sep 2015 23:42:37 +0200 Cc: FreeBSD Mailing List Message-Id: <92C1783A-9DCE-41DB-AC44-61D424D1E4EB@pingpong.net> References: <8EC6B839-C73A-4DAC-B924-0D1E3C06F3DA@pingpong.net> To: "Brian W." 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: Wed, 02 Sep 2015 21:42:40 -0000 Yes I did. It does however not mention how to mirror update.freebsd.org, i.e= . the site used by freebsd-update(8).=20 > 2 sep 2015 kl. 23:39 skrev Brian W. : >=20 > Did you see https://www.freebsd.org/doc/en/articles/hubs/mirror-howto.html= >=20 >> On Wed, Sep 2, 2015 at 1:43 PM, Palle Girgensohn wr= ote: >> Hi, >>=20 >> I have some servers that have no direct access to internet. They can acce= ss a "support server" running linux, and that machine can access the net. >>=20 >> I need to mirror update.freebsd.org so I can run freebsd-update locally. I= have no interest in building my own version, I simply want a local mirror t= hat I can set in freebsd-update.conf. I'm not what is the best, most preferr= ed, way to do this, without putting unnecessary load on update.freebsd.org. A= ny ideas? >>=20 >> Palle >=20 From owner-freebsd-questions@freebsd.org Thu Sep 3 07:29:04 2015 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 96CE99C9768 for ; Thu, 3 Sep 2015 07:29:04 +0000 (UTC) (envelope-from raimund.sacherer@logitravel.com) Received: from formentor.toolfactory.net (pina.toolfactory.net [213.97.158.39]) by mx1.freebsd.org (Postfix) with ESMTP id B6C0D26E; Thu, 3 Sep 2015 07:29:02 +0000 (UTC) (envelope-from raimund.sacherer@logitravel.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 2AB3317833D; Thu, 3 Sep 2015 09:29:00 +0200 (CEST) Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id DHC-t9-xcVWf; Thu, 3 Sep 2015 09:28:58 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 47650178349; Thu, 3 Sep 2015 09:28:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at logpmzimmta01v.toolfactory.net Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TJRS8HDZrJMR; Thu, 3 Sep 2015 09:28:58 +0200 (CEST) Received: from xorrigo.toolfactory.net (xorrigo.toolfactory.net [192.168.2.210]) by formentor.toolfactory.net (Postfix) with ESMTP id 2F2FC17833D; Thu, 3 Sep 2015 09:28:58 +0200 (CEST) Date: Thu, 3 Sep 2015 09:28:57 +0200 (CEST) From: Raimund Sacherer Reply-To: Raimund Sacherer To: Matthew Seaman Cc: freebsd-questions@freebsd.org Message-ID: <605077410.12419182.1441265337702.JavaMail.zimbra@logitravel.com> In-Reply-To: <55DEF1ED.4040701@FreeBSD.org> References: <938335435.8523670.1440671907486.JavaMail.zimbra@logitravel.com> <55DEF1ED.4040701@FreeBSD.org> Subject: Re: how to assure that a certain device (e.g. /dev/pass1) always is /dev/pass1 on subsequent reboots? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.2.213] X-Mailer: Zimbra 8.0.8_GA_6184 (ZimbraWebClient - FF40 (Mac)/8.0.8_GA_6184) Thread-Topic: how to assure that a certain device (e.g. /dev/pass1) always is /dev/pass1 on subsequent reboots? Thread-Index: rIpm+4e+SoNKhAOtu0fPQwLH0Pvt3w== 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, 03 Sep 2015 07:29:04 -0000 Hello, > You probably don't need to worry about this: for permanently wired > peripherals, the device names will generally be stable across reboots. > For something like an autochanger -- given they're always plugged into > the system and you can assume they're powered on -- then the devices > will be numbered in the order the kernel probes for them at boot. Just for your Info, I have one LTO5 Drive and one LTO6 Autochanger, both connected externally via pcix LSI SAS controllers. After Installation of the 2nd card (for the LTO6 Autochanger), upon reboot my devices where: pass16, sa0, LTO5 drive pass17, sa1, LTO6 drive pass18, ch0, Autochanger Yesterday I had to reboot the server and after reboot I got: pass13, sa0, LTO6 drive pass14, ch0, Autochanger pass18, sa1, LTO5 drive No hardware was touched since the installation, so there is definitly some sort of boot reordering going on. Maybe it is with the mps driver. I added the device hints so at least I think until I change the physical hardware configuration I will get the same device names. I tried it yesterday with another reboot and they stayed the same. It took me a while to figure out which driver runs the SAS controllers though, camcontrol devlist does not reference it, and I did not find it in pciconf either, but then I went trough the boot messages and found it very clearly stated. I just got confused because lspci in linux tells you the kernel driver the device is using, but the freebsd counterparts do not. Or maybe they don't show it the driver is compiled in. Well, still lot's of learning to do, thank you for your info, Ray From owner-freebsd-questions@freebsd.org Thu Sep 3 09:21:24 2015 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 224109C936B for ; Thu, 3 Sep 2015 09:21:24 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from mail2.kulturflatrate.net (mail.financecomm.com [178.63.105.5]) by mx1.freebsd.org (Postfix) with ESMTP id DD20E1364 for ; Thu, 3 Sep 2015 09:21:22 +0000 (UTC) (envelope-from niklaas@kulturflatrate.net) Received: from [192.168.0.25] (mail.kulturflatrate.net [IPv6:2a01:488:66:1000:2ea3:77dd:0:1]) (Authenticated sender: niklaas@kulturflatrate.net) by mail2.kulturflatrate.net (Postfix) with ESMTPSA id 215F73E892; Thu, 3 Sep 2015 11:21:21 +0200 (CEST) Subject: Re: Jail causes host to reboot To: "Michael B. Eichorn" , freebsd-questions@freebsd.org References: <55E6E26A.1040706@kulturflatrate.net> <1441223480.3487.8.camel@michaeleichorn.com> <55E75601.8040308@kulturflatrate.net> <1441225432.3487.23.camel@michaeleichorn.com> From: Niklaas Baudet von Gersdorff Message-ID: <55E81180.9040908@kulturflatrate.net> Date: Thu, 3 Sep 2015 11:23:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1441225432.3487.23.camel@michaeleichorn.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 09:21:24 -0000 On 02/09/15 22:23, Michael B. Eichorn wrote: > Well, at least if the problem is the package, it is confined to > ports/head and hasn't reached the quarterly branch. Thus most 10.2 users > won't have run into it yet. (...) > Good luck sorting this out, at least you have the workaround of using the > quarterly branch. Thank you for mentioning the port branches. I haven't read about them yet. I'll keep everyone updated about the issue. From owner-freebsd-questions@freebsd.org Thu Sep 3 11:51:34 2015 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 1E6CA9C90EC for ; Thu, 3 Sep 2015 11:51:34 +0000 (UTC) (envelope-from grigorian@theconcept.ru) Received: from mail.theconcept.ru (mail.theconcept.ru [62.141.91.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.theconcept.ru", Issuer "Concept Issuing CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 67865BB7 for ; Thu, 3 Sep 2015 11:51:32 +0000 (UTC) (envelope-from grigorian@theconcept.ru) From: Sergey Grigorian To: "freebsd-questions@freebsd.org" Subject: 10.2-RELEASE not forwarding packets/NATing with pf Thread-Topic: 10.2-RELEASE not forwarding packets/NATing with pf Thread-Index: AdDmPpAd8dAIyZkgTd2lE3h5r9y0Eg== Date: Thu, 3 Sep 2015 11:49:17 +0000 Message-ID: <5C137CAA56211A448C4F58E75EFB6266C285B582@EXCHANGE.lan.theconcept.ru> Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: internally-submitted e-mail X-KSE-ServerInfo: GATEWAY.lan.theconcept.ru, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 11:51:34 -0000 Hello list. I'm observing a weird thing with pf.conf/packet forwarding after upgrading = from 10.1-RELEASE-p19 to 10.2-RELEASE. I have a simple lan gateway with a primitive pf.conf which is running just = fine on 10.1-RELEASE-p19, performing some pretty minimal . However, once I upgrade to 10.2-RELEASE kernel -- that is, after the first = restart during "freebsd-update upgrade -r 10.2-RELEASE" -- the box wont nat= or forward packets anymore. What could be the reason for this? Has anything change about pf between 10.= 1 and 10.2? Where do I look? Am I missing soething obvious? Thanks. Here's the /etc/pf.conf: ext_if=3D"hn0" int_if=3D"hn1" set block-policy return set loginterface $ext_if set skip on lo scrub in nat pass log on $ext_if inet from !($ext_if) -> ($ext_if:0) rdr pass on $ext_if proto tcp from any to any port 10022 -> 172.16.1.3 port= ssh rdr pass on $ext_if proto tcp from any to any port 10122 -> 172.16.1.4 port= ssh rdr pass on $ext_if proto tcp from any to any port 10222 -> 172.16.1.5 port= ssh pass all And here's /etc/sysctl.conf: net.inet.ip.forwarding=3D1 And here's kldstat for completeness sake: Id Refs Address Size Name 1 14 0xffffffff80200000 179ddb0 kernel 2 1 0xffffffff8199e000 2f9b00 zfs.ko 3 2 0xffffffff81c98000 6048 opensolaris.ko 4 1 0xffffffff81e11000 26d1 pflog.ko 5 1 0xffffffff81e14000 32e6f pf.ko From owner-freebsd-questions@freebsd.org Thu Sep 3 13:30:07 2015 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 E39469C987C for ; Thu, 3 Sep 2015 13:30:07 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 98877378 for ; Thu, 3 Sep 2015 13:30:06 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.15.2/8.15.2) with ESMTP id t83DU4IP035662; Thu, 3 Sep 2015 09:30:04 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: 10.2-RELEASE not forwarding packets/NATing with pf To: Sergey Grigorian , "freebsd-questions@freebsd.org" References: <5C137CAA56211A448C4F58E75EFB6266C285B582@EXCHANGE.lan.theconcept.ru> From: Mike Tancsa Organization: Sentex Communications Message-ID: <55E84B51.7070103@sentex.net> Date: Thu, 3 Sep 2015 09:29:53 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5C137CAA56211A448C4F58E75EFB6266C285B582@EXCHANGE.lan.theconcept.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.75 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, 03 Sep 2015 13:30:08 -0000 On 9/3/2015 7:49 AM, Sergey Grigorian wrote: > > And here's /etc/sysctl.conf: > > net.inet.ip.forwarding=1 > Hi, This does not work the way it might have in the past. Make sure you set gateway_enable="YES" in /etc/rc.conf otherwise, devd and /etc/rc.d/routing will reset net.inet.ip.forwarding to 0 on certain network events. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@freebsd.org Thu Sep 3 14:05:57 2015 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 73E319C9876 for ; Thu, 3 Sep 2015 14:05:57 +0000 (UTC) (envelope-from grigorian@theconcept.ru) Received: from mail.theconcept.ru (mail.theconcept.ru [62.141.91.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.theconcept.ru", Issuer "Concept Issuing CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F2ED31935 for ; Thu, 3 Sep 2015 14:05:56 +0000 (UTC) (envelope-from grigorian@theconcept.ru) From: Sergey Grigorian To: Mike Tancsa , "freebsd-questions@freebsd.org" Subject: RE: 10.2-RELEASE not forwarding packets/NATing with pf Thread-Topic: 10.2-RELEASE not forwarding packets/NATing with pf Thread-Index: AdDmPpAd8dAIyZkgTd2lE3h5r9y0Ev//6dCAgAA7QM4= Date: Thu, 3 Sep 2015 14:04:54 +0000 Message-ID: <5C137CAA56211A448C4F58E75EFB6266C285E5CC@EXCHANGE.lan.theconcept.ru> References: <5C137CAA56211A448C4F58E75EFB6266C285B582@EXCHANGE.lan.theconcept.ru>, <55E84B51.7070103@sentex.net> In-Reply-To: <55E84B51.7070103@sentex.net> Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: internally-submitted e-mail X-KSE-ServerInfo: GATEWAY.lan.theconcept.ru, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 14:05:57 -0000 > On 9/3/2015 7:49 AM, Sergey Grigorian wrote: > > > > And here's /etc/sysctl.conf: > > > > net.inet.ip.forwarding=3D1 > > > Hi, > This does not work the way it might have in the past. Make sure y= ou set > gateway_enable=3D"YES" > in /etc/rc.conf > otherwise, devd and /etc/rc.d/routing will reset net.inet.ip.forwarding > to 0 on certain network events. >=20 > ---Mike Mike, thanks for your suggestion. I have gateway_enable=3D"YES" set in /etc/rc.conf Is there anything else I miss? Here's the /etc/rc.conf itself: defaultrouter=3D172.16.0.1 ifconfig_hn0=3D"inet 172.16.0.3 netmask 255.255.255.0" ifconfig_hn0_alias0=3D"inet 172.16.0.4 netmask 255.255.255.255"=20 ifconfig_hn1=3D"inet 172.16.1.1 netmask 255.255.255.0" ifconfig_hn1_alias0=3D"inet 172.16.1.7 netmask 255.255.255.255"=20 gateway_enable=3D"YES" pf_enable=3D"YES" pflog_enable=3D"YES" sshd_enable=3D"YES" ntpd_enable=3D"YES" ntpd_sync_on_start=3D"YES" cron_enable=3D"YES" cron_flags=3D"-j 60 -J 60" syslogd_flags=3D"-ss" sendmail_enable=3D"NO" sendmail_submit_enable=3D"NO" sendmail_outbound_enable=3D"NO" sendmail_msp_queue_enable=3D"NO" accounting_enable=3D"YES" tcp_drop_synfin=3D"YES" icmp_drop_redirect=3D"YES" clear_tmp_enable=3D"YES"= From owner-freebsd-questions@freebsd.org Thu Sep 3 14:41:29 2015 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 76A1A9CA9AB for ; Thu, 3 Sep 2015 14:41:29 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010: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 076D8E0F for ; Thu, 3 Sep 2015 14:41:29 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by lbcjc2 with SMTP id jc2so25595000lbc.0 for ; Thu, 03 Sep 2015 07:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=cnkGsgyx/c1JmAwgA8PHAkJ0V8cXago0Bdz+799hePw=; b=gZt5NLQXZ95If2D1MfZghr9l+d6EQIHKd2cNR3ZASZDggg98hC1Kws08S5cFFJTHoa HY4WiPCT6osX0im3TntGhUaUADE4JnpQiCGukqnRc03gWJTOdu+G385mPCqWwpO6R+uo thCheZ1GC6WL2S+CLavva/2tXSqtEo4QwSvFbnaS6R/brh3tMtPcR3+Rp3UdwH9aSFt2 VvST88+ZCx5sZ5x1ZXg339mt3LLx04t7s5PVGVUlDUGUTCZi+y2puuFhi+TTneBA1DRi oiW2qWZcrx6UqGrwCsQSnJHoavg0USoe5fN+gLUPb0qDzesdEfT59Z6mnPfZOo4s65qE prhA== MIME-Version: 1.0 X-Received: by 10.152.30.37 with SMTP id p5mr22641093lah.102.1441291286537; Thu, 03 Sep 2015 07:41:26 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.25.82.146 with HTTP; Thu, 3 Sep 2015 07:41:25 -0700 (PDT) Received: by 10.25.82.146 with HTTP; Thu, 3 Sep 2015 07:41:25 -0700 (PDT) In-Reply-To: <5C137CAA56211A448C4F58E75EFB6266C285B582@EXCHANGE.lan.theconcept.ru> References: <5C137CAA56211A448C4F58E75EFB6266C285B582@EXCHANGE.lan.theconcept.ru> Date: Thu, 3 Sep 2015 16:41:25 +0200 X-Google-Sender-Auth: GGuWx9D8U4I2yQB8WYW-kmpbXAo Message-ID: Subject: Re: 10.2-RELEASE not forwarding packets/NATing with pf From: CeDeROM To: Sergey Grigorian Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 14:41:29 -0000 Why not use natd? -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Thu Sep 3 14:41:37 2015 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 994EC9CA9CA for ; Thu, 3 Sep 2015 14:41:37 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qg0-x22a.google.com (mail-qg0-x22a.google.com [IPv6:2607:f8b0:400d:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55EA5E58 for ; Thu, 3 Sep 2015 14:41:36 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by qgt47 with SMTP id 47so29990546qgt.2 for ; Thu, 03 Sep 2015 07:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-type:content-transfer-encoding; bh=SAx7hWF0+Eky+YG9H+YNRT7p3yspRXHCX0geJtFaqhs=; b=dIvouQXsl8qZFIdMF0oWVnTD1otEoOHi8CujrTFJR10cmuxV3k7HTkUs9YaXD9O0b0 yW9pXKrZFd6DDLf8Q+2W2OyVnd0SA5fItR9gZs5D58iFaP7Ili5F3nmflLmrR8sXdAaB wubYJJeVeA3H2QFwL5N8OujjWDdqNzy5cb1uA= 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:in-reply-to :references:organization:mime-version:content-type :content-transfer-encoding; bh=SAx7hWF0+Eky+YG9H+YNRT7p3yspRXHCX0geJtFaqhs=; b=KKDt3v1jehDM4CmkYnvtESr0r6n3lsU8VBB3yruNykN+um08MEilnfUs4Q+3h68K93 sJbevLS/8JK7DmZG2y8rLBlpBkAOQKMbB5TVwPDZYI7RJ8Hgr9F/ImGIp5r+9yc48dKd +96LWDuxoEBjkxcUlDQm78zQPnIqa0imOOMbw24bo6UnXDin1cGVSPHFMJOUAST+2kVh Z5UfzBo5NcxDOj0X0IJVhStY/85nQnBKZjod89SDW3xPXzHKE6bBgYHFk52l+I69y/r3 KyFjN+ePZdNzp8cal3MpJ65uE4PSPuSH2zuKAh6P2hUzaw+UGFG/KDk5T9Nrp53dy1BU N5pQ== X-Gm-Message-State: ALoCoQlzaNyXjlQlUdhBsNDtmV/N+AVcIcS48j9zn30O3BaEoouFKa6dskZOeunQhNPbGyBTpAfn X-Received: by 10.140.195.81 with SMTP id q78mr70934968qha.49.1441291295812; Thu, 03 Sep 2015 07:41:35 -0700 (PDT) Received: from Papi ([179.181.60.41]) by smtp.gmail.com with ESMTPSA id o4sm14982302qki.43.2015.09.03.07.41.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Sep 2015 07:41:35 -0700 (PDT) Date: Thu, 3 Sep 2015 11:46:14 -0300 From: Mario Lobo To: Sergey Grigorian Cc: Mike Tancsa , "freebsd-questions@freebsd.org" Subject: Re: 10.2-RELEASE not forwarding packets/NATing with pf Message-ID: <20150903114614.17c98a13@Papi> In-Reply-To: <5C137CAA56211A448C4F58E75EFB6266C285E5CC@EXCHANGE.lan.theconcept.ru> References: <5C137CAA56211A448C4F58E75EFB6266C285B582@EXCHANGE.lan.theconcept.ru> <55E84B51.7070103@sentex.net> <5C137CAA56211A448C4F58E75EFB6266C285E5CC@EXCHANGE.lan.theconcept.ru> Organization: BSD X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 03 Sep 2015 14:41:37 -0000 On Thu, 3 Sep 2015 14:04:54 +0000 Sergey Grigorian wrote: > > On 9/3/2015 7:49 AM, Sergey Grigorian wrote: > > > > > > And here's /etc/sysctl.conf: > > > > > > net.inet.ip.forwarding=1 > > > > > > Hi, > > This does not work the way it might have in the past. Make > > sure you set gateway_enable="YES" > > in /etc/rc.conf > > otherwise, devd and /etc/rc.d/routing will reset > > net.inet.ip.forwarding to 0 on certain network events. > > > > ---Mike > > Mike, > thanks for your suggestion. > I have gateway_enable="YES" set in /etc/rc.conf > Is there anything else I miss? > > Here's the /etc/rc.conf itself: > defaultrouter=172.16.0.1 > ifconfig_hn0="inet 172.16.0.3 netmask 255.255.255.0" > ifconfig_hn0_alias0="inet 172.16.0.4 netmask 255.255.255.255" > ifconfig_hn1="inet 172.16.1.1 netmask 255.255.255.0" > ifconfig_hn1_alias0="inet 172.16.1.7 netmask 255.255.255.255" > gateway_enable="YES" > pf_enable="YES" > pflog_enable="YES" > sshd_enable="YES" > ntpd_enable="YES" > ntpd_sync_on_start="YES" > cron_enable="YES" > cron_flags="-j 60 -J 60" > syslogd_flags="-ss" > sendmail_enable="NO" > sendmail_submit_enable="NO" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable="NO" > accounting_enable="YES" > tcp_drop_synfin="YES" > icmp_drop_redirect="YES" > clear_tmp_enable="YES" > _______________________________________________ > 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 know this sounds obvious but do you have device pf device pflog in your kernel? or pf.ko loaded ? -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." From owner-freebsd-questions@freebsd.org Thu Sep 3 17:09:53 2015 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 6B7559CA5AA for ; Thu, 3 Sep 2015 17:09:53 +0000 (UTC) (envelope-from gilbertrohde188@gmail.com) Received: from mail-la0-x242.google.com (mail-la0-x242.google.com [IPv6:2a00:1450:4010:c03::242]) (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 D0D201E2F for ; Thu, 3 Sep 2015 17:09:52 +0000 (UTC) (envelope-from gilbertrohde188@gmail.com) Received: by labmm4 with SMTP id mm4so3300706lab.3 for ; Thu, 03 Sep 2015 10:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Vgmg6KcK4kkOkv7YsI9Nka4vhRYb5G/LsHhGsLxVU2o=; b=bzEyvroqCvrpQGaNPEAvTmfkbX+z29oxiiNkuXYMnxWMVIwJmfIbu6a1fXmNbtiHwO XBW5MMc3VBsuxaggKGReRXjAZnLcmigi62nRQ1u2fdHIsrlG5FML4cBsKTpjKNEb2V2h ppNBxDPi5VQSB8ifKnvxC3u4cHfKt4GlPNHsVD3D9n5zKqD9GEhxhOsKcPMTeacdaNYo vEfX/b3oKizv5yzNWQVIB69M0gghWvv+pxRWdF7g0kp9AyCXhmX2MJ/IFJAAtbJ5lxfg /InvxcCZXDbGkf2uLaucFiQU2Ha5aolQsh9rWVQZTr0+bGR0FI2gnVVrNEIRR7//rUsU zDbQ== MIME-Version: 1.0 X-Received: by 10.112.180.137 with SMTP id do9mr22691545lbc.78.1441300190697; Thu, 03 Sep 2015 10:09:50 -0700 (PDT) Received: by 10.112.25.33 with HTTP; Thu, 3 Sep 2015 10:09:50 -0700 (PDT) In-Reply-To: <001a114d8cc0614127051e3b832d@google.com> References: <001a114d8cc0614127051e3b832d@google.com> Date: Thu, 3 Sep 2015 22:39:50 +0530 Message-ID: Subject: Re: Improve Organic Search Engine Ranking for Better Business From: Gilbert Rohde 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: Thu, 03 Sep 2015 17:09:53 -0000 Hello, How are you doing today? I haven=E2=80=99t heard anything from you about my= earlier proposal and curious to know the reason behind it. That e-mail just tells you the fraction of things my team does, our optimization process involves many other technical factors, which can be sent to you on your request. We can give you guaranteed keyword ranking results in a reasonable span of time-frame by building most valuable and high pagerank links pointing to your website to attract more organic traffic and to make your business profitable while paying less. We either get you the committed results or get you your money back. Feel free to write me back your doubts so that I can assist you. Sincerely, Gilbert Rohde On Thu, Aug 27, 2015 at 12:33 AM, Gilbert Rohde wrote: > Hello, > > > > My name is Gilbert, and I am an Internet Rankings Engineer. I scrolled > across your website *Freebsd.org* and performed a Google search for your > business keywords. Upon perusing in the first page, I saw that your websi= te > is currently not listed on the first page for your niche and popular > keyword (Product) search. > > > The fact is that your keyword ranking and Search Engine positioning is > easily correctable. There is no reason that your website cannot be ranked > in the top page for your best keywords based on your website's quality > content and solid structure. You have a very good website that is built t= o > convert when it can be found in the Google SERPs. > > > Your website needs high quality inbound anchor text links, and I can > help you with this. We will get you ranked for your targeted keyword in > Google as well as Bing and Yahoo. The key to this is adding new high > quality anchor text links from a myriad of websites. Link building is the > most important aspect of a website=E2=80=99s ranking and will produce the= business > and results you seek for *Freebsd.org*. > > > The types of the link are extremely important to achieve top rankings, > and I can create these quality links to your website. I can prove to you > how effective and risk free this system is. Nothing beats the good > performance and after you see what we are able to do for your business yo= u > will feel confident in the results we can achieve for your business. > > > I would like to hear from you regarding any questions you might have. > Please let me know if you wish to move further, so that we can schedule a > meeting (tomorrow onward) at a time convenient to you, without disturbing > your busy schedule. > > > With Best Regards, > > > Gilbert Rohde > > > > *DISCLAIMER:* This email and any attachments to it may be confidential > and are intended solely for the use of the individual to whom it is > addressed. If you are not the intended recipient of this email, you must > neither take any action based upon its contents, nor copy or show it to > anyone. > > Please contact the sender if you believe you have received this email in > error. > > To stop receiving emails from sender, reply to sender with Subject line - > =E2=80=9CREMOVE=E2=80=9D > > > -------------------------------------------------------------------------= --------------------------------------------------- > From owner-freebsd-questions@freebsd.org Fri Sep 4 02:14:13 2015 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 39FD79C9E2D for ; Fri, 4 Sep 2015 02:14:13 +0000 (UTC) (envelope-from henninb02@gmail.com) Received: from mail-yk0-x242.google.com (mail-yk0-x242.google.com [IPv6:2607:f8b0:4002:c07::242]) (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 F2C4CE5B for ; Fri, 4 Sep 2015 02:14:12 +0000 (UTC) (envelope-from henninb02@gmail.com) Received: by ykek143 with SMTP id k143so673285yke.2 for ; Thu, 03 Sep 2015 19:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=jxiG09DoeVqomrzgAw8Vx2oadLBM3rU94uafvXc9d6g=; b=HeC6gmPeR6DkUNeaZLR78VUrOE8xUvY88/AMLE0YUuUbzW1i2FHXy/A56ApLhWsv7R /gD+05Vup6dnGCkwSe14/Gj3tMmR0ZkiIFuRszOQQxxwc7nK+bwa8y2zNaN3FaL4oHdV 7ASZ+4FaBcIzPqEQDWFeWY+4OzERdPQ+9hwNlWHVm2UHF5ikEvObck0DOoKuzfj1Npvr l8AsKMOpPoPpMme9n8AKkdgNPMvBUpAVEPB3tuL9WbA6ZzI4dPcj9C11zh+i4PNnSu3U ZhyEYTve9wFeCInDYlMMNRWAYL09uk5IAfORDVlc4mkSilBX5aabJ5O+6AT89t4jucoy QRZQ== MIME-Version: 1.0 X-Received: by 10.13.214.138 with SMTP id y132mr1307995ywd.170.1441332852019; Thu, 03 Sep 2015 19:14:12 -0700 (PDT) Received: by 10.129.0.197 with HTTP; Thu, 3 Sep 2015 19:14:11 -0700 (PDT) Date: Thu, 3 Sep 2015 21:14:11 -0500 Message-ID: Subject: tap bridge for bhyve From: Brian Henning To: 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: Fri, 04 Sep 2015 02:14:13 -0000 Hello, I am having trouble setting up a tap bridge for bhyve I have referenced the instructions https://www.freebsd.org/doc/handbook/network-bridging.html. When i try go connect via my guest I get an IP address from my router (192.168.1.1), but cannot connect externally (ping my router, 192.168.1.1) from my guest OS. Below is my routing table and other details. Please let me know if you have any thoughts? Thanks! bitexplorer # netstat -nr Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.1.1 UGS alx0 127.0.0.1 link#2 UH lo0 192.168.1.0/24 link#1 U alx0 192.168.1.105 link#1 UHS lo0 192.168.1.110 link#3 UHS lo0 interfaces bridge0: flags=8843 metric 0 mtu 1500 ether 02:fe:4a:c8:9c:00 inet 192.168.1.110 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=9 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: tap1 flags=143 ifmaxaddr 0 port 4 priority 128 path cost 2000000 member: alx0 flags=143 ifmaxaddr 0 port 1 priority 128 path cost 2000000 From owner-freebsd-questions@freebsd.org Fri Sep 4 03:02:58 2015 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 DE54B9C932E; Fri, 4 Sep 2015 03:02:57 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from ftx-008-i898.relay.mailchannels.net (ftx-008-i898.relay.mailchannels.net [50.61.143.198]) by mx1.freebsd.org (Postfix) with ESMTP id 9FDBA3F3; Fri, 4 Sep 2015 03:02:54 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id EABAE120EBA; Fri, 4 Sep 2015 03:02:46 +0000 (UTC) Received: from ariel.hmnoc.net (ip-10-213-14-133.us-west-2.compute.internal [10.213.14.133]) by relay.mailchannels.net (Postfix) with ESMTPA id 813EF1201DE; Fri, 4 Sep 2015 03:02:32 +0000 (UTC) Received: from ariel.hmnoc.net (ariel.hmnoc.net [10.21.145.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.5.1); Fri, 04 Sep 2015 03:02:37 +0000 Received: from [179.181.60.41] (port=45697 helo=Papi) by ariel.hmnoc.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZXhGp-001DNe-35; Fri, 04 Sep 2015 00:02:31 -0300 Date: Fri, 4 Sep 2015 00:07:16 -0300 From: Mario Lobo To: emulation@FreeBSD.org, freebsd-questions@freebsd.org Subject: Virtualbox 4.3.30 strange problem Message-ID: <20150904000716.2c136d45@Papi> Organization: DigiArt X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: mlobo@digiart.art.br 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, 04 Sep 2015 03:02:58 -0000 Hi there. I have never had a problem with any virtualbox version. I don't know what I did or installed or configured, but now, the very same version that was working flawlessly, started doing this. I type VirtualBox on a terminal. No output comes out and the GUI never starts. Running truss on the process pid gives me this: 3186 1 S+ 0:00.33 /usr/local/lib/virtualbox/VirtualBox 3244 2 R+ 0:00.00 ps ax [~]>truss -p 3186 poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) After I ^C, VBoxSVC.log has this: VirtualBox XPCOM Server 4.3.30_OSE r101610 freebsd.amd64 (Sep 3 2015 22:49:04) release log 00:00:00.012252 main Log opened 2015-09-04T03:05:08.875605000Z 00:00:00.012255 main Build Type: release 00:00:00.012268 main OS Product: FreeBSD 00:00:00.012274 main OS Release: 10.2-STABLE 00:00:00.012279 main OS Version: FreeBSD 10.2-STABLE #0 r287433M: Thu Sep 3 21:55:46 BRT 2015 00:00:00.012285 main Host RAM: 16314MB total, 15800MB available 00:00:00.012288 main Executable: /usr/local/lib/virtualbox/VBoxSVC 00:00:00.012289 main Process ID: 42232 00:00:00.012290 main Package type: BSD_64BITS_GENERIC (OSE) Eventually, I can insist on it (^C, open new terminal, try again) until it ends up starting. I never need to do that before. Ever! This is my desktop and my loader.conf and sysctl.conf variables have been the same for a long time. I tried: rebuild VBox/Vbox kmod rebuild world/kernel update /usr/src; rebuild world/kernel rebuild VBox/Vbox kmod Nothing helps! This never happened before. uname -> FreeBSD 10.2-STABLE #0 r287433M: Thu Sep 3 amd64 [~]>kldstat Id Refs Address Size Name 1 44 0xffffffff80200000 1731ef0 kernel 2 2 0xffffffff81932000 ae018 linux.ko 3 1 0xffffffff819e1000 f958 aio.ko 4 1 0xffffffff819f1000 7710 amdtemp.ko 5 1 0xffffffff819f9000 15110 fuse.ko 6 1 0xffffffff81a0f000 2b10 amdsbwd.ko 7 1 0xffffffff81a12000 b62bf0 nvidia.ko 8 3 0xffffffff82575000 6d098 vboxdrv.ko 9 1 0xffffffff82821000 cb3c ext2fs.ko 10 1 0xffffffff8282e000 3b74 linprocfs.ko 11 1 0xffffffff82832000 165c fdescfs.ko 12 1 0xffffffff82834000 17f8 uhid.ko 13 1 0xffffffff82836000 2340 ums.ko 14 2 0xffffffff82839000 29b2 vboxnetflt.ko 15 2 0xffffffff8283c000 91c2 netgraph.ko 16 1 0xffffffff82846000 165c ng_ether.ko 17 1 0xffffffff82848000 3f64 vboxnetadp.ko virtualbox-ose-4.3.30 General-purpose full virtualizer for x86 hardware virtualbox-ose-kmod-4.3.30 VirtualBox kernel module for FreeBSD Would anyone have any suggestion on this? Thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." From owner-freebsd-questions@freebsd.org Fri Sep 4 11:44:41 2015 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 3B8C19CA1A1 for ; Fri, 4 Sep 2015 11:44:41 +0000 (UTC) (envelope-from info@servicesearch.co.uk) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B0AAAAB4 for ; Fri, 4 Sep 2015 11:44:40 +0000 (UTC) (envelope-from info@servicesearch.co.uk) Received: from cbs75042-hudd10-2-0-cust9.4-1.cable.virginm.net ([213.105.0.250]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MT82Y-1Z9BRB0Gbm-00S7Q5 for ; Fri, 04 Sep 2015 13:39:27 +0200 From: "ServiceSearch" Subject: The Brand New Trade Directory To: "freebsd-questions" MIME-Version: 1.0 Organization: ServiceSearch Date: Fri, 4 Sep 2015 12:39:25 +0100 Message-ID: <0M1od8-1YfJjx0t7y-00tnjl@mrelayeu.kundenserver.de> X-Provags-ID: V03:K0:ssXZi8XcCghlnttNOSfjaOp8EPuQoccQ3wMruPTSyy6KEVmoSOK XID8sqLTlVvI8P7+3QHzzZTrHpY6NqOp7xOtzCIroSlU9zAE1TrRP1EgnLiVukX1we/n8f8 pO+TwOjSJfkRNBlWRV78I1uC9s0/82f4GijLPOFTFTGkNuNA0xjf4hJvSeeTeJwDAN4VwgY KjlQrP1DaX0Wftbfs4hgA== X-UI-Out-Filterresults: notjunk:1;V01:K0:1x9Gu33wZ6M=:EQFF718vBL03KVYGVpoKeA bjzf3cLPT05kHOO+M0Jq5gDE3At6gwO0WvTyDadO3iwFxfc27xxYI8hSuYnCPujY3hhySCRzW pDhg/c6XYFzz30t1pyriig3L7cxtX1EHCNg2KSX0Iyo8te9jdVg207NzzloZ5IYMyyLzf9DGF AFCU91RmtvxXJcbwwH7BZT2oYYYocw1xcqditPO7ic8CnxBWoAU0LdfJO9r/SB627zM1C8baN 2XetIC5XQ+E+yGT/DB4RPaivGOiKMGo+JNxeAFPmP6uGbSDXpsYzmMfYbSOVM22BmA2q/jKA9 ehAOANem8FwALemXTcJ63soc+Ni9XwYZ831fx7NxhvVSimCyyXrxbU03jHv6LvDjEsMnCbL/a ZWCnumY/og1DLSZIOyr5ZHoiYa2NkQcBIAARyQ1vbDLiYG6MBzPddDIM6YXxYi9CRtjwWBc36 0oQBV8VLyY+8Gf1msgULZ01PuCCw5nZp6yGjtmAuEKm4mw5bfgOprD9kY7CXC3+GqZDaC0Ooq v0dqX8X/xpjQ+FYEcuw7TVVJdocKOLj+aeuOOs/3CgRGkEuExR7IQ5DgDWGn5UbTlosM6IiPS +zH82CKulMe00ex+5mSOPDE+stGbtFtHsUm2qUVy2X+4rF3nknuNMbnK/fUNvNUXwAH7voBgR w/RqPC3d5AXEyKhxptsems0AypydtPqmpyZO5T+wnVjSPu1iOIEkwAcrHO116QDH4KpJl2VoQ xrhmIVhjgTH9qWsQ7YlTu15CnYQp5wMXW0eCI72wsdZNQBF2M6vVuRO/URBXihkkp6/BCoeKg 1wbwdPCzUee8+B0Yw/Q/UwxkUTYMh61eXk4LuKJ08HlH0mP8QRoOcHqrms1/kVqF7v3BCO58M z9sjpLhdtPrdCV+C1waC8Sg26oWywQdAF0uH4HVrY= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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, 04 Sep 2015 11:44:41 -0000 =20 The Brand New Trade Directory for the building, design, property, maintenance, development and const= ruction industries. =20 Dear Customer BDC Magazine & PAD Magazine has joined forces to bring you the latest = directory for trade and B2B. Our aim is to bring you a truly up-to-dat= e directory of services, companies, associations and federations from = within the above industries. ServiceSearch is currently in a pre-launch stage and we are offering e= xclusive access to PAD Magazine and BDC Magazine readers to give you t= he first opportunity to list your company. Once the site has become po= pulated, you we see some great new features introduced and the search = function will become more comprehensive. Adding your company and services is quick and easy. You can list your = company totally free of charge and even list multiple companies. The f= irst 20 companies in each category will also be upgraded to a =E2=80=9C= featured listing=E2=80=9D at no cost. =20 =20 ServiceSearch is in association with This is an automated email from ServiceSearch.co.uk =20 Remove me from list From owner-freebsd-questions@freebsd.org Fri Sep 4 11:49:58 2015 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 8563F9CA402 for ; Fri, 4 Sep 2015 11:49:58 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46F7DCF3 for ; Fri, 4 Sep 2015 11:49:57 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by qgev79 with SMTP id v79so13396307qge.0 for ; Fri, 04 Sep 2015 04:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:organization:mime-version :content-type:content-transfer-encoding; bh=RC/Oy4vfYep5xd9YJV53Gm9IhAD/2Fy5ztKi80THfOE=; b=LwJywlWGRap8j2W9x/EDeLGxUT2vU9g7Pp8gi2rwlx2ICK9aL4jgmBiUh6k0fSodep dr95E135A3l3RsiPDPiVkllN8PirJTtEYjS7wdW275X0XpUHSSjZsd+enZw8J7RaRoTY +h50l1ZnB9zAuW6iGt+jCeojzlDiPizNDIHkk= 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:organization :mime-version:content-type:content-transfer-encoding; bh=RC/Oy4vfYep5xd9YJV53Gm9IhAD/2Fy5ztKi80THfOE=; b=kQYGxZO5wwAEZph6ixyV/5SxnqunrgjLVAHm1gg7dFLqg9wyFuTjiN9hJZV+vztc9F 3/ZIGJJGOCqrQwd/sZ4CKGVlMMPbV2+DslGeuH6govPTX+/LCuLoNhP81J/LK8CBUKWy tVoe83PNe0QIY1feAbdB6lLoN+OwClMptsBPIega0eRSKuTPG9C6To4jnh+uAFexVASB W99WgWdb4/z1BL58ntS6B8HfdaDH/RDacF2t1dbi/XHLDYRlHcIIElEKHkwdGc2lFpy7 ed22UJEmGQo5VXaLEd5jwSCnaRBNcKXxHW4SjwU1oSsLO202W2xip4K6u8aO+fE8pO0s Na/g== X-Gm-Message-State: ALoCoQl/uMyIDAFib0iq84/nKTbGt9jVZ8e+CC5nP0Tl+j0dKfQ4GzytY+h4u+rRPqTzzZOTzzv6 X-Received: by 10.140.201.79 with SMTP id w76mr4671893qha.82.1441367396985; Fri, 04 Sep 2015 04:49:56 -0700 (PDT) Received: from Papi ([191.33.16.73]) by smtp.gmail.com with ESMTPSA id y63sm1194579qgy.2.2015.09.04.04.49.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2015 04:49:56 -0700 (PDT) Date: Fri, 4 Sep 2015 08:54:38 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org, emulation@FreeBSD.org Subject: Virtualbox 4.3.30 strange problem Message-ID: <20150904085438.6857f7c6@Papi> Organization: BSD X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 04 Sep 2015 11:49:58 -0000 Hi there. I have never had a problem with any virtualbox version. I don't know what I did or installed or configured, but now, the very same version that was working flawlessly, started doing this. I type VirtualBox on a terminal. No output comes out and the GUI never starts. Running truss on the process pid gives me this: 3186 1 S+ 0:00.33 /usr/local/lib/virtualbox/VirtualBox 3244 2 R+ 0:00.00 ps ax [~]>truss -p 3186 poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) poll({16/POLLIN|POLLPRI},1,5000) = 0 (0x0) After I ^C, VBoxSVC.log has this: VirtualBox XPCOM Server 4.3.30_OSE r101610 freebsd.amd64 (Sep 3 2015 22:49:04) release log 00:00:00.012252 main Log opened 2015-09-04T03:05:08.875605000Z 00:00:00.012255 main Build Type: release 00:00:00.012268 main OS Product: FreeBSD 00:00:00.012274 main OS Release: 10.2-STABLE 00:00:00.012279 main OS Version: FreeBSD 10.2-STABLE #0 r287433M: Thu Sep 3 21:55:46 BRT 2015 00:00:00.012285 main Host RAM: 16314MB total, 15800MB available 00:00:00.012288 main Executable: /usr/local/lib/virtualbox/VBoxSVC 00:00:00.012289 main Process ID: 42232 00:00:00.012290 main Package type: BSD_64BITS_GENERIC (OSE) Eventually, I can insist on it (^C, open new terminal, try again) until it ends up starting. I never need to do that before. Ever! This is my desktop and my loader.conf and sysctl.conf variables have been the same for a long time. I tried: rebuild VBox/Vbox kmod rebuild world/kernel update /usr/src; rebuild world/kernel rebuild VBox/Vbox kmod Nothing helps! This never happened before. uname -> FreeBSD 10.2-STABLE #0 r287433M: Thu Sep 3 amd64 [~]>kldstat Id Refs Address Size Name 1 44 0xffffffff80200000 1731ef0 kernel 2 2 0xffffffff81932000 ae018 linux.ko 3 1 0xffffffff819e1000 f958 aio.ko 4 1 0xffffffff819f1000 7710 amdtemp.ko 5 1 0xffffffff819f9000 15110 fuse.ko 6 1 0xffffffff81a0f000 2b10 amdsbwd.ko 7 1 0xffffffff81a12000 b62bf0 nvidia.ko 8 3 0xffffffff82575000 6d098 vboxdrv.ko 9 1 0xffffffff82821000 cb3c ext2fs.ko 10 1 0xffffffff8282e000 3b74 linprocfs.ko 11 1 0xffffffff82832000 165c fdescfs.ko 12 1 0xffffffff82834000 17f8 uhid.ko 13 1 0xffffffff82836000 2340 ums.ko 14 2 0xffffffff82839000 29b2 vboxnetflt.ko 15 2 0xffffffff8283c000 91c2 netgraph.ko 16 1 0xffffffff82846000 165c ng_ether.ko 17 1 0xffffffff82848000 3f64 vboxnetadp.ko virtualbox-ose-4.3.30 General-purpose full virtualizer for x86 hardware virtualbox-ose-kmod-4.3.30 VirtualBox kernel module for FreeBSD Would anyone have any suggestion on this? Thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." From owner-freebsd-questions@freebsd.org Fri Sep 4 12:20:36 2015 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 E42D49C98E2; Fri, 4 Sep 2015 12:20:36 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A72701FEE; Fri, 4 Sep 2015 12:20:36 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t84CKW9J065419 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 4 Sep 2015 06:20:32 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t84CKVvw065416; Fri, 4 Sep 2015 06:20:32 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 4 Sep 2015 06:20:31 -0600 (MDT) From: Warren Block To: Mario Lobo cc: emulation@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: Virtualbox 4.3.30 strange problem In-Reply-To: <20150904000716.2c136d45@Papi> Message-ID: References: <20150904000716.2c136d45@Papi> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 04 Sep 2015 06:20:32 -0600 (MDT) 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, 04 Sep 2015 12:20:37 -0000 On Fri, 4 Sep 2015, Mario Lobo wrote: > Hi there. > > > I have never had a problem with any virtualbox version. > > I don't know what I did or installed or configured, but now, the very > same version that was working flawlessly, started doing this. > > I type VirtualBox on a terminal. No output comes out and the GUI never > starts. Running truss on the process pid gives me this: That sounds like the mislinking problem with curl and SSL a few months ago: https://lists.freebsd.org/pipermail/freebsd-emulation/2015-March/012390.html https://lists.freebsd.org/pipermail/freebsd-emulation/2015-March/012402.html I see from that thread that you did not have the problem then, but maybe it found you this time. Setting GSSAPI_NONE=on in ftp/curl as shown in the second link above is the workaround. From owner-freebsd-questions@freebsd.org Fri Sep 4 12:50:53 2015 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 77F809CA770 for ; Fri, 4 Sep 2015 12:50:53 +0000 (UTC) (envelope-from grigorian@theconcept.ru) Received: from mail.theconcept.ru (mail.theconcept.ru [62.141.91.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.theconcept.ru", Issuer "Concept Issuing CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C397B38C for ; Fri, 4 Sep 2015 12:50:52 +0000 (UTC) (envelope-from grigorian@theconcept.ru) From: Sergey Grigorian To: Mario Lobo CC: Mike Tancsa , "freebsd-questions@freebsd.org" Subject: RE: 10.2-RELEASE not forwarding packets/NATing with pf Thread-Topic: 10.2-RELEASE not forwarding packets/NATing with pf Thread-Index: AdDmPpAd8dAIyZkgTd2lE3h5r9y0Ev//6dCAgAA7QM7//9oVAIABonF6 Date: Fri, 4 Sep 2015 12:49:43 +0000 Message-ID: <5C137CAA56211A448C4F58E75EFB6266C285E65E@EXCHANGE.lan.theconcept.ru> References: <5C137CAA56211A448C4F58E75EFB6266C285B582@EXCHANGE.lan.theconcept.ru> <55E84B51.7070103@sentex.net> <5C137CAA56211A448C4F58E75EFB6266C285E5CC@EXCHANGE.lan.theconcept.ru>, <20150903114614.17c98a13@Papi> In-Reply-To: <20150903114614.17c98a13@Papi> Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: internally-submitted e-mail X-KSE-ServerInfo: GATEWAY.lan.theconcept.ru, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 12:50:53 -0000 > > > > And here's /etc/sysctl.conf: > > > > > > > > net.inet.ip.forwarding=3D1 > > > > > > > > > Hi, > > > This does not work the way it might have in the past. Make > > > sure you set gateway_enable=3D"YES" > > > in /etc/rc.conf > > > otherwise, devd and /etc/rc.d/routing will reset > > > net.inet.ip.forwarding to 0 on certain network events. > > > > > > ---Mike > > > > Mike, > > thanks for your suggestion. > > I have gateway_enable=3D"YES" set in /etc/rc.conf > > Is there anything else I miss? > > > > Here's the /etc/rc.conf itself: > > defaultrouter=3D172.16.0.1 > > ifconfig_hn0=3D"inet 172.16.0.3 netmask 255.255.255.0" > > ifconfig_hn0_alias0=3D"inet 172.16.0.4 netmask 255.255.255.255" > > ifconfig_hn1=3D"inet 172.16.1.1 netmask 255.255.255.0" > > ifconfig_hn1_alias0=3D"inet 172.16.1.7 netmask 255.255.255.255" > > gateway_enable=3D"YES" > > pf_enable=3D"YES" > > pflog_enable=3D"YES" > > sshd_enable=3D"YES" > > ntpd_enable=3D"YES" > > ntpd_sync_on_start=3D"YES" > > cron_enable=3D"YES" > > cron_flags=3D"-j 60 -J 60" > > syslogd_flags=3D"-ss" > > sendmail_enable=3D"NO" > > sendmail_submit_enable=3D"NO" > > sendmail_outbound_enable=3D"NO" > > sendmail_msp_queue_enable=3D"NO" > > accounting_enable=3D"YES" > > tcp_drop_synfin=3D"YES" > > icmp_drop_redirect=3D"YES" > > clear_tmp_enable=3D"YES" =20 > I know this sounds obvious but do you have >=20 > device pf > device pflog >=20 > in your kernel? or pf.ko loaded ? Mario, I load pf as a module, so pf.ko is loaded. This box runs a stock RELEASE ke= rnel. What confuses me is that this setup works perfectly on 10.1, but stops work= ing the second I boot into the 10.2-RELEASE-p2 kernel.= From owner-freebsd-questions@freebsd.org Fri Sep 4 13:04:55 2015 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 BA8509CAE3C for ; Fri, 4 Sep 2015 13:04:55 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 84BACFB9 for ; Fri, 4 Sep 2015 13:04:55 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.15.2/8.15.2) with ESMTP id t84D4rCr075870; Fri, 4 Sep 2015 09:04:54 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: 10.2-RELEASE not forwarding packets/NATing with pf To: Sergey Grigorian , Mario Lobo References: <5C137CAA56211A448C4F58E75EFB6266C285B582@EXCHANGE.lan.theconcept.ru> <55E84B51.7070103@sentex.net> <5C137CAA56211A448C4F58E75EFB6266C285E5CC@EXCHANGE.lan.theconcept.ru> <20150903114614.17c98a13@Papi> <5C137CAA56211A448C4F58E75EFB6266C285E65E@EXCHANGE.lan.theconcept.ru> Cc: "freebsd-questions@freebsd.org" From: Mike Tancsa X-Enigmail-Draft-Status: N1110 Organization: Sentex Communications Message-ID: <55E996E9.30402@sentex.net> Date: Fri, 4 Sep 2015 09:04:41 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5C137CAA56211A448C4F58E75EFB6266C285E65E@EXCHANGE.lan.theconcept.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.75 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, 04 Sep 2015 13:04:55 -0000 On 9/4/2015 8:49 AM, Sergey Grigorian wrote: > > Mario, > I load pf as a module, so pf.ko is loaded. This box runs a stock RELEASE kernel. > What confuses me is that this setup works perfectly on 10.1, but stops working the second I boot into the 10.2-RELEASE-p2 kernel. Any possibility of mismatched userland and kernel ? I have a couple of RELENG_10 boxes doing pf and forwarding just fine. My home router is 10.2-STABLE r287218 for example. also, when its not working are you sure its an issue of forwarding not working, or potentially its something to do with just pf ? when its broken, what does net.inet.ip.forwarding show ? Can you test with the most basic of pf rules and see if its something to do with pf's rules being different ? What ethernet adapter are you using ? I see you have 'hn' in your config and I am not familiar with that. ---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 Fri Sep 4 16:48:25 2015 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 F014A9CBEA3; Fri, 4 Sep 2015 16:48:25 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from ar-005-i205.relay.mailchannels.net (ar-005-i205.relay.mailchannels.net [162.253.144.87]) (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 C151ACCA; Fri, 4 Sep 2015 16:48:21 +0000 (UTC) (envelope-from mlobo@digiart.art.br) X-Sender-Id: hostmach|x-authuser|mlobo@digiart.art.br Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BB09960C4F; Fri, 4 Sep 2015 13:19:36 +0000 (UTC) Received: from ariel.hmnoc.net (ip-10-229-11-165.us-west-2.compute.internal [10.229.11.165]) by relay.mailchannels.net (Postfix) with ESMTPA id D94D360670; Fri, 4 Sep 2015 13:19:35 +0000 (UTC) X-Sender-Id: hostmach|x-authuser|mlobo@digiart.art.br Received: from ariel.hmnoc.net ([TEMPUNAVAIL]. [10.45.8.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.5.1); Fri, 04 Sep 2015 13:19:36 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: hostmach|x-authuser|mlobo@digiart.art.br X-MailChannels-Auth-Id: hostmach X-MC-Loop-Signature: 1441372776236:1312265341 X-MC-Ingress-Time: 1441372776236 Received: from [191.33.16.73] (port=12657 helo=Papi) by ariel.hmnoc.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZXqtt-003Wyu-IF; Fri, 04 Sep 2015 10:19:29 -0300 Date: Fri, 4 Sep 2015 10:24:14 -0300 From: Mario Lobo To: Warren Block Cc: emulation@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: Virtualbox 4.3.30 strange problem [SOLVED] Message-ID: <20150904102414.4886762e@Papi> In-Reply-To: References: <20150904000716.2c136d45@Papi> Organization: DigiArt X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: mlobo@digiart.art.br 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, 04 Sep 2015 16:48:26 -0000 On Fri, 4 Sep 2015 06:20:31 -0600 (MDT) Warren Block wrote: > On Fri, 4 Sep 2015, Mario Lobo wrote: > > > Hi there. > > > > > > I have never had a problem with any virtualbox version. > > > > I don't know what I did or installed or configured, but now, the > > very same version that was working flawlessly, started doing this. > > > > I type VirtualBox on a terminal. No output comes out and the GUI > > never starts. Running truss on the process pid gives me this: > > That sounds like the mislinking problem with curl and SSL a few > months ago: > > https://lists.freebsd.org/pipermail/freebsd-emulation/2015-March/012390.html > https://lists.freebsd.org/pipermail/freebsd-emulation/2015-March/012402.html > > I see from that thread that you did not have the problem then, but > maybe it found you this time. > > Setting GSSAPI_NONE=on in ftp/curl as shown in the second link above > is the workaround. You nailed it! Thanks Warren ! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." From owner-freebsd-questions@freebsd.org Fri Sep 4 17:40:03 2015 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 6C9099CB7E7 for ; Fri, 4 Sep 2015 17:40:03 +0000 (UTC) (envelope-from starkbeats@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB3201AD8 for ; Fri, 4 Sep 2015 17:40:02 +0000 (UTC) (envelope-from starkbeats@gmail.com) Received: by lbpo4 with SMTP id o4so15244753lbp.2 for ; Fri, 04 Sep 2015 10:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=jUhqwKAIaQiGswTFGW21OPNVTxkr88u9WlWY2HqKL8I=; b=FU81zUTXPpIwtAnsvG+VV+gbxOLe+tqv/mbk0Vz5V7WCmdH3pem5ZgM7djY8AHH+aC hMIhJ/n5IBl4DlMOwHG6sKbxTpavBexHge58E9fB0WhHU6UbsU3S9d8o1kn9AlW/Bkd5 KlyRlicA7iKx6tgUMBO5Rkf5JF588eQmRuMc9zue+6onFFWZ15DmwZvNr9auuj/MTn44 wFvVsu+/JRaehtLsOAk5bFznqyMOrItRCnzxcL0QcV2F2IcGnyaGDTuuxso9aZm03XiN +JXaZ0ePXdpV/GuuUsp0F8QyODnuh/WnLYpc9x1QcfjftrNJzp7AMxtAuINvzGngNx4q BzVw== X-Received: by 10.152.5.225 with SMTP id v1mr1562980lav.0.1441388401015; Fri, 04 Sep 2015 10:40:01 -0700 (PDT) Received: from [192.168.0.2] (c83-251-248-85.bredband.comhem.se. [83.251.248.85]) by smtp.gmail.com with ESMTPSA id ut5sm726561lbc.33.2015.09.04.10.40.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Sep 2015 10:40:00 -0700 (PDT) From: Fredrik Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Gettin xfce4 up and running Date: Fri, 4 Sep 2015 19:42:20 +0200 Message-Id: <39F1FBEE-EDA8-499A-99D2-BB8548A890B3@gmail.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) 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, 04 Sep 2015 17:40:03 -0000 Hello, I'm trying to get xfce4 to work after reading the instructions [1]. I = have tried the packet, then install from source but both methods leave = me without a startx or startxfce4 command. I have no idea what do to = next, hopefully someone can help me. [1] = https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html= From owner-freebsd-questions@freebsd.org Fri Sep 4 18:02:12 2015 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 D42A99CA0B7 for ; Fri, 4 Sep 2015 18:02:12 +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 9E15097F for ; Fri, 4 Sep 2015 18:02:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 4A14224D2C; Fri, 4 Sep 2015 20:02:04 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t84I23Zv003141; Fri, 4 Sep 2015 20:02:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Sep 2015 20:02:03 +0200 From: Polytropon To: Fredrik Cc: freebsd-questions@freebsd.org Subject: Re: Gettin xfce4 up and running Message-Id: <20150904200203.34b1eb68.freebsd@edvax.de> In-Reply-To: <39F1FBEE-EDA8-499A-99D2-BB8548A890B3@gmail.com> References: <39F1FBEE-EDA8-499A-99D2-BB8548A890B3@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=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, 04 Sep 2015 18:02:12 -0000 On Fri, 4 Sep 2015 19:42:20 +0200, Fredrik wrote: > Hello, > > I'm trying to get xfce4 to work after reading the instructions [1]. > I have tried the packet, then install from source but both methods > leave me without a startx or startxfce4 command. I have no idea what > do to next, hopefully someone can help me. > > [1] https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html The "startx" command is provided by X, and "startxfce4" originates from Xfce. You need to create .xinitrc (or .xsession) with the "exec startxfce4" command, then % startx will start X and run Xfce. YOu can see this in 5.7.3. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Sep 4 18:03:35 2015 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 474349CA154 for ; Fri, 4 Sep 2015 18:03:35 +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 27453A37 for ; Fri, 4 Sep 2015 18:03:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 2B6A233C49; Fri, 4 Sep 2015 14:03:34 -0400 (EDT) From: Lowell Gilbert To: Fredrik Cc: freebsd-questions@freebsd.org Subject: Re: Gettin xfce4 up and running References: <39F1FBEE-EDA8-499A-99D2-BB8548A890B3@gmail.com> Date: Fri, 04 Sep 2015 14:03:34 -0400 In-Reply-To: <39F1FBEE-EDA8-499A-99D2-BB8548A890B3@gmail.com> (Fredrik's message of "Fri, 4 Sep 2015 19:42:20 +0200") Message-ID: <44613qkqo9.fsf@be-well.ilk.org> 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: Fri, 04 Sep 2015 18:03:35 -0000 Fredrik writes: > I'm trying to get xfce4 to work after reading the instructions [1]. I > have tried the packet, then install from source but both methods leave > me without a startx or startxfce4 command. I have no idea what do to > next, hopefully someone can help me. Those directions assume that you have installed x11/xorg as well. From owner-freebsd-questions@freebsd.org Fri Sep 4 21:20:03 2015 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 4FC599CB0A9 for ; Fri, 4 Sep 2015 21:20:03 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.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 3F8A69B2 for ; Fri, 4 Sep 2015 21:20:03 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3E86E9CB0A8; Fri, 4 Sep 2015 21:20:03 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E2569CB0A7 for ; Fri, 4 Sep 2015 21:20:03 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from host203.r-bonomi.com (host203.r-bonomi.com [204.87.227.203]) by mx1.freebsd.org (Postfix) with ESMTP id DE84A9B1 for ; Fri, 4 Sep 2015 21:20:02 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: (from root@localhost) by host203.r-bonomi.com (8.14.9/8.14.7) id t84L0NL0087182 for questions@freebsd.org; Fri, 4 Sep 2015 16:00:23 -0500 (CDT) (envelope-from bonomi) Date: Fri, 4 Sep 2015 16:00:23 -0500 (CDT) From: Robert Bonomi Message-Id: <201509042100.t84L0NL0087182@host203.r-bonomi.com> To: questions@freebsd.org Subject: gmplayer question 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, 04 Sep 2015 21:20:03 -0000 I'm running gmplayer on a big full HD display. works like a charm _but_ the font uset for the various pop-up windows (settings, playlists, etc.) is TINY on that screen. anybody got a clue as to what X resource I can use to adjust the font size for it? From owner-freebsd-questions@freebsd.org Fri Sep 4 21:42:25 2015 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 563D49CBC1C for ; Fri, 4 Sep 2015 21:42:25 +0000 (UTC) (envelope-from starkbeats@gmail.com) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6A5A1041 for ; Fri, 4 Sep 2015 21:42:24 +0000 (UTC) (envelope-from starkbeats@gmail.com) Received: by lbbmp1 with SMTP id mp1so18072278lbb.1 for ; Fri, 04 Sep 2015 14:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=KtY19DeegDMJBkmNQnC9UX1tcrK87tkJvuxqPibfXdw=; b=keaPzqrHyKv6iBHpJi+DkBJhOKKNNXIG5ULO3E6BFweCHb1vjlT8ylVTIAfz6jFNei It63r99J/J5yKK20rGzdCmNDfr4MWgowtIzW7Ofxujir6Ut7oGOiUkOlTAyloUzbUBL9 uIvLs9CC8GZ9X7eSSMFGM0dQ/5FDkWrFYHxC4qP2KeMv/s73MlYS4STPXTPxaSmKQIi5 WTrw7r68jPZWszgnOPonLsvIKMp2DCbD1tTCJn/BTASwxV6839wWNVp6lUNk0Qd3bp3C 4gH7NfNyFLBRpPjugmBpDDKEMiGPjlbIdF/4cI3ExiuMxE3GgIKOST/EAFvfDHxdqQT/ ItZA== X-Received: by 10.152.8.233 with SMTP id u9mr5595750laa.8.1441402942985; Fri, 04 Sep 2015 14:42:22 -0700 (PDT) Received: from [192.168.0.2] (c83-251-248-85.bredband.comhem.se. [83.251.248.85]) by smtp.gmail.com with ESMTPSA id jc10sm879940lac.12.2015.09.04.14.42.22 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Sep 2015 14:42:22 -0700 (PDT) Subject: Re: Gettin xfce4 up and running Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Fredrik In-Reply-To: <44613qkqo9.fsf@be-well.ilk.org> Date: Fri, 4 Sep 2015 23:44:53 +0200 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <328E98DC-9BCE-4DD5-AF94-E8F254BCC958@gmail.com> References: <39F1FBEE-EDA8-499A-99D2-BB8548A890B3@gmail.com> <44613qkqo9.fsf@be-well.ilk.org> To: Lowell Gilbert X-Mailer: Apple Mail (2.1085) 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, 04 Sep 2015 21:42:25 -0000 Thanks both of you, I got it working now. I have no excuse other than = the fact that Google took me directly to the xfce page in the book. ;-) Best 4 sep 2015 kl. 20.03 skrev Lowell Gilbert: > Fredrik writes: >=20 >> I'm trying to get xfce4 to work after reading the instructions [1]. I >> have tried the packet, then install from source but both methods = leave >> me without a startx or startxfce4 command. I have no idea what do to >> next, hopefully someone can help me. >=20 > Those directions assume that you have installed x11/xorg as well. From owner-freebsd-questions@freebsd.org Fri Sep 4 22:03:19 2015 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 2D44E9CA3DE for ; Fri, 4 Sep 2015 22:03:19 +0000 (UTC) (envelope-from markham_breitbach@ssimicro.com) Received: from smail.ssimicro.com (smail.ssimicro.com [64.247.129.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smail.ssimicro.com", Issuer "test CA 1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E14D918E6 for ; Fri, 4 Sep 2015 22:03:18 +0000 (UTC) (envelope-from markham_breitbach@ssimicro.com) Received: from markham.ssimicro.com (markham.ssimicro.com [64.247.130.99]) (authenticated bits=0) by smail.ssimicro.com (8.15.1/8.14.9) with ESMTPSA id t84Lohlv090920 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 4 Sep 2015 15:50:43 -0600 (MDT) (envelope-from markham_breitbach@ssimicro.com) To: FreeBSD Questions From: markham_breitbach@ssimicro.com Subject: LD_PRELOAD X-Enigmail-Draft-Status: N1110 Message-ID: <55EA1251.4020704@ssimicro.com> Date: Fri, 4 Sep 2015 15:51:13 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 22:03:19 -0000 I am trying to configure the security/snoopy package as a solution for logging shell activity within jails (I'm also open to alternative suggestions!). Snoopy works as an execve() wrapper that basically just logs and passes through the calls. For it to work though, I need to set the LD_PRELOAD variable in the environment to force the linker to load snoopy.so first, presumably so the snoopy execve wrapper is found before the libc version. If I set LD_PRELOAD=3D/usr/local/lib/snoopy.so on the command line, and then launch a new shell, events get logged as expected, but I need to figure out how to make that happen by default for everything in the jail.= Thanks, -Markham From owner-freebsd-questions@freebsd.org Sat Sep 5 00:44:38 2015 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 381619CAA45 for ; Sat, 5 Sep 2015 00:44:38 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 23D191AA5 for ; Sat, 5 Sep 2015 00:44:36 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 4BF723ADE4 for ; Fri, 4 Sep 2015 17:34:36 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Partitioning for a new system -- Third level mount point? Date: Fri, 04 Sep 2015 17:34:36 -0700 Message-ID: <82702.1441413276@server1.tristatelogic.com> 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, 05 Sep 2015 00:44:38 -0000 I'm setiing up a new system to run FreeBSD 10.2, and in the process of doing a ``manual'' initial partitioning of the main drive for this new system, I attempted to create a partition for which I specified a mount point of: /var/ftp/private (I want this to be a partition, all of its own, so that the actual maximum disk space for it will be hard-limited.) Anyway, I was shocked to see... after doing the create step... that this new partition is listed in the partitions list as having a mount point of just: /var/ftp which is definitely not what I wanted. Did I do something wrong, or is the install-time ``manual'' partitioning tool actually limiting the number of pathname components for the mount points to just two? If so, isn't that a bit... um... arbitrary? From owner-freebsd-questions@freebsd.org Sat Sep 5 01:19:35 2015 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 30C719CBA00 for ; Sat, 5 Sep 2015 01:19:35 +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 ED3CBC46 for ; Sat, 5 Sep 2015 01:19:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id CA5953CDC8; Sat, 5 Sep 2015 03:19:25 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t851JP1Q006345; Sat, 5 Sep 2015 03:19:25 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 5 Sep 2015 03:19:25 +0200 From: Polytropon To: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Subject: Re: Partitioning for a new system -- Third level mount point? Message-Id: <20150905031925.fd21458a.freebsd@edvax.de> In-Reply-To: <82702.1441413276@server1.tristatelogic.com> References: <82702.1441413276@server1.tristatelogic.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 01:19:35 -0000 On Fri, 04 Sep 2015 17:34:36 -0700, Ronald F. Guilmette wrote: > I'm setiing up a new system to run FreeBSD 10.2, and in the process > of doing a ``manual'' initial partitioning of the main drive for > this new system, I attempted to create a partition for which I > specified a mount point of: > > /var/ftp/private > > (I want this to be a partition, all of its own, so that the actual > maximum disk space for it will be hard-limited.) And you can also specify the "noexec" mount option to increase security. :-) > Anyway, I was shocked to see... after doing the create step... that > this new partition is listed in the partitions list as having a mount > point of just: > > /var/ftp > > which is definitely not what I wanted. Maybe this happened because the desired mountpoint /var/ftp/private didn't exist yet, so /var/ftp was being used? However, if you create /var/ftp/private and then edit the entry in /etc/fstab for that partition, things should work as inteded. > Did I do something wrong, or is the install-time ``manual'' partitioning > tool actually limiting the number of pathname components for the mount > points to just two? That would sound stupid, wouldn't it? It's rather imaginable that the case of "existing mount point fallback" is to be assumed, as explained above. > If so, isn't that a bit... um... arbitrary? At least an error message should have been issued. A "silent fallback" which "guesses" what the user might have wanted usually is not a good idea (even though it's often seen "fashionable" to do so today). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Sep 5 04:00:25 2015 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 96DDC9CA945 for ; Sat, 5 Sep 2015 04:00:25 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 7DC45FCA for ; Sat, 5 Sep 2015 04:00:25 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id D6E083AEF8; Fri, 4 Sep 2015 21:00:23 -0700 (PDT) From: "Ronald F. Guilmette" To: Polytropon cc: freebsd-questions@freebsd.org Subject: Re: Partitioning for a new system -- Third level mount point? In-Reply-To: <20150905031925.fd21458a.freebsd@edvax.de> Date: Fri, 04 Sep 2015 21:00:23 -0700 Message-ID: <83718.1441425623@server1.tristatelogic.com> 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, 05 Sep 2015 04:00:25 -0000 In message <20150905031925.fd21458a.freebsd@edvax.de>, you wrote: >On Fri, 04 Sep 2015 17:34:36 -0700, Ronald F. Guilmette wrote: >> I'm setiing up a new system to run FreeBSD 10.2, and in the process >> of doing a ``manual'' initial partitioning of the main drive for >> this new system, I attempted to create a partition for which I >> specified a mount point of: >> >> /var/ftp/private >>.. >> Anyway, I was shocked to see... after doing the create step... that >> this new partition is listed in the partitions list as having a mount >> point of just: >> >> /var/ftp >> >> which is definitely not what I wanted. > >Maybe this happened because the desired mountpoint /var/ftp/private >didn't exist yet, so /var/ftp was being used? AHHHHHHH! Yes. Perhaps that is the explanation. However please note that the directory /var/ftp did not exist yet at the time that I was setiing up my partitions, and yet the partitioning tool graciously and automagically inferred (correctly) that I wanted to have that created for me... since I clearly planned to use it as a mount point. (And since I elected... because of the problem in using /var/ftp/private... to make /var/ftp a partition instead, I _can_ say with some certainty that the install-time manual partitioning tool did in fact cause that (/var/ftp) to be created... or at any rate, something did. So anyway, I do believe that I will file a PR on this. I think that the partitioning tool should be gracious in all cases, and should create directories, as necessary (and however many levels are necessary) in order to accomodate the user's stated preferences with respect to mount points of partitions that are being created. >However, if you create /var/ftp/private and then edit the entry >in /etc/fstab for that partition, things should work as inteded. Too tedious. (As I get older, and closer to death, I am more inclined to use GUIs rather than command line tools. It's not that I'm lazy. It's that I'm in a hurry.) >> Did I do something wrong, or is the install-time ``manual'' partitioning >> tool actually limiting the number of pathname components for the mount >> points to just two? >... >> If so, isn't that a bit... um... arbitrary? > >At least an error message should have been issued. A "silent >fallback" which "guesses" what the user might have wanted usually >is not a good idea I can only agree. Regards, rfg From owner-freebsd-questions@freebsd.org Sat Sep 5 04:09:38 2015 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 4F7CD9CAF0A for ; Sat, 5 Sep 2015 04:09:38 +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 E71E1134A for ; Sat, 5 Sep 2015 04:09:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 8B6E53CFD2; Sat, 5 Sep 2015 06:09:35 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8549Z8m007167; Sat, 5 Sep 2015 06:09:35 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 5 Sep 2015 06:09:35 +0200 From: Polytropon To: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Subject: Re: Partitioning for a new system -- Third level mount point? Message-Id: <20150905060935.edfe52b9.freebsd@edvax.de> In-Reply-To: <83718.1441425623@server1.tristatelogic.com> References: <20150905031925.fd21458a.freebsd@edvax.de> <83718.1441425623@server1.tristatelogic.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 04:09:38 -0000 On Fri, 04 Sep 2015 21:00:23 -0700, Ronald F. Guilmette wrote: > > In message <20150905031925.fd21458a.freebsd@edvax.de>, you wrote: > > >On Fri, 04 Sep 2015 17:34:36 -0700, Ronald F. Guilmette wrote: > >> I'm setiing up a new system to run FreeBSD 10.2, and in the process > >> of doing a ``manual'' initial partitioning of the main drive for > >> this new system, I attempted to create a partition for which I > >> specified a mount point of: > >> > >> /var/ftp/private > >>.. > >> Anyway, I was shocked to see... after doing the create step... that > >> this new partition is listed in the partitions list as having a mount > >> point of just: > >> > >> /var/ftp > >> > >> which is definitely not what I wanted. > > > >Maybe this happened because the desired mountpoint /var/ftp/private > >didn't exist yet, so /var/ftp was being used? > > AHHHHHHH! Yes. Perhaps that is the explanation. > > However please note that the directory /var/ftp did not exist yet at the > time that I was setiing up my partitions, and yet the partitioning tool > graciously and automagically inferred (correctly) that I wanted to have > that created for me... since I clearly planned to use it as a mount point. > (And since I elected... because of the problem in using /var/ftp/private... > to make /var/ftp a partition instead, I _can_ say with some certainty > that the install-time manual partitioning tool did in fact cause that > (/var/ftp) to be created... or at any rate, something did. Another guess: The directory /var/ftp is part of the installation process, whereas /var/ftp/private is not. Maybe the installer did rely on what would be created when the directory structure is going to be initialized? Just a guess, I'm not entirely sure. I didn't see /var/ftp in the corresponding /etc/mtree/BSD.var.dist, but I think I remember that ye olde installer (sysinstall) did create that directory when you selected "FTP" as a service; this process would also create the sub directories etc/, incoming/, and pub/ in /var/ftp and apply the required permissions. > So anyway, I do believe that I will file a PR on this. I think that the > partitioning tool should be gracious in all cases, and should create > directories, as necessary (and however many levels are necessary) in > order to accomodate the user's stated preferences with respect to mount > points of partitions that are being created. That's correct, but it should _notify_ the user about anything nonstandard. A custom directory that would not be created by the installation would be such a thing not to do silently. > >However, if you create /var/ftp/private and then edit the entry > >in /etc/fstab for that partition, things should work as inteded. > > Too tedious. > > (As I get older, and closer to death, I am more inclined to use GUIs > rather than command line tools. It's not that I'm lazy. It's that > I'm in a hurry.) Especially that's why you should use the command line - it's commonly a much faster (and more direct) approach for such kind of tasks. Create a directory, edit a file - both things are usually faster done with good CLI or text mode tools (mkdir, and your favourite text editor). # mkdir /v[tab]f[tab]private[enter] # vi /etc/fstab /ftp[enter] [i] ... do the editing ... [esc] :wq[enter] I would hesitate to descrive the pictures and the movements to perform the same task. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Sep 5 13:29:06 2015 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 D2EC49CB8DC for ; Sat, 5 Sep 2015 13:29:06 +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 8D564DC1 for ; Sat, 5 Sep 2015 13:29:06 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t85DSwM1028071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 5 Sep 2015 08:28:59 -0500 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: GCC question Message-ID: <55EAEE19.2060807@hiwaay.net> Date: Sat, 5 Sep 2015 08:34:27 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.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: Sat, 05 Sep 2015 13:29:06 -0000 I have some code which was originally SGI native, then moved to Linux (FC14 x86_64 & CentOS 5). I am now interested in getting it going under FreeBSD 9.3R. Due to differences in system header file includes, I need to tweek some of my app-specific header files. I have poked around the (*COPIOUS* !!!!) GCC man page & I couldn't find (or missed) either how to get it to regurgitate its default compiler-defines or a tabulation of those defines, so I can use them to conditionally include system headers in my own header files. Where is this info :-) ? TIA & have a nice (long) weekend. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sat Sep 5 14:16:05 2015 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 EF3B89CAF52 for ; Sat, 5 Sep 2015 14:16:04 +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 C0F839B9 for ; Sat, 5 Sep 2015 14:16:04 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t85EG2Wg022780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 5 Sep 2015 09:16:03 -0500 Subject: Re: GCC question To: FreeBSD Questions !!!! References: <55EAEE19.2060807@hiwaay.net> From: "William A. Mahaffey III" Message-ID: <55EAF922.2020906@hiwaay.net> Date: Sat, 5 Sep 2015 09:21:32 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55EAEE19.2060807@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 14:16:05 -0000 On 09/05/15 08:33, William A. Mahaffey III wrote: > > > I have some code which was originally SGI native, then moved to Linux > (FC14 x86_64 & CentOS 5). I am now interested in getting it going > under FreeBSD 9.3R. Due to differences in system header file includes, > I need to tweek some of my app-specific header files. I have poked > around the (*COPIOUS* !!!!) GCC man page & I couldn't find (or missed) > either how to get it to regurgitate its default compiler-defines or a > tabulation of those defines, so I can use them to conditionally > include system headers in my own header files. Where is this info :-) > ? TIA & have a nice (long) weekend. > > To provide a bit of context: [wam@kabini1, TEST, 9:11:44am] 522 % wc -l ../include/stdc.h 724 ../include/stdc.h [wam@kabini1, TEST, 9:11:48am] 523 % head -24 ../include/stdc.h #ifndef _STD_C_H_ #define _STD_C_H_ #ifdef __cplusplus // some useful I/O coding for C++ .... using namespace std; // this is necessary to avoid "error: 'ostream' does not name a type" error :-/ .... #include #endif // __cplusplus #include #include #include #ifdef __linux__ #include #else #include // typedef uint :-) .... #endif #include #include #include "Epsilon.h" // defines *ALL* epsilons (EPS, EPS2, etc.) used by CAD .... #include "bits.h" [wam@kabini1, TEST, 9:11:50am] 524 % wc -l fpbl.c 320 fpbl.c [wam@kabini1, TEST, 9:11:53am] 525 % head -10 fpbl.c #include "stdc.h" #include "Precis.h" #undef SIZE #define SIZE 50 [wam@kabini1, TEST, 9:11:55am] 526 % gcc -o fpbl -I ../include/ fpbl.c /tmp//ccgFw6d7.o: In function `setupGrid': fpbl.c:(.text+0x21b): undefined reference to `pow' /tmp//ccgFw6d7.o: In function `initS': fpbl.c:(.text+0x32f): undefined reference to `log' /tmp//ccgFw6d7.o: In function `initUtau': fpbl.c:(.text+0x4e4): undefined reference to `log' /tmp//ccgFw6d7.o: In function `setupUz': fpbl.c:(.text+0x833): undefined reference to `log' /tmp//ccgFw6d7.o: In function `setupEP1': fpbl.c:(.text+0x95f): undefined reference to `pow' /tmp//ccgFw6d7.o: In function `main': fpbl.c:(.text+0xf8c): undefined reference to `log' fpbl.c:(.text+0xfee): undefined reference to `log' [wam@kabini1, TEST, 9:11:59am] 527 % i.e. my little test program includes 1 of my specific header files, which in turn includes , which defines pow, log, etc. Since gcc apparently only reports some random text location, I am having trouble figuring out WTF is going on here. I normnally compile this code on a CentOS 5 VM on another box using the Intel compiler suite, version: Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 12.0.3.174 Build 20110309 Copyright (C) 1985-2011 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY I haven't used GCC in years. I determined (some years back) that the Intel compiler produces noticably better code (executes 25 - 50% faster than GCC-compiled code, gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)) & is otherwise interoperable w/ GCC, so I have been using it ever since. BTW: [wam@kabini1, TEST, 9:15:45am] 527 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [wam@kabini1, TEST, 9:17:36am] 528 % grep -i gcc /etc/LIST.installed.txt gcc-4.8.5 GNU Compiler Collection 4.8 gcc-ecj-4.5 Eclipse Java Compiler used to build GCC Java [wam@kabini1, TEST, 9:17:43am] 529 % Any clues appreciated :-). TIA & Have a nice weekend. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sat Sep 5 14:18:36 2015 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 ADC8E9C9095 for ; Sat, 5 Sep 2015 14:18:36 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64DF5A7C for ; Sat, 5 Sep 2015 14:18:36 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t85EIY4E025421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 5 Sep 2015 09:18:35 -0500 Subject: Re: GCC question References: <55EAEE19.2060807@hiwaay.net> <20150905140658.GA790@ozzmosis.com> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55EAF9BA.3080700@hiwaay.net> Date: Sat, 5 Sep 2015 09:24:04 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150905140658.GA790@ozzmosis.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 14:18:36 -0000 On 09/05/15 09:13, andrew clarke wrote: > On Sat 2015-09-05 08:34:27 UTC-0453, William A. Mahaffey III (wam@hiwaay.net) wrote: > >>> I have some code which was originally SGI native, then moved to Linux >> (FC14 x86_64 & CentOS 5). I am now interested in getting it going under >> FreeBSD 9.3R. Due to differences in system header file includes, I need >> to tweek some of my app-specific header files. I have poked around the >> (*COPIOUS* !!!!) GCC man page & I couldn't find (or missed) either how >> to get it to regurgitate its default compiler-defines or a tabulation of >> those defines, so I can use them to conditionally include system headers >> in my own header files. Where is this info :-) ? TIA & have a nice >> (long) weekend. > You probably want: > > gcc -dM -E - < /dev/null > > Ordinarily to detect FreeBSD you'd use: > > #ifdef __FreeBSD__ > ... > #endif > *Booooyah* !!!! Both worked AOK. I haven't used gcc in a while, so there may be a few more noob-ish questions to follow :-/ .... Thanks again & have a nice weekend. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sat Sep 5 14:21:53 2015 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 37B4E9C937D for ; Sat, 5 Sep 2015 14:21:53 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from homiemail-a79.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by mx1.freebsd.org (Postfix) with ESMTP id 20506F33 for ; Sat, 5 Sep 2015 14:21:52 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from homiemail-a79.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a79.g.dreamhost.com (Postfix) with ESMTP id ED7507D406F; Sat, 5 Sep 2015 07:21:51 -0700 (PDT) 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=0y7970+lbFBG+ACVF8ZZyUI71DI=; b= US62QIEDlF7WfOI2s0rOpZdfrzFIdZ5x8Zwp3lfFDd0oKpDY6HVhOcAh0rSnJtIO wBwfB5JniHxnh8vbvNjVImZvNDPdCJweaYGYI0T05O6hFyUxOdft7+Amk7mlFzMa iqXOsgc5hkaBQEYly2OfIfxXzJzfcSZLYpicw/wGRxU= Received: from blizzard.ozzmosis.com (203-206-116-141.dyn.iinet.net.au [203.206.116.141]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by homiemail-a79.g.dreamhost.com (Postfix) with ESMTPSA id B4BD87D406E; Sat, 5 Sep 2015 07:21:51 -0700 (PDT) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id 02847393; Sun, 6 Sep 2015 00:21:48 +1000 (AEST) Date: Sun, 6 Sep 2015 00:21:48 +1000 From: andrew clarke To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: GCC question Message-ID: <20150905142148.GA72328@ozzmosis.com> References: <55EAEE19.2060807@hiwaay.net> <55EAF922.2020906@hiwaay.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55EAF922.2020906@hiwaay.net> 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: Sat, 05 Sep 2015 14:21:53 -0000 On Sat 2015-09-05 09:21:32 UTC-0453, William A. Mahaffey III (wam@hiwaay.net) wrote: > [wam@kabini1, TEST, 9:11:55am] 526 % gcc -o fpbl -I ../include/ fpbl.c > /tmp//ccgFw6d7.o: In function `setupGrid': > fpbl.c:(.text+0x21b): undefined reference to `pow' You need to link the math library. See the pow man page. gcc -o fpbl -I../include/ fpbl.c -lm From owner-freebsd-questions@freebsd.org Sat Sep 5 14:27:18 2015 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 BF1619C95AC for ; Sat, 5 Sep 2015 14:27:18 +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 779641065 for ; Sat, 5 Sep 2015 14:27:18 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t85ERGoF002318 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 5 Sep 2015 09:27:17 -0500 Subject: Re: GCC question References: <55EAEE19.2060807@hiwaay.net> <55EAF922.2020906@hiwaay.net> <20150905142148.GA72328@ozzmosis.com> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <55EAFBC4.8070303@hiwaay.net> Date: Sat, 5 Sep 2015 09:32:46 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150905142148.GA72328@ozzmosis.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 14:27:18 -0000 On 09/05/15 09:28, andrew clarke wrote: > On Sat 2015-09-05 09:21:32 UTC-0453, William A. Mahaffey III (wam@hiwaay.net) wrote: > >> [wam@kabini1, TEST, 9:11:55am] 526 % gcc -o fpbl -I ../include/ fpbl.c >> /tmp//ccgFw6d7.o: In function `setupGrid': >> fpbl.c:(.text+0x21b): undefined reference to `pow' > You need to link the math library. See the pow man page. > > gcc -o fpbl -I../include/ fpbl.c -lm > *Damn* what an idiot :-/ .... I usually use Makefiles for projects, however since this was/is a small bit of test code, no Makefile, just do it from the CLI, & I forgot the '-lm' .... It has been some months since I last messed w/ this (under linux) & I forgot that critical detail. I am comfortable classifying this as noise, sorry :-/ .... Thanks again & have a nice weekend. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sat Sep 5 16:10:31 2015 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 D55B89CA580 for ; Sat, 5 Sep 2015 16:10:31 +0000 (UTC) (envelope-from carlj@peak.org) Received: from filter01.peakinternet.com (filter01.peakinternet.com [207.55.16.92]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADBD56BD for ; Sat, 5 Sep 2015 16:10:31 +0000 (UTC) (envelope-from carlj@peak.org) Received: from zmail-mta02.peak.org ([207.55.16.112]) by filter01.peakinternet.com ({e1c81c21-e4c4-4528-aa90-7a27869c545a}) via TCP (outbound) with ESMTPS id 20150905160703559_0000 for ; Sat, 05 Sep 2015 09:07:03 -0700 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta02.peak.org (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTPS id 5AB984E015 for ; Sat, 5 Sep 2015 09:07:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTP id 425624DE78 for ; Sat, 5 Sep 2015 09:07:02 -0700 (PDT) Received: from zmail-mta02.peak.org ([127.0.0.1]) by localhost (zmail-mta02.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NxkcdvNqp4Pw for ; Sat, 5 Sep 2015 09:07:02 -0700 (PDT) Received: from mailproxy-lb-05.peak.org (mailproxy-lb-05.peak.org [207.55.17.95]) by zmail-mta02.peak.org (Postfix) with ESMTP id 0EE4E4E015 for ; Sat, 5 Sep 2015 09:07:02 -0700 (PDT) Received: from carlj by elk.localnet with local (Exim 4.80) (envelope-from ) id 1ZYFzY-0007D4-WC for freebsd-questions@freebsd.org; Sat, 05 Sep 2015 09:07:01 -0700 From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: GCC question References: <55EAEE19.2060807@hiwaay.net> <20150905140658.GA790@ozzmosis.com> <55EAF9BA.3080700@hiwaay.net> Mail-Followup-To: freebsd-questions@freebsd.org X-Clacks-Overhead: GNU Terry Pratchett Date: Sat, 05 Sep 2015 09:07:00 -0700 In-Reply-To: <55EAF9BA.3080700@hiwaay.net> (William A. Mahaffey, III's message of "Sat, 5 Sep 2015 09:24:04 -0453.75") Message-ID: <87oahg97ff.fsf@elk.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 16:10:31 -0000 "William A. Mahaffey III" writes: > On 09/05/15 09:13, andrew clarke wrote: >> On Sat 2015-09-05 08:34:27 UTC-0453, William A. Mahaffey III (wam@hiwaay.net) wrote: >> >>>> I have some code which was originally SGI native, then moved to Linux >>> (FC14 x86_64 & CentOS 5). I am now interested in getting it going under >>> FreeBSD 9.3R. Due to differences in system header file includes, I need >>> to tweek some of my app-specific header files. I have poked around the >>> (*COPIOUS* !!!!) GCC man page & I couldn't find (or missed) either how >>> to get it to regurgitate its default compiler-defines or a tabulation of >>> those defines, so I can use them to conditionally include system headers >>> in my own header files. Where is this info :-) ? TIA & have a nice >>> (long) weekend. >> You probably want: >> >> gcc -dM -E - < /dev/null >> >> Ordinarily to detect FreeBSD you'd use: >> >> #ifdef __FreeBSD__ >> ... >> #endif >> > > *Booooyah* !!!! Both worked AOK. I haven't used gcc in a while, so > there may be a few more noob-ish questions to follow :-/ .... Thanks > again & have a nice weekend. As long as this came up, does anybody know of a similar incantation to show the defined rules and symbols for make? I remember seeing something like that years ago, but I haven't been able to find it since. Thanks. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@freebsd.org Sat Sep 5 17:07:40 2015 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 7E8809CA116 for ; Sat, 5 Sep 2015 17:07:40 +0000 (UTC) (envelope-from starkbeats@gmail.com) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::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 076CF78E for ; Sat, 5 Sep 2015 17:07:40 +0000 (UTC) (envelope-from starkbeats@gmail.com) Received: by lbbmp1 with SMTP id mp1so24536257lbb.1 for ; Sat, 05 Sep 2015 10:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=7F3iQRpDec2S7EbAwsn6cO/UzGBh99tx4vTB65HyeqY=; b=WGw0hBZQlzadMg15JDxcxm+naTMsfVIGD/z731OI3oVWquloWDc5ponebteR8nmPx6 ICUCQDMFiZ6sosQeFoMB4bCXyPSXqTkZNm852fPuTJH/fkkWV3N1+nPgAOjtdLwwoh3Z a1Fq4qmbgf2R5K2TgF2Rv3/WcFZzTlqNF1p8qOAd2zj7DDOY2tY09c/GUpvvz0rB7hGO KHdx87LtvvQnlBOv4PBdZk9BfiiKMZ2x7smh16/e33cbMQ6LPgO6RfdvTk6TgCECu4cM fo9DwUTE6JjM0hA2RaMOCStLt7BVu5/NQMq6wkYAsJMqDB8CpzkiOkt+fnOgc0YeYqRz LBpw== X-Received: by 10.112.199.5 with SMTP id jg5mr9239193lbc.57.1441472858021; Sat, 05 Sep 2015 10:07:38 -0700 (PDT) Received: from [192.168.0.2] (c83-251-248-85.bredband.comhem.se. [83.251.248.85]) by smtp.gmail.com with ESMTPSA id ok2sm1525414lbb.0.2015.09.05.10.07.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Sep 2015 10:07:37 -0700 (PDT) From: Fredrik Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Issues installing vim Date: Sat, 5 Sep 2015 19:10:08 +0200 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) 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, 05 Sep 2015 17:07:40 -0000 Hello, Trying to install vim, I first tried: "sudo pkg install vim", which = started the installation but ended claiming to be out of swap space. I = found this a bit odd, but tried again and now I get the message: "pkg: = No packages available to install matching 'vim' have been found in the = repositories" which I found even odder. Does anyone know what may be = going on? =20= From owner-freebsd-questions@freebsd.org Sat Sep 5 19:04:31 2015 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 D8E339CB61B for ; Sat, 5 Sep 2015 19:04:31 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id C4F081F1F for ; Sat, 5 Sep 2015 19:04:31 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id E39833AF0E for ; Sat, 5 Sep 2015 12:04:30 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Re: Partitioning for a new system -- Third level mount point? In-Reply-To: <20150905060935.edfe52b9.freebsd@edvax.de> Date: Sat, 05 Sep 2015 12:04:30 -0700 Message-ID: <87453.1441479870@server1.tristatelogic.com> 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, 05 Sep 2015 19:04:31 -0000 In message <20150905060935.edfe52b9.freebsd@edvax.de>, Polytropon wrote: >On Fri, 04 Sep 2015 21:00:23 -0700, Ronald F. Guilmette wrote: >> So anyway, I do believe that I will file a PR on this. I think that the >> partitioning tool should be gracious in all cases, and should create >> directories, as necessary (and however many levels are necessary) in >> order to accomodate the user's stated preferences with respect to mount >> points of partitions that are being created. > >That's correct, but it should _notify_ the user about anything >nonstandard. A custom directory that would not be created by >the installation would be such a thing not to do silently. Bug report filed: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202912 Thanks for your response(s). Regards, rfg