Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 23:04:41 +0200
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        "Herbert J. Skuhra" <h.skuhra@gmail.com>, alexus <alexus@gmail.com>
Subject:   Re: jail's adjkerntz
Message-ID:  <200905202304.41526.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <6ae50c2d0905201356x31c1e015k8a7f72162f84dee8@mail.gmail.com>
References:  <6ae50c2d0905192242h62f3313fl8ee6b9e9873b2ce8@mail.gmail.com> <ed97ac910905200231u21406cact1fb3a350414e63e8@mail.gmail.com> <6ae50c2d0905201356x31c1e015k8a7f72162f84dee8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 20 May 2009 22:56:26 alexus wrote:
> On Wed, May 20, 2009 at 5:31 AM, Herbert J. Skuhra <h.skuhra@gmail.com> 
wrote:
> > 2009/5/20 alexus <alexus@gmail.com>:
> >> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905202304.41526.mel.flynn%2Bfbsd.questions>