From owner-freebsd-questions@FreeBSD.ORG Wed May 20 21:04:59 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 A6AB3106566C for ; Wed, 20 May 2009 21:04:59 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 70E858FC08 for ; Wed, 20 May 2009 21:04:59 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 0A9C67E837; Wed, 20 May 2009 13:04:58 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 20 May 2009 23:04:41 +0200 User-Agent: KMail/1.11.3 (FreeBSD/8.0-CURRENT; KDE/4.2.3; i386; ; ) References: <6ae50c2d0905192242h62f3313fl8ee6b9e9873b2ce8@mail.gmail.com> <6ae50c2d0905201356x31c1e015k8a7f72162f84dee8@mail.gmail.com> In-Reply-To: <6ae50c2d0905201356x31c1e015k8a7f72162f84dee8@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905202304.41526.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: "Herbert J. Skuhra" , alexus 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: Wed, 20 May 2009 21:04:59 -0000 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 0-5 * * * root adjkerntz -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 there? There are various things in cron and periodic that don't make sense to run 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, just less annoying emails. You might find this list useful as well: # cat /data/jails/tpl/RELENG_7/etc/periodic.conf daily_clean_rwho_enable="NO" daily_accounting_enable="NO" daily_status_disks_enable="NO" daily_status_rwho_enable="NO" daily_status_security_chksetuid_enable="NO" daily_status_security_chkmounts_enable="NO" daily_status_security_ipfwdenied_enable="NO" daily_status_security_ipfdenied_enable="NO" daily_status_security_pfdenied_enable="NO" daily_status_security_ipf6denied_enable="NO" daily_status_security_kernelmsg_enable="NO" monthly_accounting_enable="NO" -- Mel