From owner-freebsd-current@FreeBSD.ORG Thu Mar 6 16:24:05 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2A5E4E7; Thu, 6 Mar 2014 16:24:04 +0000 (UTC) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AEAAE9F4; Thu, 6 Mar 2014 16:24:04 +0000 (UTC) Received: from glenbarber.us (nucleus.glenbarber.us [IPv6:2001:470:8:1205:2:2:ff:100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id B4152B9E0; Thu, 6 Mar 2014 16:24:02 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us B4152B9E0 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Thu, 6 Mar 2014 11:24:00 -0500 From: Glen Barber To: Anton Shterenlikht Subject: Re: reproducible panic every day at 03:02, probably triggered by daily periodic scipts - help Message-ID: <20140306162400.GM87036@glenbarber.us> References: <20140306155424.GL87036@glenbarber.us> <201403061607.s26G7CLJ059382@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AQYPrgrEUc/1pSX1" Content-Disposition: inline In-Reply-To: <201403061607.s26G7CLJ059382@mech-cluster241.men.bris.ac.uk> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 16:24:05 -0000 --AQYPrgrEUc/1pSX1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 06, 2014 at 08:07:14AM -0800, Anton Shterenlikht wrote: > >>From gjb@freebsd.org Thu Mar 6 15:58:51 2014 > > > >On Thu, Mar 06, 2014 at 07:49:42AM -0800, Anton Shterenlikht wrote: > >> >Can you go into /etc/periodic/daily and execute those scripts one by > >> >one? You should be able to narrow down which one is the culprit. > >>=3D20 > >> unfortunately I cannot reproduce the panic > >> this way. What I did was: > >>=3D20 > >> # cd /etc/periodic/daily > >> # for file in `ls` > >> do > >> echo $file > >> ./$file > >> done > >>=3D20 > >> I run it twice, I could see all scripts > >> executing one after another, > >> but no panic. > >> Perhaps something else is happening at > >> the same time as daily scripts? > >> But I cannot find what. > >>=3D20 > > > >It can also be one of the scripts in /etc/periodic/security. > > > >Can you retry your test in that directory, as well? > > > >Glen >=20 > # pwd > /etc/periodic/security > # for file in `ls` > do > echo $file > ./$file > done > 100.chksetuid > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 110.neggrpperm > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 200.chkmounts > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 300.chkuid0 > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 400.passwdless > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 410.logincheck > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 460.chkportsum >=20 > Checking for ports with mismatched checksums: > 500.ipfwdenied > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 510.ipfdenied > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 520.pfdenied > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 550.ipfwlimit > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 610.ipf6denied > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 700.kernelmsg > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 800.loginfail > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > 900.tcpwrap > ASSERTION FAILED: Unexpected value for $PERIODIC: '' > security.functions > # >=20 > Perhaps these scripts cannot be simply > executed from the command line? >=20 Sigh. It looks like someone "fixed" something... I'm certain this used to work when run directly. Glen --AQYPrgrEUc/1pSX1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJTGKEgAAoJELls3eqvi17QmN8QAJrOc/WsfzENa/pF412zyNZD x9oLDIo+Y5UwCtx4hSoph/q6iUaKATia6nOWDyX3dcM9AT3Ja8TN5Q8KnxrTaldJ HomyRt4i+4947Pj+QODkdG34fqOqEjjy7FbVTQZnlItt1Ts/GP5czL3KwIIYU0Mw oFjtgSPI6xMPYcchHslgptTlQn8baFWffBFyVCyYqmXTmw4L3KqTzqpyEasAr2Ot R8gEb7gcR9KaRBHkcucOUA6eCGeYjGRDM0CtaSlDw6cfbaJZMbq3ecQAbo/Qy47l YVaPsdxSXpzueV0QQwK7yJW3EUlg4uaWqftBYaXhIlDLPemcjOKtg4u/qY+JPoNP 9FEWAiq0/2J4wse5gXsQ3bFilzrOMWGM7T2OocahQsUfxI5Y1sl5px6rv+orM7Ok 5qogx6pgsV6DOWFkr0pHLEDZ0DeOl/1X3NsabQ1F2R8NkpB1JvnP5tznIgmNNRY/ ieX57441RrVDgpNQECK7xVBHEPQzH2NlCQ7Y0bB779z2OFA3Iey/nWRl56674MSr kqBZIR7m2BcmiCogWM9DvSj9tXha92Ib7LRGKV5b++/Z6RWJdssR4prggOeNSUg9 i0Bo2NVGkvztBTf53A0XVW5yQdG5zSoJ0H+eNH0VUIi9nWn/lXgMssTJcVeZrbc/ xRszz1f+GJ9Q9/8/mSFQ =p/U/ -----END PGP SIGNATURE----- --AQYPrgrEUc/1pSX1--