11645
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
I've been getting a lot of emails from the periodic crons over the last couple of weeks that read:
Code:
adjkerntz[66176]: sysctl(set: "machdep.wall_cmos_clock"): Operation not permitted
__________________
If you can not able use Perl for answer, you are ask wrong question. Last edited by DutchDaemon; April 27th, 2012 at 23:01. |
|
#3
|
||||
|
||||
|
While that's a definite possibility there has to be a better way than just editing /etc/crontab. I need the time to be correct in the jail, I would just rather avoid getting spam..
__________________
If you can not able use Perl for answer, you are ask wrong question. |
|
#4
|
|||
|
|||
|
A jail doesn't have its own timer. So the time is the same time from the base system. You can only control the timezone in a jail.
cheers Jan Last edited by DutchDaemon; May 1st, 2012 at 18:12. |
|
#5
|
||||
|
||||
|
Quote:
__________________
If you can not able use Perl for answer, you are ask wrong question. Last edited by DutchDaemon; May 3rd, 2012 at 00:07. |
|
#6
|
|||
|
|||
|
Run
tzsetup in your jails.
Last edited by DutchDaemon; May 3rd, 2012 at 12:24. |
|
#7
|
||||
|
||||
|
I did that and that's when the spam started.
__________________
If you can not able use Perl for answer, you are ask wrong question. |
|
#8
|
|||
|
|||
|
I have the same issue at my system.
All jails I ran "tzsetup" in are producing the "adjkerntz" messages as stated above. Those jails running on UTC time do not have those errors. Main system has the timezone set to CEST. No problem there. |
|
#9
|
|||
|
|||
|
Problem solved.
As aa stated with the first reply: You must deactivate (say comment out with #) the line in the /etc/crontab in the jail that has the adjkerntz entry. Code:
# Adjust the time zone if the CMOS clock keeps local time, as opposed to # UTC time. See adjkerntz(8) for details. #5,31 0-5 * * * root adjkerntz -a |
![]() |
| Tags |
| adjkerntz, cron, jail, spam, tzsetup |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Spam Filter | danaeckel | General | 1 | March 3rd, 2012 23:55 |
| spam sites | graudeejs | Off-Topic | 5 | January 18th, 2011 12:10 |
| [Solved] Spam folder | ccaptainhastings3 | Userland Programming & Scripting | 1 | July 2nd, 2010 16:11 |
| Lot's of spam recently | graudeejs | Feedback | 16 | February 11th, 2009 06:11 |
| some answer is spam what my must do | mfaridi | Feedback | 8 | November 26th, 2008 16:07 |