From owner-freebsd-questions@freebsd.org Sun Aug 23 00:27: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 5B4F69C0C4C; Sun, 23 Aug 2015 00:27:06 +0000 (UTC) (envelope-from tobyslight@gmail.com) Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D234C1102; Sun, 23 Aug 2015 00:27:05 +0000 (UTC) (envelope-from tobyslight@gmail.com) Received: by lbcbn3 with SMTP id bn3so61757910lbc.2; Sat, 22 Aug 2015 17:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=8nyaM6+CZnwiJptAaA+dXbbT5lUfKxi3ccCVJKUhkck=; b=cpZUPCHoHOdGczza+hPJY0Rp8mQYYmOgkLljAJ/My5BkFIua0LIKL/xZ7oeQIasZQB K9WQMZvyGWgLUSGEjawZJceFDOQuNvj9SuFG3+rOAtMnJudKE1hIjh/ymygpqkqEZ+Lh +PxHq57Vk3TwbsMalStDTIBxd/EYWOQUZre3K79RszvGO/Cl9CEoBstFG0yE4bJZOQOA YayzhWM+drjqrUlqLdWwvnhi7uS4Qhyw9a5N7UlLsmVoLZISdFslrWQQjahSD/xlqgVJ lDwZCPIE39lp5/TSy9LGT4xe7BQBut0BdflqHNywkq7R1GgtaThYY3EY0SoyasChvVq3 zRzA== X-Received: by 10.152.27.38 with SMTP id q6mr11867549lag.24.1440289623546; Sat, 22 Aug 2015 17:27:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.158.12 with HTTP; Sat, 22 Aug 2015 17:26:23 -0700 (PDT) In-Reply-To: References: <20150819124357.GR4954@e-new.0x20.net> <20150819132523.GV4954@e-new.0x20.net> <1440002356.1200.17.camel@michaeleichorn.com> From: Toby Slight Date: Sun, 23 Aug 2015 01:26:23 +0100 Message-ID: Subject: Re: X230 Intel Centrino Wireless-N 2200 not working To: FreeBSD Questions , freebsd-wireless@freebsd.org, Lars Engels , Michael Eichorn , Adrian Chadd 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, 23 Aug 2015 00:27:06 -0000 Hi again :-) I have been running -current for a few days with working wifi (Yay!) on my X230 & 2200 card, and just had my first kernel panic - which was exiting! This seemed to be due to the iwn0 driver - at least that's what the messages above the db prompt stated... However, I had, about 10 minutes before the panic, loaded the coretemp and acpi_ibm kernel modules, so I wonder if they might have somehow had something to do with it? Anyway, I just wanted to find out what the best way to report this is, and how to best get and submit whatever info might be useful to the developers? Cheers, Toby On 19 August 2015 at 18:29, Toby Slight wrote: > > On 19 Aug 2015 17:37, "Michael B. Eichorn" wrote: > > > From what I hear freebsd-update probably will not implement this, however > > there is a possibility that some option might develop as a result of > > packaging base, which is currently an active project. For more info > > checkout the presentation @bapt gave at BSDCan 2015 [1] and the interview > > he gave on the BSDNow Podcast [2]. > > > > [1] Presentation (44 min): https://youtu.be/Br6izhH5P1I > > Q&A (14 min): https://youtu.be/v7px6ktoDAI > > [2] Interview (12 min): https://youtu.be/gDi09Wfx-9s?t=25m2s > > Nice! Many thanks for the links :-) > -- 0x2b || !0x2b From owner-freebsd-questions@freebsd.org Sun Aug 23 05:26: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 5060A9BFC88; Sun, 23 Aug 2015 05:26:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001: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 2857B1111; Sun, 23 Aug 2015 05:26:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igfj19 with SMTP id j19so41918687igf.0; Sat, 22 Aug 2015 22:26:42 -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=zUxFtxwWKandxim8hV1F3c6JvDNydlEWpWy5TlfrK7A=; b=iIvuKGC9VumhE5jxFHY7IQgZe0XWiPWxu1vlzk+B73wNvzmi9krfJ+1K9HTWstxYRv 1ggr2MoPGzLinSiIwm/TAquVL1p6eacEZ6Tv8FmovwCeIM9gN3TqewnHDT0428DCdExs rOZdqvelDpM5w7t57wtnjJBTX9tBFVL/FhgrDrfKNk3YIsvNit9QMTsqy6FpV4l7Kx99 TCsTvQHJ49hAvMJ26B1jmy6PdUlMgk9fJWClT/AOuM9/EsTqT+VgdXS2TWrq86eBXFjh UvcDBcumns4yipDeyR2e1Iuk50D78JQfRW9rmgaL4ysyWC8bOgNVPr7jBlQg1RIe4KB9 hI+Q== MIME-Version: 1.0 X-Received: by 10.50.62.193 with SMTP id a1mr9394410igs.61.1440307602355; Sat, 22 Aug 2015 22:26:42 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Sat, 22 Aug 2015 22:26:42 -0700 (PDT) In-Reply-To: References: <20150819124357.GR4954@e-new.0x20.net> <20150819132523.GV4954@e-new.0x20.net> <1440002356.1200.17.camel@michaeleichorn.com> Date: Sat, 22 Aug 2015 22:26:42 -0700 Message-ID: Subject: Re: X230 Intel Centrino Wireless-N 2200 not working From: Adrian Chadd To: Toby Slight Cc: FreeBSD Questions , "freebsd-wireless@freebsd.org" , Lars Engels , Michael Eichorn Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2015 05:26:43 -0000 email -wireless with some info, and if it's something we can poke, file a bug at bugs.freebsd.org/submit -a On 22 August 2015 at 17:26, Toby Slight wrote: > Hi again :-) > > I have been running -current for a few days with working wifi (Yay!) on my > X230 & 2200 card, and just had my first kernel panic - which was exiting! > > This seemed to be due to the iwn0 driver - at least that's what the messages > above the db prompt stated... > > However, I had, about 10 minutes before the panic, loaded the coretemp and > acpi_ibm kernel modules, so I wonder if they might have somehow had > something to do with it? > > Anyway, I just wanted to find out what the best way to report this is, and > how to best get and submit whatever info might be useful to the developers? > > Cheers, > > Toby > > On 19 August 2015 at 18:29, Toby Slight wrote: >> >> >> On 19 Aug 2015 17:37, "Michael B. Eichorn" wrote: >> >> > From what I hear freebsd-update probably will not implement this, >> > however >> > there is a possibility that some option might develop as a result of >> > packaging base, which is currently an active project. For more info >> > checkout the presentation @bapt gave at BSDCan 2015 [1] and the >> > interview >> > he gave on the BSDNow Podcast [2]. >> > >> > [1] Presentation (44 min): https://youtu.be/Br6izhH5P1I >> > Q&A (14 min): https://youtu.be/v7px6ktoDAI >> > [2] Interview (12 min): https://youtu.be/gDi09Wfx-9s?t=25m2s >> >> Nice! Many thanks for the links :-) > > > > > -- > 0x2b || !0x2b From owner-freebsd-questions@freebsd.org Sun Aug 23 11:42: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 1EF489C1A4C; Sun, 23 Aug 2015 11:42:57 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 78DF0A5A; Sun, 23 Aug 2015 11:42:56 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 9FE326E005D; Sun, 23 Aug 2015 13:42:52 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id t7NBgqAN002037; Sun, 23 Aug 2015 13:42:52 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id t7NBgoZe001715; Sun, 23 Aug 2015 13:42:50 +0200 (CEST) (envelope-from lars) Date: Sun, 23 Aug 2015 13:42:50 +0200 From: Lars Engels To: Toby Slight Cc: FreeBSD Questions , freebsd-wireless@freebsd.org Subject: Re: X230 Intel Centrino Wireless-N 2200 not working Message-ID: <20150823114250.GY4954@e-new.0x20.net> References: <20150819124357.GR4954@e-new.0x20.net> <20150819132523.GV4954@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tAdHiH28s3ybHVSb" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 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: Sun, 23 Aug 2015 11:42:57 -0000 --tAdHiH28s3ybHVSb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 19, 2015 at 02:41:35PM +0100, Toby Slight wrote: > Forgot to cc the lists on the last response - doh! >=20 > On 19 August 2015 at 14:25, Lars Engels wrote: >=20 > > On Wed, Aug 19, 2015 at 02:12:30PM +0100, Toby Slight wrote: > > > On 19 August 2015 at 13:43, Lars Engels wrote: > > > > > > > > > > > > HEAD is CURRENT, so 11.0-CURRENT is what you need. > > > > Don't worry, it's pretty stable. I'm running HEAD on my X230 since I > > > > bought it. No problems so far. > > > > > > > > > > Cool - cheers for the response Lars :-) I just fired up the -CURRENT > > > installer and was able to configure my wifi - fantastic. Guess I'm go= ing > > to > > > be running FreeBSD -CURRENT for a while then.... I must say it was ni= ce > > > that the the vt driver was enabled by default :-) > > > > Perfect! :-) Suspend / Resume should also work. I can show you my > > loader.conf / rc.conf settings to get things going, if you like. > > >=20 > That would be amazing and much appreciated :-) Finding it quite a jump fr= om > OpenBSD and Linux - got A LOT to learn! Of particular interest would be > whether or not you still have to add to Intel KMS flags to loader.conf and > what else needs to be added to get Xorg to work nice and reliablely... Do= es > TTY to X switching work now? I remember a few years ago I could get X > running on FreeBSD, but if I switched to a TTY, that was the end of me > being able to use my laptop screen! So, a little late, but here are the relevant settings for the X230. loader.conf: aesni_load=3D"YES" autoboot_delay=3D"1" loader_logo=3D"beastie" kern.maxfiles=3D"25000" kern.cam.boot_delay=3D"2000" # Energy saving hint.p4tcc.0.disabled=3D1 hint.acpi_throttle.0.disabled=3D1 hint.pcm.0.buffersize=3D65536 hint.pcm.1.buffersize=3D65536 hw.snd.feeder_buffersize=3D65536 hw.snd.latency=3D7 # Increase netgraph memory size for heavy VirtualBox network load net.graph.maxdata=3D65536 # experimental vfs.read_max=3D64 # Don't power devices with no driver attached hw.pci.do_power_nodriver=3D3 # APIC Timers block C3 hint.apic.0.clock=3D0 # Mute speaker when headphone jack is inserted and enable headphones dev.hdaa.0.nid26_config=3D"as=3D1 seq=3D0" dev.hdaa.0.nid22_config=3D"as=3D1 seq=3D15" # No memory tests at boot time hw.memtest.tests=3D0 hw.psm.trackpoint_support=3D1 #hw.psm.synaptics_support=3D1 # un-comment if you use the touchpad # Boot-time kernel tuning kern.ipc.shmseg=3D1024 kern.ipc.shmmni=3D1024 kern.maxproc=3D10000 # Increase max stack size kern.maxssiz=3D1073741824 kern.vty=3Dvt #power saving (HUGE difference) drm.i915.enable_rc6=3D7 debug.psm.loglevel=3D0 kern.vt.splash_cpu=3D1 kern.vt.splash_cpu_style=3D1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D rc.conf: moused_enable=3D"YES" # Enable scrolling with 3rd mouse button moused_flags=3D"-VH -U12 -L5" powerd_enable=3D"YES" powerd_flags=3D"-a hiadaptive -b hiadaptive" # Kernel Modules kld_list=3D"acpi_ibm aio sem cuse coretemp libiconv libmchain cd9660_iconv = msdosfs_iconv vmm nmdm" performance_cx_lowest=3D"Cmax" economy_cx_lowest=3D"Cmax" webcamd_enable=3D"YES" smartd_enable=3D"YES" autofs_enable=3D"YES" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D sysctl.conf: # Disable the system speaker kern.vt.enable_bell=3D0 # Tune for desktop usage kern.sched.preempt_thresh=3D224 # Enable shm_allow_removed (for Chromium) kern.ipc.shm_allow_removed=3D1 # Suspend when the lid is closed hw.acpi.lid_switch_state=3Ds3 kern.module_path=3D/boot/kernel;/boot/modules;/usr/local/modules # Enable acpi_ibm button events dev.acpi_ibm.0.events=3D1 # Increase audio volume hw.snd.vpc_0db=3D15 hw.snd.vpc_autoreset=3D0 # faster shutdown hw.usb.no_shutdown_wait=3D1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D rc.suspend [...] /usr/sbin/service powerd quietrestart /usr/sbin/service netif restart [...] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D I don't know if all that is still needed on HEAD, but it's all running fine= on my box. Lars --tAdHiH28s3ybHVSb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJV2bG6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t5RQH+wYdVvZFHXHel31Iq+JDvbl4 KWouP+uoOKQELpgbb+dCNQUFk8PSv4aO6v+BVY17WDfSc0prMs0MaU0Er/wYtCSz DgxqblJq3qmYWfVx1zcG9/mdJ5LvGES1avlgy4B6NSu+Ace3tJcGgYSh4dApL0hV UETB/Xbv3ZNdZ2z/G41RDsbiqRXtADK0h2qWl/9g8nTaixI68SdgFS7Fpk1M7Q8j 4Z/oxykvxFPO9kSN391F+tnbIXPgpDbtqkHCdCXvDKLUY4zho9GyPKB8dvYZLoP2 o1BRTPvwfXLBrFtljjxXBLPyCyMqZjc11SKjrY+F/KsxvWqFXsTMf+vpFkrqUPU= =cyzS -----END PGP SIGNATURE----- --tAdHiH28s3ybHVSb-- From owner-freebsd-questions@freebsd.org Sun Aug 23 13:06: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 6B3969BAF0C for ; Sun, 23 Aug 2015 13:06:21 +0000 (UTC) (envelope-from tobyslight@gmail.com) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D49C3F52 for ; Sun, 23 Aug 2015 13:06:20 +0000 (UTC) (envelope-from tobyslight@gmail.com) Received: by lbbtg9 with SMTP id tg9so66341910lbb.1 for ; Sun, 23 Aug 2015 06:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-type; bh=3wWPknpg6CUyHZTy2uwyLj2ms/JhEZSkZQn8DUXATAo=; b=bMyJkq/Vzc5/IU4ZNa2diaGE5/3Jhx7atPvW6OGzVSipOsAHWEfUrLbrsqNV17RyHw PR2Yv+tP55JRdT+ft+P9ImGh05wFAZ7hY/t4efHmHBq5zBF++urqS/l3QEn4/t7dFDLU Hn/J/LxKwELTXoz1eGrpzSuYzBIgSJx4VxLhqqUxNjpwcWey2LRbzlc/Xk8nVYUqbnJe dj/7gbaOTTPxGXbcxBQIsgmYgj+jAsCOl1c2bTrk7fqnVgheZPdLuOg934BqCspJQ5nN vPcLAH4R5cPwjU3TEaRx3ZFgBwT7fCDd/Bssg7UdQ90AnGNf3PVjTyljjHeuHmxIXLGm wDmQ== X-Received: by 10.152.23.103 with SMTP id l7mr15789927laf.50.1440335178731; Sun, 23 Aug 2015 06:06:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.158.12 with HTTP; Sun, 23 Aug 2015 06:05:39 -0700 (PDT) In-Reply-To: <20150823114250.GY4954@e-new.0x20.net> References: <20150819124357.GR4954@e-new.0x20.net> <20150819132523.GV4954@e-new.0x20.net> <20150823114250.GY4954@e-new.0x20.net> From: Toby Slight Date: Sun, 23 Aug 2015 14:05:39 +0100 Message-ID: Subject: Re: X230 Intel Centrino Wireless-N 2200 not working 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, 23 Aug 2015 13:06:21 -0000 On 23 August 2015 at 12:42, Lars Engels wrote: > So, a little late, but here are the relevant settings for the X230. > > loader.conf: > aesni_load="YES" > > autoboot_delay="1" > loader_logo="beastie" > > kern.maxfiles="25000" > kern.cam.boot_delay="2000" > > # Energy saving > hint.p4tcc.0.disabled=1 > hint.acpi_throttle.0.disabled=1 > hint.pcm.0.buffersize=65536 > hint.pcm.1.buffersize=65536 > hw.snd.feeder_buffersize=65536 > hw.snd.latency=7 > > # Increase netgraph memory size for heavy VirtualBox network load > net.graph.maxdata=65536 > > # experimental > vfs.read_max=64 > > # Don't power devices with no driver attached > hw.pci.do_power_nodriver=3 > > # APIC Timers block C3 > hint.apic.0.clock=0 > > # Mute speaker when headphone jack is inserted and enable headphones > dev.hdaa.0.nid26_config="as=1 seq=0" > dev.hdaa.0.nid22_config="as=1 seq=15" > > > # No memory tests at boot time > hw.memtest.tests=0 > > hw.psm.trackpoint_support=1 > #hw.psm.synaptics_support=1 # un-comment if you use the touchpad > > # Boot-time kernel tuning > kern.ipc.shmseg=1024 > kern.ipc.shmmni=1024 > kern.maxproc=10000 > # Increase max stack size > kern.maxssiz=1073741824 > > kern.vty=vt > > #power saving (HUGE difference) > drm.i915.enable_rc6=7 > > debug.psm.loglevel=0 > > kern.vt.splash_cpu=1 > kern.vt.splash_cpu_style=1 > > > ====================================== > > rc.conf: > > moused_enable="YES" > # Enable scrolling with 3rd mouse button > moused_flags="-VH -U12 -L5" > > powerd_enable="YES" > powerd_flags="-a hiadaptive -b hiadaptive" > > # Kernel Modules > kld_list="acpi_ibm aio sem cuse coretemp libiconv libmchain cd9660_iconv > msdosfs_iconv vmm nmdm" > > performance_cx_lowest="Cmax" > economy_cx_lowest="Cmax" > > webcamd_enable="YES" > smartd_enable="YES" > autofs_enable="YES" > > ============================== > > sysctl.conf: > > # Disable the system speaker > kern.vt.enable_bell=0 > > # Tune for desktop usage > kern.sched.preempt_thresh=224 > > # Enable shm_allow_removed (for Chromium) > kern.ipc.shm_allow_removed=1 > > # Suspend when the lid is closed > hw.acpi.lid_switch_state=s3 > > kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules > > > # Enable acpi_ibm button events > dev.acpi_ibm.0.events=1 > > # Increase audio volume > hw.snd.vpc_0db=15 > hw.snd.vpc_autoreset=0 > > # faster shutdown > hw.usb.no_shutdown_wait=1 > > ================================== > > rc.suspend > > [...] > /usr/sbin/service powerd quietrestart > /usr/sbin/service netif restart > [...] > > > ================================== > > I don't know if all that is still needed on HEAD, but it's all running > fine on my box. > That's tremendously useful. Many, many thanks Lars. Lots of great stuff to learn about in there :-) I hadn't seen the kld_list thing in rc.conf before. Is that the same as adding, say, coretemp_load="YES" to loader.conf? I wondered why you put those in rc.conf instead? Also have you seen any panics running -current on this machine? -- 0x2b || !0x2b From owner-freebsd-questions@freebsd.org Sun Aug 23 18:18: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 7FF2C9C17A0 for ; Sun, 23 Aug 2015 18:18:01 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41E051E7 for ; Sun, 23 Aug 2015 18:18:01 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by qkfh127 with SMTP id h127so56395222qkf.1 for ; Sun, 23 Aug 2015 11:18:00 -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=z19YKVlB8FzYkO98BObSIdmy+XIPz/0N9jA7NMJjKeo=; b=ZxiVNEUZ/r9MYa6lHbiXv2Io0IOc4WPm6WXD5RI/pCTiDQmpHv+atyBIEJtEKuxUAd tFbnQU6ogFVAxXdc/7kVLJbNa5gB5rVVy0cM1wjn8qfslp1dbSmQbGkG786AbvIRyBUH SA94pbp+RGCwQdJddcS/BTR9aO/TVA1Vi9pCQahTnPA5/dNn9/frheBnDYSzC91J4glm ZE/ZsI9FaogFwlAawsF3+T8MczP23Y9VNEvCqEY27OLWyyRutq1p3DRaIdPQJa0/7tsV f3O65gDOM2anDp3yd9nQaHhbQWONfo5pCmI//6IFQb7mrJkD/fLSg/I+6bC0cpxAzNiB vGHQ== MIME-Version: 1.0 X-Received: by 10.55.16.3 with SMTP id a3mr44378362qkh.65.1440353880100; Sun, 23 Aug 2015 11:18:00 -0700 (PDT) Received: by 10.55.182.65 with HTTP; Sun, 23 Aug 2015 11:18:00 -0700 (PDT) Date: Sun, 23 Aug 2015 20:18:00 +0200 Message-ID: Subject: AMD A series support From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= To: User Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2015 18:18:01 -0000 Hi all, I am thinking of changing my old laptop and a friend of mine talk to me about the AMD A series. He uses Linux and his experience is good so far. I have a couple of questions I hope you can help me with: - Does the combined use of the different Compute Cores (CPU + GPU) to share workloads need a special support in the OS (in the scheduler for instance)? If that is the case, how well supported are these APU's in FreeBSD? - Do we have any software in the ports that can monitor the use of both CPU + GPU cores? Thanks. From owner-freebsd-questions@freebsd.org Mon Aug 24 00: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 B0B609C14A8 for ; Mon, 24 Aug 2015 00:56:10 +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 73A2E18FF for ; Mon, 24 Aug 2015 00:56:09 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZTg3M-0001Id-8h for freebsd-questions@freebsd.org; Mon, 24 Aug 2015 02:56:00 +0200 Received: from ppp234-130.static.internode.on.net ([59.167.234.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Aug 2015 02:56:00 +0200 Received: from newsgroups by ppp234-130.static.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Aug 2015 02:56:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ruben Schade Subject: Degraded ZFS with encryption Date: Mon, 24 Aug 2015 10:55:49 +1000 Lines: 38 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp234-130.static.internode.on.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.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, 24 Aug 2015 00:56:10 -0000 Hi all, I've had a drive fail in a ZFS pool. The affected drive was automatically removed from the pool, and ZFS is reporting no known data errors. All good so far :) -------------------------------------------------------------------- pool: swimming state: DEGRADED [..] NAME STATE READ WRITE CKSUM swimming DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 ada0p4.eli ONLINE 0 0 0 11336101618008492576 REMOVED 0 0 0 was \ /dev/ada1p4.eli ada2p4.eli ONLINE 0 0 0 ada3p4.eli ONLINE 0 0 0 errors: No known data errors -------------------------------------------------------------------- Normally I'd just replace the physical drive and do `zpool replace`, but this is the first pool I’ve created using bsdinstall during the initial install process, and I elected for encryption. Are there any further steps required to restore a drive in this configuration? TBH this box was more for experimentation, I have full backups of the data in this pool. Just curious for future reference. Cheers -- Ruben Schade in s/Singapore/Sydney/ Time for a meeting, in digital space; Because for thousands of years, we couldn't agree on a place. From owner-freebsd-questions@freebsd.org Mon Aug 24 01:14: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 8DE8E9C196E for ; Mon, 24 Aug 2015 01:14:12 +0000 (UTC) (envelope-from newsgroups@rubenschade.com) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EC4EB for ; Mon, 24 Aug 2015 01:14:11 +0000 (UTC) (envelope-from newsgroups@rubenschade.com) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D91A2205D0 for ; Sun, 23 Aug 2015 21:14:10 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 23 Aug 2015 21:14:10 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=rubenschade.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=WgdzvweKCPTjCJ0VWlv4AOeUd2Q=; b=2UDYmi pOeOM3nef0IEyHkU9ARFptB3u1HY1n5rKTnYaDGmgBsB2Be2Ql5cXsqeN0Xykue1 S2glt70/5CP+CKowght91hdBJrwtapwp3uDIXldCGueS9GSumyMdbg3UjOpOGNaF KFWx6numyfziP6FJN3Y2EceskjBe1rmcVpY80= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=WgdzvweKCPTjCJ0 VWlv4AOeUd2Q=; b=aTt4KaSJx1ilzjyBu9ESHkUaTDUwhSGW9+GGt/X+C3HTYbl tZ07EY3jqfoET+y65t7iXFYN+S56CpBM5RTRLbrU1a/PUv6Wa/0WjobzMS3FqXCU yiygZDOnSKGCmsTx99qCmLGJ5nw9lqWhmUMF+6Fo39YODSDPI/RihPMGHxFQ= X-Sasl-enc: NyFzkPbsjapMzvxuKQG+hdwpu1hoVpCerswh3i9BbXkq 1440378850 Received: from iAsa.local (ppp234-130.static.internode.on.net [59.167.234.130]) by mail.messagingengine.com (Postfix) with ESMTPA id 0A3EEC00014 for ; Sun, 23 Aug 2015 21:14:09 -0400 (EDT) Message-ID: <55DA6FDE.5060109@rubenschade.com> Date: Mon, 24 Aug 2015 11:14:06 +1000 From: Ruben Schade User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Degraded ZFS with encryption References: 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: Mon, 24 Aug 2015 01:14:12 -0000 On 24/08/2015 10:55 am, Ruben Schade wrote: > > Are there any further steps required to restore a drive in this > configuration? > I’ve looked into this a bit further. It looks as though I'll need to create a new GELI partition on the new drive I add, and then add it to the ZFS pool. It'd need to be created with the same password/credentials as the other drives so it’s unencrypted with the same single password on boot. Am I on the right track? -- Ruben Schade in s/Singapore/Sydney/ Time for a meeting, in digital space; Because for thousands of years, we couldn't agree on a place. From owner-freebsd-questions@freebsd.org Mon Aug 24 01:30: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 874459C1D17 for ; Mon, 24 Aug 2015 01:30:37 +0000 (UTC) (envelope-from ricky1252@hotmail.com) Received: from SNT004-OMC4S45.hotmail.com (snt004-omc4s45.hotmail.com [65.54.51.96]) (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 5A9998DC for ; Mon, 24 Aug 2015 01:30:37 +0000 (UTC) (envelope-from ricky1252@hotmail.com) Received: from SNT146-W31 ([65.55.90.201]) by SNT004-OMC4S45.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 23 Aug 2015 18:29:30 -0700 X-TMN: [i8/Bw7mEPQWaSCY2W9T+q5gfId80YLH/] X-Originating-Email: [ricky1252@hotmail.com] Message-ID: From: Ricky G To: Ruben Schade CC: "freebsd-questions@freebsd.org" Subject: RE: Degraded ZFS with encryption Date: Sun, 23 Aug 2015 21:29:30 -0400 Importance: Normal In-Reply-To: <55DA6FDE.5060109@rubenschade.com> References: ,<55DA6FDE.5060109@rubenschade.com> MIME-Version: 1.0 X-OriginalArrivalTime: 24 Aug 2015 01:29:30.0855 (UTC) FILETIME=[53142F70:01D0DE0C] Content-Type: text/plain; charset="Windows-1252" 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, 24 Aug 2015 01:30:37 -0000 > Date: Mon=2C 24 Aug 2015 11:14:06 +1000 > From: newsgroups@rubenschade.com > To: freebsd-questions@freebsd.org > Subject: Re: Degraded ZFS with encryption >=20 > On 24/08/2015 10:55 am=2C Ruben Schade wrote: > > > > Are there any further steps required to restore a drive in this > > configuration? > > >=20 > I=92ve looked into this a bit further. It looks as though I'll need to=20 > create a new GELI partition on the new drive I add=2C and then add it to= =20 > the ZFS pool. It'd need to be created with the same password/credentials= =20 > as the other drives so it=92s unencrypted with the same single password o= n=20 > boot. >=20 > Am I on the right track? Yes. Think of it as layers. Hard Drive -> geli -> zfsLook in loader.conf an= d this may also help you.https://www.freebsd.org/doc/handbook/disks-encrypt= ing.html = From owner-freebsd-questions@freebsd.org Mon Aug 24 02:13: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 84E749C0592 for ; Mon, 24 Aug 2015 02:13:25 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B6C31B0C for ; Mon, 24 Aug 2015 02:13:25 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by lalv9 with SMTP id v9so68429633lal.0 for ; Sun, 23 Aug 2015 19:13:23 -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=cGBjZXop4QaTkJpDG5nf3cQWEXD7NCVthko/Vu+u11U=; b=ukCY3DZh6Z6k6gOMPxm3WSRom0+iBT7nvRxfPD0EUBtCtuF1JenuNhPpICw85mPsZq NH1zw/5py7wYdSDcIREYWmOpDP8qIfg6HaiKmqVBpqJ6AaAKuzMivwfcoRo8rOt1QNI0 QTHCZ3CrwCll7RCdKRjdk+cRqHFmmbZ57CeDHgll3TOsXMRqAx1NmMM0kbP2jUc2gqCv sqp3VXOove8EmoOD5AVzurgKtxzv+NoqK0jOL/i0L2rNZOw9+EKxmqN19y8f1WthalqW 263ho4mRwhi+MRpvcwsr06FBaixBWpNkDclLY58IxyDJV8RVFbmM4HpzLKAxqOPfoaD6 Iv4Q== MIME-Version: 1.0 X-Received: by 10.152.45.69 with SMTP id k5mr17901038lam.13.1440382403144; Sun, 23 Aug 2015 19:13:23 -0700 (PDT) Received: by 10.112.149.201 with HTTP; Sun, 23 Aug 2015 19:13:23 -0700 (PDT) In-Reply-To: <55DA6FDE.5060109@rubenschade.com> References: <55DA6FDE.5060109@rubenschade.com> Date: Sun, 23 Aug 2015 21:13:23 -0500 Message-ID: Subject: Re: Degraded ZFS with encryption From: Adam Vande More To: Ruben Schade 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, 24 Aug 2015 02:13:25 -0000 On Sun, Aug 23, 2015 at 8:14 PM, Ruben Schade wrote: > On 24/08/2015 10:55 am, Ruben Schade wrote: > >> >> Are there any further steps required to restore a drive in this >> configuration? >> >> > I=E2=80=99ve looked into this a bit further. It looks as though I'll need= to > create a new GELI partition on the new drive I add, and then add it to th= e > ZFS pool. It'd need to be created with the same password/credentials as t= he > other drives so it=E2=80=99s unencrypted with the same single password on= boot. > > Am I on the right track? Maybe, are you booting off the pool? Do you have a separate swap device on these disks? If so, you'll have additional partitioning and GEOM work to do. Compare existing gpart output to new HD. --=20 Adam From owner-freebsd-questions@freebsd.org Mon Aug 24 10:00: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 8DB1B9C1A2F for ; Mon, 24 Aug 2015 10:00:50 +0000 (UTC) (envelope-from gansteed@gmail.com) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DF3A189E for ; Mon, 24 Aug 2015 10:00:50 +0000 (UTC) (envelope-from gansteed@gmail.com) Received: by qkbm65 with SMTP id m65so64011453qkb.2 for ; Mon, 24 Aug 2015 03:00:49 -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=m5OCINS/NCUZ/FiMZXys9JQvORswUBsPsMQgV7hNsKk=; b=js0uWxsJlxhcIpy2RMDTqC4HNIYhStZw0EzxplfA7UTxx0KrUGA3a1X++KyeJWaoam /FBkC8pJoB+wmMZ0hpAYf9jfzrpKKP0Rnn9lbz7/7CZCV2B1rDfspAiHBKqVVUitEIcg k0J4VGUg/yAQnlobX3e+vT3JeXxj7DqjsE9r8ibNHuyCHGhBC2lU52feaO5sgUgxeety DxGbiwts3gSTQY6kF74jUuhSDBi8tyrJQeowoRvzJSZLcQOneRW6smRkK8qnsDy/4GYQ YqY+FSO9LGsfpNnVr/KHCpKWZTlx1m96cMVJtpHD8kNoPLSj1rDR0bSU1jjRrQAcyD4U c0KQ== MIME-Version: 1.0 X-Received: by 10.55.18.214 with SMTP id 83mr826832qks.7.1440410448943; Mon, 24 Aug 2015 03:00:48 -0700 (PDT) Received: by 10.140.43.162 with HTTP; Mon, 24 Aug 2015 03:00:48 -0700 (PDT) Date: Mon, 24 Aug 2015 18:00:48 +0800 Message-ID: Subject: freebsd dhcpcd failed From: gansteed 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, 24 Aug 2015 10:00:50 -0000 Hello: I'm new to FreeBSD, I've install FreeBSD 10.2 on my PC, everything works well except the network card, during the installation, it seems that FreeBSD can recognize the network card, it says, "do you want to configure dhcpcd for the ...blablabla `em0`?" so I choose "yes", but I got lots of "watchdog timeout error", I've searched for it, wiki says "To resolve watchdog timeout errors, first check the network cable. Many cards require a PCI slot which supports bus mastering. On some old motherboards, only one PCI slot allows it, usually slot 0. Check the NIC and the motherboard documentation to determine if that may be the problem." I don;'t know how to check it, but it works well in Windows7 and ArchLinux. Is it possible to fix the problem? I need your help. gansteed 08/24/2015. From owner-freebsd-questions@freebsd.org Mon Aug 24 13:43: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 952DB9C1E1A for ; Mon, 24 Aug 2015 13:43:30 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B3451178 for ; Mon, 24 Aug 2015 13:43:29 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t7ODhH7o056366; Mon, 24 Aug 2015 23:43:19 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 24 Aug 2015 23:43:17 +1000 (EST) From: Ian Smith To: Mike Clarke cc: freebsd-questions@freebsd.org Subject: Re: Is it really necessary to run swapoff on shutdown? In-Reply-To: Message-ID: <20150824224559.W53217@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 13:43:30 -0000 In freebsd-questions Digest, Vol 585, Issue 5, Message: 21 On Fri, 21 Aug 2015 11:52:04 +0100 Mike Clarke wrote: > I have two 4GB swap partitions on separate drives on my desktop. By > the time I shut down at the end of the day I usually have about 8% swap > in use. > > At an early stage in the shutdown /etc/rc.d/swaplate runs > and takes about one minute to run '/sbin/swapoff -aq'. On some occasions > when more swap has been used swapoff has failed to complete before > timing out. I guess you could extend the shutdown timeout as a poor workaround? > Perhaps I'm misunderstanding the finer details of managing swap space > but I would have expected that swapoff could be omitted on shutdown. As > each process shuts itself down it will retrieve any swapped out pages > which it needs so by the time the last process is finished none of > the remaining data in the swap space will be required by anything and > can be safely discarded. Sounds good in theory, but dragons may caution 'shoulds' for 'wills' .. > Also if it really is necessary to run swapoff on shutdown should the > command have also included the -L option to allow for it having been > used in the swapon command. I know nothing, except noticing that the recent thread 'Swap Questions' in -stable@ explores some perhaps related issues, including use of '-L' http://lists.freebsd.org/pipermail/freebsd-stable/2015-August/083060.html cheers, Ian From owner-freebsd-questions@freebsd.org Mon Aug 24 13:53: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 974439C22E2 for ; Mon, 24 Aug 2015 13:53:14 +0000 (UTC) (envelope-from jediuk@outlook.com) Received: from BAY004-OMC4S16.hotmail.com (bay004-omc4s16.hotmail.com [65.54.190.218]) (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 6BA2C1AEE for ; Mon, 24 Aug 2015 13:53:13 +0000 (UTC) (envelope-from jediuk@outlook.com) Received: from na01-bn1-obe.outbound.protection.outlook.com ([65.54.190.201]) by BAY004-OMC4S16.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 24 Aug 2015 06:52:07 -0700 Received: from BY2PR12MB0545.namprd12.prod.outlook.com (10.162.77.156) by BY2PR12MB0545.namprd12.prod.outlook.com (10.162.77.156) with Microsoft SMTP Server (TLS) id 15.1.231.21; Mon, 24 Aug 2015 13:52:06 +0000 Received: from BY2PR12MB0545.namprd12.prod.outlook.com ([10.162.77.156]) by BY2PR12MB0545.namprd12.prod.outlook.com ([10.162.77.156]) with mapi id 15.01.0231.024; Mon, 24 Aug 2015 13:52:05 +0000 From: Nathan V. To: "freebsd-questions@FreeBSD.org" Subject: IBM System Z Thread-Topic: IBM System Z Thread-Index: AQHQ3nQPUwflzENQ1EyGioJGfmLCjQ== Date: Mon, 24 Aug 2015 13:52:05 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=jediuk@outlook.com; x-ms-exchange-messagesentrepresentingtype: 1 x-microsoft-exchange-diagnostics: 1; BY2PR12MB0545; 5:uaviyp7O80R7YqP+DUla066vbZXK54ZSazJio/+dthRQCh+65OjqcspCBtUkFpQfAPFMUuBQNcmwjdBPEzgZ59p0eCPPCNleLufBNgIGOe9C56w6teKUs/du1uCHfp3R4mtMA7Jxv7Nhv+WsiCcctQ==; 24:8g5vGsm4wmrwkGVXcACQVepcm1VnGJsDzhAoNtXERNSG+QV9GgUm0p7BVRgWTSTZKCsuCMwx5ibgHIrx6Z9kbyYpleHzBb83ddJNQzwwHI0=; 20:KQ0Gf3wOTmc50S7+kXHAjBSOKzso1S9MGsR0+atMAIeVp6oZ/IkC5ZUWifq6LMLz2Rbw//4hcaAPyJQkY7wlwA== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR12MB0545; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015011)(81415001)(601004)(5005006)(8121501046)(3002001); SRVR:BY2PR12MB0545; BCL:0; PCL:0; RULEID:; SRVR:BY2PR12MB0545; x-forefront-prvs: 06780E24F8 x-forefront-antispam-report: SFV:NSPM; SFS:(7070003)(6009001)(165144002)(189002)(199003)(189998001)(5001960100002)(229853001)(5002640100001)(4001540100001)(97736004)(10400500002)(62966003)(2656002)(122556002)(107886002)(106116001)(110136002)(5001860100001)(81156007)(68736005)(76576001)(450100001)(5007970100001)(87936001)(74316001)(5001830100001)(5003600100002)(101416001)(86362001)(77096005)(77156002)(2501003)(46102003)(102836002)(106356001)(2351001)(54356999)(87572001)(2900100001)(64706001)(105586002)(33656002)(92566002)(50986999)(99286002)(40100003); DIR:OUT; SFP:1901; SCL:1; SRVR:BY2PR12MB0545; H:BY2PR12MB0545.namprd12.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: outlook.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <3407C3A48B74A54AB612D5118EBBC6DD@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2015 13:52:05.7810 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0545 X-OriginalArrivalTime: 24 Aug 2015 13:52:07.0353 (UTC) FILETIME=[10D23A90:01D0DE74] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 24 Aug 2015 13:53:14 -0000 R+KAmWRheSENCg0KSSB3YXMgd29uZGVyaW5nIGlmIGFueW9uZSBpcyB0aGlua2luZyBvZiBoYXZp bmcgRnJlZUJTRCBhdmFpbGFibGUvcG9ydGVkIHRvIHRoZSBJQk0gU3lzdGVtIFogKExpbnV4T25l KSBwbGF0Zm9ybT8NCg0KWW91IGd1eXMgYXJlIHRoZSBndXJ1cyBvZiBvdXQgcGxhdGZvcm0sIGJ1 dCBJIHJlYWxseSB3b3VsZCBub3QgY29uc2lkZXIgYSBwbGF0Zm9ybSB0aGF0IGRvZXMgbm90IHJ1 biBGcmVlQlNEIGJ1dCBJIGNvdWxkbuKAmXQgZmluZCBhbnkgaW5mbyBmcm9tIElCTSBvbiB0aGlz IG1hdHRlci4NCg0KSSBsb3ZlIFpGUyBvbiBGcmVlQlNEIQ0KDQpZb3UgZ3V5cyByb2NrIQ0KTmF0 aGFu From owner-freebsd-questions@freebsd.org Mon Aug 24 14:43: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 5BB1D9C16EB for ; Mon, 24 Aug 2015 14:43:07 +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 E3E4A1C3C for ; Mon, 24 Aug 2015 14:43:06 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7OEgx7n003230 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 24 Aug 2015 15:43:00 +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 t7OEgx7n003230 Authentication-Results: smtp.infracaninophile.co.uk/t7OEgx7n003230; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: IBM System Z To: freebsd-questions@freebsd.org References: From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55DB2D6A.4000405@FreeBSD.org> Date: Mon, 24 Aug 2015 15:42:50 +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: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WFC5Wj8L0K98pkVf51N5uPS1abdugcFO8" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Mon, 24 Aug 2015 14:43:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WFC5Wj8L0K98pkVf51N5uPS1abdugcFO8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015/08/24 14:52, Nathan V. wrote: > I was wondering if anyone is thinking of having FreeBSD > available/ported to the IBM System Z (LinuxOne) platform? >=20 > You guys are the gurus of out platform, but I really would not > consider a platform that does not run FreeBSD but I couldn=E2=80=99t fi= nd any > info from IBM on this matter. >=20 > I love ZFS on FreeBSD! There is, as far as I know, no organized project to port FreeBSD to System Z. However, I seem to recall hearing a developer mention they had some sort of private port to that architecture as a hobby thing. No idea if there's anything that will even boot, let alone run. It's probably not something you should even think about betting your business = on. You might try asking on freebsd-hackers@... to see if anyone has anything worth sharing. Cheers, Matthew --WFC5Wj8L0K98pkVf51N5uPS1abdugcFO8 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 iQJ8BAEBCgBmBQJV2y1zXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn/P8P/1kHhU2Vd6cljhGWu0HaHYlS EC+ZDgaM4q2xdYYs9wXG3Hd7HW367+M2Z4N8kJT+GDCLb5CToODPaHgZ+tw81fZH s3T+Zgwzs5KypOyvO6uNlp9wxZgVzSI6K8V14lO4+R4a/ui808bExctuiIzvszT8 wQd5Qgs9TGm6hpqaVcF3UrYQBont0FcUhYOxPGc2DEH7wT2Z6yBaV/tkrT/aj3kI WefFKI7Ezsl6o61Y2NrPAVvwNVPmfC8PuuU97I2wFVn75OF2B5Uc93zRsHYzLvuY 3dVJ4YH/ZEl7fxUsTN2eW7Z1WlF0iK6bIuJ1npw65ahI7j3xn4SQiX0+TEsG+PYz a1RbMASulbRaEZzXYuxOasq1NWdyRrPR/yolA1qgGqL+nWfah5RYF3UD1wYQhWpX BsWPpnPP57EKhwiRfI0CzD3Fns39Z1WW5ELoIQVFpPRKpq+IjNsrUW1rnZaQcqjQ Kqb+1UG9B3CtO+kvb/ls0z2hplfFF+WQdbdL3Cs0q8u1ySC3OuwDgnrCiFJmIX5r BZqSYVgGglhj7NdlOaT0JxqEBu8thPlaZR0waCvi3qY1toyLuohhoGHRQEdEk6zA ccDKNQ5hU29yl6eq7Joh8DaMi+2WipW1oDZP4qgohm8ocMtkxM6KTklVenxKKF5x UeNaqsEHELyFYr7sS4Me =GngB -----END PGP SIGNATURE----- --WFC5Wj8L0K98pkVf51N5uPS1abdugcFO8-- From owner-freebsd-questions@freebsd.org Mon Aug 24 16:15:20 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 6F9AA9C1D46 for ; Mon, 24 Aug 2015 16:15:20 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30EFEC53 for ; Mon, 24 Aug 2015 16:15:20 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by qkda128 with SMTP id a128so24610220qkd.3 for ; Mon, 24 Aug 2015 09:15:19 -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=oZYgBjcuQmclW+9k60AwK/iPWPdTfBpypmJCGN259Ys=; b=YJz1SRYMi1UDGJJaM7LktqQEet40bwZENuePJPSekUfd742GEY1SVbHflz3RjneL6e 2jOF7AJifoypDMUQRBBy6TetoxHgLOVzH2rnt4nhhV3lGYTqbCG8P7yJj02wkaEGH3zJ izZ6ebtnXlwZ9EJ5fcIc01UoeHL6WxFQWhbLuXmdb2ylW6FBxJFUTnBi+b5HgvYs+ZG7 iMZLmnQeo2kBnTy7Tz7OxT0eS7GH3s/bP0+FtMq88cJtEh+Q9WdKKQbQOJwqNdH6yI5w JTPfugWg0489eHcvGoevf+WHOa8mS00YKDDRfn1N5YkSrcTcjEzP7T+YChxXMUOZB0KP ueKw== MIME-Version: 1.0 X-Received: by 10.55.217.218 with SMTP id q87mr7279559qkl.56.1440432918926; Mon, 24 Aug 2015 09:15:18 -0700 (PDT) Received: by 10.55.182.65 with HTTP; Mon, 24 Aug 2015 09:15:18 -0700 (PDT) Date: Mon, 24 Aug 2015 18:15:18 +0200 Message-ID: Subject: pkg Assertion failed. Help needed. From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= To: User Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 16:15:20 -0000 Hi there, I'm in the process of upgrading to 10.2-RELEASE in on of my machines. The base system is already updated. Although it is not strictly necessary (I upgrade from 10.1-RELEASE), I wanted to reinstall all packages as well. When I try to do it, I get the following errors: $ pkg-static upgrade -f Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking for upgrades (948 candidates): 90% db41 has no direct installation candidates, change it to db? [Y/n]: [ENTER] Checking for upgrades (948 candidates): 100% Processing candidates (948 candidates): 100% pkg-static: sqlite error while executing UPDATE packages SET name=?1 WHERE name=?2; in file pkg_jobs.c:1658: UNIQUE constraint failed: packages.name Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 368. Child process pid=1106 terminated abnormally: Abort trap $ I haven't had problems so far while installing/deinstalling packages, but I suppose I was just "lucky" enough so the problem didn't show up earlier. It seems my sqlite package database is corrupt. Any ideas on how to fix this? Thanks in advance. From owner-freebsd-questions@freebsd.org Mon Aug 24 18:52: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 198D99C11EA for ; Mon, 24 Aug 2015 18:52:50 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001: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 E7DCB1EF6 for ; Mon, 24 Aug 2015 18:52:49 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: by igfj19 with SMTP id j19so63356580igf.1 for ; Mon, 24 Aug 2015 11:52:49 -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=yR5xSs17VUKRoo3qsugynGsM7iq5kdB+oOKY+ftpgIc=; b=AZYFRxYwQewdJ707Wt9gUCLODVBKAGc68xavM2jyC36eqe/oCBaLizyl5qemv2rU4+ dceB7YPUQQYK+9r9tZr6hUg3YPnU/CbL09/XHMGd1+cwruAFNzZdpY0wAxaqrS6ifQ33 5jXdDDJRkdfJam/TEhVhjTF8K/40+k0oeHHywP7h8KkfBHVIGitcWG2JpGH5xRKfUFvf MOdBKWz/wXwmO5T22xJRvc1aNoIFeMano3RCw0Ka0L6YKXOCMUoPTdl4f8hmvYUVdjDo Yuu1MP8zB2Og1EaU12Ouy1IIXbn8bRmguIASMBcunAuZmX5Mi5PzGo4XorUBZTiLHLGb 8O0w== MIME-Version: 1.0 X-Received: by 10.50.4.102 with SMTP id j6mr16439302igj.40.1440442369295; Mon, 24 Aug 2015 11:52:49 -0700 (PDT) Received: by 10.79.107.151 with HTTP; Mon, 24 Aug 2015 11:52:49 -0700 (PDT) Date: Mon, 24 Aug 2015 11:52:49 -0700 Message-ID: Subject: Stop using a SATA drive From: Chris Stankevitz To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 18:52:50 -0000 How can I tell FreeBSD to stop using a SATA drive? I'd like to pull it from my machine (while the machine is running) but I'd like to be confident that nothing is using it. I imagine I would feel confident that nothing is using it if the drive disappeared from /dev and it stopped spinning. "camcontrol stop" did not accomplish this (that was a WAG -- camcontrol man page says that 'stop' only sends the 0x1B command whatever that means). Please let me know if you can imagine a better place for me to ask this question or learn more about the process. Chris From owner-freebsd-questions@freebsd.org Mon Aug 24 19:43: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 25CE99C26F3 for ; Mon, 24 Aug 2015 19:43:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2C8F230 for ; Mon, 24 Aug 2015 19:43:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 3EA212789B; Mon, 24 Aug 2015 21:42:52 +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 t7OJgqgX002135; Mon, 24 Aug 2015 21:42:52 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 24 Aug 2015 21:42:52 +0200 From: Polytropon To: Chris Stankevitz Cc: freebsd-questions Subject: Re: Stop using a SATA drive Message-Id: <20150824214252.53aa04c6.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, 24 Aug 2015 19:43:03 -0000 On Mon, 24 Aug 2015 11:52:49 -0700, Chris Stankevitz wrote: > How can I tell FreeBSD to stop using a SATA drive? I'd like to pull > it from my machine (while the machine is running) but I'd like to be > confident that nothing is using it. > > I imagine I would feel confident that nothing is using it if the drive > disappeared from /dev and it stopped spinning. "camcontrol stop" did > not accomplish this (that was a WAG -- camcontrol man page says that > 'stop' only sends the 0x1B command whatever that means). > > Please let me know if you can imagine a better place for me to ask > this question or learn more about the process. Ye olde atacontrol had a "detach" option. Its equivalent is "camcontrol stop" which you have discovered. This should be sufficient. The disk will not be accessed by the system anymore. In this state, it's safe to detach power and data lines. Removing power will (what a surprise!) make the drive stop spinning and also park the heads. Then it can safely be moved mechanically. St stopping the disk would probably only work for those that have a SCSI command that _does_ this to the drive. As far as I know, SATA drives don't have this ability. The device node disappearing from /dev is achieved by losening the data connection (which is the same as if removing the power). Both things are probably hard to achieve in hardware. I could imagine with a power supply where you can - by software! - address the power lines, or mainboards / controllers that allow you to address the SATA ports and make them disappear... However, I'm doing this with SATA and external USB disks a lot: Issue "sync", call umount, give it some seconds to actually complete (!) those tasks, and then power it off (external power supply off for USB, combined plug removed from SATA disk). No problems so far. The features you're implicitely asking for do not exist in x86 commodity hardware, as far as I know. More expensive and non-consumer platforms usually have those features. Look for midrange and mainframe systems. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Aug 24 21:21: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 222889C1F9F for ; Mon, 24 Aug 2015 21:21:50 +0000 (UTC) (envelope-from daveyostcom@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9D491F3D for ; Mon, 24 Aug 2015 21:21:49 +0000 (UTC) (envelope-from daveyostcom@gmail.com) Received: by pacti10 with SMTP id ti10so32459740pac.0 for ; Mon, 24 Aug 2015 14:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=Qba61QOoMBFc4mhAfL4uLCuEttb+svkFisOuXPFVwDo=; b=IP7NcfVtVr7uQPk6wuXb02AtEC29BPtMulVfQPT5Tsq5rmjEXGrTNWJS9ZFM8DuD1C 4xbtbY4vrFrZU5ABbakOxdF8xB+Tbnx46JkPuJFef38nLnCzTH1AydroumlYcl72kbC+ 8RRYNOZgxzWVIpjo2SDAHRedRVEa4m6uRtyuv8l+SVA0i+sZNyrOktcbWBIjt926VHIb nRlrgNj8lp1pSG0qYrdlS+5E+7VYupvJWgBQBEcLYy7raMb4r5DY5tkw+n1lv+yBwoY+ CrVsxO+/aUJqbHPD7RteaLXCD+lk36clV+WXA6dlN4WUL7xI8KGV7xA/AF7OR9gNp3uv 6B8w== X-Received: by 10.68.131.106 with SMTP id ol10mr49925796pbb.94.1440451309516; Mon, 24 Aug 2015 14:21:49 -0700 (PDT) Received: from [192.168.1.2] (c-24-6-132-239.hsd1.ca.comcast.net. [24.6.132.239]) by smtp.gmail.com with ESMTPSA id cr6sm7476704pdb.17.2015.08.24.14.21.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Aug 2015 14:21:48 -0700 (PDT) Sender: Dave Yost From: Dave Yost X-Google-Original-From: Dave Yost Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: ncurses, terminfo Message-Id: <710D1B00-7E4B-47B9-B330-46696D905056@yost.com> Date: Mon, 24 Aug 2015 14:21:47 -0700 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: Mon, 24 Aug 2015 21:21:50 -0000 Hi. I know I=E2=80=99m 30 years too late, but what the heck. There should be standard named colors for prompt echoed stdin stdout stderr Shells and other interactive programs and terminal emulators could be = modified to use these named colors. The color name =E2=80=9Cbold=E2=80=9D = is not adequate. Thanks From owner-freebsd-questions@freebsd.org Mon Aug 24 21:29: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 D12C09C21C9; Mon, 24 Aug 2015 21:29:23 +0000 (UTC) (envelope-from ascherrer@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c: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 69A392ED; Mon, 24 Aug 2015 21:29:23 +0000 (UTC) (envelope-from ascherrer@gmail.com) Received: by wicja10 with SMTP id ja10so83652475wic.1; Mon, 24 Aug 2015 14:29:22 -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=AjTIo/RuVxYQ4NppIh7+r2j7Gpycb0t/kjKLrOZQ680=; b=HOvdmbbnqEyLbfoT44ZUEm5mO3iaH7826QimeDbQ0QU93LTwaKsvH4AIgzjKVSn/nm ElEM0NQqoRZdtYHKzcpijsZmOcdsQEJcFqxztJ+XqddLv0GKFHlHJ5wlOPlj5qE3OLzS kOpfMfQlVhlRVh65BhgfiGpPciNo9ONNZsDm0/2e+Oek2weZKMaSib0KVPQCRy1oxONF 4UGBXOHT3dUmukPWYvBTY6YlQFL9vDFSfMtJqDdy2198bZtyCDu48t+fxio3OhfL164n kCSmG6gAXwuRhVmtSIcSUzcS6iPiMSBVBvfyIaPnhWEGnCbrsq7KL/DXjxvPDlVVl4/p Exaw== X-Received: by 10.194.77.244 with SMTP id v20mr46947178wjw.122.1440451761998; Mon, 24 Aug 2015 14:29:21 -0700 (PDT) Received: from manzana.hws.homeip.net ([2001:470:b71d:0:225:ff:fef2:447f]) by smtp.gmail.com with ESMTPSA id fk8sm5885700wib.22.2015.08.24.14.29.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2015 14:29:20 -0700 (PDT) Message-ID: <55DB8CAF.8040608@gmail.com> Date: Mon, 24 Aug 2015 23:29:19 +0200 From: andreas scherrer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org CC: Ian Smith , freebsd-ipfw@freebsd.org Subject: Re: ipfw's "via" rule option/match pattern References: <20150821013137.E8515@sola.nimnet.asn.au> In-Reply-To: <20150821013137.E8515@sola.nimnet.asn.au> 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, 24 Aug 2015 21:29:24 -0000 > In freebsd-questions Digest, Vol 585, Issue 3, Message: 9 > On Wed, 19 Aug 2015 00:41:35 +0200 andreas scherrer wrote: > > When I run a quick test, sending one ICMP echo request from > > 192.168.32.10 to 192.168.38.17 (two devices communicating via the box > > that has the "count" rules listed below configured), I get the following > > result: > > A good set of tests for all combinations. Something else I saw recently > made me doubt that my own understanding of this was correct, and your > tests seem to confirm that I've been misadvising people for, oh, the > best part of 10 years .. here's the code, which I've checked hasn't > functionally changed at all since 2012, and little from 2002 with > Luigi's first ip_fw2.c (tabs lost): > > case O_RECV: > match = iface_match(m->m_pkthdr.rcvif, > (ipfw_insn_if *)cmd, chain, &tablearg); > break; > > case O_XMIT: > match = iface_match(oif, (ipfw_insn_if *)cmd, > chain, &tablearg); > break; > > case O_VIA: > match = iface_match(oif ? oif : > m->m_pkthdr.rcvif, (ipfw_insn_if *)cmd, > chain, &tablearg); > break; > > iface_match() (qv) does the test vs iface name or IP address, returning > 1 on a match, but begins by returning 0 if the passed interface is NULL. > In the case of O_VIA, if the outside iface is specified then that iface > (only) is tested; the rcvif is only checked if there's NO out iface. > > This directly contradicts what I've been telling myself and others for > years :( I guess what's amazing is that nobody who'd know better ever > pulled me up on such statements, increasing confidence in wrongness :) > > > ----- > > When 192.168.38.17 does not answer the ping: > > 00350 2 168 count icmp from 192.168.32.10 to 192.168.38.17 recv re0.32 > > 00350 0 0 count icmp from 192.168.38.17 to 192.168.32.10 recv re0.38 > > 00351 1 84 count icmp from 192.168.32.10 to 192.168.38.17 in recv re0.32 > > 00351 0 0 count icmp from 192.168.38.17 to 192.168.32.10 in recv re0.38 > > 00352 1 84 count icmp from 192.168.32.10 to 192.168.38.17 out recv re0.32 > > 00352 0 0 count icmp from 192.168.38.17 to 192.168.32.10 out recv re0.38 > > 00355 1 84 count icmp from 192.168.32.10 to 192.168.38.17 via re0.32 > > 00355 0 0 count icmp from 192.168.38.17 to 192.168.32.10 via re0.38 > > 00356 1 84 count icmp from 192.168.32.10 to 192.168.38.17 in via re0.32 > > 00356 0 0 count icmp from 192.168.38.17 to 192.168.32.10 in via re0.38 > > 00357 0 0 count icmp from 192.168.32.10 to 192.168.38.17 out via re0.32 > > 00357 0 0 count icmp from 192.168.38.17 to 192.168.32.10 out via re0.38 > > 00358 1 84 count icmp from 192.168.32.10 to 192.168.38.17 out recv re0.32 xmit re0.38 > > 00358 0 0 count icmp from 192.168.38.17 to 192.168.32.10 out recv re0.38 xmit re0.32 > > > > When 192.168.38.17 does answer the ping: > > 00350 2 168 count icmp from 192.168.32.10 to 192.168.38.17 recv re0.32 > > 00350 2 168 count icmp from 192.168.38.17 to 192.168.32.10 recv re0.38 > > 00351 1 84 count icmp from 192.168.32.10 to 192.168.38.17 in recv re0.32 > > 00351 1 84 count icmp from 192.168.38.17 to 192.168.32.10 in recv re0.38 > > 00352 1 84 count icmp from 192.168.32.10 to 192.168.38.17 out recv re0.32 > > 00352 1 84 count icmp from 192.168.38.17 to 192.168.32.10 out recv re0.38 > > 00355 1 84 count icmp from 192.168.32.10 to 192.168.38.17 via re0.32 > > 00355 1 84 count icmp from 192.168.38.17 to 192.168.32.10 via re0.38 > > 00356 1 84 count icmp from 192.168.32.10 to 192.168.38.17 in via re0.32 > > 00356 1 84 count icmp from 192.168.38.17 to 192.168.32.10 in via re0.38 > > 00357 0 0 count icmp from 192.168.32.10 to 192.168.38.17 out via re0.32 > > 00357 0 0 count icmp from 192.168.38.17 to 192.168.32.10 out via re0.38 > > 00358 1 84 count icmp from 192.168.32.10 to 192.168.38.17 out recv re0.32 xmit re0.38 > > 00358 1 84 count icmp from 192.168.38.17 to 192.168.32.10 out recv re0.38 xmit re0.32 > > ----- > > > > According to the statement in [4] I would expect rule 357 to match... > > Yes; [4] is clearly wrong in this respect. 'out via' does NOT check the > receive interface if the transmit interface is known. Thank you for your effort! I finally understand what I am doing here! Awesome! To be honest I was looking for the code you pasted but was not able to find it. Now I know where to look. In summary I think it would be reasonable to advise people to *not* use "via" in combination with "in" or "out". "in via $if" => "in recv $if" "out via $if" => "out xmit $if" Unless there can be outgoing packets without an xmit interface; but I don't see what those would be good for. Still looking for a use case for "via" (there must be a reason it exists, right?) "via" seems to make more sense when used *without* "in"/"out". "via $if" matches packets that are either incoming on $if or outgoing on $if. The most prominent use case that comes to my mind for that would be NAT (hiding an RFC 1918 network): nat X ip4 from any to any via $if Assuming the above is correct and that I wanted to tackle the issue of rewriting the ipfw handbook section: how would I do that (i.e. how to submit a new version)? Best regards andreas From owner-freebsd-questions@freebsd.org Mon Aug 24 22:09: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 88E3A9C104E for ; Mon, 24 Aug 2015 22:09:32 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5973118CE for ; Mon, 24 Aug 2015 22:09:32 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: by iodv127 with SMTP id v127so165562131iod.3 for ; Mon, 24 Aug 2015 15:09:31 -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=QYDB3MJ0qdfjTsfo6lyONPCrKvI7l0FtbAsCX2n/fs0=; b=j6EDGaYaEIHhhFxIp2s14CH9r+a8ghLjSju090qqR/uO99t+Zq0/eTYoF1wBBe9OvO AWOpyD9fYLL5Iu0VawLLt6tBsbw2BF8ysEBErkXZDL+I+4mFd255/vRYo3Us3GWX+mkI qu0ZstaKNVffkKEc3KFp3IY3U2EOQMhorVZfgM/B3dk9/ZTxSUILuhmrcklKOZd6nA44 OU8lhAI91zWk+KM72QNd+CFE8qrxyZTkDwd8H1Qh24oxx9lslYz+V+gZ8Wc808ZVN3Qe 0pn9FDV9J5ziYl5LjIYlJZ9EJmWRVek+DpBbpdlu+JQue0psT97MWEuwY7BZqBBvGgQ8 VXjw== MIME-Version: 1.0 X-Received: by 10.107.133.213 with SMTP id p82mr27314311ioi.71.1440454171858; Mon, 24 Aug 2015 15:09:31 -0700 (PDT) Received: by 10.79.107.151 with HTTP; Mon, 24 Aug 2015 15:09:31 -0700 (PDT) Date: Mon, 24 Aug 2015 15:09:31 -0700 Message-ID: Subject: openssh with HPN patches over a high BDP link From: Chris Stankevitz To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 22:09:32 -0000 I use ssh over a high-BDP WAN link (BDP=1MByte). tcpdump shows I am TCP window limited with a max bytes-in-flight of ~64 KBytes (too small). I am using the command "# cat /dev/urandom | ssh root@host 'cat > /dev/null'" Q: Is it true that FreeBSD's base openssh is built with the HPN ssh patches? (I believe it is true given changelogs and references in sshd_config) Q: If HPN is indeed enabled, can anyone explain my abysmally small TCP window? Over the same link with iperf the window opens at ~30 KBytes/sec until it reaches ~500 KBytes Thank you, Chris From owner-freebsd-questions@freebsd.org Mon Aug 24 22:15: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 D1E0D9C139C for ; Mon, 24 Aug 2015 22:15:26 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001: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 A5AF11D48 for ; Mon, 24 Aug 2015 22:15:26 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: by igbjg10 with SMTP id jg10so73245120igb.0 for ; Mon, 24 Aug 2015 15:15:26 -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=PpTJucLZNtAn93v3ZucD1xp4f0w70bjoPWGBJOLPC8g=; b=KpVPcIpPZomjG/U4LTrn4jZmjA/4tjEyiLGw9uaS/5LgVPOB5MB/1i7od4qAlvr9xr qlCd1nw4S4CXsfFBFq203PG9pjj18a5Q6L3SPqDieqYdwRO0kBOMvdKm4WDk7O33h09n mcN0wSJeBgnXcYjpkQOezP2cwQ1EqJmvmfPNnHtEcP/95GlcualMW0ykHjtA2VS7OXSl WXuaT6LWgV3MV0BBOgYFE08TSUYAF6lOMSFxkL8WKYxuoOUAU4/BTYUmfi7RG0ijEBeD bT0tvD9SDcx1v5Y4ucFRvzsbUtGw7D5/j3KuF7sw36csZPVlKeupN9m1S0/41jy+jI+6 yy0A== MIME-Version: 1.0 X-Received: by 10.50.141.201 with SMTP id rq9mr4829183igb.4.1440454526106; Mon, 24 Aug 2015 15:15:26 -0700 (PDT) Received: by 10.79.107.151 with HTTP; Mon, 24 Aug 2015 15:15:26 -0700 (PDT) In-Reply-To: <20150824214252.53aa04c6.freebsd@edvax.de> References: <20150824214252.53aa04c6.freebsd@edvax.de> Date: Mon, 24 Aug 2015 15:15:26 -0700 Message-ID: Subject: Re: Stop using a SATA drive From: Chris Stankevitz To: Polytropon Cc: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 22:15:26 -0000 On Mon, Aug 24, 2015 at 12:42 PM, Polytropon wrote: > Ye olde atacontrol had a "detach" option. Its equivalent > is "camcontrol stop" which you have discovered. This should > be sufficient. > > However, I'm doing this with SATA and external USB disks > a lot: Issue "sync", call umount, give it some seconds > to actually complete (!) those tasks, and then power it > off (external power supply off for USB, combined plug > removed from SATA disk). No problems so far. Polytropon, Thank you. I've been doing the same... but I assumed/hoped there was more I could do. I also shutdown smartd before pulling the drive, and start smartd afterwards. I hope there are not others. ("hope" is a common theme here... which is why I'm writing to the list) I didn't know that the heads were parked when the power is cut... but that is a relief to hear. Thanks again, Chris From owner-freebsd-questions@freebsd.org Mon Aug 24 22:29:00 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 07FF39C19AA for ; Mon, 24 Aug 2015 22:29:00 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [54.72.43.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FC2512C6 for ; Mon, 24 Aug 2015 22:28:58 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.171] (89-27-2-202.bb.dnainternet.fi [89.27.2.202]) (authenticated bits=0) by mail.kronometrix.org (8.14.9/8.14.9) with ESMTP id t7OMaNmC084608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 24 Aug 2015 22:36:26 GMT (envelope-from sparvu@kronometrix.org) Reply-To: sparvu@kronometrix.org To: freebsd-questions@freebsd.org From: Stefan Parvu Subject: FreeBSD 10.2 custom unattended installation Organization: kronometrix.org Message-ID: <55DB9A9E.8020804@kronometrix.org> Date: Tue, 25 Aug 2015 01:28:46 +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: 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, 24 Aug 2015 22:29:00 -0000 Hi, We are planning to use FreeBSD + Kronometrix [1] as a ready image. For that we are planning to modify the original ISO image and add our own software to it. We want users to perform a basic FreeBSD installation from the ISO image CD or USB, but answering to some questions only, not all. For example, we want to ask interactively: * the keymap * the networking configuration * the storage ZFS by default (because we dont know the customer storage) * and the root password the rest being automated. I understood we need to modify the original ISO by adding our bits. Some questions: 1. Should we create a /etc/installerconfig file, where we shall have our config ? 2. Should we define there something like ... DISTRIBUTIONS="kernel.txz base.txz kronometrix.txz" bsdinstall keymap bsdinstall netconfig bsdinstall zfsboot #!/bin/sh echo "Running post installation" 3. Can we run interactive and non-interactive tasks withing the installerconfig file ? Where is this documented ? bsdinstall seems short in explanations and descriptions regarding this part. [1] - www.kronometrix.org Many thanks, -- Stefan Parvu From owner-freebsd-questions@freebsd.org Mon Aug 24 22:33: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 3DB239C1CBC for ; Mon, 24 Aug 2015 22:33:46 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm17-vm1.bullet.mail.ir2.yahoo.com (nm17-vm1.bullet.mail.ir2.yahoo.com [212.82.96.216]) (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 8E7C31745 for ; Mon, 24 Aug 2015 22:33:44 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1440455496; bh=8LHnuoUrzQkwLTyraIRXD6TnoSGIyXTafFCknIqNBM8=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=Tf/Be+mKfhFiT7RYerrqbMPfaBJpcp5Czq/MUL/jLJbglQr2uF78peq2dyL6bEEqjgxQILOwL5fNP1cwdH0NGZx3V0lzeBcj4tFeqwE8VPpaMC/f69SZtB+YwvRXS6H9Ub1TGCRVr7ff5ckhFW2xJ0Tm90JLUNgEsR2AGNap3dWfnLw1VnAlkKosbwMUxE8VOGgzjhvbZpcfD8gjrxnNyoyZBvJOJRG2qqafZykZWIoo5i2zNyLJaO7rCqppythJMOslSDss8CA3cXY1Q+U7v/ZkFgIcQByGORV2Cm8PNrVKH0kufErFm1CuhWEnHG/9V7Vu3+vHSVI5FZsBYBKmJA== Received: from [212.82.98.57] by nm17.bullet.mail.ir2.yahoo.com with NNFMP; 24 Aug 2015 22:31:36 -0000 Received: from [46.228.39.82] by tm10.bullet.mail.ir2.yahoo.com with NNFMP; 24 Aug 2015 22:31:36 -0000 Received: from [127.0.0.1] by smtp119.mail.ir2.yahoo.com with NNFMP; 24 Aug 2015 22:31:36 -0000 X-Yahoo-Newman-Id: 559781.5848.bm@smtp119.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: of5v4AQVM1lJr5ZqUmhA27zZ90OE7Fz370mSus1dFbay3_K dnYfvBNmPS.uLAU6t_nGF9EGBacdcwyTaERSdE.dNTOcC63KFukWG0myFsZF e6gQz6H43kT4x1_GM44U63_gG_7i3K1e8ft5QQR2DSJiSZOgcq2j1PFvIb.a VRWJ_RLi4T5ufj.j3NLQllQuyvbAQAYSHqrsmn4Fy_xaNCeovippp9qeq_Wm 2o_zM.bNoDmfzsFIXL89KeuSWLfKDjJKw_rfbMvMqZC1pHv_avxtLdT2o.y3 WjCqAdRxbDjdGF3CTPnewGnSBloA.C5l53tk4ydFtwkkEzKh9rKWQW2NM5w_ A1RNHLgdG_I12ANSdNuYzN2M5P08jfZaXtJMYnuVCWBUEYv8TLG2oXzjkAdv Oxkq7mKqj65qpwwpz7.9.MQ.9dDz8xV4iNrcdONRjWZ3vCk2IIai3m2CUFiD Icdepj8BDw8qq0eaZ7QWJkqxBpjEYnmghGY5O.tiaa9SZ.Q2UFmbUouHqMRI eP2llr3B.2t875Qdh2q9LwdK8d2ZJvN8- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Tue, 25 Aug 2015 00:31:35 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: [Bulk] Re: Stop using a SATA drive Message-ID: <20150825003135.48defc18@moonstudio> In-Reply-To: References: <20150824214252.53aa04c6.freebsd@edvax.de> X-Mailer: Claws Mail 3.12.0-43-g278084-dirty (GTK+ 2.24.28; x86_64-weremouse_ubuntu_moonstudio-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 22:33:46 -0000 On Mon, 24 Aug 2015 15:15:26 -0700, Chris Stankevitz wrote: >I didn't know that the heads were parked when the power is cut... but >that is a relief to hear. I own a around 40 MiB SCSI for an Atari from the late 80s. I simply turn of the power without sending a command first. So seemingly drives must be older than from the late 80s, to not provide automatically parking. Regarding the SATA Wiki, SATA was created in 2003. Unlikely that a SATA without automatically parking existed/exists. From owner-freebsd-questions@freebsd.org Mon Aug 24 22:37: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 3B2669C1F06 for ; Mon, 24 Aug 2015 22:37:37 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm28-vm5.bullet.mail.ir2.yahoo.com (nm28-vm5.bullet.mail.ir2.yahoo.com [212.82.97.65]) (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 8AAC9194A for ; Mon, 24 Aug 2015 22:37:36 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1440455747; bh=igdUsj7Wu/1TXRw+8XJHVfTEZTobt4R5WHDrgHEyIew=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=nNRuTE23a8mkmZk59s+AjR1R/LCoHJl39Ttk7Zd4H1SyuUgDvPPG1K2KKGUflO/fQHbmP9dov759lLk5G8z9fbNuRx3qMmxgmF+KGzOFQJ+4M3hf1Xj8xF/0l7EnFp4bQ1145PsCKLvGL7demJYZAzbqQ+O8yCYIso0CX8OXj1wL7M6N5rAWKLBJwo28U2mVXXEJ52QSAkv846XmM7hKf5qM82yIc7nr4hpKCVmxDZ3fEd87b6QjPaodn9ikcjLb97JeQd7fGqD7YiMlExqVO9EPapx9l3tfRLj3q36TpEYHN/URyLcnCLDxfT68XCNmhGQyZSIGvp2xjnk/X5qP0g== Received: from [212.82.98.126] by nm28.bullet.mail.ir2.yahoo.com with NNFMP; 24 Aug 2015 22:35:47 -0000 Received: from [46.228.39.80] by tm19.bullet.mail.ir2.yahoo.com with NNFMP; 24 Aug 2015 22:35:47 -0000 Received: from [127.0.0.1] by smtp117.mail.ir2.yahoo.com with NNFMP; 24 Aug 2015 22:35:47 -0000 X-Yahoo-Newman-Id: 792881.65850.bm@smtp117.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 0kTQDqQVM1mZwgTvyt7oPyDTLRe76ky9CK9VNQJE1s2et7I Wt_1iEjbPEdMeZZY1ZYPDvwkqPYHqRullZd_dGitwUSyiiHPdj37JRvi_PrG Ams6g5kNJPDsbBiBlV4px1wME25LjC7gzsghM6qYxD5FtUZ8hU0AXRj3Ufkd eE7EoPZXGL6UBQKX.BaYDFhndtne9bvmAQMFdx8QlX8PVC45QvnDa9XNvQXF fIX718IxauQYiBgSNIMGwXjYxbXlHZ6cgK1bHrvjaBydmCsoXYJrSq6tscvE lj092FAgfaT.V_xId8iI3SP5UGvueE.7eFkL7ZBx2eH.HHcTECyi4XhQanld OekYtsPW6ooYlSMuEuU4L_rGZ5mMyaFSuNsOvy0IejBePdcYsfi13yru8Q96 En5bSgEEKKCYCa2Km4g.fIRFQRS8TrWWLl_ZnHPq2X0649yfpFxPVR5yChhg aRxGf5pf7jW8QCB.FthleduewULAITq2L.l1Librl7LY2ZEqacbVOMWInE7i xYkSH4oZUrt9MRHrxkOpZ79D_D.HbjiB5rX98AX_ab0Ru.iLNng_.HWMx6d5 O4dCL24I- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Tue, 25 Aug 2015 00:35:46 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: [Bulk] Re: Stop using a SATA drive Message-ID: <20150825003546.74884e1c@moonstudio> In-Reply-To: <20150825003135.48defc18@moonstudio> References: <20150824214252.53aa04c6.freebsd@edvax.de> <20150825003135.48defc18@moonstudio> X-Mailer: Claws Mail 3.12.0-43-g278084-dirty (GTK+ 2.24.28; x86_64-weremouse_ubuntu_moonstudio-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 22:37:37 -0000 On Tue, 25 Aug 2015 00:31:35 +0200, Ralf Mardorf wrote: >On Mon, 24 Aug 2015 15:15:26 -0700, Chris Stankevitz wrote: >>I didn't know that the heads were parked when the power is cut... but >>that is a relief to hear. > >I own a around 40 MiB SCSI for an Atari from the late 80s. ^^^^^^^^^^^^^^ or early 90s? >I simply turn of the power without sending a command first. So >seemingly drives must be older than from the late 80s, to not provide >automatically parking. Regarding the SATA Wiki, SATA was created in >2003. Unlikely that a SATA without automatically parking >existed/exists. From owner-freebsd-questions@freebsd.org Mon Aug 24 23:47: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 9B61B9C17B5 for ; Mon, 24 Aug 2015 23:47:04 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F73E1BAF for ; Mon, 24 Aug 2015 23:47:04 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by iods203 with SMTP id s203so167884899iod.0 for ; Mon, 24 Aug 2015 16:47:03 -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=0zo99U0XA4MGWtHy7Q1nfVvSZ7w1IZ3MOs837MENPkI=; b=WWSBk4tZEt5QfZyGJlf7xEFG2JpCT8NNO3w+sd8LMAUi2hriDwjyVJu0C3L952cAco GcAX0Ywe6abdWmjUNPMfVCbUT6MzmQj4CQe4mi7tuPgYUexy+P2hgmIJyjDQ7If9yEDP 3aEwLBHcOQMrXPgXzVYLsv4yWdvYD+zoo30fDA/kefZ7nYHYpR/GjqQTTyS8GWaE1eyJ EodAaRWIx1xIcb0J6ucIHaQmxOVxQ+sQQbKymsT3hRMWbPa2SJJvCKd8IGs2ZaOSs4KT AucQ5sRm/7ztRQJxUgYyBLFYSWFEcfKLo+w9a8JR67rS74eOUuXOOAVpJZouTz6/8Z17 110g== MIME-Version: 1.0 X-Received: by 10.107.130.153 with SMTP id m25mr20311172ioi.192.1440460023700; Mon, 24 Aug 2015 16:47:03 -0700 (PDT) Received: by 10.65.15.33 with HTTP; Mon, 24 Aug 2015 16:47:03 -0700 (PDT) In-Reply-To: <20150825003135.48defc18@moonstudio> References: <20150824214252.53aa04c6.freebsd@edvax.de> <20150825003135.48defc18@moonstudio> Date: Mon, 24 Aug 2015 16:47:03 -0700 Message-ID: Subject: Re: [Bulk] Re: Stop using a SATA drive From: Mehmet Erol Sanliturk To: Ralf Mardorf 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: Mon, 24 Aug 2015 23:47:04 -0000 On Mon, Aug 24, 2015 at 3:31 PM, Ralf Mardorf wrote: > On Mon, 24 Aug 2015 15:15:26 -0700, Chris Stankevitz wrote: > >I didn't know that the heads were parked when the power is cut... but > >that is a relief to hear. > > I own a around 40 MiB SCSI for an Atari from the late 80s. I simply > turn of the power without sending a command first. So seemingly drives > must be older than from the late 80s, to not provide automatically > parking. Regarding the SATA Wiki, SATA was created in 2003. Unlikely > that a SATA without automatically parking existed/exists. > _______________________________________________ > > For the MFM disks , it was necessary to park the heads with a program execution before shut down the system . Later on , IDE disks removed this manual operation , i.e. , parking become automatic . Mehmet Erol Sanliturk From owner-freebsd-questions@freebsd.org Mon Aug 24 23: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 53BE59C18D3 for ; Mon, 24 Aug 2015 23:48:19 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) (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 28C6F1CDE for ; Mon, 24 Aug 2015 23:48:18 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: by iodb91 with SMTP id b91so167233863iod.1 for ; Mon, 24 Aug 2015 16:48:12 -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:from:date :message-id:subject:to:content-type; bh=O6RZwy+kJEOgkutQacU/6P+wwFYyWlwO9Uw/iaeVG3E=; b=kJMPB7CbKRMyZhTw7EUJfFK5ujSFdXIVw6Ed1Rp1GaPRnP2Zhpb5spjkYpm5mb0VxD sZaZtsne8cB46PJIyps5iR9vs5X/aQBl42LF/WQZPF2Vs19SZa0dWFxUS80Ir3NQbTdH kE6dkwo4aop6hYC552VlCCZrFFF4XjkqQTvVDKpCJEJPFNNaa7Wa84e/ut3enaAD6DOO 6WokhPxn++T+ZAtezhewR3oQzXYRnQ4DNWHSG11U09cCsmH7EBLAbUTkSFUIOOcy7xR2 iwSv8VwqVGNSBsBqm9zDkJgMsLIshXMw9poh5joIx2TEmYGSLxfuw/ytcupA4smbIX8v 4ZyA== X-Gm-Message-State: ALoCoQl0tFmFjwtau6bO/mnw3OLLZu1EfOkI88ZD4AcBWF73muSFDLxGZPrLgd63fm34I0oQB1NxcQCbBbosORQgfWbNc9OfuaIcNZ19Pn82sN2j15Y3aj4Qewx9fDd5ci/eqpHje4E+ X-Received: by 10.107.134.224 with SMTP id q93mr15275179ioi.101.1440460092480; Mon, 24 Aug 2015 16:48:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.135.162 with HTTP; Mon, 24 Aug 2015 16:47:52 -0700 (PDT) In-Reply-To: <55D6466F.9070200@FreeBSD.org> References: <55D6466F.9070200@FreeBSD.org> From: Jaime Kikpole Date: Mon, 24 Aug 2015 19:47:52 -0400 Message-ID: Subject: Re: Strange SFTP and PAM failure To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 23:48:19 -0000 On Thu, Aug 20, 2015 at 5:28 PM, Matthew Seaman wrote: > Do you know what JDK is being used? Thanks for the reply, Matt. Sadly, the PowerSchool service is run on a server that I don't have access to. I have no way of knowing which JDK, so I'll have to ask their phone support. I don't know much about Java. Is the JDK something used to compile the code or something that is installed (and upgraded) on the server running the code? -- Jaime Kikpole Network Administrator Cairo-Durham Central School District Technical Support: help@cairodurham.org go.cairodurham.org/techtips -- This electronic message and any attachment(s) may contain confidential or legally privileged information protected by law from further disclosure and is intended only for the individual or entity identified above as the addressee. If you are not the addressee (or the employee or agency responsible to deliver it to the addressee), or if this message has been addressed to you in error, you are hereby notified that you may not copy, forward, disclose or use any part of this message or any attachment(s). Please notify the sender immediately by return email or telephone and permanently delete this message and attachment(s) from your system. From owner-freebsd-questions@freebsd.org Tue Aug 25 02:51: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 F02519C20E2 for ; Tue, 25 Aug 2015 02:51:26 +0000 (UTC) (envelope-from gregory.orange@calorieking.com) Received: from pandora.au.calorieking.net (mail.au.calorieking.net [115.70.179.114]) (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 97BF587D for ; Tue, 25 Aug 2015 02:51:25 +0000 (UTC) (envelope-from gregory.orange@calorieking.com) Received: from pandora.au.calorieking.net (localhost [127.0.0.1]) by pandora.au.calorieking.net (Postfix) with ESMTP id B95E98 for ; Tue, 25 Aug 2015 10:44:45 +0800 (WST) X-Virus-Scanned: amavisd-new at calorieking.com Received: from pandora.au.calorieking.net ([127.0.0.1]) by pandora.au.calorieking.net (mail.au.calorieking.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oGcWVwTifb_R for ; Tue, 25 Aug 2015 10:44:45 +0800 (WST) Received: from egeria.internal (egeria.au.calorieking.net [192.168.2.111]) by pandora.au.calorieking.net (Postfix) with ESMTPSA id 5B7046 for ; Tue, 25 Aug 2015 10:44:45 +0800 (WST) Message-ID: <55DBD69B.3000207@calorieking.com> Date: Tue, 25 Aug 2015 10:44:43 +0800 From: Gregory Orange User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ipfw's "via" rule option/match pattern References: <20150821013137.E8515@sola.nimnet.asn.au> <55DB8CAF.8040608@gmail.com> In-Reply-To: <55DB8CAF.8040608@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: Tue, 25 Aug 2015 02:51:27 -0000 On 25/08/15 05:29, andreas scherrer wrote: >> In freebsd-questions Digest, Vol 585, Issue 3, Message: 9 >> Yes; [4] is clearly wrong in this respect. 'out via' does NOT check the >> receive interface if the transmit interface is known. > > In summary I think it would be reasonable to advise people to *not* use > "via" in combination with "in" or "out". > > "in via $if" => "in recv $if" > "out via $if" => "out xmit $if" I am particularly interested to see whether we get some consensus on this. I am reviewing a number of firewall configurations right at the moment, and look to you all for a recommendation on this issue. > Assuming the above is correct and that I wanted to tackle the issue of > rewriting the ipfw handbook section: how would I do that (i.e. how to > submit a new version)? Andreas, it appears from the handbook homepage[1] that one should contact the freebsd-doc@ list[2]. A quick glance at the archives suggests to me that changes are backed onto bugzilla[3]. I am certainly grateful for efforts spent maintaining this excellent handbook. The web is a rich source of helpful content, but having an official, curated handbook from a single source (albeit many authors) is even better. Regards, Greg. [1] https://www.freebsd.org/doc/handbook/ [2] https://lists.freebsd.org/mailman/listinfo/freebsd-doc [3] https://bugs.freebsd.org/bugzilla/ From owner-freebsd-questions@freebsd.org Tue Aug 25 03:42: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 CC65E9C194B for ; Tue, 25 Aug 2015 03:42:58 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [188.227.186.67]) (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 92C9A1DCC for ; Tue, 25 Aug 2015 03:42:58 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [188.227.186.44]) by hub.org (Postfix) with ESMTP id 8E0EB180BE6 for ; Tue, 25 Aug 2015 00:35:26 -0300 (ADT) Authentication-Results: hub.org; dkim=pass reason="1024-bit key" header.d=hub.org header.i=@hub.org header.b=Zo+1laxr; dkim-adsp=pass Received: from hub.org ([188.227.186.67]) by localhost (maia-lon.uk.hub.org [188.227.186.44]) (maiad, port 10024) with ESMTP id 51401-08 for ; Tue, 25 Aug 2015 03:35:26 +0000 (UTC) Received: from [192.168.1.2] (S01067cb21b2ff4ca.gv.shawcable.net [24.108.76.221]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.org (Postfix) with ESMTPSA id 5160C180BDF for ; Tue, 25 Aug 2015 00:35:25 -0300 (ADT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hub.org; s=huborg; t=1440473725; bh=Gakmc4DWz00VOkgkwibkb4ZQJscWXXcN9gtbFQr7BO8=; h=From:Subject:Date:To; b=Zo+1laxrPKePCRxONsyfw0Ng5Cb3SIL+xrN69RqkfRoI5g3cgF7Xe+UGTrF1m2Ntl 6UOXSqKdxUJxA7m9PqS6CZEuiep3sOAQ7zj1HlLvqOhB2j0TsziIIs8MMK54a2qGgH lIRC6HZDh0cmBVwCYIzBMW6Gy0txmxG0Y5U0qWM0= From: Marc Fournier Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Galera Cluster on FreeBSD ... anyone? Message-Id: <035417BB-935A-48EC-A460-FA632772EB62@hub.org> Date: Mon, 24 Aug 2015 20:35:22 -0700 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3083\)) X-Mailer: Apple Mail (2.3083) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Aug 2015 03:42:58 -0000 Is anyone successfully running a cluster on FreeBSD? I=E2=80=99ve got it built, just can=E2=80=99t seem to get a cluster up = and running =E2=80=A6=20= From owner-freebsd-questions@freebsd.org Tue Aug 25 06:39: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 236A999AB44 for ; Tue, 25 Aug 2015 06:39:36 +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 BDB45AA7 for ; Tue, 25 Aug 2015 06:39:35 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7P6dQNA018703 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 25 Aug 2015 07:39:26 +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 t7P6dQNA018703 Authentication-Results: smtp.infracaninophile.co.uk/t7P6dQNA018703; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: Strange SFTP and PAM failure To: freebsd-questions@freebsd.org References: <55D6466F.9070200@FreeBSD.org> From: Matthew Seaman Message-ID: <55DC0D95.80202@FreeBSD.org> Date: Tue, 25 Aug 2015 07:39:17 +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: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jlTti0oFjaFnTgFN9DOik4d86qCwRXv7f" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Tue, 25 Aug 2015 06:39:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jlTti0oFjaFnTgFN9DOik4d86qCwRXv7f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 25/08/2015 00:47, Jaime Kikpole wrote: > On Thu, Aug 20, 2015 at 5:28 PM, Matthew Seaman w= rote: >> Do you know what JDK is being used? >=20 > Thanks for the reply, Matt. Sadly, the PowerSchool service is run on > a server that I don't have access to. I have no way of knowing which > JDK, so I'll have to ask their phone support. >=20 > I don't know much about Java. Is the JDK something used to compile > the code or something that is installed (and upgraded) on the server > running the code? JDK stands for 'Java Development Kit', which is effectively an installation of Java with all the optional bits you need in order to write and then run programs in Java. Think of it as a /full install/ of Java. In contrast to the JRE 'Java Runtime Environment' which is just the core stuff you need to run Java applications. However all I was really asking was what version of Java was being used. The distinction between JRE and JDK is an irrelevant distraction. Cheers, Matthew --jlTti0oFjaFnTgFN9DOik4d86qCwRXv7f 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 iQJ8BAEBCgBmBQJV3A2eXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATFJkQAJatoMuTYSl4cIaG1+wrduD8 phoRB6Rt/llciLNm77fOYR6ub0MY552t/6KweMplyV95/1/xsRcjbs8PeHk9q1+V Zz+SEHwhm1/I5cMoNfWAXobYGRFkUKfguSeQu7FLTctS/pyB5cq+zWDY9/ozgs5g +4cAqoah69pXITygSduRyihItAOfw5hFxNxIeybTeQsC6tOLGG9TauIOkMBYqVA0 urTGNDklNiPq6RJNfweIkSSs6nU7gC+hBTfZoyEnfF5++gP1q1O5qbzw3HlwRo/u P8dFDUWdWPnFS9LZW0zTIZIX/DMZ3AmRoLTJQY2uw9Gho//9WkK8MaGKud4Oom1U +YxBJouyIp2WRBSKBOdLCj72OLEb0cUwwRwsu5a8FB2swFs5u/7UnzJDczIcTDk7 dG2cCIBOJyh+wQZuNmj3ULBJ11sp7s+3mB87wwhGdRPyq53mhbOocrVS97FFrnG3 7+n6oDTLeiJIScqYqbKkYpG7Qh4DiTzEwVvXwDqNj8v79eRktxMtZu8l/yM6TIjr NHoODIBz47XYkpE73w3AMmfA+cQI4HE18zCWP5LqJrA5e1dM+7Sl9occmWa7VX15 fEF2upWcj21++ApHEuwfWurOMDuTShoKL79nyMUQljlEsZUFD65cjAvCAjJV1Sv3 I4bODOGBmxun/PN3hA9o =ifTf -----END PGP SIGNATURE----- --jlTti0oFjaFnTgFN9DOik4d86qCwRXv7f-- From owner-freebsd-questions@freebsd.org Tue Aug 25 09:58: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 6C05199A305 for ; Tue, 25 Aug 2015 09:58:39 +0000 (UTC) (envelope-from zhup@tutamail.com) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 5B63732A for ; Tue, 25 Aug 2015 09:58:39 +0000 (UTC) (envelope-from zhup@tutamail.com) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 519B413EDEB6 for ; Tue, 25 Aug 2015 02:56:27 -0700 (PDT) Date: Tue, 25 Aug 2015 02:58:38 -0700 (MST) From: zhup To: freebsd-questions@freebsd.org Message-ID: <1440496718919-6034932.post@n5.nabble.com> Subject: How to minimize the number of writes to CF card? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 09:58:39 -0000 Hello, I am going to install Freebsd on CF card and my question is: how to minimize the number of writes to CF card? Thank you in advance for your help. -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-to-minimize-the-number-of-writes-to-CF-card-tp6034932.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@freebsd.org Tue Aug 25 10:13: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 C14B899AAF0 for ; Tue, 25 Aug 2015 10:13:32 +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 4F11762A for ; Tue, 25 Aug 2015 10:13:32 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7PADO99023869 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 25 Aug 2015 11:13:24 +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 t7PADO99023869 Authentication-Results: smtp.infracaninophile.co.uk/t7PADO99023869; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: How to minimize the number of writes to CF card? To: freebsd-questions@freebsd.org References: <1440496718919-6034932.post@n5.nabble.com> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55DC3FBD.8080102@FreeBSD.org> Date: Tue, 25 Aug 2015 11:13:17 +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: <1440496718919-6034932.post@n5.nabble.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="85pBDQNX6vLta32EJtK3Fa2AfwnN7U2aJ" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Tue, 25 Aug 2015 10:13:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --85pBDQNX6vLta32EJtK3Fa2AfwnN7U2aJ Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/25 10:58, zhup wrote: > I am going to install Freebsd on CF card and my question is: > how to minimize the number of writes to CF card? Mount it read-only? Less facetiously, make sure you mount any partitions or ZFSes on it with atime=3Dno -- otherwise it will attempt to update some file metadata ever= y time you /read/ a file. Other than that, writing to the filesystem on your compact flash card should only happen when you intentionally write to a file. This includes using various applications that do things creating a temporary save of a work in progress every few minutes so that you don't lose all your work in the event of a crash. Mind you, a good flash drive nowadays should have a lifetime at least comparable to and in some cases better than a spinning hard drive. Cheers, Matthew --85pBDQNX6vLta32EJtK3Fa2AfwnN7U2aJ 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 iQJ8BAEBCgBmBQJV3D/EXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnmbIP/jGauC+dQ3sUo9mVmEa4l8Kf 0tdnnOT+zk5Sv1VHNuDK+LdNYixaYpYvfRRl+sTlDq1gAh/TuhQ+2YD9YS0sC9cR MuK0SYFPJC/Aj3BHDAHgG/1pyy+Ua9qlpGTQFVRf/D/nY+dmQIitDizVkQzFYovl qTQRQ2YBn1QuzCsRWuO/lvuEF7tVcbrIF9F17RwXYij9Jt2NuPJ3Rns6HpNRi99p dyYVuXlIlYjt0iUyeZBkPdKXi1Wt0ugzrU129n6AMdqFKY0OFBtWgKSIyj8iKk3d gyHgGYxV0FYruAXJq7Udm3PgOMHunc/rn2Ged39zX8MOS1hIYLns/5wFoC9DJrs3 +sGNcczwjVBbfU3hj7WjbQr611IgnoVPIEuKGTTiyS95Gx7LRv86f3flltTC9nSo ULeuCXe5SKkjzK+ljZS/MsE3GympgtGoTx4Cd+azaZFLUYwYHjGJzZh9BQIANsNV QdnLBQCRh4PJ6I3ebLT6Lmq8IXaDHv9Igxt4guAdJLGTDNBJ72uXbmR8fm5gJBg4 ymFoSd9a9fan8ef2+KR7qpNKHuTi3JO//LO7ZQEm2pEAzc6czG8cd2R0kMfHw06S tIBzEbmFwuIJbBzeyMm6TKfXrnLssNmjNaL7jmkl2xf7nnYtj6WRZeg6fyvNYLJq mfECCfFYMk+JiFbKdBQB =u45a -----END PGP SIGNATURE----- --85pBDQNX6vLta32EJtK3Fa2AfwnN7U2aJ-- From owner-freebsd-questions@freebsd.org Tue Aug 25 11:02: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 2249899A678 for ; Tue, 25 Aug 2015 11:02:24 +0000 (UTC) (envelope-from zhup@tutamail.com) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 11164EB8 for ; Tue, 25 Aug 2015 11:02:23 +0000 (UTC) (envelope-from zhup@tutamail.com) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id D0DEB13EE9A2 for ; Tue, 25 Aug 2015 04:00:10 -0700 (PDT) Date: Tue, 25 Aug 2015 04:02:22 -0700 (MST) From: zhup To: freebsd-questions@freebsd.org Message-ID: <1440500542763-6034941.post@n5.nabble.com> In-Reply-To: <55DC3FBD.8080102@FreeBSD.org> References: <1440496718919-6034932.post@n5.nabble.com> <55DC3FBD.8080102@FreeBSD.org> Subject: Re: How to minimize the number of writes to CF card? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 11:02:24 -0000 My proposal of solution with "noatime" and "softdep" flag: # vi /etc/fstab /dev/sd0a / ffs rw,noatime,softdep 1 1 What to you think about it? -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-to-minimize-the-number-of-writes-to-CF-card-tp6034932p6034941.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@freebsd.org Tue Aug 25 11:38: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 26B4A99D6DF for ; Tue, 25 Aug 2015 11:38:33 +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 8BD50A2D for ; Tue, 25 Aug 2015 11:38:32 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7PBcNbP025474 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 25 Aug 2015 12:38:23 +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 t7PBcNbP025474 Authentication-Results: smtp.infracaninophile.co.uk/t7PBcNbP025474; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: How to minimize the number of writes to CF card? To: freebsd-questions@freebsd.org References: <1440496718919-6034932.post@n5.nabble.com> <55DC3FBD.8080102@FreeBSD.org> <1440500542763-6034941.post@n5.nabble.com> From: Matthew Seaman Message-ID: <55DC53A8.3020508@FreeBSD.org> Date: Tue, 25 Aug 2015 12:38:16 +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: <1440500542763-6034941.post@n5.nabble.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="whbu9B3TKnLE0reoRTv2T8pU3UShkglLX" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Tue, 25 Aug 2015 11:38:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --whbu9B3TKnLE0reoRTv2T8pU3UShkglLX Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/25 12:02, zhup wrote: > My proposal of solution with "noatime" and "softdep" flag: >=20 > # vi /etc/fstab > /dev/sd0a / ffs rw,noatime,softdep 1 1 >=20 > What to you think about it? 'softdep' is not something FreeBSD understands. (I think it's an OpenBSD-ism) Cheers, Matthew --whbu9B3TKnLE0reoRTv2T8pU3UShkglLX 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 iQJ8BAEBCgBmBQJV3FOvXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnOhoP/RjqzUnh911Dz3er6+T+izGb hFKaPS15B9PI0QKlf9k79e+vdmLdgFOQXajbFJMJ+8HRZPp23dkPeRLa6MjNJwvo fPh02aF1QdQ4bjdBeFj+xP6npdEzFfgtN4Q96/lc03hYDxxqz9kDBD3qGt2ci7K1 8zZOl+tazGumytzB7+qezKYxnj4FAIlcmYOt5YXTKwIm41w83O2s1XA3sauuh9GP uzn4L8vi4U35wV5QSajHLc7WAHWDKE6DPMVJUBaQLzSPVMSIQeQGPSTWN78bfohO baltrkNHwRBYh5VIWcrkDQxvIb6KEho8EkaJqsU4yjSxRO0qeczkQiCPQs68e6SZ vCQ5VNv9H+SmVaFgySTI0FA7p22YolVmfkwjX1jlSkm391f5KkDcV6y6dnEPs7gi dQ8onnrcq+Nmf7rtbZ73hTzDmStPX+rLbi9Hnhy7vnZWye3VVe0Tw/oE83fqnHJY 9RMa/5ebUmfcbeB91n5HkIO+Xw5qVzS7oRPTdpQH7jT4lRIontZfBmEG59bnfs46 voSgRMOZ/cbY+Tq5iPStOkyhAszECzSXnZR1CIehRK0gSIlwDsdhjLwfxnpPCdzV eXHvtxmyfecNyI4b7LcbdbxxQzgO8urdCVRhNBf3rJzLXdfoxm82fY4ViIDip9dF 4KHkNAyoVvprUvaN4s/O =v+kE -----END PGP SIGNATURE----- --whbu9B3TKnLE0reoRTv2T8pU3UShkglLX-- From owner-freebsd-questions@freebsd.org Tue Aug 25 11:47: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 16B0F99DA4E for ; Tue, 25 Aug 2015 11:47:04 +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 9B428DB4 for ; Tue, 25 Aug 2015 11:47:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7PBkrwx025629 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 25 Aug 2015 12:46:54 +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 t7PBkrwx025629 Authentication-Results: smtp.infracaninophile.co.uk/t7PBkrwx025629; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: How to minimize the number of writes to CF card? To: freebsd-questions@freebsd.org References: <1440496718919-6034932.post@n5.nabble.com> <55DC3FBD.8080102@FreeBSD.org> <1440500542763-6034941.post@n5.nabble.com> <55DC53A8.3020508@FreeBSD.org> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55DC55AD.9070209@FreeBSD.org> Date: Tue, 25 Aug 2015 12:46:53 +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: <55DC53A8.3020508@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RP5UOcCn3td0qbFhuSuwmC5lDBCaR3rn5" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Tue, 25 Aug 2015 11:47:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RP5UOcCn3td0qbFhuSuwmC5lDBCaR3rn5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/25 12:38, Matthew Seaman wrote: > On 2015/08/25 12:02, zhup wrote: >> My proposal of solution with "noatime" and "softdep" flag: >> >> # vi /etc/fstab >> /dev/sd0a / ffs rw,noatime,softdep 1 1 >> >> What to you think about it? >=20 > 'softdep' is not something FreeBSD understands. (I think it's an > OpenBSD-ism) To clarify: it's not something that FreeBSD understands in fstab(5). You can use tunefs to enable / disable soft updates on a filesystem: tunefs -n enable /dev/sd0a (unmount the FS first) However, I don't think softupdates has much effect on the /number/ or writes made to the filesystem. It's all about re-ordering writes to ensure metadata consistency. Cheers, Matthew --RP5UOcCn3td0qbFhuSuwmC5lDBCaR3rn5 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 iQJ8BAEBCgBmBQJV3FWtXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn1dsP/RMEIdVuDtyKJCSC66Y2L1Mf Ti+XCGz1XZDW9Y/tyDKrJ31sS0t005erKCeGpAixpPdrEmEVj4TWuRlbOXFA5NLY C4pxu/DzgHQEqt6c8zrLXTqk2plEp79o7hc66nA4KNXdWs5C9tJSQGv/ffCecC5I XSHayEXgQPc5aHtlMf492wcjNP7SawCaMtmdV36UONDqnmAu7xMImRUFyJ2d8Cfe 7fCCgwDUQIR6LmgOF5Tf0N9kL0jeCyXSmbLHqfSeA0fRr8K/XWUevIqQY+wW4SF/ nwSoYSt4vpcx9bVgNkqESHTt8xL721eeFyLzgREJoL0eI/pqBAVvZqCJsgOzKg8t Rad16zvVFQJJ5W/dgY14sBH998sUZOeE9QJ7YGITFCzt5mivMmwCLnjTfqlp8Rpy 9RAdoKAkXgpfL415Q4LRmejmpBr75oLA6toiho1LjzREeIkfA/19PEOFfTbZHewA VkQdB+okIkOS4lC0xzWSUX6JuJzM53GzoFQDRt1UE2aRfcRK/wCW/2ECD7WYvp5h PFJissNeukHDWn+WRgiqviDmQvn0q2B5IHvMACFoFRkpDkUasm5wzjIcSk02DTGV P+WFvzcKHPAmW+eg/k1NH/Lf7tfVo44o0d+7hh59YIU1ECb5F8GcEflyNaUMT0rd emUmtdda7jI+8BrjGri7 =QBMJ -----END PGP SIGNATURE----- --RP5UOcCn3td0qbFhuSuwmC5lDBCaR3rn5-- From owner-freebsd-questions@freebsd.org Tue Aug 25 11:55: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 1D24499DEC5 for ; Tue, 25 Aug 2015 11:55:18 +0000 (UTC) (envelope-from zhup@tutamail.com) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 0B70C2F2 for ; Tue, 25 Aug 2015 11:55:17 +0000 (UTC) (envelope-from zhup@tutamail.com) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 47E2613EF48B for ; Tue, 25 Aug 2015 04:53:05 -0700 (PDT) Date: Tue, 25 Aug 2015 04:55:17 -0700 (MST) From: zhup To: freebsd-questions@freebsd.org Message-ID: <1440503717467-6034948.post@n5.nabble.com> In-Reply-To: <55DC53A8.3020508@FreeBSD.org> References: <1440496718919-6034932.post@n5.nabble.com> <55DC3FBD.8080102@FreeBSD.org> <1440500542763-6034941.post@n5.nabble.com> <55DC53A8.3020508@FreeBSD.org> Subject: Re: How to minimize the number of writes to CF card? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 11:55:18 -0000 Thank you for your comment. I found also the "nodiratime" flag, but "nodiratime" is a subset of "noatime", so if the "noatime" is set, there is no need to set "nodiratime". -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-to-minimize-the-number-of-writes-to-CF-card-tp6034932p6034948.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@freebsd.org Tue Aug 25 13:12:52 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 8AA9C99A7C9 for ; Tue, 25 Aug 2015 13:12:52 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4985DEBD for ; Tue, 25 Aug 2015 13:12:52 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by qkch123 with SMTP id h123so93874655qkc.0 for ; Tue, 25 Aug 2015 06:12:51 -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:content-transfer-encoding; bh=S8jbnnOo7IuNltANc96KYMOttweY6MqRsasfvSJS4Kk=; b=AyrgJTF2dSJDsTvsTNQxoDsRYkZI8BcspjcDUYFhSx1tf07oIzSLZniOV9dEzRJTh6 QWTpZgdhCZWrqsCbPnQKtDimWBprhNZFvYQqpvCW62TKjgGGxGMkb93iR6G5O4M1T5pk 3ElbGyQu4FonBLXYUwho7VBa+HtJHW0cEY5wWZPVcGqxThYxEGqtos0GqTpOuaEm7for WS2c6H0BEvu7Hr34aSxjG/SZStPH5Q0ACYEQyIkXSa2t1NZvjIMVHtcZsKd2NoIz079q LTlgahssCm8d88JgBpVaHUCuYSXccC1GjPdZ0GloxGPoHBdmq4D7pWg39VlzIEB+o2sy 1Hug== MIME-Version: 1.0 X-Received: by 10.55.23.219 with SMTP id 88mr5690199qkx.19.1440508371117; Tue, 25 Aug 2015 06:12:51 -0700 (PDT) Received: by 10.55.182.65 with HTTP; Tue, 25 Aug 2015 06:12:51 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Aug 2015 15:12:51 +0200 Message-ID: Subject: Re: pkg Assertion failed. Help needed. From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= To: User Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 13:12:52 -0000 On Mon, Aug 24, 2015 at 6:15 PM, Fernando Apestegu=C3=ADa wrote: > Hi there, > > I'm in the process of upgrading to 10.2-RELEASE in on of my machines. > The base system is already updated. Although it is not strictly > necessary (I upgrade from 10.1-RELEASE), I wanted to reinstall all > packages as well. > > When I try to do it, I get the following errors: > > $ pkg-static upgrade -f > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > Checking for upgrades (948 candidates): 90% > db41 has no direct installation candidates, change it to db? [Y/n]: [ENTE= R] ^^^^^ It seems I missed the note in UPDATING about db* ports. It's fixed now. > Checking for upgrades (948 candidates): 100% > Processing candidates (948 candidates): 100% > pkg-static: sqlite error while executing UPDATE packages SET name=3D?1 > WHERE name=3D?2; in file pkg_jobs.c:1658: UNIQUE constraint failed: > packages.name > Checking integrity...Assertion failed: (strcmp(uid, p->uid) !=3D 0), > function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, > line 368. > Child process pid=3D1106 terminated abnormally: Abort trap > $ > > I haven't had problems so far while installing/deinstalling packages, > but I suppose I was just "lucky" enough so the problem didn't show up > earlier. It seems my sqlite package database is corrupt. > > Any ideas on how to fix this? > > Thanks in advance. From owner-freebsd-questions@freebsd.org Tue Aug 25 13:15: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 9867299A8DE for ; Tue, 25 Aug 2015 13:15:37 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34184DC for ; Tue, 25 Aug 2015 13:15:37 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by widdq5 with SMTP id dq5so15604698wid.1 for ; Tue, 25 Aug 2015 06:15:35 -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=+wCqtpJhOSGqRhRgIjODeWLrdxe7iWPDehxhUWGxF1Q=; b=x9rOmftAkvaJsW99jO/lY1e0fmg5+CMPAMPbeS2DuR3OLAxweEGbGIuiJoCm3Ve93z mldxhAC76LkyGfnGlY8Ax72GobRAAM2+8hChUdc2LwT6MyZ7S698wSrT6e1sVwLXHY3+ qidz2P47I7IudErES+frMd6p+syqh9plY+gsQwrPvi4ARTqeLSAaNefdkLLRTCHqeo3m saCPju4CFjX1vZxUmzal8r4+OIKvFYPI5vdEsmly8KPiFeVjReZzC70w0AeyTKkRboJi 8vpCVYHYbT9DD96kytVLDgGN9EVD6fgmkr+2tkPCc41o7zU93J7jv/V+uwDVfkP9JdhI JCXw== MIME-Version: 1.0 X-Received: by 10.194.93.166 with SMTP id cv6mr50982370wjb.63.1440508535718; Tue, 25 Aug 2015 06:15:35 -0700 (PDT) Received: by 10.28.125.212 with HTTP; Tue, 25 Aug 2015 06:15:35 -0700 (PDT) In-Reply-To: <1440496718919-6034932.post@n5.nabble.com> References: <1440496718919-6034932.post@n5.nabble.com> Date: Tue, 25 Aug 2015 14:15:35 +0100 Message-ID: Subject: Re: How to minimize the number of writes to CF card? From: krad To: zhup 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, 25 Aug 2015 13:15:37 -0000 if you can get syslog to ship its stuff off to a remote server if not put a ram disk on /var/log also mount a ram disk on /tmp and /var/tmp mount / as ro (you can always remount rw if you want to install anything) mount /home from nfs if you can On 25 August 2015 at 10:58, zhup wrote: > Hello, > > I am going to install Freebsd on CF card and my question is: > how to minimize the number of writes to CF card? > > Thank you in advance for your help. > > > > -- > View this message in context: > http://freebsd.1045724.n5.nabble.com/How-to-minimize-the-number-of-writes-to-CF-card-tp6034932.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue Aug 25 13:16: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 AB47F99A944 for ; Tue, 25 Aug 2015 13:16:37 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: from mail-io0-f180.google.com (mail-io0-f180.google.com [209.85.223.180]) (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 83A6A187 for ; Tue, 25 Aug 2015 13:16:36 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: by iodv127 with SMTP id v127so185330896iod.3 for ; Tue, 25 Aug 2015 06:16:36 -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:from:date:message-id:subject:to :content-type; bh=pv5pmEpNW9CM/mQ/6YwtMSqzJUgU/gjdEUKpjTwoD8M=; b=ec9K2Pyoh4HuPsjYxveOa85aPB96hUqwDR3EbSZ7ZQKTBx5AX4kwo3nKy1b1JWVjQc botdv8qSyvTN/nQCbBoB+iTtdRBN0EW+ZQctdfF+XUjLD2Qf+bFx8i1KDv9BCEClhcig GTa6/5xvdG4t5KpIujH6HPxniWslgyjvqQUU3QYxrvKIg7ylqs8V5QyndRjV3bfYQCi5 H87f6J5RVIG+F/7xbjgnbEMsEOHmSE55j4APDLcN8rs1VBHseTMhXUHra2ca/hS0W7oP H4LBintVO3OtPOtfo2nHMZxQF610SVnDYkjabukQNv8UshY/ll4Bws7kwBk18UJ4rhpo KukA== X-Gm-Message-State: ALoCoQnGeyVvcsuw0LM4Xdcr9ttCW30xdFJmDoN8VKy1hoREBTE8u7mKNUl02Nb38ANMWB74sRGY1HPbU63dtrcOGVpm/222iWJv+gKohFifHOvHPetgGNL8uP4T/T0Qj8cFUeRWnApu X-Received: by 10.107.134.224 with SMTP id q93mr17511253ioi.101.1440508595756; Tue, 25 Aug 2015 06:16:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.135.162 with HTTP; Tue, 25 Aug 2015 06:16:16 -0700 (PDT) From: Jaime Kikpole Date: Tue, 25 Aug 2015 09:16:16 -0400 Message-ID: Subject: Blocking SSH access based on bad logins? To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 13:16:37 -0000 I've noticed a number of SSH login attempts for the username "admin" on my FreeBSD systems. None of them have a username of "admin". So I was wondering if there was a way (even via a port) to tell the system, "If an IP tries to login as 'admin', block that IP." I'm already using SSHGuard to block certain obvious attempts to break in. I'm fine with altering its configs or adding/switching to a new port. Thanks. -- Jaime Kikpole Network Administrator Cairo-Durham Central School District Technical Support: help@cairodurham.org go.cairodurham.org/techtips -- This electronic message and any attachment(s) may contain confidential or legally privileged information protected by law from further disclosure and is intended only for the individual or entity identified above as the addressee. If you are not the addressee (or the employee or agency responsible to deliver it to the addressee), or if this message has been addressed to you in error, you are hereby notified that you may not copy, forward, disclose or use any part of this message or any attachment(s). Please notify the sender immediately by return email or telephone and permanently delete this message and attachment(s) from your system. From owner-freebsd-questions@freebsd.org Tue Aug 25 13:22: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 8B3D499AD55 for ; Tue, 25 Aug 2015 13:22:31 +0000 (UTC) (envelope-from stdedjub@googlemail.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BBBAB82 for ; Tue, 25 Aug 2015 13:22:31 +0000 (UTC) (envelope-from stdedjub@googlemail.com) Received: by obbhe7 with SMTP id he7so141608623obb.0 for ; Tue, 25 Aug 2015 06:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=thzrz92dkjQLoVy4utRzxumVTBsecGPLlztZN6A5X7E=; b=NOGCzj7dCPVPq4GW7azkpKIKpjI1R5IY0Bv/dxSLtz+q3VH52ZEg2qNO9RxeaUduW/ 82s4Qoifwo03QIZow+9MODYdqjzUAjmVs/VlJuFp58oKpfCP4W2w0y0bWX2whi3YKBgm vTPw2DtHFAPRpdKmfSsn+feHIwx959/GPjU9nlJKD5VJ8XawsFlYv4j3hd72bxgK2j/i f+ubMK0lpO1hGlE06zahBzMMtmJlI4yLuHeRtwLnLMvOPPxyJtVTME7I2XzwpgSEaLS7 tcGq+xxXgbg+j8tpKuG3Tql5pph/54ljWnvKGnq01OUkyG1pphhIvPK6fk2EhiN9MYay p10A== MIME-Version: 1.0 X-Received: by 10.60.178.33 with SMTP id cv1mr26191459oec.11.1440508950584; Tue, 25 Aug 2015 06:22:30 -0700 (PDT) Received: by 10.202.90.9 with HTTP; Tue, 25 Aug 2015 06:22:30 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Aug 2015 15:22:30 +0200 Message-ID: Subject: Re: Blocking SSH access based on bad logins? From: Denis D To: Jaime Kikpole Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 13:22:31 -0000 have you tried fail2ban? http://www.fail2ban.org/ On 25 August 2015 at 15:16, Jaime Kikpole wrote: > I've noticed a number of SSH login attempts for the username "admin" > on my FreeBSD systems. None of them have a username of "admin". So I > was wondering if there was a way (even via a port) to tell the system, > "If an IP tries to login as 'admin', block that IP." > > I'm already using SSHGuard to block certain obvious attempts to break > in. I'm fine with altering its configs or adding/switching to a new > port. > > Thanks. > > -- > Jaime Kikpole > Network Administrator > Cairo-Durham Central School District > > Technical Support: > help@cairodurham.org > go.cairodurham.org/techtips > > -- > This electronic message and any attachment(s) may contain confidential or > legally privileged information protected by law from further disclosure and > is intended only for the individual or entity identified above as the > addressee. If you are not the addressee (or the employee or agency > responsible to deliver it to the addressee), or if this message has been > addressed to you in error, you are hereby notified that you may not copy, > forward, disclose or use any part of this message or any attachment(s). > Please notify the sender immediately by return email or telephone and > permanently delete this message and attachment(s) from your system. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue Aug 25 13:28:52 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 AD70B99AF71 for ; Tue, 25 Aug 2015 13:28:52 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) (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 819A0D73 for ; Tue, 25 Aug 2015 13:28:51 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: by igbjg10 with SMTP id jg10so12168348igb.0 for ; Tue, 25 Aug 2015 06:28:51 -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:from:date :message-id:subject:to:cc:content-type; bh=S+cgHoVVloj0zmZfXDs1tnBhs6NSJTt36sVliGtHRWE=; b=FiaLI1EVQitu103lC4pgUodkfPdiZMDUQsL7W9Wq4GxBw4SpwTEZJWRQWJATMgl+A5 ws5d7oTJJ+ssQ267p1RVAZAj+viuSf2LsfC5yo7zgOp5Szw0dp3sarpSeAuhw2l8ZQBW ACRFVh/c3oSM8enVZ4jbN0diND4+6gcpYokeRfYNmSdcr/QlRT+eBUD/ztbYST07rM2X r1XlzXqlm5pxhYgsUO77XIHH5lUYf3aB1ecFAWg4K7YrtVQNp3z5RyhlSPy1xvlloxGv QDFAcccKbQrGEzUTDgVmHv0iIvX9Remn0jOk6Gu+mE+TzubG4rxtjpu5y4i3bsXjD3qD KmQg== X-Gm-Message-State: ALoCoQkkOpdWZlC5LWosXlIVJHBhmK7XZxSxBO5I3dKVPt9ugMvmEQxLe+fvw/4JOqHjzm9zjwfY3jezzw3egXmrpZrjy4m1TgtKCCrqYUOUCZS1jAZ4VTIfLDpH5srj/Y6mSSqgAlxD X-Received: by 10.50.26.66 with SMTP id j2mr2324140igg.42.1440509330906; Tue, 25 Aug 2015 06:28:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.135.162 with HTTP; Tue, 25 Aug 2015 06:28:31 -0700 (PDT) In-Reply-To: References: From: Jaime Kikpole Date: Tue, 25 Aug 2015 09:28:31 -0400 Message-ID: Subject: Re: Blocking SSH access based on bad logins? To: Denis D Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 13:28:52 -0000 On Tue, Aug 25, 2015 at 9:22 AM, Denis D wrote: > have you tried fail2ban? Heard of it. I haven't tried it yet. Any pointers on setting it up? -- Jaime Kikpole Network Administrator Cairo-Durham Central School District Technical Support: help@cairodurham.org go.cairodurham.org/techtips -- This electronic message and any attachment(s) may contain confidential or legally privileged information protected by law from further disclosure and is intended only for the individual or entity identified above as the addressee. If you are not the addressee (or the employee or agency responsible to deliver it to the addressee), or if this message has been addressed to you in error, you are hereby notified that you may not copy, forward, disclose or use any part of this message or any attachment(s). Please notify the sender immediately by return email or telephone and permanently delete this message and attachment(s) from your system. From owner-freebsd-questions@freebsd.org Tue Aug 25 13: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 1D90D99AFEF for ; Tue, 25 Aug 2015 13:30:03 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from cerebro.liukuma.net (cerebro.liukuma.net [IPv6:2a00:d1e0:1000:1b00::2]) by mx1.freebsd.org (Postfix) with ESMTP id CF59CE14 for ; Tue, 25 Aug 2015 13:30:02 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from cerebro.liukuma.net (localhost [127.0.0.1]) by cerebro.liukuma.net (Postfix) with ESMTP id 3A2548A0482; Tue, 25 Aug 2015 16:29:54 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.8.3 cerebro.liukuma.net 3A2548A0482 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=liukuma.net; s=liukudkim; t=1440509394; bh=Q5lRThLRrRGTekI7qeaGyHzAr24vupOp1FjXyk6R6JQ=; h=From:To:References:In-Reply-To:Subject:Date; b=cOhgCIxIH5Z3OdRxXDOu7915FxYx1LwrDz2CtZMWrpI2zcYoZFC5zOIZj4KpfBVg7 DfUP9HgCCUvicKNfYGeWG9CcwgSopFLJdxLdvduZ85oT9uyBMTwcb24Rb8JJxWo76a UdGDugipL/oqkrcv74FJzKIEIH5Hst6gCDC0Kpbg= X-Virus-Scanned: amavisd-new at liukuma.net Received: from cerebro.liukuma.net ([127.0.0.1]) by cerebro.liukuma.net (cerebro.liukuma.net [127.0.0.1]) (amavisd-new, port 10027) with LMTP id Ghz552uZFYa5; Tue, 25 Aug 2015 16:29:53 +0300 (EEST) Received: from Rivendell (dsl-kmibrasgw1-50dfdd-193.dhcp.inet.fi [80.223.221.193]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: ignatz@cerebro.liukuma.net) by cerebro.liukuma.net (Postfix) with ESMTPSA id EB35F8A00C3; Tue, 25 Aug 2015 16:29:52 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.8.3 cerebro.liukuma.net EB35F8A00C3 Message-ID: <22DC19936F1E477D981FCB31FD51375E@Rivendell> From: "Reko Turja" To: "Jaime Kikpole" , References: In-Reply-To: Subject: Re: Blocking SSH access based on bad logins? Date: Tue, 25 Aug 2015 16:29:51 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Aug 2015 13:30:03 -0000 -----Original Message----- From: Jaime Kikpole Sent: Tuesday, August 25, 2015 4:16 PM To: freebsd-questions@freebsd.org Subject: Blocking SSH access based on bad logins? > I've noticed a number of SSH login attempts for the username "admin" > on my FreeBSD systems. None of them have a username of "admin". So I > was wondering if there was a way (even via a port) to tell the system, > "If an IP tries to login as 'admin', block that IP." > I'm already using SSHGuard to block certain obvious attempts to break > in. I'm fine with altering its configs or adding/switching to a new > port. With pf as your firewall you could do something like this - first, define a table with: table persist { } then in filter rules: pass in on $ext_if proto tcp from any to ($ext_if) port $tcp_login flags S/SA keep state (max-src-conn-rate 3/30, overload flush global) where 3/30 means how many connections to port are allowed in set timeframe, for me its three in 30 seconds. If that amount is exceeded, then the ip is added to bad_hosts table. Of course, distributed attacks are rarely affected by this rule. IMO switching SSH port is security by obscurity, determined attacker will eventually find the altered port if so inclined. -Reko From owner-freebsd-questions@freebsd.org Tue Aug 25 13:53: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 015669C2A17 for ; Tue, 25 Aug 2015 13:53:03 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: from mail.xtaz.uk (tao.xtaz.uk [IPv6:2001:8b0:202::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD1ABD1 for ; Tue, 25 Aug 2015 13:53:02 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: by mail.xtaz.uk (Postfix, from userid 1001) id 00D1820AEEBF; Tue, 25 Aug 2015 14:52:58 +0100 (BST) Date: Tue, 25 Aug 2015 14:52:58 +0100 From: Matt Smith To: Reko Turja Cc: Jaime Kikpole , freebsd-questions@freebsd.org Subject: Re: Blocking SSH access based on bad logins? Message-ID: <20150825135258.GA1330@xtaz.uk> Mail-Followup-To: Matt Smith , Reko Turja , Jaime Kikpole , freebsd-questions@freebsd.org References: <22DC19936F1E477D981FCB31FD51375E@Rivendell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <22DC19936F1E477D981FCB31FD51375E@Rivendell> 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: Tue, 25 Aug 2015 13:53:03 -0000 On Aug 25 16:29, Reko Turja wrote: >IMO switching SSH port is security by obscurity, determined attacker >will eventually find the altered port if so inclined. I agree that it is security by obscurity but when I ran SSH on port 22 it was syslogging at least several hundred login attempts every day, currently I run it on port 422 and it's never had one single login attempt that wasn't myself. Obviously you have to make sure it's also secure regardless which I do by requiring that the login is either with a key, or if with a password it also requires a one-time-password 6 digit code read from an app on my phone. So if all the login attempts bother you, moving the port certainly works. Just make sure you also keep it secure in other ways. -- Matt From owner-freebsd-questions@freebsd.org Tue Aug 25 14:21: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 5285799A98D for ; Tue, 25 Aug 2015 14:21:26 +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 1A2E6CD for ; Tue, 25 Aug 2015 14:21:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id ADA89278D4; Tue, 25 Aug 2015 16:21:22 +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 t7PELMsr002408; Tue, 25 Aug 2015 16:21:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 25 Aug 2015 16:21:22 +0200 From: Polytropon To: Chris Stankevitz Cc: freebsd-questions Subject: Re: Stop using a SATA drive Message-Id: <20150825162122.b770fc6a.freebsd@edvax.de> In-Reply-To: References: <20150824214252.53aa04c6.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 14:21:26 -0000 On Mon, 24 Aug 2015 15:15:26 -0700, Chris Stankevitz wrote: > On Mon, Aug 24, 2015 at 12:42 PM, Polytropon wrote: > > Ye olde atacontrol had a "detach" option. Its equivalent > > is "camcontrol stop" which you have discovered. This should > > be sufficient. > > > > However, I'm doing this with SATA and external USB disks > > a lot: Issue "sync", call umount, give it some seconds > > to actually complete (!) those tasks, and then power it > > off (external power supply off for USB, combined plug > > removed from SATA disk). No problems so far. > > Polytropon, > > Thank you. I've been doing the same... but I assumed/hoped there was > more I could do. I also shutdown smartd before pulling the drive, and > start smartd afterwards. I hope there are not others. ("hope" is a > common theme here... which is why I'm writing to the list) The "problem" is that the PC (and let's face it: most x86-based server hardware can be summarized with "PC", too) does not have a "programmable infrastructure" for power control. It would need to consist of two parts: the electric/electronic part that allows you to switch on and off several power lines inside the system (and maybe even out of the system), and an interface in _software_ that can be accessed by system daemons and user programs (an API). For example, mainframe and midrange systems _have_ this ability. The SPCN (system power control network) inside an AS/400 for example has such a component. First, only the system console and a part of the power supply will be powered; when you then tell the system to boot, the main processor - inactive until now! - will be started, the disks will be powered up, and the expansion components will be started. At system shutdown time, the whole procedure reverses, just leaving the console running. As far as I remember, selectively "taking down" a disk (to be replaced) was also possible from within software... > I didn't know that the heads were parked when the power is cut... but > that is a relief to hear. This is what happens when you detach a USB hard disk. The drive will spin up as soon as _power_ is available - no need for a real connection to a computer! And when the power is cut, the heads will slide back into parking position where they will be locked (for safely moving the disk). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Aug 25 14:22: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 696AC99A9F7 for ; Tue, 25 Aug 2015 14:22:32 +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 2F5622F0 for ; Tue, 25 Aug 2015 14:22:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 2127F278E6; Tue, 25 Aug 2015 16:22:29 +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 t7PEMTJj002424; Tue, 25 Aug 2015 16:22:29 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 25 Aug 2015 16:22:29 +0200 From: Polytropon To: Mehmet Erol Sanliturk Cc: Ralf Mardorf , FreeBSD Questions Mailing List Subject: Re: [Bulk] Re: Stop using a SATA drive Message-Id: <20150825162229.8d15c4ef.freebsd@edvax.de> In-Reply-To: References: <20150824214252.53aa04c6.freebsd@edvax.de> <20150825003135.48defc18@moonstudio> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 14:22:32 -0000 On Mon, 24 Aug 2015 16:47:03 -0700, Mehmet Erol Sanliturk wrote: > On Mon, Aug 24, 2015 at 3:31 PM, Ralf Mardorf > wrote: > > > On Mon, 24 Aug 2015 15:15:26 -0700, Chris Stankevitz wrote: > > >I didn't know that the heads were parked when the power is cut... but > > >that is a relief to hear. > > > > I own a around 40 MiB SCSI for an Atari from the late 80s. I simply > > turn of the power without sending a command first. So seemingly drives > > must be older than from the late 80s, to not provide automatically > > parking. Regarding the SATA Wiki, SATA was created in 2003. Unlikely > > that a SATA without automatically parking existed/exists. > > _______________________________________________ > > > > > > For the MFM disks , it was necessary to park the heads with a program > execution before shut down the system . Correct. That was the famous PARK.COM. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Aug 25 14:22: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 7858599A9F8 for ; Tue, 25 Aug 2015 14:22:32 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c: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 235032EF for ; Tue, 25 Aug 2015 14:22:32 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by wicja10 with SMTP id ja10so16819044wic.1 for ; Tue, 25 Aug 2015 07:22:30 -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=52Z0t/ejo2gsxuFiBPyAOfNs9a01Tx9BNShqocSE+WA=; b=nm7WUyvzsOgPC20V+ajgkMN96HwNLtMKO1j989BJSpIP4Lmgx6837z2AMvCDmyQY0n 5x2gtm+ZbUxtan/J4MsaFi5apZNcBNK8GqUYxDglVdNCG88zJi7fdDcRtQwPDh2aFEL1 qkBOpgwZLgxKTVncsSnQw4fm4s3VBKpCqp24aIFJhpSBcfPYI9B0ueZ6TKQAvXz5iyCV sLRZpHNNfjZEIQy2ajy9CAjchX3Uoy5ehgPqaqYJ2H1I/m3VTQXdlriGtJ0BsiV2h0SJ r7ijikmq4Ip4WwlIidZe9i5r2Cbl3qOL91OTEVvCKYEtG4iES+CPR66Qb0YiAw9SKeX2 NhvQ== MIME-Version: 1.0 X-Received: by 10.194.209.167 with SMTP id mn7mr49198233wjc.64.1440512550494; Tue, 25 Aug 2015 07:22:30 -0700 (PDT) Received: by 10.28.125.212 with HTTP; Tue, 25 Aug 2015 07:22:30 -0700 (PDT) In-Reply-To: <20150825135258.GA1330@xtaz.uk> References: <22DC19936F1E477D981FCB31FD51375E@Rivendell> <20150825135258.GA1330@xtaz.uk> Date: Tue, 25 Aug 2015 15:22:30 +0100 Message-ID: Subject: Re: Blocking SSH access based on bad logins? From: krad To: Matt Smith , Reko Turja , Jaime Kikpole , 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, 25 Aug 2015 14:22:32 -0000 Its true moving the port will help as most of the stuff that hits you will be automated scans. Fail2ban also works well in my experience. However proper firewall acls and disabling password based auth is a better way to go, but none of these things are mutually exclusive. Remember security is like an onion. On 25 August 2015 at 14:52, Matt Smith wrote: > On Aug 25 16:29, Reko Turja wrote: > >> IMO switching SSH port is security by obscurity, determined attacker will >> eventually find the altered port if so inclined. >> > > I agree that it is security by obscurity but when I ran SSH on port 22 it > was syslogging at least several hundred login attempts every day, currently > I run it on port 422 and it's never had one single login attempt that > wasn't myself. Obviously you have to make sure it's also secure regardless > which I do by requiring that the login is either with a key, or if with a > password it also requires a one-time-password 6 digit code read from an app > on my phone. > > So if all the login attempts bother you, moving the port certainly works. > Just make sure you also keep it secure in other ways. > > -- > Matt > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue Aug 25 14:28: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 5597C99AC1F for ; Tue, 25 Aug 2015 14:28:44 +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 1CB197C7 for ; Tue, 25 Aug 2015 14:28:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 39406278CA; Tue, 25 Aug 2015 16:28:42 +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 t7PESfmF002430; Tue, 25 Aug 2015 16:28:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 25 Aug 2015 16:28:41 +0200 From: Polytropon To: Jaime Kikpole Cc: "freebsd-questions@freebsd.org" Subject: Re: Blocking SSH access based on bad logins? Message-Id: <20150825162841.b8f840ab.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: Tue, 25 Aug 2015 14:28:44 -0000 On Tue, 25 Aug 2015 09:16:16 -0400, Jaime Kikpole wrote: > I've noticed a number of SSH login attempts for the username "admin" > on my FreeBSD systems. None of them have a username of "admin". So I > was wondering if there was a way (even via a port) to tell the system, > "If an IP tries to login as 'admin', block that IP." I think "fail2ban" is the solution you are searching for. > I'm already using SSHGuard to block certain obvious attempts to break > in. I'm fine with altering its configs or adding/switching to a new > port. You'll find "fail2ban" in the FreeBSD ports collection along with some documentation. It's easy to set up. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Aug 25 14:35: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 A39A499AEF1 for ; Tue, 25 Aug 2015 14:35: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 6B498B63 for ; Tue, 25 Aug 2015 14:35:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 554B9278B0; Tue, 25 Aug 2015 16:35:05 +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 t7PEZ4mf002475; Tue, 25 Aug 2015 16:35:04 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 25 Aug 2015 16:35:04 +0200 From: Polytropon To: Matt Smith Cc: Reko Turja , freebsd-questions@freebsd.org, Jaime Kikpole Subject: Re: Blocking SSH access based on bad logins? Message-Id: <20150825163504.f59dc375.freebsd@edvax.de> In-Reply-To: <20150825135258.GA1330@xtaz.uk> References: <22DC19936F1E477D981FCB31FD51375E@Rivendell> <20150825135258.GA1330@xtaz.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: Tue, 25 Aug 2015 14:35:07 -0000 On Tue, 25 Aug 2015 14:52:58 +0100, Matt Smith wrote: > On Aug 25 16:29, Reko Turja wrote: > >IMO switching SSH port is security by obscurity, determined attacker > >will eventually find the altered port if so inclined. > > I agree that it is security by obscurity but when I ran SSH on port 22 > it was syslogging at least several hundred login attempts every day, > currently I run it on port 422 and it's never had one single login > attempt that wasn't myself. You could say that changing the SSH port is "reducing line noise". A hacker can always run a port scan and find out what port you're actually running SSH on. But most "wide range attacks", usually run from fleets of zombie "Windows" PCs, do not do this. Sophisti- cated attackers _will_ do it. So it's not really an obstacle. > Obviously you have to make sure it's also > secure regardless which I do by requiring that the login is either with > a key, or if with a password it also requires a one-time-password 6 > digit code read from an app on my phone. "Having been moved" and "being secure" are two totally different categories. Never confuse. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Aug 25 15:03: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 2917E9C25D5 for ; Tue, 25 Aug 2015 15:03:17 +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 C4DC8ADA for ; Tue, 25 Aug 2015 15:03:16 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-24-166-126-146.neo.res.rr.com [24.166.126.146]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id a2881e18; Tue, 25 Aug 2015 10:56:35 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id de0a094e; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Tue, 25 Aug 2015 10:56:35 -0400 (EDT) Message-ID: <1440514692.6714.13.camel@michaeleichorn.com> Subject: Re: Blocking SSH access based on bad logins? From: "Michael B. Eichorn" To: Polytropon , Jaime Kikpole Cc: "freebsd-questions@freebsd.org" Date: Tue, 25 Aug 2015 10:58:12 -0400 In-Reply-To: <20150825162841.b8f840ab.freebsd@edvax.de> References: <20150825162841.b8f840ab.freebsd@edvax.de> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-sZSmk6i9hVhTM1V5j1Re" 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: Tue, 25 Aug 2015 15:03:17 -0000 --=-sZSmk6i9hVhTM1V5j1Re Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-08-25 at 16:28 +0200, Polytropon wrote: > On Tue, 25 Aug 2015 09:16:16 -0400, Jaime Kikpole wrote: > > I've noticed a number of SSH login attempts for the username "admin" > > on my FreeBSD systems. None of them have a username of "admin". So > > I > > was wondering if there was a way (even via a port) to tell the > > system, > > "If an IP tries to login as 'admin', block that IP." >=20 > I think "fail2ban" is the solution you are searching for. >=20 >=20 >=20 > > I'm already using SSHGuard to block certain obvious attempts to break > > in. I'm fine with altering its configs or adding/switching to a new > > port. >=20 > You'll find "fail2ban" in the FreeBSD ports collection > along with some documentation. It's easy to set up. :-) I thought SSHGuard and fail2ban were both equally vaild solutions to ssh banning. Both use the logged failed attempt and create system level block to the offending IP. Am I wrong on this? --=-sZSmk6i9hVhTM1V5j1Re 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 CQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNTA4MjUxNDU4MTJaME8GCSqGSIb3DQEJ BDFCBEB20OtMvIzT9Eh18u0JJU21fsUebF98uibfZWhealXQkoGkGGr1kqyTQlLp66xNVvs+cOsV 3y5yTVOp/XPO53V9MIGlBgkrBgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQQIDDl3GMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEALn2HKrPLm9670axR8S6ieS6zWKCqSEwq4gyHM1XZ odrrh2pY1478iPrE+HsSVBm8dVdqGctyaBlFzpZWPckPUQ12Z67z6MxcwgOPIglaSPnc7C2bzGLX sQXkAAK4untgoZhE1JYuik1oxA/6eqDKgOGiuouRPVvEynYs5GDv0QnkDMj6hZc4Jyi92jQjcedV xTQulCx8BW7p+qArL1j0isRLy+C4gikpoZdjVs/noQGy5Tc5Biy+XfSqNSY1aMWbtk577kR7Zonn qpH3P5ooYkrC2mZbawrwiutCpPy9Wo8YqSV3vbuQnDRPYoh1h0DXL+JInb+7snsuqgt4nPSIbwAA AAAAAA== --=-sZSmk6i9hVhTM1V5j1Re-- From owner-freebsd-questions@freebsd.org Tue Aug 25 15:15: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 280CF9C2A8C for ; Tue, 25 Aug 2015 15:15:28 +0000 (UTC) (envelope-from dan@buildingonline.com) Received: from alisocreek.buildingonline.net (alisocreek.buildingonline.net [204.109.62.198]) by mx1.freebsd.org (Postfix) with ESMTP id 09B8E23B for ; Tue, 25 Aug 2015 15:15:27 +0000 (UTC) (envelope-from dan@buildingonline.com) Received: by alisocreek.buildingonline.net (Postfix, from userid 58) id E8AA4BCA1F5; Tue, 25 Aug 2015 08:09:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alisocreek.buildingonline.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from Whistler.local (busarow2 [69.51.79.5]) (Authenticated sender: dan@dpcsys.com) by alisocreek.buildingonline.net (Postfix) with ESMTPA id 21C64BC9E37 for ; Tue, 25 Aug 2015 08:09:28 -0700 (PDT) Subject: Re: Blocking SSH access based on bad logins? To: freebsd-questions@freebsd.org References: <20150825162841.b8f840ab.freebsd@edvax.de> <1440514692.6714.13.camel@michaeleichorn.com> From: Dan Busarow Organization: BuildingOnline.com Message-ID: <55DC8527.7000802@buildingonline.com> Date: Tue, 25 Aug 2015 09:09:27 -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 In-Reply-To: <1440514692.6714.13.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: Tue, 25 Aug 2015 15:15:28 -0000 On 8/25/15 8:58 AM, Michael B. Eichorn wrote: > On Tue, 2015-08-25 at 16:28 +0200, Polytropon wrote: >> On Tue, 25 Aug 2015 09:16:16 -0400, Jaime Kikpole wrote: >>> I've noticed a number of SSH login attempts for the username "admin" >>> on my FreeBSD systems. None of them have a username of "admin". So >>> I >>> was wondering if there was a way (even via a port) to tell the >>> system, >>> "If an IP tries to login as 'admin', block that IP." >> >> I think "fail2ban" is the solution you are searching for. >> >> >> >>> I'm already using SSHGuard to block certain obvious attempts to break >>> in. I'm fine with altering its configs or adding/switching to a new >>> port. >> >> You'll find "fail2ban" in the FreeBSD ports collection >> along with some documentation. It's easy to set up. :-) > > I thought SSHGuard and fail2ban were both equally vaild solutions to ssh > banning. Both use the logged failed attempt and create system level block > to the offending IP. Am I wrong on this? > I use sshguard on FreeBSD and prefer it. I use fail2ban on the few Debian boxes I manage. Dan From owner-freebsd-questions@freebsd.org Tue Aug 25 15: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 DD2919C2D66 for ; Tue, 25 Aug 2015 15:22:40 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) (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 6AC458A1 for ; Tue, 25 Aug 2015 15:22:39 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by labia3 with SMTP id ia3so36123133lab.3 for ; Tue, 25 Aug 2015 08:22:32 -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=9kB9+SO8IZZGJIZWHSKfl6rvLWyP3ViGahOVsTTGn7g=; b=KsDHSF/4hVSvRdpqXFiDEuL+EwNm9brwJj377catmXKS+qBw3U4ae3lJPeiH3rJWXX cMD+99o4hyn0H/LgyeUY04vRfysW0vCAz88dIZ3YHltZo29cXB96ESFamCdsM9Kyd3nT 5ZVOK/S5CGLBVJ8YhLv67h00gkpYN6mPKjUxoxDbn7FRmjAghZRaKTH4ehhkNMDP4bI3 jibPQKC6umh+CBbbv1/xpO+D0Rd83VfWjyCktVFTsrQY726QR/m6hilCEbGeEf7wTdFG SkMQQShFJ/Rced+lIsCtQGm9jNFkmp59iXsJLUJFLIFRyj4XvSeSwJ6YQLgdu68MKXJ/ /JOA== X-Gm-Message-State: ALoCoQmQpezeoLxni52Uji1mklygetk199iPLzqs+oeI3vJdb8Qly6Q1WJW3V2ylBWYB42ABBklG MIME-Version: 1.0 X-Received: by 10.152.43.41 with SMTP id t9mr26186044lal.4.1440516152106; Tue, 25 Aug 2015 08:22:32 -0700 (PDT) Received: by 10.25.197.196 with HTTP; Tue, 25 Aug 2015 08:22:31 -0700 (PDT) X-Originating-IP: [2606:6000:cd06:7f00:58c5:854a:2c88:1092] Received: by 10.25.197.196 with HTTP; Tue, 25 Aug 2015 08:22:31 -0700 (PDT) In-Reply-To: <55DC8527.7000802@buildingonline.com> References: <20150825162841.b8f840ab.freebsd@edvax.de> <1440514692.6714.13.camel@michaeleichorn.com> <55DC8527.7000802@buildingonline.com> Date: Tue, 25 Aug 2015 08:22:31 -0700 Message-ID: Subject: Re: Blocking SSH access based on bad logins? From: "Brian W." To: Dan Busarow 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: Tue, 25 Aug 2015 15:22:41 -0000 There is a port called denyhosts that works pretty well. There is a single configuration file and you just edit that to what you want. It adds a hosts.deniedssh file that it writes data to based on log activity. Brian On Aug 25, 2015 8:15 AM, "Dan Busarow" wrote: > On 8/25/15 8:58 AM, Michael B. Eichorn wrote: > > On Tue, 2015-08-25 at 16:28 +0200, Polytropon wrote: > >> On Tue, 25 Aug 2015 09:16:16 -0400, Jaime Kikpole wrote: > >>> I've noticed a number of SSH login attempts for the username "admin" > >>> on my FreeBSD systems. None of them have a username of "admin". So > >>> I > >>> was wondering if there was a way (even via a port) to tell the > >>> system, > >>> "If an IP tries to login as 'admin', block that IP." > >> > >> I think "fail2ban" is the solution you are searching for. > >> > >> > >> > >>> I'm already using SSHGuard to block certain obvious attempts to break > >>> in. I'm fine with altering its configs or adding/switching to a new > >>> port. > >> > >> You'll find "fail2ban" in the FreeBSD ports collection > >> along with some documentation. It's easy to set up. :-) > > > > I thought SSHGuard and fail2ban were both equally vaild solutions to ssh > > banning. Both use the logged failed attempt and create system level block > > to the offending IP. Am I wrong on this? > > > > I use sshguard on FreeBSD and prefer it. I use fail2ban on the few > Debian boxes I manage. > > Dan > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue Aug 25 15:29: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 C37FF99A352 for ; Tue, 25 Aug 2015 15:29:07 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48CCAB40 for ; Tue, 25 Aug 2015 15:29:07 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by lalv9 with SMTP id v9so100538471lal.0 for ; Tue, 25 Aug 2015 08:29:04 -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=2+jEMCF+rYIM9Lo/ohBKstjgMXP6pmx88zvDNxDVlbs=; b=y4I4olxqFLuisCXhlYLxubqkaJDYP1KzfGJGCwmMvrIZG5IepKJtg9DylBlSlL/5W/ kFFhmfxGM+Ym8lC4Dm++1Fm+uZpyjh2Mzq+nWUyX6+5y+58Vw5Lr4pXg7HVwXI8d9jEZ XR65sICti73zIDNXBf5Mm4vOQEHEBELnI9zNGjxCl5tlnzrAo48+H1Rs43nJ23J35Prg +XeEqMtwzHd9lV8lXxJFCa7Ywx6CXMnQBZam7TPn2u+L8ugdkqNOF7z86DI6lVXELpSX 0Za/miwngy4LJA0lST1gafLg+DHhi3n2CyfCi7x4JAVl2epe0+zsXpB2jkZtHanXWloc FuMw== MIME-Version: 1.0 X-Received: by 10.112.36.165 with SMTP id r5mr25962454lbj.3.1440516544168; Tue, 25 Aug 2015 08:29:04 -0700 (PDT) Received: by 10.112.149.201 with HTTP; Tue, 25 Aug 2015 08:29:04 -0700 (PDT) In-Reply-To: References: <20150825162841.b8f840ab.freebsd@edvax.de> <1440514692.6714.13.camel@michaeleichorn.com> <55DC8527.7000802@buildingonline.com> Date: Tue, 25 Aug 2015 10:29:04 -0500 Message-ID: Subject: Re: Blocking SSH access based on bad logins? From: Adam Vande More To: "Brian W." Cc: Dan Busarow , 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: Tue, 25 Aug 2015 15:29:08 -0000 On Tue, Aug 25, 2015 at 10:22 AM, Brian W. wrote: > There is a port called denyhosts that works pretty well. There is a single > configuration file and you just edit that to what you want. It adds a > hosts.deniedssh file that it writes data to based on log activity. > Technically, you add the /etc/hosts.deniedssh file and that is really just an arbitrary design. It could just as well be /etc/hosts.allow for many setups. Also denyhosts is still the only blocker which is able to proactively block known bad hosts(and not by default). At least is used to work, not sure if that part still does. -- Adam From owner-freebsd-questions@freebsd.org Tue Aug 25 15:36: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 AFD0199A88F for ; Tue, 25 Aug 2015 15:36:29 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) (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 3BC0A162A for ; Tue, 25 Aug 2015 15:36:28 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by lbbtg9 with SMTP id tg9so102750693lbb.1 for ; Tue, 25 Aug 2015 08:36:21 -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=EUlveWDdLUbtezn1AaBsYi6I3ehKRGltEQPo32DJHhk=; b=PEnePQNieaXjDfSCzqb67hsmrmgESO9wPb8iEksjdhauPS1bz4qkVKKFwhQYRiaXlq 2Hwj3JWWwAfCpB1rIcCm2+/btJC06ePThAWEB8MFp4El+3uNNJe3Izp88GoMC1EFONVL HHapXG8r/QWbCEFMymN9rp2QYi5+jT7eWEWmbtdEh+7CXAJ8S+f4zzmTgitp0hLZSDj2 Y03t/CKxb6F9UjHj0mgOiBeH54rJJlErXk+L4s0HlrkvcJDh9QLJ50q01+HG1fREyBjz CNQHKo0A8XlOlCugYRTxoZqNntF3OzHfLhYC3wsfecnmmEWj9iRzrZCraVeKTD+JLvby Qx7w== X-Gm-Message-State: ALoCoQkydKP1vfTRf0LRd+g0gw1jrVy9BkSLUDQPdkBHMpx1NxAUfwrGpfA7ZaMMgrflyeK5alr2 MIME-Version: 1.0 X-Received: by 10.112.63.138 with SMTP id g10mr11336174lbs.106.1440516980938; Tue, 25 Aug 2015 08:36:20 -0700 (PDT) Received: by 10.25.197.196 with HTTP; Tue, 25 Aug 2015 08:36:20 -0700 (PDT) X-Originating-IP: [2606:6000:cd06:7f00:58c5:854a:2c88:1092] Received: by 10.25.197.196 with HTTP; Tue, 25 Aug 2015 08:36:20 -0700 (PDT) In-Reply-To: References: <20150825162841.b8f840ab.freebsd@edvax.de> <1440514692.6714.13.camel@michaeleichorn.com> <55DC8527.7000802@buildingonline.com> Date: Tue, 25 Aug 2015 08:36:20 -0700 Message-ID: Subject: Re: Blocking SSH access based on bad logins? From: "Brian W." To: Adam Vande More Cc: FreeBSD Mailing List , Dan Busarow 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, 25 Aug 2015 15:36:29 -0000 The other thing I like about denyhosts is there is an option where u can upload your bad host data to a server and other users can optionally select to receive that data and add it to their hosts.whatever file. Brian On Aug 25, 2015 8:29 AM, "Adam Vande More" wrote: > On Tue, Aug 25, 2015 at 10:22 AM, Brian W. wrote: > >> There is a port called denyhosts that works pretty well. There is a single >> configuration file and you just edit that to what you want. It adds a >> hosts.deniedssh file that it writes data to based on log activity. >> > > Technically, you add the /etc/hosts.deniedssh file and that is really just > an arbitrary design. It could just as well be /etc/hosts.allow for many > setups. > > Also denyhosts is still the only blocker which is able to proactively > block known bad hosts(and not by default). At least is used to work, not > sure if that part still does. > > -- > Adam > From owner-freebsd-questions@freebsd.org Tue Aug 25 16:02: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 9499799E23F for ; Tue, 25 Aug 2015 16:02:38 +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 5A7A9695 for ; Tue, 25 Aug 2015 16:02:38 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by qgeg42 with SMTP id g42so109509170qge.1 for ; Tue, 25 Aug 2015 09:02:36 -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:content-type; bh=ToyvjJGHrpPWNlri9dGi473DW2WEL16fJnEEHaq8Z34=; b=giJYlryR38g/LxnKgkBTyRYNq8FSc117CjpUzjsrXTvm9lXCakQ9+wGh7MHwPsp04A BAoT573Rw51aIUcfZdqtXL01SIORM3byYVFxZYBh/qQ9UXEq/24P8OlSgDw5DxLckKCz 4qiRtICue6HWPdHJG5N9P/BOeEp0Ayquxdojb0dW1DagFxAGA5Xyo9IiZJm2k7GrkUTv pheJF28EPvxvQWGqv50QtgqWsNop8synOBfFMmcD5+jbqztdBxQNzFD3PsxJWeXOv4fU hbrll2tAydVofv6FpSsrqLXT4f08JIKh63p3O65Spxu51djcxgLCGi+JY3CVJTUNG3K2 UYpA== X-Gm-Message-State: ALoCoQmTESVtcUz/LB8vBuUWvliLLCdL0kRa/q/+Quv2V8q9is/FH/pOHrQHFkjDh+coWfDVDOW7 MIME-Version: 1.0 X-Received: by 10.140.165.198 with SMTP id l189mr66140388qhl.85.1440518555853; Tue, 25 Aug 2015 09:02:35 -0700 (PDT) Received: by 10.140.41.230 with HTTP; Tue, 25 Aug 2015 09:02:35 -0700 (PDT) In-Reply-To: <55DC3FBD.8080102@FreeBSD.org> References: <1440496718919-6034932.post@n5.nabble.com> <55DC3FBD.8080102@FreeBSD.org> Date: Tue, 25 Aug 2015 09:02:35 -0700 Message-ID: Subject: Re: How to minimize the number of writes to CF card? From: Michael Sierchio 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: Tue, 25 Aug 2015 16:02:38 -0000 On Tue, Aug 25, 2015 at 3:13 AM, Matthew Seaman wrote: > On 2015/08/25 10:58, zhup wrote: > > > I am going to install Freebsd on CF card and my question is: > > how to minimize the number of writes to CF card? > > Mount it read-only? > I could have offered that advice without being facetious, Matthew. ;-) If you have adequate RAM and can mount a mfs for /var, symlink /tmp->/var/tmp, that works. I have some rc scripts that periodically mount a partition r/w and save the state of things in /var that I want to persist. And if you can't mount it read-only, mount it rw,noatime. Updating access time causes many, many writes. - M From owner-freebsd-questions@freebsd.org Tue Aug 25 16:35: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 919DD99A33D for ; Tue, 25 Aug 2015 16:35:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5917B8A5 for ; Tue, 25 Aug 2015 16:35:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iodv127 with SMTP id v127so193063538iod.3 for ; Tue, 25 Aug 2015 09:35:16 -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=CiFXBb8WYwFWad8+vwacuWJdspA7J+OsZUIavxoBW08=; b=Jh94GpDIzik0DtHXH+0711Ian5pAHqCsFIxZ6RQcmE/7YdIWGZZo0V2tpz5PuxUo4U eACMWPQvSJTX+i5Bg+Chl639fDkXeA4REP9/bz4iPj0/IoMMb1DQKxYHZYrcoE83inFk 8S2BngQaw2vBipRk8w6XNKh/38TXQbG190g+5V6NPTnHcF645TifI2XPoDkXGjso2NGB /8VrctRrtawHAjtwyG9WZiqXLRzffbUiEolIsJOPFnXUYPVXQ+9d1GvjyCAV+GD9ehWu RRGqZ0Y759YJW9XhsR8CTj5ed/bewQxw0VR5b+xyjMW3tj7sGlLZyemSi9TOLyPa+ytw i5/A== MIME-Version: 1.0 X-Received: by 10.107.156.73 with SMTP id f70mr23712847ioe.165.1440520516724; Tue, 25 Aug 2015 09:35:16 -0700 (PDT) Received: by 10.36.28.208 with HTTP; Tue, 25 Aug 2015 09:35:16 -0700 (PDT) In-Reply-To: <20150825162122.b770fc6a.freebsd@edvax.de> References: <20150824214252.53aa04c6.freebsd@edvax.de> <20150825162122.b770fc6a.freebsd@edvax.de> Date: Tue, 25 Aug 2015 09:35:16 -0700 Message-ID: Subject: Re: Stop using a SATA drive From: Adrian Chadd To: Polytropon Cc: Chris Stankevitz , freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 16:35:17 -0000 Hi, erm - yes, PCs do. You can likely send commands to USB disks for "plz sync and power down thx". You can almost always turn off and on USB ports on your computer. You can find out what kind of power consumption each port is (low, high) and turn them off if needs be. You can also tell SATA disks to spin down too. There's a lot more going on in modern PCs than in the 90s. -adrian On 25 August 2015 at 07:21, Polytropon wrote: > On Mon, 24 Aug 2015 15:15:26 -0700, Chris Stankevitz wrote: >> On Mon, Aug 24, 2015 at 12:42 PM, Polytropon wrote: >> > Ye olde atacontrol had a "detach" option. Its equivalent >> > is "camcontrol stop" which you have discovered. This should >> > be sufficient. >> > >> > However, I'm doing this with SATA and external USB disks >> > a lot: Issue "sync", call umount, give it some seconds >> > to actually complete (!) those tasks, and then power it >> > off (external power supply off for USB, combined plug >> > removed from SATA disk). No problems so far. >> >> Polytropon, >> >> Thank you. I've been doing the same... but I assumed/hoped there was >> more I could do. I also shutdown smartd before pulling the drive, and >> start smartd afterwards. I hope there are not others. ("hope" is a >> common theme here... which is why I'm writing to the list) > > The "problem" is that the PC (and let's face it: most x86-based > server hardware can be summarized with "PC", too) does not have > a "programmable infrastructure" for power control. It would need > to consist of two parts: the electric/electronic part that allows > you to switch on and off several power lines inside the system > (and maybe even out of the system), and an interface in _software_ > that can be accessed by system daemons and user programs (an API). > > For example, mainframe and midrange systems _have_ this ability. > The SPCN (system power control network) inside an AS/400 for > example has such a component. First, only the system console > and a part of the power supply will be powered; when you then > tell the system to boot, the main processor - inactive until > now! - will be started, the disks will be powered up, and > the expansion components will be started. At system shutdown > time, the whole procedure reverses, just leaving the console > running. As far as I remember, selectively "taking down" a > disk (to be replaced) was also possible from within software... > > > >> I didn't know that the heads were parked when the power is cut... but >> that is a relief to hear. > > This is what happens when you detach a USB hard disk. The drive > will spin up as soon as _power_ is available - no need for a > real connection to a computer! And when the power is cut, the > heads will slide back into parking position where they will > be locked (for safely moving the disk). > > > > -- > 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" From owner-freebsd-questions@freebsd.org Tue Aug 25 16:51: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 B78A899AA9C for ; Tue, 25 Aug 2015 16:51:56 +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 7D8AB90A for ; Tue, 25 Aug 2015 16:51:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 42A8927869; Tue, 25 Aug 2015 18:51:52 +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 t7PGppMe003159; Tue, 25 Aug 2015 18:51:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 25 Aug 2015 18:51:51 +0200 From: Polytropon To: Adrian Chadd Cc: Chris Stankevitz , freebsd-questions Subject: Re: Stop using a SATA drive Message-Id: <20150825185151.d9373b1f.freebsd@edvax.de> In-Reply-To: References: <20150824214252.53aa04c6.freebsd@edvax.de> <20150825162122.b770fc6a.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 16:51:56 -0000 On Tue, 25 Aug 2015 09:35:16 -0700, Adrian Chadd wrote: > You can likely send commands to USB disks for "plz sync and power down thx". But it will be something the _device_ has to implement, I'd say. > You can almost always turn off and on USB ports on your computer. Including power? The mainboards that I owned usually did not have settings for disabling USB ports and their power... In most cases, power was available even when the board had power, but the machine didn't run yet. I've read about "power_off" in "man usbconfig", but I didn't find this actually working for a USB-attached disk... > You can also tell SATA disks to spin down too. Which FreeBSD system program or external utility can do this? > There's a lot more going on in modern PCs than in the 90s. I don't buy PC commodity hardware on a daily basis, so please accept my apology for ongoing ignorance. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Aug 25 18:03: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 05C269C3728 for ; Tue, 25 Aug 2015 18:03:43 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-in7.apple.com (mail-out7.apple.com [17.151.62.29]) (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 D2C999AE for ; Tue, 25 Aug 2015 18:03:42 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay5.apple.com (relay5.apple.com [17.128.113.88]) by mail-in7.apple.com (Apple Secure Mail Relay) with SMTP id 2B.FD.20099.EFDACD55; Tue, 25 Aug 2015 11:03:42 -0700 (PDT) X-AuditID: 11973e16-f793e6d000004e83-8b-55dcadfedc3a Received: from [17.168.90.119] (Unknown_Domain [17.168.90.119]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by relay5.apple.com (Apple SCV relay) with SMTP id 04.A5.04920.DFDACD55; Tue, 25 Aug 2015 11:03:42 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Stop using a SATA drive From: Charles Swiger In-Reply-To: <20150825185151.d9373b1f.freebsd@edvax.de> Date: Tue, 25 Aug 2015 11:03:40 -0700 Cc: FreeBSD - Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150824214252.53aa04c6.freebsd@edvax.de> <20150825162122.b770fc6a.freebsd@edvax.de> <20150825185151.d9373b1f.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.2104) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsUi2FAYoftv7Z1Qgxdf2S1eft3EYnH12gVW ByaPm63LmDxmfJrPEsAUxWWTkpqTWZZapG+XwJVx4X0je8FVjopvKy4zNTB+YOti5OSQEDCR WLL5MwuELSZx4d56oDgXh5DAXkaJX+uPscIUTXr2iAUiMZVJ4ui0bYwgCWYBLYkb/14ygdi8 AnoSr25dBmsQFlCRuHfyNlANBwebgJrEhIk8IGFOAXOJo1dOMYPYLAKqEh2vm5ggxuhKNN14 CzVSW2LZwtfMECOtJBa0z2WE2HubSaLxxnKw+SICihIzmxZDHScrsfv3IyaQIgmBt6wS8+6u ZZ7AKDQLyX2zkNw3C8mSBYzMqxiFchMzc3Qz88z1EgsKclL1kvNzNzGCgni6ndgOxoerrA4x CnAwKvHwzph/O1SINbGsuDL3EKM0B4uSOG+uAVBIID2xJDU7NbUgtSi+qDQntfgQIxMHp1QD Y95bo51+MXfTfq7/tP6qFN8GV6G5qVOuHHYI37m92tdljsCUO7OCEiLmCN703HJqctguBzmG ywFiRme0U37kKiQsnCAbxs70IXa2b8LSB8WhCzqPmfi5fDyk1qmesC3XLfnXBYYW+22ul56Z PtF0WDJHXr4hwHfhy77Ar84np4cfCvY1D9MMVWIpzkg01GIuKk4EAIhZP85DAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMLMWRmVeSWpSXmKPExsUiuCKqXPff2juhBks7mCxeft3EYnH12gVW ByaPm63LmDxmfJrPEsAUxWWTkpqTWZZapG+XwJVx4X0je8FVjopvKy4zNTB+YOti5OSQEDCR mPTsEQuELSZx4d56oDgXh5DAVCaJo9O2MYIkmAW0JG78e8kEYvMK6Em8unWZFcQWFlCRuHfy NlANBwebgJrEhIk8IGFOAXOJo1dOMYPYLAKqEh2vm5ggxuhKNN14CzVSW2LZwtfMECOtJBa0 z2WE2HubSaLxxnKw+SICihIzmxazQhwnK7H79yOmCYz8s5CcNAvJSbOQzF3AyLyKUaAoNSex 0lQvsaAgJ1UvOT93EyMo6BoKI3Yw/l9mdYhRgINRiYd3xvzboUKsiWXFlbmHGCU4mJVEeJ9v BArxpiRWVqUW5ccXleakFh9ilOZgURLn5V0OlBJITyxJzU5NLUgtgskycXBKNTCyxhz8HJz1 +P6ujC5HqeW6eR5nYx7tC+s+M5/X/ssGAU75tmMtSde7Ll5+qnvbsqny3NNSd2Z+Vqv713U8 jTpTSos2ehXc0lKe53FSw+COQil3SOOJj9oSun8tStN/sN3656vJFSC6VrXX+Uh6r1t79Q7p lmbTHLeFackTRXYLLN0jf01YUImlOCPRUIu5qDgRAIVa1JA2AgAA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Aug 2015 18:03:43 -0000 On Aug 25, 2015, at 9:51 AM, Polytropon wrote: > On Tue, 25 Aug 2015 09:35:16 -0700, Adrian Chadd wrote: >> You can likely send commands to USB disks for "plz sync and power = down thx". >=20 > But it will be something the _device_ has to implement, I'd say. Sure. Every external USB hard drive needs to implement flush cache, = idle, standby, and sleep or else they'd lose data whenever folks had their machines go = to sleep. >> You can almost always turn off and on USB ports on your computer. >=20 > Including power? The mainboards that I owned usually did not > have settings for disabling USB ports and their power... > In most cases, power was available even when the board > had power, but the machine didn't run yet. Try a newer motherboard based off of the H97 / Z97 chipsets, or at least the prior H75/H77/Z75/Z77 generations. UEFI BIOS gives a whole lot more options for USB and SATA power management, including explicitly enabling or disabling power to individual ports either in UEFI at system boot or while running. Regards, --=20 -Chuck From owner-freebsd-questions@freebsd.org Tue Aug 25 18:27: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 CF8289C3E06 for ; Tue, 25 Aug 2015 18:27:42 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 63BA8326 for ; Tue, 25 Aug 2015 18:27:41 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id t7PIRVMK059901 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 25 Aug 2015 20:27:31 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id t7PIRVcZ059898 for ; Tue, 25 Aug 2015 20:27:31 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 25 Aug 2015 20:27:31 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD questions Subject: .metadir missing? Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 18:27:42 -0000 Hi, I see a lot of these messages while building packages using portupgrade. Are there any workarounds or even a permanent solution? ===> Building package for tex-luatex-0.80.0_2 pkg-static: open(/usr/ports/workdirs/usr/ports/print/tex-luatex/work/.metadir): No such file or directory *** Error code 1 -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestl, | Trond Endrestl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Tue Aug 25 20:26: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 366A89C3C41 for ; Tue, 25 Aug 2015 20:26:14 +0000 (UTC) (envelope-from jason@schwerberg.com) Received: from junaos.com (unknown [IPv6:2607:5300:60:1e83::1001]) by mx1.freebsd.org (Postfix) with ESMTP id 13E731AF8 for ; Tue, 25 Aug 2015 20:26:14 +0000 (UTC) (envelope-from jason@schwerberg.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id B09FFDC022F for ; Tue, 25 Aug 2015 16:26:56 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at junaos.com Received: from junaos.com ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10024) with LMTP id il3XnFsZVOrp for ; Tue, 25 Aug 2015 16:26:55 -0400 (EDT) Received: from [127.0.0.1] (ip70-173-255-54.lv.lv.cox.net [70.173.255.54]) (Authenticated sender: jason@schwerberg.com) by mail.schwerberg.com (Postfix) with ESMTPSA id 98BECDC021D for ; Tue, 25 Aug 2015 16:26:54 -0400 (EDT) To: FreeBSD questions From: Jason Schwerberg Subject: Disabling IPv6 in FreeBSD 10.2 Message-ID: <55DCCF61.9080301@schwerberg.com> Date: Tue, 25 Aug 2015 13:26:09 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 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-Antivirus: avast! (VPS 150825-1, 08/25/2015), Outbound message X-Antivirus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 20:26:14 -0000 10.2-RELEASE FreeBSD bsd.junaos.com 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 I've already added the following lines to my rc.conf: ipv6_network_interfaces="none" ipv6_activate_all_interfaces="NO" but certain connections are still trying to use IPv6, namely 'jwhois': $ truss jwhois google.com ... __sysctl(0x7fffffffe740,0x4,0x0,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffe740,0x4,0x80147b300,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) socket(PF_INET6,0x10000002,17) = 4 (0x4) connect(4,{ AF_INET6 [2001:502:8c25:1000::74]:1 },28) ERR#65 'No route to host' ... How can I disable ipv6 in FreeBSD 10.2? --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From owner-freebsd-questions@freebsd.org Tue Aug 25 19:25: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 92E849C250F for ; Tue, 25 Aug 2015 19:25:34 +0000 (UTC) (envelope-from john.haraden@yahoo.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 721701458 for ; Tue, 25 Aug 2015 19:25:34 +0000 (UTC) (envelope-from john.haraden@yahoo.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6F3839C250E; Tue, 25 Aug 2015 19:25:34 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6ECB79C250D for ; Tue, 25 Aug 2015 19:25:34 +0000 (UTC) (envelope-from john.haraden@yahoo.com) Received: from nm30-vm0.bullet.mail.bf1.yahoo.com (nm30-vm0.bullet.mail.bf1.yahoo.com [98.139.213.126]) (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 28FAB1457 for ; Tue, 25 Aug 2015 19:25:33 +0000 (UTC) (envelope-from john.haraden@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1440530727; bh=IIY2rkIwxaKNRYiBqR9GVfe46poXUZDIjfEWA9jGz/c=; h=From:Subject:Date:To:From:Subject; b=YyljlqwOBKjFgQ7CzDhceUmhqhO117LnZYUGR8Ke0EluiQ4ebPWhDBEeR22ecB98PhZRSAUuTmfG5RWTjIBUSQrBpuywv164nNADSpHzVTb9CKA5IeaFkxgv5/kOHjLSsH05X9j7/KWBkhle6BcNeyP2kn4QLgim5KZb4R7OolemEy6HBnU1Z7YStRyDlMS/QpRZsFuJJDJxmSz901Yrl+KgZLYERFXrWwTC7el7QkCysFgKGDoLUizwp7YR2NAGGSEYtL0n9WacN7h5uPdwcB4P20dPtOP4ueBQJCBTIIQOy84pKH3lvNdtFjJIiM22hKSYMuc6lMLyzfuUVro+Dg== Received: from [98.139.215.140] by nm30.bullet.mail.bf1.yahoo.com with NNFMP; 25 Aug 2015 19:25:27 -0000 Received: from [68.142.230.75] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 25 Aug 2015 19:25:27 -0000 Received: from [127.0.0.1] by smtp232.mail.bf1.yahoo.com with NNFMP; 25 Aug 2015 19:25:27 -0000 X-Yahoo-Newman-Id: 354336.18794.bm@smtp232.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: PYRdBvoVM1k_a9mTZTh22IFQ8vZjhWhqP1INVnSHvuhllEa JUmzne6p7PmdiDtixkjc78x0vrTeQiHBhmkEKtIoZ6wU2bXb4CFHAhSYWelo ZXF_XPh3Oi6_qMx0UdD62bmxAcq8FG2aQwwkQHguk.Z4gktsFh79dvc7Ot_8 DdYc06Hmd4KUBcmwfEC0ImVNxX2KWIhFj9_4NAoIZbyXSPeyKgG5QM73Z.bz 5YHYzdmG78HALinIxO_6h7wcYTqO5U7.01Ss3PmGzD.tzNS5S0nHP7nOy4HU EqhbytseApDBRguSg.jiuk92mABdQAUY.6JxoNMKCaan8.jkSz6m9LKsu.Fu L7qtvo7etRFEB8.hIBZwNwPr08rAcRUGnW0bTw_qvJHJByRQ4PCdo9OJouI6 tuiB17DzqdVUvayqXP2ozw5U2YaxnfRz0E0CkpMIdPAybj16ubaFdp3kv7dV 2ix7wuK7u0x8S7fw3BX3hEFHC_67nbwCM.FvsKhDdoDc6Lo5XV.mrtITRpk8 xm7tc X-Yahoo-SMTP: EqlcfRSswBDyHGnv7_9yWbMffSHJ6eNoZA-- From: john.haraden@yahoo.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Subject: usb printers Message-Id: Date: Tue, 25 Aug 2015 12:25:25 -0700 To: questions@freebsd.org X-Mailer: iPhone Mail (12H321) X-Mailman-Approved-At: Tue, 25 Aug 2015 21:45:09 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Aug 2015 19:25:34 -0000 How do I get devices ulpt0 and unlpt0 to show up in /dev Sent from my iPhone From owner-freebsd-questions@freebsd.org Tue Aug 25 22:11: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 395FA9C36A6; Tue, 25 Aug 2015 22:11:15 +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 027E91A30; Tue, 25 Aug 2015 22:11:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 15B7627847; Wed, 26 Aug 2015 00:11:06 +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 t7PMB50a005023; Wed, 26 Aug 2015 00:11:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 26 Aug 2015 00:11:05 +0200 From: Polytropon To: john.haraden@yahoo.com Cc: "john.haraden--- via freebsd-questions" , questions@freebsd.org Subject: Re: usb printers Message-Id: <20150826001105.37b2d454.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: Tue, 25 Aug 2015 22:11:15 -0000 On Tue, 25 Aug 2015 12:25:25 -0700, john.haraden--- via freebsd-questions wrote: > How do I get devices ulpt0 and unlpt0 to show up in /dev If the printer interface identifies the device as belonging to the "USB printer" class, the device files will appear automatically. The required driver (ulpt) is part of the default system kernel. In case it's not (for example when running a custom kernel), add this line to /boot/loader.conf: ulpt_load="YES" For details see "man 4 ulpt". If the printer is not recognized with this mechanism, a generic USB device (ugen) will appear. Some printer drivers require this (instead of ulpt). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Aug 26 01:08:52 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 1E0169C23C7 for ; Wed, 26 Aug 2015 01:08:52 +0000 (UTC) (envelope-from wblock@wonkity.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 04A64852 for ; Wed, 26 Aug 2015 01:08:52 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: by mailman.ysv.freebsd.org (Postfix) id 01BA79C23C6; Wed, 26 Aug 2015 01:08:52 +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 014C69C23C5 for ; Wed, 26 Aug 2015 01:08:52 +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 B8156850 for ; Wed, 26 Aug 2015 01:08:51 +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 t7Q18o1H025057 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 25 Aug 2015 19:08:50 -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 t7Q18nGh025052; Tue, 25 Aug 2015 19:08:49 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 25 Aug 2015 19:08:49 -0600 (MDT) From: Warren Block To: john.haraden@yahoo.com cc: questions@freebsd.org Subject: Re: usb printers In-Reply-To: Message-ID: References: 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]); Tue, 25 Aug 2015 19:08:50 -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: Wed, 26 Aug 2015 01:08:52 -0000 On Tue, 25 Aug 2015, john.haraden--- via freebsd-questions wrote: > How do I get devices ulpt0 and unlpt0 to show up in /dev Some printers require a firmware download before they appear. How to do that, or whether it is possible on a non-Windows platform, depends on the printer. Or it could be some type of proprietary communications that do not appear as a USB printer at all. What brand and model of printer is it? From owner-freebsd-questions@freebsd.org Wed Aug 26 04:35: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 4AD269C2AF7 for ; Wed, 26 Aug 2015 04:35:47 +0000 (UTC) (envelope-from maillist@bsdjunk.com) Received: from fallback5.mail.ru (fallback5.mail.ru [94.100.181.253]) by mx1.freebsd.org (Postfix) with ESMTP id E2235B65 for ; Wed, 26 Aug 2015 04:35:46 +0000 (UTC) (envelope-from maillist@bsdjunk.com) Received: from smtp5.mail.ru (smtp5.mail.ru [94.100.179.24]) by fallback5.mail.ru (mPOP.Fallback_MX) with ESMTP id AD3B48E35D42 for ; Wed, 26 Aug 2015 07:33:55 +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=izmb7QaBD+0HjbDgjoMO8lJVIrz+jrKoDgwA7fGQL7c=; b=ZfpZ4Ohkc0JStnm3gjlobCQJRl2OVC0AkGJmX8BeuTUp77v8ErMPAA3mLwUMdpP/a41em6UKuucYhhn3WZl4ieohVy4/Nc5yFXDHh0Tg/EHbnWoxL/N9TiriWvhjVzXhX8EOBkIKOt45DgXTRtzd2HEvSHkj8q/9mv1edYYi4Mk=; Received: from [187.150.131.128] (port=57284 helo=[192.168.1.77]) by smtp5.mail.ru with esmtpa (envelope-from ) id 1ZUSPC-0001zK-1Y for freebsd-questions@freebsd.org; Wed, 26 Aug 2015 07:33:46 +0300 Subject: Re: Disabling IPv6 in FreeBSD 10.2 To: freebsd-questions@freebsd.org References: <55DCCF61.9080301@schwerberg.com> From: Chris Petrik Message-ID: <55DD41A4.1010702@bsdjunk.com> Date: Tue, 25 Aug 2015 23:33:40 -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: <55DCCF61.9080301@schwerberg.com> 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: Wed, 26 Aug 2015 04:35:47 -0000 On 08/25/15 15:26, Jason Schwerberg wrote: > 10.2-RELEASE > FreeBSD bsd.junaos.com 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: > Wed Aug 12 15:26:37 UTC 2015 > > I've already added the following lines to my rc.conf: > ipv6_network_interfaces="none" > ipv6_activate_all_interfaces="NO" > > but certain connections are still trying to use IPv6, namely 'jwhois': > > $ truss jwhois google.com > ... > __sysctl(0x7fffffffe740,0x4,0x0,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) > __sysctl(0x7fffffffe740,0x4,0x80147b300,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) > socket(PF_INET6,0x10000002,17) = 4 (0x4) > connect(4,{ AF_INET6 [2001:502:8c25:1000::74]:1 },28) ERR#65 'No route > to host' > ... > > How can I disable ipv6 in FreeBSD 10.2? > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > _______________________________________________ > 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" Add WITHOUT_IPV6= to /etc/src.conf (create it if it doesn't exist) and rebuild the world And remove the INET6 from the kernel config. Is what I got from your "How do I disable ipv6 in FreeBSD" From owner-freebsd-questions@freebsd.org Wed Aug 26 08:57: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 043D399AFC2 for ; Wed, 26 Aug 2015 08:57:54 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) (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 894A7644 for ; Wed, 26 Aug 2015 08:57:53 +0000 (UTC) (envelope-from ml@my.gd) Received: by lbcbn3 with SMTP id bn3so115423942lbc.2 for ; Wed, 26 Aug 2015 01:57: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:content-type; bh=GwNgKTFnPxbuq0dGzTnYUeZ0wjtIlb68ROGsDc8MSYY=; b=FpDXJVkHPlcVvhylLCDH37j+Ep9qv23jHofGRmCWPQ1E5vqWTvgEXnFJyRj5HLUEK1 76lfpIG3PrZoQh/paJm98jjdN6oXqK8bktB3Qa3EZRmhKwJ9brPfipsEoPpfUEGlRgHL cHBvhSLZVblkCC8wvbxWh3zuDGfzcU3kGjjOlDERXQlzf/OWxSClbNXlLLwS5ciOEbyJ R1itq3yLah28LzAUWAtpKVr5zGjjaVV5ELWKLPUIRogJVODCPsX5zFOpvqm14biO53it Pn34vnAZ8fg/wJPrECMf7T9/rJjspqQaOVgLGH17BrBldsP3+vKubahQoTMkXNTYbKbT 4Y/w== X-Gm-Message-State: ALoCoQmvDnkR6UHsmduISguzSi8dATxAdgLOAqVFoH4z3Fii1Xyw1IGJtdXc1ZsnW/K3s+pSgkeM MIME-Version: 1.0 X-Received: by 10.152.178.133 with SMTP id cy5mr29894003lac.42.1440578112351; Wed, 26 Aug 2015 01:35:12 -0700 (PDT) Received: by 10.112.60.34 with HTTP; Wed, 26 Aug 2015 01:35:12 -0700 (PDT) In-Reply-To: <55DD41A4.1010702@bsdjunk.com> References: <55DCCF61.9080301@schwerberg.com> <55DD41A4.1010702@bsdjunk.com> Date: Wed, 26 Aug 2015 10:35:12 +0200 Message-ID: Subject: Re: Disabling IPv6 in FreeBSD 10.2 From: Damien Fleuriot To: Chris Petrik , "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: Wed, 26 Aug 2015 08:57:54 -0000 On 26 August 2015 at 06:33, Chris Petrik wrote: > On 08/25/15 15:26, Jason Schwerberg wrote: > >> 10.2-RELEASE >> FreeBSD bsd.junaos.com 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed >> Aug 12 15:26:37 UTC 2015 >> >> I've already added the following lines to my rc.conf: >> ipv6_network_interfaces="none" >> ipv6_activate_all_interfaces="NO" >> >> but certain connections are still trying to use IPv6, namely 'jwhois': >> >> $ truss jwhois google.com >> ... >> __sysctl(0x7fffffffe740,0x4,0x0,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) >> __sysctl(0x7fffffffe740,0x4,0x80147b300,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) >> socket(PF_INET6,0x10000002,17) = 4 (0x4) >> connect(4,{ AF_INET6 [2001:502:8c25:1000::74]:1 },28) ERR#65 'No route to >> host' >> ... >> >> How can I disable ipv6 in FreeBSD 10.2? >> >> --- >> This email has been checked for viruses by Avast antivirus software. >> https://www.avast.com/antivirus >> >> _______________________________________________ >> 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" >> > > Add WITHOUT_IPV6= to /etc/src.conf (create it if it doesn't exist) and > rebuild the world > And remove the INET6 from the kernel config. > > Is what I got from your "How do I disable ipv6 in FreeBSD" > > A word of caution to those who wish to remove IPv6 support entirely. Some daemons, net/relayd comes to mind, actually *require* IPv6 support in-kernel, and will refuse to start if you remove it. From owner-freebsd-questions@freebsd.org Wed Aug 26 10:56: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 ECFFE9C21B9 for ; Wed, 26 Aug 2015 10:56:43 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58BAAB57 for ; Wed, 26 Aug 2015 10:56:40 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from kw.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id t7QAYpaf073749 for ; Wed, 26 Aug 2015 12:34:52 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <55DD964B.2010503@bananmonarki.se> Date: Wed, 26 Aug 2015 12:34:51 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Ccache warning Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2015 10:56:44 -0000 Hello list. When building from ports/source I get this warning. /!\ WARNING /!\ WITH_CCACHE_BUILD support disabled, please set CCACHE_DIR. Where do I set CCACHE_DIR? This is on FreeBSD 9.3-RELEASE #0 r278921 From owner-freebsd-questions@freebsd.org Wed Aug 26 11:29: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 0618B9C32C0 for ; Wed, 26 Aug 2015 11:29:50 +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 75D98AD6 for ; Wed, 26 Aug 2015 11:29:49 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7QBTijC092188 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 26 Aug 2015 12:29:45 +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 t7QBTijC092188 Authentication-Results: smtp.infracaninophile.co.uk/t7QBTijC092188; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Subject: Re: Ccache warning To: freebsd-questions@freebsd.org References: <55DD964B.2010503@bananmonarki.se> From: Matthew Seaman Message-ID: <55DDA328.8050101@freebsd.org> Date: Wed, 26 Aug 2015 12:29:44 +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: <55DD964B.2010503@bananmonarki.se> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RHMPPwhDlwXQJPthCCE5n8p34EsfvM1QV" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Wed, 26 Aug 2015 11:29:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RHMPPwhDlwXQJPthCCE5n8p34EsfvM1QV Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/26/15 11:34, Bernt Hansson wrote: > Hello list. >=20 > When building from ports/source I get this warning. >=20 > /!\ WARNING /!\ > WITH_CCACHE_BUILD > support > disabled, > please > set > CCACHE_DIR. >=20 > Where do I set CCACHE_DIR? >=20 > This is on FreeBSD 9.3-RELEASE #0 r278921 In /etc/make.conf if you're running 'make' directly from ports, or via portmaster/portupgrade. In ${LOCALBASE}/etc/poudriere.conf if you're using poudriere. Cheers, Matthew --RHMPPwhDlwXQJPthCCE5n8p34EsfvM1QV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJV3aMoAAoJEABRPxDgqeTnbtEP/igkpjqXZMcDzExlghe8hZHz 3R7tZsdS7ovyXj4HXxqwcDEQpxrlGWtZvwDFquE/bPjY4qz7A+DPM3VtMbRXufAg PPNDyJ7CboVEjUBoqRsVHFMoEjMCAyYOBlKervUqR2rs1ea1UN/w9rABAp/xmMQa Xmydm2i55C+KzvXsz/CixcaOnVdOFijf7oo05CBQA0W3mOl2ttXC6gtiWUiKsbOT fI/IkohX5SbhNklshsumM5M3S7wkx7OMP/zxGQdvXQ08ZD4vPdzMNL1pJc0DpSFq VWeehWf4V33uGxdZ944o4vH3JPMqpzEcacHIMeagjVntvgIohAaPnb+aTn/ajc6H OtNzQkCXwTL8vv7LxjaTC6T/ozzZZSC8TKaKkRILxnbeLBN8T1Bl+6fPAuuSCJKG KQ9ZQuNA5x53ANdvEE9YDhdo6Rs45VF7rsq5/KWvXWkFduPQGgW59oxWY/4N9xKT FU9DINb1ldKv1MkMvnHD5PTyqgMEbiTuNV8qzNwVoEsqeaRaTY55Vsr5zgLagC3E IipDoXnbIOgTTv2Tdrv2jxq13mfudlUi1tdDNpL10h7chd0vXrvaaLHEgbD4sb8/ Dp1fO5X/uvT5tesLZlOBmn2hKJPfZtPNHKsK1lsBkBfbgJd+uyskoAFKCGZNejNL /w7eoTGls2O0is/x/Wgy =vBrl -----END PGP SIGNATURE----- --RHMPPwhDlwXQJPthCCE5n8p34EsfvM1QV-- From owner-freebsd-questions@freebsd.org Wed Aug 26 12:03: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 B17B79C290E for ; Wed, 26 Aug 2015 12:03:54 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5126C321 for ; Wed, 26 Aug 2015 12:03:54 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wicne3 with SMTP id ne3so42658765wic.0 for ; Wed, 26 Aug 2015 05:03:52 -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=oUeQn6HMBN613bsqGHItKLUDKFArYgz3Rz00YbhMHyk=; b=sSro8NOewNVLzybjQe2ZdAD8K6020mCZiEzYdmDdyzjMi4SR3QePORpj2kidL+ORJ7 e4MRyXV9Gfy79qI1Akn9wjJqpDZU/fQ68o3gVr6N+T4lTFsnFc9j8mc+LCS8bB6+6p0W ZPFXFUry+vyAqiaCsYYcZ8BW7MXRTo0e1aYeJSv/kVIKO8byIOq9IZfP/o8rauKXem32 AFvU3z4powzVzaE16KuBgdb59QHa1N969b1DSkJ76CUJ+MPp/kHSjIhBnsIj6b3wh6ot 6xAtvAC1h58mYAHtlUz3dRrfpRtaRga/i+Xp6OjeyG51tVlvcVNTDuTPIr4BPKfu47GD dV6g== X-Received: by 10.194.216.68 with SMTP id oo4mr56232259wjc.81.1440590632689; Wed, 26 Aug 2015 05:03:52 -0700 (PDT) Received: from gumby.homeunix.com ([90.204.37.254]) by smtp.gmail.com with ESMTPSA id bu12sm3514219wjb.44.2015.08.26.05.03.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2015 05:03:51 -0700 (PDT) Date: Wed, 26 Aug 2015 13:03:49 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Ccache warning Message-ID: <20150826130349.25093db6@gumby.homeunix.com> In-Reply-To: <55DDA328.8050101@freebsd.org> References: <55DD964B.2010503@bananmonarki.se> <55DDA328.8050101@freebsd.org> 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: Wed, 26 Aug 2015 12:03:54 -0000 On Wed, 26 Aug 2015 12:29:44 +0100 Matthew Seaman wrote: > On 08/26/15 11:34, Bernt Hansson wrote: > > Hello list. > > > > When building from ports/source I get this warning. > > > > /!\ WARNING /!\ > > WITH_CCACHE_BUILD > > support > > disabled, > > please > > set > > CCACHE_DIR. > > > > Where do I set CCACHE_DIR? > > > > This is on FreeBSD 9.3-RELEASE #0 r278921 > > In /etc/make.conf if you're running 'make' directly from ports, or via > portmaster/portupgrade. I set it in the environment so it works with ccache -s etc. From owner-freebsd-questions@freebsd.org Wed Aug 26 13: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 CB8DF9C2765 for ; Wed, 26 Aug 2015 13:59:23 +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 CN "www.dweimer.net", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FBDDE7B for ; Wed, 26 Aug 2015 13:59:22 +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 ESMTPS id t7QDo2wg005139 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO) for ; Wed, 26 Aug 2015 08:50:02 -0500 (CDT) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id t7QDo28I005138; Wed, 26 Aug 2015 08:50:02 -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: Jail not starting at Boot X-PHP-Script: www.dweimer.net/webmail/index.php for 71.86.41.122, 192.168.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 26 Aug 2015 08:50:02 -0500 From: dweimer Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: <4437010e968d156ec6087a56bc334b40@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, 26 Aug 2015 13:59:23 -0000 I have seven jails configured on my system, I have them configured to start at boot with the following lines in /etc/rc.conf jail_enable="YES" jail_parallel_start="YES" They are all defined in /etc/jail.conf, here is the configuration from the first two. They are all basically the same, except IP address and directories. A couple of the ones not included do have one additional entry, depend = "pgsql"; as they have services that can't start without the pgsql databases up. # Define PostgreSQL Jail pgsql { host.hostname = pgsql.dweimer.local; ip4.addr = 192.168.5.6; interface = LAN; path = /jails/pgsql/ROOT; allow.mount.devfs; mount.devfs; mount.fstab = "/jails/pgsql/fstab"; allow.sysvipc; allow.dying; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.prestart = "/jails/pgsql/prestart.sh"; exec.poststop = "/jails/pgsql/poststop.sh"; exec.consolelog = "/jails/pgsql/console.log"; } # Define MySQL Jail mysql { host.hostname = mysql.dweimer.local; ip4.addr = 192.168.5.9; interface = LAN; path = /jails/mysql/ROOT; allow.mount.devfs; mount.devfs; allow.sysvipc; allow.dying; mount.fstab = "/jails/mysql/fstab"; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.prestart = "/jails/mysql/prestart.sh"; exec.poststop = "/jails/mysql/poststop.sh"; exec.consolelog = "/jails/mysql/console.log"; } The issue I have is that the mysql jail above doesn't start at boot, I can't find any errors in any of the logs, all the other 6 start just fine. The exec.prestart and exec.poststop commands were added for troubleshooting, all they do is echo out the date and time that the command was called to the console log file for each jail. The mysql one doesn't get called at boot. All the jails cleanly shutdown when the server is shutdown, and the jail loads fine if I run jail -c mysql. I originally didn't have the jail_parallel_start="YES" set, and had the same issue. Does anyone have any clue what to look for to determine what's stopping this jail from loading at boot? -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@freebsd.org Wed Aug 26 14:22: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 AACF59C31BB for ; Wed, 26 Aug 2015 14:22:43 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1219BC5C for ; Wed, 26 Aug 2015 14:22:41 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from kw.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id t7QEMboq078731 for ; Wed, 26 Aug 2015 16:22:37 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <55DDCBAD.2080704@bananmonarki.se> Date: Wed, 26 Aug 2015 16:22:37 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Ccache warning References: <55DD964B.2010503@bananmonarki.se> <55DDA328.8050101@freebsd.org> In-Reply-To: <55DDA328.8050101@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2015 14:22:43 -0000 On 2015-08-26 13:29, Matthew Seaman wrote: > On 08/26/15 11:34, Bernt Hansson wrote: >> Hello list. >> >> When building from ports/source I get this warning. >> >> /!\ WARNING /!\ >> WITH_CCACHE_BUILD >> support >> disabled, >> please >> set >> CCACHE_DIR. >> >> Where do I set CCACHE_DIR? >> >> This is on FreeBSD 9.3-RELEASE #0 r278921 > > In /etc/make.conf if you're running 'make' directly from ports, or via > portmaster/portupgrade. Thank you. From owner-freebsd-questions@freebsd.org Wed Aug 26 15:27: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 51DCE9C37C1 for ; Wed, 26 Aug 2015 15:27:08 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (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 E53B0E72 for ; Wed, 26 Aug 2015 15:27:07 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id t7QFCciE069231 for ; Wed, 26 Aug 2015 17:12:38 +0200 (CEST) Received: from [217.29.44.110] ([217.29.44.110]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id t7QFCcpd069182 for ; Wed, 26 Aug 2015 17:12:38 +0200 (CEST) (envelope-from hausen@punkt.de) From: "Patrick M. Hausen" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: SVN checkout without/with poudriere - two different results Message-Id: <38F38B65-D9F0-4863-868C-9A55C4BC6A7E@punkt.de> Date: Wed, 26 Aug 2015 17:12:39 +0200 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, 26 Aug 2015 15:27:08 -0000 Hi, all, the following two commands create to different ports trees: 1. svn co https://svn0.eu.freebsd.org/ports/branches/2015Q3 /usr/ports/ 2. poudriere ports -c -p 2015Q3 -m svn+https branches/2015Q3 I found because in the first tree I have print/ghostscript9 and = print/ghostscript9-nox11 while in the second there are print/ghostscript9-base and = print/ghostscript9-x11. What am I missing? Of course I have SVN_HOST=3Dsvn0.eu.FreeBSD.org in poudriere.conf. Thanks a lot. Patrick --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=C3=BCrgen Egeling AG Mannheim 108285 From owner-freebsd-questions@freebsd.org Wed Aug 26 19:04:00 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 E426F9C3936 for ; Wed, 26 Aug 2015 19:04:00 +0000 (UTC) (envelope-from gilbertrohde188@gmail.com) Received: from mail-vk0-x24e.google.com (mail-vk0-x24e.google.com [IPv6:2607:f8b0:400c:c05::24e]) (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 A2C1EF9 for ; Wed, 26 Aug 2015 19:04:00 +0000 (UTC) (envelope-from gilbertrohde188@gmail.com) Received: by vkm66 with SMTP id 66so522890vkm.3 for ; Wed, 26 Aug 2015 12:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=ijOi+YamKWxs3vsT0Be2FNymLqsI9yqPz32tyCJGuR8=; b=aiajJgOsxof9VHVlhqWluKGf0wc+F5jTaU26SFSQ/uUKXGKDhViIYRK3Od3u7ch8g5 ofYkKPYGs10edMSfCXFS+mElYF0uwS38Fb3vAVfrVKsT29YkBxBNBCqhywUmkUCorFx9 XgGj3ljdPyJ7K19vOhAZi/31AdluHoBm1o9EmICqNOVg0UwESDfOGa0j/pM7sVd5A2f5 8A0UUjPJukhB9ydYQZwdwMAS51xkuRgw3d3rA3hWu2q45tmr5k1VBWhfwqNgCoWpwQ+T q717GMaLb28dxpJkRO4B6CmeiF1EZcyIz3HBxiGRGGfe2TezbpiC8drQq2/iwWulg8wA rXUg== MIME-Version: 1.0 X-Received: by 10.129.74.3 with SMTP id x3mr36123385ywa.34.1440615839643; Wed, 26 Aug 2015 12:03:59 -0700 (PDT) Message-ID: <001a114d8cc0614127051e3b832d@google.com> Date: Wed, 26 Aug 2015 19:03:59 +0000 Subject: Improve Organic Search Engine Ranking for Better Business From: Gilbert Rohde To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes 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, 26 Aug 2015 19:04:01 -0000 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 website 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 to 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's 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 you 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 - "REMOVE" ---------------------------------------------------------------------------------------------------------------------------- From owner-freebsd-questions@freebsd.org Wed Aug 26 20:30: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 7D70C9C3509 for ; Wed, 26 Aug 2015 20:30:02 +0000 (UTC) (envelope-from afranks@gator3167.hostgator.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 5FB19EFF for ; Wed, 26 Aug 2015 20:30:02 +0000 (UTC) (envelope-from afranks@gator3167.hostgator.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5E9D09C3504; Wed, 26 Aug 2015 20:30:02 +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 447139C3503 for ; Wed, 26 Aug 2015 20:30:02 +0000 (UTC) (envelope-from afranks@gator3167.hostgator.com) Received: from gator3167.hostgator.com (gator3167.hostgator.com [198.57.247.131]) (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 28F1EEFE for ; Wed, 26 Aug 2015 20:30:02 +0000 (UTC) (envelope-from afranks@gator3167.hostgator.com) Received: from afranks by gator3167.hostgator.com with local (Exim 4.85) (envelope-from ) id 1ZUffP-000IGM-4H for questions@freebsd.org; Wed, 26 Aug 2015 13:43:23 -0500 To: questions@freebsd.org Subject: Payment for driving on toll road, invoice #00000456511 X-PHP-Script: grandplanevents.com/post.php for 77.111.207.70 Date: Wed, 26 Aug 2015 13:43:23 -0500 From: "E-ZPass Agent" Reply-To: "E-ZPass Agent" Message-ID: <074d0a58d96dad1c878328a6631708f3@grandplanevents.com> X-Priority: 3 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3167.hostgator.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [32968 500] / [47 12] X-AntiAbuse: Sender Address Domain - gator3167.hostgator.com X-BWhitelist: no X-Source-IP: X-Exim-ID: 1ZUffP-000IGM-4H X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: X-Source-Auth: afranks X-Email-Count: 134 X-Source-Cap: YWZyYW5rczthZnJhbmtzO2dhdG9yMzE2Ny5ob3N0Z2F0b3IuY29t Content-Type: text/plain; charset=us-ascii 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, 26 Aug 2015 20:30:02 -0000 Notice to Appear, You have a unpaid bill for using toll road. Please service your debt in the shortest possible time. The copy of the invoice is attached to this email. Regards, John Hopper, E-ZPass Agent. From owner-freebsd-questions@freebsd.org Wed Aug 26 21:00: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 F11C59C3FAD for ; Wed, 26 Aug 2015 21:00:07 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (quechua.inka.de [IPv6:2001:7c0:407:1001:217:a4ff:fe3b:e77c]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6A5F206 for ; Wed, 26 Aug 2015 21:00:07 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mips.inka.de (news@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1ZUhng-0008UM-Qz; Wed, 26 Aug 2015 23:00:04 +0200 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id t7QKvUs6078960 for ; Wed, 26 Aug 2015 22:57:30 +0200 (CEST) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id t7QKvTD7078959 for freebsd-questions@freebsd.org; Wed, 26 Aug 2015 22:57:29 +0200 (CEST) (envelope-from news) To: freebsd-questions@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.questions Subject: Re: How to minimize the number of writes to CF card? Date: Wed, 26 Aug 2015 20:57:29 +0000 (UTC) Lines: 17 Message-ID: References: <1440496718919-6034932.post@n5.nabble.com> <55DC3FBD.8080102@FreeBSD.org> <1440500542763-6034941.post@n5.nabble.com> <55DC53A8.3020508@FreeBSD.org> <55DC55AD.9070209@FreeBSD.org> X-Trace: lorvorc.mips.inka.de 1440622649 78788 ::1 (26 Aug 2015 20:57:29 GMT) X-Complaints-To: usenet@mips.inka.de User-Agent: slrn/1.0.2 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Aug 2015 21:00:08 -0000 On 2015-08-25, Matthew Seaman wrote: > However, I don't think softupdates has much effect on the /number/ or > writes made to the filesystem. It's all about re-ordering writes to > ensure metadata consistency. Time to re-read Kirk's original paper. http://www.usenix.org/publications/library/proceedings/usenix99/full_papers/mckusick/mckusick.pdf See section 5. Choice quote: "Overall, 4.4BSD systems tend to require 40 percent fewer disk writes and complete tasks 25 percent more quickly than when using the default 4.4BSD fast filesystem implementation." -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-questions@freebsd.org Wed Aug 26 21:18: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 5FA7E9C27D6 for ; Wed, 26 Aug 2015 21:18:31 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) (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 22F571093 for ; Wed, 26 Aug 2015 21:18:30 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by qkda128 with SMTP id a128so77780476qkd.3 for ; Wed, 26 Aug 2015 14:18:24 -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=jaH/IZ/NLy8HmMvMZU8ZYYpdYQ8NO6kZPrxaQOk6C38=; b=eBoED4o8452vnwWN9PoiyCgZQXndSQ8ah6OfqENRLDDgdb/1HcsWs+oUryER/phmmr k0ItNMsD/ZhmU0TyfAJQebWpw8v9HOkz6Zyn/qU879LXVsvedvEgZnV2miLenhsJK+mE WWAqF7I4rRgINBmBuhzo2Y30v57VtM27ct7eW0r+pAydbzb/lkHBVylT3kBHWJSP5/H+ ZCPOjAEdz0o2tkWEesNJGZ30kajvS4LwrQDOy+hXtyz7IM3aUj4ZMhCJfph29fp2gC2k kxzcCNrWrKfZdCWpJG/foLplqJ5/vUkW+fH5Z+lSO9o/9jO389uhu1fHjHSA9zpdKNVb jF3A== X-Gm-Message-State: ALoCoQkfok4C/Q4j4VoNGAzlZ8eFV/kqql6ligUlUA/VcrcG9Ard0qAHzhiqUWfzEWcq5mCZJIQZ MIME-Version: 1.0 X-Received: by 10.55.21.40 with SMTP id f40mr1014810qkh.57.1440623904174; Wed, 26 Aug 2015 14:18:24 -0700 (PDT) Received: by 10.140.41.230 with HTTP; Wed, 26 Aug 2015 14:18:23 -0700 (PDT) In-Reply-To: References: <1440496718919-6034932.post@n5.nabble.com> <55DC3FBD.8080102@FreeBSD.org> <1440500542763-6034941.post@n5.nabble.com> <55DC53A8.3020508@FreeBSD.org> <55DC55AD.9070209@FreeBSD.org> Date: Wed, 26 Aug 2015 14:18:23 -0700 Message-ID: Subject: Re: How to minimize the number of writes to CF card? From: Michael Sierchio To: Christian Weisgerber 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, 26 Aug 2015 21:18:31 -0000 On Wed, Aug 26, 2015 at 1:57 PM, Christian Weisgerber wrote: > On 2015-08-25, Matthew Seaman wrote: > > > However, I don't think softupdates has much effect on the /number/ or > > writes made to the filesystem. It's all about re-ordering writes to > > ensure metadata consistency. > > Time to re-read Kirk's original paper. > > http://www.usenix.org/publications/library/proceedings/usenix99/full_papers/mckusick/mckusick.pdf > > See section 5. Choice quote: > > "Overall, 4.4BSD systems tend to require 40 percent fewer disk > writes and complete tasks 25 percent more quickly than when using > the default 4.4BSD fast filesystem implementation." > > At a cost, including the fact that unlink and other directory operations are not atomic - eventual consistency is promised. - M From owner-freebsd-questions@freebsd.org Wed Aug 26 21:51:49 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 B6E1E9C34B9 for ; Wed, 26 Aug 2015 21:51:49 +0000 (UTC) (envelope-from walter@natural-innovations.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 A07A98D8 for ; Wed, 26 Aug 2015 21:51:49 +0000 (UTC) (envelope-from walter@natural-innovations.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9F8D49C34B8; Wed, 26 Aug 2015 21:51:49 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F24C9C34B7 for ; Wed, 26 Aug 2015 21:51:49 +0000 (UTC) (envelope-from walter@natural-innovations.com) Received: from ds.natural-innovations.net (ds.natural-innovations.net [205.214.170.162]) (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 757698D7 for ; Wed, 26 Aug 2015 21:51:48 +0000 (UTC) (envelope-from walter@natural-innovations.com) Received: from [192.168.1.2] (c-98-234-58-202.hsd1.ca.comcast.net [98.234.58.202]) by ds.natural-innovations.net (8.14.2/8.14.2) with ESMTP id t7QLZVdA082176 for ; Wed, 26 Aug 2015 14:35:31 -0700 (PDT) (envelope-from walter@natural-innovations.com) Mime-Version: 1.0 Message-Id: X-Quote: I wasn't innocent till I got older. --WIK X-Calibur: Signifying that I, Arthur, was to become King of the Britons X-Mailer: Eudora Pro on Mac OS X X-Image-URL: http://natural-innovations.com/mailpictures/walter Date: Wed, 26 Aug 2015 14:37:01 -0700 To: questions@FreeBSD.org From: Walter Ian Kaye Subject: Major version upgrade from FreeBSD 7.0 Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Aug 2015 21:51:49 -0000 Hi folks, I want (need?) to upgrade from 7.0 to the current version. I've looked through the docs and still have a question: If configuration file locations (directory layout) have changed from 7->10, can I get a list of changes from 7.0 so I'll know where to put the info from my backed-up files? Like, 7.0: /etc/foo; 10.2: /etc/bar thank you, -Walter From owner-freebsd-questions@freebsd.org Thu Aug 27 05:28: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 BAFE09C4A97 for ; Thu, 27 Aug 2015 05:28:12 +0000 (UTC) (envelope-from mark.tinka@seacom.mu) 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 A5580C4A for ; Thu, 27 Aug 2015 05:28:12 +0000 (UTC) (envelope-from mark.tinka@seacom.mu) Received: by mailman.ysv.freebsd.org (Postfix) id A25CD9C4A96; Thu, 27 Aug 2015 05:28:12 +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 A1F8A9C4A95 for ; Thu, 27 Aug 2015 05:28:12 +0000 (UTC) (envelope-from mark.tinka@seacom.mu) Received: from the-host.seacom.mu (ge-1.ln-01-jnb.za.seacomnet.com [105.28.96.5]) (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 CA5E1C49 for ; Thu, 27 Aug 2015 05:28:10 +0000 (UTC) (envelope-from mark.tinka@seacom.mu) Received: from [127.0.0.1] (helo=Mark-Tinkas-MacBook.local) by the-host.seacom.mu with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id NTQ53R-000FZI-CV; Thu, 27 Aug 2015 06:43:03 +0200 Subject: Re: Major version upgrade from FreeBSD 7.0 To: Walter Ian Kaye , questions@FreeBSD.org References: From: Mark Tinka Message-ID: <55DE9557.2080208@seacom.mu> Date: Thu, 27 Aug 2015 06:43:03 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:40.0) Gecko/20100101 Thunderbird/40.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: Thu, 27 Aug 2015 05:28:12 -0000 On 26/Aug/15 23:37, Walter Ian Kaye wrote: > Hi folks, > > I want (need?) to upgrade from 7.0 to the current version. > I've looked through the docs and still have a question: > > If configuration file locations (directory layout) have changed from > 7->10, > can I get a list of changes from 7.0 so I'll know where to put the info > from my backed-up files? Like, 7.0: /etc/foo; 10.2: /etc/bar Gosh, a lot has changed between 7.0 and now. And I'm being modest. If I were you, I'd make life easier on myself and do a clean install of 10.2. Mark. From owner-freebsd-questions@freebsd.org Thu Aug 27 05:58: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 719CB9C23AF; Thu, 27 Aug 2015 05:58:40 +0000 (UTC) (envelope-from matthias@d2ux.org) Received: from d2ux.org (static.140.151.9.5.clients.your-server.de [5.9.151.140]) by mx1.freebsd.org (Postfix) with ESMTP id 36C359AB; Thu, 27 Aug 2015 05:58:39 +0000 (UTC) (envelope-from matthias@d2ux.org) Received: from d2ux.org (unknown [10.0.0.4]) by d2ux.org (Postfix) with ESMTP id A0D8F1FE57B; Thu, 27 Aug 2015 07:52:54 +0200 (CEST) Received: from d2ux.org ([10.0.0.4]) by d2ux.org (d2ux.org [10.0.0.4]) (amavisd-new, port 10024) with ESMTP id aHuHh5JNNosO; Thu, 27 Aug 2015 07:52:54 +0200 (CEST) Received: from mail.d2ux.org (unknown [10.0.0.7]) by d2ux.org (Postfix) with ESMTP id 3BF341FD73E; Thu, 27 Aug 2015 07:52:54 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 27 Aug 2015 07:52:54 +0200 From: Matthias Petermann To: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Cc: User Questions , owner-freebsd-questions@freebsd.org Subject: Re: AMD A series support In-Reply-To: References: Message-ID: <6500ec392ffb900738af2a50cc28d06f@mail.d2ux.org> X-Sender: matthias@d2ux.org User-Agent: Roundcube Webmail/1.0.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Aug 2015 05:58:40 -0000 Hello Fernando, some months ago I had a Lenovo E145 which was backed by a E1-2500. While I cannot tell you much about your original question, you might want to take a special attention at the wireless chipset of this AMD platform devices. It seems most of them are using Broadcom devices which are poorly supported. Mine was using a Broadcom Chipset which required the Broadcom STA driver which was available for (Debian) Linux, but completely unsupported on FreeBSD. After failing with wrapping the Windows Driver with NDISWrapper ultimately I tried to use a USB Wireless Dongle (Realtek). While this was working, I was unsatisfied with the throughput, so I decided to sell the Laptop and bought a used X220 where everything works out of the Box. Best regards, Matthias Am 2015-08-23 20:18, schrieb Fernando Apesteguía: > Hi all, > > I am thinking of changing my old laptop and a friend of mine talk to > me about the AMD A series. He uses Linux and his experience is good so > far. > > I have a couple of questions I hope you can help me with: > > - Does the combined use of the different Compute Cores (CPU + GPU) to > share workloads need a special support in the OS (in the scheduler for > instance)? If that is the case, how well supported are these APU's in > FreeBSD? > > - Do we have any software in the ports that can monitor the use of > both CPU + GPU cores? > > Thanks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Thu Aug 27 06:05: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 0F1AD9C26AA for ; Thu, 27 Aug 2015 06:05:03 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E0793CEA for ; Thu, 27 Aug 2015 06:05:02 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by mailman.ysv.freebsd.org (Postfix) id DF9B09C26A7; Thu, 27 Aug 2015 06:05:02 +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 DF3449C26A6 for ; Thu, 27 Aug 2015 06:05:02 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6ED69CE7 for ; Thu, 27 Aug 2015 06:05:01 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by lbcbn3 with SMTP id bn3so4945202lbc.2 for ; Wed, 26 Aug 2015 23:04:54 -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=UqU0IgL+thVpZyKc4ugwjcCNkxJR/kejekMJMk+TqW8=; b=Wvh9Mnm75nymQieluKL8DF2lP1vV4+AlD3zvg9c4a2BSSMvWt/0owJwlql+VQdyzfs 1xIDnhx4v/getgX6ShH6ZdEPik9dyJtwXDS8VbmlsMjFtwDImSPTmuMgxxIxl4uJevHV qB1Ct8ZaM8ZdwGDo/v/yViHePE4bOogxASVafb2G6tLpEJL/uNN+70otLW2uy8/+rDdF aewlSJvlkfqKH6u1yuk6YtV/FHT+wFuv7F9+RJIUGrph1n4RJhUJ6+xQ4erKHE/3qLf0 stB9f1pcZwC/zJQrO0bkVtiBTbTD8Cob0UJnbaK/NsnaO2j+/N3ZteaQyra0h9Y7shRi wjYA== X-Gm-Message-State: ALoCoQlWaMTMo+wigTk2VCLqzPgeuq0ZB03GjrW/oLC1Y46sWTpYCdohyURqore1kS2Ahh5/YUXb MIME-Version: 1.0 X-Received: by 10.152.236.39 with SMTP id ur7mr1267382lac.21.1440655494171; Wed, 26 Aug 2015 23:04:54 -0700 (PDT) Received: by 10.25.197.196 with HTTP; Wed, 26 Aug 2015 23:04:54 -0700 (PDT) X-Originating-IP: [2606:6000:cd06:7f00:58c5:854a:2c88:1092] Received: by 10.25.197.196 with HTTP; Wed, 26 Aug 2015 23:04:54 -0700 (PDT) In-Reply-To: <55DE9557.2080208@seacom.mu> References: <55DE9557.2080208@seacom.mu> Date: Wed, 26 Aug 2015 23:04:54 -0700 Message-ID: Subject: Re: Major version upgrade from FreeBSD 7.0 From: "Brian W." To: Mark Tinka Cc: Questions at FreeBSD , Walter Ian Kaye 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, 27 Aug 2015 06:05:03 -0000 I did something similar last year and upgraded to the last 7.x release then the last 8.x then the last 9.x then 10.0. The package setup was the biggest bear. In v9 while still using the old pkg system i visually examined /var/db/pkg, removed all packages, installed the pkg sysytem and then reinstalled the packages I wanted. Brian On Aug 26, 2015 10:28 PM, "Mark Tinka" wrote: > > > On 26/Aug/15 23:37, Walter Ian Kaye wrote: > > > Hi folks, > > > > I want (need?) to upgrade from 7.0 to the current version. > > I've looked through the docs and still have a question: > > > > If configuration file locations (directory layout) have changed from > > 7->10, > > can I get a list of changes from 7.0 so I'll know where to put the info > > from my backed-up files? Like, 7.0: /etc/foo; 10.2: /etc/bar > > Gosh, a lot has changed between 7.0 and now. And I'm being modest. > > If I were you, I'd make life easier on myself and do a clean install of > 10.2. > > Mark. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Thu Aug 27 10:47: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 3B2489C24B6 for ; Thu, 27 Aug 2015 10:47:46 +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 886729DA for ; Thu, 27 Aug 2015 10:47:44 +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 1FD421783B5 for ; Thu, 27 Aug 2015 12:38:29 +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 0gp8x5jVRG_z for ; Thu, 27 Aug 2015 12:38:28 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id C26921783D6 for ; Thu, 27 Aug 2015 12:38:28 +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 6LeeI8uNs3fP for ; Thu, 27 Aug 2015 12:38:28 +0200 (CEST) Received: from xorrigo.toolfactory.net (xorrigo.toolfactory.net [192.168.2.210]) by formentor.toolfactory.net (Postfix) with ESMTP id AE5901783C9 for ; Thu, 27 Aug 2015 12:38:28 +0200 (CEST) Date: Thu, 27 Aug 2015 12:38:27 +0200 (CEST) From: Raimund Sacherer Reply-To: Raimund Sacherer To: FreeBSD Questions Message-ID: <938335435.8523670.1440671907486.JavaMail.zimbra@logitravel.com> In-Reply-To: <1032086371.8518394.1440671626012.JavaMail.zimbra@logitravel.com> Subject: 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 - SAF7 (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: 9KulYKI5lElYaZ7YDMHpOYzyAg7FKg== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Aug 2015 10:47:46 -0000 Hello, I need to make sure that certain devices always have their corresponding device names (like /dev/pass1) assigned. I need this for auto changers in our backup server (but not only there). I have vastly more linux knowledge and there you can for example create udev rules which rename the device to what you need. What is the equivalent way on FreeBSD? Loader hints? Thank you Best Ray -- From owner-freebsd-questions@freebsd.org Thu Aug 27 11:02: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 B6A899C2B33 for ; Thu, 27 Aug 2015 11:02:14 +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 7E1191247 for ; Thu, 27 Aug 2015 11:02:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id D2C4B27890; Thu, 27 Aug 2015 13:02:05 +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 t7RB257b005183; Thu, 27 Aug 2015 13:02:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 27 Aug 2015 13:02:05 +0200 From: Polytropon To: Raimund Sacherer Cc: FreeBSD Questions Subject: Re: how to assure that a certain device (e.g. /dev/pass1) always is /dev/pass1 on subsequent reboots? Message-Id: <20150827130205.455b4330.freebsd@edvax.de> In-Reply-To: <938335435.8523670.1440671907486.JavaMail.zimbra@logitravel.com> References: <1032086371.8518394.1440671626012.JavaMail.zimbra@logitravel.com> <938335435.8523670.1440671907486.JavaMail.zimbra@logitravel.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Aug 2015 11:02:14 -0000 On Thu, 27 Aug 2015 12:38:27 +0200 (CEST), Raimund Sacherer wrote: > Hello, > > I need to make sure that certain devices always have their > corresponding device names (like /dev/pass1) assigned. I need > this for auto changers in our backup server (but not only there). > > I have vastly more linux knowledge and there you can for > example create udev rules which rename the device to what you > need. What is the equivalent way on FreeBSD? Loader hints? Yes. The file in question is /boot/device.hints. See "man 5 device.hints" for details. You should be able to "hard-wire" the device number with the physical device characteristica (address, irq and so on). https://www.freebsd.org/doc/handbook/device-hints.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Aug 27 11:18: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 B38869C32C9 for ; Thu, 27 Aug 2015 11:18:23 +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 5B2311A71 for ; Thu, 27 Aug 2015 11:18:23 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7RBICwY082296 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 27 Aug 2015 12:18: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 t7RBICwY082296 Authentication-Results: smtp.infracaninophile.co.uk/t7RBICwY082296; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: how to assure that a certain device (e.g. /dev/pass1) always is /dev/pass1 on subsequent reboots? To: freebsd-questions@freebsd.org References: <938335435.8523670.1440671907486.JavaMail.zimbra@logitravel.com> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55DEF1ED.4040701@FreeBSD.org> Date: Thu, 27 Aug 2015 12:18: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: <938335435.8523670.1440671907486.JavaMail.zimbra@logitravel.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KwmPcHPNcBkK4RGPUx4IEpWtCv5niantA" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Thu, 27 Aug 2015 11:18:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KwmPcHPNcBkK4RGPUx4IEpWtCv5niantA Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/27 11:38, Raimund Sacherer wrote: > I need to make sure that certain devices always have their > corresponding device names (like /dev/pass1) assigned. I need this for > auto changers in our backup server (but not only there). >=20 > I have vastly more linux knowledge and there you can for example > create udev rules which rename the device to what you need. What is > the equivalent way on FreeBSD? Loader hints? 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. That's repeatable: so long as you aren't changing connections you can be satisfied that /dev/pass1 will refer to the same device before and after a reboot. However, if you do need it: For SCSI / SAS / SATA devices see: device.hints(5) https://www.freebsd.org/doc/handbook/device-hints.html To obtain the bus, device, etc. parameters you'll need, see: camcontrol(8) Otherwise, if your devices are connected via USB, then: devd(8) usbcontrol(8) USB device mappings etc. are assumed to change at run time, as devices are plugged in and out, and may not even be present at boot, which makes it tricky to ensure the same physical device always gets the same device number. For your requirement to work, the devices would have to be permanently wired into the system. Cheers, Matthew --KwmPcHPNcBkK4RGPUx4IEpWtCv5niantA 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 iQJ8BAEBCgBmBQJV3vH0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTna8sP/j/NCGcrXRu68kHEXO/rQdHZ eTKYtPyWvxcZa9wQZn3xf4g0bh7/y4cTSpVPy9hGbDF6Jcy8xLRZHewCZsT2zifx oCX6nuK8t8l7HiYeQh6nI4SOEkTjWAtYu8Qgc3Y1A32QOII9AP0NC2BUJIEvClAh EtZbDpCxQfANUDlXWxecI7uHbVvM4wdKaHfTq60Zh1oiSpmKb/BX5YMyNHyGLAja 11kHTv9aw6mnwu5a0lmwevjLlNlnaSmZXqjxONXi+3zpXfsgvbI293xfkYVZWyTO 51U0FHNS5Mj3R37SHmPY1EGwsG2EKZpaNyubLTPI9dVdftcJqsGRCwzkkX3pBoJB egoaumQD4HjODMXaEtaIOH21vUUNeNB2+o7VMPn2cxeJA0+yuYUHe0PDxccqXd9w l/t/ZS3/26JrxlYapqSw5NGlSLxW9ZkISvoHmRtaUp+z5Dbcy1Lqm1/3nvg3tMId SKN70LXB9cGEDchlIgwaC6PKFjXE29TdWdJnp7HRFJDXf4KyY3fWd+++HiM1M5FS QL0cAsDjIytF3jTAmahUsUQ4LOkJE+vCe5vD7jqa4MOguQ2FtosC31McrG9wh+VO tCCkBJkq8fVICal0kF/SW2k8pAk644Va7FVsAjjRbOPT6gGTbcX+PG+CBKikmjHO nxMkT4OPSRr5KhKfvC90 =yXyI -----END PGP SIGNATURE----- --KwmPcHPNcBkK4RGPUx4IEpWtCv5niantA-- From owner-freebsd-questions@freebsd.org Thu Aug 27 11:45: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 B680D9C3E0D for ; Thu, 27 Aug 2015 11:45:53 +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 981BDBD8 for ; Thu, 27 Aug 2015 11:45:52 +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 1FC093F6ED for ; Thu, 27 Aug 2015 07:45:46 -0400 (EDT) Message-ID: <55DEF869.1010202@sneakertech.com> Date: Thu, 27 Aug 2015 07:45:45 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.freebsd@edvax.de> In-Reply-To: <20150824214252.53aa04c6.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: Thu, 27 Aug 2015 11:45:53 -0000 I have a related question to this. On OSX, you can access the Disk Utility app from the terminal via the 'diskutil' command. This provides a more or less one-stop-shop for all disk related activities, eg; you can issue 'diskutil list' to get a list of all known disk devices and their ID and partitions, you can 'diskutil unmount foo' to stop all writes on disk foo, and then 'diskutil eject foo' to completely disconnect it from the system so it no longer shows up in /dev (using dd to read or write to the drive will fail with "No such file or directory"). I believe Chris was looking for an equivalent command (or equivalent to 'diskutil eject foo' at any rate). OSX was based on FreeBSD originally, so the underlying concept should be possible. Is there no port or package that can provide this functionality? On Aug 24 3:42 PM, Polytropon wrote: > On Mon, 24 Aug 2015 11:52:49 -0700, Chris Stankevitz wrote: >> How can I tell FreeBSD to stop using a SATA drive? I'd like to pull >> it from my machine (while the machine is running) but I'd like to be >> confident that nothing is using it. >> >> I imagine I would feel confident that nothing is using it if the drive >> disappeared from /dev and it stopped spinning. "camcontrol stop" did >> not accomplish this (that was a WAG -- camcontrol man page says that >> 'stop' only sends the 0x1B command whatever that means). >> >> Please let me know if you can imagine a better place for me to ask >> this question or learn more about the process. > > Ye olde atacontrol had a "detach" option. Its equivalent > is "camcontrol stop" which you have discovered. This should > be sufficient. The disk will not be accessed by the system > anymore. In this state, it's safe to detach power and data > lines. Removing power will (what a surprise!) make the > drive stop spinning and also park the heads. Then it can > safely be moved mechanically. > > St stopping the disk would probably only work for those > that have a SCSI command that _does_ this to the drive. > As far as I know, SATA drives don't have this ability. > The device node disappearing from /dev is achieved by > losening the data connection (which is the same as if > removing the power). Both things are probably hard to > achieve in hardware. I could imagine with a power supply > where you can - by software! - address the power lines, > or mainboards / controllers that allow you to address > the SATA ports and make them disappear... > > However, I'm doing this with SATA and external USB disks > a lot: Issue "sync", call umount, give it some seconds > to actually complete (!) those tasks, and then power it > off (external power supply off for USB, combined plug > removed from SATA disk). No problems so far. > > The features you're implicitely asking for do not > exist in x86 commodity hardware, as far as I know. > More expensive and non-consumer platforms usually > have those features. Look for midrange and mainframe > systems. :-) > > From owner-freebsd-questions@freebsd.org Thu Aug 27 11:52: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 ECE3B9C4068 for ; Thu, 27 Aug 2015 11:52:48 +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 C5C4810A3 for ; Thu, 27 Aug 2015 11:52:48 +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 C095E3F6ED; Thu, 27 Aug 2015 07:52:47 -0400 (EDT) Message-ID: <55DEFA0F.9000900@sneakertech.com> Date: Thu, 27 Aug 2015 07:52:47 -0400 From: Quartz MIME-Version: 1.0 To: Chris Stankevitz CC: freebsd-questions Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.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: Thu, 27 Aug 2015 11:52:49 -0000 >I also shutdown smartd before pulling the drive, and > start smartd afterwards. I'm not sure if shutting down smartd really matters unless the drive is actively running a test or something. > I didn't know that the heads were parked when the power is cut... but > that is a relief to hear. Modern drives (where "modern" means anything made in the past 10 years I think) are set up in such a way that the inertia of the spinning platters will 'throw' the heads onto the parking area if power suddenly dies. This is not the same thing as intentionally issuing a park-head command, but the results are more or less the same. From owner-freebsd-questions@freebsd.org Thu Aug 27 11:57: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 DDD209C4157 for ; Thu, 27 Aug 2015 11:57:10 +0000 (UTC) (envelope-from enekogotzon@gmail.com) Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::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 9EC1C117A for ; Thu, 27 Aug 2015 11:57:10 +0000 (UTC) (envelope-from enekogotzon@gmail.com) Received: by ykbi184 with SMTP id i184so16668464ykb.2 for ; Thu, 27 Aug 2015 04:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kVF2STX/PplOsvx4qG4b9BlQQR+lTNBSL81vQ6mzQTw=; b=UmDcm/K9XSpsR3DhY6WP1aCE8cRCNA4S+EJ/khYyByBLGXCsj3ZN+WyQXt4f0dahpe 403u0ctAYMqk6UNWavq1D4/4Luu+xz8athP7nu5Q/PMDVwyO5BM9/D7Wk2HzuV/wVF6/ w73Ia4b6828uc1mIDHIrAcnpR+z/u0ZnWiWSs41jAuSxAm6/uaq68ZKqJMHrilmshKs7 oe1NOQnMB+YQ9RaI5no2QlKgLvafGMJNL5qtTvBbPmTdMjXCxN2khjO6IVeZv2GZsnDx ucZIrsgoAhpMPSiCF7IY+XC2SaQ5hZcaHMGBhHSob24lWWhfpzF1PBasa75Jqr/NzUB/ BkAQ== X-Received: by 10.129.147.65 with SMTP id k62mr2323841ywg.141.1440676629667; Thu, 27 Aug 2015 04:57:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.202.73 with HTTP; Thu, 27 Aug 2015 04:56:30 -0700 (PDT) In-Reply-To: <55DEF869.1010202@sneakertech.com> References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> From: Eneko Gotzon Date: Thu, 27 Aug 2015 13:56:30 +0200 Message-ID: Subject: Re: Stop using a SATA drive To: Quartz Cc: 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, 27 Aug 2015 11:57:11 -0000 On Thu, Aug 27, 2015 at 1:45 PM, Quartz wrote: > OSX was based on FreeBSD originally =E2=80=8BApple: *Terminal is a text-based app that lets you interact direct= ly with the BSD operating system*.=E2=80=8B --=20 Eneko Gotzon Ares enekogotzon@gmail.com From owner-freebsd-questions@freebsd.org Thu Aug 27 11:58: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 691C39C4218 for ; Thu, 27 Aug 2015 11:58:34 +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 0F90C122E for ; Thu, 27 Aug 2015 11:58:33 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7RBwOf4083046 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 27 Aug 2015 12:58:25 +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 t7RBwOf4083046 Authentication-Results: smtp.infracaninophile.co.uk/t7RBwOf4083046; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: Stop using a SATA drive To: freebsd-questions@freebsd.org References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55DEFB5A.3080408@FreeBSD.org> Date: Thu, 27 Aug 2015 12:58:18 +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: <55DEF869.1010202@sneakertech.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eDkSbIpaxUuxxn89xnfNl4SSFwGEN7xGp" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Thu, 27 Aug 2015 11:58:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eDkSbIpaxUuxxn89xnfNl4SSFwGEN7xGp Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/27 12:45, Quartz wrote: > On OSX, you can access the Disk Utility app from the terminal via the > 'diskutil' command. This provides a more or less one-stop-shop for all > disk related activities, eg; you can issue 'diskutil list' to get a lis= t > of all known disk devices and their ID and partitions, you can 'diskuti= l > unmount foo' to stop all writes on disk foo, and then 'diskutil eject > foo' to completely disconnect it from the system so it no longer shows > up in /dev (using dd to read or write to the drive will fail with "No > such file or directory"). >=20 > I believe Chris was looking for an equivalent command (or equivalent to= > 'diskutil eject foo' at any rate). OSX was based on FreeBSD originally,= > so the underlying concept should be possible. Is there no port or > package that can provide this functionality? Apple has the distinct advantage of controlling the hardware. FreeBSD runs on all sorts of different kit from all sorts of different providers, hence the uniform interface that Apple has achieved is much harder. The closest thing would be camcontrol(8), but that doesn't apply to a number of RAID controllers for instance. Cheers, Matthew --eDkSbIpaxUuxxn89xnfNl4SSFwGEN7xGp 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 iQJ8BAEBCgBmBQJV3vtgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnw0IP/An7fo2qo7V+FYUO7yBhhZx7 jHRxPTw+h7lOhzCW4ATERlMw0hcHSCIb3IDTyMLE71J+CAXbKD2ttHB2XVX3HWuZ HLuzznPxNiNpZroVJF9ROnZAlqFW/X5WQq9H7/M9N2A0HA0LEpf/sv8B9a93Rb3a mcyMYdoU//GUzT5aahAEVl6E1BuFjsgKsgNkKH+W9alici55IS0RB/yuJnIZVk05 xNH12a7YjYBhu/W9po8jtAk7i4YQjxfpT7gzvsleMnrvs0EMHzz1cqWLDDZISzW9 RnF/9/B8WZrJ/Fyk5EIg+0WRaRpuJdCXVtspLBL7Scjpem/ksBhjTq1O2eoAyciU CwZdStXoh5hcwzin/CxUxVqNUe16GHdk5Jp/TQGeEFJVAdZ+VrtURdE9c/W8tkiG 2+LouaEP7d2vCzvT1RHyduZBQ4xNOu8V34AU8kDab+ONjEJbbRwHP+WmtYb4/vZL dG9wuEs/04zvhE9RsTBmzw1p6SsIBbp2Rp7o+iH+mchSJ9ZlShL7Bu+tH6+Lmhr1 sqyXNsVvMIORtIVzx1dsK7xRkbX8b8d/2pUtluGiWaUNOsfY6jfV9Vn5BXCtfgPV 3lbXNmTEWfxLVFZrSiK1DLmHwvGTCQ8vu0Tlub9pUlLJcwwliJmL62D2y27zyAAh 2HTGWGWwHPljC6O2UgzF =mJUq -----END PGP SIGNATURE----- --eDkSbIpaxUuxxn89xnfNl4SSFwGEN7xGp-- From owner-freebsd-questions@freebsd.org Thu Aug 27 11:59: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 5988D9C4286 for ; Thu, 27 Aug 2015 11:59:42 +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 392AF12D9 for ; Thu, 27 Aug 2015 11:59:42 +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 6F1733F6ED for ; Thu, 27 Aug 2015 07:59:41 -0400 (EDT) Message-ID: <55DEFBAD.7090905@sneakertech.com> Date: Thu, 27 Aug 2015 07:59:41 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.freebsd@edvax.de> <20150825162122.b770fc6a.freebsd@edvax.de> <20150825185151.d9373b1f.freebsd@edvax.de> In-Reply-To: <20150825185151.d9373b1f.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: Thu, 27 Aug 2015 11:59:42 -0000 >> You can likely send commands to USB disks for "plz sync and power down thx". > > But it will be something the _device_ has to implement, > I'd say. FWIW, I definitely have seen a usb->ide/sata adapter park the heads and power off the drive when I eject it in OSX. I can't remember if this was a feature of the adapter or the drive or a combination of both, I'd have to gather up all my adapters and try a few disks. From owner-freebsd-questions@freebsd.org Thu Aug 27 12:01: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 0F4009C483A for ; Thu, 27 Aug 2015 12:01:42 +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 AA7981980 for ; Thu, 27 Aug 2015 12:01:41 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7RC1VBs083153 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 27 Aug 2015 13:01:31 +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 t7RC1VBs083153 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1440676891; bh=sv+6/IxJoRLZx1Kq71m2NU9k96cjAYg68jRWmM9wR30=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20Stop=20using=20a=20SATA=20drive|To:=20freebsd-qu estions@freebsd.org|References:=20=0D=0A=20<20150824214252.53aa0 4c6.freebsd@edvax.de>=0D=0A=20=0D=0A=20<55DEFA0F.9000900@sneaker tech.com>|From:=20Matthew=20Seaman=20|Date:=20Thu,=2027=20Aug=202015=2013:01:30=20+0100|In-Reply-To :=20<55DEFA0F.9000900@sneakertech.com>; b=rrFA6YYpRh+dnQgOHKA32/Gv8aEE3WplUoPtcBbNe1w54e+qQeo2sCINzky9LxM9d aNpqLGLnNNttFIqN4+Pun6fk1TGqZNn+RXwQ+1JUDzgp8apEgq+l6I2opk+bKRONqD Iwv3fMMXFbJn72wUV9UZohdpgalIRNNTWkMldjUc= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: Stop using a SATA drive To: freebsd-questions@freebsd.org References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEFA0F.9000900@sneakertech.com> From: Matthew Seaman Message-ID: <55DEFC1A.4040806@infracaninophile.co.uk> Date: Thu, 27 Aug 2015 13:01:30 +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: <55DEFA0F.9000900@sneakertech.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oUtlA3qOGOPP4FeL2PhEwwJ82dpa7wf9G" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU 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: Thu, 27 Aug 2015 12:01:42 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --oUtlA3qOGOPP4FeL2PhEwwJ82dpa7wf9G Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/27 12:52, Quartz wrote: > Modern drives (where "modern" means anything made in the past 10 years = I > think) are set up in such a way that the inertia of the spinning > platters will 'throw' the heads onto the parking area if power suddenly= > dies. This is not the same thing as intentionally issuing a park-head > command, but the results are more or less the same. Electric motors will act as generators: the trick with modern drives is that they use the inertia of the spinning disk platters to generate sufficient power to move the heads to the parked position when the external power goes out. Cheers, Matthew --oUtlA3qOGOPP4FeL2PhEwwJ82dpa7wf9G 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 iQJ8BAEBCgBmBQJV3vwbXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnhJUP/j/oCZhIR73sSSt9Co+x6OT9 LGDxhxt9Tywx3VG9dzsV7+cupTbEXhUkct2Gy/XWBpMm6vpgsTWsPKouia4Bq+6U lVExIPuU5f35pGIN/Mf/TqkU1VP6eF2Jr99L+BV1dZ/jBTwwxg2hgLSPwymzla0J ye+ddbAV9HA+tNDnrlCYrjzLUWwp5rVPajzk5vMT4g1ITvs9YQd3jyK1wH0JEFTH xWOiV5jiGqHUdKjrSaseVoRg63oL85LBNFy2H+wbR/GSB5VvB8Ti7DfSHopEjvF3 0g8VaO3QiXfuil11G8zoVRcFpOkk+MGnZROSL1mT1OHT7Wvy7JuO1peXI+EWvdM5 eOuLXe6opDCb+GuurSQ8lUa7V8HGTmdS1ZVQTFQC/jBRm5h9FmB8CFPZl8T3YNCD Or7jRyum3lOwdS1KfxUXY61obMTPaXSvdvJRtV2iClNKy+E6nTHp/SRrslbumIaw XKRl9X2EJ0Pa6ngWXHrAywtqykaoCKzA6siZ+dYSkcOX9LXwijyphX8gQaok7WAm mwPC7FHxbO/pjq1akYx4FUgCU7CDKNQvDLFD11xOOVtOz6xoGFfRsbakTo6Rv9wy wrnY9agoMsZ2o3yQH4fgCxPDbgzQhCqcVMLvnVkB5+6dom9HjBMf8KHioHs46c4u GPBD+ingMJqrpTZFUwLj =ckdo -----END PGP SIGNATURE----- --oUtlA3qOGOPP4FeL2PhEwwJ82dpa7wf9G-- From owner-freebsd-questions@freebsd.org Thu Aug 27 12:03: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 BCDEA9C48CC for ; Thu, 27 Aug 2015 12:03:01 +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 9E8611A67 for ; Thu, 27 Aug 2015 12:03:01 +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 DC21D3F6EF for ; Thu, 27 Aug 2015 08:03:00 -0400 (EDT) Message-ID: <55DEFC74.3040609@sneakertech.com> Date: Thu, 27 Aug 2015 08:03:00 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <55DEFB5A.3080408@FreeBSD.org> In-Reply-To: <55DEFB5A.3080408@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: Thu, 27 Aug 2015 12:03:01 -0000 > FreeBSD runs on all sorts of different kit from all sorts of different > providers, hence the uniform interface that Apple has achieved is much > harder. I can understand that argument for physically powering down a device, but whether or not a particular item shows up in a particular directory is entirely a software issue, isn't it? From owner-freebsd-questions@freebsd.org Thu Aug 27 12:07: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 7EAFD9C4AEE for ; Thu, 27 Aug 2015 12:07:55 +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 5BFFB1DEA for ; Thu, 27 Aug 2015 12:07:55 +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 5911C3F6EF for ; Thu, 27 Aug 2015 08:07:54 -0400 (EDT) Message-ID: <55DEFD99.6080802@sneakertech.com> Date: Thu, 27 Aug 2015 08:07:53 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEFA0F.9000900@sneakertech.com> <55DEFC1A.4040806@infracaninophile.co.uk> In-Reply-To: <55DEFC1A.4040806@infracaninophile.co.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: Thu, 27 Aug 2015 12:07:55 -0000 > Electric motors will act as generators: the trick with modern drives is > that they use the inertia of the spinning disk platters to generate > sufficient power to move the heads to the parked position when the > external power goes out. Hmm.... ok, that's different from how it was explained to me. I was also told that this procedure was faintly harder on the drive than issuing a real 'park' command (in the sense that it's basically slamming the emergency stop button). What's your take on that? From owner-freebsd-questions@freebsd.org Thu Aug 27 12:19: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 E364F9C4F96 for ; Thu, 27 Aug 2015 12:19:32 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (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 81997917 for ; Thu, 27 Aug 2015 12:19:32 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id t7RCJSYe080930 for ; Thu, 27 Aug 2015 14:19:28 +0200 (CEST) Received: from [217.29.44.110] ([217.29.44.110]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id t7RCJSbA046417 for ; Thu, 27 Aug 2015 14:19:28 +0200 (CEST) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: SVN checkout without/with poudriere - two different results From: "Patrick M. Hausen" In-Reply-To: <38F38B65-D9F0-4863-868C-9A55C4BC6A7E@punkt.de> Date: Thu, 27 Aug 2015 14:19:28 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <4560DD56-1B1B-4DF6-9CBA-ADB881B2C8E3@punkt.de> References: <38F38B65-D9F0-4863-868C-9A55C4BC6A7E@punkt.de> To: freebsd-questions@freebsd.org 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: Thu, 27 Aug 2015 12:19:33 -0000 Hi, all, replying to myself ... > Am 26.08.2015 um 17:12 schrieb Patrick M. Hausen : > the following two commands create to different ports trees: >=20 > 1. svn co https://svn0.eu.freebsd.org/ports/branches/2015Q3 = /usr/ports/ > 2. poudriere ports -c -p 2015Q3 -m svn+https branches/2015Q3 Pilot error. I was missing the "-B" flag for the branch in the poudriere = command: poudriere ports -c -p 2015Q3 -m svn+https -B branches/2015Q3 Kind regards Patrick --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=C3=BCrgen Egeling AG Mannheim 108285 From owner-freebsd-questions@freebsd.org Thu Aug 27 12:41: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 9F8349C3AE3 for ; Thu, 27 Aug 2015 12:41:35 +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 6C2C11819 for ; Thu, 27 Aug 2015 12:41:35 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by igcse8 with SMTP id se8so66024595igc.1 for ; Thu, 27 Aug 2015 05:41:34 -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=vibrUlr3Y7RIjUSPVfPFOKMdHRZybXOOTT1oywg1pCM=; b=wKoFRwaFOUAPFxBZin5L+cn51IV02T2E2rzCXOIro9bqaQvwuF79L25YfYXZ27qkiu dRWhLmP+UND4zNt2FHuzDnipKBoGcefNEyoTk1lPqT4JbZQtXAJJEPlUuA559WbJi3RX HaPx+25lLfXEWKnXNNfWU7G+L4xmK4AV+HMX11DaWmW91JkUthi2bPunUfUnuCaV5Ryt eXHO/+X5DNTozGpeeKU4SKJQVANWGMfMXi+jnVsi66rbPEdLCpY2KPnekOqbU9ZGRkgL c8s2leGLNv2LFdIZwcH/wcB5uIX7Yrd9iq+2LSptR0yx+VC8bHLaMo2zXUNgRjuGgPKU tPuQ== X-Received: by 10.50.62.193 with SMTP id a1mr9118329igs.61.1440679294810; Thu, 27 Aug 2015 05:41: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 hh9sm1581681igb.18.2015.08.27.05.41.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Aug 2015 05:41:34 -0700 (PDT) Message-ID: <55DF057F.6040205@gmail.com> Date: Thu, 27 Aug 2015 08:41:35 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: how to change daily cron emails to go to user account instead of root 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: Thu, 27 Aug 2015 12:41:35 -0000 Hello list; How do I change the daily cron emails to go to user account instead of root? I don't want any cron email going to root any more. man 5 crontab says the cron environment variable MAILTO = "account user name" is way to change the cron email from the default of "root" to the "account user name" you want. The part that is not clear is where do I place this MAILTO environment variable? Do I edit /etc/crontab and pace it next to the PATH variable or maybe in /etc/periodic.conf or /etc/csh.cshrc or /boot/loader.conf? From owner-freebsd-questions@freebsd.org Thu Aug 27 12:53: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 C46259C3FAF for ; Thu, 27 Aug 2015 12:53:30 +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 680F01F79 for ; Thu, 27 Aug 2015 12:53:30 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7RCrOj7084151 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 27 Aug 2015 13:53:24 +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 t7RCrOj7084151 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1440680004; bh=nUc1NTpxHyJy2CcW659bFtDZawzqzHbiA1S4VPehS/0=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20how=20to=20change=20daily=20cron=20emails=20to=2 0go=20to=20user=20account=20instead=20of=0D=0A=20root|To:=20freebs d-questions@freebsd.org|References:=20<55DF057F.6040205@gmail.com> |From:=20Matthew=20Seaman=20|Date :=20Thu,=2027=20Aug=202015=2013:53:23=20+0100|In-Reply-To:=20<55DF 057F.6040205@gmail.com>; b=d1tXM/OqEiSaFDYbjQU3nZoiQYRQjDMH1TaJwr642tebSXGi/Vh/lAL0wrkKlrgHk ERWRykp9+v8cWucgg2jYOWGad5ibQnvzEG0AtPkPRnrRYfucCjyU0gKRE4GVmZU1T2 W2IH9GPdfDROWc0gt5JPEZMhrIlR2+7WYqGHi8Mc= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: how to change daily cron emails to go to user account instead of root To: freebsd-questions@freebsd.org References: <55DF057F.6040205@gmail.com> From: Matthew Seaman Message-ID: <55DF0843.2010000@infracaninophile.co.uk> Date: Thu, 27 Aug 2015 13:53:23 +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: <55DF057F.6040205@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jNXwKgLNqrIBjTXuvqKMjxMiCpU5OBOaR" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU 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: Thu, 27 Aug 2015 12:53:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jNXwKgLNqrIBjTXuvqKMjxMiCpU5OBOaR Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/27 13:41, Ernie Luzar wrote: > How do I change the daily cron emails to go to user account instead of > root? I don't want any cron email going to root any more. >=20 > man 5 crontab says the cron environment variable MAILTO =3D "account us= er > name" is way to change the cron email from the default of "root" to the= > "account user name" you want. >=20 > The part that is not clear is where do I place this MAILTO environment > variable? Do I edit /etc/crontab and pace it next to the PATH variable > or maybe in /etc/periodic.conf or /etc/csh.cshrc or /boot/loader.conf? Add: daily_output=3D"email@addr.ess" to /etc/periodic.conf Or you can give it a file name and it will write the output there -- /var/log/daily.log is recommended as it's already set up to be rotated by newsyslog(8) Matthew --jNXwKgLNqrIBjTXuvqKMjxMiCpU5OBOaR 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 iQJ8BAEBCgBmBQJV3whDXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnJzkP/07cL/0ib2gd5+/AF8y3JCtX YQNjvAzrJR80JT/WDaqZahYCIBdlDtq0MdOzqw9b5YvYbVtatru0bluJ+b5hj8Su FACrQoEqdk82PzdIfD+c5T0Y3MX/x0ayj2F3VKpx5B353+vEpNrB5IMA2xddEHEN 6ofR8rEHuoEC3rh4buZPtGErUydrXQmPWYAafodo/B8s7o9b3WXbDoVK3vp6wTbH qlIVQ8883sPy66s3MtME2IW9lbIfGT0QsOp0H825p+RuXpAMg4oCi04K5qV6A3c5 YLuyHI4IQdnP7xyfNpfShmwl8uvQoZGKMiVS8N5/7JJV8jiWZFiCOru+tClEEsIL ThlOOBJUcrpKsaLZtLZDXpGSG7AlupRuATSrh+HHKjD+HsD6OLv2B3cKP4l9fr+/ dv6pL5EtCQlUBO8rV4VBhzRK11JE7CiS9OwCjImjXX6vOqXuqH8OUgaYMUFCQNof udvSRdTwQC63u/X0OUNJ6c0Hq8xLKRIwUAkOBr7COr3qtJTqlffdwL1NNItRJIGt Hq4/4zHGpd0fTsvQoNPw4l2/dDCFTHD1yqLMx+rJuGcvKm5gi6sYbpZnf/br6/SP lrBODx/xQ+vQ0HlxRaQodbotwGJ8piPrLSI8SV2ZQtAqkMLtbWVBYIl/WXi6/XSs HkZ3Reno6dPxJVKkT4Iq =oJII -----END PGP SIGNATURE----- --jNXwKgLNqrIBjTXuvqKMjxMiCpU5OBOaR-- From owner-freebsd-questions@freebsd.org Thu Aug 27 13:02: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 62C7E9C42A3 for ; Thu, 27 Aug 2015 13:02:42 +0000 (UTC) (envelope-from moiseev@mezonplus.ru) Received: from mx.mezonplus.ru (mx.mezonplus.ru [91.211.181.139]) (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 1CB5C6DB for ; Thu, 27 Aug 2015 13:02:41 +0000 (UTC) (envelope-from moiseev@mezonplus.ru) Received: from [192.168.0.102] (nb-latitude.users.mezon.local [192.168.0.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.mezonplus.ru (Postfix) with ESMTPSA id 4852F39827 for ; Thu, 27 Aug 2015 15:53:01 +0300 (MSK) Subject: Re: how to change daily cron emails to go to user account instead of root To: freebsd-questions@freebsd.org References: <55DF057F.6040205@gmail.com> From: Alexander Moisseev Message-ID: <55DF082D.8040001@mezonplus.ru> Date: Thu, 27 Aug 2015 15:53:01 +0300 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:43.0) Gecko/20100101 Thunderbird/43.0a1 MIME-Version: 1.0 In-Reply-To: <55DF057F.6040205@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 13:02:42 -0000 On 27.08.2015 15:41, Ernie Luzar wrote: > The part that is not clear is where do I place this MAILTO environment variable? Have you seen the EXAMPLE CRON FILE section of the man 5 crontab? EXAMPLE CRON FILE # use /bin/sh to run commands, overriding the default set by cron SHELL=/bin/sh # mail any output to `paul', no matter whose crontab this is MAILTO=paul # # run five minutes after midnight, every day 5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1 From owner-freebsd-questions@freebsd.org Thu Aug 27 13:09: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 B706E9C4624 for ; Thu, 27 Aug 2015 13:09:42 +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 46E63AED for ; Thu, 27 Aug 2015 13:09:42 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7RD9ZKU084519 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 27 Aug 2015 14:09:36 +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 t7RD9ZKU084519 Authentication-Results: smtp.infracaninophile.co.uk/t7RD9ZKU084519; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: how to change daily cron emails to go to user account instead of root To: freebsd-questions@freebsd.org References: <55DF057F.6040205@gmail.com> <55DF082D.8040001@mezonplus.ru> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55DF0C09.9000403@FreeBSD.org> Date: Thu, 27 Aug 2015 14: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: <55DF082D.8040001@mezonplus.ru> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qisTgca63mDOTfNQN9D4PW3J32rDJVwTP" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Thu, 27 Aug 2015 13:09:42 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qisTgca63mDOTfNQN9D4PW3J32rDJVwTP Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/27 13:53, Alexander Moisseev wrote: > On 27.08.2015 15:41, Ernie Luzar wrote: >> The part that is not clear is where do I place this MAILTO environment= >> variable? >=20 > Have you seen the EXAMPLE CRON FILE section of the man 5 crontab? >=20 > EXAMPLE CRON FILE > # use /bin/sh to run commands, overriding the default set by cron > SHELL=3D/bin/sh > # mail any output to `paul', no matter whose crontab this is > MAILTO=3Dpaul > # > # run five minutes after midnight, every day > 5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1 That's how in general, you control where cron sends the stdout or stderr from any commands it runs. However, it doesn't answer the OP's specific question about periodic scripts -- those handle e-mailing their results out themselves, which is controlled by setting the {daily,weekly,monthly}_output variable in periodic.conf Cheers, Matthew --qisTgca63mDOTfNQN9D4PW3J32rDJVwTP 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 iQJ8BAEBCgBmBQJV3wwPXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnZKYP/2sNRwLmuKevm9KAcZ/KD2sZ i9LAHAQ+LEGuGkkvRvH5hsydO823fl8B/H0tUWl8/Qho1FEvvgI3PUbzX7ZFopEz 6d9VhStk0bZBIxS05/ab3gWvBxm4OncWga+yPZb1ZjCKAoyxJOdp2VnL/9p0JkOp in1XxuFNaBg5KR1Oss7xBhBxxFKqiWoK0n1btkfnZKoDCKOrg4m4FcDwxynVMpE9 +y/qSnUxs2bg3SYRY6b1MOAgYS+xSfcYJRYANTSZIPlH32eFaEt/NiW/kfzvi/6G Lm6g/CXckBDjeZxvhCx5jkp8sEVdi3RYG0vNeOH/UnffIC0xSPa/hIu6R1wghPl/ EvNTMkYLUEQ78xU9nkJdSANhH5hMEv6qEx0hAnivMyFveq8UkBz6XGTvJ2IzF5g/ A/mHV8w8781v5UCwmk+HsK8XWt46VkrX6VKQ4/ALZzECeLk/9YaeeC6pjwoakVCU 9VZMnNlwdkslSOiclQ3A500HkMvydocZmFjAr7I0mKLgAg3HxTuOGEJUYjAqmHC1 0aN8kUODH75rYecpb7mLir8LxcXBOZdXiYqJHDY5o2rt+2HM4BxRC9nN9R5ZJoqo 1p51GSq4DJuvNtFllPsMWNrzIeYuat+J1dFmXPMc6B5XpTtV6lVCDNlRu1gAMLDN OQLKXKq67qxb7Y8YeODt =eIvA -----END PGP SIGNATURE----- --qisTgca63mDOTfNQN9D4PW3J32rDJVwTP-- From owner-freebsd-questions@freebsd.org Thu Aug 27 13:16: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 489299C495C for ; Thu, 27 Aug 2015 13:16: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 E0F6610CE for ; Thu, 27 Aug 2015 13:16: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 t7RDGZii010434; Thu, 27 Aug 2015 14:16: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 , freebsd-questions@freebsd.org References: <55DF057F.6040205@gmail.com> <55DF0C75.5000907@qeng-ho.org> From: Arthur Chance Message-ID: <55DF0DB3.3040400@qeng-ho.org> Date: Thu, 27 Aug 2015 14:16: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: <55DF0C75.5000907@qeng-ho.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 13:16:39 -0000 On 27/08/2015 14:11, Arthur Chance wrote: > On 27/08/2015 13:41, Ernie Luzar wrote: >> Hello list; >> >> How do I change the daily cron emails to go to user account instead of >> root? I don't want any cron email going to root any more. >> >> man 5 crontab says the cron environment variable MAILTO = "account user >> name" is way to change the cron email from the default of "root" to the >> "account user name" you want. >> >> The part that is not clear is where do I place this MAILTO environment >> variable? Do I edit /etc/crontab and pace it next to the PATH variable >> or maybe in /etc/periodic.conf or /etc/csh.cshrc or /boot/loader.conf? > > > Only change MAILTO in the crontab if you wish *all* root's cron output > to go to another user. Ack, misread because I was in the middle of dealing with periodic.conf. Ignore the following. The setting goes at the top of the crontab, on a line by itself. > If you just want periodic output to go to a different place, you need to > change the periodic.conf variables {daily,weekly,monthly}_output and > {daily,weekly,monthly}_security_output. Probably the best way of doing > that is to add the following to /etc/periodic.conf > > # set this next line to whatever mail address you want > daily_output="user@dom.ain" > weekly_output="$daily_output" > monthly_output="$daily_output" > daily_security_output="$daily_output" > weekly_security_output="$daily_output" > monthly_security_output="$daily_output" > > If you do it that way you only have to change one mail address in the > future if you want to change the target address. > -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Thu Aug 27 13:25: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 601129C4DA8 for ; Thu, 27 Aug 2015 13:25:42 +0000 (UTC) (envelope-from r100500b@gmail.com) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C44F31BDC for ; Thu, 27 Aug 2015 13:25:41 +0000 (UTC) (envelope-from r100500b@gmail.com) Received: by laaa3 with SMTP id a3so3270186laa.2 for ; Thu, 27 Aug 2015 06:25:39 -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=HU0YCyezCnVYZrUrl2ucFO3xCdpTzQRnqblr3m4u+t8=; b=i4+DBcx8n/sHONfCQ+/P/zGMvlGyiGRCXiKxfUJJLgv/8JUl7Xcv3F91A0FUaFjAOP Gi+hXWAjDNta1nySSxC5zcafUwuwBxWOnyHy6R9Q9uc5N5i4RzdqUaFIYty/0VWH0pWl rS3aTZex93UeC6HCzXrZQx9UyEihMPzKMHNNBzULsyTYsAymGIE55lAAnEWONyCOG0wK cNE4HTqW3JAf1LODd3/MDXbhBTeR/oEZXwMDWaOXMoPafqdmZt8R+A79g4km3esNL/pH qZdDz1APF8ydpzvtMG4tEoc78RQyw2k3t5vHQjodz8DKGKkluQz0VpppGxC0CKukCi4C ABcg== MIME-Version: 1.0 X-Received: by 10.152.7.37 with SMTP id g5mr2235981laa.101.1440681939891; Thu, 27 Aug 2015 06:25:39 -0700 (PDT) Received: by 10.112.55.9 with HTTP; Thu, 27 Aug 2015 06:25:39 -0700 (PDT) In-Reply-To: <55DF0DB3.3040400@qeng-ho.org> References: <55DF057F.6040205@gmail.com> <55DF0C75.5000907@qeng-ho.org> <55DF0DB3.3040400@qeng-ho.org> Date: Thu, 27 Aug 2015 16:25:39 +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: Thu, 27 Aug 2015 13:25:42 -0000 man cront -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. 2015-08-27 16:16 GMT+03:00 Arthur Chance : > On 27/08/2015 14:11, Arthur Chance wrote: > >> On 27/08/2015 13:41, Ernie Luzar wrote: >> >>> Hello list; >>> >>> How do I change the daily cron emails to go to user account instead of >>> root? I don't want any cron email going to root any more. >>> >>> man 5 crontab says the cron environment variable MAILTO =3D "account us= er >>> name" is way to change the cron email from the default of "root" to the >>> "account user name" you want. >>> >>> The part that is not clear is where do I place this MAILTO environment >>> variable? Do I edit /etc/crontab and pace it next to the PATH variable >>> or maybe in /etc/periodic.conf or /etc/csh.cshrc or /boot/loader.conf? >>> >> >> >> Only change MAILTO in the crontab if you wish *all* root's cron output >> to go to another user. >> > > Ack, misread because I was in the middle of dealing with periodic.conf. > Ignore the following. The setting goes at the top of the crontab, on a li= ne > by itself. > > > If you just want periodic output to go to a different place, you need to >> change the periodic.conf variables {daily,weekly,monthly}_output and >> {daily,weekly,monthly}_security_output. Probably the best way of doing >> that is to add the following to /etc/periodic.conf >> >> # set this next line to whatever mail address you want >> daily_output=3D"user@dom.ain" >> weekly_output=3D"$daily_output" >> monthly_output=3D"$daily_output" >> daily_security_output=3D"$daily_output" >> weekly_security_output=3D"$daily_output" >> monthly_security_output=3D"$daily_output" >> >> If you do it that way you only have to change one mail address in the >> future if you want to change the target address. >> >> > > -- > Those who do not learn from computing history are doomed to > GOTO 1 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Thu Aug 27 13:30: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 5EA099C207C for ; Thu, 27 Aug 2015 13:30:10 +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 E14396C1 for ; Thu, 27 Aug 2015 13:30:09 +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 t7RDBHkJ010423; Thu, 27 Aug 2015 14:11:17 +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 , freebsd-questions@freebsd.org References: <55DF057F.6040205@gmail.com> From: Arthur Chance Message-ID: <55DF0C75.5000907@qeng-ho.org> Date: Thu, 27 Aug 2015 14:11:17 +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: <55DF057F.6040205@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 13:30:10 -0000 On 27/08/2015 13:41, Ernie Luzar wrote: > Hello list; > > How do I change the daily cron emails to go to user account instead of > root? I don't want any cron email going to root any more. > > man 5 crontab says the cron environment variable MAILTO = "account user > name" is way to change the cron email from the default of "root" to the > "account user name" you want. > > The part that is not clear is where do I place this MAILTO environment > variable? Do I edit /etc/crontab and pace it next to the PATH variable > or maybe in /etc/periodic.conf or /etc/csh.cshrc or /boot/loader.conf? Only change MAILTO in the crontab if you wish *all* root's cron output to go to another user. If you just want periodic output to go to a different place, you need to change the periodic.conf variables {daily,weekly,monthly}_output and {daily,weekly,monthly}_security_output. Probably the best way of doing that is to add the following to /etc/periodic.conf # set this next line to whatever mail address you want daily_output="user@dom.ain" weekly_output="$daily_output" monthly_output="$daily_output" daily_security_output="$daily_output" weekly_security_output="$daily_output" monthly_security_output="$daily_output" If you do it that way you only have to change one mail address in the future if you want to change the target address. -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Thu Aug 27 13:39: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 B98E19C24AE for ; Thu, 27 Aug 2015 13:39:24 +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 61B86C4E for ; Thu, 27 Aug 2015 13:39:23 +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 44181178403 for ; Thu, 27 Aug 2015 15:39:22 +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 DhZAIo6eEdEJ for ; Thu, 27 Aug 2015 15:39:22 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 082BE1782FF for ; Thu, 27 Aug 2015 15:39:22 +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 TRaSmaXeY6tN for ; Thu, 27 Aug 2015 15:39:21 +0200 (CEST) Received: from xorrigo.toolfactory.net (xorrigo.toolfactory.net [192.168.2.210]) by formentor.toolfactory.net (Postfix) with ESMTP id 4530C178408 for ; Thu, 27 Aug 2015 15:38:57 +0200 (CEST) Date: Thu, 27 Aug 2015 15:38:56 +0200 (CEST) From: Raimund Sacherer Reply-To: Raimund Sacherer Cc: freebsd-questions@freebsd.org Message-ID: <342626784.8683362.1440682736191.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 - SAF7 (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: bFTTGYIODRJaKWiIdTs1AYRtFOTOhA== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Aug 2015 13:39:24 -0000 Hi Matthew, Polytropon, thank you both! Best Ray From owner-freebsd-questions@freebsd.org Thu Aug 27 15:38: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 B34989C4FF9; Thu, 27 Aug 2015 15:38:48 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 714E2122F; Thu, 27 Aug 2015 15:38:48 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by qgeh99 with SMTP id h99so14804449qge.0; Thu, 27 Aug 2015 08:38:47 -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:content-transfer-encoding; bh=KxoFnHbBcXu5XPztptOblpjjUdTfxr2A4JjrfJoONvo=; b=u7kg1GAW3Fb6ux3bYQPEKhY9eBEQmhchoGBxILj8JrskNYey8F9LfoEQFy+UTM4yKO Zgg+gnNgGFleLT3VYcD4FjN3Wih2OnpGdibSSoosOR4AaSIV+3QnA+jP6RbvQwJU+dKE EvcQg+4vncgf11XiYp/K7fNnIctg6aqYPwUB83wfhOHIQ8VrRI523k4t0tRadN6o51j8 X/HupN0kS4SJbJ0q+y2a1NNOCODTgZ6hTpRmHY8s2qV1WRgKEPiVKH1Pzh7yd3IFEmdk oNOGv/M4WDcWwaz50dyrlB3JZFrgqGCEE9KfHIcJ5FjtIHzc9oebm5PuAGSmiYZgiN+n fEMA== MIME-Version: 1.0 X-Received: by 10.140.135.197 with SMTP id 188mr8015811qhh.89.1440689927400; Thu, 27 Aug 2015 08:38:47 -0700 (PDT) Received: by 10.55.182.65 with HTTP; Thu, 27 Aug 2015 08:38:47 -0700 (PDT) In-Reply-To: <6500ec392ffb900738af2a50cc28d06f@mail.d2ux.org> References: <6500ec392ffb900738af2a50cc28d06f@mail.d2ux.org> Date: Thu, 27 Aug 2015 17:38:47 +0200 Message-ID: Subject: Re: AMD A series support From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= To: Matthias Petermann Cc: User Questions , owner-freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 15:38:48 -0000 On Thu, Aug 27, 2015 at 7:52 AM, Matthias Petermann wro= te: > Hello Fernando, > > some months ago I had a Lenovo E145 which was backed by a E1-2500. > While I cannot tell you much about your original question, you might > want to take a special attention at the wireless chipset of this AMD > platform devices. It seems most of them are using Broadcom devices which > are poorly supported. Mine was using a Broadcom Chipset which required > the Broadcom STA driver which was available for (Debian) Linux, but > completely unsupported on FreeBSD. After failing with wrapping the > Windows Driver with NDISWrapper ultimately I tried to use a USB > Wireless Dongle (Realtek). While this was working, I was unsatisfied > with the throughput, so I decided to sell the Laptop and bought a used > X220 where everything works out of the Box. I usually don't use the wireless card (lack of habit I suppose), but it's good to know anyway. I Googled this question and found some information that suggest that the OS needs to support this. This project is an example: https://github.com/HSAFoundation/HSA-Drivers-Linux-AMD Other interesting links: https://community.amd.com/message/1308713#1308713 https://community.amd.com/message/1306778#1306778 Thanks! > > Best regards, > Matthias > > > > Am 2015-08-23 20:18, schrieb Fernando Apestegu=C3=ADa: >> >> Hi all, >> >> I am thinking of changing my old laptop and a friend of mine talk to >> me about the AMD A series. He uses Linux and his experience is good so >> far. >> >> I have a couple of questions I hope you can help me with: >> >> - Does the combined use of the different Compute Cores (CPU + GPU) to >> share workloads need a special support in the OS (in the scheduler for >> instance)? If that is the case, how well supported are these APU's in >> FreeBSD? >> >> - Do we have any software in the ports that can monitor the use of >> both CPU + GPU cores? >> >> Thanks. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@freebsd.org Thu Aug 27 15:53: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 C43A09C355B for ; Thu, 27 Aug 2015 15:53:16 +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 774621A4A for ; Thu, 27 Aug 2015 15:53:16 +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 t7RFntVE013557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 27 Aug 2015 10:49:56 -0500 Subject: Re: AMD A series support References: <6500ec392ffb900738af2a50cc28d06f@mail.d2ux.org> Cc: User Questions From: "William A. Mahaffey III" Message-ID: <55DF31A3.3010407@hiwaay.net> Date: Thu, 27 Aug 2015 10:55:25 -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=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: Thu, 27 Aug 2015 15:53:16 -0000 On 08/27/15 10:45, Fernando Apesteguía wrote: > I usually don't use the wireless card (lack of habit I suppose), but > it's good to know anyway. > > I Googled this question and found some information that suggest that > the OS needs to support this. This project is an example: > > https://github.com/HSAFoundation/HSA-Drivers-Linux-AMD > > Other interesting links: > https://community.amd.com/message/1308713#1308713 > https://community.amd.com/message/1306778#1306778 > > > Thanks! Yeah, I have been waiting patiently for better than a year now for AMD-kabini support (Kabini [Radeon HD 8280 / R3 Series] from my xorg.conf), still nogo. It is among the last listed as unsupported on the FreeBSD Graphics wiki page :-( .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Thu Aug 27 16:03: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 19CE99C38C4 for ; Thu, 27 Aug 2015 16:03:12 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from cargobay.net (cargobay.net [198.178.123.147]) (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 EF2581EE3 for ; Thu, 27 Aug 2015 16:03:11 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from [192.168.0.2] (cblmdm72-240-160-19.buckeyecom.net [72.240.160.19]) by cargobay.net (Postfix) with ESMTPSA id 06B87D08; Thu, 27 Aug 2015 15:50:13 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: how to change daily cron emails to go to user account instead of root From: "Chad J. Milios" In-Reply-To: <55DF057F.6040205@gmail.com> Date: Thu, 27 Aug 2015 11:53:56 -0400 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <21C31935-454C-4E97-8230-7059E8EAFF39@ccsys.com> References: <55DF057F.6040205@gmail.com> To: Ernie Luzar 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: Thu, 27 Aug 2015 16:03:12 -0000 This thread has many good answers to more finely control things like = periodic=E2=80=99s output or cron=E2=80=99s output or one cron entry=E2=80= =99s output but I have not seen the simplest and most general answer. see the first few lines of /etc/mail/aliases (or if you don=E2=80=99t = use the sendmail in base, maybe /usr/local/etc/postfix/aliases or the = equivalent for your mail system): # Pretty much everything else in this file points to "root", so # you would do well in either reading root's mailbox or forwarding # root's email from here. # root: me@my.domain you uncomment that "root:" line there and obviously replace = "me@my.domain" with something along the lines of "you@your.domain=E2=80=9D= to mail off-system or just =E2=80=9Cyou" to redirect to a different = on-system user. (root account shouldn=E2=80=99t be running any mail = reader software that=E2=80=99s any more complex than `cat = /var/mail/root` and even that I wouldn=E2=80=99t get into the habit of = doing) THEN after you change that file you MUST run the `newaliases` command = (or `postalias /usr/local/etc/postfix/aliases` in the case of postfix) = because a database file is actually what handles lookups after it is = [re-]generated from that text file. see also: man 5 aliases man 1 newaliases > On Aug 27, 2015, at 8:41 AM, Ernie Luzar wrote: >=20 > Hello list; >=20 > How do I change the daily cron emails to go to user account instead of = root? I don't want any cron email going to root any more. >=20 > man 5 crontab says the cron environment variable MAILTO =3D "account = user name" is way to change the cron email from the default of "root" to = the "account user name" you want. >=20 > The part that is not clear is where do I place this MAILTO environment = variable? Do I edit /etc/crontab and pace it next to the PATH variable = or maybe in /etc/periodic.conf or /etc/csh.cshrc or /boot/loader.conf? >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Thu Aug 27 17:20: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 766CD9C3782 for ; Thu, 27 Aug 2015 17:20:27 +0000 (UTC) (envelope-from eshell@soe.ucsc.edu) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (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 0EECA153B for ; Thu, 27 Aug 2015 17:20:26 +0000 (UTC) (envelope-from eshell@soe.ucsc.edu) Received: by wicge2 with SMTP id ge2so8437596wic.0 for ; Thu, 27 Aug 2015 10:20:19 -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=kOx8d5tYNwEeOISo5EPZjST9thy3lYBhZ4njzkLah9E=; b=YosIN/whxrOT86xx6ix3zOzL1KaF8yu8rLaedcu7ixJye01daLJTflIiUFOYFGbTR9 1S0GQwGTooCa+ShJdjnPqMLBpBu+YKqcnT4T9WSjkR30B1yMAJmXiVxJa3Q1yPI6UgIj 5pZXs2XHEneHREDOupcd1pk0YYYSS6u2WwmXvN5pBV9cmVehWZY7z8dw43xrYVzQBMm5 mn/oDMCro1VBdNhm7PzLLGf5z60KL/z3Cu5ngBF/fWGy6gX0wtFpVPS6DNbBeP3jHaDR 7/b41ycy5KqmsOQHkRbLRLKznK8kpMypsPFYUMZMRqOGrrAHMJsHwS4NmP0GLp0kTNOl tCPA== X-Gm-Message-State: ALoCoQl40SzWdPb0TCy7WksuBljN+TIl9x/bCH2XjMIUlcqBBR6NbjUSLL8FcrENX57E21M8XAPh MIME-Version: 1.0 X-Received: by 10.180.75.203 with SMTP id e11mr20943696wiw.77.1440696019573; Thu, 27 Aug 2015 10:20:19 -0700 (PDT) Received: by 10.28.46.10 with HTTP; Thu, 27 Aug 2015 10:20:19 -0700 (PDT) Date: Thu, 27 Aug 2015 10:20:19 -0700 Message-ID: Subject: Obtain Kerberos ticket automatically upon SSH login with PAM From: Eric Shell 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: Thu, 27 Aug 2015 17:20:27 -0000 Hi folks, I'm trying to get a nice and tidy login process that authenticates users via LDAP and also automatically grabs a kerberos ticket so they can immediately mount Kerberized NFSv4 exports without bothering to kinit. My /etc/pam.d/system configuration is working for console logins, but I can't get it working for SSH logins even when using basically the same chain. With the debug argument to my pam_krb5.so line, I am getting this error in /var/log/debug.log for SSH logins: sshd[7457]: in openpam_dispatch(): /usr/lib/pam_krb5.so.5: pam_sm_setcred(): failed to retrieve user credentials Searching for that error on Google turns up a thread from 2013 that seems to indicate that the problem lies with OpenSSH. Is that true? If so, is there any way to make this work? /etc/pam.d/system: # auth auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local auth optional pam_krb5.so debug try_first_pass auth sufficient pam_ldap.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass nullok # account #account required pam_krb5.so account required pam_login_access.so account required pam_unix.so # session #session optional pam_ssh.so want_agent session required pam_lastlog.so no_fail # password #password sufficient pam_krb5.so no_warn try_first_pass password required pam_unix.so no_warn try_first_pass /etc/pam.d/sshd: # auth auth sufficient pam_opie.so no_warn no_fake_prompts #auth requisite pam_opieaccess.so no_warn allow_local auth optional pam_krb5.so debug try_first_pass auth sufficient pam_ldap.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass # account account required pam_nologin.so #account required pam_krb5.so account required pam_login_access.so account required pam_unix.so # session #session optional pam_ssh.so want_agent session required pam_permit.so # password #password sufficient pam_krb5.so no_warn try_first_pass password required pam_unix.so no_warn try_first_pass From owner-freebsd-questions@freebsd.org Thu Aug 27 21:01: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 83B999C436B for ; Thu, 27 Aug 2015 21:01:26 +0000 (UTC) (envelope-from enekogotzon@gmail.com) Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com [IPv6:2607:f8b0:4002:c07::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 48521AA4 for ; Thu, 27 Aug 2015 21:01:26 +0000 (UTC) (envelope-from enekogotzon@gmail.com) Received: by ykll84 with SMTP id l84so34034652ykl.0 for ; Thu, 27 Aug 2015 14:01:25 -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=dys9/Iv20XcnOQZ/JiMxhXHkycsM/vedUOi7ZSaTL6c=; b=DUDvlIAK62t4W9J4jph/kolAqq9xE8jDBzJUcOAvVh9vgG4U86gxhIaIRAkNYA9+Ku HznnsoZafl5i3AR8IweydazzNKP0GgxCCCzWnKRR6qytuq3xwI+TvS1nfS5CkI4b/Quy myXRCyqwA+DyPjg7GojDSDlUqnOz/9BHmGrccN+Zh72XVwg5MyL79ZYEUSnEbHjIERii nXuRSsl/Z8zoLOJUuIStqFFYYoJPMXl7grQjzE7keNRKF9qnXHS1eL5u5QVojEyq0lNH s6LEkzlqtO9KAbY1pXxc9tzFSWxL80VMYV8LpMVQHuuZHUMU25LhbDZijQ1tfi0bNTGj AO9g== X-Received: by 10.13.198.71 with SMTP id i68mr4554875ywd.149.1440709285369; Thu, 27 Aug 2015 14:01:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.202.73 with HTTP; Thu, 27 Aug 2015 14:00:46 -0700 (PDT) From: Eneko Gotzon Date: Thu, 27 Aug 2015 23:00:46 +0200 Message-ID: Subject: Zero delta ? 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: Thu, 27 Aug 2015 21:01:26 -0000 Hi all Byte Masters. Absolute beginner starting to learn about FreeBSD so excuse this kind of question. In the *Who Uses FreeBSD?* section of the Handbook it is written: *Netflix has made extensive contributions to the codebase and works to maintain a zero delta from mainline FreeBSD*. Please, what must I understand about that *zero delta* expression? Thank you very much. -- Eneko Gotzon Ares enekogotzon@gmail.com From owner-freebsd-questions@freebsd.org Thu Aug 27 21:05: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 B6DBF9C4530 for ; Thu, 27 Aug 2015 21:05:22 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com [IPv6:2a00:1450:4010:c03::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40730C14 for ; Thu, 27 Aug 2015 21:05:22 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by laaa3 with SMTP id a3so11589809laa.2 for ; Thu, 27 Aug 2015 14:05:20 -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=Zk7/RLTbXkiCh6eMmFFvSCmMaLV99+Lz/Ybcev5c02E=; b=FL7/bSyvORC/3/BRHmGMzLpW+k3yBUJmWM1hgdQmaxjekQDruEEHCCKXVZ22kusx3y KNjVTfnCFtWUVgpaLBLDhKkuybiqlTgzQspBp+2s05etPOxDYjRrd8XqJi58E48RD0xk PUj7RHZQ+Ndd8MwEl5d+N3BhnqQyDufHirjnkx5zN5TVpqnybFnWpaFtLR5rHa4HIPAd sFHOGrw6pMKe8UQdAashOWSMwF0C07p+TOoHKEmmcGXP1CSE8bkpMHOtwLkQSzCGWFC4 ZRmFTZQbaJ0exGysjBMxoPuICi3RCR+8NRmK7K8QZhYLJejqryx4RtR3Y44pWPzlrhnS lFTg== MIME-Version: 1.0 X-Received: by 10.152.178.193 with SMTP id da1mr2276532lac.5.1440709520276; Thu, 27 Aug 2015 14:05:20 -0700 (PDT) Received: by 10.112.149.201 with HTTP; Thu, 27 Aug 2015 14:05:20 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Aug 2015 16:05:20 -0500 Message-ID: Subject: Re: Zero delta ? From: Adam Vande More To: Eneko Gotzon Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 21:05:22 -0000 On Thu, Aug 27, 2015 at 4:00 PM, Eneko Gotzon wrote: > > Please, what must I understand about that *zero delta* expression? Thank > you very much. > It means that Netflix's internal code base diverges as little as possible from standard FreeBSD. -- Adam From owner-freebsd-questions@freebsd.org Thu Aug 27 21:11: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 1A9379C4794 for ; Thu, 27 Aug 2015 21:11:05 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from cargobay.net (cargobay.net [198.178.123.147]) (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 D1924EE7 for ; Thu, 27 Aug 2015 21:11:04 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from [192.168.0.2] (cblmdm72-240-160-19.buckeyecom.net [72.240.160.19]) by cargobay.net (Postfix) with ESMTPSA id B3454D4A; Thu, 27 Aug 2015 21:07:18 +0000 (UTC) Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Zero delta ? From: "Chad J. Milios" In-Reply-To: Date: Thu, 27 Aug 2015 17:11:01 -0400 Cc: freebsd-questions@freebsd.org Message-Id: <05815B19-FD8B-4E79-9706-D9B7CEDE725C@ccsys.com> References: To: Eneko Gotzon X-Mailer: Apple Mail (2.2104) 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, 27 Aug 2015 21:11:05 -0000 > On Aug 27, 2015, at 5:00 PM, Eneko Gotzon = wrote: >=20 > Hi all Byte Masters. >=20 > Absolute beginner starting to learn about FreeBSD so excuse this kind = of > question. >=20 > In the *Who Uses FreeBSD?* section of the Handbook it is written: >=20 > *Netflix has made extensive contributions to the codebase and works to > maintain a zero delta > = = > from mainline FreeBSD*. >=20 >=20 > Please, what must I understand about that *zero delta* expression? = Thank > you very much. >=20 > --=20 > Eneko Gotzon Ares > enekogotzon@gmail.com It simply means they [do their best to, community permitting] push = upstream all their cool enhancements to the FreeBSD project for everyone = to share in the wealth (and maintenance). This benefits us, gaining from their experience with an expansive = content distribution network and giant workloads. This benefits them as = it minimizes the effort they spend doing =E2=80=9Cfork-lifts=E2=80=9D, = the merging of FreeBSD's updates into their proprietary FreeBSD variant = (or inversely, re-applying their modifications to an evolving FreeBSD). -Chad= From owner-freebsd-questions@freebsd.org Thu Aug 27 21:22: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 09BE39C4B85 for ; Thu, 27 Aug 2015 21:22:33 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) by mx1.freebsd.org (Postfix) with ESMTP id D20C91B24 for ; Thu, 27 Aug 2015 21:22:32 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from dalet402 ([96.51.17.203]) by shaw.ca with SMTP id V4cpZ9S1Jg6qzV4cqZFj1m; Thu, 27 Aug 2015 15:22:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20150330; t=1440710546; bh=eoUeR/pcKZkQ8ov+AzSA0gXh33ZcpIQsYvHc9mYTO10=; h=From:To:References:In-Reply-To:Subject:Date; b=kLEt+26sMEeY8ZzWtt7Dmx5wyQQASCm6XQv3nA4Bmv/ZxSLuGxCwHCFNT6rxsn4AY oq4hrUOfwIUc1Vz1yKCDTc6wtEML+RXf1XWn8ZtAmr8nmu+ER8D0kyfit7S2kBuF+2 EyXxxkJiC5PlgpZjgrkY5WvNw2n4Bd5wVVmqpFZqfwaMwyvMfs9csV6yCnQVnTiEkd XG97JUxu+YGLka7lPEReRz4s5YfNEgwJDjy8BdUvCzyYxgM2IL5VaVF5ZzPGAOtQ3t qD4VtuhWnrLBlwgynEnMtDmJw+ak7Bn1GmWA70PKpNvPWZlgfhjJ9yIr9dtmjNTh5U 1i49M135mGywg== X-Authority-Analysis: v=2.1 cv=boGGfhui c=1 sm=1 tr=0 a=BfPab6AX9oJ7x2B/6nUJug==:117 a=BfPab6AX9oJ7x2B/6nUJug==:17 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=9Q8X1Krnmkf6NU6pV2gA:9 a=yoPNY0eE1aKEE_H3:21 a=HvF7aBp8-kKe_qP7:21 a=CjuIK1q_8ugA:10 From: "Dale Scott" To: "'Eneko Gotzon'" , References: In-Reply-To: Subject: RE: Zero delta ? Date: Thu, 27 Aug 2015 15:22:28 -0600 Message-ID: <004201d0e10e$7b06cf60$71146e20$@shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHorSnsqgvq1Ysn8aPabYI6FkZ7Ep3wvq4w Content-Language: en-ca X-CMAE-Envelope: MS4wfMDCrKZUuZTpGNpk5vLYIysRRSVj9EqJjhmrtheDW8ZRf9o1jBZOXJm+JjyFfwGk3lADX6L7w4ikWN1F8mR6ThJb16X5HuX3GHD1jgcwLa0fnDVdRyDdvGM+i/1k2eL7kGDv+vFPdyN0qYpA+JvB+0kmh0FkjSMfqQteSLkqNWBM1F/+z80I202Y1Yi6GLd+uANRZjv7mgf5Kc4psG9bLIE= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Aug 2015 21:22:33 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Eneko Gotzon > Sent: August 27, 2015 3:01 PM > ... > > *Netflix has made extensive contributions to the codebase and works to > maintain a zero delta 1/books/handbook/nutshell.html> > from mainline FreeBSD*. > > Please, what must I understand about that *zero delta* expression? Thank > you very much. I believe it is saying that ideally there is no difference between the code Netflix runs and the code provided by the FreeBSD project (i.e. "zero delta"). It also implies Netflix works with the FreeBSD project so that changes Netflix finds necessary for its business are moved upstream into FreeBSD code (and then removed from Netflix code). This way the FreeBSD project takes over future maintenance and regression testing, which frees resources at Netflix for other work. Dale -- Transparency with Trust From owner-freebsd-questions@freebsd.org Thu Aug 27 22:01: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 E823C9C3880 for ; Thu, 27 Aug 2015 22:01:22 +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 B0DA411A5 for ; Thu, 27 Aug 2015 22:01:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 1AF1E2785C; Fri, 28 Aug 2015 00:01:18 +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 t7RM1Ij5002103; Fri, 28 Aug 2015 00:01:18 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 28 Aug 2015 00:01:18 +0200 From: Polytropon To: Quartz Cc: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive Message-Id: <20150828000118.31f33a35.freebsd@edvax.de> In-Reply-To: <55DEF869.1010202@sneakertech.com> References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@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: Thu, 27 Aug 2015 22:01:23 -0000 On Thu, 27 Aug 2015 07:45:45 -0400, Quartz wrote: > I believe Chris was looking for an equivalent command (or equivalent to > 'diskutil eject foo' at any rate). OSX was based on FreeBSD originally, > so the underlying concept should be possible. Is there no port or > package that can provide this functionality? That would surely be possible if the device in question would implement a proper reaction to the "eject" command. If it does, and how it does it, is up to the manufacturer. Let's say you send the "eject" command to the drive - the firmware then says goodbye to the host - the device file disappears. That would be a possibility. For optical devices, the "eject" (as well as the "load") command usually controls the slider for the media, without affecting the presence of the device file. See "man camcontrol" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Aug 27 22:01: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 352469C3976 for ; Thu, 27 Aug 2015 22:01:51 +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 C1807134A for ; Thu, 27 Aug 2015 22:01:50 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wicne3 with SMTP id ne3so4749654wic.0 for ; Thu, 27 Aug 2015 15:01:49 -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=We7dmIJVlLvx8bbzDHASIgJ2R+5qO4AYsIttezoLHdM=; b=QdsouqVc5VUvltdwnUNsXrTCHTx5gkUX49GEk+mPAoDxWL7Ksb7PqKG6O/O+L5Ok22 VvnF0ixJZn+OYOZFKr3uSNq46zAKj4dmmMc4mIWnhdxVYeq6cqmAG9WifFQEFyqrrBZF CUBWgpL9+/oWCf0BILqOxw/uZkuQss3zw3bzK4BCQUSa7eR+ChdDg6G9e3GaIEXvINZ9 A9VnMQIl5jIcdGWd7gnbpp65IXRCMju3OoqzelzhA+SOFtPOs/w4F6Yni1j+shLR1PDa ZpTTW02EfriDgUnqGsHUe79N30bN2pu1ciLxERjlI72QHi8uO91zmSFhxbe1pBBvM+VU Pgfg== X-Received: by 10.180.103.69 with SMTP id fu5mr661617wib.95.1440712909333; Thu, 27 Aug 2015 15:01:49 -0700 (PDT) Received: from gumby.homeunix.com ([2.217.169.2]) by smtp.gmail.com with ESMTPSA id p3sm699731wib.16.2015.08.27.15.01.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Aug 2015 15:01:48 -0700 (PDT) Date: Thu, 27 Aug 2015 23:01:45 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: AMD A series support Message-ID: <20150827230145.6c6c107f@gumby.homeunix.com> In-Reply-To: References: <6500ec392ffb900738af2a50cc28d06f@mail.d2ux.org> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 22:01:51 -0000 On Thu, 27 Aug 2015 17:38:47 +0200 Fernando Apestegu=EDa wrote: > I Googled this question and found some information that suggest that > the OS needs to support this. This project is an example: >=20 > https://github.com/HSAFoundation/HSA-Drivers-Linux-AMD That also needs support in the application. You can't just run ordinary pthreads or processes on a GPU. I doubt there's much that would use it, even if it had support in the kernel.=20 > Other interesting links: > https://community.amd.com/message/1308713#1308713 > https://community.amd.com/message/1306778#1306778 These appear to be about support for the GPUs as ordinary graphics devices. This is what you should be concerned about. From owner-freebsd-questions@freebsd.org Thu Aug 27 22:02: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 897689C3A04 for ; Thu, 27 Aug 2015 22:02:14 +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 50EDE144D for ; Thu, 27 Aug 2015 22:02:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 8591D27859; Fri, 28 Aug 2015 00:02: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 t7RM2BfH002108; Fri, 28 Aug 2015 00:02:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 28 Aug 2015 00:02:11 +0200 From: Polytropon To: Eneko Gotzon Cc: Quartz , freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive Message-Id: <20150828000211.cd58cd5b.freebsd@edvax.de> In-Reply-To: References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@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=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 22:02:14 -0000 On Thu, 27 Aug 2015 13:56:30 +0200, Eneko Gotzon wrote: > On Thu, Aug 27, 2015 at 1:45 PM, Quartz wrote: > > > OSX was based on FreeBSD originally > > > ​Apple: *Terminal is a text-based app that lets you interact directly with > the BSD operating system*.​ See /usr/share/misc/bsd-family-tree for explanation. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Aug 27 22: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 1F6D09C3BB0 for ; Thu, 27 Aug 2015 22:06:05 +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 DB708158F for ; Thu, 27 Aug 2015 22:06:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 0AFD42781F; Fri, 28 Aug 2015 00:06: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 t7RM62bL002114; Fri, 28 Aug 2015 00:06:02 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 28 Aug 2015 00:06:02 +0200 From: Polytropon To: Quartz Cc: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive Message-Id: <20150828000602.b9a288a8.freebsd@edvax.de> In-Reply-To: <55DEFC74.3040609@sneakertech.com> References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <55DEFB5A.3080408@FreeBSD.org> <55DEFC74.3040609@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: Thu, 27 Aug 2015 22:06:05 -0000 On Thu, 27 Aug 2015 08:03:00 -0400, Quartz wrote: > > FreeBSD runs on all sorts of different kit from all sorts of different > > providers, hence the uniform interface that Apple has achieved is much > > harder. > > I can understand that argument for physically powering down a device, > but whether or not a particular item shows up in a particular directory > is entirely a software issue, isn't it? Yes - mostly the software inside the device, which we commonly call firmware. On USB, and to a certain extent, on SATA, the device identifies to the system and enters a communication with it: stating what device class, who built it, which model, what capabilities are available and so on. If the firmware is able to delete that connection (which is, after all, a _data_ exchange, not primarily an electric connection), the OS would act accordingly by removing the device file entry. But on the other hand, what's wrong with _ignoring_ a device file you don't want to have anything to do with? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Aug 27 22:08: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 24F449C3CA5 for ; Thu, 27 Aug 2015 22:08:21 +0000 (UTC) (envelope-from eshell@soe.ucsc.edu) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (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 B1A0417A0 for ; Thu, 27 Aug 2015 22:08:20 +0000 (UTC) (envelope-from eshell@soe.ucsc.edu) Received: by wicge2 with SMTP id ge2so5748496wic.0 for ; Thu, 27 Aug 2015 15:08:18 -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:content-type; bh=q9tublu+YuBFSQHhmjgoyoTYqj27K7n5M7oj5IOQooU=; b=i0N5jPMUKiqkqVfyVSWujIiJ4cA0VjRkcrNDK6CmJKn7mImrAw7MzrRVgx92mHZ4LE t0IQ6CjtRXC6UOs089/Skt8uPpfeFP5v/oeV9Z4LPAQ3FMMPMRVHXwd95h1JaF7SoygA 9xrnSfBix6ViHH2rmGwATysWU6ovp91T1EuGNAUzVYOHtA0TxL3N0zMyOGQqULIUKoa5 E+KpFOsTE2CJe0UohjJl5WrNVrHFSqUVUvvik+vmF9Gf6DBuCY2FG6W1TENIcEaEPYuH gzDsycJXTlashfHVBD0Yfeuj+M6hydv8y+bU6vKHtV+vgzmz0KphJnBybTfUXFSt4aDA 9iMQ== X-Gm-Message-State: ALoCoQmFGY27M2AY78Wr/pxvi8E1X2bRP8c0gJhixoi9Ol2Fz/Kyot5G57cC4ZfrLaSyKwfk69tW MIME-Version: 1.0 X-Received: by 10.180.82.7 with SMTP id e7mr749221wiy.19.1440713298460; Thu, 27 Aug 2015 15:08:18 -0700 (PDT) Received: by 10.28.46.10 with HTTP; Thu, 27 Aug 2015 15:08:18 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Aug 2015 15:08:18 -0700 Message-ID: Subject: Re: Obtain Kerberos ticket automatically upon SSH login with PAM From: Eric Shell 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: Thu, 27 Aug 2015 22:08:21 -0000 To answer my own question, it turns out that the pam_krb5 module included with FreeBSD simply cannot do it. The security/pam_krb5 port works perfectly, however. On Thu, Aug 27, 2015 at 10:20 AM, Eric Shell wrote: > Hi folks, > > I'm trying to get a nice and tidy login process that authenticates users > via LDAP and also automatically grabs a kerberos ticket so they can > immediately mount Kerberized NFSv4 exports without bothering to kinit. My > /etc/pam.d/system configuration is working for console logins, but I can't > get it working for SSH logins even when using basically the same chain. > > With the debug argument to my pam_krb5.so line, I am getting this error in > /var/log/debug.log for SSH logins: > > sshd[7457]: in openpam_dispatch(): /usr/lib/pam_krb5.so.5: > pam_sm_setcred(): failed to retrieve user credentials > > Searching for that error on Google turns up a thread from 2013 that seems > to indicate that the problem lies with OpenSSH. Is that true? If so, is > there any way to make this work? > > > > /etc/pam.d/system: > > # auth > auth sufficient pam_opie.so no_warn no_fake_prompts > auth requisite pam_opieaccess.so no_warn allow_local > auth optional pam_krb5.so debug try_first_pass > auth sufficient pam_ldap.so no_warn try_first_pass > #auth sufficient pam_ssh.so no_warn try_first_pass > auth required pam_unix.so no_warn try_first_pass nullok > > # account > #account required pam_krb5.so > account required pam_login_access.so > account required pam_unix.so > > # session > #session optional pam_ssh.so want_agent > session required pam_lastlog.so no_fail > > # password > #password sufficient pam_krb5.so no_warn try_first_pass > password required pam_unix.so no_warn try_first_pass > > > > /etc/pam.d/sshd: > > # auth > auth sufficient pam_opie.so no_warn no_fake_prompts > #auth requisite pam_opieaccess.so no_warn allow_local > auth optional pam_krb5.so debug try_first_pass > auth sufficient pam_ldap.so no_warn try_first_pass > #auth sufficient pam_ssh.so no_warn try_first_pass > auth required pam_unix.so no_warn try_first_pass > > # account > account required pam_nologin.so > #account required pam_krb5.so > account required pam_login_access.so > account required pam_unix.so > > # session > #session optional pam_ssh.so want_agent > session required pam_permit.so > > # password > #password sufficient pam_krb5.so no_warn try_first_pass > password required pam_unix.so no_warn try_first_pass > -- Eric Shell Apple & Google Apps Administrator Baskin School of Engineering UC Santa Cruz 831 459 4919 From owner-freebsd-questions@freebsd.org Thu Aug 27 23: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 670EC9C3D86 for ; Thu, 27 Aug 2015 23:49:42 +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 47EABA5E for ; Thu, 27 Aug 2015 23:49:41 +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 3382F3F6D0; Thu, 27 Aug 2015 19:49:40 -0400 (EDT) Message-ID: <55DFA213.4030304@sneakertech.com> Date: Thu, 27 Aug 2015 19:49:39 -0400 From: Quartz MIME-Version: 1.0 To: Polytropon CC: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <20150828000118.31f33a35.freebsd@edvax.de> In-Reply-To: <20150828000118.31f33a35.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: Thu, 27 Aug 2015 23:49:42 -0000 > That would surely be possible if the device in question > would implement a proper reaction to the "eject" command. > If it does, and how it does it, is up to the manufacturer. > Let's say you send the "eject" command to the drive - the > firmware then says goodbye to the host - the device file > disappears. ---- > Yes - mostly the software inside the device, which we > commonly call firmware. On USB, and to a certain extent, > on SATA, the device identifies to the system and enters > a communication with it: stating what device class, who > built it, which model, what capabilities are available > and so on. If the firmware is able to delete that > connection (which is, after all, a _data_ exchange, > not primarily an electric connection), the OS would > act accordingly by removing the device file entry. This line of reasoning doesn't make any sense, or at least it's not related to what I was talking about. Let me try phrasing it a different way: 'diskutil eject foo' will kick the disk off an OSX system and remove its entry from /dev, and this functionality works across all devices and adapters regardless of make or model. Whatever the 'eject' command is doing, it's clearly entirely software side within the OS*. Being software, FreeBSD should be capable of the same, especially considering both OSs have such a close common heritage. *(unless you're claiming all devices everywhere have implemented mac-specific commands in their firmware, but that wouldn't really make sense either since if it's everywhere any other OS could use it too) From owner-freebsd-questions@freebsd.org Fri Aug 28 00:00: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 B90D39C4352 for ; Fri, 28 Aug 2015 00:00:32 +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 8046610C8 for ; Fri, 28 Aug 2015 00:00:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 8CDD92785C; Fri, 28 Aug 2015 02:00:29 +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 t7S00TwO002532; Fri, 28 Aug 2015 02:00:29 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 28 Aug 2015 02:00:29 +0200 From: Polytropon To: Quartz Cc: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive Message-Id: <20150828020029.c3c53813.freebsd@edvax.de> In-Reply-To: <55DFA213.4030304@sneakertech.com> References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <20150828000118.31f33a35.freebsd@edvax.de> <55DFA213.4030304@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: Fri, 28 Aug 2015 00:00:32 -0000 On Thu, 27 Aug 2015 19:49:39 -0400, Quartz wrote: > > > That would surely be possible if the device in question > > would implement a proper reaction to the "eject" command. > > If it does, and how it does it, is up to the manufacturer. > > Let's say you send the "eject" command to the drive - the > > firmware then says goodbye to the host - the device file > > disappears. > > ---- > > > Yes - mostly the software inside the device, which we > > commonly call firmware. On USB, and to a certain extent, > > on SATA, the device identifies to the system and enters > > a communication with it: stating what device class, who > > built it, which model, what capabilities are available > > and so on. If the firmware is able to delete that > > connection (which is, after all, a _data_ exchange, > > not primarily an electric connection), the OS would > > act accordingly by removing the device file entry. > > > > This line of reasoning doesn't make any sense, or at least it's not > related to what I was talking about. Let me try phrasing it a different > way: 'diskutil eject foo' will kick the disk off an OSX system and > remove its entry from /dev, and this functionality works across all > devices and adapters regardless of make or model. Whatever the 'eject' > command is doing, it's clearly entirely software side within the OS*. > Being software, FreeBSD should be capable of the same, especially > considering both OSs have such a close common heritage. I understand. This can be the OS-side of software which causes the removal of the device entry as a "side effect". While the disk device itself doesn't know how to eject itself, the diskutil program deregisters the device entry and removes the device from the current bus content list. Maybe there's even a "re-attach" command available to make the device file reappear (for example by scanning the bus again). This is possible. However, in regards of disk drives, I wouldn't call this procedure "eject", but maybe better "detach". In retrospect, ye olde "atacontrol" _had_ this functionality. See the dusty historic manual for details. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Aug 28 00:05: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 F04CB9C460C for ; Fri, 28 Aug 2015 00:05:42 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::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 B97E414CE for ; Fri, 28 Aug 2015 00:05:42 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by iods203 with SMTP id s203so76081100iod.0 for ; Thu, 27 Aug 2015 17:05:42 -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=CD4883rDT2w41T6bpgFHoDoWBjP+TdZAbET2Vg/0lsc=; b=mqWLBe4MVCZmmVvbOHSr546yTqtW4mZ7GONIyEiXMLsmPKTXEMojSOg8f/VzFE/Gsh 8SQPGD9MkuVEVGWfeyYu37l/0QRl3zi2xK4f4Icu/yw4tJ47Ja3IqawvTPAuWH3tmP+U taPegcLZYwmlRutgMwdUNwTPM5Wd7OowYDuhSUQnDOVBneBN41Hbw25njDHy48x7liUS H7ADThTO7R4grXbs9UWKqeAp6fvL2TU6A7IlYAOfGxeOUZjnMIPFpgv712U3v9M9dRx8 Hhp/ekhws/itzPm8ES54ba2dEUgYmiiccn77tJxMm7SjMeyqehjfxzhFVNpvi3H3967D GKXQ== X-Received: by 10.107.168.25 with SMTP id r25mr12272245ioe.32.1440720342165; Thu, 27 Aug 2015 17:05:42 -0700 (PDT) Received: from localhost.localdomain ([50.243.6.59]) by smtp.googlemail.com with ESMTPSA id a8sm621043igo.2.2015.08.27.17.05.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Aug 2015 17:05:41 -0700 (PDT) Subject: Re: Stop using a SATA drive To: freebsd-questions@freebsd.org References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <20150828000118.31f33a35.freebsd@edvax.de> <55DFA213.4030304@sneakertech.com> <20150828020029.c3c53813.freebsd@edvax.de> From: jd1008 Message-ID: <55DFA60E.5020209@gmail.com> Date: Thu, 27 Aug 2015 18:06:38 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20150828020029.c3c53813.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 00:05:43 -0000 On 08/27/2015 06:00 PM, Polytropon wrote: > On Thu, 27 Aug 2015 19:49:39 -0400, Quartz wrote: >>> That would surely be possible if the device in question >>> would implement a proper reaction to the "eject" command. >>> If it does, and how it does it, is up to the manufacturer. >>> Let's say you send the "eject" command to the drive - the >>> firmware then says goodbye to the host - the device file >>> disappears. >> ---- >> >>> Yes - mostly the software inside the device, which we >>> commonly call firmware. On USB, and to a certain extent, >>> on SATA, the device identifies to the system and enters >>> a communication with it: stating what device class, who >>> built it, which model, what capabilities are available >>> and so on. If the firmware is able to delete that >>> connection (which is, after all, a _data_ exchange, >>> not primarily an electric connection), the OS would >>> act accordingly by removing the device file entry. >> >> >> This line of reasoning doesn't make any sense, or at least it's not >> related to what I was talking about. Let me try phrasing it a different >> way: 'diskutil eject foo' will kick the disk off an OSX system and >> remove its entry from /dev, and this functionality works across all >> devices and adapters regardless of make or model. Whatever the 'eject' >> command is doing, it's clearly entirely software side within the OS*. >> Being software, FreeBSD should be capable of the same, especially >> considering both OSs have such a close common heritage. > I understand. This can be the OS-side of software which > causes the removal of the device entry as a "side effect". > While the disk device itself doesn't know how to eject > itself, the diskutil program deregisters the device entry > and removes the device from the current bus content list. > > Maybe there's even a "re-attach" command available to make > the device file reappear (for example by scanning the bus > again). > > This is possible. > > However, in regards of disk drives, I wouldn't call this > procedure "eject", but maybe better "detach". In retrospect, > ye olde "atacontrol" _had_ this functionality. See the dusty > historic manual for details. :-) > > Detach is correct, as that is how it is implemented in Sun OS, which also has a common heritage with BSD. From owner-freebsd-questions@freebsd.org Fri Aug 28 00:27: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 9443E9C4D98 for ; Fri, 28 Aug 2015 00:27:57 +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 746792E0 for ; Fri, 28 Aug 2015 00:27:57 +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 78B303F72A; Thu, 27 Aug 2015 20:27:56 -0400 (EDT) Message-ID: <55DFAB0B.7020307@sneakertech.com> Date: Thu, 27 Aug 2015 20:27:55 -0400 From: Quartz MIME-Version: 1.0 To: Polytropon CC: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <20150828000118.31f33a35.freebsd@edvax.de> <55DFA213.4030304@sneakertech.com> <20150828020029.c3c53813.freebsd@edvax.de> In-Reply-To: <20150828020029.c3c53813.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: Fri, 28 Aug 2015 00:27:57 -0000 > This is possible. OK, well my question (via Chris' original question) was, is there currently a port or package that actually implements this? > However, in regards of disk drives, I wouldn't call this > procedure "eject", but maybe better "detach". I'm not a fan of "eject" either, but that's Apple for you. They've always been weird about this sort of mental model; in both OSX GUI and classic Mac OS you drag the disk icon into the trash to unmount it. More than a few new users were very nervous about that. >In retrospect, > ye olde "atacontrol" _had_ this functionality. See the dusty > historic manual for details. :-) Wait, so this functionality existed but was removed? What was the reasoning behind that? From owner-freebsd-questions@freebsd.org Fri Aug 28 00:46: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 CCCAD9C3380 for ; Fri, 28 Aug 2015 00:46: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 93746F56 for ; Fri, 28 Aug 2015 00:46:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id C68F72783F; Fri, 28 Aug 2015 02:46: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 t7S0khpV002668; Fri, 28 Aug 2015 02:46:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 28 Aug 2015 02:46:43 +0200 From: Polytropon To: Quartz Cc: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive Message-Id: <20150828024643.c0d5d2dd.freebsd@edvax.de> In-Reply-To: <55DFAB0B.7020307@sneakertech.com> References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <20150828000118.31f33a35.freebsd@edvax.de> <55DFA213.4030304@sneakertech.com> <20150828020029.c3c53813.freebsd@edvax.de> <55DFAB0B.7020307@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: Fri, 28 Aug 2015 00:46:45 -0000 On Thu, 27 Aug 2015 20:27:55 -0400, Quartz wrote: > > This is possible. > > OK, well my question (via Chris' original question) was, is there > currently a port or package that actually implements this? Not that I am aware of. Maybe some specific (vendor-supplied) control software for disk controllers ("RAID controllers") can do this? > > However, in regards of disk drives, I wouldn't call this > > procedure "eject", but maybe better "detach". > > I'm not a fan of "eject" either, but that's Apple for you. They've > always been weird about this sort of mental model; in both OSX GUI and > classic Mac OS you drag the disk icon into the trash to unmount it. More > than a few new users were very nervous about that. There was also a menu entry: "eject floppy disk", and additionally a keyboard shortcut. I was impressed when I was this on my first Mac systems - the disk would "magically" come out, there was no mechanical button for it. Even the Sun Sparc Station 20 and the Ultra 1 had such kind of floppy disk drive. :-) > >In retrospect, > > ye olde "atacontrol" _had_ this functionality. See the dusty > > historic manual for details. :-) > > Wait, so this functionality existed but was removed? What was the > reasoning behind that? The deprecation of the old ATA/ATAPI subsystem for accessing disks and optical units. Today, the "SCSI over ATA" (previously optional kernel mechanism ATAPICAM) is being used, so atacontrol doesn't exist anymore - camcontrol is to be used. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Aug 28 00:55: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 C48509C3739 for ; Fri, 28 Aug 2015 00:55: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 A09BE782 for ; Fri, 28 Aug 2015 00:55: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 C08B43F72E; Thu, 27 Aug 2015 20:55:10 -0400 (EDT) Message-ID: <55DFB16E.4090804@sneakertech.com> Date: Thu, 27 Aug 2015 20:55:10 -0400 From: Quartz MIME-Version: 1.0 To: Polytropon CC: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <20150828000118.31f33a35.freebsd@edvax.de> <55DFA213.4030304@sneakertech.com> <20150828020029.c3c53813.freebsd@edvax.de> <55DFAB0B.7020307@sneakertech.com> <20150828024643.c0d5d2dd.freebsd@edvax.de> In-Reply-To: <20150828024643.c0d5d2dd.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: Fri, 28 Aug 2015 00:55:12 -0000 >>> This is possible. >> >> OK, well my question (via Chris' original question) was, is there >> currently a port or package that actually implements this? > > Not that I am aware of. Maybe some specific (vendor-supplied) > control software for disk controllers ("RAID controllers") > can do this? Hmm... ok. Not that I have any plans for this, but just out of curiosity, how easy do you think it would be to write one? > There was also a menu entry: "eject floppy disk", and additionally > a keyboard shortcut. Well... sorta. Even that was messed up. If you used command-E ("Eject") you got the stupid ghost icon. You had to use command-Y ("Put Away") which didn't really make a lot of sense. But as I said, Apple's mental model for disconnecting disks has always been weird. >I was impressed when I was this on my first > Mac systems - the disk would "magically" come out, there was no > mechanical button for it. Yeah the old "disk eater" drives. It wasn't long before they dropped most of the mechanical assist mechanism to save money. >so atacontrol > doesn't exist anymore - camcontrol is to be used. Right, right, sorry. I saw "atacontrol" but thought "camcontrol". From owner-freebsd-questions@freebsd.org Fri Aug 28 01:43: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 CFA299C49A4 for ; Fri, 28 Aug 2015 01:43: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 95D93E28 for ; Fri, 28 Aug 2015 01:43:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id A836A27825; Fri, 28 Aug 2015 03:43:42 +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 t7S1hfGL002090; Fri, 28 Aug 2015 03:43:42 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 28 Aug 2015 03:43:41 +0200 From: Polytropon To: Quartz Cc: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive Message-Id: <20150828034341.bb01cc81.freebsd@edvax.de> In-Reply-To: <55DFB16E.4090804@sneakertech.com> References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <20150828000118.31f33a35.freebsd@edvax.de> <55DFA213.4030304@sneakertech.com> <20150828020029.c3c53813.freebsd@edvax.de> <55DFAB0B.7020307@sneakertech.com> <20150828024643.c0d5d2dd.freebsd@edvax.de> <55DFB16E.4090804@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: Fri, 28 Aug 2015 01:43:45 -0000 On Thu, 27 Aug 2015 20:55:10 -0400, Quartz wrote: > >>> This is possible. > >> > >> OK, well my question (via Chris' original question) was, is there > >> currently a port or package that actually implements this? > > > > Not that I am aware of. Maybe some specific (vendor-supplied) > > control software for disk controllers ("RAID controllers") > > can do this? > > Hmm... ok. Not that I have any plans for this, but just out of > curiosity, how easy do you think it would be to write one? I'm sure this is possible. Such a tool would first have to make sure that all requests to a device (let's say a disk) would have been processed ("sync" and "umount" equivalents at driver level), issue CAM commands to the device to "say goodbye", and then talk to devfs to manipulate the device file system. When a rescan of the bus is requested, the device should probably re-appear. At least that's how I would imagine such a process. Note that I'm not a BSD system programmer, so my experience and knowledge on this topic is limited. > > There was also a menu entry: "eject floppy disk", and additionally > > a keyboard shortcut. > > Well... sorta. Even that was messed up. If you used command-E ("Eject") > you got the stupid ghost icon. You had to use command-Y ("Put Away") > which didn't really make a lot of sense. But as I said, Apple's mental > model for disconnecting disks has always been weird. Yes, I remember the somewhat strange choice of terminology in the german version of Mac OS: "Diskette weglegen". I think Apple thought of "put away" as sync+umount, and "eject" as actual eject. Luckily, you usually could't "force-remove" the disk with read or write operations pending. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Aug 28 05:19: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 ECD4B9C3328 for ; Fri, 28 Aug 2015 05:19:28 +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 B3D1B1A43 for ; Fri, 28 Aug 2015 05:19:28 +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 t7S4ufMl072907 for ; Fri, 28 Aug 2015 00:56:41 -0400 (EDT) (envelope-from doug@safeport.com) Date: Fri, 28 Aug 2015 00:56:41 -0400 (EDT) From: doug@safeport.com To: freebsd-questions@FreeBSD.ORG Subject: generating xorg.conf does not work Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) 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 (bucksport.safeport.com [198.74.231.101]); Fri, 28 Aug 2015 00:56:41 -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: Fri, 28 Aug 2015 05:19:29 -0000 I am running 10.1 and xorg-7.7_2. When I built and installed all this around the first of this month, the handbook still had generating xorg.conf the "tried and true" way: Xorg -configure. This did not work but letting xorg self configure did (and does) work. I am currently running xfce-4.12_1. The handbook now says, "To generate the configuration file and start the X system, issue this command: startx". A post to forums.freebsd.org on 8/4/15 says, "Auto-generating xorg.conf is not recommended any more." This by wblock@. (that you Warren??) So what gives?? startx at least as run by a non-root user generates no file and starts xorg according the that specified by /usr/local/etc/X11/xinit/xinitrc. I have installed several ports that say add this font or make some other change to xorg.conf. And, perhaps have a problem running chrome because I am not able to do that. So my questions are basically: should this be posted to xorg; are there any guidelines on how to build an xorg.conf from the various outputs from the self-generated start; is auto generation the way to go or not; and lastly if auto-generation is the way of the future how do you add fonts and or change the other things one usually does? Thanks for any help, I sure need some :) _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Fri Aug 28 05:40:00 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 DDF9D9C3A90 for ; Fri, 28 Aug 2015 05:40:00 +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 9A9B5946 for ; Fri, 28 Aug 2015 05:40:00 +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 5CAC61E611EC for ; Fri, 28 Aug 2015 11:08:58 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail10.rvijay.me (Postfix) with ESMTP id B462D2482C for ; Fri, 28 Aug 2015 04:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rvijay.me; h= content-transfer-encoding:content-type:content-type:mime-version :user-agent:date:date:message-id:subject:subject:from:from:to; s=20130919; t=1440737718; x=1441601719; bh=TAUZidvCb+ERl+wNRQ+h nwfp9h9HAx2XkC5a1I8dL7c=; b=YdFEWDlg+OyR6T08RanxZwCTmhsNpGcicOCe EdoXuoBoP24AEAd1+R8JXKdr3qKPX/e+MZLjULHoVpAGdTMopfzl/VO53kVVm/k6 y0be262K69Zd2PgGDcTWXaP8GvEgzsTSMnLGfzxRoPCTr/+d5Qr93VAauoOlyxC0 3aMaB4o= 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 f-00cWtvJbrL for ; Fri, 28 Aug 2015 04:55:18 +0000 (UTC) Received: from [192.168.1.119] (unknown [183.83.49.59]) (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 2E3D124826 for ; Fri, 28 Aug 2015 04:55:18 +0000 (UTC) To: freebsd-questions From: Vijay Rajah Subject: adding packages during jails creation Message-ID: <55DFE9B3.9010003@rvijay.me> Date: Fri, 28 Aug 2015 10:25: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 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 05:40:01 -0000 Hello List, I run all my services in my server in separate jails.. It works great.. The only thing is, on every jail, i would install a set of packages. (example: portmaster) I have created flavour in ezjails to customize the jails. But, How do I install packages form ports tree whenever, I create the jails? -Thanks in Advance Vijay From owner-freebsd-questions@freebsd.org Fri Aug 28 05:50: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 F34359C3E93 for ; Fri, 28 Aug 2015 05:50:42 +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 58C5CD32 for ; Fri, 28 Aug 2015 05:50:41 +0000 (UTC) (envelope-from maillist@bsdjunk.com) Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [94.100.177.106]) by fallback8.mail.ru (mPOP.Fallback_MX) with ESMTP id 0DC1288494BC for ; Fri, 28 Aug 2015 08:44:48 +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=D2Uc96Fws5F38/xy/2LUdN5IyNOZSFMcibjUaUVLwbo=; b=EzwP82d6ry4G752F2n1LIydl7Mid9UCGqIBNqFOq46h9AbegQwPGgYTLpoqkW/ZD13qIjA9pruXS+cSVMiH6xsy7if9/G0kn/NXXX46Etl2lzjNQVXJw7NaUgQj+7qvWhVFZthaeUPD9zytRcseD+OJuLGj0lQr9G93zTgQ4lIw=; Received: from [187.150.131.128] (port=51246 helo=[192.168.1.77]) by smtp46.i.mail.ru with esmtpa (envelope-from ) id 1ZVCSs-0003J4-Na for freebsd-questions@freebsd.org; Fri, 28 Aug 2015 08:44:39 +0300 Subject: Re: generating xorg.conf does not work To: freebsd-questions@freebsd.org References: From: Chris Petrik Message-ID: <55DFF541.1010803@bsdjunk.com> Date: Fri, 28 Aug 2015 00:44:33 -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: Fri, 28 Aug 2015 05:50:43 -0000 On 08/27/15 23:56, doug@safeport.com wrote: > I am running 10.1 and xorg-7.7_2. When I built and installed all this > around the first of this month, the handbook still had generating > xorg.conf the "tried and true" way: Xorg -configure. This did not work > but letting xorg self configure did (and does) work. I am currently > running xfce-4.12_1. > > The handbook now says, "To generate the configuration file and start > the X system, issue this command: startx". A post to > forums.freebsd.org on 8/4/15 says, "Auto-generating xorg.conf is not > recommended any more." This by wblock@. (that you Warren??) So what > gives?? > > startx at least as run by a non-root user generates no file and starts > xorg according the that specified by /usr/local/etc/X11/xinit/xinitrc. > > I have installed several ports that say add this font or make some > other change to xorg.conf. And, perhaps have a problem running chrome > because I am not able to do that. So my questions are basically: > should this be posted to xorg; are there any guidelines on how to > build an xorg.conf from the various outputs from the self-generated > start; is auto generation the way to go or not; and lastly if > auto-generation is the way of the future how do you add fonts and or > change the other things one usually does? > > Thanks for any help, I sure need some :) > > _____ > 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, This is a known issue and I believe it can be found here: https://wiki.freebsd.org/Graphics Xorg is smart enough to generate it's own config each time X is started so no need for a config file. In theory this is enough for average joe. Christopher Petrik From owner-freebsd-questions@freebsd.org Fri Aug 28 05:56: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 CC70F9C40DC for ; Fri, 28 Aug 2015 05:56:59 +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 95A35AA for ; Fri, 28 Aug 2015 05:56:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-38-7.dynamic.qsc.de [92.195.38.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 5EE92276AE; Fri, 28 Aug 2015 07:56:56 +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 t7S5utFh001971; Fri, 28 Aug 2015 07:56:55 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 28 Aug 2015 07:56:55 +0200 From: Polytropon To: doug@safeport.com Cc: freebsd-questions@freebsd.org Subject: Re: generating xorg.conf does not work Message-Id: <20150828075655.c63cf225.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 05:56:59 -0000 On Fri, 28 Aug 2015 00:56:41 -0400 (EDT), doug@safeport.com wrote: > I have installed several ports that say add this font or make some other change > to xorg.conf. And, perhaps have a problem running chrome because I am not able > to do that. So my questions are basically: should this be posted to xorg; are > there any guidelines on how to build an xorg.conf from the various outputs from > the self-generated start; is auto generation the way to go or not; and lastly if > auto-generation is the way of the future how do you add fonts and or change the > other things one usually does? As far as I know, it's possible to use an "incomplete" xorg.conf which only contains the settings where you want to override the autodetected defaults. For machines where the hardware doesn't change on a daily basis, I tend to first have X generate xorg.conf, then manually trim this file down to what's essentially needed, and add specific things (like german keyboard, switchable screen sizes if a CRT is being used, or additional TTF font dirs that I have manually installed). There are only a few things that survive from the generated xorg.conf. However, the result still is a _complete_ xorg.conf file. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Aug 28 06:08:52 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 C51819C44D6 for ; Fri, 28 Aug 2015 06:08:52 +0000 (UTC) (envelope-from prvs=66828ec88b=ITanusheff@postbank.bg) Received: from mail1.postbank.bg (mx.postbank.bg [195.242.126.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.postbank.bg", Issuer "GeoTrust DV SSL CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09554AA7 for ; Fri, 28 Aug 2015 06:08:51 +0000 (UTC) (envelope-from prvs=66828ec88b=ITanusheff@postbank.bg) DKIM-Signature: v=1; a=rsa-sha256; d=postbank.bg; s=mail; c=relaxed/relaxed; q=dns/txt; i=@postbank.bg; t=1440741217; x=1443333217; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dZ6/V3ASQ4WE68czkXnBWaunRhNiSTK6vbJ7wj7hrgg=; b=jSqM3BDFTH/F16qYlf7ASFeQCBPOVrGqxjX+g63UHB2UUfl6An0f4nF+vvjPOaFE zKKmOGG2tgyfyoypK3F0KRC5XHGCPFgHmsG1lL1NPV6s456lggl+08gerQpByVNa x4Xin3XiHAnMTkff6jQcelHNYmjLjqn4kIGsG16s6Xk=; X-AuditID: ac100165-f798e6d000000cf9-cd-55dff7615928 Received: from sofdc01excv14.postbank.bg ( [10.1.129.37]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by mail1.postbank.bg (Eurobank AD BG Outbound mail system) with SMTP id 02.42.03321.167FFD55; Fri, 28 Aug 2015 08:53:37 +0300 (EEST) From: "Ivailo A. Tanusheff" To: Vijay Rajah , freebsd-questions Subject: RE: [Postbank antispam: Marketing mail detected] adding packages during jails creation Thread-Topic: [Postbank antispam: Marketing mail detected] adding packages during jails creation Thread-Index: AQHQ4VQLgLCN/WHzKUuJ7vpRPeFVUZ4g6C0Q Date: Fri, 28 Aug 2015 05:53:35 +0000 Message-ID: <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> References: <55DFE9B3.9010003@rvijay.me> In-Reply-To: <55DFE9B3.9010003@rvijay.me> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.230] Content-Type: text/plain; charset="us-ascii" content-transfer-encoding: quoted-printable MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHKsWRmVeSWpSXmKPExsXCxdioqpv4/X6owfLXuhYvv25isdh78hSL A5PHjE/zWTwufp3MHMAU1cBok5RYUhacmZ6nb2eTmJeXX5JYkqqQklqcbKsUHZBfXJKUmJcd q+CSWZyck5iZm1qkpJCZYqtkrKRQkJOYnJqbmldiq5RYUJCal6Jkx6WAAWyAyjLzFFLzkvNT MvPSbZU8g/11LSxMLXUNlexApiY0cGT8v/WOuWAPd8Wca/vZGhi3cnYxcnJICJhIHH/dxwph i0lcuLeerYuRi0NIYC6TxJ5zh8ASbEBF2+buYepi5OAQEQiW+PPUBiQsLJAk8Wh/M1iJiECy xNVFV5ghbCOJOZt/MoLYLAKqEm96zoHFeQX8JS78uckGYgsJaEjsWPwOrIZTQFNixa6X7CA2 I9AN30+tYQKxmQXEJW49mc8EcZuAxJI955khbFGJl4//Qd0sLzF52il2iHodiQW7P7FB2NoS yxa+htorKHFy5hOWCYwis5CMnYWkZRaSlllIWhYwsqxilCzOT0tJNjAM9nUvMzDUK4BGl15S +iZGYBJYI8CYuoPxxRWnQ4wCHIxKPLwTNt0PFWJNLCuuzD3EKMHBrCTCq3kVKMSbklhZlVqU H19UmpNafIgxGRg6E5mlRJPzgQkqryTe0MTA0NTEyNDCwMzClDRhJXHez1evhgoJpAPTVXZq akFqEcwWJg5OkCu4pESKgakntSixtCQjHpQa44uByVGqgZG9esXhxhupTwRnZ3AlWxZ6zVy7 WJpDIXrqrekqRv0PwrbfreDbEKly98jrjbOqxONWZASpHNdRmDr9ps+zTzznZ2fueqHtem7q kdTF7h5TI7skVkwMnBLy7HSSbRbH+8lNb/uZ8t7Vb3ywOPi45FTrwjVbw13UuySrw3fNrK99 fFc2hONc7yklluKMREMt5qLiRAB0q0trYQMAAA== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Aug 2015 06:08:52 -0000 Dear Vijay, You can nullfs mount the host's ports folder to the ports folder at any jail= and then proceed as normal port install. I usually make script to do the updates after that, so you can mount for spe= cific jail, upgrade all ports needed and then unmount. In many cases you will not have internet access from every jail, so it might= be a good idea to have all those ports installed on the host system, so you= first install/update host, than when you mount the jail will have all neede= d files already downloaded. Regards, Ivailo -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@fr= eebsd.org] On Behalf Of Vijay Rajah Sent: Friday, August 28, 2015 7:55 AM To: freebsd-questions Subject: [Postbank antispam: Marketing mail detected] adding packages during= jails creation Hello List, I run all my services in my server in separate jails.. It works great.. The only thing is, on every jail, i would install a set of packages. (example: portmaster) I have created flavour in ezjails to customize the jails. But, How do I install packages form ports tree whenever, I create the jails? -Thanks in Advance 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" Disclaimer: This communication is confidential. If you are not the intended recipient, y= ou are hereby notified that any disclosure, copying, distribution or taking= any action in reliance on the contents of this information is strictly proh= ibited and may be unlawful. If you have received this communication by mista= ke, please notify us immediately by responding to this email and then delete= it from your system. Eurobank Bulgaria AD is not responsible for, nor endorses, any opinion, reco= mmendation, conclusion, solicitation, offer or agreement or any information= contained in this communication. Eurobank Bulgaria AD cannot accept any responsibility for the accuracy or co= mpleteness of this message as it has been transmitted over a public network.= If you suspect that the message may have been intercepted or amended, pleas= e call the sender. From owner-freebsd-questions@freebsd.org Fri Aug 28 06:14: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 B3E349C47A9 for ; Fri, 28 Aug 2015 06:14:04 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 4DDEDE81 for ; Fri, 28 Aug 2015 06:14:03 +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.adl6.internode.on.net with ESMTP; 28 Aug 2015 15:43:56 +0930 Message-ID: <55DFFC1F.1090402@ShaneWare.Biz> Date: Fri, 28 Aug 2015 15:43:51 +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: Quartz CC: freebsd-questions@freebsd.org Subject: Re: Stop using a SATA drive References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <20150828000118.31f33a35.freebsd@edvax.de> <55DFA213.4030304@sneakertech.com> <20150828020029.c3c53813.freebsd@edvax.de> <55DFAB0B.7020307@sneakertech.com> <20150828024643.c0d5d2dd.freebsd@edvax.de> <55DFB16E.4090804@sneakertech.com> In-Reply-To: <55DFB16E.4090804@sneakertech.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 06:14:04 -0000 On 28/08/2015 10:25, Quartz wrote: >> There was also a menu entry: "eject floppy disk", and additionally >> a keyboard shortcut. > > Well... sorta. Even that was messed up. If you used command-E ("Eject") > you got the stupid ghost icon. You had to use command-Y ("Put Away") > which didn't really make a lot of sense. But as I said, Apple's mental > model for disconnecting disks has always been weird. Well the idea in the early days was to replicate a real desktop to make it "familiar". Ejecting would eject the disk from the drive while putting it away would match up with 'you are finished using it so put it into the storage box'. When you consider the one 400k drive used to start with and the fact that you often ejected the system disk to insert an application disk, then use a data disk for files, leaving the disk on the desktop as it will need to be re-inserted later starts to make a little sense, while putting it away implies you have finished with the disk and don't plan to re-insert it again. You can either use existing terminology in a similar way or you can teach the user new terminology that is relevant to a new technology. The first can conjure up different meanings for different people while the later leaves no room for misinterpretation. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Fri Aug 28 06:22: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 794439C4B33 for ; Fri, 28 Aug 2015 06:22:46 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 1664A265 for ; Fri, 28 Aug 2015 06:22:45 +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.adl6.internode.on.net with ESMTP; 28 Aug 2015 15:52:45 +0930 Message-ID: <55DFFE32.3020508@ShaneWare.Biz> Date: Fri, 28 Aug 2015 15:52:42 +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: Alexander Moisseev , freebsd-questions@freebsd.org Subject: Re: how to change daily cron emails to go to user account instead of root References: <55DF057F.6040205@gmail.com> <55DF082D.8040001@mezonplus.ru> In-Reply-To: <55DF082D.8040001@mezonplus.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 06:22:46 -0000 On 27/08/2015 22:23, Alexander Moisseev wrote: > On 27.08.2015 15:41, Ernie Luzar wrote: >> The part that is not clear is where do I place this MAILTO environment >> variable? > > Have you seen the EXAMPLE CRON FILE section of the man 5 crontab? > > EXAMPLE CRON FILE > # use /bin/sh to run commands, overriding the default set by cron > SHELL=/bin/sh > # mail any output to `paul', no matter whose crontab this is > MAILTO=paul > # > # run five minutes after midnight, every day > 5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1 Another option is to use the .forward file. echo "\paul" >> /root/.forward see man forward -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Fri Aug 28 06:29: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 A2EAD9C4D36 for ; Fri, 28 Aug 2015 06:29:45 +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 41B0A3CB for ; Fri, 28 Aug 2015 06:29:44 +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 A44151E611EC; Fri, 28 Aug 2015 11:59:43 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail10.rvijay.me (Postfix) with ESMTP id 86C7E2402E; Fri, 28 Aug 2015 06:29:43 +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=1440743378; x= 1441607379; bh=bRVMBPk8N9A482N224+IWU5BBF3kSjQThjvpeoiYi9k=; b=s f4ijqUY7aecVnyHuXDU2KsTL7EG5nXtAiNdcD8FrvcZOXEBTAwKvRgnouifpxClw zlFTYb8JHNFaQGyE21Mz0/sNMkeF6Y+tGQBet+UEkomquANRi6/kttRxml3y+mqb YFnAA97jnThqIKBbM3PUbXQ6591K8EfQSJM6iV+5r0= 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 TRxPYyMDBwHF; Fri, 28 Aug 2015 06:29:38 +0000 (UTC) Received: from [192.168.1.119] (unknown [183.83.49.59]) (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 BD6EE24038; Fri, 28 Aug 2015 06:29:37 +0000 (UTC) Subject: Re: [Postbank antispam: Marketing mail detected] adding packages during jails creation To: "Ivailo A. Tanusheff" , freebsd-questions References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> From: Vijay Rajah Message-ID: <55DFFFCF.7000102@rvijay.me> Date: Fri, 28 Aug 2015 11:59:35 +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: <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 06:29:45 -0000 Dear ivailo, Thanks for your reply. Yes I already do that. I nullfs mount the hosts's /usr/ports to all the jails & make necessary changes in make.conf in the jails Currently When I create a jail, I need to manually install some packages. (using make config , make install ...) My question is how can I automate installation of ports, instead of me manually installing these packages on every Jail? -Thanks Vijay On 28/08/15 11:23 am, Ivailo A. Tanusheff wrote: > Dear Vijay, > > You can nullfs mount the host's ports folder to the ports folder at any jail and then proceed as normal port install. > I usually make script to do the updates after that, so you can mount for specific jail, upgrade all ports needed and then unmount. > > In many cases you will not have internet access from every jail, so it might be a good idea to have all those ports installed on the host system, so you first install/update host, than when you mount the jail will have all needed files already downloaded. > > Regards, > Ivailo > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Vijay Rajah > Sent: Friday, August 28, 2015 7:55 AM > To: freebsd-questions > Subject: [Postbank antispam: Marketing mail detected] adding packages during jails creation > > Hello List, > > I run all my services in my server in separate jails.. It works great.. > > The only thing is, on every jail, i would install a set of packages. > (example: portmaster) > > I have created flavour in ezjails to customize the jails. > > But, How do I install packages form ports tree whenever, I create the jails? > > -Thanks in Advance > 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" > > Disclaimer: > > This communication is confidential. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication by mistake, please notify us immediately by responding to this email and then delete it from your system. > Eurobank Bulgaria AD is not responsible for, nor endorses, any opinion, recommendation, conclusion, solicitation, offer or agreement or any information contained in this communication. > Eurobank Bulgaria AD cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. If you suspect that the message may have been intercepted or amended, please call the sender. From owner-freebsd-questions@freebsd.org Fri Aug 28 07:08: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 3B75A9C3DA7 for ; Fri, 28 Aug 2015 07:08:26 +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 BE169B5F for ; Fri, 28 Aug 2015 07:08:25 +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 t7S78JLZ007026 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 28 Aug 2015 08:08:19 +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 t7S78JLZ007026 Authentication-Results: smtp.infracaninophile.co.uk/t7S78JLZ007026; 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: [Postbank antispam: Marketing mail detected] adding packages during jails creation To: freebsd-questions@freebsd.org References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55E008DD.8040804@FreeBSD.org> Date: Fri, 28 Aug 2015 08:08:13 +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: <55DFFFCF.7000102@rvijay.me> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vX0niVBXEDO7rUTMN3HIghtK5PDdPAsKA" 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: Fri, 28 Aug 2015 07:08:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vX0niVBXEDO7rUTMN3HIghtK5PDdPAsKA Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 28/08/2015 07:29, Vijay Rajah wrote: > My question is how can I automate installation of ports, instead of me > manually installing these packages on every Jail? There are any number of configuration management tools available, which can do this for you. ansible and puppet are two popular ones. However, you will still have to bootstrap those management systems in your new jail. This usually boils down to writing a small script you can run on your newly instantiated jail. As for installing from ports -- use poudriere to build your own package sets and create your own repo rather than building everything on every jail. Seriously. It's going to save you a lot of time and system resources and it's not hard to do. Cheers, Matthew --vX0niVBXEDO7rUTMN3HIghtK5PDdPAsKA 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 iQJ8BAEBCgBmBQJV4AjjXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATTiEP/i8CaRoPJmDXprFz0fAEbT8V R9V+rrSQHiQJIzNx96uxpg4d4JdZX4+IJR00KZ/GO7OrBjpLanlSV3Au3GGXfTpQ 10TSFuDrWxTFv2L6SHMwxqva4OBEibSZZZEXfSM/FkpNcHXPWY25iVksNyyzitTc tHaCLSus8EvXzABDVCJmRR6WAvpHmvSdcWnW1aFhyDga9uTND5yOPjAGSHQn2Uqx gxbPEBtcY6/0Z8yiZOGTUVPLRI4L0HCdHTaLBOKgA5J5zQjMjKRFha7Gr7CUw9tg SdwQ3hQrh19w+Pui6zAke0diz8UAjnSwVLm9m+n25szrXG09ReUiVkwNYKt0Z4Ok q/HXSuzXWOMa4dhMxDWLT+w3N1Z5002+nALtl8JZ1Yqb4U2NPZ8+9d9XNXNQFsuw var2fSFyNxD7L/0Nwa/YDASk62AgEAWaS3/tmZJg/pTz2i0EgImnYnTwcr/1Jtvh JOFpyhwhF2hH1/PzvjSpR3CwvAszWURl8FnxLb44FHdIZRJBoobPNw82zt2BcS5u WoP6+JDxiHd3BBi/jC0tqMnkJ3YpGlMNaeRV/rXJV6FbLvBuVuGUWp5n18YvPCCx PyUV1SAizA9wFNZrCRVzlykkt9j2pmMHP3hbqAw7I85WPySy8B8iU3QkdyE7mAPF DX3JPHc8NSA/negG4M+y =W3sZ -----END PGP SIGNATURE----- --vX0niVBXEDO7rUTMN3HIghtK5PDdPAsKA-- From owner-freebsd-questions@freebsd.org Fri Aug 28 07:29: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 1B3AB9C47A1 for ; Fri, 28 Aug 2015 07:29:32 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id D615F3A5 for ; Fri, 28 Aug 2015 07:29:31 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.2] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.7/8.14.9) with ESMTP id t7S6xe8e038939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 27 Aug 2015 23:59:41 -0700 (PDT) (envelope-from bc979@lafn.org) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Replacing Drive with SSD Message-Id: Date: Thu, 27 Aug 2015 23:59:40 -0700 To: FreeBSD - Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-Virus-Scanned: clamav-milter 0.98 at zoom.lafn.org X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 07:29:32 -0000 I am having to replace a drive with a SSD. Normally if I were replacing = it with another drive, I would hook up the new drive to the computer and = just use dd to copy everything (system would be quiescent). Can I do = the same with a SSD or does it need to be setup differently? This is a = boot drive (i.e., the only drive in the system). The system is = currently working fine, but the drive temp is starting to go up so I = want to replace it before anything bad happens. From owner-freebsd-questions@freebsd.org Fri Aug 28 07:44:00 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 AADB89C4F55 for ; Fri, 28 Aug 2015 07:44:00 +0000 (UTC) (envelope-from prvs=968241d400=ITanusheff@postbank.bg) Received: from mail.postbank.bg (mx.postbank.bg [195.242.126.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.postbank.bg", Issuer "GeoTrust DV SSL CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC308E4 for ; Fri, 28 Aug 2015 07:43:59 +0000 (UTC) (envelope-from prvs=968241d400=ITanusheff@postbank.bg) DKIM-Signature: v=1; a=rsa-sha256; d=postbank.bg; s=mail; c=relaxed/relaxed; q=dns/txt; i=@postbank.bg; t=1440747835; x=1443339835; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2080+7J7dURvJMaXNxajxm1AkpLw5I6ONfSsA1i1q7g=; b=eocfubvspL59PQFE5lfuoL3xISBc2afByE07jNA7iflCB5NNejQpKFivbOr2xWjV ATueXpPnrRsuJbuj0Ka4z0StbZwx3IXdpFmX+XsMHc/hXlMs67jlnNJk854OR6w3 hTlEq61UCnZpo7pfMp1lsT22VVv8xY8aVkDL5GTc5r0=; X-AuditID: ac100166-f79cb6d000000c51-94-55e0113b941f Received: from sofdc01excv14.postbank.bg ( [10.1.129.37]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by mail.postbank.bg (Eurobank AD BG Outbound mail system) with SMTP id A5.51.03153.B3110E55; Fri, 28 Aug 2015 10:43:55 +0300 (EEST) From: "Ivailo A. Tanusheff" To: Vijay Rajah , freebsd-questions Subject: RE: [Postbank antispam: Marketing mail detected] adding packages during jails creation Thread-Topic: [Postbank antispam: Marketing mail detected] adding packages during jails creation Thread-Index: AQHQ4VruZBH1DVs+s0S293uX8a+lD54hB3lw Date: Fri, 28 Aug 2015 07:43:51 +0000 Message-ID: <1422065A4E115F409E22C1EC9EDAFBA4222BA0ED@sofdc01exc02.postbank.bg> References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> In-Reply-To: <55DFFFCF.7000102@rvijay.me> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.230] Content-Type: text/plain; charset="us-ascii" content-transfer-encoding: quoted-printable MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHKsWRmVeSWpSXmKPExsXCxdioqmst+CDUYNFLUYuXXzexWOw9eYrF gcljxqf5LB4Xv05mDmCKamC0SUosKQvOTM/Tt7NJzMvLL0ksSVVISS1OtlWKDsgvLklKzMuO VXDJLE7OSczMTS1SUshMsVUyVlIoyElMTs1NzSuxVUosKEjNS1Gy41LAADZAZZl5Cql5yfkp mXnptkqewf66FhamlrqGSnYgUxMaODLev3rAVtAvXfHxai9bA2OjWBcjJ4eEgInEvbtLWSBs MYkL99azdTFycQgJzGGS+H78DStIgg2oaNvcPUxdjBwcIgLBEn+e2oCEhQUSJVa+/ssOYosI JEm82TAVyjaS+HNmAROIzSKgKvF2ymJmEJtXwF9i8+wNYHEhgV5Giba3CSA2p4CmxOrPs8Hi jEA3fD+1BsxmFhCXuPVkPhPEbQISS/acZ4awRSVePv7HCmHLS0yedoodol5HYsHuT2wQtrbE soWvofYKSpyc+YRlAqPILCRjZyFpmYWkZRaSlgWMLKsYJYvz01KSDQyDfd3LDIz0CqDRpZeU vokRmATWCDCm7WB8c8XpEKMAB6MSD++ETfdDhVgTy4orcw8xSnAwK4nw/voGFOJNSaysSi3K jy8qzUktPsSYDAydicxSosn5wASVVxJvaGJgaGpiZGhhYGZhSpqwkjjv56tXQ4UE0oHpKjs1 tSC1CGYLEwcnyBVcUiLFwNSTWpRYWpIRD0qN8cXA5CjVwFioFmbYZvF4RwPfQdbZigsbe/1b XKe3KsyKWvpXdM+kirmsif8CJ339aC2v8SlqX9HqC+9+TenxT+gUi/+k+u75i4oZNXNzbA8n S/qydL9xsb/zsur0t435zkcLUxKn/pH6s4lr4sWvcgWLdLc7Xjs9Zfeh2zqCliqfTp6OUD28 XfiQmF2exQ0lluKMREMt5qLiRADVwiNNYQMAAA== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Aug 2015 07:44:00 -0000 Dear Vijay, Use a configuration/system management tool. You can do this with Puppet or C= hef, per example. This has all the advantages of using a build host (consistency, less load on= the individual servers), and adds the benefit of configuration management. Regards, Ivailo -----Original Message----- From: Vijay Rajah [mailto:me@rvijay.me] Sent: Friday, August 28, 2015 9:30 AM To: Ivailo A. Tanusheff; freebsd-questions Subject: Re: [Postbank antispam: Marketing mail detected] adding packages du= ring jails creation Dear ivailo, Thanks for your reply. Yes I already do that. I nullfs mount the hosts's /usr/ports to all the jail= s & make necessary changes in make.conf in the jails Currently When I create a jail, I need to manually install some packages. (u= sing make config , make install ...) My question is how can I automate installation of ports, instead of me manua= lly installing these packages on every Jail? -Thanks Vijay On 28/08/15 11:23 am, Ivailo A. Tanusheff wrote: > Dear Vijay, > > You can nullfs mount the host's ports folder to the ports folder at any ja= il and then proceed as normal port install. > I usually make script to do the updates after that, so you can mount for s= pecific jail, upgrade all ports needed and then unmount. > > In many cases you will not have internet access from every jail, so it mig= ht be a good idea to have all those ports installed on the host system, so y= ou first install/update host, than when you mount the jail will have all nee= ded files already downloaded. > > Regards, > Ivailo > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Vijay Rajah > Sent: Friday, August 28, 2015 7:55 AM > To: freebsd-questions > Subject: [Postbank antispam: Marketing mail detected] adding packages > during jails creation > > Hello List, > > I run all my services in my server in separate jails.. It works great.. > > The only thing is, on every jail, i would install a set of packages. > (example: portmaster) > > I have created flavour in ezjails to customize the jails. > > But, How do I install packages form ports tree whenever, I create the jail= s? > > -Thanks in Advance > 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.or= g" > > Disclaimer: > > This communication is confidential. If you are not the intended recipient,= you are hereby notified that any disclosure, copying, distribution or takin= g any action in reliance on the contents of this information is strictly pro= hibited and may be unlawful. If you have received this communication by mist= ake, please notify us immediately by responding to this email and then delet= e it from your system. > Eurobank Bulgaria AD is not responsible for, nor endorses, any opinion, re= commendation, conclusion, solicitation, offer or agreement or any informatio= n contained in this communication. > Eurobank Bulgaria AD cannot accept any responsibility for the accuracy or= completeness of this message as it has been transmitted over a public netwo= rk. If you suspect that the message may have been intercepted or amended, pl= ease call the sender. Disclaimer: This communication is confidential. If you are not the intended recipient, y= ou are hereby notified that any disclosure, copying, distribution or taking= any action in reliance on the contents of this information is strictly proh= ibited and may be unlawful. If you have received this communication by mista= ke, please notify us immediately by responding to this email and then delete= it from your system. Eurobank Bulgaria AD is not responsible for, nor endorses, any opinion, reco= mmendation, conclusion, solicitation, offer or agreement or any information= contained in this communication. Eurobank Bulgaria AD cannot accept any responsibility for the accuracy or co= mpleteness of this message as it has been transmitted over a public network.= If you suspect that the message may have been intercepted or amended, pleas= e call the sender. From owner-freebsd-questions@freebsd.org Fri Aug 28 08:37: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 8F8929C497B for ; Fri, 28 Aug 2015 08:37:31 +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 36481B00 for ; Fri, 28 Aug 2015 08:37:30 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7S8bD2g008535 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 28 Aug 2015 09:37:21 +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 t7S8bD2g008535 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1440751041; bh=Eclg9xcmaKU92oPorqd1Hn8XSHLN6kPj6RrWnNGV1uc=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20Replacing=20Drive=20with=20SSD|To:=20freebsd-que stions@freebsd.org|References:=20|From:=20Matthew=20Seaman=20|Date:=20Fri,=2028=20Aug=202015=2009:37:02=20+0100|In-Rep ly-To:=20; b=REkVvsqRGGIq1S3Qye4NQEOMvpRisiiC+WJ9MBV4ONTkUWs36G4XLbac8WkdM5dkv OZpmgvlhDKxaj0Bni+XAe9hip7VA50CsG07k1S+NBHkpFMOjhcqMWgzLVicl/kNnV0 ytSONd2kW8xcOW4KxqsxeDRvT7xu2IdaOJgqdzxE= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Subject: Re: Replacing Drive with SSD To: freebsd-questions@freebsd.org References: From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55E01DAE.1020709@infracaninophile.co.uk> Date: Fri, 28 Aug 2015 09:37:02 +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: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="j5dJLHCwXLaJNi84BnrUUq6OfVEdImQ9w" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU 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: Fri, 28 Aug 2015 08:37:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --j5dJLHCwXLaJNi84BnrUUq6OfVEdImQ9w Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/28/15 07:59, Doug Hardie wrote: > I am having to replace a drive with a SSD. Normally if I were > replacing it with another drive, I would hook up the new drive to the > computer and just use dd to copy everything (system would be > quiescent). Can I do the same with a SSD or does it need to be setup > differently? This is a boot drive (i.e., the only drive in the > system). The system is currently working fine, but the drive temp is > starting to go up so I want to replace it before anything bad > happens. Yes, SSDs look just like spinning rust drives to the system. All the normal commands you'ld use to wrangle partitions and copy data around will work just fine. You should take care to align partition boundaries on block-size multiples -- and block sizes have tended to increase recently with the increase in size of storage media generally. But that's not special to SSDs. Then use dump and restore to copy your data over to each partition= =2E Cheers, Matthew --j5dJLHCwXLaJNi84BnrUUq6OfVEdImQ9w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJV4B25AAoJEABRPxDgqeTnhskP/3aSMirbGh1G6+raaIBvkhVZ x2A4fLrp6lBq4o6SYav/CYP/C8hp/Zi2tAIktRESg1mRIL7PRp5mB4kmc60tgmii +aSJxNAUWQe+Iacm5PxGOuD609V2eysmoGEA8lOHirQBCn33cb49yhMfo6sdQZ6c mc/zDvoclXdGIJFS6TCtMlqNtho8VIYVpSTPwz6XET+jrBI3gSzxEMZDYvMP9Mqi /nA4s06fjhy7J57GAnVxh9Yu2jNns/N7lh0dqxYXXZuF+ohGTV5k++J5x801BDTu AF8XtwDMgUtb93M7wNjYjzw+kCuVDF0yS3jNgCARONxZqgYXdS84Sj09fZ95SIFU x1WbygUmoZ3wholQoiSo7f9RWsxOQwHY/RLYNzQ8WHiAMP9LOVwW+xWsb4J85gsD Th2GvmwsI/W6278bfa2z4EC7zll4Knq3KNHR1kdu9ARlsJBkdcDL4VC0Nth387sB 5mWrAEsxV280MsqMm3nql/IW0SFxTG9J+icoJfBzTQr9ULUFI33RniSbFL3R24IP Ockptx98qi3zsXgOlD+cu8eQTLZBqc8r27Jebj6sn/nPJ4LlMQdycpHfnqewCQ9Q tAXYd8eTdGbNQGQKgQwc2NmJuZB48lfc31oBRWLkxjTO9GW1TLpwWH28bNnngi8V STFxmts3Nay4rnDXhFRx =g2jc -----END PGP SIGNATURE----- --j5dJLHCwXLaJNi84BnrUUq6OfVEdImQ9w-- From owner-freebsd-questions@freebsd.org Fri Aug 28 08:46: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 7AD869C4D36 for ; Fri, 28 Aug 2015 08:46:47 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: from mail.xtaz.uk (tao.xtaz.uk [IPv6:2001:8b0:202::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45A51ECA for ; Fri, 28 Aug 2015 08:46:46 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: by mail.xtaz.uk (Postfix, from userid 1001) id D683220AEEB6; Fri, 28 Aug 2015 09:46:43 +0100 (BST) Date: Fri, 28 Aug 2015 09:46:43 +0100 From: Matt Smith To: Matthew Seaman Cc: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD Message-ID: <20150828084643.GB1274@xtaz.uk> Mail-Followup-To: Matt Smith , Matthew Seaman , freebsd-questions@freebsd.org References: <55E01DAE.1020709@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <55E01DAE.1020709@infracaninophile.co.uk> 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: Fri, 28 Aug 2015 08:46:47 -0000 On Aug 28 09:37, Matthew Seaman wrote: >On 08/28/15 07:59, Doug Hardie wrote: >> I am having to replace a drive with a SSD. Normally if I were >> replacing it with another drive, I would hook up the new drive to the >> computer and just use dd to copy everything (system would be >> quiescent). Can I do the same with a SSD or does it need to be setup >> differently? This is a boot drive (i.e., the only drive in the >> system). The system is currently working fine, but the drive temp is >> starting to go up so I want to replace it before anything bad >> happens. > >Yes, SSDs look just like spinning rust drives to the system. All the >normal commands you'ld use to wrangle partitions and copy data around >will work just fine. > >You should take care to align partition boundaries on block-size >multiples -- and block sizes have tended to increase recently with the >increase in size of storage media generally. But that's not special to >SSDs. Then use dump and restore to copy your data over to each partition. > > Cheers, > > Matthew > > > I've heard a rumour that you should never use dd with SSD drives because of the wear levelling stuff. Apparently SSDs automatically make sure that data is sent to unused flash cells so that all the cells wear evenly, but if you use dd on them it makes them think that every single cell is in use which screws this up? From owner-freebsd-questions@freebsd.org Fri Aug 28 09: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 678E29C39FC for ; Fri, 28 Aug 2015 09:14:32 +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 10C191C2E for ; Fri, 28 Aug 2015 09:14:31 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7S9EJwn009156 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 28 Aug 2015 10:14:20 +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 t7S9EJwn009156 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1440753260; bh=vxJw3ilQ+bfadX8ak0aO2O853pv5mo8NOIzedHSm0OY=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20Replacing=20Drive=20with=20SSD|To:=20Matt=20Smit h=20,=20freebsd-questions@freebsd.org|References: =20=0D=0A=20<55E01D AE.1020709@infracaninophile.co.uk>=20<20150828084643.GB1274@xtaz.u k>|From:=20Matthew=20Seaman=20|Da te:=20Fri,=2028=20Aug=202015=2010:14:19=20+0100|In-Reply-To:=20<20 150828084643.GB1274@xtaz.uk>; b=Ph/WBUf/J0ws6KQcsTSDy/LtGtKAM3+YMKU4eFXvOeUJKaZWoZMY/0heLobhLh9+F nPXsS/OjHrzR+RfrDe3N7C1TBAutHK742iuPVgPaKD9PxcW3Rey5O1wmEmPvOaE6GN ts0bZQIuKkw5hOSQYmfHmgjdVUWxLo3Xk373LuOg= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Subject: Re: Replacing Drive with SSD To: Matt Smith , freebsd-questions@freebsd.org References: <55E01DAE.1020709@infracaninophile.co.uk> <20150828084643.GB1274@xtaz.uk> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55E0266B.10005@infracaninophile.co.uk> Date: Fri, 28 Aug 2015 10:14:19 +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: <20150828084643.GB1274@xtaz.uk> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="srx7SIHoEg7JF4uHnvIaPMEwicsa3k0Ta" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU 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: Fri, 28 Aug 2015 09:14:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --srx7SIHoEg7JF4uHnvIaPMEwicsa3k0Ta Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/28/15 09:46, Matt Smith wrote: > I've heard a rumour that you should never use dd with SSD drives becaus= e > of the wear levelling stuff. Apparently SSDs automatically make sure > that data is sent to unused flash cells so that all the cells wear > evenly, but if you use dd on them it makes them think that every single= > cell is in use which screws this up? Hmmm.... Yes, dd will copy all of the source disk including disk blocks that are unused, empty space. Overwriting a cell that is already zeroes with yet more zeroes is a waste of time, but I don't know if that would actually use up some of the life of that cell. It shouldn't confuse the wear-levelling code on the drive particularly -- it might take a little while to sort itself out after the fact, but it's no worse conceptually than filling the drive up with a big file and then deleting that file. So, avoid using dd if you can, but it's probably not a disaster if you can't avoid it. Cheers, Matthew --srx7SIHoEg7JF4uHnvIaPMEwicsa3k0Ta Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJV4CZrAAoJEABRPxDgqeTnKowP/Rdx+1OxnUqu7s+p7nfdYlMy h7iirdhGsCZQW8ht3fPoRmslORPwcVR4jpIz6neFaYYJKi/DPUmUX7ru3vBfjoKc DCGB61UqKPcX4ld+uyjipRGh6QR4uZXb2kzPU2m4LuSxk/zgjmyBNzxYn5cYLPP2 w8kUSBOooOXJns+iAlvnzAvGscwKdevtP56116cHab/LH5mF+7OpvK7K/b4YboLO ++lZ3pY8URdp0a+e0hEgrGWLnttfVWvFLsSm0qGbP4TWUqxqSZeyCqT/MxJiScPh fZhvxTUbwm6PQGDKVEqjdN3GlDVmecxxRTmN3EDqgWDdb7HAmvDeXIQV0x0foEC5 /BBQ7T21bgxV3PAnZiRY+uLp9SN+xSWTe89T0Etg3QV7YavGi1Sr7yFQnopxriiw k5ohAR6brnt8/24snC8V8bIj98Bl0sEhO8AI43+ZjXOgear7LXzFZ7vaE7zMi2k1 K+stWm7Yq4dl1mVrsAb/l9xLd3+rQdYQSN3W3zuj16ox5DmFxCjZB1ik2KioFk3f trQDCEQEBVJ2RGVDJprhFnbdTT9+VO8Sa0OmzAHC7nT0/KWmiUb9XfgWJ0ozWfhn F/qdkS57yTsPTC/bSSivxG87nZl2e6acXslhQpL/0t53yaNSDPo6EP1vUichFC6a 2z+2ZtnG8bNUrISMghIW =sIaV -----END PGP SIGNATURE----- --srx7SIHoEg7JF4uHnvIaPMEwicsa3k0Ta-- From owner-freebsd-questions@freebsd.org Fri Aug 28 09:33: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 C7B2D9C421F for ; Fri, 28 Aug 2015 09:33:36 +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 AA912876 for ; Fri, 28 Aug 2015 09:33:36 +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 C7D303F738 for ; Fri, 28 Aug 2015 05:33:34 -0400 (EDT) Message-ID: <55E02AEE.9090409@sneakertech.com> Date: Fri, 28 Aug 2015 05:33:34 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD References: 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: Fri, 28 Aug 2015 09:33:36 -0000 >just use dd to copy everything (system would be > quiescent). Can I do the same with a SSD or does it need to be setup > differently? dd doesn't care what kind of drive it is (as long as it's not a cd/dvd). Remember though that if the new SSD has a higher capacity than the old drive, dd will not automatically expand any of the partition info for you- you'll have to tweak it later. From owner-freebsd-questions@freebsd.org Fri Aug 28 10:05: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 DFE2B9C3023 for ; Fri, 28 Aug 2015 10:05:42 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vk0-x233.google.com (mail-vk0-x233.google.com [IPv6:2607:f8b0:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B36E1528 for ; Fri, 28 Aug 2015 10:05:42 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by vkbc123 with SMTP id c123so7083255vkb.3 for ; Fri, 28 Aug 2015 03:05:41 -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=JWj8cr5za4lp1voiYzZ6gXldPe0/JCqZW183tnVazLA=; b=rX1ZFMzG/zkfyzgL2Smob99nnStpxc2sGW87lC4z/9BbAoK0anRnQL5Y3D23UDUgSU d06gY16HtMNuqEPJOzLJe/4aT4gvLQX+OrWZuM2pSoeA5HXxm1/BoDAGPiQHw5IvPecD wFGZ6294OuR9cxJ65DcTFIKXkEsXS5H33nZtwwz9YloIKDZSxgCNul8nepnafFGuu6Nb 2RKumjxhSoj0NCzTeW1rkM/ea2qufQ/+YouFM8ZlgQ/EISsicdvlHAyRYMGh5UfaOhkN 0NR2bQsouN973huVqaFNYFjrI7VXrpu/9w7KeiJ8PUTg25VODMAR1hhb9GoJ7U1+vCUa 34WQ== MIME-Version: 1.0 X-Received: by 10.52.106.231 with SMTP id gx7mr185673vdb.55.1440756341506; Fri, 28 Aug 2015 03:05:41 -0700 (PDT) Received: by 10.31.1.6 with HTTP; Fri, 28 Aug 2015 03:05:41 -0700 (PDT) In-Reply-To: <55DFFFCF.7000102@rvijay.me> References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> Date: Fri, 28 Aug 2015 18:05:41 +0800 Message-ID: Subject: Re: adding packages during jails creation From: Ben Woods To: Vijay Rajah Cc: "Ivailo A. Tanusheff" , 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: Fri, 28 Aug 2015 10:05:43 -0000 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 -- -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-questions@freebsd.org Fri Aug 28 10:34: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 6880F9C20AE for ; Fri, 28 Aug 2015 10:34:30 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC353E4E for ; Fri, 28 Aug 2015 10:34:27 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from kw.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id t7SAYFNp037413; Fri, 28 Aug 2015 12:34:15 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <55E03927.9010108@bananmonarki.se> Date: Fri, 28 Aug 2015 12:34:15 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Chad J. Milios" , Ernie Luzar CC: freebsd-questions@freebsd.org Subject: Re: how to change daily cron emails to go to user account instead of root References: <55DF057F.6040205@gmail.com> <21C31935-454C-4E97-8230-7059E8EAFF39@ccsys.com> In-Reply-To: <21C31935-454C-4E97-8230-7059E8EAFF39@ccsys.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: Fri, 28 Aug 2015 10:34:30 -0000 On 2015-08-27 17:53, Chad J. Milios wrote: > This thread has many good answers to more finely control things like periodic’s output or cron’s output or one cron entry’s output but I have not seen the simplest and most general answer. > > see the first few lines of /etc/mail/aliases (or if you don’t use the sendmail in base, maybe /usr/local/etc/postfix/aliases or the equivalent for your mail system): > > # Pretty much everything else in this file points to "root", so > # you would do well in either reading root's mailbox or forwarding > # root's email from here. > > # root: me@my.domain > > you uncomment that "root:" line there and obviously replace "me@my.domain" with something along the lines of "you@your.domain” to mail off-system or just “you" to redirect to a different on-system user. (root account shouldn’t be running any mail reader software that’s any more complex than `cat /var/mail/root` and even that I wouldn’t get into the habit of doing) > > THEN after you change that file you MUST run the `newaliases` command (or `postalias /usr/local/etc/postfix/aliases` in the case of postfix) because a database file is actually what handles lookups after it is [re-]generated from that text file. > Just run make install && make restart, and off you go. > see also: > > man 5 aliases > man 1 newaliases From owner-freebsd-questions@freebsd.org Fri Aug 28 11:37: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 445109C4FD1 for ; Fri, 28 Aug 2015 11:37:04 +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 DF1B7101A for ; Fri, 28 Aug 2015 11:37:03 +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 t7SBb0XT015470; Fri, 28 Aug 2015 12:37:00 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: Replacing Drive with SSD To: Doug Hardie , FreeBSD - References: From: Arthur Chance Message-ID: <55E047DC.40800@qeng-ho.org> Date: Fri, 28 Aug 2015 12:37:00 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 11:37:04 -0000 On 28/08/2015 07:59, Doug Hardie wrote: > I am having to replace a drive with a SSD. Normally if I were > replacing it with another drive, I would hook up the new drive > to the computer and just use dd to copy everything (system would > be quiescent). Can I do the same with a SSD or does it need to > be setup differently? This is a boot drive (i.e., the only drive > in the system). The system is currently working fine, but the > drive temp is starting to go up so I want to replace it before > anything bad happens. As others have said, SSDs look pretty much like spinning drives. The one thing to be aware of is TRIM, presuming your SSD supports it. If you're using zfs, TRIM is automatically enabled (on 10.x, not sure about earlier releases), but if you use ufs you have to enable it on each file system with tunefs -t enable $device However, you might want to check why your disk temperature is rising anyway. Have you checked your fans and any air filters? -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Fri Aug 28 12:49: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 25B8A9C4114 for ; Fri, 28 Aug 2015 12:49:54 +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 AAA751BF2 for ; Fri, 28 Aug 2015 12:49:52 +0000 (UTC) (envelope-from ml@my.gd) Received: by laba3 with SMTP id a3so31669583lab.1 for ; Fri, 28 Aug 2015 05:49: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=SwJ1Gar2K14l/okuyC6kJCyUs0cC4bsmKtCdPMwppX4=; b=LKEwSkrG8l/z7qw1cxAlWYfE3fbt3yKydl/g5BRknCGtJKUHIGQwCFshWbLO83SxB0 YLlo2oKA8V64uWL0DKPNFnquKWMpfhUfmfTSdeq4/uHz0p9hGLpa7kQ+t0yK7phgN7Am miSIS1qZsG+1RTqwSphEvGr2n46Bnv/RTvcnAGAEjdrpBI3n13ny2HwdcMtDINDmFw8w e5JLu31nvTlB+Eqy7OwzRb51vh+HbjEV3cFB/kXAET0mpO6L+/Km2bmqtsuNb8UuPYSn USshtFmYrGfOxf/GS9GJQEl8gFa98jyiirTPgPoyNKeuyeAT3+OWs78/EHVd9oWkUwQp PyVg== X-Gm-Message-State: ALoCoQl8WKhEMZhkzhcz/vU5FQNTMu6fn23Gt7r2WJYHFKZrUlKlty6I0+ZRaoTqy0+1OI8HRQsb MIME-Version: 1.0 X-Received: by 10.152.20.98 with SMTP id m2mr4656059lae.119.1440766184805; Fri, 28 Aug 2015 05:49:44 -0700 (PDT) Received: by 10.112.60.34 with HTTP; Fri, 28 Aug 2015 05:49:44 -0700 (PDT) In-Reply-To: <55E047DC.40800@qeng-ho.org> References: <55E047DC.40800@qeng-ho.org> Date: Fri, 28 Aug 2015 14:49:44 +0200 Message-ID: Subject: Re: Replacing Drive with SSD From: Damien Fleuriot To: Doug Hardie Cc: FreeBSD - Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 12:49:54 -0000 > On 28/08/2015 07:59, Doug Hardie wrote: > >> I am having to replace a drive with a SSD. Normally if I were >> > > replacing it with another drive, I would hook up the new drive > > to the computer and just use dd to copy everything (system would > > be quiescent). Can I do the same with a SSD or does it need to > > be setup differently? This is a boot drive (i.e., the only drive > > in the system). The system is currently working fine, but the > > drive temp is starting to go up so I want to replace it before > > anything bad happens. > > Any reason you're not using dump/restore ? Now that would skip empty blocks :) That would allow you to expand your partitions, in the process. Warren Block has a very good guide over there : http://www.wonkity.com/~wblock/docs/html/backup.html From owner-freebsd-questions@freebsd.org Fri Aug 28 12:51: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 ECE1D9C418F for ; Fri, 28 Aug 2015 12:51:06 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90A441D48 for ; Fri, 28 Aug 2015 12:51:06 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wicne3 with SMTP id ne3so18878577wic.0 for ; Fri, 28 Aug 2015 05:51:05 -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=9x98Vl1RhJzAAB6snYXvgPQ+goYI0XwVxCzHJcXgncI=; b=dhCQ+N1PO/pnGjbiqFZKTsVK3ijwHS29i/IW4uCH2dFy2SVMSjk5rlj69WWIZcrWeU b3JHou6mLSBQ9o+XocQD4rYwk3bfsgFdBgPjCh4jk/KBjzPuzb7GFg31DlQDG9GwcSEc 3drVB9PsP8F5MihM+rhlHIoxF1TjiHs0ZypNkLDZYxeAT3J3LxZC/BxQp2Q1FPqfkmf3 lss5UxRYRyP/eg/oGBrMFoy8975/7zdo8TzBDP4L8h2j+/6haBRAg9BoDM7qgeCnNGJg AWhhIhnq/PSpc9XoeeDRuuBk6kIC02F4zbL/LKoN1A9wNQQTJHW5iMnnXenGo2JBPkr0 rlsw== X-Received: by 10.180.103.2 with SMTP id fs2mr4436940wib.4.1440766265059; Fri, 28 Aug 2015 05:51:05 -0700 (PDT) Received: from gumby.homeunix.com ([90.211.20.156]) by smtp.gmail.com with ESMTPSA id eu3sm3650045wib.22.2015.08.28.05.51.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Aug 2015 05:51:04 -0700 (PDT) Date: Fri, 28 Aug 2015 13:51:02 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD Message-ID: <20150828135102.79c52f02@gumby.homeunix.com> In-Reply-To: <55E0266B.10005@infracaninophile.co.uk> References: <55E01DAE.1020709@infracaninophile.co.uk> <20150828084643.GB1274@xtaz.uk> <55E0266B.10005@infracaninophile.co.uk> 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: Fri, 28 Aug 2015 12:51:07 -0000 On Fri, 28 Aug 2015 10:14:19 +0100 Matthew Seaman wrote: > On 08/28/15 09:46, Matt Smith wrote: > > I've heard a rumour that you should never use dd with SSD drives > > because of the wear levelling stuff. Apparently SSDs automatically > > make sure that data is sent to unused flash cells so that all the > > cells wear evenly, but if you use dd on them it makes them think > > that every single cell is in use which screws this up? > > Hmmm.... Yes, dd will copy all of the source disk including disk > blocks that are unused, empty space. Overwriting a cell that is > already zeroes with yet more zeroes is a waste of time, They wont necessarily be zeros. > but I don't > know if that would actually use up some of the life of that cell. It > shouldn't confuse the wear-levelling code on the drive particularly > -- it might take a little while to sort itself out after the fact, The problem is that if you write to the whole device you reduce the free blocks to the over-provisioning level. Whether or not that's a problem depends on whether the device has static wear-levelling and how good it is. Without it the writes all go into a relatively small pool of blocks. When I bought my SSD last year I couldn't see any evidence that consumer grade SSDs have static wear-levelling. I think it would be mentioned if they did, as there's so much online about working around its absence by leaving a large free block pool. From owner-freebsd-questions@freebsd.org Fri Aug 28 13:57: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 3DE539C4272 for ; Fri, 28 Aug 2015 13:57:11 +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 D2C0E1001 for ; Fri, 28 Aug 2015 13:57:10 +0000 (UTC) (envelope-from katmai@keptprivate.com) Received: (qmail 7420 invoked by uid 89); 28 Aug 2015 13:55:36 -0000 Received: from (HELO ) (katmai@keptprivate.com) by keptprivate.com with ESMTPA; 28 Aug 2015 13:55:36 -0000 Subject: memcached port broken? To: freebsd-questions@freebsd.org References: <55E01DAE.1020709@infracaninophile.co.uk> <20150828084643.GB1274@xtaz.uk> <55E0266B.10005@infracaninophile.co.uk> <20150828135102.79c52f02@gumby.homeunix.com> From: Stefanita Rares Dumitrescu Message-ID: <55E06851.1090505@keptprivate.com> Date: Fri, 28 Aug 2015 15:55:29 +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: <20150828135102.79c52f02@gumby.homeunix.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 150828-0, 08/28/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: Fri, 28 Aug 2015 13:57:11 -0000 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 From owner-freebsd-questions@freebsd.org Fri Aug 28 14:08: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 1E1DD9C4826 for ; Fri, 28 Aug 2015 14:08:37 +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 DFB021D0B for ; Fri, 28 Aug 2015 14:08: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 t7SE8XY7014605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 28 Aug 2015 09:08:34 -0500 Subject: *Caution: Threadjack !!!!* Backup strategies (was: Replacing Drive with SSD) References: <55E047DC.40800@qeng-ho.org> Cc: FreeBSD - From: "William A. Mahaffey III" Message-ID: <55E06B61.7040305@hiwaay.net> Date: Fri, 28 Aug 2015 09:14:03 -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: Fri, 28 Aug 2015 14:08:37 -0000 On 08/28/15 07:55, Damien Fleuriot wrote: >> On 28/08/2015 07:59, Doug Hardie wrote: >> >>> I am having to replace a drive with a SSD. Normally if I were >>> >>> replacing it with another drive, I would hook up the new drive >>> to the computer and just use dd to copy everything (system would >>> be quiescent). Can I do the same with a SSD or does it need to >>> be setup differently? This is a boot drive (i.e., the only drive >>> in the system). The system is currently working fine, but the >>> drive temp is starting to go up so I want to replace it before >>> anything bad happens. >> > Any reason you're not using dump/restore ? > Now that would skip empty blocks :) > That would allow you to expand your partitions, in the process. > > Warren Block has a very good guide over there : > http://www.wonkity.com/~wblock/docs/html/backup.html > _______________________________________________ > 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" > Warren's (fabulously lucid) page brings up a question for me. For years I have used a 'pull' strategy for across-the-LAN backups, w/ my 'backup servers' using tar or rsync to access data for backup on NFS-mounted (or automounted) directories that I want backed up. This all happens automatically overnight under cron. I am usually *not* backing up system files, but rather user data, although I have recently started backing up system stuff as well. Warren's page consistently illustrates a 'push'-ed backup, & involves system files. I am *dead* serious about automated backups, no possibility of forgetting to do it that way, but I always thought that trying to backup 'live' system files was a bad idea (right/wrong ?). There doesn't seem to be a way to do a 'push' backup w/o messing with live system files. I guess I am asking about 'best practices' for backups, & the wisdom/validity of backing up 'live' system files. Sorry for rambling, but the question(s) popped up for me while reading Warren's web page. Any input appreciated. Have a nice day & 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 Fri Aug 28 14:08: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 06C3F9C483B for ; Fri, 28 Aug 2015 14:08:41 +0000 (UTC) (envelope-from simon@optinet.com) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.freebsd.org (Postfix) with SMTP id A4D871D18 for ; Fri, 28 Aug 2015 14:08:39 +0000 (UTC) (envelope-from simon@optinet.com) Received: (qmail 14745 invoked by uid 110); 28 Aug 2015 14:02:10 -0000 Received: from ool-6894aec3.dyn.optonline.net (HELO desktop1) (simon@optinet.com@104.148.174.195) by cobra.acceleratedweb.net with SMTP; 28 Aug 2015 14:02:10 -0000 From: "Simon" To: "freebsd-questions@freebsd.org" , "Stefanita Rares Dumitrescu" Date: Fri, 28 Aug 2015 10:01:54 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2717) For Windows 2000 (5.1.2600;3) In-Reply-To: <55E06851.1090505@keptprivate.com> MIME-Version: 1.0 Subject: Re: memcached port broken? Content-Type: text/plain; charset="iso-8859-1" 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: Fri, 28 Aug 2015 14:08:41 -0000 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" From owner-freebsd-questions@freebsd.org Fri Aug 28 14:11: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 BE3A49C4A95 for ; Fri, 28 Aug 2015 14:11:26 +0000 (UTC) (envelope-from kraduk@gmail.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 5879E9F for ; Fri, 28 Aug 2015 14:11:26 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by wiyy7 with SMTP id y7so164106wiy.1 for ; Fri, 28 Aug 2015 07:11: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=1YGY6IVP4U9fBPR056TPrMX5iOG0t6wducuw8Hj/6po=; b=YQCdi6PdO9qeAzYeYOWNRP6xBBu8DwKLWmukZm0Ar/jfRy5UH/3lm5m/7xY1Crfs20 l2CSlvz5C46z549T7ZAIWbWzR4z+xRvpdHK9oSxsWjLnnIrqfn18z6YD3zNDBEB/AeUQ 6uizeudT/UOrgqD6sHoeXz5mok8rJ9xsglE5wUgtfC8zwdFQlq4mXgYA4vwVlNC1vx8I xZ+eJap6iZ0IlbH6fcvhXY/hkuqzwiLcp1/2ZSBnLA3OfoGGkH+x2wosac4NtHQIIofR zJIdNHAkRr4AqjP2FK5Ptm/2kTf8zx6PpWOxV9y8IxQ6k1dr+mN3Hut3kwGxjcNninhF /L+g== MIME-Version: 1.0 X-Received: by 10.180.215.101 with SMTP id oh5mr4837242wic.6.1440771083959; Fri, 28 Aug 2015 07:11:23 -0700 (PDT) Received: by 10.28.125.212 with HTTP; Fri, 28 Aug 2015 07:11:23 -0700 (PDT) In-Reply-To: References: <55E047DC.40800@qeng-ho.org> Date: Fri, 28 Aug 2015 15:11:23 +0100 Message-ID: Subject: Re: Replacing Drive with SSD From: krad To: Damien Fleuriot Cc: Doug Hardie , FreeBSD - Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 14:11:26 -0000 I prefer rsync as it allows me to change file systems as well, I usually use rsync -aPHx --numeric-ids On 28 August 2015 at 13:49, Damien Fleuriot wrote: > > On 28/08/2015 07:59, Doug Hardie wrote: > > > >> I am having to replace a drive with a SSD. Normally if I were > >> > > > replacing it with another drive, I would hook up the new drive > > > to the computer and just use dd to copy everything (system would > > > be quiescent). Can I do the same with a SSD or does it need to > > > be setup differently? This is a boot drive (i.e., the only drive > > > in the system). The system is currently working fine, but the > > > drive temp is starting to go up so I want to replace it before > > > anything bad happens. > > > > > Any reason you're not using dump/restore ? > Now that would skip empty blocks :) > That would allow you to expand your partitions, in the process. > > Warren Block has a very good guide over there : > http://www.wonkity.com/~wblock/docs/html/backup.html > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Fri Aug 28 14:12: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 E6B559C4B11 for ; Fri, 28 Aug 2015 14:12:19 +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 B51B21FD for ; Fri, 28 Aug 2015 14:12:19 +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 t7SECIVh017420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 28 Aug 2015 09:12:18 -0500 Subject: Re: Replacing Drive with SSD To: freebsd-questions@freebsd.org References: <55E01DAE.1020709@infracaninophile.co.uk> <20150828084643.GB1274@xtaz.uk> <55E0266B.10005@infracaninophile.co.uk> <20150828135102.79c52f02@gumby.homeunix.com> From: "William A. Mahaffey III" Message-ID: <55E06C42.5000301@hiwaay.net> Date: Fri, 28 Aug 2015 09:17:48 -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: <20150828135102.79c52f02@gumby.homeunix.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: Fri, 28 Aug 2015 14:12:20 -0000 On 08/28/15 07:57, RW via freebsd-questions wrote: > On Fri, 28 Aug 2015 10:14:19 +0100 > Matthew Seaman wrote: > >> On 08/28/15 09:46, Matt Smith wrote: >>> I've heard a rumour that you should never use dd with SSD drives >>> because of the wear levelling stuff. Apparently SSDs automatically >>> make sure that data is sent to unused flash cells so that all the >>> cells wear evenly, but if you use dd on them it makes them think >>> that every single cell is in use which screws this up? >> Hmmm.... Yes, dd will copy all of the source disk including disk >> blocks that are unused, empty space. Overwriting a cell that is >> already zeroes with yet more zeroes is a waste of time, > They wont necessarily be zeros. > >> but I don't >> know if that would actually use up some of the life of that cell. It >> shouldn't confuse the wear-levelling code on the drive particularly >> -- it might take a little while to sort itself out after the fact, > The problem is that if you write to the whole device you reduce the > free blocks to the over-provisioning level. Whether or not that's a > problem depends on whether the device has static wear-levelling and > how good it is. Without it the writes all go into a relatively small > pool of blocks. > > When I bought my SSD last year I couldn't see any evidence that consumer > grade SSDs have static wear-levelling. I think it would be mentioned if > they did, as there's so much online about working around its absence > by leaving a large free block pool. > Here is a bit of a synopsis on wear leveling: https://en.wikipedia.org/wiki/Wear_leveling (not that I like trusting wikipedia as authoritative, but it is convenient) -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Fri Aug 28 14:14: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 74E559C4C2E for ; Fri, 28 Aug 2015 14:14:25 +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 2F46868F for ; Fri, 28 Aug 2015 14:14:25 +0000 (UTC) (envelope-from katmai@keptprivate.com) Received: (qmail 10629 invoked by uid 89); 28 Aug 2015 14:14:24 -0000 Received: from (HELO ) (katmai@keptprivate.com) by keptprivate.com with ESMTPA; 28 Aug 2015 14:14:23 -0000 Subject: Re: memcached port broken? To: Simon , "freebsd-questions@freebsd.org" References: <20150828140200.B40C96F0462@barracuda.keptprivate.com> From: Stefanita Rares Dumitrescu Message-ID: <55E06CB7.9090304@keptprivate.com> Date: Fri, 28 Aug 2015 16:14:15 +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: <20150828140200.B40C96F0462@barracuda.keptprivate.com> X-Antivirus: avast! (VPS 150828-0, 08/28/2015), Outbound message X-Antivirus-Status: Not-Tested 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: Fri, 28 Aug 2015 14:14:25 -0000 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_" > > > From owner-freebsd-questions@freebsd.org Fri Aug 28 15:21: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 6D0CD9C4757 for ; Fri, 28 Aug 2015 15:21:50 +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 13B181598 for ; Fri, 28 Aug 2015 15:21:49 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7SFLff5042765 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 28 Aug 2015 16:21: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 t7SFLff5042765 Authentication-Results: smtp.infracaninophile.co.uk/t7SFLff5042765; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Subject: Re: *Caution: Threadjack !!!!* Backup strategies To: freebsd-questions@freebsd.org References: <55E047DC.40800@qeng-ho.org> <55E06B61.7040305@hiwaay.net> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55E07C7F.80102@freebsd.org> Date: Fri, 28 Aug 2015 16:21: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: <55E06B61.7040305@hiwaay.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8xOefK21v1H4opjX3HXsQ2ao6h338l5nS" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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: Fri, 28 Aug 2015 15:21:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8xOefK21v1H4opjX3HXsQ2ao6h338l5nS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/28/15 15:07, William A. Mahaffey III wrote: > Warren's (fabulously lucid) page brings up a question for me. For years= > I have used a 'pull' strategy for across-the-LAN backups, w/ my 'backup= > servers' using tar or rsync to access data for backup on NFS-mounted (o= r > automounted) directories that I want backed up. This all happens > automatically overnight under cron. I am usually *not* backing up syste= m > files, but rather user data, although I have recently started backing u= p > system stuff as well. Warren's page consistently illustrates a 'push'-e= d > backup, & involves system files. I am *dead* serious about automated > backups, no possibility of forgetting to do it that way, but I always > thought that trying to backup 'live' system files was a bad idea > (right/wrong ?). There doesn't seem to be a way to do a 'push' backup > w/o messing with live system files. I guess I am asking about 'best > practices' for backups, & the wisdom/validity of backing up 'live' > system files. Sorry for rambling, but the question(s) popped up for me > while reading Warren's web page. Any input appreciated. Have a nice day= > & weekend :-). Push vs pull strategies are a matter of taste. With a pull strategy, almost all the configuration is in one place and the backup server can control resource usage -- so it's preferable if you've got a large number of machines to back up. Push is usually a bit simpler to script, plus it's the only viable way of backing up to eg. a cloud service. True, you cannot guarantee a coherent backup from a live filesystem. Your choices are either to unmount the filesystem (or otherwise render it quiescent) or else use some form of snap-shotting. Snapshotting is generally the preferable option, since it avoids disrupting the system too much while the backup is happening. The built-in native backup mechanisms support this: for UFS, dump(8) has the -L flag (except with soft-updates+journalling), and for ZFS, zfs send only works on snapshots. Of course you can always create snapshots manually, mount them somewhere and then use whatever tools of your choice to backup the snapshot. This is how I use tarsnap(1). Cheers, Matthew --8xOefK21v1H4opjX3HXsQ2ao6h338l5nS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJV4Hx/AAoJEABRPxDgqeTnwHUP/jE1xJ4fLRcih7Xw+U7d+Upg go60EixLhgbNl+DP3lz4g0KUcLgnB0ApY/tdKYzTMfhvUh6Cz8YjF66MJ7nQDeD5 5KamD5f5Y/nWZue/Iin1wBV3dksFyJ46YcnNsCHgaykoD6P+2AW+FeuVv8oIVON+ sU1IR6vQLaiUvY/Sc8E+qFZBh7sEld0qHDm/+uuT+7E9bmEtqujv1FJgEUnIOjjD Y1pVkHo04pFksNUFdthLjajAAtyriCrztUNEl53P48zxOzt20oKevh1k7TAn3H0u HymR7WQB2aYWLA5abBrWGb2kKjg6X/eScVk1usHAhBchzhiC2Pv6FJZMwWP5clLh bAFIWRSyDfXqBrfvUzNhQJgDLHdOrJfxXg0RZ8qCJNrjkJyxvpk/Djnss7547iNb mK4MQKSj1xc5SS6p/d42YrNurEOudVaKXL59OomMrMBkw+llIayB7+EZK0x1P9xt wC9Qm4fi9uvt5hdErIfj/H+BF8P3BAQjQEDOjE3vu82TKUYgbPJZLCpyA6ijaH4X CAOLZZ/egIN8yuC0mXeQNzaVQSXgosiJMiiV/A5RGsTkdvidYWfE6g6Rc64hdNuj hzMrZAQwlAxJtl5dGx9D75BbEs6Ce/OWmnpaecxfKpLMr5p7noqdYlAEW3AyleEQ wFUAgABuwkeXJ1nH9+E8 =TM40 -----END PGP SIGNATURE----- --8xOefK21v1H4opjX3HXsQ2ao6h338l5nS-- From owner-freebsd-questions@freebsd.org Fri Aug 28 17:37: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 8C4ED9C45F1 for ; Fri, 28 Aug 2015 17:37:47 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) (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 610951138 for ; Fri, 28 Aug 2015 17:37:47 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by igui7 with SMTP id i7so21809627igu.0 for ; Fri, 28 Aug 2015 10:37:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; bh=+pyfbnZcax689YbsmFFrBwyLtYiUkKwokdxzGYM/QhE=; b=NE7P/1UGy5D2nCPPDI5+xuLwVEbHh/op45Nn2bdMSOaYGPjDUTb4VtoBtAbLqbalYV tMh6lFNiaVKkk0M8Q0Ig4vU5L+iB1ofzvl37PrPImziEwdtNpCxxcEljm1d4qmnQ+LFf pwBVRnavVGFYC50durWRWhwH24LxYjJt3kIBB/9Qoj+L1BgnnVwmnmNe/npEELTVd2Ts TyCMwdYBT4KczPC55mPfdAdJz/XTMLZOXycUpO2WUBXtWrtYSh2+ShoTd+Yv0BoN4rYG R3I4T+LC0m3a6HL3s9L0oXEpp6fzaL21ewlv358ofsJMbgxl/u87vLDqenNYWjMTsHjr mg4g== X-Received: by 10.50.36.106 with SMTP id p10mr4662946igj.31.1440783466211; Fri, 28 Aug 2015 10:37:46 -0700 (PDT) Received: from WorkBox.Home.gmail.com (174-30-233-239.mpls.qwest.net. [174.30.233.239]) by smtp.gmail.com with ESMTPSA id g85sm4588058iod.32.2015.08.28.10.37.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Aug 2015 10:37:45 -0700 (PDT) References: <55E01DAE.1020709@infracaninophile.co.uk> <20150828084643.GB1274@xtaz.uk> From: Brandon J. Wandersee To: Matt Smith Cc: Matthew Seaman , freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD In-reply-to: <20150828084643.GB1274@xtaz.uk> Date: Fri, 28 Aug 2015 12:37:44 -0500 Message-ID: <864mjj1fh3.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 17:37:47 -0000 Matt Smith writes: > I've heard a rumour that you should never use dd with SSD drives because > of the wear levelling stuff. Apparently SSDs automatically make sure > that data is sent to unused flash cells so that all the cells wear > evenly, but if you use dd on them it makes them think that every single > cell is in use which screws this up? I've read the same thing before, but I can't imagine it would really be a problem if it's the first thing you do with a new disk (and the only time you do it). Personally, though, I would just avoid using dd. If you're making a 1:1 clone of a system--if you're copying the same partition scheme to a newly purchased disk of the exact same make and model--then dd is fine, but since dd can't account for partition size or alignment, differences in block/cylinder count, filesystem settings (you should activate TRIM and eschew SU+J *before* copying a large amount of data over) and what-not, it's best to just create new partitions and filesystems and use the dump/restore method. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From owner-freebsd-questions@freebsd.org Fri Aug 28 18:18: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 BDD8B9C52A0 for ; Fri, 28 Aug 2015 18:18:25 +0000 (UTC) (envelope-from lokadamus@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DE7AA39 for ; Fri, 28 Aug 2015 18:18:25 +0000 (UTC) (envelope-from lokadamus@gmx.de) Received: from [192.168.0.143] ([95.91.227.48]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LyVIk-1Ybkpd2ksw-015r4u; Fri, 28 Aug 2015 20:18:15 +0200 Subject: Re: generating xorg.conf does not work To: doug@safeport.com, freebsd-questions@FreeBSD.ORG References: From: "lokadamus@gmx.de" Message-ID: <55E0A5E5.1040803@gmx.de> Date: Fri, 28 Aug 2015 20:18:13 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; 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-Provags-ID: V03:K0:z+MgiJG5P4XhNA/h0TwLCNiHtET+9qpTpHJOLhEzrKm9DR5ldfl 961gpCR/JL+yPM9ghYo0ADbmurXvLXufQvlNmeNjXn3EeAluA0oN7Ei1ZB3el8jN99Na+X6 1Y0AGEu4samlZ40FNDn+POXdkutSyKbIvjAiZBpESmkj/eeSXfc4K161R1D9BO4023+pC89 Ue8/6zJ9yAyGdKjYmk0yw== X-UI-Out-Filterresults: notjunk:1;V01:K0:o0biqIzJ2SQ=:zXN/hEFF//+k20E0pp1BS4 Se7y2bw208andC6TgYk0i3J/pmStdVA5F7auZABAvW6NKLiHnXOqvi2UupFoEN9MDYwxTTpcB 05LKka3zs4+RNHf9Zeh3KWooa6BKO/26SshiW3wZLwjHcy2oWqavS+5yZimZ4YeHQ3MEKJ0Z0 BldKfhofp6rSMMS7z6yGWx10L4UUA6h/lEga6udtK1pIvx1dDWOXl0KIn50BresjyOG4vev2t y8xhGaTioTCISKC50Sd5AabEXfEP87u+nwUhwrAmqxOCrKNzRmNFKNvoyKrj82NOPZU535W9D tHqMu9ZMTNnsXRABMTJhlj5Di1jqFhvD8bVhmV5gevNKr3Nv1wZWP6w/wiS4A3vTiDl8arRzW muH417y9rGIjaBBoR2OeqNx7JD5sBJXqhPB/gcaD/USl2SKT4aXlXETE4QXUrxD6yyCNnxD+f QCkkhYdVa2hadDZJIJICCXfu8QF8ihiMK0WWyD65deDes0rzyiDaF5fHvAgCojJjW/Vvj9JSd KKQ22FKQLxrh0Y06sR9ysYEDGb1VlI2uzMFtFQvk976FRNjUZpyRvYs0hBY1WBeCjrKZN3Gos e1O7Vck5JErVdXdhgVpVrYXty7JBwML0nZsCcZ+XcvKxROGV1hkFH6zD5DNZ7+7tVpfAVt/Sa XDr9hn5Ucto+fRO5GmqjUNa+cbAvqpcXUGM/VgXPcJewANYoTskFstSwoYnW6jDaMEKmhPdJt 1azTQKd63UnBCp0VfouihjbfbgvuHSenPxEp6KXf1iUoaaLuHHyfxQqje2M= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Aug 2015 18:18:25 -0000 On 08/28/15 06:56, doug@safeport.com wrote: ... > around the first of this month, the handbook still had generating > xorg.conf the "tried and true" way: Xorg -configure. This did not work > but letting xorg self configure did (and does) work. I am currently > running xfce-4.12_1. > I have installed several ports that say add this font or make some other > change to xorg.conf. And, perhaps have a problem running chrome because > I am not able to do that. So my questions are basically: should this be > posted to xorg; are there any guidelines on how to build an xorg.conf > from the various outputs from the self-generated start; is auto > generation the way to go or not; and lastly if auto-generation is the > way of the future how do you add fonts and or change the other things > one usually does? I'm a little bit confused. Generated your xorg.conf and look at your /var/log/Xorg.log to see, what is wrong. What error message are in Xorg.log? Else you can configure it and look what is going wrong. Greetings From owner-freebsd-questions@freebsd.org Fri Aug 28 18:30: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 D6EA59C5784 for ; Fri, 28 Aug 2015 18:30:55 +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 9863F1527 for ; Fri, 28 Aug 2015 18:30:55 +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 t7SIUsMb012861 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 28 Aug 2015 12:30:54 -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 t7SIUrsV012858; Fri, 28 Aug 2015 12:30:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 28 Aug 2015 12:30:53 -0600 (MDT) From: Warren Block To: Damien Fleuriot cc: Doug Hardie , FreeBSD - Subject: Re: Replacing Drive with SSD In-Reply-To: Message-ID: References: <55E047DC.40800@qeng-ho.org> 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]); Fri, 28 Aug 2015 12:30:54 -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, 28 Aug 2015 18:30:55 -0000 On Fri, 28 Aug 2015, Damien Fleuriot wrote: >> On 28/08/2015 07:59, Doug Hardie wrote: >> >>> I am having to replace a drive with a SSD. Normally if I were >>> >>> replacing it with another drive, I would hook up the new drive >>> to the computer and just use dd to copy everything (system would >>> be quiescent). Can I do the same with a SSD or does it need to >>> be setup differently? This is a boot drive (i.e., the only drive >>> in the system). The system is currently working fine, but the >>> drive temp is starting to go up so I want to replace it before >>> anything bad happens. >> >> > Any reason you're not using dump/restore ? > Now that would skip empty blocks :) > That would allow you to expand your partitions, in the process. > > Warren Block has a very good guide over there : > http://www.wonkity.com/~wblock/docs/html/backup.html Thank you! This might also be useful: http://www.wonkity.com/~wblock/docs/html/ssd.html From owner-freebsd-questions@freebsd.org Fri Aug 28 18:47: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 4A49F9C5D36 for ; Fri, 28 Aug 2015 18:47:32 +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 0D9B81E08 for ; Fri, 28 Aug 2015 18:47:31 +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 t7SIlU6G017001 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 28 Aug 2015 12:47:30 -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 t7SIlUCD016998; Fri, 28 Aug 2015 12:47:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 28 Aug 2015 12:47:30 -0600 (MDT) From: Warren Block To: Doug Hardie cc: FreeBSD - Subject: Re: Replacing Drive with SSD In-Reply-To: Message-ID: References: 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]); Fri, 28 Aug 2015 12:47:30 -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, 28 Aug 2015 18:47:32 -0000 On Thu, 27 Aug 2015, Doug Hardie wrote: > I am having to replace a drive with a SSD. Normally if I were > replacing it with another drive, I would hook up the new drive to the > computer and just use dd to copy everything (system would be > quiescent). Beyond copying unused blocks which can mess with wear leveling on SSDs (and wastes time on spinning drives) and blindly copying the partition tables (which goes wrong with GPT backup tables), consider that the copy is binary identical to the original. So GUID is not so "U" any more. Probably that will not cause a problem, but since dd has other problems when copying drives, best to use dump/restore for UFS or send/recv for ZFS. > Can I do the same with a SSD or does it need to be setup differently? > This is a boot drive (i.e., the only drive in the system). It *can* be done, but there are better ways. For SSDs specifically: Use GPT because it is easy to control where partitions start. Use gpart's -a flag to align to 4K blocks, or even 1M or 2M boundaries for an SSD. Enable trim with UFS. Use SU rather than SU+J with UFS. 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. From owner-freebsd-questions@freebsd.org Fri Aug 28 18:55: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 CA4DF9C5F8C for ; Fri, 28 Aug 2015 18:55:15 +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 879B227C for ; Fri, 28 Aug 2015 18:55:15 +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 t7SItDFq018835 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 28 Aug 2015 12:55:14 -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 t7SItDUm018832; Fri, 28 Aug 2015 12:55:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 28 Aug 2015 12:55:13 -0600 (MDT) From: Warren Block To: "Brandon J. Wandersee" cc: Matt Smith , freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD In-Reply-To: <864mjj1fh3.fsf@WorkBox.Home> Message-ID: References: <55E01DAE.1020709@infracaninophile.co.uk> <20150828084643.GB1274@xtaz.uk> <864mjj1fh3.fsf@WorkBox.Home> 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]); Fri, 28 Aug 2015 12:55:14 -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, 28 Aug 2015 18:55:15 -0000 On Fri, 28 Aug 2015, Brandon J. Wandersee wrote: > > Matt Smith writes: > >> I've heard a rumour that you should never use dd with SSD drives because >> of the wear levelling stuff. Apparently SSDs automatically make sure >> that data is sent to unused flash cells so that all the cells wear >> evenly, but if you use dd on them it makes them think that every single >> cell is in use which screws this up? > > I've read the same thing before, but I can't imagine it would really be > a problem if it's the first thing you do with a new disk (and the only > time you do it). The SSD keeps a map of which blocks have been written. So writing just once with dd is not a wear problem. The problem is that now the SSD has no way of knowing whether that block has real data on it or not. So it can't swap it for wear leveling. That's what trim does--when a file is deleted, the filesystem uses trim to notify the SSD that those blocks are no longer in use. On a bigger level, a "secure erase" resets all the blocks on a drive to unused, and can restore performance to an SSD. Of course, it erases all the data also... so restore from the backup that was made first. But not with dd. :) From owner-freebsd-questions@freebsd.org Fri Aug 28 19:17: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 023A39C48D2 for ; Fri, 28 Aug 2015 19:17:33 +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 C1A711285 for ; Fri, 28 Aug 2015 19:17:32 +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 t7SJHURX026716; Fri, 28 Aug 2015 15:17:30 -0400 (EDT) (envelope-from doug@safeport.com) Date: Fri, 28 Aug 2015 15:17:30 -0400 (EDT) From: doug@safeport.com To: "lokadamus@gmx.de" cc: freebsd-questions@FreeBSD.ORG Subject: Re: generating xorg.conf does not work In-Reply-To: <55E0A5E5.1040803@gmx.de> 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]); Fri, 28 Aug 2015 15:17:30 -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: Fri, 28 Aug 2015 19:17:33 -0000 On Fri, 28 Aug 2015, lokadamus@gmx.de wrote: > On 08/28/15 06:56, doug@safeport.com wrote: > ... >> around the first of this month, the handbook still had generating >> xorg.conf the "tried and true" way: Xorg -configure. This did not work >> but letting xorg self configure did (and does) work. I am currently >> running xfce-4.12_1. > >> I have installed several ports that say add this font or make some other >> change to xorg.conf. And, perhaps have a problem running chrome because >> I am not able to do that. So my questions are basically: should this be >> posted to xorg; are there any guidelines on how to build an xorg.conf >> from the various outputs from the self-generated start; is auto >> generation the way to go or not; and lastly if auto-generation is the >> way of the future how do you add fonts and or change the other things >> one usually does? > I'm a little bit confused. > > Generated your xorg.conf and look at your /var/log/Xorg.log to see, what > is wrong. > > What error message are in Xorg.log? Else you can configure it and look > what is going wrong. 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. 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. Sadly I did not have the earlier working xorg.conf because I accidently wiped out /etc. In recovering the data I forgot about the copy in /root. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Fri Aug 28 20:17: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 6C1B69C5C88 for ; Fri, 28 Aug 2015 20:17:59 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33A5815B3 for ; Fri, 28 Aug 2015 20:17:59 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: by igui7 with SMTP id i7so24032761igu.1 for ; Fri, 28 Aug 2015 13:17:58 -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=ONDy9+pj6b2g4GLsqE6yg57ayONMUApHVnRYmrhEJuE=; b=nL2jznNR8yNX0KTYWZOEeAkCZQqZblAV1NOTNQ5gHWInSU99ctr4EcFONRDQvemMlC sBvXg9XCHbZ3/YiSqXUOMSqnQ1skjywIUhX/NJ8KGq5FiJKa47pLIEvb7c37CrxzRizE WiKnaJ6i8rD7jEytqUiGnOjFzf0UC8Ifi0jTd5YHN9yPXj+jW0I7jD/cfW2N2+awJRkh 10fZUrsQAwPY4otpgAsfdRR7se+nBajaZwgofrPKmBID9A3RlxEbFlkUzRiXH7tBq40e jwlKTxVcZ5teJgkpp/XR4bwu40VvZEAwHiG5y5zb+XhaQiUUgvS2X+3TQ7XveeNwAjZq P4Qw== MIME-Version: 1.0 X-Received: by 10.50.57.84 with SMTP id g20mr5130793igq.18.1440793078480; Fri, 28 Aug 2015 13:17:58 -0700 (PDT) Received: by 10.79.107.151 with HTTP; Fri, 28 Aug 2015 13:17:58 -0700 (PDT) In-Reply-To: <20150828000602.b9a288a8.freebsd@edvax.de> References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <55DEFB5A.3080408@FreeBSD.org> <55DEFC74.3040609@sneakertech.com> <20150828000602.b9a288a8.freebsd@edvax.de> Date: Fri, 28 Aug 2015 13:17:58 -0700 Message-ID: Subject: Re: Stop using a SATA drive From: Chris Stankevitz To: Polytropon Cc: Quartz , freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 20:17:59 -0000 On Thu, Aug 27, 2015 at 3:06 PM, Polytropon wrote: > But on the other hand, what's wrong with _ignoring_ a > device file you don't want to have anything to do with? >From my OP: > I imagine I would feel confident that nothing is using it > if the drive disappeared from /dev My only interest in the device file going away was that I would suddenly become confident that it is not in use (e.g. by smartd, gpart, etc). If there is another way to become confident that a device is not in use then that would be okay too. "Device file disappearing" would only be useful to me if it happened before the drive was "ejected", not after. Chris From owner-freebsd-questions@freebsd.org Fri Aug 28 21:43: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 EC8F29C5A0B for ; Fri, 28 Aug 2015 21:43:41 +0000 (UTC) (envelope-from benfell@parts-unknown.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D416477F for ; Fri, 28 Aug 2015 21:43:41 +0000 (UTC) (envelope-from benfell@parts-unknown.org) Received: by mailman.ysv.freebsd.org (Postfix) id D14129C5A0A; Fri, 28 Aug 2015 21:43:41 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0D1C9C5A08 for ; Fri, 28 Aug 2015 21:43:41 +0000 (UTC) (envelope-from benfell@parts-unknown.org) Received: from mail.parts-unknown.org (mail.parts-unknown.org [IPv6:2001:470:67:119::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBD1677E for ; Fri, 28 Aug 2015 21:43:41 +0000 (UTC) (envelope-from benfell@parts-unknown.org) Received: by mail.parts-unknown.org (Postfix, from userid 80) id DAC7D593E57C; Fri, 28 Aug 2015 14:43:40 -0700 (PDT) Received: from 2601:645:501:1800:b283:feff:fe96:371c ([2601:645:501:1800:b283:feff:fe96:371c]) by mail.parts-unknown.org (Horde Framework) with HTTP; Fri, 28 Aug 2015 14:43:40 -0700 Date: Fri, 28 Aug 2015 14:43:40 -0700 Message-ID: <20150828144340.Horde.SAlxVBagGzZmQ9Yl3qs7FNu@mail.parts-unknown.org> From: David Benfell To: questions@freebsd.org Subject: base system startup scripts hanging User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_JxbIuscl4nFn-oLsSh4tzGg"; protocol="application/pgp-signature"; micalg=pgp-sha1 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: Fri, 28 Aug 2015 21:43:42 -0000 This message is in MIME format and has been PGP signed. --=_JxbIuscl4nFn-oLsSh4tzGg Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, This is on FreeBSD home-desktop.parts-unknown.org 10.2-RELEASE FreeBSD=20= =20 10.2-RELEASE=20#0 r286666: Wed Aug 12 15:26:37 UTC 2015=20=20=20=20=20=20 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC=20 amd64 Two base system startup scripts are hanging at startup. These are=20=20 cleanvar=20and mountcritremote. I use Ctrl/C to abort each script and=20=20 allow=20the startup to continue; after this, the system seems fine. The=20= =20 problem=20appeared after I added two lines (yes, I think they're the=20=20 last=20ones) to /etc/fstab: # Device Mountpoint FStype Options Dump Pass# /dev/ada0p2 / ufs rw 1 1 /dev/ada0p3 none swap sw 0 0 linproc /compat/linux/proc linprocfs rw,late 0 0 linsys /usr/compat/linux/sys linsysfs rw,late 0 0 lindev /usr/compat/linux/dev devfs rw,late 0 0 fdesc /dev/fd fdescfs rw,late 0 0 proc /proc procfs rw,late 0 0 I'm not remembering which port required them but I've been messing=20=20 with=20webcam stuff. I don't understand shell well enough to see what=20=20 the=20problem in cleanvar might be. And since I don't have any nfs (or=20= =20 any=20other remote file systems) I'm baffled that mountcritremote is a=20= =20 problem. Any ideas? Thanks! --=20 David=20Benfell --=_JxbIuscl4nFn-oLsSh4tzGg Content-Type: application/pgp-signature Content-Description: PGP Digital Signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJV4NYMAAoJEBV64x4SNmArZ6wQAI5Pv8H04XyLpjMcnyz6BAz5 JGWVIF6rtkJhv7ZuF7CMgNhStG78HLq5/jj02NAkg5L+kmdatAFcid7HV9zWvkPy nJi4dSV6eqSD8FJIlrMHpVUgVq0HB1pKdVRtZRuOjZvlwmi23dvajNMyCkd2CCXi DVTyV6Pzeg+QCorsKk/thE5+EC59wiOGWem++irJHWk3anZ4JpmV4X+0M5JTejU8 invXqJNZ9n+0sT5CIHuC9PelWqg1mwUmb6ca8rNPj/x6dVXR7qCU8Ig+nduCcf1R FEy82rInIP08Ycd7gfkYvLN0SsfMP4QBHYTQxSQuloceHfM14lK6fkf4fjmKERgM lwt0v/rQz3JMrSJgG3Zq8blhFX0mmIPg+JabBpymGuw2eemF2+Kmb5N0vmBWoJCv RHVUEdFNAES1vDPYHiQ4wlR+gIHdkTOKitNUdbsQBEXb2LZ2rxe9XJOJX/ax+lVT 5ro6p6mYgnH8xNLsjIvLAcUeZFShg7oUEfHH96uP5NRu/MY9iBOuoxUwKMQ5uKoD C8sMz2SSmcGWkWH6j7p0ZKTCMsrpHaht0FhRkt9EPRi+u/+wGps3lxMwiMwXZuYX Mao+EIl/QghVXNnph7bBtmeEiXFI5OSZSZMXb3loMFU/73oWVxnZiZq/RC6kzY9/ TjYiX0NdrWVhM9OVsqJD =L/L5 -----END PGP SIGNATURE----- --=_JxbIuscl4nFn-oLsSh4tzGg-- From owner-freebsd-questions@freebsd.org Fri Aug 28 22:11: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 75C689C4347 for ; Fri, 28 Aug 2015 22:11:15 +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 451F49A for ; Fri, 28 Aug 2015 22:11:14 +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 t7SMB7M0013036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 28 Aug 2015 17:11:07 -0500 Subject: Re: *Caution: Threadjack !!!!* Backup strategies To: freebsd-questions@freebsd.org References: <55E047DC.40800@qeng-ho.org> <55E06B61.7040305@hiwaay.net> <55E07C7F.80102@freebsd.org> From: "William A. Mahaffey III" Message-ID: <55E0DC7A.6000304@hiwaay.net> Date: Fri, 28 Aug 2015 17:16: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: <55E07C7F.80102@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 22:11:15 -0000 On 08/28/15 10:27, Matthew Seaman wrote: > On 08/28/15 15:07, William A. Mahaffey III wrote: >> Warren's (fabulously lucid) page brings up a question for me. For years >> I have used a 'pull' strategy for across-the-LAN backups, w/ my 'backup >> servers' using tar or rsync to access data for backup on NFS-mounted (or >> automounted) directories that I want backed up. This all happens >> automatically overnight under cron. I am usually *not* backing up system >> files, but rather user data, although I have recently started backing up >> system stuff as well. Warren's page consistently illustrates a 'push'-ed >> backup, & involves system files. I am *dead* serious about automated >> backups, no possibility of forgetting to do it that way, but I always >> thought that trying to backup 'live' system files was a bad idea >> (right/wrong ?). There doesn't seem to be a way to do a 'push' backup >> w/o messing with live system files. I guess I am asking about 'best >> practices' for backups, & the wisdom/validity of backing up 'live' >> system files. Sorry for rambling, but the question(s) popped up for me >> while reading Warren's web page. Any input appreciated. Have a nice day >> & weekend :-). > Push vs pull strategies are a matter of taste. With a pull strategy, > almost all the configuration is in one place and the backup server can > control resource usage -- so it's preferable if you've got a large > number of machines to back up. Push is usually a bit simpler to script, > plus it's the only viable way of backing up to eg. a cloud service. > > True, you cannot guarantee a coherent backup from a live filesystem. > Your choices are either to unmount the filesystem (or otherwise render > it quiescent) or else use some form of snap-shotting. Can I unmount the root fs (for example) once booted ? I thought not .... One of the machines I am backing up is a RPiB+ running NetBSD 7.0-beta, serving as the time server for my LAN. It has only 1 large partition for root, so I get it all in my backup. Could that be unmounted (temporarily) for a backup ? > > Snapshotting is generally the preferable option, since it avoids > disrupting the system too much while the backup is happening. The > built-in native backup mechanisms support this: for UFS, dump(8) has the > -L flag (except with soft-updates+journalling), and for ZFS, zfs send > only works on snapshots. I just checked on the RPi & the '-L' flag has been hijacked to use for labelling the dump, bummer !!!! > > Of course you can always create snapshots manually, mount them somewhere > and then use whatever tools of your choice to backup the snapshot. This > is how I use tarsnap(1). Yeah, but I want automation !!!! > > Cheers, > > Matthew > > > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Fri Aug 28 22:37:52 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 E00D39C4E3F for ; Fri, 28 Aug 2015 22:37:52 +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 9D80DC51 for ; Fri, 28 Aug 2015 22:37:52 +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 t7SMboxX074463 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 28 Aug 2015 16:37:50 -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 t7SMbnlW074456; Fri, 28 Aug 2015 16:37:49 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 28 Aug 2015 16:37:49 -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]); Fri, 28 Aug 2015 16:37:50 -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, 28 Aug 2015 22:37:53 -0000 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. > 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. 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 From owner-freebsd-questions@freebsd.org Fri Aug 28 23:40: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 2A1319C428B for ; Fri, 28 Aug 2015 23:40:13 +0000 (UTC) (envelope-from reg@dwf.com) Received: from deneb.dwf.com (70-90-202-97-Albuquerque.hfc.comcastbusiness.net [70.90.202.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E55502FC for ; Fri, 28 Aug 2015 23:40:12 +0000 (UTC) (envelope-from reg@dwf.com) Received: from deneb.dwf.com (localhost [127.0.0.1]) by deneb.dwf.com (8.14.4/8.14.3) with ESMTP id t7SNMIID004918 for ; Fri, 28 Aug 2015 17:22:18 -0600 Message-Id: <201508282322.t7SNMIID004918@deneb.dwf.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: freebsd-questions@freebsd.org Subject: How to change a 'class' Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 28 Aug 2015 17:22:18 -0600 From: reg@dwf.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: Fri, 28 Aug 2015 23:40:13 -0000 I just brought up FreeBSD 10.2, and when it asked for a class for my user account, I said 'system' rather than 'wheel' which I assume would have been correct to allow me to 'su' from my user account. How do I delete 'system' and add 'wheel'? And yes I know the simplest solution would probably be to delete the account and do it right the first time arround. -- Reg.Clemens reg@dwf.com From owner-freebsd-questions@freebsd.org Fri Aug 28 23:54: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 2B49A9C489E for ; Fri, 28 Aug 2015 23:54:35 +0000 (UTC) (envelope-from maillist@bsdjunk.com) Received: from fallback1.mail.ru (fallback1.mail.ru [94.100.181.184]) by mx1.freebsd.org (Postfix) with ESMTP id C7CEFB50 for ; Fri, 28 Aug 2015 23:54:34 +0000 (UTC) (envelope-from maillist@bsdjunk.com) Received: from smtp39.i.mail.ru (smtp39.i.mail.ru [94.100.177.99]) by fallback1.mail.ru (mPOP.Fallback_MX) with ESMTP id A9C2F5CE3E59 for ; Sat, 29 Aug 2015 02:49:50 +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=+SKiomFJS0+/67i+u9DHAABHHTG++RCTCF2nXg82yv4=; b=MFr4XiydWeGfCiJgU2HSL9OinBleNtKKH2VsIQCHi9mZnPJhVk+Cy4xVNWtrF9sZ4EGxXc7kLd6BkxJqp0LKudVKWz5TO/7C1Vz/A4oIZCNH+TouUBZL5w9ixYVv5cmuYfOysbO699NNVjeusSomznt2DAdESdHWah1yz6oco90=; Received: from [187.150.131.128] (port=55708 helo=[192.168.1.77]) by smtp39.i.mail.ru with esmtpa (envelope-from ) id 1ZVTOv-0007lR-Pr for freebsd-questions@freebsd.org; Sat, 29 Aug 2015 02:49:42 +0300 Subject: Re: How to change a 'class' To: freebsd-questions@freebsd.org References: <201508282322.t7SNMIID004918@deneb.dwf.com> From: Chris Petrik Message-ID: <55E0F392.9010707@bsdjunk.com> Date: Fri, 28 Aug 2015 18:49:38 -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: <201508282322.t7SNMIID004918@deneb.dwf.com> 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: Fri, 28 Aug 2015 23:54:35 -0000 On 08/28/15 18:22, reg@dwf.com wrote: > I just brought up FreeBSD 10.2, and when it asked for > a class for my user account, I said 'system' rather > than 'wheel' which I assume would have been correct > to allow me to 'su' from my user account. > > How do I delete 'system' and add 'wheel'? > > And yes I know the simplest solution would probably > be to delete the account and do it right the first > time arround. Hi, Classes aren't the same as groups. Classes are a class used to limit what users have access too such as bgp, etc.. Chris From owner-freebsd-questions@freebsd.org Sat Aug 29 00:47: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 862B49C5D15 for ; Sat, 29 Aug 2015 00:47:06 +0000 (UTC) (envelope-from youvegotmoxie@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::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 58D94123B for ; Sat, 29 Aug 2015 00:47:06 +0000 (UTC) (envelope-from youvegotmoxie@gmail.com) Received: by pacgr6 with SMTP id gr6so4859796pac.0 for ; Fri, 28 Aug 2015 17:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=+SrnnmTUYxaCfrHXq6y8ym2GPP0hm9MvUhhKhSgUwls=; b=BlrehcfySY3T3N1wQjyoevYJRStyTpOtdlEecA0QkHXDd+AUdCz+M56DYStkCUdUbN zJhhHzaM2o4LWb6KLNILe1ta+/g6ErScMAMYVSAPWcY35iHDdJ1LhzTRY8VFwVaGIkrU cuiLpXyRn5i0iEVoEyeeNRE6gsfksvMsBvxEhled+cGE+yfwTaSxU7A8juPEqmfJhrx0 1VhgKh9iTH3WwvJAwvVNHpm6uzBaHtwDySiy5en6VdJNRcw/fxQIMJUxdE0nbEguxwpK Z9F0wgPTEwW1f6BWHC0vw1er7CHV2rs+MBiN2XXpYU6BP5zzkODTSq76lYVObxARoCuy VCrQ== X-Received: by 10.66.227.2 with SMTP id rw2mr2950263pac.98.1440809225794; Fri, 28 Aug 2015 17:47:05 -0700 (PDT) Received: from snafu-mac.servebeer.info (99-197-78-169.cust.wildblue.net. [99.197.78.169]) by smtp.gmail.com with ESMTPSA id ej3sm6995517pbd.13.2015.08.28.17.46.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Aug 2015 17:47:04 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: How to change a 'class' From: Michael Beasley In-Reply-To: <201508282322.t7SNMIID004918@deneb.dwf.com> Date: Fri, 28 Aug 2015 20:46:50 -0400 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <65FCFA8F-C8F4-4300-A408-AF7E9543B783@gmail.com> References: <201508282322.t7SNMIID004918@deneb.dwf.com> To: reg@dwf.com 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: Sat, 29 Aug 2015 00:47:06 -0000 > On Aug 28, 2015, at 7:22 PM, reg@dwf.com wrote: >=20 >=20 > I just brought up FreeBSD 10.2, and when it asked for > a class for my user account, I said 'system' rather > than 'wheel' which I assume would have been correct > to allow me to 'su' from my user account. >=20 > How do I delete 'system' and add 'wheel'? >=20 > And yes I know the simplest solution would probably > be to delete the account and do it right the first > time arround. > --=20 > Reg.Clemens > reg@dwf.com >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" You can either edit /etc/groups or use `pw group mod system -d reg` to = remove the user from the group =E2=80=9Csystem" and `pw group mod wheel = -m reg` to add the user to group =E2=80=9Cwheel.=E2=80=9D Assuming your = user name is =E2=80=9Creg."= From owner-freebsd-questions@freebsd.org Sat Aug 29 04:33: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 A9BE09C4973 for ; Sat, 29 Aug 2015 04:33:04 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from relay1.ox.registrar-servers.com (relay1.ox.registrar-servers.com [199.188.203.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.registrar-servers.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D1C4F9E for ; Sat, 29 Aug 2015 04:33:03 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from imap10-3.ox.privateemail.com (imap10-3.ox.privateemail.com [192.64.116.216]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay.ox.registrar-servers.com (Postfix) with ESMTPS id 67863B010D for ; Sat, 29 Aug 2015 00:23:48 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 7BB742400DE for ; Sat, 29 Aug 2015 00:23:40 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bcpxyrV-bwwZ for ; Sat, 29 Aug 2015 00:23:40 -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 mail.privateemail.com (Postfix) with ESMTPSA id E2AB42400C2 for ; Sat, 29 Aug 2015 00:23:39 -0400 (EDT) Message-ID: <1440822211.51067.5.camel@fbsd.es> Subject: fetch a distribution file using the git commit From: Carlos J Puga Medina To: freebsd-questions Date: Sat, 29 Aug 2015 06:23:31 +0200 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-gcrxxICvbnJ5s8v6GlEA" 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: Sat, 29 Aug 2015 04:33:04 -0000 --=-gcrxxICvbnJ5s8v6GlEA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi people, I'm unable to fetch a distribution file from github using the git commit _MASTER_SITES_tl-parser=3D https://codeload.github.com/vysheng/tl-parser/tar.gz/1659d87?dummy=3D/: not found *** Error code 127 Here it is the relevant part in the Makefile USE_GITHUB=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0yesGH_ACCOUNT=3D=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0vyshengGH_PROJECT=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0tgl:tgl tl= -parser:tl-parserGH_TAGNAME=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A02.0.1:tgl 1659d= 87:tl-parser Best regards,--=20 Carlos Jacobo Puga Medina PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=-gcrxxICvbnJ5s8v6GlEA 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 iQEcBAABAgAGBQJV4TPDAAoJEKHzXWbm0FRTdNoH/iBIR66C8v1+gyfGmWtOsmrD pKmQz7qdqUYxUe1B+BI9fXx7uQkX8DiW41n0hrY3WJWP+C/znSq/qwUAIlYudGa5 YaaASe4NqCPURBXEc9xU0ed8r9g9vt+7vj5WaWMp1dvvife3r0YE8/IWn1V87T47 A+iPA+206ljdGaoShtfyVaWibe087cyftp80yviE2OVOhT4Bw3kPvSu7GJmVr5ir 8hbBK40j6Cww6h1YIciYHpDv9D5n+6B3NzlevFiGJ4cANm9wxigRPJJuYqzPMX9D Zxs8auPD+PcGjTufvEp/ASinOS88UiymzRkGT5yLusq8JxOcqqZ36nQGdFVU8Rg= =iEup -----END PGP SIGNATURE----- --=-gcrxxICvbnJ5s8v6GlEA-- From owner-freebsd-questions@freebsd.org Sat Aug 29 04:40:20 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 8EBD99C4B92 for ; Sat, 29 Aug 2015 04:40:20 +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 6741012D9 for ; Sat, 29 Aug 2015 04:40:20 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from localhost (localhost [127.0.0.1]) by imap1.ox.privateemail.com (Postfix) with ESMTP id 69B7AB000AD for ; Sat, 29 Aug 2015 00:40:12 -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 RhiHstggDTLX for ; Sat, 29 Aug 2015 00:40:12 -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 C072CB000AF for ; Sat, 29 Aug 2015 00:40:11 -0400 (EDT) Message-ID: <1440823202.51222.0.camel@fbsd.es> Subject: fetch a distribution file using the git commit From: Carlos J Puga Medina To: freebsd-questions Date: Sat, 29 Aug 2015 06:40:02 +0200 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-E16dU9l2Ga8FQqrPrYfR" 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: Sat, 29 Aug 2015 04:40:20 -0000 --=-E16dU9l2Ga8FQqrPrYfR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi people, I'm unable to fetch a distribution file from github using the git commit _MASTER_SITES_tl-parser=3D https://codeload.github.com/vysheng/tl-parser/tar.gz/1659d87?dummy=3D/: not found *** Error code 127 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 Best regards,--=20 Carlos Jacobo Puga Medina PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=20 Carlos Jacobo Puga Medina PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=-E16dU9l2Ga8FQqrPrYfR 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 iQEcBAABAgAGBQJV4TeiAAoJEKHzXWbm0FRTRX0H/jdr3wOInCMs1OM41EWszccQ QnDT6JD8nIoGCElu7b6MOn/Cpgm2Qsqv3wDzQv7kEV0gp8tbZC6w3sikbZTWNlsX zmPV+dAx17ovzcT16M1tQ8kSrKfi+eWS0euA4PNfwSTGe0sHbl3jGX3SqvyC/9qv qV/0zhw+3mDbmyrn5WStYD95XMngUu81ZCVI49ob6Kpu3ZE/168bdHkRkNVkeM5S 0kMxWuNBpi0B5FuTyx5gpcWC1bPjTj1XEY2NsLOjDMkoMSIadxfZIbd8klTkGCKv 0QEE6CysOBoGyuv+iNRq/1ZIWT5+9BOWG+QMTKMGjutEdYImMjsuwiT+KcGg7N4= =PCm3 -----END PGP SIGNATURE----- --=-E16dU9l2Ga8FQqrPrYfR-- From owner-freebsd-questions@freebsd.org Sat Aug 29 06:14: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 ACEB19C4B28 for ; Sat, 29 Aug 2015 06:14:41 +0000 (UTC) (envelope-from dmitry@pushware.net) Received: from mail.pushware.net (mail.pushware.net [198.245.177.5]) (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 8D63F1819 for ; Sat, 29 Aug 2015 06:14:41 +0000 (UTC) (envelope-from dmitry@pushware.net) Received: from localhost (localhost [127.0.0.1]) by mail.pushware.net (Postfix) with ESMTP id 9384F5F3509 for ; Fri, 28 Aug 2015 23:09:23 -0700 (PDT) Received: from mail.pushware.net ([127.0.0.1]) by localhost (mail.pushware.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id k15h-rAawZpN for ; Fri, 28 Aug 2015 23:09:22 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.pushware.net (Postfix) with ESMTP id B86E25F350B for ; Fri, 28 Aug 2015 23:09:22 -0700 (PDT) X-Virus-Scanned: amavisd-new at pushware.net Received: from mail.pushware.net ([127.0.0.1]) by localhost (mail.pushware.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Hbej-J_T1tnz for ; Fri, 28 Aug 2015 23:09:22 -0700 (PDT) Received: from mail.pushware.net (mail.pushware.net [10.5.2.5]) by mail.pushware.net (Postfix) with ESMTP id 856D25F3509 for ; Fri, 28 Aug 2015 23:09:22 -0700 (PDT) Date: Fri, 28 Aug 2015 23:09:22 -0700 (PDT) From: Dmitry Mikhailov To: freebsd-questions@freebsd.org Message-ID: <2142623530.346.1440828562305.JavaMail.zimbra@pushware.net> Subject: syncookie CPU load MIME-Version: 1.0 X-Originating-IP: [10.5.2.5] X-Mailer: Zimbra 8.6.0_GA_1178 (ZimbraWebClient - FF40 (Mac)/8.6.0_GA_1178) Thread-Topic: syncookie CPU load Thread-Index: Mm/Aemk6rZNX5htrxhgQOBT+Okq4yA== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 06:14:41 -0000 Doing a SYN flood test with FreeBSD on Xeon D (8 core) with syncookies enabled and the CPU load is around 20% (interrupts) at 150K pps. Is there any way reconfigure FreeBSD to bring this load down? Linux has a solution with netfilter synproxy which would not notice this low pps rate so I am wondering whether something similar is possible with FreeBSD? Dmitry From owner-freebsd-questions@freebsd.org Sat Aug 29 07:12: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 DCB719C4075 for ; Sat, 29 Aug 2015 07:12:05 +0000 (UTC) (envelope-from hien@hien.info) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003: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 A08D21943 for ; Sat, 29 Aug 2015 07:12:05 +0000 (UTC) (envelope-from hien@hien.info) Received: by oibi18 with SMTP id i18so36188352oib.3 for ; Sat, 29 Aug 2015 00:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hien.info; s=hien; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=2vJXHrb0FCg2nY5wvc6dI8LuBWbreSrCWcZA9y0KKjY=; b=St4SWLcgXE4StTvQcWUn+wSkIgX/jXnE4yLSywwGkkTgKO6/nmV+oBd8k2i1IoM0Ym E8jPHAdhNBO6RX3SG8Wne/tIh4zzpExIYkE0qMCGcn3RJj62Mq/lwHO5+bnvsw2EyJbB Rghx4sjSd1nYesPwXSjjs4ksJmJ6xgkByBKdw= 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=2vJXHrb0FCg2nY5wvc6dI8LuBWbreSrCWcZA9y0KKjY=; b=G5BmjDes4eM/zzarsRjc8qtucNSjm3uFLhcvQfFwUz/VjeEWDvqIwQjy7zSRTXIaDe TfIdojzBSnHurbJT3MZDnIx7yyYHIV5GVHEWwee8VdrJvVFdcKOfoGXqawWCRgRgck40 9sY/Rw/sSnUydgA5tJNETn0agQSXk2xZ86JqTgwnH18igdd71Nk05ybqdTnhQBoSBCQo 26pqZSV8QPzqqbvmCPIuFV3TkR7Xv7+uOpmrXtqiAa05iVAOX+mXlsiAiVDRhyeiY61R My5lZqUR8oklVMRDx6BAhj3uhiMegSaRXMv0gVbWFG4t5SBwBQwuA/Fa4ykKO3DC2yJJ swdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=2vJXHrb0FCg2nY5wvc6dI8LuBWbreSrCWcZA9y0KKjY=; b=UdzR8OV3SpMAKvKTSrZMnOz9NDyiKH0S8jmYgE81lsfCzMMtg5h0E5LqGan6IAmojs awGOxsOMDU9r4Hq/n8LJWa8zAfc2r5ifesoAdBqefarldvA6p9w8PPHeIp+6JsntXhbC e+/NSmuiZsb2sQ8IYmRJA8ueMiUkmhnQCBDVIX0ieUDCApTs38CqF5ZNC/f84472DPn+ jTWlJe7Qv3XKrWeY6pBJq3RZ5BvJfiqRQMuGUA6R+KvB8bbn1YX0gcgfrDLcSvGorwvu lIsGvemixb7ww6GpsOkO/a9+gEyn6c/skW/H5wowF7ucXUzOGi/W3kX/tMVALJwHMMaD gVdw== X-Gm-Message-State: ALoCoQkKuVe/k449t/Tj5XZ1xBYoPEOsCrBRQuB+6KBKYlvdITKxjHfzoi3r9L9+W5I25p1SZ1d8 MIME-Version: 1.0 X-Received: by 10.202.62.215 with SMTP id l206mr7932802oia.8.1440832324697; Sat, 29 Aug 2015 00:12:04 -0700 (PDT) Sender: hien@hien.info Received: by 10.76.1.108 with HTTP; Sat, 29 Aug 2015 00:12:04 -0700 (PDT) X-Originating-IP: [113.161.68.214] In-Reply-To: <2142623530.346.1440828562305.JavaMail.zimbra@pushware.net> References: <2142623530.346.1440828562305.JavaMail.zimbra@pushware.net> Date: Sat, 29 Aug 2015 14:12:04 +0700 X-Google-Sender-Auth: ZIJT54XU41POQYf3GXjNkyBfYbs Message-ID: Subject: Re: syncookie CPU load From: Hien Phan To: Dmitry Mikhailov Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 07:12:06 -0000 Hello, pf has built-in synproxy support, you could try it. On Sat, Aug 29, 2015 at 1:09 PM, Dmitry Mikhailov wrote: > Doing a SYN flood test with FreeBSD on Xeon D (8 core) with syncookies > enabled and the CPU load is around 20% (interrupts) at 150K pps. Is there > any way reconfigure FreeBSD to bring this load down? Linux has a solution > with netfilter synproxy which would not notice this low pps rate so I am > wondering whether something similar is possible with FreeBSD? > > Dmitry > _______________________________________________ > 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 Sat Aug 29 07:56: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 297729C5238 for ; Sat, 29 Aug 2015 07:56:38 +0000 (UTC) (envelope-from zhup@tutamail.com) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 158AEF71 for ; Sat, 29 Aug 2015 07:56:36 +0000 (UTC) (envelope-from zhup@tutamail.com) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 2974514468CD for ; Sat, 29 Aug 2015 00:53:51 -0700 (PDT) Date: Sat, 29 Aug 2015 00:56:30 -0700 (MST) From: zhup To: freebsd-questions@freebsd.org Message-ID: <1440834990532-6035821.post@n5.nabble.com> Subject: How to make process working in background? 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, 29 Aug 2015 07:56:38 -0000 Hello, I have below startup script. My question is how to make this process working in background? #!/bin/sh . /etc/rc.subr name=test rcvar=test_enable command="/usr/sbin/${name}" load_rc_config $name run_rc_command "$1" Why I am not able to stop this process? root@mys:~ # /etc/rc.d/test stop Stopping test. Waiting for PIDS: 5146 5147Stopping oscam. Waiting for PIDS: 5146 5147 Thank you in advance. -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-to-make-process-working-in-background-tp6035821.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@freebsd.org Sat Aug 29 08:37: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 117BA9C3569 for ; Sat, 29 Aug 2015 08:37:17 +0000 (UTC) (envelope-from dmitry@pushware.net) Received: from mail.pushware.net (mail.pushware.net [198.245.177.5]) (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 E0452896 for ; Sat, 29 Aug 2015 08:37:16 +0000 (UTC) (envelope-from dmitry@pushware.net) Received: from localhost (localhost [127.0.0.1]) by mail.pushware.net (Postfix) with ESMTP id 766125F3518; Sat, 29 Aug 2015 01:37:52 -0700 (PDT) Received: from mail.pushware.net ([127.0.0.1]) by localhost (mail.pushware.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id CAXKddt37xzc; Sat, 29 Aug 2015 01:37:51 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.pushware.net (Postfix) with ESMTP id 6EFE35F3516; Sat, 29 Aug 2015 01:37:51 -0700 (PDT) X-Virus-Scanned: amavisd-new at pushware.net Received: from mail.pushware.net ([127.0.0.1]) by localhost (mail.pushware.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id du4O3BBs6h9u; Sat, 29 Aug 2015 01:37:51 -0700 (PDT) Received: from mail.pushware.net (mail.pushware.net [10.5.2.5]) by mail.pushware.net (Postfix) with ESMTP id 317EB5F3518; Sat, 29 Aug 2015 01:37:51 -0700 (PDT) Date: Sat, 29 Aug 2015 01:37:51 -0700 (PDT) From: Dmitry Mikhailov To: Hien Phan Cc: freebsd-questions Message-ID: <470638235.387.1440837471041.JavaMail.zimbra@pushware.net> In-Reply-To: References: <2142623530.346.1440828562305.JavaMail.zimbra@pushware.net> Subject: Re: syncookie CPU load MIME-Version: 1.0 X-Originating-IP: [10.5.2.5] X-Mailer: Zimbra 8.6.0_GA_1178 (ZimbraWebClient - FF40 (Mac)/8.6.0_GA_1178) Thread-Topic: syncookie CPU load Thread-Index: ZtF/Jg1jr2PfFXddYo1JY2StpV3dDw== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 08:37:17 -0000 Will PF synproxy allow to bypass the part of the code that causes high interrupt CPU usage? Dmitry From: "Hien Phan" To: "Dmitry Mikhailov" Cc: "freebsd-questions" Sent: Saturday, August 29, 2015 12:12:04 AM Subject: Re: syncookie CPU load Hello, pf has built-in synproxy support, you could try it. On Sat, Aug 29, 2015 at 1:09 PM, Dmitry Mikhailov < dmitry@pushware.net > wrote: Doing a SYN flood test with FreeBSD on Xeon D (8 core) with syncookies enabled and the CPU load is around 20% (interrupts) at 150K pps. Is there any way reconfigure FreeBSD to bring this load down? Linux has a solution with netfilter synproxy which would not notice this low pps rate so I am wondering whether something similar is possible with FreeBSD? Dmitry _______________________________________________ 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 Sat Aug 29 08:51: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 B23B59C3C20 for ; Sat, 29 Aug 2015 08:51:43 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm13-vm3.bullet.mail.ir2.yahoo.com (nm13-vm3.bullet.mail.ir2.yahoo.com [212.82.96.182]) (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 0F806ECA for ; Sat, 29 Aug 2015 08:51:42 +0000 (UTC) (envelope-from emorrasg@yahoo.es) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1440838103; bh=OHAO1bIOTS6ULmpM/m86zNa3WcW7XO5x4UlQXqn9+Ng=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=BG/MtEIkPKKNz4q030UdOjWDec7dJAo9efvqV2yJbWOqR1SFo3YN/shbDjAYTtOj7eMZYaZV+foMBJKlPcfEPVfgQIy2OyjHL7O055vQWFq2IhFmB0SmgfAVY7PHyGbrAuR5k1XMyOqxVCariDrbqiN9d0oDIVk5lr9OX4tFZlPUm7QKxm98C8dTzzAaAmiIQfWWt+FM881UkSy+Y7QWplWU/LhvRQj9qa4DPIjA9RsnrGvcYvT2rxiEUS6BYtTuiBr0elIkb5jkEZamNGkPPaxcDoEzYEo6nTFF0q1UVOlGuSW1Jl0EDdckFPcxRmH7JmlGaUm5xzjEWh87nZDBDw== Received: from [212.82.98.124] by nm13.bullet.mail.ir2.yahoo.com with NNFMP; 29 Aug 2015 08:48:23 -0000 Received: from [46.228.39.113] by tm17.bullet.mail.ir2.yahoo.com with NNFMP; 29 Aug 2015 08:48:23 -0000 Received: from [127.0.0.1] by smtp150.mail.ir2.yahoo.com with NNFMP; 29 Aug 2015 08:48:23 -0000 X-Yahoo-Newman-Id: 848364.67329.bm@smtp150.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: keLFAxUVM1lDcLAHA0poFMJ4SVGFh0yDVOl1ElGLEcM4dSN aVkiV8fJ3VRSNrPI4guZa.ZXRrIyVtnI5WFbnkje4IJYmFxU_2glF1bXE6Ln TAu.CNlzRpBJtJQPYujE3CFRF5gc2zCE1TKwYQaSd2vaXkI0we_bR85vD1gN Wg9sZwcR2AMCF6gCns26ECSQnEt2J2Tfv4NnFyEVPRZhpdJ.JC2Yl7IwKFG3 vNAr8GA32zWQNm.rMc071enb3IAA_ouuCM61obOKADLpN6Le8YEJ3PkTvdF8 OA.QDMANImFA95sEXdFxMTs7.TXPbOmRyoYLhSubaccddCdDcDcnfBQrz_EY aatZhs8nakIPcxvc67C5cuaI_H1QcyPrJ3bMIGDplFQ9S10gKApmRaf2.Btb 5g1wPb1Z_kcemjuZh0zXbwWpKEKnU6ONQSKlVNjYNozzv8gNjqDCg9srcIt6 rraUT.q0nmGXVfFTgKc0knIr8sAr9PWe0PhcHRcqdH4zXr98JESjvfYnB8pt buh2wKk0liaQ_QBhSLV4UTwNXDqUeVmuGw1OwQVnKeo75GmQ- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Sat, 29 Aug 2015 10:48:38 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: fetch a distribution file using the git commit Message-Id: <20150829104838.2e7b30667ed3bc21fc882e77@yahoo.es> In-Reply-To: <1440823202.51222.0.camel@fbsd.es> References: <1440823202.51222.0.camel@fbsd.es> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.27; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 08:51:43 -0000 On Sat, 29 Aug 2015 06:40:02 +0200 Carlos J Puga Medina wrote: > Hi people, > > I'm unable to fetch a distribution file from github using the git > commit > > _MASTER_SITES_tl-parser= > https://codeload.github.com/vysheng/tl-parser/tar.gz/1659d87?dummy=/: 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=" > 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 > > Best regards,-- --- --- Eduardo Morras From owner-freebsd-questions@freebsd.org Sat Aug 29 09:23: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 1D0AF9C4C1A for ; Sat, 29 Aug 2015 09:23:16 +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 E9EC5115 for ; Sat, 29 Aug 2015 09:23:15 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from localhost (localhost [127.0.0.1]) by imap1.ox.privateemail.com (Postfix) with ESMTP id 38741B000EF; Sat, 29 Aug 2015 05:23:13 -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 HWph5UYiBlRc; Sat, 29 Aug 2015 05:23:13 -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 50B09B000A2; Sat, 29 Aug 2015 05:23:12 -0400 (EDT) Message-ID: <1440840184.30127.5.camel@fbsd.es> Subject: Re: fetch a distribution file using the git commit From: Carlos J Puga Medina To: emorrasg@yahoo.es Cc: freebsd-questions Date: Sat, 29 Aug 2015 11:23:04 +0200 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-QRuHT2FNYYO9Y+RsAkO9" 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: Sat, 29 Aug 2015 09:23:16 -0000 --=-QRuHT2FNYYO9Y+RsAkO9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > It works for me as expected, but is this line from the configuration > file? if yes, it should have "": > MASTER_SITES_tl-parser=3D" https://codeload.github.com/vysheng/tl-parser/tar.gz/1659d87?dummy=3D" No. The MASTER_SITES is set by GH_* variables. 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 >=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 > Best regards,--=20 > --- --- > Eduardo Morras Cheers,--=20 Carlos Jacobo Puga Medina PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=-QRuHT2FNYYO9Y+RsAkO9 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 iQEcBAABAgAGBQJV4Xn4AAoJEKHzXWbm0FRTtRMH/1HCyIJOxl731g2sbnGrKZXa KbYQnHFF/BOoC7JUdn0JhhGUfRRZw6wIGJjKw2Eb8Tod7CIe8hywYT/nsnQQ8JnL 5TtKVLT924gqgew8O2vJvg1R+zLvt7Fb39ogUS35zd1X1Rqh4eQwOOdmmEW3a0YJ cIjYMzszYuhKLxDH/cbmH8zX18UHjZuBUM8IX8cAb1C0Yz8QaXAdX51UBJKMmcYK VXpNj9SoY4H2Qiee9ucu2yDnkonoL58xI1a7+9mXja22kyjQIVPxuxKNiIrk5/u9 D2St7eZHSmnsnoP8qLRI03JFu5qa0Vcb1VJARTjNxsIk2CChcsuwvIziZir+bFc= =BgX3 -----END PGP SIGNATURE----- --=-QRuHT2FNYYO9Y+RsAkO9-- From owner-freebsd-questions@freebsd.org Sat Aug 29 11:54: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 67E579C44D0 for ; Sat, 29 Aug 2015 11:54:21 +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 EA44669F for ; Sat, 29 Aug 2015 11:54:20 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7TBs1WY090563 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sat, 29 Aug 2015 12:54:03 +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 t7TBs1WY090563 Authentication-Results: smtp.infracaninophile.co.uk/t7TBs1WY090563; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: *Caution: Threadjack !!!!* Backup strategies To: freebsd-questions@freebsd.org References: <55E047DC.40800@qeng-ho.org> <55E06B61.7040305@hiwaay.net> <55E07C7F.80102@freebsd.org> <55E0DC7A.6000304@hiwaay.net> From: Matthew Seaman Message-ID: <55E19D52.7060207@FreeBSD.org> Date: Sat, 29 Aug 2015 12:53:54 +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: <55E0DC7A.6000304@hiwaay.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6oBqGi6BBWaWqXAHMAedn6Bns01HSETsp" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.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: Sat, 29 Aug 2015 11:54:21 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6oBqGi6BBWaWqXAHMAedn6Bns01HSETsp Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 28/08/2015 23:09, William A. Mahaffey III wrote: >> Of course you can always create snapshots manually, mount them somewhe= re >> and then use whatever tools of your choice to backup the snapshot. Th= is >> is how I use tarsnap(1). >=20 > Yeah, but I want automation !!!! And? http://www.infracaninophile.co.uk/articles/hotchpotch/#backupsnap-zfs.sh That just runs as a cron job every night. Matthew --6oBqGi6BBWaWqXAHMAedn6Bns01HSETsp 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 iQJ8BAEBCgBmBQJV4Z1YXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATRWwQAJXCDNDB7c5SEzMIBRwDV99n YT0GbqbPXiC8SfgcNhkYPsgJv/gCOMSyyWsslwFNUhZQWsay9i28pMatDn7zedG0 o+YKA3EM/0bABm+svTlQQsHAzM45dERTpOgFwKaH5RM5TzsbuvTztB4Rvrl6BiFQ b1+mCq1QmIFuNg/y+u0OGV+iyRfe69Tghb8SWyksbXLNh3CKRBM1W7YWmdEJNeun mHYBNLyKIuERPTerQ3h3CJKYHPlgy1ogOCAR8qFUbU+JUveO2MRTWt+mYc1p+z8G ZfTHOLScFN8a6UWlTPTyf9lNs26F26oSXBUx/39xQZeo94wOY7e4NMdcaKt8eNNR nTwQeWqu6fsc2El4aXOb8inMuL0orrawboYVjjECyr2Axf6vbPjf6j9O+sWBXUV9 wb26TxOAmtcsjeaOufrAjZrVpAxZXRDgTwcR2eNWclxvXnUzbabEfyvswI4u3BVF xIwJlaa/D/K6eAop3umHetpPVfILsbxB7NmDTIUseGpzfd+ToCNulbKRBKeiuZ2H UScFbjz0LTm+/XkcuFRW3myrwJGe/LkIdzEU+7b3gUShr2Yit9wgNvGRkZJOuVuQ bCeAwbrPCgYV2vwmQV858v0bkbchjrsdOj+lSONbumoKoQu5aTuq9nm9lidLi/3h wuV2Tng6AnO+2ZkPGHkr =2+iA -----END PGP SIGNATURE----- --6oBqGi6BBWaWqXAHMAedn6Bns01HSETsp-- From owner-freebsd-questions@freebsd.org Sat Aug 29 12:03: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 492D69C4CEF for ; Sat, 29 Aug 2015 12:03:13 +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 09372D40 for ; Sat, 29 Aug 2015 12:03:12 +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 D02C91E611EC for ; Sat, 29 Aug 2015 17:33:05 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail10.rvijay.me (Postfix) with ESMTP id AF35F24837 for ; Sat, 29 Aug 2015 12:03:05 +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=1440849781; x= 1441713782; bh=64OaojoEPlFOI1b/KIyr+MLIMaoeTy2szWsi55z/u20=; b=G 8st5QV4vPPP0yHnBKEQV91Waf9rW1ZGUpkA9kZOclbGFSgu75+RRiwEsYeZL1B1e Cn6EOHhnSUNVWo+B9p5WrM6J/YNdU9j9852ruuWeH5gW++cxs6UHDbNiYLSjT6Sc 4thdxUwfkSKIcsiFFISpnK5n7eFpKbhlJLQgx8xX30= 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 zo1AqK-or3cm for ; Sat, 29 Aug 2015 12:03:01 +0000 (UTC) Received: from [192.168.1.119] (unknown [183.83.51.98]) (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 14BC224810 for ; Sat, 29 Aug 2015 12:03:00 +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> From: Vijay Rajah Message-ID: <55E19F72.6090804@rvijay.me> Date: Sat, 29 Aug 2015 17:32:58 +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: 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, 29 Aug 2015 12:03:13 -0000 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 > > From owner-freebsd-questions@freebsd.org Sat Aug 29 12:44: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 6E7D69C5002 for ; Sat, 29 Aug 2015 12:44:14 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::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 406C41FBD for ; Sat, 29 Aug 2015 12:44:14 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by ioej130 with SMTP id j130so36197113ioe.3 for ; Sat, 29 Aug 2015 05:44:13 -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=hMFIryxkawD/lRuRiJIaqCvR7Nv5m3Yxrby4aZZ7oB8=; b=rrC4U1zqJ2hp87bVREV7rRScgAxkwbFYeXCvvb7UQjKATzyM5IXLUVT7eHGnUzVXUQ EiWDBd46rDJNiV0Gy15w/fYYHvmM3wwPvsAmxxFH1+8LWKImVkovJMnYSprCkNj6XTv2 Lyrn+3FBJzJyoIBS3Zxm6pE0/6/Av3M4KNtx1CYHAaoG60KsOob/LfXslT84ltg5YnA/ l2h2mHweikZFxfKpi9N4DIMeIyyc5UQJI169XbyzU/cLkuqbdCTHYKbNnSkn/JjOqi0C aHa2132kMK2TFzEcf2pomP6ZzLPCb/Y1l+tRPkix6JcKkbGw3cbNS9LN+98SVQGITAZv HlwA== X-Received: by 10.107.136.69 with SMTP id k66mr18276900iod.111.1440852253534; Sat, 29 Aug 2015 05:44:13 -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 n6sm5405429igv.17.2015.08.29.05.44.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 29 Aug 2015 05:44:12 -0700 (PDT) Message-ID: <55E1A91D.7020108@gmail.com> Date: Sat, 29 Aug 2015 08:44:13 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Vijay Rajah CC: freebsd-questions@freebsd.org Subject: Re: adding packages during jails creation References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> <55E19F72.6090804@rvijay.me> In-Reply-To: <55E19F72.6090804@rvijay.me> 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: Sat, 29 Aug 2015 12:44:14 -0000 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. From owner-freebsd-questions@freebsd.org Sat Aug 29 19:34: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 AEB129C6AB0; Sat, 29 Aug 2015 19:34: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 684421B60; Sat, 29 Aug 2015 19:34: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 t7TJYpV3009555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 29 Aug 2015 14:34:52 -0500 To: FreeBSD Questions !!!! , FreeBSD X11 mailing list From: "William A. Mahaffey III" Subject: Old screensaver Message-ID: <55E2095A.5090901@hiwaay.net> Date: Sat, 29 Aug 2015 14:40:20 -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, 29 Aug 2015 19:34:54 -0000 Whenever I mess around w/ the screensaver on my FreeBSD 9.3R-p21 desktop (XFCE 4.12_1, last upgraded last week), it puts up 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 am of course not buying it, but am curious why that bit of software apparently hasn't been upgraded in a while (long enough for it or something else to whine about it). It is version 5.29 of xscreensaver, says it is dated Jun 2014, which I don't consider to be terribly old, but apparently newer is available. *Not* a big issue, but curious, any input from wiser heads ? 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 Sat Aug 29 19:58: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 8847C9C524A; Sat, 29 Aug 2015 19:58:09 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (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 417BB9F7; Sat, 29 Aug 2015 19:58:08 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3n3T9g5tNLzZvM; Sat, 29 Aug 2015 21:57:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mail; t= 1440878277; x=1442692678; bh=8miwMObkNqdxiZUd5/8/eUEL5notIjaptEj no97zHl4=; b=QI5rBK8RfXn0GbUCohD8SaiVCfE0YVoWfpyaOGe9bMEhiez9Ryd 9leIXCLwP56Ax7wJEs9l6FO8X436DP2Z0lH3BSzQc0F7vOt24ft/bTt+n4VbGXDs jTag5fJsI5COx8t2S3GyP5gc598ab2PKrZZKLLjmDqcJkVPKDMXv6rFc= Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id MGD06L3-3fpH; Sat, 29 Aug 2015 21:57:57 +0200 (CEST) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Sat, 29 Aug 2015 21:57:57 +0200 (CEST) Subject: Re: Old screensaver To: "William A. Mahaffey III" , FreeBSD Questions !!!! , FreeBSD X11 mailing list References: <55E2095A.5090901@hiwaay.net> From: Guido Falsi Message-ID: <55E20EC5.60200@madpilot.net> Date: Sat, 29 Aug 2015 21:57:57 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E2095A.5090901@hiwaay.net> 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: Sat, 29 Aug 2015 19:58:09 -0000 On 08/29/15 21:33, William A. Mahaffey III wrote: > > > Whenever I mess around w/ the screensaver on my FreeBSD 9.3R-p21 desktop > (XFCE 4.12_1, last upgraded last week), it puts up 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 am of course not > buying it, but am curious why that bit of software apparently hasn't > been upgraded in a while (long enough for it or something else to whine > about it). It is version 5.29 of xscreensaver, says it is dated Jun > 2014, which I don't consider to be terribly old, but apparently newer is > available. *Not* a big issue, but curious, any input from wiser heads ? > TIA & have a good one. > This issue has been reported in bug 201254: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201254 -- Guido Falsi From owner-freebsd-questions@freebsd.org Sat Aug 29 20:08: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 67D1C9C567F for ; Sat, 29 Aug 2015 20:08:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D4FFE92 for ; Sat, 29 Aug 2015 20:08: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 mx01.qsc.de (Postfix) with ESMTPS id DB6803CF58; Sat, 29 Aug 2015 22:08:09 +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 t7TK891p002583; Sat, 29 Aug 2015 22:08:09 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 29 Aug 2015 22:08:09 +0200 From: Polytropon To: Chris Stankevitz Cc: Quartz , freebsd-questions Subject: Re: Stop using a SATA drive Message-Id: <20150829220809.438bbf30.freebsd@edvax.de> In-Reply-To: References: <20150824214252.53aa04c6.freebsd@edvax.de> <55DEF869.1010202@sneakertech.com> <55DEFB5A.3080408@FreeBSD.org> <55DEFC74.3040609@sneakertech.com> <20150828000602.b9a288a8.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 20:08:13 -0000 On Fri, 28 Aug 2015 13:17:58 -0700, Chris Stankevitz wrote: > On Thu, Aug 27, 2015 at 3:06 PM, Polytropon wrote: > > But on the other hand, what's wrong with _ignoring_ a > > device file you don't want to have anything to do with? > > From my OP: > > > I imagine I would feel confident that nothing is using it > > if the drive disappeared from /dev > > My only interest in the device file going away was that I would > suddenly become confident that it is not in use (e.g. by smartd, > gpart, etc). If there is another way to become confident that a > device is not in use then that would be okay too. > > "Device file disappearing" would only be useful to me if it happened > before the drive was "ejected", not after. 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)? You can _almost_ be sure that a storage device is not in use when it is not mounted. The only case where this is not the case is when you're accessing raw devices, for example when making a backup from (or to) an unmounted partition. In this case, paying attention is required. :-) So relying on mount itself is not sufficient. You'd have to query the device driver for pending actions (like reads or writes). Only when there's noting to be done, device removal should be safe. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Aug 29 20:13: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 330059C58C8 for ; Sat, 29 Aug 2015 20:13:25 +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 EFB5F1197 for ; Sat, 29 Aug 2015 20:13:24 +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 1C7553CF47; Sat, 29 Aug 2015 22:03: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 t7TK3BGW002577; Sat, 29 Aug 2015 22:03:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 29 Aug 2015 22:03:11 +0200 From: Polytropon To: Warren Block Cc: freebsd-questions@freebsd.org Subject: Re: Replacing Drive with SSD Message-Id: <20150829220311.c7608be1.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: Sat, 29 Aug 2015 20:13:25 -0000 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? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Aug 29 20:13: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 742CE9C5911 for ; Sat, 29 Aug 2015 20:13:46 +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 27D981227 for ; Sat, 29 Aug 2015 20:13: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 mx01.qsc.de (Postfix) with ESMTPS id 2EF8A3CD96; Sat, 29 Aug 2015 22:13:44 +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 t7TKDhjo002604; Sat, 29 Aug 2015 22:13:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 29 Aug 2015 22:13:43 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: freebsd-questions@freebsd.org Subject: Re: *Caution: Threadjack !!!!* Backup strategies Message-Id: <20150829221343.f480a3e8.freebsd@edvax.de> In-Reply-To: <55E0DC7A.6000304@hiwaay.net> References: <55E047DC.40800@qeng-ho.org> <55E06B61.7040305@hiwaay.net> <55E07C7F.80102@freebsd.org> <55E0DC7A.6000304@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: Sat, 29 Aug 2015 20:13:46 -0000 On Fri, 28 Aug 2015 17:16:36 -0453.75, William A. Mahaffey III wrote: > On 08/28/15 10:27, Matthew Seaman wrote: > > On 08/28/15 15:07, William A. Mahaffey III wrote: > >> Warren's (fabulously lucid) page brings up a question for me. For years > >> I have used a 'pull' strategy for across-the-LAN backups, w/ my 'backup > >> servers' using tar or rsync to access data for backup on NFS-mounted (or > >> automounted) directories that I want backed up. This all happens > >> automatically overnight under cron. I am usually *not* backing up system > >> files, but rather user data, although I have recently started backing up > >> system stuff as well. Warren's page consistently illustrates a 'push'-ed > >> backup, & involves system files. I am *dead* serious about automated > >> backups, no possibility of forgetting to do it that way, but I always > >> thought that trying to backup 'live' system files was a bad idea > >> (right/wrong ?). There doesn't seem to be a way to do a 'push' backup > >> w/o messing with live system files. I guess I am asking about 'best > >> practices' for backups, & the wisdom/validity of backing up 'live' > >> system files. Sorry for rambling, but the question(s) popped up for me > >> while reading Warren's web page. Any input appreciated. Have a nice day > >> & weekend :-). > > Push vs pull strategies are a matter of taste. With a pull strategy, > > almost all the configuration is in one place and the backup server can > > control resource usage -- so it's preferable if you've got a large > > number of machines to back up. Push is usually a bit simpler to script, > > plus it's the only viable way of backing up to eg. a cloud service. > > > > True, you cannot guarantee a coherent backup from a live filesystem. > > Your choices are either to unmount the filesystem (or otherwise render > > it quiescent) or else use some form of snap-shotting. > > Can I unmount the root fs (for example) once booted ? I thought not .... That depends on what you consider the root file system. It's commonly where / is mounted, carrying the SUM binaries and all top-level mount points. This is different from what's commonly called /boot (which can be a separate file system, but _can_ be part of /) where the kernel and the modules are located. The kernel is usually placed into memory by the boot loader which also loads modules. But what if an additional module is being loaded, or you want to query the kernel file (not the memory copy, but the on-disk instance)? Then /boot needs to be mounted. As you will agree, it's even more complicated with the common root partition. Unmounting something is always a question of access. :-) > One of the machines I am backing up is a RPiB+ running NetBSD 7.0-beta, > serving as the time server for my LAN. It has only 1 large partition for > root, so I get it all in my backup. Could that be unmounted > (temporarily) for a backup ? No (except you can make sure _no_ access is being made to it). Solution: Put it into read-only mode and hope for the best (i.e., that no program tries to write to it). If you can't, at least use dump -L so it will work with a snapshot. > > Of course you can always create snapshots manually, mount them somewhere > > and then use whatever tools of your choice to backup the snapshot. This > > is how I use tarsnap(1). > > Yeah, but I want automation !!!! Go to a factory! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Aug 29 20:24: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 24D2D9C5DA6; Sat, 29 Aug 2015 20:24: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 DC5661621; Sat, 29 Aug 2015 20:24: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 3179B3CF47; Sat, 29 Aug 2015 22:24:39 +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 t7TKOcQ4002673; Sat, 29 Aug 2015 22:24:38 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 29 Aug 2015 22:24:38 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! , FreeBSD X11 mailing list Subject: Re: Old screensaver Message-Id: <20150829222438.66d6a33b.freebsd@edvax.de> In-Reply-To: <55E2095A.5090901@hiwaay.net> References: <55E2095A.5090901@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: Sat, 29 Aug 2015 20:24:41 -0000 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... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Aug 29 20:51:52 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 EE5EE9C58CA for ; Sat, 29 Aug 2015 20:51:52 +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 9983B83C for ; Sat, 29 Aug 2015 20:51: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 t7TKpoHl020305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 29 Aug 2015 15:51:51 -0500 Subject: Re: *Caution: Threadjack !!!!* Backup strategies References: <55E047DC.40800@qeng-ho.org> <55E06B61.7040305@hiwaay.net> <55E07C7F.80102@freebsd.org> <55E0DC7A.6000304@hiwaay.net> <20150829221343.f480a3e8.freebsd@edvax.de> Cc: freebsd-questions@freebsd.org From: "William A. Mahaffey III" Message-ID: <55E21B65.2000404@hiwaay.net> Date: Sat, 29 Aug 2015 15:57:19 -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: <20150829221343.f480a3e8.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: Sat, 29 Aug 2015 20:51:53 -0000 On 08/29/15 15:19, Polytropon wrote: > Unmounting something is always a question of access.:-) > > >> >One of the machines I am backing up is a RPiB+ running NetBSD 7.0-beta, >> >serving as the time server for my LAN. It has only 1 large partition for >> >root, so I get it all in my backup. Could that be unmounted >> >(temporarily) for a backup ? > No (except you can make sure_no_ access is being made to it). > Solution: Put it into read-only mode and hope for the best > (i.e., that no program tries to write to it). If you can't, > at least use dump -L so it will work with a snapshot. Nope, the '-L' flag of dump on NetBSD 7.0 has been repurposed for labelling the dump :-/ .... -- 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 Aug 29 21: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 A89789C5ED2 for ; Sat, 29 Aug 2015 21:03:19 +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 97B90CAC for ; Sat, 29 Aug 2015 21:03:19 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: by mailman.ysv.freebsd.org (Postfix) id 94D049C5ED1; Sat, 29 Aug 2015 21:03:19 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A9639C5ED0 for ; Sat, 29 Aug 2015 21:03:19 +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 435F0CAB for ; Sat, 29 Aug 2015 21:03:18 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: (from bonomi@localhost) by host203.r-bonomi.com (8.14.9/8.14.7) id t7TKfXbM097421 for questions@freebsd.org; Sat, 29 Aug 2015 15:41:33 -0500 (CDT) (envelope-from bonomi) Date: Sat, 29 Aug 2015 15:41:33 -0500 (CDT) From: Robert Bonomi Message-Id: <201508292041.t7TKfXbM097421@host203.r-bonomi.com> To: questions@freebsd.org Subject: port problems on FreeBSD 8.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 21:03:19 -0000 I'm trying to build a bunch of ports on my FreeBSD 8.4 box, and getting errors I don't understand from the 'make' attempts on aboiut a dozen of them. e.g. why it is apparently looking for a .gz when the distfile is a .bz2 On the 'etoile-*' ports, I tried modifying Makefile to have "USES= tar:bzip2", whereupon it complains "can't open Makefile". I'm stumped on what to try next. I don't have a clue on the 'PREFIX' complaints, or the 'Unknown component' / 'Unknown autotool' complaints. Can somebody see if they can, or more significantly, _cannot_ reproduce these issues on their system? That way I'll know if it's just _my_ system, or a real problem in the port. Also, when building some ports, I get _scads_ of 'warnings' from compilers -- the items seem to work ok, but some of the warnings are worrisome -- like when it claims an 'if' always evaluates true because an unsigned variable is used. The list of 'problem children': ===> etoile-idle-0.4.1 depends on file: /usr/local/sbin/pkg - found => etoile-0.4.1.tar.gz is not in /home/ports/x11/etoile-idle/distinfo. => Either /home/ports/x11/etoile-idle/distinfo is out of date, or => etoile-0.4.1.tar.gz is spelled incorrectly. *** Error code 1 Stop in /home/ports/x11/etoile-idle. [ Makefile contains: USE_BZIP2= yes ] [ distinfo content: ] [ SHA256 (etoile-0.4.1.tar.bz2) = 2c9f189a0eae9dbc85589660a55faac498d05a056bf8148fa91f25455728cf25 ] [ SIZE (etoile-0.4.1.tar.bz2) = 8281449 ] ------------ ===> etoile-iterm-0.1.20061221_3 depends on file: /usr/local/sbin/pkg - found => Etoile-20061221.tar.gz is not in /home/ports/x11/etoile-iterm/distinfo. => Either /home/ports/x11/etoile-iterm/distinfo is out of date, or => Etoile-20061221.tar.gz is spelled incorrectly. *** Error code 1 Stop in /home/ports/x11/etoile-iterm. [ Makefile contains: USE_BZIP2= yes ] [ distinfo content: ] [ SHA256 (Etoile-20061221.tar.bz2) = 7dc8acbf2cb46d9d119c9817204bbbbe72884065f3287877550c400e68f4c992 ] [ SIZE (Etoile-20061221.tar.bz2) = 9867481 ] ------------ ===> etoile-xwindowserverkit-0.4.1 depends on file: /usr/local/sbin/pkg - found => etoile-0.4.1.tar.gz is not in /home/ports/x11/etoile-xwindowserverkit/distinfo. => Either /home/ports/x11/etoile-xwindowserverkit/distinfo is out of date, or => etoile-0.4.1.tar.gz is spelled incorrectly. *** Error code 1 Stop in /home/ports/x11/etoile-xwindowserverkit. [ Makefile contains: USE_BZIP2= yes ] [ distinfo content: ] [ SHA256 (etoile-0.4.1.tar.bz2) = 2c9f189a0eae9dbc85589660a55faac498d05a056bf8148fa91f25455728cf25 ] [ SIZE (etoile-0.4.1.tar.bz2) = 8281449 ] ------------ ===> alarm-clock-1.4_1 cannot install: Unknown component gnomehack. *** Error code 1 Stop in /home/ports/x11-clocks/alarm-clock. ------------ [ x11/kdelibs3 ] PREFIX must be defined as an absolute path so that when 'make' is invoked in the work area PREFIX points to the right place. *** Error code 1 Stop. [ Makefile contains: PREFIX= ${KDE_PREFIX} ] ------------ [ x11/kdelibs3 ] PREFIX must be defined as an absolute path so that when 'make' is invoked in the work area PREFIX points to the right place. *** Error code 1 Stop. [ Makefile contains: PREFIX= ${KDE_PREFIX} ] ------------ [ x11/kdelibs3-nocups ] PREFIX must be defined as an absolute path so that when 'make' is invoked in the work area PREFIX points to the right place. *** Error code 1 Stop. [ Makefile contains: PREFIX= ${KDE_PREFIX} ] ------------ [ x11-clocks/kdetoys3 ] PREFIX must be defined as an absolute path so that when 'make' is invoked in the work area PREFIX points to the right place. *** Error code 1 Stop. [ Makefile contains: PREFIX= ${KDE_PREFIX} ] ------------ ===> Fetching all distfiles required by pkg-1.5.5 for building ===> kdeutils-_9 Unknown autotool: libtool. *** Error code 1 Stop in /home/ports/misc/kdeutils3. [ other ports use libtool with no problems ] ------------ ===> bmp-alarm-0.6.0_6 Unknown autotool: libtool. *** Error code 1 Stop in /home/ports/x11-clocks/bmp-alarm. [ other ports use libtool with no problems ] ------------ ===> kdebase-_9 Unknown autotool: libtool. *** Error code 1 Stop in /home/ports/x11/kdebase3. [ other ports use libtool with no problems ] ------------ ===> bmp-alarm-0.6.0_6 Unknown autotool: libtool. *** Error code 1 Stop in /home/ports/x11-clocks/bmp-alarm. [ other ports use libtool with no problems ] ------------ From owner-freebsd-questions@freebsd.org Sat Aug 29 21:03: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 F3BCF9C5F5D for ; Sat, 29 Aug 2015 21:03:52 +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 B886DD4C for ; Sat, 29 Aug 2015 21:03: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 1ZVnHp-0006rj-6q for freebsd-questions@freebsd.org; Sat, 29 Aug 2015 23:03:41 +0200 Received: from 5e1bcafa.mobile.pool.telekom.hu ([94.27.202.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Aug 2015 23:03:41 +0200 Received: from leventelist by 5e1bcafa.mobile.pool.telekom.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Aug 2015 23:03:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Lev Subject: mount problem Date: Sat, 29 Aug 2015 23:03:33 +0200 Lines: 15 Message-ID: <20150829230333.016c7650@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: 5e1bcafa.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: Sat, 29 Aug 2015 21:03:53 -0000 U28gSSB3YW50ZWQgdG8gbW91bnQgb25lIG9mIG15IENGIG1lbW9yeSBjYXJkIHRvIGNvcHkgcGlj dHVyZXMgZnJvbSB0aGUNCmNhbWVyYS4NCg0KSXQgZ2V0cyBtb3VudGVkIGFzIGFuIG1zZG9zZnMg cGFydGl0aW9uLg0KDQpJIGdldCB0aGlzOg0KDQpFaXRoZXIsIHRoZSBsYXN0IGRpcmVjdG9yeSB0 aGF0IGNvbnRhaW5zIHRoZSBpbWFnZXMgaXMgYSBmaWxlIHdpdGggYWxsIHRoZQ0KaW1hZ2VzIGNv bmNhdGVuYXRlZCwgb3INCg0KSSBoYXZlIGFuIGluZmluaXRlIGxvb3Agb2YgdGhlIGxhc3QgdHdv IGRpcmVjdG9yaWVzLCBzbyBJIGNhbiBkbyB0aGluZ3MgbGlrZQ0KdGhhdDoNCg0KL21lZGlhL2Rp c2svRENJTS8xMDBPTFlNUC9EQ0lNLzEwME9MWU1QL0RDSU0vMTAwT0xZTVAvDQoNCk9uIExpbnV4 LCBpdCB3b3Jrcy4gSG93ZXZlciwgaXQgZ2V0cyBtb3VudGVkIGFzIGEgdmZhdCBwYXJ0aXRpb24u DQoNCkkgdHJpZWQgdG8gZXhwbGljaXRseSBtb3VudCBpdCBhcyB2ZmF0LCBidXQgSSBnZXQgYW4g ZXJyb3I6DQoNCm1vdW50OiAvZGV2L2RhMXMxOiBPcGVyYXRpb24gbm90IHN1cHBvcnRlZCBieSBk ZXZpY2UNCg0KdW5hbWUgLWENCg0KRnJlZUJTRCBqaXZlIDEwLjItUkVMRUFTRS1wMiBGcmVlQlNE IDEwLjItUkVMRUFTRS1wMiAjMDogU2F0IEF1ZyAyOSAxNzo0MTozMCBDRVNUIDIwMTUgICAgIGxl dmFAaml2ZTovdXNyL29iai91c3Ivc3JjL3N5cy9HRU5FUklDICBhbWQ2NA0KDQoNClRoYW5rcywN Ckxldg0KDQotLSANCjczIGRlIEhBNU9HTA0KT3AuOiBMZXZlbnRlDQo= From owner-freebsd-questions@freebsd.org Sat Aug 29 21:24: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 022A29BF943 for ; Sat, 29 Aug 2015 21:24:11 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D2CF5874 for ; Sat, 29 Aug 2015 21:24:10 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by mailman.ysv.freebsd.org (Postfix) id D1C799BF942; Sat, 29 Aug 2015 21:24:10 +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 D13E79BF941 for ; Sat, 29 Aug 2015 21:24:10 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) (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 4F5B5873 for ; Sat, 29 Aug 2015 21:24:09 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by lbbtg9 with SMTP id tg9so45284177lbb.1 for ; Sat, 29 Aug 2015 14:24:02 -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=p/+6HWwYce1BJv2K4gPbNKoZnejoDOymH/qmhukydC8=; b=OwovyudZW99hXpgQxTiz4K9nKhupGyBa+Bvoq9+76khimUb4Gkq8/axBRT+hBmXrBN YT8WVuVVCnbeTe02CDtGCiHWRvVHaTeuwmlQxAVjagO4A65CXyShpa6dCWmZXFIItXUl 28l4wdPXKlq67jV3Eg4WAsESdW9cixxnR7tmkWxNAkwBWKYFx2JlvUFj6dQzHxH+4d03 EagxvSQ/jP8aD45lC+HYWTX4DcoKkEgj5QYbAIfpNfsyrzks1sRsjZV3MYkw5cDDEE9n qJ+J2OLclHTJBZrlMX5ldpqGs5tS/At4Q/4i2373n7V+JWDOkFKhA2UURwljVDs/hyVu Wnaw== X-Gm-Message-State: ALoCoQmc/fr748k2Txl25rUZlUzhFIS2+q3DnU0thqrmvltBLTNXdqFZzPvE1OIp8Px1Pd60EqRX MIME-Version: 1.0 X-Received: by 10.112.148.130 with SMTP id ts2mr7378770lbb.17.1440883442077; Sat, 29 Aug 2015 14:24:02 -0700 (PDT) Received: by 10.25.133.130 with HTTP; Sat, 29 Aug 2015 14:24:01 -0700 (PDT) X-Originating-IP: [2600:1012:b107:8309:0:4c:f4bd:8401] Received: by 10.25.133.130 with HTTP; Sat, 29 Aug 2015 14:24:01 -0700 (PDT) In-Reply-To: <201508292041.t7TKfXbM097421@host203.r-bonomi.com> References: <201508292041.t7TKfXbM097421@host203.r-bonomi.com> Date: Sat, 29 Aug 2015 14:24:01 -0700 Message-ID: Subject: Re: port problems on FreeBSD 8.4 From: "Brian W." To: Robert Bonomi Cc: Questions at FreeBSD Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 21:24:11 -0000 If you didn't already know that is a recently eol release. https://www.freebsd.org/security/unsupported.html Brian On Aug 29, 2015 2:03 PM, "Robert Bonomi" wrote: > > > I'm trying to build a bunch of ports on my FreeBSD 8.4 box, and getting > errors I don't understand from the 'make' attempts on aboiut a dozen of > them. > e.g. why it is apparently looking for a .gz when the distfile is a .bz2 > > On the 'etoile-*' ports, I tried modifying Makefile to have "USES= > tar:bzip2", > whereupon it complains "can't open Makefile". I'm stumped on what to try > next. > > I don't have a clue on the 'PREFIX' complaints, or the 'Unknown component' > / > 'Unknown autotool' complaints. > > Can somebody see if they can, or more significantly, _cannot_ reproduce > these > issues on their system? That way I'll know if it's just _my_ system, or a > real problem in the port. > > Also, when building some ports, I get _scads_ of 'warnings' from compilers > -- > the items seem to work ok, but some of the warnings are worrisome -- like > when > it claims an 'if' always evaluates true because an unsigned variable is > used. > > > The list of 'problem children': > > ===> etoile-idle-0.4.1 depends on file: /usr/local/sbin/pkg - found > => etoile-0.4.1.tar.gz is not in /home/ports/x11/etoile-idle/distinfo. > => Either /home/ports/x11/etoile-idle/distinfo is out of date, or > => etoile-0.4.1.tar.gz is spelled incorrectly. > *** Error code 1 > > Stop in /home/ports/x11/etoile-idle. > > [ Makefile contains: USE_BZIP2= yes ] > > [ distinfo content: ] > [ SHA256 (etoile-0.4.1.tar.bz2) = > 2c9f189a0eae9dbc85589660a55faac498d05a056bf8148fa91f25455728cf25 ] > [ SIZE (etoile-0.4.1.tar.bz2) = 8281449 ] > > ------------ > > ===> etoile-iterm-0.1.20061221_3 depends on file: /usr/local/sbin/pkg - > found > => Etoile-20061221.tar.gz is not in /home/ports/x11/etoile-iterm/distinfo. > => Either /home/ports/x11/etoile-iterm/distinfo is out of date, or > => Etoile-20061221.tar.gz is spelled incorrectly. > *** Error code 1 > > Stop in /home/ports/x11/etoile-iterm. > > [ Makefile contains: USE_BZIP2= yes ] > > [ distinfo content: ] > [ SHA256 (Etoile-20061221.tar.bz2) = > 7dc8acbf2cb46d9d119c9817204bbbbe72884065f3287877550c400e68f4c992 ] > [ SIZE (Etoile-20061221.tar.bz2) = 9867481 ] > > ------------ > > ===> etoile-xwindowserverkit-0.4.1 depends on file: /usr/local/sbin/pkg > - found > => etoile-0.4.1.tar.gz is not in > /home/ports/x11/etoile-xwindowserverkit/distinfo. > => Either /home/ports/x11/etoile-xwindowserverkit/distinfo is out of date, > or > => etoile-0.4.1.tar.gz is spelled incorrectly. > *** Error code 1 > > Stop in /home/ports/x11/etoile-xwindowserverkit. > > [ Makefile contains: USE_BZIP2= yes ] > > [ distinfo content: ] > [ SHA256 (etoile-0.4.1.tar.bz2) = > 2c9f189a0eae9dbc85589660a55faac498d05a056bf8148fa91f25455728cf25 ] > [ SIZE (etoile-0.4.1.tar.bz2) = 8281449 ] > > ------------ > > ===> alarm-clock-1.4_1 cannot install: Unknown component gnomehack. > *** Error code 1 > > Stop in /home/ports/x11-clocks/alarm-clock. > > ------------ > > [ x11/kdelibs3 ] > > PREFIX must be defined as an absolute path so that when 'make' > is invoked in the work area PREFIX points to the right place. > *** Error code 1 > > Stop. > > [ Makefile contains: PREFIX= ${KDE_PREFIX} ] > > ------------ > > [ x11/kdelibs3 ] > > PREFIX must be defined as an absolute path so that when 'make' > is invoked in the work area PREFIX points to the right place. > *** Error code 1 > > Stop. > > [ Makefile contains: PREFIX= ${KDE_PREFIX} ] > > ------------ > > [ x11/kdelibs3-nocups ] > > PREFIX must be defined as an absolute path so that when 'make' > is invoked in the work area PREFIX points to the right place. > *** Error code 1 > > Stop. > > [ Makefile contains: PREFIX= ${KDE_PREFIX} ] > > ------------ > > [ x11-clocks/kdetoys3 ] > > > PREFIX must be defined as an absolute path so that when 'make' > is invoked in the work area PREFIX points to the right place. > *** Error code 1 > > Stop. > > [ Makefile contains: PREFIX= ${KDE_PREFIX} ] > > ------------ > > ===> Fetching all distfiles required by pkg-1.5.5 for building > ===> kdeutils-_9 Unknown autotool: libtool. > *** Error code 1 > > Stop in /home/ports/misc/kdeutils3. > > [ other ports use libtool with no problems ] > > ------------ > > ===> bmp-alarm-0.6.0_6 Unknown autotool: libtool. > *** Error code 1 > > Stop in /home/ports/x11-clocks/bmp-alarm. > > [ other ports use libtool with no problems ] > > ------------ > > ===> kdebase-_9 Unknown autotool: libtool. > *** Error code 1 > > Stop in /home/ports/x11/kdebase3. > > [ other ports use libtool with no problems ] > > ------------ > > ===> bmp-alarm-0.6.0_6 Unknown autotool: libtool. > *** Error code 1 > > Stop in /home/ports/x11-clocks/bmp-alarm. > > [ other ports use libtool with no problems ] > > ------------ > > _______________________________________________ > 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 Sat Aug 29 21:30: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 55A2D9BFB6B for ; Sat, 29 Aug 2015 21:30:32 +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 442879E7 for ; Sat, 29 Aug 2015 21:30:32 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: by mailman.ysv.freebsd.org (Postfix) id 4123D9BFB6A; Sat, 29 Aug 2015 21:30:32 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40BE99BFB67 for ; Sat, 29 Aug 2015 21:30:32 +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 D59DA9E4 for ; Sat, 29 Aug 2015 21:30:31 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: (from bonomi@localhost) by host203.r-bonomi.com (8.14.9/8.14.7) id t7TLB8vi009215; Sat, 29 Aug 2015 16:11:08 -0500 (CDT) (envelope-from bonomi) Date: Sat, 29 Aug 2015 16:11:08 -0500 (CDT) From: Robert Bonomi Message-Id: <201508292111.t7TLB8vi009215@host203.r-bonomi.com> To: bonomi@mail.r-bonomi.com, brian@brianwhalen.net Subject: Re: port problems on FreeBSD 8.4 Cc: questions@freebsd.org In-Reply-To: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 21:30:32 -0000 > From brian@brianwhalen.net Sat Aug 29 16:04:55 2015 > Date: Sat, 29 Aug 2015 14:24:01 -0700 > Subject: Re: port problems on FreeBSD 8.4 > From: "Brian W." > To: Robert Bonomi > Cc: Questions at FreeBSD > > --047d7b3a81eaba6ac0051e79d16c > Content-Type: text/plain; charset=UTF-8 > > If you didn't already know that is a recently eol release. > > https://www.freebsd.org/security/unsupported.html > Yeah, I know. but _ports_ aren't release-specific From owner-freebsd-questions@freebsd.org Sat Aug 29 22:03: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 183179C4D6B for ; Sat, 29 Aug 2015 22:03:16 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EBF311EE for ; Sat, 29 Aug 2015 22:03:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id E8E699C4D6A; Sat, 29 Aug 2015 22:03:15 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E87029C4D68 for ; Sat, 29 Aug 2015 22:03:15 +0000 (UTC) (envelope-from amvandemore@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 712A81ED for ; Sat, 29 Aug 2015 22:03:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by laba3 with SMTP id a3so50753810lab.1 for ; Sat, 29 Aug 2015 15:03:13 -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=mHC3NczRZufglnZdE5W9UaTOGMwRphbBcBXyYTrOFOc=; b=eNgvG4VS8SeDYAm4BP3ze3yK5sthCtfJsUUyAbhdTxUXDKuNqavz66YhxIn7Xm1TCO msgbbpSRE7kG+z4BdsBiVguD4wYAU5Hk6mGi6zkO4At9glyl6pQY0BqC8abW9xnroEOT xwownGr0FgZnkaYYYsnzH9WrllEyDCY4u2f3mnSshkaCVX/RIgmuEQyFsPpIz/MmcLLJ EPHq+WQCZfl8Iiv1R3InAg8198TmhAVTrQ06buBX4EHacL0/tpUm7MzUL956jDvwXUzf /RlGjrR2D+K1Fg9IG+45nqMyVZxlppAz+/IkPAMStTOrkps+dXE2R6/reS7CQEtLNXhc /VGQ== MIME-Version: 1.0 X-Received: by 10.152.207.39 with SMTP id lt7mr2067095lac.88.1440885793415; Sat, 29 Aug 2015 15:03:13 -0700 (PDT) Received: by 10.112.149.201 with HTTP; Sat, 29 Aug 2015 15:03:13 -0700 (PDT) In-Reply-To: <201508292111.t7TLB8vi009215@host203.r-bonomi.com> References: <201508292111.t7TLB8vi009215@host203.r-bonomi.com> Date: Sat, 29 Aug 2015 17:03:13 -0500 Message-ID: Subject: Re: port problems on FreeBSD 8.4 From: Adam Vande More To: Robert Bonomi Cc: "Brian W." , 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: Sat, 29 Aug 2015 22:03:16 -0000 On Sat, Aug 29, 2015 at 4:11 PM, Robert Bonomi wrote: > > Yeah, I know. but _ports_ aren't release-specific > Correct, but they are branch specific and you're on an unsupported branch. -- Adam From owner-freebsd-questions@freebsd.org Sat Aug 29 23:15: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 6E0669C5CB4 for ; Sat, 29 Aug 2015 23:15:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 55145EDF for ; Sat, 29 Aug 2015 23:15:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id 521C79C5CB3; Sat, 29 Aug 2015 23:15:22 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51A849C5CB2 for ; Sat, 29 Aug 2015 23:15:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AE7EEDE for ; Sat, 29 Aug 2015 23:15:21 +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 16BE93CCA0; Sun, 30 Aug 2015 01:15:17 +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 t7TNFGXR003335; Sun, 30 Aug 2015 01:15:16 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 30 Aug 2015 01:15:16 +0200 From: Polytropon To: Robert Bonomi Cc: questions@freebsd.org Subject: Re: port problems on FreeBSD 8.4 Message-Id: <20150830011516.14351f83.freebsd@edvax.de> In-Reply-To: <201508292041.t7TKfXbM097421@host203.r-bonomi.com> References: <201508292041.t7TKfXbM097421@host203.r-bonomi.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, 29 Aug 2015 23:15:22 -0000 On Sat, 29 Aug 2015 15:41:33 -0500 (CDT), Robert Bonomi wrote: > I'm trying to build a bunch of ports on my FreeBSD 8.4 box, and getting > errors I don't understand from the 'make' attempts on aboiut a dozen of them. > e.g. why it is apparently looking for a .gz when the distfile is a .bz2 The ports collection has undergone some significant changes. For example, the compression has been changed from bzip2 to xz. > On the 'etoile-*' ports, I tried modifying Makefile to have "USES= tar:bzip2", > whereupon it complains "can't open Makefile". I'm stumped on what to try next. Probably update to a newer FreeBSD version. 8.4 isn't supported anymore, and the ports infrastructure of that release cannot handle current ports due to different mechanisms (package archiver, pkg, staging, options framework and maybe others). As a side effect, Makefiles also have changed a bit, and probably other involved files, too. > Can somebody see if they can, or more significantly, _cannot_ reproduce these > issues on their system? That way I'll know if it's just _my_ system, or a > real problem in the port. I have a 8.2 system at home (which works), but I cannot update ports, or install software. > Also, when building some ports, I get _scads_ of 'warnings' from compilers -- > the items seem to work ok, but some of the warnings are worrisome -- like when > it claims an 'if' always evaluates true because an unsigned variable is used. Is this a gcc vs. clang thing? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...