From owner-freebsd-questions@freebsd.org Sun Oct 29 03:15:44 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61638E572E9 for ; Sun, 29 Oct 2017 03:15:44 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 37BF568574 for ; Sun, 29 Oct 2017 03:15:43 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from cds143.dcs.int.inet ([10.0.153.165]) by shaw.ca with SMTP id 8e4UemCKmM9gt8e4VeZh6t; Sat, 28 Oct 2017 21:15:36 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20150330; t=1509246937; bh=+g+Xl2t2UtCxiPi5VY7QWLk241wcEvZWi1Xb3tQQqdg=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=nJJvY9zaGY2ew99PXIc1brxRjDGjPPFQD+b+AP1v7FFZk+QASd8pGKtAFkVgF7bwr UYNYMQJcl7Y7Ip6HwLLUGc8HBsKbzd/P6NYsbR3FH8VJv7exPjwUMVHkn5yyevToDU L8L31I8O8FQQFz6nTRpiGBGC4O9YjgrKNQkQPsEUEwARoZ3Z9Z7INxIUpiib62wgxT Kh1xt7fYiJlKw89PKyHdiKgqWMn35+nU6W5FKUXabZcOnvEywy/1MueWmLjr9Vv/gZ YTzEs9yZMkhzCHsupO20C8n6uy3u9ySi6JhFlzYgw8jNw+H34c6UHXg6yPQlBAHF5O WkQySEW5uVEdg== X-Authority-Analysis: v=2.2 cv=a+JAzQaF c=1 sm=1 tr=0 a=/UpIoJrLhaD689zIoPQAHQ==:117 a=FKkrIqjQGGEA:10 a=kj9zAlcOel0A:10 a=x7bEGLp0ZPQA:10 a=8pif782wAAAA:8 a=6I5d2MoRAAAA:8 a=H0h2AnAvEE7qkSl0ao4A:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: Drupal vs. Wordpress From: Dale Scott In-Reply-To: Date: Sat, 28 Oct 2017 21:15:34 -0600 (MDT) Cc: freebsd-questions@freebsd.org Message-Id: References: To: Per olof Ljungmark X-Mailer: Zimbra 8.6.0_GA_1200 (MobileSync - Apple-iPad4C4/1407.60) Thread-Topic: Drupal vs. Wordpress Thread-Index: vpQuMnsEDrVtuLMc5qehjo+nAxyR9Q== X-CMAE-Envelope: MS4wfDJlOS4ChcESKiyWCzHco8tLMLuy2tp9w6xtpmS9fP9F6Q8BFaAiZkM8lFGSynvoynA6ZL7Gf4SPC6Sjj326S3ji9FCYBAZjQZ2Kp/F8Pb7hkJErjOFt 94PrUyDTY96nlAOM8C95vXCTMPRE3CMBexsdRNWqdPHR1nOoXGts69hrXoOWGBe2eU+9GOosFHSRSHuifocVek3lWsmgFTlSdV074Fg+C5QzhWE3rmqwp2Ks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 03:15:44 -0000 Do you have any ulterior or collateral objectives? =46rom a very superficial= view, I'd say install WordPress if you want experience with the world's mos= t popular "website" and potentially get into plugin development. Install Dru= pal if you want experience in a leading website construction framework, and p= otentially get into module development. If you don't know, pick WordPress. Good luck! > On Oct 28, 2017, at 10:41 AM, Per olof Ljungmark wrote: >=20 >> On 2017-10-28 18:02, Carmel NY wrote: >> I am going to be installing either Drupal or Wordpress on my FreeBSD 11.1= >> system. I was wondering if anyone has any specific recommendations. It wi= ll be >> lightly used, at least at first. >>=20 >=20 > They are two very different beasts - your choice would depend on your > experience from CMS's and goal - WP gets you up and running in no time, > after all, it is the most used Open Source CMS by far, but if you need > to build a framework for a specific purpose that requires a lot more > than a simple home page there is no end to choices... many of them are > in ports as well. >=20 > https://en.wikipedia.org/wiki/List_of_content_management_systems >=20 > Let your skills and requirements guide you. >=20 > Good luck, >=20 > //per > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" From owner-freebsd-questions@freebsd.org Sun Oct 29 04:16:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30C6DE58304 for ; Sun, 29 Oct 2017 04:16:11 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id BC55A69E71 for ; Sun, 29 Oct 2017 04:16:10 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-11-215.bras1.adl4.internode.on.net (HELO leader.local) ([121.45.11.215]) by ipmail07.adl2.internode.on.net with ESMTP; 29 Oct 2017 14:46:02 +1030 Subject: Re: When is a FreeBSD port not a port? To: Frank Leonhardt References: <59F314E5.4080306@fjl.co.uk> <520fa3b2-8be7-8141-7e8d-9a60c6d1a1ed@FreeBSD.org> From: Shane Ambler Cc: "freebsd-questions@FreeBSD.org" Message-ID: Date: Sun, 29 Oct 2017 14:46:01 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <520fa3b2-8be7-8141-7e8d-9a60c6d1a1ed@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 04:16:11 -0000 On 27/10/2017 22:46, Matthew Seaman wrote: > On 27/10/2017 12:13, Frank Leonhardt wrote: >> I've written a "few" utilities over the years that I've made available >> in various places, but it might make sense to put them in >> ports/sysutils. However, they were written on BSD and are therefore not >> ports. >> >> Should I submit them anyway (if I find time to clean them up, of >> course)? Or if not, any (polite) suggestions as to where I should put >> them? I don't use GitHub or SourceForge (too old to change my ways, and >> I normally work off-line anyway). >> >> e.g. http://www.fjl.co.uk/free-stuff >> > > By all means, please do submit your FreeBSD specific code as a "port". > There's precedent -- various ports for periodic jobs or other > FreeBSD-ish things. We aren't hung up on the precise meaning of "ports" > -- it's really a collection of software handily prepared to compile > easily and (increasingly so over time) be made available as pre-compiled > binary packages. The ports and packages system installs and manages software that is not provided by the base system. It is really about simplifying the process of downloading, building and installing available software. The name may have originated based on the idea of "porting" software to run on freebsd but it has grown to be more than that now. You may notice that a lot of software in the ports tree does not need patches to run on freebsd, so many ports are not "ported" to freebsd, just installed. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Sun Oct 29 07:17:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE8A9E5BF71 for ; Sun, 29 Oct 2017 07:17:37 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [IPv6:2607:f740:c::4ae]) (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 9B66E6F08D for ; Sun, 29 Oct 2017 07:17:37 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from chombo.houseloki.net (c-73-240-250-185.hsd1.or.comcast.net [73.240.250.185]) by echo.brtsvcs.net (Postfix) with ESMTPS id 864BC3912D; Sun, 29 Oct 2017 00:17:31 -0700 (PDT) Received: from [IPv6:fe80::7102:4df8:1f13:5c55] (unknown [IPv6:fe80::7102:4df8:1f13:5c55]) by chombo.houseloki.net (Postfix) with ESMTPSA id 2D99212A1; Sun, 29 Oct 2017 00:17:30 -0700 (PDT) Subject: Re: When is a FreeBSD port not a port? To: Frank Leonhardt Cc: "freebsd-questions@FreeBSD.org" References: <59F314E5.4080306@fjl.co.uk> <520fa3b2-8be7-8141-7e8d-9a60c6d1a1ed@FreeBSD.org> From: Mel Pilgrim Message-ID: Date: Sun, 29 Oct 2017 00:17:31 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 07:17:37 -0000 On 10/28/2017 21:16, Shane Ambler wrote: > On 27/10/2017 22:46, Matthew Seaman wrote: >> On 27/10/2017 12:13, Frank Leonhardt wrote: >>> I've written a "few" utilities over the years that I've made available >>> in various places, but it might make sense to put them in >>> ports/sysutils. However, they were written on BSD and are therefore not >>> ports. >>> >>> Should I submit them anyway (if I find time to clean them up, of >>> course)? Or if not, any (polite) suggestions as to where I should put >>> them? I don't use GitHub or SourceForge (too old to change my ways, and >>> I normally work off-line anyway). >>> >>> e.g. http://www.fjl.co.uk/free-stuff >>> >> >> By all means, please do submit your FreeBSD specific code as a "port". >> There's precedent -- various ports for periodic jobs or other >> FreeBSD-ish things. We aren't hung up on the precise meaning of "ports" >> -- it's really a collection of software handily prepared to compile >> easily and (increasingly so over time) be made available as pre-compiled >> binary packages. > > The ports and packages system installs and manages software that is not > provided by the base system. It is really about simplifying the process > of downloading, building and installing available software. > > The name may have originated based on the idea of "porting" software to > run on freebsd but it has grown to be more than that now. You may notice > that a lot of software in the ports tree does not need patches to run on > freebsd, so many ports are not "ported" to freebsd, just installed. Alternately, if you feel this is a tool only you would use, but still want to use the Ports Tree, pkg, poudriere, etc. to manage or deploy the tool, you can locally extend the ports tree. From owner-freebsd-questions@freebsd.org Sun Oct 29 09:03:36 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FD2BE5E3C9 for ; Sun, 29 Oct 2017 09:03:36 +0000 (UTC) (envelope-from aynuxsakura@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 16ED4721D7 for ; Sun, 29 Oct 2017 09:03:36 +0000 (UTC) (envelope-from aynuxsakura@gmail.com) Received: by mail-io0-x233.google.com with SMTP id 189so20979188iow.10 for ; Sun, 29 Oct 2017 02:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+OWjLWvtidVK3aFaTp6hJdMutgbuA3JJygV5FZlOefM=; b=otALNNKxcjCYI2DU+gASaXStrLirKvB0WTXRu9wHSFpal4iBncJXOJIgNmJARMZi3c YaGhkEX/vqXGEuKco03CsgnQnAci1JKA9AaMBsp101+2iMgJuMNYG0J+n97HDUnBPM1f XTKcoCXp/jFrzF7Yr0pkea1z2xLUM+X/YZ0ArJSlwLvd8A1MZw2FFYTHbZnZOwROHDCN VR92RH9La689bygG1dvjKUyQMyNqm4SGALQ9MYi5a3XqbM9r1sMndZoYD3XpXxIio2qc CKhxp6nYjt3JS/PO9IOc2bQpqe9+puUKJb6DYf+cSWXQFD0c3SW1wYjCUbl0LCdhoTAW wOhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+OWjLWvtidVK3aFaTp6hJdMutgbuA3JJygV5FZlOefM=; b=lbjfxab4Lglctmp5WSeGw3N+yUDd4L6KU8pco4BwtrgiD4o2gAIo3RfWjgGPkF4lsd XaV4jFBvGTzC+N3fLbffKyFISErU4Uu6AjIWqH9i3RWoeEw9ZAoKxGgxJe30NQldPaF8 8FtjyK/D7BXRJ8PaqsUIkT95zJNIVdYDK+WDpct54Lzs7iZ9GwvqkQx3+TtZ/qnSk8i3 wJE1hVUMs+iLKWSEWREcsOLlu7ICx9PvWXXKqlioeeCnAFWLkO9Zlv2Zt+JcxYdiRhrx NZuDV9tHASNA4d7DfEW2PoF6GXrGLWA4tzaiBlzQqJTpDUiSPQmCWxHaggZSuheZU8CU j2FQ== X-Gm-Message-State: AMCzsaVmYRdkhe4C4dXep/zypEyt38Xd4Wjp+kVda2XscOSFTofIV2Tt XqVXxPSXROX9WsCcd3VSSelXE5PFwUIg8yKvAaFwyQ== X-Google-Smtp-Source: ABhQp+TaWClZAPT8l5CwTB3yzlWWG44uDCJEXbB4fzfYI96kaLEsRBNSAcZutF7QZvTrSKn2REfFN11haxBdxob2iok= X-Received: by 10.107.142.6 with SMTP id q6mr6626436iod.29.1509267815396; Sun, 29 Oct 2017 02:03:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.3.69 with HTTP; Sun, 29 Oct 2017 02:03:34 -0700 (PDT) From: =?UTF-8?B?6aKc5Z+65bG5?= Date: Sun, 29 Oct 2017 17:03:34 +0800 Message-ID: Subject: FreeBSD Kernel Question To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 09:03:36 -0000 Hello! I would like to know how to provide an API in the kernel space to user space.Such As 'printf'. Thank you. From owner-freebsd-questions@freebsd.org Sun Oct 29 10:11:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E510BE5F7A3 for ; Sun, 29 Oct 2017 10:11:52 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 740A474233 for ; Sun, 29 Oct 2017 10:11:52 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:9983:5355:d9d6:f6f3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 671B01FE3 for ; Sun, 29 Oct 2017 10:11:43 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: FreeBSD Kernel Question To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: <02ca2e5c-c604-2182-3e05-dcda3cdfb4db@FreeBSD.org> Date: Sun, 29 Oct 2017 10:11:35 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1uSg05g7XguwjxLRjfmxFAd4g3M0j55bF" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 10:11:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1uSg05g7XguwjxLRjfmxFAd4g3M0j55bF Content-Type: multipart/mixed; boundary="QHHL2GAV7n6AmopF4lPKItO7WUWK260ta"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <02ca2e5c-c604-2182-3e05-dcda3cdfb4db@FreeBSD.org> Subject: Re: FreeBSD Kernel Question References: In-Reply-To: --QHHL2GAV7n6AmopF4lPKItO7WUWK260ta Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 29/10/2017 09:03, =E9=A2=9C=E5=9F=BA=E5=B1=B9 wrote: > Hello! I would like to know how to provide an API in the kernel space = to > user space.Such As 'printf'. How to do this depends very much on the specifics of what you want to do.= If what you want is to expose some kernel memory structure or data so that it can be queried from userland, then a common mechanism is sysctl(3). There are also mechanisms commonly used for debugging and performance monitoring, such as dtrace(1) and pmcstat(8). You can also log events via syslog or by writing to the kernel message buffer -- see dmesg(8). Otherwise, look at devd(8) and devctl(4) for a mechanism to trigger actions in userland when certain kernel events happen, such as plugging in a new device. The best place to get answers for these sort of questions about kernel development is the freebsd-hackers@freebsd.org mailing list, as that will come to the attention of many of the kernel developers. Cheers, Matthew --QHHL2GAV7n6AmopF4lPKItO7WUWK260ta-- --1uSg05g7XguwjxLRjfmxFAd4g3M0j55bF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZ9alfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATxfcQAKR1+C3UzqYJKoKOsntDqgX2 FNxD5opNCI5v6RoBfe+nH9Q6G84brBkBZSx7mWbyB8PtzZOW7oNFQpwWzpJVycTk NKYIwVLFxBn1Wo2zEBgtVYzEW+UwqWq80xq+2l/KTNs9TV5xPXk1+9R62MenyDbq jTXknpAWSFCnhlgd9bBN5E6N5mkSeGLZ1dclDGGtASzFh0o8LFYbATCtzqdl2Fyo UCM9m0I7G+sUYMxFa7mTMDFbDlVTyZcjQyZKvNj9mpyybq5uYZaSjlRRJY8AsR0a H3VdRxhOZu7e/6nGQfI85T0ex9Yt68Y7AhrrCLxcrBu1j6L3KhFw5QPPzj5/Jk5f sc3eqVZ9xudHblfzmc6QVVwtdlHNj1LUHbmeWMRWVzRJahK+Q7y1CF/gGPBreEUZ xIcM5rKDcJjoewsoiyV/l2SXFhXL5RZ7AoeUUN8sYdZu+srhl2iQFh902TdloFFt NXzRT3JUyWhYmCyoxp+YAbJ5umL+9mmFIHgakZYyDOj19TA52xpIHyxkeOdRE3aX obi8E/RSDSOwpIeqpDhpXiqAgc+GD3iVphqlrc9WSaGCS2PXU4Aa4ge+pCI64sWy gB4TzZne79hchn9nlpKxLffIgvnSuYZ3klKURdaJHX82LRE+kk2jjcc+h153mGvb f/Wytj2WVRYTX6EhJ7Ja =oZMA -----END PGP SIGNATURE----- --1uSg05g7XguwjxLRjfmxFAd4g3M0j55bF-- From owner-freebsd-questions@freebsd.org Sun Oct 29 13:50:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63DF9E63DE5 for ; Sun, 29 Oct 2017 13:50:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D0A157E882 for ; Sun, 29 Oct 2017 13:50:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Sun, 29 Oct 2017 14:50:24 +0100 Received: from r56.edvax.de (port-92-195-74-193.dynamic.qsc.de [92.195.74.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 63E9F3CBF9; Sun, 29 Oct 2017 14:50:22 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9TDoLc4002049; Sun, 29 Oct 2017 14:50:21 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 29 Oct 2017 14:50:21 +0100 From: Polytropon To: =?UTF-8?B?6aKc5Z+65bG5?= Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Kernel Question Message-Id: <20171029145021.00d5e829.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=UTF-8 Content-Transfer-Encoding: 8bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with 9F7666A357B X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1469 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 13:50:34 -0000 On Sun, 29 Oct 2017 17:03:34 +0800, 颜基屹 wrote: > Hello! I would like to know how to provide an API in the kernel space to > user space.Such As 'printf'. To be precise, printf() isn't a kernel interface, it's a library function (of the system's C library). The kernel equivalent would probably be the system call write(). See "man 2 write" and "man 3 printf" for details. If you want to add a mechanism that deals with kernel structures and functions from user space, I'd suggest having a look at the source code of the system C library. You can implement you own API in a similar way. But you can also add a new system call; extend the system call table and add your own code to the kernel. The kernel source is a good place to learn how to do this. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Oct 29 21:57:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A873EE4D830 for ; Sun, 29 Oct 2017 21:57:15 +0000 (UTC) (envelope-from bounce+af580e.67c991-freebsd-questions=freebsd.org@efers.org) Received: from mail-s74.mailgun.info (mail-s74.mailgun.info [184.173.153.202]) (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 788F86887F for ; Sun, 29 Oct 2017 21:57:14 +0000 (UTC) (envelope-from bounce+af580e.67c991-freebsd-questions=freebsd.org@efers.org) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=efers.org; q=dns/txt; s=smtp; t=1509314233; h=Content-Type: MIME-Version: Message-ID: Date: Subject: To: From: Sender; bh=HpQaun1qkyMpbCze5MlpsV4IVbB5I4hANp9NLkzs4sk=; b=Av2xQPDLsqpQEtqnj8GVhCmt2H7JLL32It3ocHp8bZE9soAkWYVKure1VkB178w3MTdH1XTe cHSTO6hzug3OFVIAyIdUWF+lSX/psKimFkbP1oCGbT3HVJWkao4r5pUP5/8iMosow6n/jolr 7oI7oVO8ZU3sEufldjAXvA2NPck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=efers.org; s=smtp; q=dns; h=Sender: From: To: Subject: Date: Message-ID: MIME-Version: Content-Type; b=tzqgciqrGYE9HG4GtVDx3PaJJkS0GzTwHJOfg8BMERHzsaDa3E01KTxz/jFUKLmzvvBTcf nGFbpJ+B1oocG/6iO4Ltven4oKehf6AL2CDcKkRgX5LcaHZTVB3+0OSwHicmc0HGHeqcDWCY s+YWSox5Ae2ivsihH0qaYOnEYK4DY= Sender: sch=efers.org@efers.org X-Mailgun-Sending-Ip: 184.173.153.202 X-Mailgun-Sid: WyJmZDczYyIsICJmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyIsICI2N2M5OTEiXQ== Received: from scha.efers.org (Unknown [50.38.122.132]) by mxa.mailgun.org with ESMTP id 59f64d86.7f1910029340-smtp-out-n03; Sun, 29 Oct 2017 21:52:06 -0000 (UTC) From: Adam Schaefers To: FreeBSD Questions Subject: Rootless Xorg? Date: Sun, 29 Oct 2017 14:52:04 -0700 Message-ID: <868tftlj0b.fsf@scha.efers.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 21:57:15 -0000 How difficult is it to configure a rootless Xorg? I am a relative newcomer, coming from an Arch Linux background. Rootless Xorg is default over there, but apparently not in FreeBSD. Interestingly, a google search turned up for me that OpenBSD was on of the first *nix's to implement rootless Xorg, even before Arch did. And I'm a little surprised FreeBSD doesn't seem to have it yet. How difficult would it be to make this transition? Thanks! From owner-freebsd-questions@freebsd.org Mon Oct 30 01:47:32 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B1A0E5149A for ; Mon, 30 Oct 2017 01:47:32 +0000 (UTC) (envelope-from rami.shibli@posteo.net) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAF2A6E5DA for ; Mon, 30 Oct 2017 01:47:31 +0000 (UTC) (envelope-from rami.shibli@posteo.net) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9B6FC20C0C for ; Mon, 30 Oct 2017 02:47:23 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3yQHRG1pVbzyrG for ; Mon, 30 Oct 2017 02:47:21 +0100 (CET) To: freebsd-questions@freebsd.org From: Rami Shibli Subject: Update Jail base binaries Message-ID: <3b5d8677-e6da-845a-b208-5d7f9d93381c@posteo.net> Date: Mon, 30 Oct 2017 12:47:19 +1100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Content-Language: en-AU MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 01:47:32 -0000 From owner-freebsd-questions@freebsd.org Mon Oct 30 01:48:53 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B67CE516F8 for ; Mon, 30 Oct 2017 01:48:53 +0000 (UTC) (envelope-from rami.shibli@posteo.net) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23E2A6E72F for ; Mon, 30 Oct 2017 01:48:52 +0000 (UTC) (envelope-from rami.shibli@posteo.net) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id EABF220C0C for ; Mon, 30 Oct 2017 02:48:50 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3yQHSx4RmVzyZZ for ; Mon, 30 Oct 2017 02:48:49 +0100 (CET) Subject: Update Jail base binaries From: freebsd@posteo.co To: freebsd-questions@freebsd.org References: <3b5d8677-e6da-845a-b208-5d7f9d93381c@posteo.net> Message-ID: <7da8f9db-94c3-6f76-9345-1a44a40418ca@posteo.net> Date: Mon, 30 Oct 2017 12:48:47 +1100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 In-Reply-To: <3b5d8677-e6da-845a-b208-5d7f9d93381c@posteo.net> Content-Language: en-AU MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 01:48:53 -0000 From owner-freebsd-questions@freebsd.org Mon Oct 30 05:43:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EF54E54A01 for ; Mon, 30 Oct 2017 05:43:38 +0000 (UTC) (envelope-from alphachi@mediaspirit.org) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::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 40FD27497C for ; Mon, 30 Oct 2017 05:43:37 +0000 (UTC) (envelope-from alphachi@mediaspirit.org) Received: by mail-oi0-x235.google.com with SMTP id h200so20152038oib.4 for ; Sun, 29 Oct 2017 22:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediaspirit-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=ACB1khFMm4slOTImMeSnqIdgeHqjTh5uIfwTug5o5ZY=; b=Tr+36MpfoUzqETUtJtcZrjbQ8o+zqBgomt/H//+F8qyy/YmP09hgNKwA/b7IlFNCc7 4qPvLfVm2a22vARKdX3KtccptlQawVLlJm69thzyDiFcUpCnG2sEC12iKQQQ/eWjcXDb QIarMB6QjqIYiMpup7KfA2BV73QDn+nmi6lbYnUMUqEcs3y1jFRXDS/E959+3R5d6bjb 87KXfwYxI0nMQNLtYf/BFKziyeKsTuG2mm+jtMDz3MljxLDXdhDpvua1FAZO06w9c1Ig fBE/4uriPHRU/TMrf6KjbvA4GTEmymYIraLX7hpaPKfOMXe1IySrKPQxCR13C1fQml1t riXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=ACB1khFMm4slOTImMeSnqIdgeHqjTh5uIfwTug5o5ZY=; b=R88NN+e84NtmYnSwo3W8ZstYiIYpuU5Xb6+X/1qCJDvjFrppR/pcVGJnTYGutaTdNk Ptexv+dGdZIkVzUQ23yfW6+zflICYPBJfy84u7BEvKPw5Zjt9sTUcjMVJKFXvRpUoU1d VjZdPhirlFIzhbK/Oqvm5+eZckDkPBauZCjcH1rbMAda8bXD5ypXMD0h0DdxQ1Bc1aBz Ira/KNsb3iasTl4Os//+KYrOjDWTcBlsyZuGGiqqOuLVnvAb4jw/zjCA/xyrIoVz5VLX mPc9iSC3X6PIWv7Zt/KhmxFbVJ1guAhc1WFIr1cyAGphHlfUmSGfEfQL9VfKx4VF22// EMdw== X-Gm-Message-State: AMCzsaWmLpsly70nJMMK8DK+elb6Ld7ET180LjfxGyo+/ykt3/GT27g1 8ebfstMTPOVPuJ27UkidqDwbrksb8izIgN2ATW9HAKTN X-Google-Smtp-Source: ABhQp+QoL1zPAWVSoetlzSI0zeET4lxlBTLnKaT8Qrk6z6tjjxOC3nFnhuuMFDThZLwGb/ixEw/eavLmVbCsJjbkwt0= X-Received: by 10.157.40.114 with SMTP id h47mr5286836otd.271.1509342216866; Sun, 29 Oct 2017 22:43:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.30.129 with HTTP; Sun, 29 Oct 2017 22:43:36 -0700 (PDT) From: alphachi Date: Mon, 30 Oct 2017 13:43:36 +0800 Message-ID: Subject: Re: accessing HP iLO virtual console To: julien@perdition.city, Per olof Ljungmark Cc: "list: freebsd" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 05:43:38 -0000 Although Firefox Java plugin is dying, javaws in java/linux-oracle-jre18 still can be used to connect iLO. You just need to download the .jnlp file from https:// and run "[env LANG=3Den_US.UTF-8] javaws=E2=80=8B *.jnlp". 2017-10-21 18:53 GMT+08:00 Per olof Ljungmark : > > Quoting Julien Cigar : > > Hello, >> >> I used to access the iLO virtual consoles of my HP servers through the >> web interface and the JVM plugin.. Now that JVM is slowly dying and >> unsupported by latest Firefox release I'm wondering how to access the >> Virtual Serial Console through SSH ..? >> >> After $> ssh my.ilo.host I'm issuing: >> hpiLO-> textcons >> but I'm getting a: "Monitor is in graphics mode or an unsupported text >> mode." (I guess it's some sort of incompatibility with vt..) >> I also tried: >> hpiLO-> VSP >> >> Virtual Serial Port Active: COM1 >> >> Starting virtual serial port. >> Press 'ESC (' to return to the CLI Session. >> >> .. and then it freezes.. >> >> > Are you sure COM1 is appropriate? All I have seen is on COM2, I think the > Proliant's are shipped with that port as the standard virtual. //per > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe > @freebsd.org" > --=20 Paranoid in Sabbath ... From owner-freebsd-questions@freebsd.org Mon Oct 30 05:47:55 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 778CBE54AE8 for ; Mon, 30 Oct 2017 05:47:55 +0000 (UTC) (envelope-from alphachi@mediaspirit.org) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003: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 35C6A74A72 for ; Mon, 30 Oct 2017 05:47:55 +0000 (UTC) (envelope-from alphachi@mediaspirit.org) Received: by mail-oi0-x22c.google.com with SMTP id g125so20132347oib.12 for ; Sun, 29 Oct 2017 22:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediaspirit-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yoOUoYskOs0JNFW0NNgnHfVbKPOq2AFFUF1Dm8FIiMA=; b=evaKxQMay/caod35KHMfK62YB6Bb7C38CfOzqeqdaOMw/YhdJEkdZqTM2kHb3M28fF V4hjyen2O+JubFvEKxod5mCgfvC1S3kWsCvS1FV969ps7Q904j86WJU70ytvB7tbh7A1 NFWzRmKDkZpexTM1YN16o9Do7Eg6wXo8M26S1GYz9kuvViSIzbpKjGK15K7qKJqugkN5 05b3DQ45KMBEI0JuiBQehlG+DKGbw5gJwifgGcW/yPHlt2Azv4rHw7Tfc9jJZdT2tYxu 3+qVFPQ3v+LuCX2Zujja6bSQv57N7TRPJBA/eL+Er8zA6EjtI7B+v7PjXzgq4GHwdgam nkeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yoOUoYskOs0JNFW0NNgnHfVbKPOq2AFFUF1Dm8FIiMA=; b=MilaNoHEKs8202bG10+XCPjADps6o+ZKuPaOfVaIl3MPgJiN6dCv1t7zeNcUN3KLBH bxtc4Jm/JJWAROkTFCmQgem5/0x+zJBTDMajaIeXB22mYsbAXP1294NfaS913+iKK4Gm LxcaXbQRmpAkNZjvYK2Cx0PtbGvr6pXZdTMxI0kMNZ6Fywb7ybk4b6361eE5Rz3GK9oA FmO62+KEjyCHcfompV/XUKt6inVpe3fxOyXLbnLrO2hzTz2/HeN1OG574g7KKHrpfpfz zno6l4UFGRDbCpvNhL4nupJIfvt3ecCsD8zKQ34EiLxLy66Q3gOhEVLJnx9r9Fz2W5Y9 BqnQ== X-Gm-Message-State: AMCzsaXnHCZtEPVCK17S+q1HkU5yaSPUTSmkIva+kdNNeVXxbXMGueut wAGv2bRsirMSX0igJdxGYyCIJjHZk8x+gaF852iCwAtuKds= X-Google-Smtp-Source: ABhQp+SzyHcRdCJXTN4+m2fZtk3w2pd+mH3WQYbR+KED0L07fn+dL8y8W82vEzmDmlB9JdvefNAwnGuwevhQfFr/jsw= X-Received: by 10.157.66.138 with SMTP id r10mr5205190ote.350.1509342474171; Sun, 29 Oct 2017 22:47:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.30.129 with HTTP; Sun, 29 Oct 2017 22:47:53 -0700 (PDT) In-Reply-To: <20171021125312.Horde.dhjBrZqDcg7ydbKkS_Wc0ma@webmail.nethead.se> References: <20171020103216.GC1393@mordor.lan> <20171021125312.Horde.dhjBrZqDcg7ydbKkS_Wc0ma@webmail.nethead.se> From: alphachi Date: Mon, 30 Oct 2017 13:47:53 +0800 Message-ID: Subject: Re: accessing HP iLO virtual console To: julien@perdition.city, Per olof Ljungmark Cc: "list: freebsd" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 05:47:55 -0000 Although Firefox Java plugin is dying, javaws in java/linux-oracle-jre18 still can be used to connect iLO. You just need to download the .jnlp file from https:// and run "[env LANG=en_US.UTF-8] javaws *.jnlp". 2017-10-21 18:53 GMT+08:00 Per olof Ljungmark : > > Quoting Julien Cigar : > >> Hello, >> >> I used to access the iLO virtual consoles of my HP servers through the >> web interface and the JVM plugin.. Now that JVM is slowly dying and >> unsupported by latest Firefox release I'm wondering how to access the >> Virtual Serial Console through SSH ..? >> >> After $> ssh my.ilo.host I'm issuing: >> hpiLO-> textcons >> but I'm getting a: "Monitor is in graphics mode or an unsupported text >> mode." (I guess it's some sort of incompatibility with vt..) >> I also tried: >> hpiLO-> VSP >> >> Virtual Serial Port Active: COM1 >> >> Starting virtual serial port. >> Press 'ESC (' to return to the CLI Session. >> >> .. and then it freezes.. >> > > Are you sure COM1 is appropriate? All I have seen is on COM2, I think the > Proliant's are shipped with that port as the standard virtual. //per > > _______________________________________________ > 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" -- Paranoid in Sabbath ... From owner-freebsd-questions@freebsd.org Mon Oct 30 07:37:10 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F795E56528 for ; Mon, 30 Oct 2017 07:37:10 +0000 (UTC) (envelope-from freebsd@posteo.co) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31C3677C2B for ; Mon, 30 Oct 2017 07:37:09 +0000 (UTC) (envelope-from freebsd@posteo.co) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9661B20A85 for ; Mon, 30 Oct 2017 08:37:06 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3yQRBn4thwzysT for ; Mon, 30 Oct 2017 08:37:05 +0100 (CET) MIME-Version: 1.0 Date: Mon, 30 Oct 2017 18:37:05 +1100 From: Rami To: freebsd-questions@freebsd.org Subject: Re: Update Jail base binaries Reply-To: freebsd@posteo.co Mail-Reply-To: freebsd@posteo.co In-Reply-To: <7da8f9db-94c3-6f76-9345-1a44a40418ca@posteo.net> References: <3b5d8677-e6da-845a-b208-5d7f9d93381c@posteo.net> <7da8f9db-94c3-6f76-9345-1a44a40418ca@posteo.net> Message-ID: <868a4dc2d629f410cd2531d07ce725b5@posteo.net> X-Sender: freebsd@posteo.co User-Agent: Posteo Webmail Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 07:37:10 -0000 Hi everyone, I have an issue which I got aware of by accident couple of days ago while I was upgrading a port in the jail. I have a jail created using ezjail and running Gitea port in it. The host system was back then 11.0. Recently Gitea got updated so after upgrading the installed port in the jail, the service started complaining as below ~ # service gitea start daemon: illegal option -- S usage: daemon [-cfr] [-p child_pidfile] [-P supervisor_pidfile] [-t title] [-u user] command arguments ... After a bit of investigating we figured out that the binaries in the jail are behind the host (and the jail kernel release). please check below (note I updated the host using freebsd-update and the jail using ezjail-admin update -u) The jail where the gitea is running # freebsd-version 11.1-RELEASE-p2# uname -a #uname -a FreeBSD git.jail 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1 #0: Wed Aug 9 11:55:48 UTC 2017 _ROOT@AMD64-BUILDER.DAEMONOLOGY.NET_:/usr/obj/usr/src/sys/GENERIC amd64 # sha256 /usr/sbin/daemon SHA256 (/usr/sbin/daemon) = 2f1d9b434cae89c67aefa9798b87fd97bcde2f70b2ba0140b7052ae6536aaf8a # /usr/sbin/daemon _USAGE: DAEMON [-CFR] [-P CHILD_PIDFILE] [-P SUPERVISOR_PIDFILE]_ [-T TITLE] [-U USER] COMMAND ARGUMENTS ... The host ~ % freebsd-version 11.1-RELEASE-p2~ % #uname -a _FREEBSD SERVER-LINODE-1-GIT 11.1-RELEASE-P1 FREEBSD 11.1-RELEASE-P1 #0: WED AUG 9 11:55:48 UTC 2017 __ROOT@AMD64-BUILDER.DAEMONOLOGY.NET__:/USR/OBJ/USR/SRC/SYS/GENERIC AMD64_~ % sha256 /usr/sbin/daemon SHA256 (/usr/sbin/daemon) = 2b029a5c274c6292870caf35470041c2553b768346bb001c97d447877bc9caf5~ % /usr/sbin/daemon _USAGE: DAEMON [-CFRS] [-P CHILD_PIDFILE] [-P SUPERVISOR_PIDFILE]__ [-U USER] [-O OUTPUT_FILE] [-T TITLE]__ [-L SYSLOG_FACILITY] [-S SYSLOG_PRIORITY]_ [-T SYSLOG_TAG] [-M OUTPUT_MASK] _COMMAND ARGUMENTS ..._ I will always update the jails using # ezjail-admin update -u and the ports _# ezjail-admin update -P So it seems the kernel been updated yet not the binaries.... can anyone please advise me to what is the best way to keep the whole system kernel, base, and ports up to date in the jail (and keep the base binaries and kernel match the same release) Thanks so much Rami From owner-freebsd-questions@freebsd.org Mon Oct 30 13:20:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 118CDE5CD6F for ; Mon, 30 Oct 2017 13:20:27 +0000 (UTC) (envelope-from olivares14031@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 BD0B82A22 for ; Mon, 30 Oct 2017 13:20:26 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-vk0-x233.google.com with SMTP id t184so8055684vka.6 for ; Mon, 30 Oct 2017 06:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Z/W2Oqk29Jbx2hFfJhZhHIyL2+2aO7qLDFsG5v+btcg=; b=TJRw6bzrH/5vEJAmZjlREeIk/g4TjwbPa0PAZu7ZNsPEVFBYW4MqMdTOXxbADLaffk BbQmuI0xTIJEbOXmQ5OUM5nKlUiBGkxYd3SnCknrISUA370KgnqBjkbAF1uIb2xY7+z0 a1gHkgTp00r4ohRDV7jMdnszBvd4eOKqJyOqpSDYx5HAEBgaC3P5eY+A8bCzok7KsQXE Yy25FVXJFtdi1+wL0f/QsqLkwtwu/5qMoUtlMbusts97ox8DZgArB5ld8ljZOlFuOyKu 3l1jRCAi2kLkz6J9zXagmy/eWpNis2KwIv2u5TlakT+/f41+bu1jhK02aoa0MvBXgpnd 1Qog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Z/W2Oqk29Jbx2hFfJhZhHIyL2+2aO7qLDFsG5v+btcg=; b=Udb3pUiqc9iUhSJb/IBIqK6DcgrFukG7aSJ96aeETLRUpsaF1pGrXQrH65Dhba7RuT Pe8irnrEA+3q0LxiY8Sd+w8lz7lOzrkhO7XzmeL9FgdCIseeY5xn1AyuYwznfC95lE0Q 6OCWoyc2ccAg8DmS3YwZrxWtHMxJwg2iX8XjFU8e9vLAUxGOdmWO0oAmZlvOhOg3/bKu bkRLDX5/gN2YZEBZP75varUKohzB3C2KSmb/jbRnepab6e+Usz6YoFw0CevGVvJhzTsW UrPx+Bx6UeN42/+bB50Ihevlynv3JwPkt11jiGeeg6ifclIjfMdyER4Y6+yz8132qYTb Tm5g== X-Gm-Message-State: AMCzsaWkqwFXoCzZ7KreFzQhSOUHVaQnCXAJ1jgsvNGPsNw0W3DJ9K+W XgvK6z6Vip/dIYqz0q868m8BBvG41xAQ5g1t99/8YA== X-Google-Smtp-Source: ABhQp+QUBOBVUV8gPAaKs36I7uGe5i90h7fSBkDKN9yyMMRPtgRf2LR6dsUv99VigNASx4Da4emyMS+/XGSLxcIZEfU= X-Received: by 10.31.33.3 with SMTP id h3mr6967233vkh.125.1509369625577; Mon, 30 Oct 2017 06:20:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Mon, 30 Oct 2017 06:20:25 -0700 (PDT) In-Reply-To: <20171027035803.14dca7c9.freebsd@edvax.de> References: <20171026215855.67642f40.freebsd@edvax.de> <20171027035803.14dca7c9.freebsd@edvax.de> From: Antonio Olivares Date: Mon, 30 Oct 2017 08:20:25 -0500 Message-ID: Subject: Re: autologin from console not working on FreeBSD-11.1p2 To: Polytropon Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 13:20:27 -0000 On Thu, Oct 26, 2017 at 8:58 PM, Polytropon wrote: > On Thu, 26 Oct 2017 20:35:55 -0500, Antonio Olivares wrote: >> On /etc/ttys I have in ttyv0 and changed Pc to Al. And the entry in >> /etc/gettytab is the placed at the very end of the file. >ttyv0 "/usr/libexec/getty Al" xterm on secure > That is correct. > > >ttyv0 "/usr/libexec/getty Al" xterm on secure >> In one machine it >> has xterm , while the older 9.2* machine has cons25 as I just copied over. >> Maybe something changed? > > Yes. The default "text mode" (basically gone with the sc -> vt move) > now is xterm. > > > >> I will add the tc part over and see if it works on >> Monday. > > As you can see from "man gettytab", tc is "table continuation", > and from a working example I think this should be included. > > > >> I will have workshop tomorrow and may not get a chance to check if >> adding the tc part makes it work. I am using shell $ sh and have >> ~/.xinitrc and ~/.profile are correct with the test if console then startx >> and that works. > > According to "man sh", using ~/.profile is the correct approach. > > As you're probably not going to interact with /bin/sh much (as > it is the default scripting shell, not the default dialog shell), > it probably doesn't matter as all you need is something to bring > up X with a desktop environment. > > > >> Just that I am getting password prompt. I login to shell >> then startx, using lumina desktop. > > The problem probably is with the gettytab entries. Check them > when you can, and compare with the solution mentioned. It is > of course possible that during the course of FreeBSD development, > things have changed in a way that it doesn't work anymore... :-/ > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... now adding the "tc=pc' part after al=olivares:tc=Pc did the job. It automatically logins as the other machines. As always thank you for your help. in /etc/ttys I changed Pc to Al as follows: ttyv0 "/usr/libexec/getty Al" xterm on secure in /etc/gettytab: # log me in automatically A|Al|Autologin console:\ ht:np:sp#115200:al=olivares:tc=Pc: and it now works. Best Regards, Antonio From owner-freebsd-questions@freebsd.org Mon Oct 30 13:26:17 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC215E5CF75 for ; Mon, 30 Oct 2017 13:26:17 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 72AD52DB6 for ; Mon, 30 Oct 2017 13:26:16 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.154.179.141] ([85.255.236.113]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v9UDQ4QE029075 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Mon, 30 Oct 2017 13:26:06 GMT (envelope-from frank2@fjl.co.uk) User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: Drupal vs. Wordpress From: "Frank Leonhardt (m)" Date: Mon, 30 Oct 2017 13:25:42 +0000 To: FreeBSD , Carmel NY Message-ID: <6513DCC1-2044-4E78-9862-F15292E0D9DC@fjl.co.uk> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 13:26:17 -0000 On 28 October 2017 17:02:02 BST, Carmel NY wrote: >I am going to be installing either Drupal or Wordpress on my FreeBSD >11.1 >system. I was wondering if anyone has any specific recommendations. It >will be >lightly used, at least at first. I use both, plus Joomla (Add this to the list). And ovet the years I've looked after a lot of web developers using all three. Web developers are a superstitious lot and have a lit of opinions on software they DON'T use. WordPress is good for blogs. Most other stuff is better in Joomla or Drupal, both of which also do blogs but not nearly as heavily. Of the other two, I prefer Drupal. It's cleaner. It has fewer add-ons, but those that do exist are generally better written. If you need a particular add-in and don'Z want to write it, choose the CMS that has it. A lot of people believe Drupal is harder to set up and/or use. I really don't see that myself - possibly folklore based on early version. If you are going the shop site route, look at ZenCart. -- Sent from my Cray X/MP with small fiddling keyboard. From owner-freebsd-questions@freebsd.org Mon Oct 30 14:12:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96933E5DF73 for ; Mon, 30 Oct 2017 14:12:37 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FB6C63C41 for ; Mon, 30 Oct 2017 14:12:36 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.154.179.141] ([85.255.236.113]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v9UECWTV038954 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Mon, 30 Oct 2017 14:12:35 GMT (envelope-from frank2@fjl.co.uk) User-Agent: K-9 Mail for Android In-Reply-To: References: <59F314E5.4080306@fjl.co.uk> <520fa3b2-8be7-8141-7e8d-9a60c6d1a1ed@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: When is a FreeBSD port not a port? From: "Frank Leonhardt (m)" Date: Mon, 30 Oct 2017 14:12:12 +0000 CC: "freebsd-questions@FreeBSD.org" Message-ID: <845529D2-2EAB-4462-B9EA-7A3BFF0A185A@fjl.co.uk> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 14:12:37 -0000 On 29 October 2017 07:17:31 GMT+00:00, Mel Pilgrim wrote: >On 10/28/2017 21:16, Shane Ambler wrote: >> On 27/10/2017 22:46, Matthew Seaman wrote: >>> On 27/10/2017 12:13, Frank Leonhardt wrote: >>>> I've written a "few" utilities over the years that I've made >available >>>> in various places, but it might make sense to put them in >>>> ports/sysutils. However, they were written on BSD and are therefore >not >>>> ports. >>>> >>>> Should I submit them anyway (if I find time to clean them up, of >>>> course)? Or if not, any (polite) suggestions as to where I should >put >>>> them? I don't use GitHub or SourceForge (too old to change my ways, >and >>>> I normally work off-line anyway). >>>> >>>> e.g. http://www.fjl.co.uk/free-stuff >>>> >>> >>> By all means, please do submit your FreeBSD specific code as a >"port". >>> There's precedent -- various ports for periodic jobs or other >>> FreeBSD-ish things. We aren't hung up on the precise meaning of >"ports" >>> -- it's really a collection of software handily prepared to compile >>> easily and (increasingly so over time) be made available as >pre-compiled >>> binary packages. >> >> The ports and packages system installs and manages software that is >not >> provided by the base system. It is really about simplifying the >process >> of downloading, building and installing available software. >> >> The name may have originated based on the idea of "porting" software >to >> run on freebsd but it has grown to be more than that now. You may >notice >> that a lot of software in the ports tree does not need patches to run >on >> freebsd, so many ports are not "ported" to freebsd, just installed. > Thanks all. I'll get packaging. They are often small programs to make writing shell scrips easier, such as the human readable number formatter I linked to, or things to read some system status. Five minutes to write, one hour to package and one day to write the man page ;-) Regards, Frank. -- Sent from my Cray X/MP with small fiddling keyboard. From owner-freebsd-questions@freebsd.org Mon Oct 30 23:08:51 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC131E25F25 for ; Mon, 30 Oct 2017 23:08:51 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7F3EE75AE0 for ; Mon, 30 Oct 2017 23:08:50 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 4E55619F4E; Tue, 31 Oct 2017 08:08:43 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id DDEFA4F1A; Tue, 31 Oct 2017 08:08:42 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 9F89F4F19; Tue, 31 Oct 2017 08:08:42 +0900 (JST) Date: Tue, 31 Oct 2017 08:07:31 +0900 (JST) Message-Id: <20171031.080731.85349314815802482.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Ways to help investigating behavior of periodic scripts From: Yasuhiro KIMURA X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 23:08:51 -0000 Hello all. As you know cron(8) executes daily periodic scripts at 03:01 of every day and 2 mails are sent to root reporting output of each script. On my home server (11.1-RELEASE amd64) these mails usually arrive before 03:10. But sometimes they arrive after 03:30 and in rare case after 04:00. The delay is not problem for me but I would like to know why it happens. So are there any ways to help investigating this delay? (Option to make periodic(8) write start and end time of each script to syslog, for example.) BTW I'm not sure if this ML is best place to ask this question. So plese let me know if I should move to other ML. Best Regards. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Tue Oct 31 00:06:40 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C27AE2FDFB for ; Tue, 31 Oct 2017 00:06:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1ECA7C610 for ; Tue, 31 Oct 2017 00:06:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Tue, 31 Oct 2017 01:06:30 +0100 Received: from r56.edvax.de (port-92-195-25-5.dynamic.qsc.de [92.195.25.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id EA3543CBF9; Tue, 31 Oct 2017 01:06:28 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9V06RwU002010; Tue, 31 Oct 2017 01:06:28 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 31 Oct 2017 01:06:27 +0100 From: Polytropon To: Yasuhiro KIMURA Cc: freebsd-questions@freebsd.org Subject: Re: Ways to help investigating behavior of periodic scripts Message-Id: <20171031010627.cda5cd42.freebsd@edvax.de> In-Reply-To: <20171031.080731.85349314815802482.yasu@utahime.org> References: <20171031.080731.85349314815802482.yasu@utahime.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with 7C10A68342E X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:1.143 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 00:06:40 -0000 On Tue, 31 Oct 2017 08:07:31 +0900 (JST), Yasuhiro KIMURA wrote: > As you know cron(8) executes daily periodic scripts at 03:01 of every > day and 2 mails are sent to root reporting output of each script. On > my home server (11.1-RELEASE amd64) these mails usually arrive before > 03:10. But sometimes they arrive after 03:30 and in rare case after > 04:00. The delay is not problem for me but I would like to know why it > happens. Several reasons are possible. For example, all the find-related processes usually search all mounted file systems. Let's say that you have an external hard disk mounted when the 3 o'clock run starts, it will be searched; if not, it won't. There are also options that affect the runtime of certain system scripts. You can find a list in /etc/defaults/periodic.conf which _might_ be overriden in /etc/periodic.conf if present. See "man periodic.conf" for additional information. > So are there any ways to help investigating this delay? > (Option to make periodic(8) write start and end time of each script to > syslog, for example.) You could add this manually to /usr/sbin/periodic; I'm not aware of a built-in mechanism to log the starting / finishing time of the many scripts that are run (depending on daily, weekly or monthly call). > BTW I'm not sure if this ML is best place to ask this question. So > plese let me know if I should move to other ML. This list is a good place to start. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Oct 31 05:08:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC30EE4E0B9 for ; Tue, 31 Oct 2017 05:08:00 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7F16C3EDE for ; Tue, 31 Oct 2017 05:07:59 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 1F6A519F8C; Tue, 31 Oct 2017 14:07:58 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id BE2B42E042; Tue, 31 Oct 2017 14:07:57 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 7FFE02E041; Tue, 31 Oct 2017 14:07:57 +0900 (JST) Date: Tue, 31 Oct 2017 14:07:04 +0900 (JST) Message-Id: <20171031.140704.2161058700193756206.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: Ways to help investigating behavior of periodic scripts From: Yasuhiro KIMURA In-Reply-To: <20171031010627.cda5cd42.freebsd@edvax.de> References: <20171031.080731.85349314815802482.yasu@utahime.org> <20171031010627.cda5cd42.freebsd@edvax.de> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 05:08:00 -0000 From: Polytropon Subject: Re: Ways to help investigating behavior of periodic scripts Date: Tue, 31 Oct 2017 01:06:27 +0100 >> So are there any ways to help investigating this delay? >> (Option to make periodic(8) write start and end time of each script to >> syslog, for example.) > > You could add this manually to /usr/sbin/periodic; I'm not > aware of a built-in mechanism to log the starting / finishing > time of the many scripts that are run (depending on daily, > weekly or monthly call). Oh, I checked /usr/sbin/periodic and understood. It's shell script. Then I can directly add any code for investigation. And I know logger(1) can be used to write to syslog from shell script. So I can achieve what I said as example. Thank you for information. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Tue Oct 31 08:03:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A4AAE51822 for ; Tue, 31 Oct 2017 08:03:01 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.home.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 C102867C38 for ; Tue, 31 Oct 2017 08:02:59 +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 v9V82oB1067786; Tue, 31 Oct 2017 08:02:50 GMT (envelope-from freebsd@qeng-ho.org) Subject: Re: Ways to help investigating behavior of periodic scripts To: Yasuhiro KIMURA , freebsd-questions@freebsd.org References: <20171031.080731.85349314815802482.yasu@utahime.org> From: Arthur Chance Message-ID: <656232e3-33bc-2301-ab4a-b6f390cbe581@qeng-ho.org> Date: Tue, 31 Oct 2017 08:02:50 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171031.080731.85349314815802482.yasu@utahime.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 08:03:01 -0000 On 30/10/2017 23:07, Yasuhiro KIMURA wrote: > Hello all. > > As you know cron(8) executes daily periodic scripts at 03:01 of every > day and 2 mails are sent to root reporting output of each script. On > my home server (11.1-RELEASE amd64) these mails usually arrive before > 03:10. But sometimes they arrive after 03:30 and in rare case after > 04:00. The delay is not problem for me but I would like to know why it > happens. So are there any ways to help investigating this delay? > (Option to make periodic(8) write start and end time of each script to > syslog, for example.) > > BTW I'm not sure if this ML is best place to ask this question. So > plese let me know if I should move to other ML. If you're using the pkg system (which most people do) then the periodic script /usr/local/etc/periodic/security/410.pkg-audit has at line 60 sleep `jot -r 1 0 3600` which sleeps for a random time between 0 seconds and 1 hour. This is to avoid the "thundering herd" problem at the servers, and obviously can cause the completion time to jitter by up to an hour. I've also had long delays when a disk was starting to fail, requiring many retries during the various find operations scattered throughout the periodic scripts. That usually becomes pretty obvious, especially if you run smartd. -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Tue Oct 31 08:43:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85C8EE52553 for ; Tue, 31 Oct 2017 08:43:58 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 5803869746 for ; Tue, 31 Oct 2017 08:43:57 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 0E46E18225; Tue, 31 Oct 2017 17:43:55 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id B3A802E48B; Tue, 31 Oct 2017 17:43:55 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 69C9B2E48A; Tue, 31 Oct 2017 17:43:55 +0900 (JST) Date: Tue, 31 Oct 2017 17:43:01 +0900 (JST) Message-Id: <20171031.174301.1258442492129242359.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: Ways to help investigating behavior of periodic scripts From: Yasuhiro KIMURA In-Reply-To: <656232e3-33bc-2301-ab4a-b6f390cbe581@qeng-ho.org> References: <20171031.080731.85349314815802482.yasu@utahime.org> <656232e3-33bc-2301-ab4a-b6f390cbe581@qeng-ho.org> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 08:43:58 -0000 From: Arthur Chance Subject: Re: Ways to help investigating behavior of periodic scripts Date: Tue, 31 Oct 2017 08:02:50 +0000 > If you're using the pkg system (which most people do) then the periodic > script > > /usr/local/etc/periodic/security/410.pkg-audit > > has at line 60 > > sleep `jot -r 1 0 3600` > > which sleeps for a random time between 0 seconds and 1 hour. This is to > avoid the "thundering herd" problem at the servers, and obviously can > cause the completion time to jitter by up to an hour. Yes, pkg is installed on my home server. So this is probably what I would like to investigate. Thank you for letting me know. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Tue Oct 31 10:42:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89599E55027 for ; Tue, 31 Oct 2017 10:42:12 +0000 (UTC) (envelope-from willsznet@gmail.com) Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com [IPv6:2607:f8b0:400e:c05::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 553766E2C5 for ; Tue, 31 Oct 2017 10:42:12 +0000 (UTC) (envelope-from willsznet@gmail.com) Received: by mail-pg0-x242.google.com with SMTP id v78so14300843pgb.5 for ; Tue, 31 Oct 2017 03:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:organization:message-id:mime-version :content-transfer-encoding:content-language:thread-index; bh=7nClalW7F1/T1qfkKzxNkkp6uGDH5PYt0yTyX43Coy0=; b=c4F1o9znj9v7IyNJkigdqnAw1stdhoukYKWNbL4BthyepAek2RhdRvliQOoEx5TLeB B1qQfA4GMf/IITmin9HDFR04EpNlp4P2Fx8g+mJXWIVQw65WzaOoobEQvtA/ZGWrKqSp poluTyjsvFYs8FUrDGKNPqiCYD5/h9iQpAf9ZZIHRlHIX0XzpgBmIfpcP/gI3qT0zkDM opGfp/p0AxrjNMaR/k5vd8HZOMdsyKc/WYpoFi9TnQ+R/i75AKhYcOrr9uYFwhdp0m64 b9wsTlecGeZJbTK3Y/7sVkSmnYYNnZLYVckJywEPsJ3UYWPXwv0LwUNWWITVil/k5pD5 XN2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:organization:message-id :mime-version:content-transfer-encoding:content-language :thread-index; bh=7nClalW7F1/T1qfkKzxNkkp6uGDH5PYt0yTyX43Coy0=; b=N5ehZRqZAPX8+b7otyMMOoqnpGMlxTK5yh5hGAGI41ZGD40eGUGApOp3q0IAvjxYaC UCNE+KvZKchy8yqtp5mlEzjp0YIe2QzvfI00eOwKZEkeRYsg9iGNWEODJGLAsLNivwoH V8zIsMq3a3V68FvKRqLZCYcruoqlLoWQpgLv7uRanBeN+3yCURNhwmNJrpphP+/Fe3/+ yN/ySLaK0MswstdlP7TsIdhVlzGCEtmujQtZ19ov18fxh38Tf3scFV23g6JCB4pz9qx0 s1TJ6z/I3gKjRCUfZPmG2Za0qx661urJZJ/vHx5qh/qJMB1vaPr1ygszkzEmVr8V9X6q s+TA== X-Gm-Message-State: AMCzsaXGkSvP51UVwgO1nrFD+6fK3WihAohb3Edr97eGMHWa5KN3++A8 e9Gh2mv0Gfwa+PUlks2q4+O7+g== X-Google-Smtp-Source: ABhQp+TARvjDXDngPEMl65ofV0p2wGTOA+KFCCzz9RIuELrqdUQjideVLSSA6Epr6GRjRYDCy/rK9A== X-Received: by 10.84.130.34 with SMTP id 31mr1443563plc.241.1509446531571; Tue, 31 Oct 2017 03:42:11 -0700 (PDT) Received: from pcbill ([180.245.225.90]) by smtp.gmail.com with ESMTPSA id u131sm2357026pgc.89.2017.10.31.03.42.09 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Oct 2017 03:42:10 -0700 (PDT) From: "Willsz.net Support" To: Subject: About dot history file Date: Tue, 31 Oct 2017 17:42:19 +0700 Organization: Willsz.net - Cyber Internet Station Message-ID: <000c01d35234$f12be880$d383b980$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: id Thread-Index: AdNSNOzDwLa8PcdERVaZ/dtw0Nf6dA== X-Antivirus: Avast (VPS 171031-2, 10/31/2017), Outbound message X-Antivirus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 10:42:12 -0000 Hi folks, I get strange dot history file in ~root directory. Something like this: -rw------- 1 root wheel 2840 Oct 31 17:20:18 2017 .history -rw------- 1 root wheel 13 Oct 28 18:35:52 2017 .history.16170268 -rw------- 1 root wheel 0 Oct 28 18:35:52 2017 .history.16176977 What is that? I'am looking for in tcsh(1) just explain only .history (without followed a number). Thank You. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From owner-freebsd-questions@freebsd.org Tue Oct 31 10:56:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45D4CE556A4 for ; Tue, 31 Oct 2017 10:56:27 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 1B7496EEF6 for ; Tue, 31 Oct 2017 10:56:26 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 152A318256; Tue, 31 Oct 2017 19:56:24 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id CB4DB2E526; Tue, 31 Oct 2017 19:56:23 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id A9B0F2E525; Tue, 31 Oct 2017 19:56:23 +0900 (JST) Date: Tue, 31 Oct 2017 19:52:58 +0900 (JST) Message-Id: <20171031.195258.2141709561326824369.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Three '450.status-security' scripts enabled by default From: Yasuhiro KIMURA X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 10:56:27 -0000 Hello, While investigating the delay of daily periodic jobs, I found there are three '450.status-security' scripts under /etc/periodic, that is, /etc/periodic/{dairy,monthry,weekly}/450.status-security. All of them executes 'periodic security' and only difference is how often they are executed. So I think the purpose of them is to provide user option how often 'periodic security' is executed. OK, I understand it. But I can't understand setting about them in /etc/defaults/periodic.conf because all of them are enabled by default. If the purpose is what I explained, normal user expects at most one of them is enabled. So are there any reason that all of them are enabled by default? --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Tue Oct 31 13:13:48 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB354E5A153 for ; Tue, 31 Oct 2017 13:13:48 +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 5E19675722 for ; Tue, 31 Oct 2017 13:13:47 +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 v9VDDau5002153; Wed, 1 Nov 2017 00:13:37 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 1 Nov 2017 00:13:36 +1100 (EST) From: Ian Smith To: Yasuhiro KIMURA cc: freebsd-questions@freebsd.org Subject: Re: Three '450.status-security' scripts enabled by default In-Reply-To: Message-ID: <20171031230333.K40402@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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 13:13:49 -0000 In freebsd-questions Digest, Vol 700, Issue 2, Message: 10 On Tue, 31 Oct 2017 19:52:58 +0900 (JST) Yasuhiro KIMURA wrote: > Hello, Konnichiwa, > While investigating the delay of daily periodic jobs, I found there > are three '450.status-security' scripts under /etc/periodic, that is, > /etc/periodic/{dairy,monthry,weekly}/450.status-security. All of them > executes 'periodic security' and only difference is how often they are > executed. So I think the purpose of them is to provide user option > how often 'periodic security' is executed. OK, I understand it. But I > can't understand setting about them in /etc/defaults/periodic.conf > because all of them are enabled by default. If the purpose is what I > explained, normal user expects at most one of them is enabled. So are > there any reason that all of them are enabled by default? 450.status-security is run (YES) each of those times, but unless you set variables in /etc/periodic.conf that override /etc/default/periodic.conf settings, it'll still use the default of 'daily' for the various scripts run by that one. See periodic.conf(5) and /etc/defaults/periodic.conf near the end. I was curious as my (cough) 9.3 system precedes this feature, so dug around to find this, which likely explains the rationale well enough: https://svnweb.freebsd.org/base?view=revision&revision=254974 Most people likely won't exercise this feature, if they know it exists. Oh, and whether using pkg(8) or source updating isn't relevant to this. cheers, Ian From owner-freebsd-questions@freebsd.org Tue Oct 31 14:43:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 996CEE5BA99 for ; Tue, 31 Oct 2017 14:43:37 +0000 (UTC) (envelope-from luzar722@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 5FAFA7C423 for ; Tue, 31 Oct 2017 14:43:37 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id m16so35623261iod.1 for ; Tue, 31 Oct 2017 07:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=otxole7s9hH83jchmlEtK4nw6SiKVu0NEvHL/yRA8Vo=; b=RbIrofFsA0iU+Wr1NlTP2hTAwruXrCR7scOMSkgHOu7oXaFzkM6hGNSRyvOIvmM7k3 V1lohH1IvKU3C2Khpd0xkrQAtQcrEjo34Z45dfm9WLJET3+6mxbp1oXk7LKEEvjAI4/c wo5bUSR2ETdZF3vTxz0mdtTM/M8hB7QCMZGY+D1fzVZI+0O1lTb79T2qEH1BNTqNPx+k htYQiWyDtc3lZW4ahUxUoteK6PrTKdpDsdZpFa8wkVN+WD8Un8YXAYPfOTENn0qk4V6G bN91i21Nify2Ui/L1kmPW5E6xvd+xGjuUbfBFj1TqYtDGvWoui76+wHqVWtIirErIgwr dqkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=otxole7s9hH83jchmlEtK4nw6SiKVu0NEvHL/yRA8Vo=; b=LYzpH9Kr4qhHEnGJh+DFhb3RDrykd/LeE0Zvw4NtKWvVcmJAHUF3eueCSQzzXxG3F0 nHLLnzO2DhR1vx5MRiHbSB7SSugRq02/Gu/yzvWDgUP9uUnH6ON3g2LQ7jfhkQZNn2Nt IlwhoWcr2u/UJj3iCi2MSEKDqeuwj4+FhHEbeTqLsmAwGx03aPx0VzgLwpwiWwVwmLdk fCgcHcRKH6J/Pqc+4fRyz5Gv8/udbClzcChe0PloHToGZymW0iI0Tt4W5xMZ7Apz56EH k66PmWdLcDrA+IzU5Gf5mHAeoQJV0mM9P8UmHfbAkXoedrdFJRw4NyKvUFN2HLZAAQH6 PfSA== X-Gm-Message-State: AMCzsaVfh2YmijK8nGytdGJxH289G411I4T8GjydCAPo4l+PE9njcNdh CmCeZUyQYePXy6cNGoUqW9HG3g== X-Google-Smtp-Source: ABhQp+RIq4/Qyr4ajKmGdxCkHUVwTVFgs6DgeaYwKMxyQSalWEMsX3dZEVFADvRsPd9qNfAiGCDv/g== X-Received: by 10.107.132.167 with SMTP id o39mr2801265ioi.243.1509461016663; Tue, 31 Oct 2017 07:43:36 -0700 (PDT) Received: from [10.0.10.7] (cpe-65-25-50-122.neo.res.rr.com. [65.25.50.122]) by smtp.googlemail.com with ESMTPSA id w8sm726668iod.26.2017.10.31.07.43.36 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Oct 2017 07:43:36 -0700 (PDT) Message-ID: <59F88C17.20803@gmail.com> Date: Tue, 31 Oct 2017 10:43:35 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Diagnose watchdog timeout problem 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 14:43:37 -0000 Been getting these error messages since about release 10.0 I think. Have changed to new hardware box and new cable modem and still having the same error messages. Also occurs when I use em0 interface instead of vge0. From where i sit this looks like a kernel problem. Looking for guidance on how to diagnose this problem further. vge0: flags=8843 metric 0 mtu 1500 options=389b ether 00:0b:db:19:33:18 hwaddr 10:00:60:21:00:93 inet xxx.xxx.xxx.xxx netmask 0xfffff000 broadcast 255.255.255.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active Oct 30 23:43:38 fbsd kernel: vge0: watchdog timeout Oct 30 23:43:38 fbsd kernel: vge0: link state changed to DOWN Oct 30 23:43:42 fbsd kernel: vge0: link state changed to UP Oct 30 23:58:39 fbsd kernel: vge0: watchdog timeout Oct 30 23:58:39 fbsd kernel: vge0: link state changed to DOWN Oct 30 23:58:43 fbsd kernel: vge0: link state changed to UP Oct 31 01:08:38 fbsd kernel: vge0: watchdog timeout Oct 31 01:08:38 fbsd kernel: vge0: link state changed to DOWN Oct 31 01:08:42 fbsd kernel: vge0: link state changed to UP Oct 31 01:53:39 fbsd kernel: vge0: watchdog timeout Oct 31 01:53:39 fbsd kernel: vge0: link state changed to DOWN Oct 31 01:53:43 fbsd kernel: vge0: link state changed to UP Oct 31 04:58:46 fbsd kernel: vge0: watchdog timeout Oct 31 04:58:46 fbsd kernel: vge0: link state changed to DOWN Oct 31 04:58:50 fbsd kernel: vge0: link state changed to UP Oct 31 05:23:49 fbsd kernel: vge0: watchdog timeout Oct 31 05:23:49 fbsd kernel: vge0: link state changed to DOWN Oct 31 05:23:52 fbsd kernel: vge0: link state changed to UP Oct 31 05:57:40 fbsd kernel: vge0: watchdog timeout Oct 31 05:57:40 fbsd kernel: vge0: link state changed to DOWN Oct 31 05:57:43 fbsd kernel: vge0: link state changed to UP Oct 31 09:21:43 fbsd kernel: vge0: watchdog timeout Oct 31 09:21:43 fbsd kernel: vge0: link state changed to DOWN Oct 31 09:21:47 fbsd kernel: vge0: link state changed to UP Oct 31 09:28:21 fbsd kernel: vge0: watchdog timeout Oct 31 09:28:21 fbsd kernel: vge0: link state changed to DOWN Oct 31 09:28:25 fbsd kernel: vge0: link state changed to UP From owner-freebsd-questions@freebsd.org Tue Oct 31 15:24:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2542E5CDE3 for ; Tue, 31 Oct 2017 15:24:24 +0000 (UTC) (envelope-from luzar722@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 68B637E577 for ; Tue, 31 Oct 2017 15:24:24 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x232.google.com with SMTP id m16so35936931iod.1 for ; Tue, 31 Oct 2017 08:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=4txzoJvrvLTUGm4yHO9VXdXRVd4qPB9jv/qQgGIWVYk=; b=JAGsLbRtR6KZe4bbxcvvpHriFazP9dxHWXlErfHzmBSAGXfB85iz42oAKhSM0Psicr HO0DTxKiVUUxVThBGdPuIc7y2sCVlb592XyhDkN4RmEqTxv1cJ5UWp2eADzWtR4anGeH PHRUT1PfTnts6YL0ZQlYVf/q8AInTEXjw5M3CLfb7t8rcd3IYGr++R6bXTNCUcunHDWD psMOetqPHT+bTrp8JZ70vD6qrQJMbf8k67cQaUxVPTVXAvjdHVXLBY+A18MbaNj5n1aZ R/mmkf3b41N8f2GY/R55Uy5/HfN01ajrZb4RBKOXy8uM6whEw95VbcStOXgS3Xa+pkXB dClg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=4txzoJvrvLTUGm4yHO9VXdXRVd4qPB9jv/qQgGIWVYk=; b=QECzqCQ3lVYd+Te5P5CTPVDFzZFWNOQP6ELvCruCTpiCmf8def3rJNFae8gjE1ajVq cmvOYMznLo9WCXmKculdUkdGndf2LthSRgZefvMHThQqpXP02NblVgn1ebC7XqS1GBp/ J2uICigXmrlnt3cxlNqOWspzOFM2+itFztUs/YTYbLRg19bgEFvwkbKo74JVu4jqEFRf JULdrZJMFYUfCJc2uWCoIL4Pk9K4hN67Lqp81UrGgoTWT2+iqDEL/R14kKzQ3Tzyx0k5 RRUSNLYlTH5VAPUlKxb5cbvJH+PUojHOsTQ6xKnW5PZ5WHbb5b9w4DtcKoVQiFT69cVb bjuQ== X-Gm-Message-State: AMCzsaUy0hDrk+yomktPo0hn/a2SXLiDV7ChFdIQ6PNsvjD8gOioA5ll PE4FrogKqqOfOc+7Eut4Hcnzgg== X-Google-Smtp-Source: ABhQp+Q+CfTqs3IAA26HnhUoJZPXgjIkfq4hPH+HvrWn20mQySkW6Lz6ACylFmC8QEPmKTq2W75ZWQ== X-Received: by 10.107.150.20 with SMTP id y20mr3000269iod.212.1509463463492; Tue, 31 Oct 2017 08:24:23 -0700 (PDT) Received: from [10.0.10.7] (cpe-65-25-50-122.neo.res.rr.com. [65.25.50.122]) by smtp.googlemail.com with ESMTPSA id d129sm781222ioe.1.2017.10.31.08.24.22 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Oct 2017 08:24:22 -0700 (PDT) Message-ID: <59F895A5.1040809@gmail.com> Date: Tue, 31 Oct 2017 11:24:21 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Gigabit Ethernet adapter problem 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 15:24:24 -0000 em - Intel(R) PRO/1000 Gigabit Ethernet adapter driver The boot messages show the Gigabit Ethernet adapter is correctly identified at boot time as shown below. em0: port 0xf080-0xf09f mem 0xf7d00000-0xf7d1ffff,0xf7d3c000-0xf7d3cfff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: d0:50:99:93:75:98 em0: netmap queues/slots: TX 1/1024, RX 1/1024 But after the system is up and running ifconfig em0 shows em0: flags=8843 metric 0 mtu 1500 options=4019b ether d0:50:99:93:75:98 hwaddr d0:50:99:93:75:98 inet 10.0.10.2 netmask 0xff000000 broadcast 10.255.255.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active and we see that (100baseTX ) has been selected as default and it should be (1000baseTX ). How do I force the Ethernet adapter into Gigabit mode? From owner-freebsd-questions@freebsd.org Tue Oct 31 15:43:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22B76E5D4AD for ; Tue, 31 Oct 2017 15:43:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DADED7F0A0 for ; Tue, 31 Oct 2017 15:43:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id F202024D4 for ; Tue, 31 Oct 2017 15:43:09 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=fail (p=none dis=none) header.from=infracaninophile.co.uk Subject: Re: Gigabit Ethernet adapter problem To: freebsd-questions@freebsd.org References: <59F895A5.1040809@gmail.com> From: Matthew Seaman Message-ID: <6ea04a6e-0c25-16e4-8007-8b647e473813@infracaninophile.co.uk> Date: Tue, 31 Oct 2017 15:43:09 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <59F895A5.1040809@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 15:43:19 -0000 On 31/10/2017 15:24, Ernie Luzar wrote: > > em - Intel(R) PRO/1000 Gigabit Ethernet adapter driver > > The boot messages show the Gigabit Ethernet adapter is correctly > identified at boot time as shown below. > > em0: port 0xf080-0xf09f >      mem 0xf7d00000-0xf7d1ffff,0xf7d3c000-0xf7d3cfff irq 20 at >      device 25.0 on pci0 > em0: Using an MSI interrupt > em0: Ethernet address: d0:50:99:93:75:98 > em0: netmap queues/slots: TX 1/1024, RX 1/1024 > > > But after the system is up and running ifconfig em0 shows > > em0: flags=8843 >         metric 0 mtu 1500 >     options=4019b         TSO4,VLAN_HWTSO> >     ether d0:50:99:93:75:98 >     hwaddr d0:50:99:93:75:98 >     inet 10.0.10.2 netmask 0xff000000 broadcast 10.255.255.255 >     nd6 options=29 >     media: Ethernet autoselect (100baseTX ) >     status: active > > and we see that (100baseTX ) has been selected as default > and it should be (1000baseTX ). > > How do I force the Ethernet adapter into Gigabit mode? This sort of down-grade is either because the switch port you've go the machine plugged into is somehow set to negotiate to 100Mb/s, or else you've got some dodgy cabling and consequently the system has backed off to 100Mb/s because it can't sustain 1000Mb/s. Try looking at the output of 'netstat -i' -- if there are any errors listed in the ierrs or oerrs columns, and particularly if they are increasing over time. That indicates some sort of hardware problem, usually due to a network cable having broken or been kinked or even tied too tightly into a bundle. Start by swapping out the ethernet cable -- it's cheap to replace. Cheers, Matthew From owner-freebsd-questions@freebsd.org Tue Oct 31 17:05:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E68C3E5EE25 for ; Tue, 31 Oct 2017 17:05:42 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::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 889F08163B for ; Tue, 31 Oct 2017 17:05:42 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: by mail-wr0-x229.google.com with SMTP id u40so16566440wrf.10 for ; Tue, 31 Oct 2017 10:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=81qoCxG32J2BLIqnI8PPVLANiozQ3FeIrwGK0dXQ+ho=; b=Ba8ChR+kt8B9/WsirCMFxFUmLu3jO1CFytSm5OqdqMEzA+tEIT1B0XmE2BNOmdO0rp fIet9yiE31QM+t8T52Pz/ZYMBVVZ+pzE3w9oBBAYkkk/nFtyJUmbeva9iSeph6z1oH95 APB3gE3XzxYpRy9pfFV1TvEIPeJsCW5Qpz6AnC5fnnMfSVswUw9AHs4Ve1P8/LeNZ+yX elZ2huL/8YGL5XFIHtRkc4g+stAN5GEasUIQhxQOCLfM9ZgA/nPSDT1iVNtzP9XTQD6C HTwUVRRO8obZQhuqw1WX3j/J5IBt5nMKsL9lGnT5i1S9lvk70f+Wh8E/aOLOyo6tbvyq ejbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=81qoCxG32J2BLIqnI8PPVLANiozQ3FeIrwGK0dXQ+ho=; b=lgq+sTi993sO0i83KMq0+E8I7pjCB3NXMz0KTTsj29bSvSwUUPNIyqQsfNCRHHITVq BfeSg6fzHTWilP8b5MU8hCH5/cDCUYeXqTjhGtbf/mZylx6R1WepIusEdR3iaHafWjau G1i/SDOhPcTeNFNXDvrn7QQzPn5keNpfk9fQSaxbQF81DZ9UPaucO7827ucPjOwxivJI 6nR2Mebpe8SdVQdv7+C5G5ihM3Zif0YZHdc17R+tjGRNUhKvYCtjIRkP8vha1nzk1N/9 2mDYeP/RgS2EJC5x2AFe2btny+f8BDgOOHWl/HbYBak4lGqqX3aXSJ0t2i0/vIopRkfq 34aA== X-Gm-Message-State: AMCzsaWCKX4oi/7wLkKH6T14Flwh2N6wDAcs91nXOYIDZUAs7PAEpRV/ kBBBG+IbGhPV9xIRKQptB7vkFD6jkTUdaVrKLtk= X-Google-Smtp-Source: ABhQp+R6ZJKvmo7GS6Ph3wu0QvNbSuHenVwYcFA2GKO0yXoxn2dEpUwdAwudD57Ep/IxEvLmaP2tKuElFRMkrolM2Ag= X-Received: by 10.223.135.90 with SMTP id 26mr2350809wrz.114.1509469540651; Tue, 31 Oct 2017 10:05:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.197.196 with HTTP; Tue, 31 Oct 2017 10:05:40 -0700 (PDT) In-Reply-To: <6ea04a6e-0c25-16e4-8007-8b647e473813@infracaninophile.co.uk> References: <59F895A5.1040809@gmail.com> <6ea04a6e-0c25-16e4-8007-8b647e473813@infracaninophile.co.uk> From: Kent Kuriyama Date: Tue, 31 Oct 2017 07:05:40 -1000 Message-ID: Subject: Re: Gigabit Ethernet adapter problem To: Matthew Seaman Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 17:05:43 -0000 I had the same problem in which a supposedly GigE connection would negotiate down to 100 Mbs. The problem as a bad NIC on my side. I have also seen 100 Mbs speeds when the jumper cable that I used was not up to par. On Tue, Oct 31, 2017 at 5:43 AM, Matthew Seaman < m.seaman@infracaninophile.co.uk> wrote: > On 31/10/2017 15:24, Ernie Luzar wrote: > > > > em - Intel(R) PRO/1000 Gigabit Ethernet adapter driver > > > > The boot messages show the Gigabit Ethernet adapter is correctly > > identified at boot time as shown below. > > > > em0: port 0xf080-0xf09f > > mem 0xf7d00000-0xf7d1ffff,0xf7d3c000-0xf7d3cfff irq 20 at > > device 25.0 on pci0 > > em0: Using an MSI interrupt > > em0: Ethernet address: d0:50:99:93:75:98 > > em0: netmap queues/slots: TX 1/1024, RX 1/1024 > > > > > > But after the system is up and running ifconfig em0 shows > > > > em0: flags=8843 > > metric 0 mtu 1500 > > options=4019b > TSO4,VLAN_HWTSO> > > ether d0:50:99:93:75:98 > > hwaddr d0:50:99:93:75:98 > > inet 10.0.10.2 netmask 0xff000000 broadcast 10.255.255.255 > > nd6 options=29 > > media: Ethernet autoselect (100baseTX ) > > status: active > > > > and we see that (100baseTX ) has been selected as default > > and it should be (1000baseTX ). > > > > How do I force the Ethernet adapter into Gigabit mode? > > This sort of down-grade is either because the switch port you've go the > machine plugged into is somehow set to negotiate to 100Mb/s, or else > you've got some dodgy cabling and consequently the system has backed off > to 100Mb/s because it can't sustain 1000Mb/s. > > Try looking at the output of 'netstat -i' -- if there are any errors > listed in the ierrs or oerrs columns, and particularly if they are > increasing over time. That indicates some sort of hardware problem, > usually due to a network cable having broken or been kinked or even tied > too tightly into a bundle. Start by swapping out the ethernet cable -- > it's cheap to replace. > > Cheers, > > Matthew > > > _______________________________________________ > 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 Oct 31 17:25:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59EEBE5F47F for ; Tue, 31 Oct 2017 17:25:58 +0000 (UTC) (envelope-from jesse@digitalwebentrprises.com) Received: from mail-vk0-x241.google.com (mail-vk0-x241.google.com [IPv6:2607:f8b0:400c:c05::241]) (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 1167B8222F for ; Tue, 31 Oct 2017 17:25:57 +0000 (UTC) (envelope-from jesse@digitalwebentrprises.com) Received: by mail-vk0-x241.google.com with SMTP id j2so10856190vki.4 for ; Tue, 31 Oct 2017 10:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digitalwebentrprises.com; s=google; h=mime-version:sender:from:date:message-id:subject:to; bh=HXedn6rOvOB0sF62JlbzxCOYzQUZwOGOk/l8GJMkSqA=; b=ovL3lcjQ6wjb4MpsbhqPJGZ731dKzu2HrE1ujqb7OJPPgXHRa3ECgD9WPxToar12Na I8ae27XfDqX8Kx8nNTc93xWdlclI2pEHr4NfnZbRMTRbwwj8vbEBOv7RRzZoyXHWwLNo Teq0SYZO74mVtH19/q6wPytU6K5QswQr00kP4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=HXedn6rOvOB0sF62JlbzxCOYzQUZwOGOk/l8GJMkSqA=; b=d5d7+JLhdkMB1VQ4UVoNnHzMiT1ZbVNhf+Eq/DE4mGaiPGwwLI/yiatMbOJKGWpsyG S6/dlVH/cny4Hr0KhwLSdwSmHAZBKvhoSaA0L53m6uCTeUsLEAHZOh1/9X8SQyu0IG+w ZuNGH9vLuFETT29yBKXcRTCPwwjNgje0xHQRk1Q8yvaTkjCfWhHpuG1EmfWa2t8q+bK4 rpFEcdFMBdk43tl1qQsRVFWXcGOU7M5PKeOYlGEIPqU02MjgUdpXDydkMPx3XkzfU5eX KcYAS/lWSGvXoZLuliCo+UHRhIvu0v0vfrOAZNxiLoL408uzS8E188N8cj1F6VcZ2FF2 0Ojg== X-Gm-Message-State: AMCzsaU4oD5w3+OotPx/bk8kLSUXlfUOXdt5SyV+wZoVzCZD+hw2mzwP TrNtJZLDl27VIHr74ivwelOBftbJj8eHBFMkoaw0s0K/ X-Google-Smtp-Source: ABhQp+Tn7m5gSUTU7C8pWVhNISQbiYZKqHUBHB8lbWcw421sWTp/bGKMj+hMRquELIEnoRRbrahdAipMuuW3wRmCxso= X-Received: by 10.31.142.201 with SMTP id q192mr1963984vkd.164.1509470756828; Tue, 31 Oct 2017 10:25:56 -0700 (PDT) Received: from 52669349336 named unknown by gmailapi.google.com with HTTPREST; Tue, 31 Oct 2017 18:25:55 +0100 MIME-Version: 1.0 Sender: Jesse From: Jesse Date: Tue, 31 Oct 2017 18:25:55 +0100 X-Google-Sender-Auth: 5heEfMfY9WncMFZf2ddnn2_vAc0 Message-ID: Subject: Re: Fix Freebsddiary.org Errors To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 17:25:58 -0000 Dear business owner of Freebsddiary.org, How is it possible that your website is having so many errors? Yes, most of the people share their anger and frustration once they get my email. Now, I will show you the number of broken links, pages that returned 4XX status code upon request, images with no ALT text, pages with no meta description tag, not having an unique meta description, having too long title, etc., found in your Freebsddiary.org. I have a large professional team who can fix all the above issues immediately at an affordable price. I guarantee you will see a drastic change in your Google search ranking once these are fixed. If this is something you are interested in, then allow me to send you a no obligation *audit report*. Best Regards, *Jesse Smith* Marketing Consultant ----------------------------------- You may unsubscribe to stop receiving our emails. Virus-free. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> [image: beacon] From owner-freebsd-questions@freebsd.org Tue Oct 31 17:41:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44598E5FAA7 for ; Tue, 31 Oct 2017 17:41:33 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Received: from sonic314-20.consmr.mail.ne1.yahoo.com (sonic314-20.consmr.mail.ne1.yahoo.com [66.163.189.146]) (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 067A582B52 for ; Tue, 31 Oct 2017 17:41:32 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) X-YMail-OSG: SfnSr1QVM1nd2bf21Q4ZEq01veB3219CBp9iEHwhbPHGlzB5xlxO1tNJ9T5R4eM 1JCLQTsjso5qgyhgCE3OJUv3cFRQeOFx7mCsoLP4LV_EEftnobJ8br1z1BZFiZfQ8aKjth4aZ3.G uIvuyiPDPXP_q8W.x3EyKKesbCvvTiifeA3nFDQWuoF8mKfRP9xHHPqeptN9k0vhJI7Zt2Yb8DcB 16iZGvGTMr_D3LNrI7nWS7AS4ezfWBE2P9zcqyTMaIN5kpD5wcgpemfoPL0DISjT6QyFQSsmGANE x_QYuHrjHr1W3ISXG1Ng0x0wAa3XsH05L8xsbpti1OmICUiBag1NuczySu1gwAvRGIW25SvtuRVC ZySeBq00oikA7iUsxHrBaiJkH5yUL7aYfZ_137oCqWnZvLguo24Aj5YzXCDSTCt8g6l6OlOXInT8 8c2YXilHX_KMwmJwOafZC38_LmZDuksjRpDMiZURD7DnnITfWIhzWij8pCobVTzwrKvVw3lEzsqi 7k2fw0Cvdi7f8KqUSVksXbiguJrA.JNQxSfneWqN1ZA9ruYNupSHe.DeJ_fnThzHvZUWPqTui2im l63a5OQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Tue, 31 Oct 2017 17:41:29 +0000 Received: from [127.0.0.1] by smtp212.mail.ne1.yahoo.com with NNFMP; 31 Oct 2017 17:14:59 -0000 X-Yahoo-Newman-Id: 492749.95401.bm@smtp212.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: SfnSr1QVM1nd2bf21Q4ZEq01veB3219CBp9iEHwhbPHGlzB 5xlxO1tNJ9T5R4eM1JCLQTsjso5qgyhgCE3OJUv3cFRQeOFx7mCsoLP4LV_E EftnobJ8br1z1BZFiZfQ8aKjth4aZ3.GuIvuyiPDPXP_q8W.x3EyKKesbCvv TiifeA3nFDQWuoF8mKfRP9xHHPqeptN9k0vhJI7Zt2Yb8DcB16iZGvGTMr_D 3LNrI7nWS7AS4ezfWBE2P9zcqyTMaIN5kpD5wcgpemfoPL0DISjT6QyFQSsm GANEx_QYuHrjHr1W3ISXG1Ng0x0wAa3XsH05L8xsbpti1OmICUiBag1Nuczy Su1gwAvRGIW25SvtuRVCZySeBq00oikA7iUsxHrBaiJkH5yUL7aYfZ_137oC qWnZvLguo24Aj5YzXCDSTCt8g6l6OlOXInT88c2YXilHX_KMwmJwOafZC38_ LmZDuksjRpDMiZURD7DnnITfWIhzWij8pCobVTzwrKvVw3lEzsqi7k2fw0Cv di7f8KqUSVksXbiguJrA.JNQxSfneWqN1ZA9ruYNupSHe.DeJ_fnThzHvZUW PqTui2iml63a5OQ-- X-Yahoo-SMTP: h3Xqg6.swBC0yI913RMMwp94grO_cg-- Subject: Re: Gigabit Ethernet adapter problem To: freebsd-questions@freebsd.org References: <59F895A5.1040809@gmail.com> From: Paul Pathiakis Message-ID: <55b311a4-dd77-00dc-0c29-b1b2fce0efe4@yahoo.com> Date: Tue, 31 Oct 2017 13:14:58 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <59F895A5.1040809@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 17:41:33 -0000 I have multiple versions of all these cards. There doesn't seem to be any issue with auto detection. Also, I have seen it step down to 100 Mb on a bad cable or, of course, trying to talk to 100 Mb connection like a bad switch port or a switch that doesn't support Gb. (so, behaving like it should...) If you're going card to card, make sure they are both Gb capable. So, I'd check both end points and the cable as a first step. (All my cables are at least cat 5e to support Gb - although I have some well made 5 cables that do support Gb negotiation but I can't seem to push them beyond 700 Mb with these adapters *shrug*) P On 10/31/2017 11:24, Ernie Luzar wrote: > > em - Intel(R) PRO/1000 Gigabit Ethernet adapter driver > > The boot messages show the Gigabit Ethernet adapter is correctly > identified at boot time as shown below. > > em0: port 0xf080-0xf09f > mem 0xf7d00000-0xf7d1ffff,0xf7d3c000-0xf7d3cfff irq 20 at > device 25.0 on pci0 > em0: Using an MSI interrupt > em0: Ethernet address: d0:50:99:93:75:98 > em0: netmap queues/slots: TX 1/1024, RX 1/1024 > > > But after the system is up and running ifconfig em0 shows > > em0: flags=8843 > metric 0 mtu 1500 > options=4019b TSO4,VLAN_HWTSO> > ether d0:50:99:93:75:98 > hwaddr d0:50:99:93:75:98 > inet 10.0.10.2 netmask 0xff000000 broadcast 10.255.255.255 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active > > and we see that (100baseTX ) has been selected as default > and it should be (1000baseTX ). > > How do I force the Ethernet adapter into Gigabit mode? > > > _______________________________________________ > 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 Oct 31 19:02:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 429B2E611BB for ; Tue, 31 Oct 2017 19:02:11 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EEACAAB4 for ; Tue, 31 Oct 2017 19:02:10 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id F33546235A for ; Tue, 31 Oct 2017 14:51:57 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XFhE5oq2j4Ol for ; Tue, 31 Oct 2017 14:51:56 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id AF91462100 for ; Tue, 31 Oct 2017 14:51:56 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Tue, 31 Oct 2017 14:51:56 -0400 Message-ID: <2049e2f5c441f0b1f9fd9034ad64acfb.squirrel@webmail.harte-lyne.ca> Date: Tue, 31 Oct 2017 14:51:56 -0400 Subject: Mate Terminal copy and paste From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 19:02:11 -0000 Given that I have two sessions opened using mate-terminal. When I copy text from one and attempt to paste that text into vi running in the other then the text block is truncated. For example: Copying this text block: ---> FreeBSD 11.0-RELEASE-p9 (GENERIC) #0: Tue Apr 11 08:48:40 UTC 2017 !!Warning!! - Any deliberate attempt to access this resource without legitimate authorization is a criminal offence (R.S.C. 1985, c. C-46 - Section 342.1). FreeBSD 10.3-RELEASE-p11 (GENERIC) #0: Mon Oct 24 18:49:24 UTC 2016 Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier Edit /etc/motd to change this login announcement. <--- and then pasting it into a new file opened with the vi editor in the other session yields this: ---> FreeBSD 11.0-RELEASE-p9 (GENERIC) #0: Tue Apr 11 08:48:40 UTC 2017 !!Warning!! - Any deliberate attempt to access this resource without legitimate authorization is a criminal offence (R.S.C. 1985, c. C-46 - Section 342.1). FreeBSD 10.3-RELEASE-p11 (GENERIC) #0: Mon Oct 24 18:49:24 UTC <--- Is there any way of dealing with this? If I paste the exact same block into Pluma then I get the entire thing. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Tue Oct 31 22:44:03 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB82BE3E043 for ; Tue, 31 Oct 2017 22:44:03 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7DD2867573 for ; Tue, 31 Oct 2017 22:44:03 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 78AEA18325; Wed, 1 Nov 2017 07:44:01 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id E7A1B2E90E; Wed, 1 Nov 2017 07:44:00 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id A6D462E90D; Wed, 1 Nov 2017 07:44:00 +0900 (JST) Date: Wed, 01 Nov 2017 07:43:25 +0900 (JST) Message-Id: <20171101.074325.435079995878776971.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: Three '450.status-security' scripts enabled by default From: Yasuhiro KIMURA In-Reply-To: <20171031230333.K40402@sola.nimnet.asn.au> References: <20171031230333.K40402@sola.nimnet.asn.au> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 22:44:03 -0000 From: Ian Smith Subject: Re: Three '450.status-security' scripts enabled by default Date: Wed, 1 Nov 2017 00:13:36 +1100 (EST) > 450.status-security is run (YES) each of those times, but unless you set > variables in /etc/periodic.conf that override /etc/default/periodic.conf > settings, it'll still use the default of 'daily' for the various scripts > run by that one. See periodic.conf(5) and /etc/defaults/periodic.conf > near the end. > > I was curious as my (cough) 9.3 system precedes this feature, so dug > around to find this, which likely explains the rationale well enough: > > https://svnweb.freebsd.org/base?view=revision&revision=254974 > > Most people likely won't exercise this feature, if they know it exists. > > Oh, and whether using pkg(8) or source updating isn't relevant to this. Thank you for explanation. But in fact today I received 'monthry security run output' mail from my home server. And I also checked trash folder of my mailbox and confirmed that I recieved 'weekly security run output' mail on last Saturday. So there must be something that doesn't fit your explanation. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Tue Oct 31 23:07:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDDAAE3E64E for ; Tue, 31 Oct 2017 23:07:06 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 9131867D9E for ; Tue, 31 Oct 2017 23:07:06 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 359DE1832C; Wed, 1 Nov 2017 08:07:05 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id D58842E92B; Wed, 1 Nov 2017 08:07:04 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 9A9AA2E92A; Wed, 1 Nov 2017 08:07:04 +0900 (JST) Date: Wed, 01 Nov 2017 08:06:35 +0900 (JST) Message-Id: <20171101.080635.1904928420192655172.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: Three '450.status-security' scripts enabled by default From: Yasuhiro KIMURA In-Reply-To: <20171101.074325.435079995878776971.yasu@utahime.org> References: <20171031230333.K40402@sola.nimnet.asn.au> <20171101.074325.435079995878776971.yasu@utahime.org> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 23:07:06 -0000 From: Yasuhiro KIMURA Subject: Re: Three '450.status-security' scripts enabled by default Date: Wed, 01 Nov 2017 07:43:25 +0900 (JST) > Thank you for explanation. But in fact today I received 'monthry > security run output' mail from my home server. And I also checked > trash folder of my mailbox and confirmed that I recieved 'weekly > security run output' mail on last Saturday. So there must be something > that doesn't fit your explanation. OMG, again the source of this problem is "pkg". 410.pkg-audit and 460.pkg-checksum doesn't support security_status_*_period variable. Therefore they are always executed if weekly_status_security_enable and/or monthly_status_security_enable is 'YES' (and they are 'YES' by default). --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Wed Nov 1 12:22:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B401E5A05F for ; Wed, 1 Nov 2017 12:22:09 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B00A6C479 for ; Wed, 1 Nov 2017 12:22:07 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id vA1CM2cw052551; Wed, 1 Nov 2017 23:22:02 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 1 Nov 2017 23:22:02 +1100 (EST) From: Ian Smith To: Yasuhiro KIMURA cc: freebsd-questions@freebsd.org Subject: Re: Three '450.status-security' scripts enabled by default In-Reply-To: Message-ID: <20171101230125.R7397@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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 12:22:09 -0000 In freebsd-questions Digest, Vol 700, Issue 3, Message: 10 On Wed, 01 Nov 2017 08:06:35 +0900 (JST) Yasuhiro KIMURA wrote: > > Thank you for explanation. But in fact today I received 'monthry > > security run output' mail from my home server. And I also checked > > trash folder of my mailbox and confirmed that I recieved 'weekly > > security run output' mail on last Saturday. So there must be something > > that doesn't fit your explanation. > > OMG, again the source of this problem is "pkg". 410.pkg-audit and > 460.pkg-checksum doesn't support security_status_*_period > variable. Therefore they are always executed if > weekly_status_security_enable and/or monthly_status_security_enable is > 'YES' (and they are 'YES' by default). Ahah. After hunting through 10.x and 11.x sources, not finding those, seeing reference to having removed some pkg-* scripts along the way .. What version of FreeBSD are you running? (uname -a) and how was it installed; originally or by freebsd-update or from updated sources? That is, was there an earlier version installed previously? Please show output of: ls -lrt /etc/periodic/security And if there are any older files there, perhaps also the output of: ls -lrtR /etc/periodic cheers, Ian PS: please cc me on replies as I take the daily digest - just arrived. From owner-freebsd-questions@freebsd.org Wed Nov 1 13:27:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8E31E5B8D4 for ; Wed, 1 Nov 2017 13:27:09 +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 3C4616E6F3 for ; Wed, 1 Nov 2017 13:27:06 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id vA1CxREm024808 for ; Wed, 1 Nov 2017 13:59:27 +0100 (CET) (envelope-from bah@bananmonarki.se) To: "freebsd-questions@freebsd.org" From: Bernt Hansson Subject: Upgrade and problem Message-ID: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> Date: Wed, 1 Nov 2017 13:59:22 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 13:27:09 -0000 Hello list! Installed 11.0R yesterday but can't get gateway_enable="yes" to function. With or without firewall (ipfilter) From the gateway i can ping and traceroute fine. But not from any machine inside the lan. The packets can't "get out" So what to look for? From owner-freebsd-questions@freebsd.org Wed Nov 1 13:28:21 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0849EE5BA09 for ; Wed, 1 Nov 2017 13:28:21 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id CE3136E815 for ; Wed, 1 Nov 2017 13:28:20 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 9DFBC18629; Wed, 1 Nov 2017 22:28:12 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 513442FD76; Wed, 1 Nov 2017 22:28:12 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 2DE512FD75; Wed, 1 Nov 2017 22:28:12 +0900 (JST) Date: Wed, 01 Nov 2017 22:27:31 +0900 (JST) Message-Id: <20171101.222731.175305934561897366.yasu@utahime.org> To: smithi@nimnet.asn.au Cc: freebsd-questions@freebsd.org Subject: Re: Three '450.status-security' scripts enabled by default From: Yasuhiro KIMURA In-Reply-To: <20171101230125.R7397@sola.nimnet.asn.au> References: <20171101230125.R7397@sola.nimnet.asn.au> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 13:28:21 -0000 From: Ian Smith Subject: Re: Three '450.status-security' scripts enabled by default Date: Wed, 1 Nov 2017 23:22:02 +1100 (EST) > Ahah. After hunting through 10.x and 11.x sources, not finding those, > seeing reference to having removed some pkg-* scripts along the way .. These files don't belong to base system. They are installed if ports-mgmt/pkg is installed. And it must be installed if you use ports and/or packages. So I think you can probably find them under /usr/local/etc/periodic/security of your FreeBSD box. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Wed Nov 1 13:29:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3A74E5BAE2 for ; Wed, 1 Nov 2017 13:29:20 +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 7AD9C6E909 for ; Wed, 1 Nov 2017 13:29:20 +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 vA1DSUwM049445 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 1 Nov 2017 14:28:30 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id vA1DSU9f049442; Wed, 1 Nov 2017 14:28:30 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 1 Nov 2017 14:28:30 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Bernt Hansson cc: "freebsd-questions@freebsd.org" Subject: Re: Upgrade and problem In-Reply-To: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> Message-ID: References: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.2 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 mail.fig.ol.no X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 13:29:21 -0000 On Wed, 1 Nov 2017 13:59+0100, Bernt Hansson wrote: > Installed 11.0R yesterday but can't get gateway_enable="yes" > to function. With or without firewall (ipfilter) > > From the gateway i can ping and traceroute fine. But not from > any machine inside the lan. The packets can't "get out" > > So what to look for? Any NAT44 setup? -- Trond. From owner-freebsd-questions@freebsd.org Wed Nov 1 13:37:25 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3044DE5C0FD for ; Wed, 1 Nov 2017 13:37:25 +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 94AE76EED5 for ; Wed, 1 Nov 2017 13:37:23 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id vA1DZtlm024902; Wed, 1 Nov 2017 14:35:56 +0100 (CET) (envelope-from bah@bananmonarki.se) Subject: Re: Upgrade and problem To: =?UTF-8?Q?Trond_Endrest=c3=b8l?= Cc: "freebsd-questions@freebsd.org" References: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> From: Bernt Hansson Message-ID: <603c2b51-b45d-b545-bf71-b5af16e2eaf9@bananmonarki.se> Date: Wed, 1 Nov 2017 14:35:55 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 13:37:25 -0000 On 11/01/17 14:28, Trond Endrestøl wrote: > On Wed, 1 Nov 2017 13:59+0100, Bernt Hansson wrote: > >> Installed 11.0R yesterday but can't get gateway_enable="yes" >> to function. With or without firewall (ipfilter) >> >> From the gateway i can ping and traceroute fine. But not from >> any machine inside the lan. The packets can't "get out" >> >> So what to look for? > Any NAT44 setup? No. Is that needed? > From owner-freebsd-questions@freebsd.org Wed Nov 1 14:14:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A732E5CDC2 for ; Wed, 1 Nov 2017 14:14:18 +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 E3099703B2 for ; Wed, 1 Nov 2017 14:14:17 +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 vA1EDd5O049726 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 1 Nov 2017 15:13:40 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id vA1EDdrl049723; Wed, 1 Nov 2017 15:13:39 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 1 Nov 2017 15:13:39 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Bernt Hansson cc: "freebsd-questions@freebsd.org" Subject: Re: Upgrade and problem In-Reply-To: <603c2b51-b45d-b545-bf71-b5af16e2eaf9@bananmonarki.se> Message-ID: References: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> <603c2b51-b45d-b545-bf71-b5af16e2eaf9@bananmonarki.se> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.2 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 mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 14:14:18 -0000 On Wed, 1 Nov 2017 14:35+0100, Bernt Hansson wrote: > On 11/01/17 14:28, Trond Endrestøl wrote: > > On Wed, 1 Nov 2017 13:59+0100, Bernt Hansson wrote: > > > > > Installed 11.0R yesterday but can't get gateway_enable="yes" > > > to function. With or without firewall (ipfilter) > > > > > > From the gateway i can ping and traceroute fine. But not from > > > any machine inside the lan. The packets can't "get out" > > > > > > So what to look for? > > Any NAT44 setup? > No. Is that needed? It largerly depends on the address space on the inside. If you didn't need NAT44 before, and nothing's changed, then no. -- Trond. From owner-freebsd-questions@freebsd.org Wed Nov 1 14:58:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3FEBEE5DA53 for ; Wed, 1 Nov 2017 14:58:52 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::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 075D8716F6 for ; Wed, 1 Nov 2017 14:58:52 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x235.google.com with SMTP id 189so6593942iow.10 for ; Wed, 01 Nov 2017 07:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=brnmrCHhcdvUbTBmQmsvQK8tXYKA+fquTGg0fb0H+qE=; b=MTwUlFlpBCoycMiHfQswqJ4hJnCF0PAB41YaT1jew5wUjco7x5rHWYzO2Gfo6t2mNk fJvTZojLsK+0ZYnAL51UnAFlbYCBWKG0d6xg8Ut0hIYau/nFsv/mvWkgQKoPJWm4EsrR oiJaPDZq28m5kMoqJMkz7iwdeyV2gC56XTfIpvXLuQg9pKICGICahLHbucEGpFgah+Wa etOmlMNhIiZ4RZZzOra9ems4Opcdgqb1YzfMME15oQPwGXffv0Vm3RJnlfFTnEn0MGYS CtprCuD/TcTFmRAgETLJ72njhPeGbXQ6QKBG3ZrxL2C/mOz+OSDMCROe9Qeon+gKLHu2 zOiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=brnmrCHhcdvUbTBmQmsvQK8tXYKA+fquTGg0fb0H+qE=; b=WzA5qYgif4JYucB7ahW60TnqWOxI2lkPZ/PkT5+tzaqQ9hBz6lfA91nANQk8SHBtyO C3sA5fe38QsDeQdTNN2TnNOXhWgmlKCUBj7PYQlpu4Vc+Nt+DhlBP+vMVnms0mRlD9mp TROgJ7yuPIV1yqStQBya2NwXU91Ul81RIjap0JIQvNiLZc9R87uJjYygDnC+P8K394p2 yVIyhYjqyhBKeNJALKbmh4G/6mg6bTJugqSyYATiA7ZjxgxgC3s4QBtfzqXnJaDH1+0P Zua3RF7c6o9vIWDtg8kGuAAdZA3J+hP1MhdFZE9qpRGJ0QuHts8gSlps0mTMWHErXcgs lE4w== X-Gm-Message-State: AMCzsaVuDYc5pLI+lyKzA1BEU9MoAULxyFdixoGI7gdBizwsZkhEQ32s fy0UPt2fvHlDDGo8NEzRiY8IGh7aXntuMlO5l5M= X-Google-Smtp-Source: ABhQp+QXjF39wvqFJdA3Jn4mPxLvUBXBYfckMjy2j3i9r2OBEA8JlH9C33QO6mUm1OF1gSu7sG5883YiTPSe+cDfYX4= X-Received: by 10.107.47.133 with SMTP id v5mr175545iov.22.1509548331445; Wed, 01 Nov 2017 07:58:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.176.201 with HTTP; Wed, 1 Nov 2017 07:58:50 -0700 (PDT) In-Reply-To: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> References: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> From: Adam Vande More Date: Wed, 1 Nov 2017 09:58:50 -0500 Message-ID: Subject: Re: Upgrade and problem To: Bernt Hansson Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 14:58:52 -0000 On Wed, Nov 1, 2017 at 7:59 AM, Bernt Hansson wrote: > Hello list! > > Installed 11.0R yesterday but can't get gateway_enable="yes" > to function. With or without firewall (ipfilter) > What do you mean you can't get it to function? It sets a sysctl. Is the sysctl set correctly? -- Adam From owner-freebsd-questions@freebsd.org Wed Nov 1 15:23:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C01EBE5E110 for ; Wed, 1 Nov 2017 15:23:05 +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 3FCD5722CF for ; Wed, 1 Nov 2017 15:23:03 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id vA1FMxJ3025135; Wed, 1 Nov 2017 16:23:00 +0100 (CET) (envelope-from bah@bananmonarki.se) Subject: Re: Upgrade and problem To: Adam Vande More Cc: "freebsd-questions@freebsd.org" References: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> From: Bernt Hansson Message-ID: <1ea0a3df-4ae8-29c2-e2f9-d94c46bf6315@bananmonarki.se> Date: Wed, 1 Nov 2017 16:22:59 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 15:23:05 -0000 On 11/01/17 15:58, Adam Vande More wrote: > On Wed, Nov 1, 2017 at 7:59 AM, Bernt Hansson wrote: > >> Hello list! >> >> Installed 11.0R yesterday but can't get gateway_enable="yes" >> to function. With or without firewall (ipfilter) >> > What do you mean you can't get it to function? Exactly as i wrote, no more no less. > It sets a sysctl. Is the > sysctl set correctly? Can't tell since i don't know what sysctl is set or reset. > From owner-freebsd-questions@freebsd.org Wed Nov 1 15:27:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89023E5E246 for ; Wed, 1 Nov 2017 15:27: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 53B2F72436 for ; Wed, 1 Nov 2017 15:27:14 +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 vA1FRCHh079674 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 1 Nov 2017 09:27:12 -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 vA1FRCT0079671; Wed, 1 Nov 2017 09:27:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 1 Nov 2017 09:27:12 -0600 (MDT) From: Warren Block To: Elxa Kiltse cc: FreeBSD Questions Subject: Re: new GPT/UFS ssd drive not booting In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Wed, 01 Nov 2017 09:27:13 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 15:27:15 -0000 On Wed, 11 Oct 2017, Elxa Kiltse wrote: > Hello, > > I installed a new ssd, following the instructions at: > > http://www.wonkity.com/~wblock/docs/html/ssd.html > > It all went fine, but when I try to boot the system it says: > > > Trying to mount root from ufs:/dev/ufs/gptroot > ROOT MOUNT ERROR: > If you have invalid mount options, reboot, and first try the following from > the loader prompt: > set vfs.root.mountfrom.options=rw Edit /etc/fstab in ssdrootfs on the SSD, which probably still has a copy of the hard drive version. The loader reads that to get the root device. Don't set those values in /boot/loader.conf. From owner-freebsd-questions@freebsd.org Wed Nov 1 15:42:56 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF425E5EAD6 for ; Wed, 1 Nov 2017 15:42:56 +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 BA8197333C for ; Wed, 1 Nov 2017 15:42:56 +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 vA1FNj2x078658 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 1 Nov 2017 09:23:45 -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 vA1FNiaq078655; Wed, 1 Nov 2017 09:23:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 1 Nov 2017 09:23:44 -0600 (MDT) From: Warren Block To: Kate Dawson cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD ZFS file server with SSD HDD In-Reply-To: <20171011130512.GE24374@apple.rat.burntout.org> Message-ID: References: <20171011130512.GE24374@apple.rat.burntout.org> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Wed, 01 Nov 2017 09:23:45 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 15:42:57 -0000 On Wed, 11 Oct 2017, Kate Dawson wrote: > Hi, > > Currently running a FreeBSD NFS server with a zpool comprising > > 12 x 1TB hard disk drives are arranged as pairs of mirrors in a strip set ( RAID 10 ) > > An additional 2x 960GB SSD added. These two SSD are partitioned with a > small partition begin used for a ZIL log, and larger partion arranged for > L2ARC cache. For FreeNAS, we recommend against using sharing an SSD like this. In fact, we recommend against using one SSD for anything more than a single SLOG for a single pool. To be effective, this needs to be a low-latency SSD, and I/O contention with other shared partitions on the same device can negate the performance benefit. From owner-freebsd-questions@freebsd.org Wed Nov 1 17:51:25 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06722E61557 for ; Wed, 1 Nov 2017 17:51:25 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::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 B5C3A77B8F for ; Wed, 1 Nov 2017 17:51:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x235.google.com with SMTP id h70so7862368ioi.4 for ; Wed, 01 Nov 2017 10:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yN5TFtvSO5Owol5NAw9krD25eB3MCLF6PUfcQKb4DwE=; b=ELvkl0oqFRhDaXg+5aiOxcRfgd/w9sRSlet2dEl3zyfvIODJdGEFbWC9kk9MwxbH1T agooKsM5697QKTeXdL+uj3FRuZnPp4PgqZd5rBlzdjzy7yMigaEHa7nKGAMIH5OgT5GH +qwidsEOX7Fw6o6C2uIMrNkCfUG5V9PlJpnnE4otS2OQJxDT11pznQ8aqNmoC5lx/WtM VkUXpJAQ+VeOgmR2EquoD0oDnpGf0LspNVFsc9WRVMWHG6CePcrEbJKr7pfxR6HcglKC cAX7zoVzpfQgHLCtBIcBaFJ9uovvU4FlGIgq9RcJ4fDMxGSdbk2LD81+IoJtdkzoVLJf D8cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yN5TFtvSO5Owol5NAw9krD25eB3MCLF6PUfcQKb4DwE=; b=GP0+kEOUbcSE7nrWGOPv/5K4J1IuyLpsye/S1BzZiSYE8Z/kNQMa5TaJ83/5UoaYEb NaJvzg0W7q/V/6Dkeu7fk/oaax/+MnBg/AyFKJNEI2vcrxzruL+jO1hCo/VE9gDXrrbT xVdvSj11NeTQLKHpENPCDb0+VDHKieQaqdmWcGfOdVwhtgWlQAkua1bR1K881d0IZBiq 9zjWFMU66ABv3kug+wPmx+WH6pnbSoL+FTZcBXq0tnqADEAChsvcYps6IRKbTWkimKqR I0jmOwK0HK2QjuYp1nclF4NdbLtHEbrK+cRHYWzqetDbi8+LDLH00mmP9LQKPH7SuCyu pO2Q== X-Gm-Message-State: AMCzsaV+gJwjFPb0YTUJ/AxTHqOBBe9Gofa27s8qcK1EG9k5nFtARoY4 A4wMeRzQTp/TO8hN2j1uZzI/HpygjN4hCHURf5Y= X-Google-Smtp-Source: ABhQp+Sgri8ITTnF3pZtnS0S1RnqT46IBVr6oEFC92AkcplNC2FKR17oQzSkIiA171Tk8D0IC90F1DQOuaPdd2U97cE= X-Received: by 10.107.138.10 with SMTP id m10mr875433iod.164.1509558684025; Wed, 01 Nov 2017 10:51:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.176.201 with HTTP; Wed, 1 Nov 2017 10:51:23 -0700 (PDT) In-Reply-To: <1ea0a3df-4ae8-29c2-e2f9-d94c46bf6315@bananmonarki.se> References: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> <1ea0a3df-4ae8-29c2-e2f9-d94c46bf6315@bananmonarki.se> From: Adam Vande More Date: Wed, 1 Nov 2017 12:51:23 -0500 Message-ID: Subject: Re: Upgrade and problem To: Bernt Hansson Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 17:51:25 -0000 On Wed, Nov 1, 2017 at 10:22 AM, Bernt Hansson wrote: > On 11/01/17 15:58, Adam Vande More wrote: > >> On Wed, Nov 1, 2017 at 7:59 AM, Bernt Hansson >> wrote: >> >> Hello list! >>> >>> Installed 11.0R yesterday but can't get gateway_enable="yes" >>> to function. With or without firewall (ipfilter) >>> >>> What do you mean you can't get it to function? >> > Exactly as i wrote, no more no less. > >> It sets a sysctl. Is the >> sysctl set correctly? >> > Can't tell since i don't know what sysctl is set or reset. > >> >> > Then how do you know it's not functioning? -- Adam From owner-freebsd-questions@freebsd.org Wed Nov 1 18:06:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0B83E6194B for ; Wed, 1 Nov 2017 18:06:12 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::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 95D6B7C3DF for ; Wed, 1 Nov 2017 18:06:12 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x231.google.com with SMTP id 101so7982846ioj.3 for ; Wed, 01 Nov 2017 11:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=sDULpmbBeOo8DiGEURc82I98ZJwkDrkGbLL/VpzHbPw=; b=nqKTN+LQ+HBvMMscby532+QchusvEChf4MIa/JgmbaLGjuIDBbSK+oYt8jndoNXMsJ CGuqcFx2INBN9Ki69MNGDXGUHxHTNkEjpvAquyfKbNU8HPk8cR0DjV3kVu9RekuzIit9 zM14HiiG8axkWonXWiz7C6i388YC4Aqo0vZEjuuAtz7hvlg6BZM9K3RuEv08ir7pNgRo Vk52Twd2dEG2MxcKbgBP5cYguDiB+A23Uiyw/Ek4HhaLEtXgbvJIsPZogtOtrmJ7Gano SmqRyh6UEyOfxpHuwjHaS+3d7DT8aZl05gfSK76SSq9z/6PSyxqYWLOc8r6+Ulj4HWca VmoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=sDULpmbBeOo8DiGEURc82I98ZJwkDrkGbLL/VpzHbPw=; b=VbLNhk4/qVaa0UcNINfrqE5Q/26orkkHc7XpEwRRHzPivOzJJPwuy6j5V/fWghyl6b nwj5canojnCKgOCNs0bF5TKt5Vd6WwH5zBUrw+MTLvWfDn2c7W1ulstgmk3oz3jJx7QB 0gRn33PpIE5ky5KAnwZL+r8E1nKSkw9+jIBnR/Q/5CAq3svV3/rPPDOdFfJS66DA76ce DFOcqes8hlhcNkcFfVskSXAOgtb93awXbL4Z3WWSZyRsY0+lMx3QzZPexdB9aoscrP32 gvY0C2H7uRS+UXJF7N/NQfNENenKrNw+nwKTnpVdyuwyMhnCiWqEbrj8QKeHKhR7dROn ge4w== X-Gm-Message-State: AMCzsaXQUoxyhX63X4DQY2dv+Ecf5Lp/R63tbM76dwi3rndIlG/eihYA o9g2rjo7oaztJs+r5uSFXJ4brg== X-Google-Smtp-Source: ABhQp+QBip1azRTRxGpcH8ov5wgKLVwSzkSKzx5pim5eKehl2NetxWvtpaRT5CbntDCsphUiIsdMDw== X-Received: by 10.36.224.78 with SMTP id c75mr1641155ith.71.1509559572091; Wed, 01 Nov 2017 11:06:12 -0700 (PDT) Received: from [10.0.10.7] (cpe-65-25-50-122.neo.res.rr.com. [65.25.50.122]) by smtp.googlemail.com with ESMTPSA id u84sm482130ioi.53.2017.11.01.11.06.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Nov 2017 11:06:11 -0700 (PDT) Message-ID: <59FA0D12.1000209@gmail.com> Date: Wed, 01 Nov 2017 14:06:10 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Matthew Seaman CC: freebsd-questions@freebsd.org Subject: Re: Gigabit Ethernet adapter problem References: <59F895A5.1040809@gmail.com> <6ea04a6e-0c25-16e4-8007-8b647e473813@infracaninophile.co.uk> In-Reply-To: <6ea04a6e-0c25-16e4-8007-8b647e473813@infracaninophile.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 18:06:12 -0000 Matthew Seaman wrote: > On 31/10/2017 15:24, Ernie Luzar wrote: >> em - Intel(R) PRO/1000 Gigabit Ethernet adapter driver >> >> The boot messages show the Gigabit Ethernet adapter is correctly >> identified at boot time as shown below. >> >> em0: port 0xf080-0xf09f >> mem 0xf7d00000-0xf7d1ffff,0xf7d3c000-0xf7d3cfff irq 20 at >> device 25.0 on pci0 >> em0: Using an MSI interrupt >> em0: Ethernet address: d0:50:99:93:75:98 >> em0: netmap queues/slots: TX 1/1024, RX 1/1024 >> >> >> But after the system is up and running ifconfig em0 shows >> >> em0: flags=8843 >> metric 0 mtu 1500 >> options=4019b> TSO4,VLAN_HWTSO> >> ether d0:50:99:93:75:98 >> hwaddr d0:50:99:93:75:98 >> inet 10.0.10.2 netmask 0xff000000 broadcast 10.255.255.255 >> nd6 options=29 >> media: Ethernet autoselect (100baseTX ) >> status: active >> >> and we see that (100baseTX ) has been selected as default >> and it should be (1000baseTX ). >> >> How do I force the Ethernet adapter into Gigabit mode? > > This sort of down-grade is either because the switch port you've go the > machine plugged into is somehow set to negotiate to 100Mb/s, or else > you've got some dodgy cabling and consequently the system has backed off > to 100Mb/s because it can't sustain 1000Mb/s. > > Try looking at the output of 'netstat -i' -- if there are any errors > listed in the ierrs or oerrs columns, and particularly if they are > increasing over time. That indicates some sort of hardware problem, > usually due to a network cable having broken or been kinked or even tied > too tightly into a bundle. Start by swapping out the ethernet cable -- > it's cheap to replace. > > Cheers, > > Matthew > Turns out my Gigabit problem was the inline switch. It has a manufactures label calling itself "Gigafast 10/100". I replaced it with a new Gigabit switch and now all devices have Gigabit connection. Thanks to all who replied. From owner-freebsd-questions@freebsd.org Thu Nov 2 05:42:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0206E502DF for ; Thu, 2 Nov 2017 05:42:05 +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 1FC096E471 for ; Thu, 2 Nov 2017 05:42:03 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id vA25fwKs027344; Thu, 2 Nov 2017 06:41:59 +0100 (CET) (envelope-from bah@bananmonarki.se) Subject: Re: Upgrade and problem To: Adam Vande More Cc: "freebsd-questions@freebsd.org" References: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> <1ea0a3df-4ae8-29c2-e2f9-d94c46bf6315@bananmonarki.se> From: Bernt Hansson Message-ID: <2240649d-2ea7-4bb0-a77b-4ba6c92a4e38@bananmonarki.se> Date: Thu, 2 Nov 2017 06:41:58 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 05:42:05 -0000 On 11/01/17 18:51, Adam Vande More wrote: > On Wed, Nov 1, 2017 at 10:22 AM, Bernt Hansson wrote: > >> On 11/01/17 15:58, Adam Vande More wrote: >> >>> On Wed, Nov 1, 2017 at 7:59 AM, Bernt Hansson >>> wrote: >>> >>> Hello list! >>>> Installed 11.0R yesterday but can't get gateway_enable="yes" >>>> to function. With or without firewall (ipfilter) >>>> >>>> What do you mean you can't get it to function? >> Exactly as i wrote, no more no less. >> >>> It sets a sysctl. Is the >>> sysctl set correctly? >>> >> Can't tell since i don't know what sysctl is set or reset. >> >>> > Then how do you know it's not functioning? > Since the machines on the lan can't get to the internet, that's why. From owner-freebsd-questions@freebsd.org Thu Nov 2 12:45:21 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07CA2E58E05 for ; Thu, 2 Nov 2017 12:45:21 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BAC337D73C for ; Thu, 2 Nov 2017 12:45:20 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x22b.google.com with SMTP id h70so13637735ioi.4 for ; Thu, 02 Nov 2017 05:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xZVDy1Tdtuhq5BfJmY9CqykI9IgYta6k9GAXautD02M=; b=uJCmuK3qeYUtb608piA8vJf3ruHBVM977F6BfecioICNqbOoNs/4dmhxxymuoJOKij J3/i6oMVZStxLWH35GLQLD8Y2dp7zcxz4iuV/saIIS5py59vhXj8CzNOqyteOmIBvF7m tne/P2X6bHoMPTXX4VQEiH69Y4FTps/rp1EVD799/4ORJyFTDyQcrf7KbaTlzNMgnOag G0+oswPNTOBUkJhTB8r5E+a9XmWL2D7NaToMSYx75lQ0W5hApMdj0JIU38ZMq97P08yd F3KmZhvu5eUBpwI+ZnNodBil9q/qVlaAlq3luygGdBOo/YmSqeYafB5ADYSTAM4EbB00 apew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xZVDy1Tdtuhq5BfJmY9CqykI9IgYta6k9GAXautD02M=; b=FvgY2t+8LSADpkxevrhgGWr9g12AI+ALNrEKUyOeP4l1npUXThT1LH2Bv6yKMu/OxA SGboO9inhHY5Bp76jIj49P+1aWJm2VbCbe8FN/N5eREtajFztq2/euyKK2REkXYVclSg KRP58YIok9JPmyGhPdMwE0QvYlVcd3fxwXqnNiD5sO4/ePL9xWHtZaEI8BextkCBZ9FU RP2NRki09yXmzAq+doxqbAXdQFSbfRJWQzISSj2xz6w45jCCK7noBDHYqeywos48vEO3 01668zPlDynFCnlDQFWsLc3lCzXS0xYYPzc2g9AicmUaTfnoHn+IrncsLSHoCCNvE7aD ZzAw== X-Gm-Message-State: AMCzsaVQKrZTVXMr6bArJpoRfwSsYWiZ/dumQU8G0AGlyfWoFHWYy2yy vqn4wcLpIcqZVoeqm/UkH6Dyhcpxb9PGmxgVz8xqJg== X-Google-Smtp-Source: ABhQp+QAmE/s7sGDgFQuKQRB5ox0Q4NTbHg/mdEADN4CnJfTM2WQ2KI/2B/GdEZ2RIfMXkcRVqbNJUVcZF3s5/bMuDU= X-Received: by 10.107.47.133 with SMTP id v5mr4111126iov.22.1509626720107; Thu, 02 Nov 2017 05:45:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.176.201 with HTTP; Thu, 2 Nov 2017 05:45:19 -0700 (PDT) In-Reply-To: <2240649d-2ea7-4bb0-a77b-4ba6c92a4e38@bananmonarki.se> References: <5224d18b-0346-f2db-3ca9-8a7b4128c250@bananmonarki.se> <1ea0a3df-4ae8-29c2-e2f9-d94c46bf6315@bananmonarki.se> <2240649d-2ea7-4bb0-a77b-4ba6c92a4e38@bananmonarki.se> From: Adam Vande More Date: Thu, 2 Nov 2017 07:45:19 -0500 Message-ID: Subject: Re: Upgrade and problem To: Bernt Hansson Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 12:45:21 -0000 On Thu, Nov 2, 2017 at 12:41 AM, Bernt Hansson wrote: > Since the machines on the lan can't get to the internet, that's why. > That doesn't mean what you claimed is broken actually is. Perhaps you can share more about your setup like is nat required, your rc.conf, and output from ifconfig. You may also benefit from this: https://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/article.html#idp52878824 Have you reviewed the handbook on these topics? If so what sections? -- Adam From owner-freebsd-questions@freebsd.org Thu Nov 2 14:13:17 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB5C1E5AC3C; Thu, 2 Nov 2017 14:13:17 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::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 92A948014C; Thu, 2 Nov 2017 14:13:17 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x235.google.com with SMTP id 101so14304054ioj.3; Thu, 02 Nov 2017 07:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=dDiy2HXxNia9kxPWXSJD4gI6mU8RzZ8lcb6v5GKmkBI=; b=WJICb4GQb9Z65aWamSeudVAnx7M7q4DV22aSRwAW/swn1kAPyuLFolfsZD3zL8LZKB 7S4e32mUhkEX9BqpCyQ0xXsGjFnq5lStFpESRhheE3FzAohopFeb0fjq4g0cm7fjQm9G l+nZtwcMUkmIc9R4Jcl2UnKtzkHnL1ZhJ6/XH3aijvPbDhfgcYq6MCg7j5FeT0pMnDNS dX3IaZTB+qq5AN83dygj/pJbm/mZxMB1WSBEY5zXgZMJhKaCVLL8+25yF+UqNCgpeaFd mte1+lFAx0TxPJHAvNq/TOOL9txho+BjNLsMPjWQ38toTVtGxd8CYGs14VIgRZmF242j P5JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=dDiy2HXxNia9kxPWXSJD4gI6mU8RzZ8lcb6v5GKmkBI=; b=EYUiFx++/oqw8Ku8iKiR4xqcLIw8s5WS2y8XEQtywQhIXuxO4i75bQD7ZBRaCyzezl 9zYA4lJqu8XPc4g+ASIvgQenfOGFOl7mID3WwEBGFGHoDO4On0+hzhgdjDV9Ym9wObfd woNLqqXkWR4WCRZSU1oHoh9pnwolBHdVTiARMEsZFMrDi2g/sa0JQIoxS93eYZvw+qKY i4PRsD/cN5yDcUbeyUS7X9WR5V97+zZUwfIpoEMblNnrus1aP0IqiYeYPxKvtUQCVRzU 1iLojUA4C6jQbK/H6pMVN0EVz8evZdOZWFPNLrP5ErCw1TC2eGyp4KDGmQw/HgNCsXpz ga4A== X-Gm-Message-State: AJaThX4lSE7HsX0Shx/HthZuxkuzTNWxqOBeNjKR1ZV2DJZfnnzRpXDj zDq92lJed4bhLCOvIv6xKKpzsQ== X-Google-Smtp-Source: ABhQp+QxB1+RHdjD5qvgMxYqwWgiRTBkeeLPxuTafsJ12RdP9YAcdzXZYdWRm1FkNCwW+pj38BBrrA== X-Received: by 10.107.11.219 with SMTP id 88mr4620236iol.78.1509631996817; Thu, 02 Nov 2017 07:13:16 -0700 (PDT) Received: from [10.0.10.7] (cpe-65-25-50-122.neo.res.rr.com. [65.25.50.122]) by smtp.googlemail.com with ESMTPSA id e68sm1166798ite.0.2017.11.02.07.13.15 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Nov 2017 07:13:16 -0700 (PDT) Message-ID: <59FB27FB.6060704@gmail.com> Date: Thu, 02 Nov 2017 10:13:15 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" , FreeBSD current Subject: watchdog timeout problem 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 14:13:17 -0000 Posted this 10/31/2017 got no reply. Been getting these error messages since about release 10.0 I think. Have changed to new hardware box and new cable modem and still having the same error messages. Also occurs when I use em0 interface to connect to the public internet instead of vge0. vge0: flags=8843 metric 0 mtu 1500 options=389b ether 00:0b:db:19:33:18 hwaddr 10:00:60:21:00:93 inet xxx.xxx.xxx.xxx netmask 0xfffff000 broadcast 255.255.255.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active Oct 30 23:43:38 fbsd kernel: vge0: watchdog timeout Oct 30 23:43:38 fbsd kernel: vge0: link state changed to DOWN Oct 30 23:43:42 fbsd kernel: vge0: link state changed to UP Oct 30 23:58:39 fbsd kernel: vge0: watchdog timeout Oct 30 23:58:39 fbsd kernel: vge0: link state changed to DOWN Oct 30 23:58:43 fbsd kernel: vge0: link state changed to UP Oct 31 01:08:38 fbsd kernel: vge0: watchdog timeout Oct 31 01:08:38 fbsd kernel: vge0: link state changed to DOWN Oct 31 01:08:42 fbsd kernel: vge0: link state changed to UP Oct 31 01:53:39 fbsd kernel: vge0: watchdog timeout Oct 31 01:53:39 fbsd kernel: vge0: link state changed to DOWN Oct 31 01:53:43 fbsd kernel: vge0: link state changed to UPdob Oct 31 04:58:46 fbsd kernel: vge0: watchdog timeout Oct 31 04:58:46 fbsd kernel: vge0: link state changed to DOWN Oct 31 04:58:50 fbsd kernel: vge0: link state changed to UP Oct 31 05:23:49 fbsd kernel: vge0: watchdog timeout Oct 31 05:23:49 fbsd kernel: vge0: link state changed to DOWN Oct 31 05:23:52 fbsd kernel: vge0: link state changed to UP Oct 31 05:57:40 fbsd kernel: vge0: watchdog timeout Oct 31 05:57:40 fbsd kernel: vge0: link state changed to DOWN Oct 31 05:57:43 fbsd kernel: vge0: link state changed to UP Oct 31 09:21:43 fbsd kernel: vge0: watchdog timeout Oct 31 09:21:43 fbsd kernel: vge0: link state changed to DOWN Oct 31 09:21:47 fbsd kernel: vge0: link state changed to UP Oct 31 09:28:21 fbsd kernel: vge0: watchdog timeout Oct 31 09:28:21 fbsd kernel: vge0: link state changed to DOWN Oct 31 09:28:25 fbsd kernel: vge0: link state changed to UP 11/2/2017 posting this now as a update I have continued to research this problem. The "man watchdog" says that the command, watchdog -d will provide debugging info, and watchdog -t will set a new timeout timer value When I issue either of those commands I get this error message watchdog: patting the dog: Operation not supported The man page also says a value of -t 0 disables the watchdog function. Issuing "watchdog -t 0" does not get that above error message, but the watchdog function is still enabled because I am still getting the kernel: vge0: watchdog timeout kernel: vge0: link state changed to DOWN kernel: vge0: link state changed to UP messages. Production box is running RELEASE AMD64 11.1 and has 16 MB memory, with 2 Gigabit interface cards em0 & vge0. Development box is running RELEASE i386 11.1 beta 1 and has 2 MB memory, with 2 100bps interface cards rl0 & xl0. The 2 boxes are desktops manufactured by 2 different name brand companies. Both computers run the same host services. Both computers experience the same watchdog problems. This watchdog problem is also present in RELEASE 11.0 and if my memory is correct also occurred in the 10.x series. I never paid attention to this problem until lately when I am now streaming HULU and the show stops because the internet connection is lost due to the link state being reset by watchdog. Now this problem is really a problem that is impacting me. Can't see how this could be a configuration problem on my part. That is why I am posting here before I post a bug report. Watchdog is in the kernel and debugging the kernel is way outside my abilities. Trying to get this problem in front of the correct audience. From owner-freebsd-questions@freebsd.org Thu Nov 2 14:20:17 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 479B5E5AFE1 for ; Thu, 2 Nov 2017 14:20:17 +0000 (UTC) (envelope-from karlthane@gmail.com) Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::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 1BFCC80595 for ; Thu, 2 Nov 2017 14:20:17 +0000 (UTC) (envelope-from karlthane@gmail.com) Received: by mail-pf0-x22e.google.com with SMTP id b85so4719122pfj.13 for ; Thu, 02 Nov 2017 07:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=nH3cfFOJ1mA6gZbuSJNfHmRT1S+FYHr/0To3Y24vh1w=; b=cwljgX6g7OdRX/w3wI7gdtavx79XveTqIxHgUGXgLmyiEiO/YyUhfl7u6Yi2GJ8ZKM vrrX7uw3N/gKKEecpTJnsdnUVKTd6hDEtcdoBMWOZwP9wDpr98dtmaNtiHD0qcKvl0Te TIeZhT4tPHsYr83x/mZc/x1mKWrdN2klfcEXdCfohrwMBmPSPsn8iXA/mcUzMGXPOikJ 1b3650jrStrnSUYynlzWGSS2Tl0JhmuoY2fzOSz3/cmPHyXfTECovIQomDJzxpbYolhd 25FBJmrQsMUFtisbeODGDv7HKjSMtr9ftsYTBZEM0uKzXOMosgAsXyuqt/J0uThb16pw smGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nH3cfFOJ1mA6gZbuSJNfHmRT1S+FYHr/0To3Y24vh1w=; b=RzCh4HvYPOTwet1DcFAOfVwEHQFSJI7KYUasQLBYk8S59c/8DR7wmJU6uq1KAesaHO b4AlhWV0kfSVlDL4OOByVu2nwWWvrq5cQnH5xgGPmqcAr4sowZuH2mJhiXAYw48POhKG aIP2KBbNo8Z2UXosPPWFo2pTsUJjOcnYiO5sUUJjdA0uhjL3vBRF7zbpujcNUfS3Q2f7 4LLrpTbMn1/WIx1X5c3vhT3Xe4G6b5lsQHoMVy88B57cRlbZGpc21G5ZEJVVTmPenn6k 8/hWuNyZj+XNxDrOJTkTS9v4BjhVUXcqqKMwBCdnub3OrhI9bdi5946HG+4GeCk2cPRq VFFw== X-Gm-Message-State: AMCzsaVFhYMONvsky1L3PBSE//B/XA/UCDSMpto/fcglFeDIIFL+4FXL zawFuSe/YSh9BFZuEqv1DQlqTQhCn8Os5ANtqAvE0Q== X-Google-Smtp-Source: ABhQp+QlGu9a/hLGcFYGmWmYREY0XUxA7+dHBZSOAp3DDONUOLl/6gzWTXa2SctaKNzEr9WMFp9Nl8yxSHgCZHOwIxs= X-Received: by 10.99.105.71 with SMTP id e68mr3725346pgc.55.1509632416193; Thu, 02 Nov 2017 07:20:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.144.201 with HTTP; Thu, 2 Nov 2017 07:20:15 -0700 (PDT) From: Alex Thomas Date: Thu, 2 Nov 2017 09:20:15 -0500 Message-ID: Subject: Freebsd 11.1-Release boot loader not working To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 14:20:17 -0000 Satellite A665-S5170, i3, 4GB RAM, 640GB HDD, realtek ethernet, intel wifi+wimax System will boot from USB or hard disk with Windows, Linux (using GRUB2), or the OpenBSD bootloader without issue, and after install boots normally. FreeBSD 11.1-Release ( and TrueOS) Only booting via optical drive works for install, ( boot from usb fails ) and once system is installed and rebooted, it fails to boot with system giving error of "Boot Failure" Any suggestions on what I can do to further troubleshoot or get more data would be appreciated. Filed bug on bugzilla https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223349 Alex Thomas From owner-freebsd-questions@freebsd.org Thu Nov 2 14:35:54 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FC19E5B672; Thu, 2 Nov 2017 14:35:54 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pf0-x22d.google.com (mail-pf0-x22d.google.com [IPv6:2607:f8b0:400e:c00::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 CFDD880E51; Thu, 2 Nov 2017 14:35:53 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by mail-pf0-x22d.google.com with SMTP id d28so4779076pfe.2; Thu, 02 Nov 2017 07:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xVo/GE8kSq10pm5Xljp8AiTOfHmehGQd24TNa+HEArY=; b=re9SNiW/jt74QeS0m0Pa4GTNudmNhnusuaXF8+Uld61MovkECulbfUX91+ZqsgOK/B oEIqgfEsqVP2jpIFACuXCRv2EaBkri/gBfIw/Iy1JnKuv4CV1947v47XA4alqAcxiMby XONX8RQzeb4tpGZDGYke/AvqM1QR72C2KqG7YXm50xawOwUgsDFuLUEYaLY3/MuHhXX4 HQKnaeFBjo3DITH01iZZOlkCluvZ13UR6pXRxF50wbhXwVejK4Kub5kRvKxsLUUKvtAK zbJF0JkHj/GKtEA+P979AcovYLfj75mmSwcEkpIHxLGfXWVg1AOv4mfyRJZiOqbKGl4k TW0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=xVo/GE8kSq10pm5Xljp8AiTOfHmehGQd24TNa+HEArY=; b=ZaoQPbpEWsl8SBZsLVEXv49fAXR6mEfHk2XlHVkBGacg1olcU20d8Wl4KINtTY4+GM NCx8OdWjal8+PVFHqrMYyy6lcu3WF4WthwCkKc/Tgyye5A1NNIdNTfsIM5PUzIduoiRE MXxD0ZEFBuOyVd2WpW5j0Hv+wqCQU2/qzXGwr6e2c32sZP8Yfx1G7tQyZ9DkTwNFVq0f tY3N4rqEpBtdtT6QlG3smhKPBfp9bBCTgeLzizjynwFmdtDbyfeFxdMZyUaNQIayYuPZ XF7VFrbhrwtfGwe9NTx0ssRnXD9tZyBEQ1RSWPh1H+809Y0vIYMSV2X8X5Dttl5ZBXrD tYMQ== X-Gm-Message-State: AMCzsaXJBsY9AR7RQMFfK2f+KXjDSHy2cOKPHkSxJi4wY2nyKPyHRLLh Ty3Sx4Htyhn7xudk1Z7DJrU= X-Google-Smtp-Source: ABhQp+RtYzJPm8og/B6NXlyqEr47IS9WX4L4/QGtCusFv/6MYJmoMRn2ETZY/LWCIrbf/4TPJXMcDQ== X-Received: by 10.99.123.84 with SMTP id k20mr3787823pgn.444.1509633353332; Thu, 02 Nov 2017 07:35:53 -0700 (PDT) Received: from localhost ([116.46.79.45]) by smtp.gmail.com with ESMTPSA id u188sm5812448pfb.188.2017.11.02.07.35.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Nov 2017 07:35:51 -0700 (PDT) From: YongHyeon PYUN X-Google-Original-From: "YongHyeon PYUN" Received: by localhost (sSMTP sendmail emulation); Thu, 02 Nov 2017 23:35:47 +0900 Date: Thu, 2 Nov 2017 23:35:47 +0900 To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" , FreeBSD current Subject: Re: watchdog timeout problem Message-ID: <20171102143547.GA1065@michelle.fasterthan.co.kr> Reply-To: pyunyh@gmail.com References: <59FB27FB.6060704@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59FB27FB.6060704@gmail.com> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 14:35:54 -0000 On Thu, Nov 02, 2017 at 10:13:15AM -0400, Ernie Luzar wrote: > Posted this 10/31/2017 got no reply. > > Been getting these error messages since about release 10.0 I think. > Have changed to new hardware box and new cable modem and still having > the same error messages. Also occurs when I use em0 interface to connect > to the public internet instead of vge0. > > vge0: flags=8843 > metric 0 mtu 1500 > options=389b WOL_UCAST,WOL_MCAST,WOL_MAGIC> > ether 00:0b:db:19:33:18 > hwaddr 10:00:60:21:00:93 > inet xxx.xxx.xxx.xxx netmask 0xfffff000 > broadcast 255.255.255.255 > nd6 options=29 > media: Ethernet autoselect (1000baseT ) > status: active > > > > Oct 30 23:43:38 fbsd kernel: vge0: watchdog timeout > Oct 30 23:43:38 fbsd kernel: vge0: link state changed to DOWN > Oct 30 23:43:42 fbsd kernel: vge0: link state changed to UP [...] Would you show me the output of dmesg? > > 11/2/2017 posting this now as a update > > I have continued to research this problem. > The "man watchdog" says that the command, > watchdog -d will provide debugging info, and > watchdog -t will set a new timeout timer value > > When I issue either of those commands I get this error message > watchdog: patting the dog: Operation not supported > > The man page also says a value of -t 0 disables the watchdog function. > > Issuing "watchdog -t 0" does not get that above error message, but the > watchdog function is still enabled because I am still getting the > > kernel: vge0: watchdog timeout > kernel: vge0: link state changed to DOWN > kernel: vge0: link state changed to UP > > messages. > The watchdog timeout message is generated when vge(4) didn't see transmit completion interrupts. It has nothing to do with watchdog(8) or watchdog(4). From owner-freebsd-questions@freebsd.org Thu Nov 2 18:13:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BDCBE60096 for ; Thu, 2 Nov 2017 18:13:05 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 5BA213F49 for ; Thu, 2 Nov 2017 18:13:04 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id E007C189A5; Fri, 3 Nov 2017 03:12:56 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 9D13313178; Fri, 3 Nov 2017 03:12:56 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 72EB313177; Fri, 3 Nov 2017 03:12:56 +0900 (JST) Date: Fri, 03 Nov 2017 03:12:32 +0900 (JST) Message-Id: <20171103.031232.357212523838718255.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: Three '450.status-security' scripts enabled by default From: Yasuhiro KIMURA In-Reply-To: <20171101.080635.1904928420192655172.yasu@utahime.org> References: <20171031230333.K40402@sola.nimnet.asn.au> <20171101.074325.435079995878776971.yasu@utahime.org> <20171101.080635.1904928420192655172.yasu@utahime.org> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 18:13:05 -0000 From: Yasuhiro KIMURA Subject: Re: Three '450.status-security' scripts enabled by default Date: Wed, 01 Nov 2017 08:06:35 +0900 (JST) > OMG, again the source of this problem is "pkg". 410.pkg-audit and > 460.pkg-checksum doesn't support security_status_*_period > variable. Therefore they are always executed if > weekly_status_security_enable and/or monthly_status_security_enable is > 'YES' (and they are 'YES' by default). Support of security_status_*_period variable is added to these scripts on GitHub repository. https://github.com/freebsd/pkg/commit/956dcc5f2205168d0ad321b6cc7c25cc473d2314 https://github.com/freebsd/pkg/commit/cc27c8ce390b96f1fe649f3f5ce2150b2605ed41 Just FYI. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Thu Nov 2 19:14:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EF5AE613CB for ; Thu, 2 Nov 2017 19:14:01 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D5BFD6603A for ; Thu, 2 Nov 2017 19:14:00 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 0992E62334 for ; Thu, 2 Nov 2017 15:13:53 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pidqZ8p8zYh6 for ; Thu, 2 Nov 2017 15:13:50 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id F2A3F622AB for ; Thu, 2 Nov 2017 15:13:49 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 2 Nov 2017 15:13:50 -0400 Message-ID: Date: Thu, 2 Nov 2017 15:13:50 -0400 Subject: Reconstruct a bash_history file From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 19:14:01 -0000 I wish to reconstruct a bash_history file for a user who has HISTTIMEFORMAT=%F %T:. I have a history log file having the following format: . . . 2014-06-19 16:09:25: whois playford.de 2014-06-20 08:24:00: man xpdf 2014-06-23 08:22:16: su -l 2014-06-24 09:33:27: cd Desktop 2014-06-25 09:22:25: su -l 2014-06-26 12:15:28: su -l 2014-06-27 08:48:40: su -l 2014-06-30 08:18:04: 2014-07-02 15:40:57: history | grep enscript 2014-07-03 08:38:55: ll 2014-07-04 09:29:04: su -l 2014-07-07 09:33:34: ssh -Y xnet241 2014-07-08 08:29:59: su -l 2014-07-09 06:53:46: su -l 2014-07-10 11:20:20: whois arcom.com.br 2014-07-11 10:02:24: su -l 2014-07-14 09:58:27: su -l 2014-07-15 08:46:38: su -l 2014-07-16 10:31:52: sshtn xnet241 2014-07-17 09:50:23: history | grep PORT . . . Is there a way to recreate a valid bash_history file from this data and preserve the time stamps? If so then how? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Thu Nov 2 20:46:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4DC1E62C5B for ; Thu, 2 Nov 2017 20:46:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4AEEC69130 for ; Thu, 2 Nov 2017 20:46:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Thu, 02 Nov 2017 21:46:35 +0100 Received: from r56.edvax.de (port-92-195-25-5.dynamic.qsc.de [92.195.25.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 84CBC3CBF9; Thu, 2 Nov 2017 21:46:39 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id vA2KkYxA004621; Thu, 2 Nov 2017 21:46:34 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 2 Nov 2017 21:46:34 +0100 From: Polytropon To: byrnejb@harte-lyne.ca Cc: "James B. Byrne via freebsd-questions" Subject: Re: Reconstruct a bash_history file Message-Id: <20171102214634.dc4877cf.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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with 4A1F56C3647 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1459 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 20:46:45 -0000 On Thu, 2 Nov 2017 15:13:50 -0400, James B. Byrne via freebsd-questions wrote: > I wish to reconstruct a bash_history file for a user who has > HISTTIMEFORMAT=%F %T:. I have a history log file having the following > format: > . . . > 2014-06-19 16:09:25: whois playford.de > 2014-06-20 08:24:00: man xpdf > 2014-06-23 08:22:16: su -l > 2014-06-24 09:33:27: cd Desktop > 2014-06-25 09:22:25: su -l > 2014-06-26 12:15:28: su -l > 2014-06-27 08:48:40: su -l > 2014-06-30 08:18:04: > 2014-07-02 15:40:57: history | grep enscript > 2014-07-03 08:38:55: ll > 2014-07-04 09:29:04: su -l > 2014-07-07 09:33:34: ssh -Y xnet241 > 2014-07-08 08:29:59: su -l > 2014-07-09 06:53:46: su -l > 2014-07-10 11:20:20: whois arcom.com.br > 2014-07-11 10:02:24: su -l > 2014-07-14 09:58:27: su -l > 2014-07-15 08:46:38: su -l > 2014-07-16 10:31:52: sshtn xnet241 > 2014-07-17 09:50:23: history | grep PORT > . . . > > Is there a way to recreate a valid bash_history file from this data > and preserve the time stamps? Yes. > If so then how? You need the YYYY-MM-DD HH:MM:SS timestamp to the Epoch format, prefix it with a #, and put the command on a new line. Maybe like this, if you don't mind a multiple-line one-liner of regular shell script: $ cat history.txt | while read LINE; do DATETIME=`echo $LINE | cut -d ':' -f 1-3`; TIMESTAMP=`date -j -f "%Y-%m-%d %H:%M:%S" "${DATETIME}" "+#%s"`; COMMAND=`echo $LINE | cut -d ':' -f 4-`; echo "${TIMESTAMP}"; echo "${COMMAND}" | sed "s/^ //"; done > bash_history.txt This version is easier to read: cat history.txt | while read LINE; do DATETIME=`echo $LINE | cut -d ':' -f 1-3` TIMESTAMP=`date -j -f "%Y-%m-%d %H:%M:%S" "${DATETIME}" "+#%s"` COMMAND=`echo $LINE | cut -d ':' -f 4-` echo "${TIMESTAMP}" echo "${COMMAND}" | sed "s/^ //" done > bash_history.txt It features the "useless use of cat" line the one-liner. ;-) For your example input text, I get the following result: #1403186965 whois playford.de #1403245440 man xpdf #1403504536 su -l #1403595207 cd Desktop #1403680945 su -l #1403777728 su -l #1403851720 su -l #1404109084 #1404308457 history | grep enscript #1404369535 ll #1404458944 su -l #1404718414 ssh -Y xnet241 #1404800999 su -l #1404881626 su -l #1404984020 whois arcom.com.br #1405065744 su -l #1405324707 su -l #1405406798 su -l #1405499512 sshtn xnet241 #1405583423 history | grep PORT Does this look correct? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Nov 3 01:47:51 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25D00E67C22 for ; Fri, 3 Nov 2017 01:47:51 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DE62271531 for ; Fri, 3 Nov 2017 01:47:50 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id A7DF162421; Thu, 2 Nov 2017 21:47:48 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kuhq20Wj_yd6; Thu, 2 Nov 2017 21:47:47 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 597686218B; Thu, 2 Nov 2017 21:47:46 -0400 (EDT) Received: from 216.185.71.22 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 2 Nov 2017 21:47:46 -0400 Message-ID: In-Reply-To: <20171102214634.dc4877cf.freebsd@edvax.de> References: <20171102214634.dc4877cf.freebsd@edvax.de> Date: Thu, 2 Nov 2017 21:47:46 -0400 Subject: Re: Reconstruct a bash_history file From: "James B. Byrne" To: "Polytropon" Cc: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 01:47:51 -0000 On Thu, November 2, 2017 16:46, Polytropon wrote: > For your example input text, I get the following result: > > #1403186965 > whois playford.de > #1403245440 > man xpdf > #1403504536 > su -l > #1403595207 > cd Desktop > #1403680945 > su -l > #1403777728 > su -l > #1403851720 > su -l > #1404109084 > > #1404308457 > history | grep enscript > #1404369535 > ll > #1404458944 > su -l > #1404718414 > ssh -Y xnet241 > #1404800999 > su -l > #1404881626 > su -l > #1404984020 > whois arcom.com.br > #1405065744 > su -l > #1405324707 > su -l > #1405406798 > su -l > #1405499512 > sshtn xnet241 > #1405583423 > history | grep PORT > > Does this look correct? > > > Amazing. I will try this out tomorrow and see what the results are. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Fri Nov 3 09:30:51 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D617DE4D36D for ; Fri, 3 Nov 2017 09:30:51 +0000 (UTC) (envelope-from cassandra@myadwordbanners.com) Received: from a2nlsmtp01-03.prod.iad2.secureserver.net (a2nlsmtp01-03.prod.iad2.secureserver.net [198.71.225.37]) (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 878AA821DD for ; Fri, 3 Nov 2017 09:30:51 +0000 (UTC) (envelope-from cassandra@myadwordbanners.com) Received: from a2plcpnl0943.prod.iad2.secureserver.net ([107.180.121.61]) by : HOSTING RELAY : with SMTP id AYB3epQCDKv33AYB3etj3x; Fri, 03 Nov 2017 02:22:13 -0700 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=myadwordbanners.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Subject:Reply-To:From:To:Date:Sender:Cc: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=tCv8bgk9Knn93l0k3C1RB5pUVTqXUebNnVkjvQU/SxU=; b=3o1ttUvBfrwYHgSYvryXzKJsJa Nek4Zv20/hs80CwwXmFxKexkjAcSJDNCSgt+nU3c86N2qIIRXjBQq5Btw1fQ/H5z5WH0UXUxPRn/u hp+x9NQkMJIm3/BLMqZn9v+KizAPadlCU3wZakwUGjWA7YvZ5pSq2t3k1/aP/r11jwybSCs2FeBr/ 6d+ZYo2LK5MTzomY5YufM453WaX07KtFbqbsuQF4PzDMXV9KArHMbe/UMqymui8DuV+FqJXXbpxEu wElEojh8Gwa8yFtsqK18f3hsdDsxUhF0nPYCavqXxCGfWPPBwjMYuDsCqoowl5EMgLa2lNn3WneHA lqcZmN8A==; Received: from [127.0.0.1] (port=57698 helo=myadwordbanners.com) by a2plcpnl0943.prod.iad2.secureserver.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88) (envelope-from ) id 1eAYB3-0002va-9S for freebsd-questions@freebsd.org; Fri, 03 Nov 2017 02:22:13 -0700 Date: Fri, 3 Nov 2017 09:22:08 +0000 To: "freebsd-questions@freebsd.org" From: "cassandra@myadwordbanners.com" Reply-To: "cassandra@myadwordbanners.com" Subject: Freebsd-questions, Now dominates competitors on Google Message-ID: <7de0e3d2ede5ccf9a06725e6595450cf@myadwordbanners.com> X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2plcpnl0943.prod.iad2.secureserver.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - myadwordbanners.com X-Get-Message-Sender-Via: a2plcpnl0943.prod.iad2.secureserver.net: authenticated_id: cassandra@myadwordbanners.com X-Authenticated-Sender: a2plcpnl0943.prod.iad2.secureserver.net: cassandra@myadwordbanners.com X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4wfIJyCZndH7yKzOiVDwUDDuTHKma32It8GXFTnMU+uWVhYZTlPMC8PSm/pxrGm3i6ynYnXnEASxamDhyquds0QzJZwi0KQjwIrwls7OmbUWbMdeKbdDal eZJoOF2HiAKUNujaVC6MHDagqADWVVOtcrICAqoXhcbL9bKSIBk/NYJFKwSYmA2PdKqU9U7Ikent7BpRzt48z/ImvUVJonPvcXiNnC5PEcYdpkm/FkE+slcH Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 09:30:52 -0000 Freebsd-questions, If you see that it isn't possible to create a website at relatively little cost and have an increasing number of competitors when selling products and services online, let me show you what you can do to get your website on top of Google without paying much. We can place your website banner on top of search engines, and here's how it's going to look like: 1. Go to our website and click on DEMO link; 2. Type your website freebsd org and your keyword; 3. Hit VIEW ONLINE DEMO and see your banner on top. Best Wishes, Cassandra From owner-freebsd-questions@freebsd.org Fri Nov 3 10:34:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDF49E4E7FF for ; Fri, 3 Nov 2017 10:34:19 +0000 (UTC) (envelope-from wilson.alisha@weboptimizes.com) Received: from mail-yw0-x241.google.com (mail-yw0-x241.google.com [IPv6:2607:f8b0:4002:c05::241]) (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 BFB2483BDE for ; Fri, 3 Nov 2017 10:34:19 +0000 (UTC) (envelope-from wilson.alisha@weboptimizes.com) Received: by mail-yw0-x241.google.com with SMTP id y75so2019754ywg.0 for ; Fri, 03 Nov 2017 03:34:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weboptimizes.com; s=google; h=mime-version:sender:from:date:message-id:subject:to; bh=qYWEbI6yywyyV6rtXJs57+QAYa4Dlx6V5x0usI2UOaw=; b=WQEbL8NYqP8scUvKntI/2mLLel+OnFIaqBBbI5HsZF1rju+0Dy8U3AhKRHZ7iwfcpW h8ntFjrhzV8+iKrWiQ26UFg8ARRhi9tgiYHzSpglA2hXwAX/FYU+KyiijAHUoAtSZFIn 236huBeeTOOAN8ciOhzZMODy8YycP0MttZ/nk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=qYWEbI6yywyyV6rtXJs57+QAYa4Dlx6V5x0usI2UOaw=; b=VHywhVqz72/KG07zqG1tN0qeTIy2oxjjGP80MGeN+PG60MD1ly5B/cHB5cqvnAT3In nWTUlILolnwcLE/t+IgdrgS3uHGBNkeoBqztW1EpFd2XcQi4OH7YPSgqJ2efc3kUpMm/ h4xv/3lbGg0DbiWOCvaJ5rvSs0hW/+aVuJb+Scf+D/flysEyq8vKN/itiYnNjjTtLcy5 vM3qus2hROuFIWxP7wh2QPLJXgbj7rBIVKD9gOW4OQ9L0+cqKxdXtsHA7heHElTsJaqY AV5GtjnXKEPCTAZ7M3+iHPI3QOIlVU6k3nE1WuFCjs2zmE/oxjuZfEDY5/Zxk/okylY4 453Q== X-Gm-Message-State: AMCzsaV55MZuVuQhHdF5RslCoQCNPfzI97ptUCyZl2OEtzKgP2xO0tQC ZfWsvpwis4SGRx+SPC2UZcjdqtEw9p0frfsQ4R4mrm4h X-Google-Smtp-Source: ABhQp+TDHEzQKDETj8EFNcjYrkQrLqnJJHQo3x0My7K+jlDqKlr6FKOxixfH3Qgr+KEoVQzT8qZT3mSdvQcOT5CetCg= X-Received: by 10.37.128.5 with SMTP id m5mr4153176ybk.380.1509705258749; Fri, 03 Nov 2017 03:34:18 -0700 (PDT) Received: from 52669349336 named unknown by gmailapi.google.com with HTTPREST; Fri, 3 Nov 2017 06:34:18 -0400 MIME-Version: 1.0 Sender: Alisha wilson From: Alisha wilson Date: Fri, 3 Nov 2017 06:34:18 -0400 X-Google-Sender-Auth: 1x-1uZJnsw-gA7eiojKWoLVmu9g Message-ID: Subject: We Design/Develop WEBSITE at better cost To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 10:34:20 -0000 Hello *freebsd.org *, I sincerely hope you are doing well. *We specialize in re-designing and re-developing websites if you are considering any of the following projects.* - Custom Website Development, PHP. - Fully Mobile Responsive Designing, Website Re-Design, PSD to XHTML/HTML etc. - Joomla, WordPress, woo commerce......etc. - Magento, OS-Commerce, Zen Cart integration, open cart, shopify, codginator, Yii, X-Cart Development, Prestashop Development, cake PHP,....etc. *We have some special offers this season. Relative Creative New Website And Re-Designing Designs:* We also have expertise in SEO (Search Engine Optimization) and can also help you get top rankings on major search engines such as Google search engine, Facebook, Linkedin, Bing etc.. With first page rankings on search engines, you can see more number of visitors on your website, which will eventually lead to a better ROI, if you are interested please share your website info, targeted keywords & location. . *Kind Regards,* *Alisha Wilson* Sr. Online Consultant ------------------------------------------------------------ ------------------------------------------------------------ ------------------------------------------ *PS1:* *Please let us know in case you are interested* then kindly tell me requirements then I=E2=80=99ll offer you accordingly [image: beacon] From owner-freebsd-questions@freebsd.org Fri Nov 3 12:37:57 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35733E51399 for ; Fri, 3 Nov 2017 12:37:57 +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 A99A53875 for ; Fri, 3 Nov 2017 12:37:55 +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 vA3CbTJu055683; Fri, 3 Nov 2017 23:37:30 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 3 Nov 2017 23:37:29 +1100 (EST) From: Ian Smith To: Polytropon cc: byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org Subject: Re: Reconstruct a bash_history file In-Reply-To: Message-ID: <20171103232233.P7397@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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 12:37:57 -0000 In freebsd-questions Digest, Vol 700, Issue 5, Message: 7 On Thu, 2 Nov 2017 21:46:34 +0100 Polytropon wrote: > You need the YYYY-MM-DD HH:MM:SS timestamp to the Epoch format, > prefix it with a #, and put the command on a new line. > > Maybe like this, if you don't mind a multiple-line one-liner > of regular shell script: > > $ cat history.txt | while read LINE; do DATETIME=`echo $LINE | cut -d ':' -f 1-3`; TIMESTAMP=`date -j -f "%Y-%m-%d %H:%M:%S" "${DATETIME}" "+#%s"`; COMMAND=`echo $LINE | cut -d ':' -f 4-`; echo "${TIMESTAMP}"; echo "${COMMAND}" | sed "s/^ //"; done > bash_history.txt > > This version is easier to read: > > cat history.txt | while read LINE; do > DATETIME=`echo $LINE | cut -d ':' -f 1-3` > TIMESTAMP=`date -j -f "%Y-%m-%d %H:%M:%S" "${DATETIME}" "+#%s"` > COMMAND=`echo $LINE | cut -d ':' -f 4-` > echo "${TIMESTAMP}" > echo "${COMMAND}" | sed "s/^ //" > done > bash_history.txt > > It features the "useless use of cat" line the one-liner. ;-) Nice work! A most useful "useless use of cat", but even that could be avoided with: while read LINE; do [..] done < history.txt > bash_history.txt cheers, Ian From owner-freebsd-questions@freebsd.org Fri Nov 3 12:53:29 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1316BE5192C for ; Fri, 3 Nov 2017 12:53:29 +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 88A16633B1 for ; Fri, 3 Nov 2017 12:53:27 +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 vA3CrN8Y056164; Fri, 3 Nov 2017 23:53:24 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 3 Nov 2017 23:53:23 +1100 (EST) From: Ian Smith To: Yasuhiro KIMURA cc: freebsd-questions@freebsd.org Subject: Re: Three '450.status-security' scripts enabled by default In-Reply-To: Message-ID: <20171103233840.T7397@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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 12:53:29 -0000 In freebsd-questions Digest, Vol 700, Issue 5, Message: 5 On Fri, 03 Nov 2017 03:12:32 +0900 (JST) Yasuhiro KIMURA wrote: > > OMG, again the source of this problem is "pkg". 410.pkg-audit and > > 460.pkg-checksum doesn't support security_status_*_period > > variable. Therefore they are always executed if > > weekly_status_security_enable and/or monthly_status_security_enable is > > 'YES' (and they are 'YES' by default). > > Support of security_status_*_period variable is added to these scripts > on GitHub repository. > > https://github.com/freebsd/pkg/commit/956dcc5f2205168d0ad321b6cc7c25cc473d2314 > https://github.com/freebsd/pkg/commit/cc27c8ce390b96f1fe649f3f5ce2150b2605ed41 > > Just FYI. Thanks. I'd asked Matthew Seaman off-list, who pointed to the first of those commits on github. I see you engaged Bapt@ about the second one. However these are not yet in the FreeBSD ports tree head, so presumably there will be a new version of pkg(8) coming along sometime after that. Amazing noine else seems to have noticed these extra security messages. cheers, Ian From owner-freebsd-questions@freebsd.org Fri Nov 3 13:50:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BE36E52B6A for ; Fri, 3 Nov 2017 13:50:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 897BA65478 for ; Fri, 3 Nov 2017 13:50:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Fri, 03 Nov 2017 14:50:29 +0100 Received: from r56.edvax.de (port-92-195-25-5.dynamic.qsc.de [92.195.25.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id B6FB43CC3F; Fri, 3 Nov 2017 14:50:27 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id vA3DoQbL001922; Fri, 3 Nov 2017 14:50:26 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 3 Nov 2017 14:50:26 +0100 From: Polytropon To: Ian Smith Cc: byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org Subject: Re: Reconstruct a bash_history file Message-Id: <20171103145026.16c4aa5a.freebsd@edvax.de> In-Reply-To: <20171103232233.P7397@sola.nimnet.asn.au> References: <20171103232233.P7397@sola.nimnet.asn.au> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with A92F96839B2 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1628 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 13:50:34 -0000 On Fri, 3 Nov 2017 23:37:29 +1100 (EST), Ian Smith wrote: > In freebsd-questions Digest, Vol 700, Issue 5, Message: 7 > On Thu, 2 Nov 2017 21:46:34 +0100 Polytropon wrote: > > > You need the YYYY-MM-DD HH:MM:SS timestamp to the Epoch format, > > prefix it with a #, and put the command on a new line. > > > > Maybe like this, if you don't mind a multiple-line one-liner > > of regular shell script: > > > > $ cat history.txt | while read LINE; do DATETIME=`echo $LINE | cut -d ':' -f 1-3`; TIMESTAMP=`date -j -f "%Y-%m-%d %H:%M:%S" "${DATETIME}" "+#%s"`; COMMAND=`echo $LINE | cut -d ':' -f 4-`; echo "${TIMESTAMP}"; echo "${COMMAND}" | sed "s/^ //"; done > bash_history.txt > > > > This version is easier to read: > > > > cat history.txt | while read LINE; do > > DATETIME=`echo $LINE | cut -d ':' -f 1-3` > > TIMESTAMP=`date -j -f "%Y-%m-%d %H:%M:%S" "${DATETIME}" "+#%s"` > > COMMAND=`echo $LINE | cut -d ':' -f 4-` > > echo "${TIMESTAMP}" > > echo "${COMMAND}" | sed "s/^ //" > > done > bash_history.txt > > > > It features the "useless use of cat" line the one-liner. ;-) > > Nice work! > > A most useful "useless use of cat", but even that could be avoided with: > > while read LINE; do > [..] > done < history.txt > bash_history.txt Fully right. I thought about it after hitting "Send". Additionally, the qupting for the echo commands isn't that efficient, and I'd suggest do move the sed step to the COMMAND= line. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Nov 3 17:44:07 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FB51E5739F for ; Fri, 3 Nov 2017 17:44:07 +0000 (UTC) (envelope-from non.euc.geo.1854@gmail.com) Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::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 D07686D0E2 for ; Fri, 3 Nov 2017 17:44:06 +0000 (UTC) (envelope-from non.euc.geo.1854@gmail.com) Received: by mail-pf0-x233.google.com with SMTP id n14so2697543pfh.8 for ; Fri, 03 Nov 2017 10:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:disposition-notification-to:date :user-agent:mime-version:content-transfer-encoding:content-language; bh=0WuA0v9GhxwPQX+80jifr24xt5FgQK6mBfXmsQtwaiM=; b=lz5WD7foPeNKJj5obMcAwL+ZLBpXLDhBXPTNxMVSOZGMUbgNa8Y1thFruJILlSFEJ2 oGKHSIymbqcJnLgDmiuCGl+bFK+3Xy+LZIfxHa/P7KvUtpEj6SpjvDv04sfz8CYa4q7h 4xkOABRG+gTn1HRiLTw/82RlMX++ehMYhUiCUDsCb+0tS3b49GhU8esCnWjkpErCmPxh Y2D0pFtJVZhP7Jh8YFxw55pMrBEyH64jxtu5RnVhl9bXoLMcsQ5p9r0UNKj9E15iWucX iv+yGYF1A2o4J0nXHPlHtTphLOluI8/yVcVSjpT1TTztgVDam1TacuTC4fMMLcEyxd5s 6o9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id :disposition-notification-to:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=0WuA0v9GhxwPQX+80jifr24xt5FgQK6mBfXmsQtwaiM=; b=Z0sWhh75w7tZBO2mftAeBUZrM4BycdoHhwlWj2rHaXC4/fepXAwoJOPdXS4KQd17eF iDRx3klUvE7Xh7BNJ7UPldrRtzxilCxbSKGZtKF/WADALO0hwOdRI8q3OrwfSq6bCozv vgMh2NJHPjVoa3zrfbfDv9SGujW56CTus5pt4tmjJOQYMTjb01SaGSlOqijbppOH0KaH qCXaMtsdjhobwfyv/4zahtsMPfZADbF3I6NtYLe1X9HC+XHWPMil1PC191anlK6lDUpQ PNuE9w43+IY3nl7NsQNaJHLHMgPwt6qehOy/LcoGJsqjnX55hhKehhZSSpPk1/KsPwsa 4xhg== X-Gm-Message-State: AMCzsaUp0b4JxxNI/5vr3+vtHOHo+UJjME9+9DWh6kAiAp5DrxkgAsIa 4m0vhMU/Z/+hNbaLdpHHxTJxDw== X-Google-Smtp-Source: ABhQp+R+ZbPwTSt35pe4r+ISsW46OXk3POT/m1Wdu9Jo2FYb/nclCu1Odl6e87dXgFqQyLo0XddfuQ== X-Received: by 10.84.128.75 with SMTP id 69mr7567094pla.151.1509731046139; Fri, 03 Nov 2017 10:44:06 -0700 (PDT) Received: from [192.168.1.7] (47-33-76-3.dhcp.rvsd.ca.charter.com. [47.33.76.3]) by smtp.googlemail.com with ESMTPSA id p12sm10210508pgn.90.2017.11.03.10.44.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Nov 2017 10:44:05 -0700 (PDT) To: freebsd-questions@freebsd.org From: "J.B." Subject: VT_ALT_TO_ESC_HACK for sc (syscons) Message-ID: <184bbd63-e635-1d52-19a6-3e9c1a414e40@gmail.com> Date: Fri, 3 Nov 2017 10:44:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 17:44:07 -0000 FreeBSD 11.1-RELEASE is using vt as the default console driver, and it contains a hack which maps an ESC sequence to the Alt key on your keyboard. FreeBSD 10.3-RELEASE uses sc as the default driver, and the Alt keys don't register a keystroke for most cases. On vt, Alt-b, Alt-f, Alt-Backspace, etc., behave as they do when logged in over SSH using a bash shell (with its default emacs bindings): move the cursor backwards one word, forwards one word, delete word to the right of the cursor, etc. How can that effect be replicated on sc? I tried a new keymap using kbdcontrol, but there's no way to map key combinations onto the alt-b, alt-f, alt-bs, etc., sequences -- the mapfile only allows for single keystrokes. I know I can set vt as the console driver on 10.3-RELEASE, but the font in vt is so ugly I want to gouge other peoples' eyes out to save them from the horrors of seeing it. Adjusting the screen resolution only helped a tiny bit -- not enough to save peoples' eyes from my angry fingers. Tried the sample fonts inside /usr/share/vt/fonts/ already. From owner-freebsd-questions@freebsd.org Fri Nov 3 20:12:51 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF31AE5A4FD for ; Fri, 3 Nov 2017 20:12:51 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B1D8718A1 for ; Fri, 3 Nov 2017 20:12:51 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 4272E6232B; Fri, 3 Nov 2017 16:12:44 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WXmNpCQa8iuz; Fri, 3 Nov 2017 16:12:42 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 9B6AA622F2; Fri, 3 Nov 2017 16:12:41 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 3 Nov 2017 16:12:42 -0400 Message-ID: In-Reply-To: <20171102214634.dc4877cf.freebsd@edvax.de> References: <20171102214634.dc4877cf.freebsd@edvax.de> Date: Fri, 3 Nov 2017 16:12:42 -0400 Subject: Re: Reconstruct a bash_history file From: "James B. Byrne" To: "Polytropon" Cc: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 20:12:51 -0000 On Thu, November 2, 2017 16:46, Polytropon wrote: > > This version is easier to read: > > cat history.txt | while read LINE; do > DATETIME=`echo $LINE | cut -d ':' -f 1-3` > TIMESTAMP=`date -j -f "%Y-%m-%d %H:%M:%S" "${DATETIME}" "+#%s"` > COMMAND=`echo $LINE | cut -d ':' -f 4-` > echo "${TIMESTAMP}" > echo "${COMMAND}" | sed "s/^ //" > done > bash_history.txt > > It features the "useless use of cat" line the one-liner. ;-) > Worked great. Thank you very much. I have added this one to my daybook. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Fri Nov 3 20:50:22 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4D54E5B278 for ; Fri, 3 Nov 2017 20:50:22 +0000 (UTC) (envelope-from tony@ccltechnology.ca) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E4AE73678 for ; Fri, 3 Nov 2017 20:50:21 +0000 (UTC) (envelope-from tony@ccltechnology.ca) Received: from CCLService ([184.69.168.110]) by shaw.ca with SMTP id AiuweF5smDJTWAiuxep7bW; Fri, 03 Nov 2017 14:50:20 -0600 X-Authority-Analysis: v=2.2 cv=B4DJ6KlM c=1 sm=1 tr=0 a=eF5MRkzcATOvAKXNSKb8Cw==:117 a=eF5MRkzcATOvAKXNSKb8Cw==:17 a=DAwyPP_o2Byb1YXLmDAA:9 a=ZEFNNe3_XuK4apSzdBMA:9 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=unPMrAo9dJHeiAVCpoIA:9 a=mmxv_DI1zdBHpyPT:21 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10 From: "Tony Gouveia" To: Subject: Intel i219V Gigabit Ethernet Controller support in 11.1 Date: Fri, 3 Nov 2017 13:50:18 -0700 Message-ID: <005601d354e5$5cccb580$16662080$@ccltechnology.ca> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdNU5TVv5CviV0nuSAmb+NX08A9XjQ== Content-Language: en-ca X-CMAE-Envelope: MS4wfIfrPc+WvC1RGuZOp/6zx69fPBl1shjIUOdthBSUPG/7b6xbuCZ7cxUpNV/j3iA+AhGhDgZ+fNTJFvBhKmZBlKhn/whdkLz5FNK5exwXiWzhjJZ/dbZX Rtnrh7hul7+L7Y3aYNNiDG9wC890kEt77Aj7lyJ0JDGHI8Y0tYGstO25pK+wz9yalxmanPxgtt88aA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 20:50:22 -0000 Hello, Having a bit of trouble trying to find out if the intel i219V controller is supported in 11.1, on the announcement page for 10.4 it says "Support for the Kaby Lake generation of IntelR i219(4)/ i219(5) devices has been added to the em(4) driver." But on both the hardware compatibility lists for 10.4 and 11.1 the i219 controller is not listed. Nor is it listed on the em(4) driver page. I would also like to confirm that intel's kabylake chipset lineup is all supported as well, namely H110 and H270. Thank you for the help, Tony From owner-freebsd-questions@freebsd.org Sat Nov 4 09:34:41 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A31F5E695FA for ; Sat, 4 Nov 2017 09:34:41 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C1BE66AA2 for ; Sat, 4 Nov 2017 09:34:40 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 129042D813AF for ; Sat, 4 Nov 2017 12:34:32 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id uoGEg913bV-YW1G4dvX; Sat, 04 Nov 2017 12:34:32 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1509788072; bh=RsEqHvye0W7Q25QdGPWerkV4kwXKjz2DGYLovpdh2Bo=; h=Message-ID:Subject:From:To:Date; b=o6Hcgbq/uVU7ZgLJdQfn4LODsPHp08hnYJNd1QSlP7i0HuiBjoOjoKIIQYGkVlvrC SxCN7GXJEL0b39BnGEG9dpchdMCbuIA2d0mEBmUvN+CDQk/SqIJdIbSx4mniSQy9nG nUHcEdKXvUvCD2tI/d/GT1MoD/J57mjzroAnH8JQ= Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id AZFVfw93wA-YUOaclfg; Sat, 04 Nov 2017 12:34:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1509788071; bh=RsEqHvye0W7Q25QdGPWerkV4kwXKjz2DGYLovpdh2Bo=; h=Message-ID:Subject:From:To:Date; b=kP+o/8WCxPVJwQKKCuHUncNRl2Fvt6qyUrSmQpOmwJdITDPoguEmGf98YhV8fdX/O ljeMciaFNq1SQyboJzHM9YAZU9lwgmBW/qQGQB17LQHwV8dqlxm5DUA75wZXtfn95t wkBv09TLX89y8jv6SDmJaF/U4JAVbmTxjFQD3y1A= Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@yandex.com Message-ID: <1509788068.2320.1.camel@yandex.com> Subject: gimp-gmic-plugin From: Stari Karp To: FreeBSD Questions Date: Sat, 04 Nov 2017 05:34:28 -0400 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2017 09:34:41 -0000 Hi! I am using GIMP on FreeBSD 11.1-RELEASE (amd64) and GNOME 3. After last updates gimp-gmic-plugin doesn't work as before: While parsing XMP metadata: Error: No XMP packet found /usr/local/libexec/gimp/2.2/plug-ins/gmic_gimp: fatal error: Segmentation fault /usr/local/libexec/gimp/2.2/plug-ins/gmic_gimp: fatal error: Segmentation fault /usr/local/libexec/gimp/2.2/plug-ins/gmic_gimp: fatal error: Segmentation fault /usr/local/libexec/gimp/2.2/plug-ins/gmic_gimp: fatal error: Segmentation fault I am using Synth tfor ports. Thank you. SK From owner-freebsd-questions@freebsd.org Sat Nov 4 11:46:10 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40FE4E6C2FA for ; Sat, 4 Nov 2017 11:46:10 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-oln040092002052.outbound.protection.outlook.com [40.92.2.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E480F6B15F for ; Sat, 4 Nov 2017 11:46:09 +0000 (UTC) (envelope-from carmel_ny@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wt5yPUr665NCFEoxJISgDP0Kb65GJHVZIcHYmcQ3Cy4=; b=kOUESZFACiVS8jmO8/gT9mO6xFi+gswm4zmkriiQyGMlB0JfHVnwKBJfT7KQgcBVn+U8trjQ/5j3ZUvCncSvpkSOJ0nnZEGR1+cJNYE7kT44D/9esPPe0z9nBCAdS+Mju5FEPfSvivgoLhpii1fXdGt61WRZQBKxDMVlvTXw/+fkA2UJpMXwPg0Xlmfq4TgRNtgcjdww8DUrq5JrXghfY8747iW2aX0e8J0uF+qTjkx3FAN61/Di7DPS4zhVFipcI2DS6/DRYKrqRZzrnv0ymWah3yiDnMAaDMHsffkJNhYOWiYqo2SVRZiG+6cwBAAHQa1ZWkR0kFBaTM9hCrj09g== Received: from BN3NAM01FT028.eop-nam01.prod.protection.outlook.com (10.152.66.57) by BN3NAM01HT108.eop-nam01.prod.protection.outlook.com (10.152.67.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.178.5; Sat, 4 Nov 2017 11:46:08 +0000 Received: from BN6PR2001MB1730.namprd20.prod.outlook.com (10.152.66.59) by BN3NAM01FT028.mail.protection.outlook.com (10.152.67.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.178.5 via Frontend Transport; Sat, 4 Nov 2017 11:46:08 +0000 Received: from BN6PR2001MB1730.namprd20.prod.outlook.com ([10.172.31.146]) by BN6PR2001MB1730.namprd20.prod.outlook.com ([10.172.31.146]) with mapi id 15.20.0197.017; Sat, 4 Nov 2017 11:46:08 +0000 From: Carmel NY To: FreeBSD Subject: Configuring Drupal8 fails Thread-Topic: Configuring Drupal8 fails Thread-Index: AQHTVWKAFYXkLOk47025nq1fEy3QfA== Date: Sat, 4 Nov 2017 11:46:08 +0000 Message-ID: Reply-To: FreeBSD Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=outlook.com; x-incomingtopheadermarker: OriginalChecksum:52C0D23B3497C2B5127382C5B63EC1AFE92C772FCD222727B0FD19CF309AD929; UpperCasedChecksum:67BBBA58C711354B23A6C50ED304C1F36A2DDEFF0AB0660E01A29A4CF0521486; SizeAsReceived:6865; Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [KHZRW4ht5nKZeKXbPmVNZ1bL5Pdt8FaO] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN3NAM01HT108; 6:AA+79/luQbm+BZSlAmWh6TLNCDdAhB4ySfKQx7Z0Nik8p5avokukuTmu6wc4pxcDyvozKvIzpY1/3UmEfK2NGcI0xZ7EHOLWJBYVcVFfLdGh/v1APaaYVYrEaHVMp0WtGoHruXMC1hRUhTM+LomWzv0M+yMn3PM7ZMeCJs3Mell1g7rc6upb79pKgwDoIHmMZdkyGU2FaTGjxnfdbARBdCrpv+r4pqgRMNqnf5Scvesq3mfkM1zhJpOVEAJ2llAxCHGKlzRf6JsEF0tvEmIkO5hShwRO7N8/hkE5UyhWsKKN7YzBvEDsIgwmyTKoqEVWAEuKenbF96YL7LiH/kOnlrSuZpUl5mjqVr9CrZK8csc=; 5:IAdd8VeHDl/4mQmkxbCTlxa0viJAcUyjTxMzhejOVPFrnNDpJ1yHSwZOWJGPkhfxsMNUo6MwGJ32hWjTFc1J1MFsS65tMFHhaQ8iNPOsuxjeIEGRg17Blsi5u9Dg9BcH5U+KUfoXVIepaB7nkf81R4sGgmNvedAlgxMtGz9/OcU=; 24:0R6m3OCVIPPH58L9WuG0XJE3gkRWHTiM1iLG8YgV9Y2Tt8bzoO69lG2k7JS9D5Q9nXVGjWeua4N155a8vmpX3okhZcYB52grBel0jrYvgxc=; 7:ZDV3zml1y9KX5twrDf0DM63L75/8FUU7cUEGFIjN3/5jW14cAlTbWns8a1CNpEz5M+G05IGt76B6e5bFKzczyAFdJbVr7Ga/07GkO3f58q60pfegjhCLhjjNkDXgpwNQHGxCMZc7ZmY2JAs/fJJv13jv65c/OmzSgU16O6d6r1nPz/ijDvRj4KIOEp+h3arGQWvkOm0SgyltOuCxGDwN5bxDl1pgOGwS7VRvbkgiuBoM4yUWldGrqiRTyjkNlirS x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 5d2c0805-7180-4fb8-772e-08d52379a2e3 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:BN3NAM01HT108; x-ms-traffictypediagnostic: BN3NAM01HT108: x-exchange-antispam-report-test: UriScan:(150554046322364)(265634631926514); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:BN3NAM01HT108; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3NAM01HT108; x-forefront-prvs: 048111149A x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:BN3NAM01HT108; H:BN6PR2001MB1730.namprd20.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <51ABEA0880CF89448753ACA44B165FD9@namprd20.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d2c0805-7180-4fb8-772e-08d52379a2e3 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2017 11:46:08.2221 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3NAM01HT108 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2017 11:46:10 -0000 I am looking for someone with experience with Drupal8. I am not able to get this application up and running. I have read the documentation that came wi= th the program and even purchased the "Beginning Drupal8" by Todd Tomlnson. Al= as, without success. The setup script freezes immediately after entering the database info. The tables are entered into the MySQL database, but that is = it. I am also continually receiving a "time" error that I cannot understand or correct. FreeBSD 11.1-RELEASE-p3 (amd64) PHP 5.6.32 (cli) mysql Ver 14.14 Distrib 5.6.38 This is the error message: Warning: DateTime::createFromFormat(): It is not safe to rely on the sy= stem's timezone settings. You are *required* to use the date.timezone setti= ng or the date_default_timezone_set() function. In case you used any of tho= se methods and you are still getting this warning, you most likely misspell= ed the timezone identifier. We selected the timezone 'UTC' for now, but ple= ase set date.timezone to select your timezone. in Symfony\Component\HttpFou= ndation\Response->__construct() (line 231 of vendor/symfony/http-foundation= /Response.php). Symfony\Component\HttpFoundation\Response->__construct('', 302, Array) = (Line: 37) Symfony\Component\HttpFoundation\RedirectResponse->__construct('https:/= /seibercom.net/drupal/core/install.php?langcode=3Den&profile=3Dstandard= &continue=3D1&id=3D1&op=3Dstart') (Line: 868) batch_process(Object, Object) (Line: 627) install_run_task(Array, Array) (Line: 548) install_run_tasks(Array) (Line: 117) install_drupal(Object) (Line: 44) Warning: DateTime::createFromFormat(): It is not safe to rely on the sy= stem's timezone settings. You are *required* to use the date.timezone setti= ng or the date_default_timezone_set() function. In case you used any of tho= se methods and you are still getting this warning, you most likely misspell= ed the timezone identifier. We selected the timezone 'UTC' for now, but ple= ase set date.timezone to select your timezone. in Symfony\Component\HttpFou= ndation\Response->__construct() (line 231 of vendor/symfony/http-foundation= /Response.php). Symfony\Component\HttpFoundation\Response->__construct() (Line: 160) _drupal_log_error(Array, 1) (Line: 584) _drupal_exception_handler(Object) The website encountered an unexpected error. Please try again later. RuntimeException: Failed to start the session because headers have already = been sent by "/usr/local/www/drupal8/vendor/symfony/http-foundation/Respons= e.php" at line 231. in Symfony\Component\HttpFoundation\Session\Storage\Nat= iveSessionStorage->start() (line 135 of vendor/symfony/http-foundation/Sess= ion/Storage/NativeSessionStorage.php). Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->star= t() (Line: 163) Drupal\Core\Session\SessionManager->startNow() (Line: 194) Drupal\Core\Session\SessionManager->save() (Line: 181) Symfony\Component\HttpFoundation\Session\Session->save() (Line: 630) install_run_task(Array, Array) (Line: 548) install_run_tasks(Array) (Line: 117) install_drupal(Object) (Line: 44) Output from drush: /usr/local/www/drupal8 $ drush status Drupal version : 8.4.1 Site URI : http://default Database driver : mysql Database hostname : localhost Database port : 3306 Database username : drupal8 Database name : drupal8test Database : Connected Drupal bootstrap : Successful Drupal user : Default theme : bartik Administration theme : seven PHP configuration : PHP OS : FreeBSD Drush script : /usr/local/bin/drush.phar Drush version : 8.1.15 Drush temp directory : /tmp Drush configuration : Drush alias files : Install profile : standard Drupal root : /usr/local/www/drupal8 Drupal Settings File : sites/default/settings.php Site path : sites/default File directory path : sites/default/files Temporary file directory path : /tmp Sync config path : sites/default/files/config_W2GexTQYdiqe= wip5EuozgBoCmm_HKIRNmv_joumbSeuP_0VpnO8InBK8vpTGaTjZz75baUqriw/sync I don't want to tie up this forum. If someone with knowledge of this proble= m wants to contact me off-list,I would be extremely appreciative. -- Carmel From owner-freebsd-questions@freebsd.org Sat Nov 4 13:17:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 008B1E6E1DB for ; Sat, 4 Nov 2017 13:17:32 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 6A30C6DE33 for ; Sat, 4 Nov 2017 13:17:31 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39854488 for freebsd-questions@freebsd.org; Sat, 04 Nov 2017 19:12:44 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id vA4DHQ9R028376 for ; Sat, 4 Nov 2017 20:17:28 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id vA4DHMDN028375 for freebsd-questions@freebsd.org; Sat, 4 Nov 2017 20:17:22 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sat, 4 Nov 2017 20:17:21 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: "service -R" prints out a shell error Message-ID: <20171104131721.GA28321@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2017 13:17:33 -0000 Dear Colleagues, On a 10.4-RELEASE, the "service -R" command prints out some shell errors (about "Bad substitution") along with valid messages. Please see a sample output below. The question is, first of all, how can I debug which exactly script in /usr/local/etc/rc.d/ is the culprit? When I restart them separately, not a single one of them prints this error. Output: Waiting for PIDS: 743. Stopping clamav_freshclam. Waiting for PIDS: 739, 739. Stopping clamav_clamd. Waiting for PIDS: 736. eval: ${/...}: Bad substitution Stopping named. Waiting for PIDS: 41671. Stopping nginx. Waiting for PIDS: 729. Stopping spamd. Waiting for PIDS: 718. Stopping saslauthd. Waiting for PIDS: 709. slapd not running? (check /var/run/openldap/slapd.pid). Performing sanity check on squid configuration. Configuration for squid passes. Stopping squid. Waiting for PIDS: 701. Stopping tpop3d. Waiting for PIDS: 692. Starting tpop3d. Starting squid. Starting slapd. Starting saslauthd. Starting spamd. Performing sanity check on nginx configuration: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful Starting nginx. Starting named. eval: ${/...}: Bad substitution Starting clamav_clamd. Starting clamav_freshclam. Starting exim. Starting arpwatch. Performing sanity check on apache24 configuration: Syntax OK Starting apache24. root@gw:~ # -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859 From owner-freebsd-questions@freebsd.org Sat Nov 4 19:38:40 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9F03E53B36 for ; Sat, 4 Nov 2017 19:38:40 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) Received: from mailrelay3-2.pub.mailoutpod1-cph3.one.com (mailrelay3-2.pub.mailoutpod1-cph3.one.com [46.30.212.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 647827E3EF for ; Sat, 4 Nov 2017 19:38:39 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=diamondbox.dk; s=20140924; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=G7RwS8p6si0ARY95Lhl5BxOmgWJAn5f0Ddh8tXiHeW4=; b=NzV48jROsWzJHIbrvJJBWNOmVLtpN0LYnQQU7WPisJF6WdShu8Z6Eyi0P9kcnzPTfFDGZT8qxl86B tLnxMtVc50WbFYQou/VjX/r1XpfAhWziCIWkzABqTJejGEXxztx21Uk/tDqhdCYUoUCRqO804ZWwlC 6RheyOVOv8Mu7ecU= X-HalOne-Cookie: ab4acfef0e4469b01ea0b88b086085be4d80a479 X-HalOne-ID: 97035dcb-c197-11e7-a38a-d0431ea8bb03 Received: from diamond.diamondbox.dk (unknown [212.237.134.88]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 97035dcb-c197-11e7-a38a-d0431ea8bb03; Sat, 04 Nov 2017 19:37:27 +0000 (UTC) Subject: Re: Intel i219V Gigabit Ethernet Controller support in 11.1 To: freebsd-questions@freebsd.org References: <005601d354e5$5cccb580$16662080$@ccltechnology.ca> From: Nikolaj Thygesen Organization: diamondbox.dk Message-ID: <0071a63b-7b86-2b62-857f-74a6c317fbdb@diamondbox.dk> Date: Sat, 4 Nov 2017 20:37:33 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <005601d354e5$5cccb580$16662080$@ccltechnology.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: da X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2017 19:38:40 -0000 On 11/03/2017 21:50, Tony Gouveia wrote: > Hello, > > > > Having a bit of trouble trying to find out if the intel i219V controller is > supported in 11.1, on the announcement page for 10.4 it says "Support for > I'm running fbsd 11.1 with an I219-V right now - 6700K though.     N :o)