Bug 6433 - ntpdate installs cron job in /var/spool/cron/root
Summary: ntpdate installs cron job in /var/spool/cron/root
Status: RESOLVED INVALID
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Low enhancement
Target Milestone: Future
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-06-11 17:50 UTC by Volker
Modified: 2018-08-09 15:05 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker 2014-06-11 17:50:28 UTC
ntpdate installs a cron job in /var/spool/cron/root .  That happens through the postinstallation script.

For such cronjobs /etc/cron.d/ was created. I would prefere adding a file /etc/cron.d/ntpdate-sync with the following (untested) content:
---
30 * * * *  root  /usr/bin/ntpdate-sync silent
---


There is also no cron daemon installed by default. I also didn't see it as suggestion.
Comment 1 Stephen K Jolley 2014-06-12 14:59:24 UTC
Needs to go to owner for meta networking.
Comment 2 Richard Purdie 2018-08-09 15:05:38 UTC
This bugzilla doesn't cover meta-openembedded so this shouldn't be filed here.