From owner-freebsd-questions@FreeBSD.ORG Thu May 21 03:58:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E37B106566C for ; Thu, 21 May 2009 03:58:46 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 426A18FC16 for ; Thu, 21 May 2009 03:58:46 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so547595yxb.13 for ; Wed, 20 May 2009 20:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0F1Dz1qFQ7Ybh811I7EyvJZ2E8NTzKA8/ZP8tU7MG7o=; b=sREqzyB334LnV974usUTFsrLxHZHebh8gQyFJgOJe3N6rki4MGR/Mc5hW/Gd6DR2i0 AMBoxInRGqXAbCx+zqY8BQtLkN5ggZdKAPj649mf+5jnX6CNWOTb1Wvm96kyK+5nPnZ6 reb2D//Qi6sOrKnwGZ549LsMPitfqhk7LSlNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tzVzDg3yydyvispgi23SCL1Q3UZPLRvenDYu1xHq/Q9JXBzQGIzyMth3WGNwbTYqfr xrztrLsigqEeISOBXw09yqgT7zSxFvfnvw5N4to7nr/YLkk5C6XfMjFfZNB9txBeRGlV ckAru3lXCFarJbuR3GrrAssAjNRHFViCMFuUA= MIME-Version: 1.0 Received: by 10.151.141.7 with SMTP id t7mr4180509ybn.253.1242878325725; Wed, 20 May 2009 20:58:45 -0700 (PDT) In-Reply-To: <200905202304.41526.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <6ae50c2d0905192242h62f3313fl8ee6b9e9873b2ce8@mail.gmail.com> <6ae50c2d0905201356x31c1e015k8a7f72162f84dee8@mail.gmail.com> <200905202304.41526.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Wed, 20 May 2009 23:58:45 -0400 Message-ID: <6ae50c2d0905202058k15d59543o499a2ed6dab166d6@mail.gmail.com> From: alexus To: Mel Flynn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "Herbert J. Skuhra" , freebsd-questions@freebsd.org Subject: Re: jail's adjkerntz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 03:58:46 -0000 On Wed, May 20, 2009 at 5:04 PM, Mel Flynn wrote: > On Wednesday 20 May 2009 22:56:26 alexus wrote: >> On Wed, May 20, 2009 at 5:31 AM, Herbert J. Skuhra > wrote: >> > 2009/5/20 alexus : >> >> inside of my jail i get following emails... >> >> >> >> adjkerntz[25058]: sysctl(set: "machdep.adjkerntz"): Operation not >> >> permitted >> >> >> >> i dont remember getting these before... >> >> i did changed time zone recently though... >> > >> > Hi! >> > >> > You can disable adjkerntz in /etc/crontab: >> > >> > #1,31 =C2=A0 0-5 =C2=A0 =C2=A0 * =C2=A0 =C2=A0 =C2=A0 * =C2=A0 =C2=A0 = =C2=A0 * =C2=A0 =C2=A0 =C2=A0 root =C2=A0 =C2=A0adjkerntz -a >> > >> > And then run '/etc/rc.d/cron restart'. >> > >> > - Herbert >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to >> > "freebsd-questions-unsubscribe@freebsd.org" >> >> would it brake something? >> i didn't find it in manual, if this is normal shouldn't it be cover ther= e? > > There are various things in cron and periodic that don't make sense to ru= n in > a jail, because a jail cannot modify kernel time and read various /dev > devices. I have this line commented out in my jails and nothing breaks, j= ust > less annoying emails. > > You might find this list useful as well: > # cat /data/jails/tpl/RELENG_7/etc/periodic.conf > daily_clean_rwho_enable=3D"NO" > daily_accounting_enable=3D"NO" > daily_status_disks_enable=3D"NO" > daily_status_rwho_enable=3D"NO" > daily_status_security_chksetuid_enable=3D"NO" > daily_status_security_chkmounts_enable=3D"NO" > daily_status_security_ipfwdenied_enable=3D"NO" > daily_status_security_ipfdenied_enable=3D"NO" > daily_status_security_pfdenied_enable=3D"NO" > daily_status_security_ipf6denied_enable=3D"NO" > daily_status_security_kernelmsg_enable=3D"NO" > monthly_accounting_enable=3D"NO" > > -- > Mel > what's weird is that i didn't get 'em before and now I do... --=20 http://alexus.org/