Commit Graph

19 Commits

Author SHA1 Message Date
Jack Mitchell cb916ff4e5 crond: remove UID check in init script
this init script fails when the default shell is busybox sh. This
is because busybox sh doesn't set the UID. No other init scripts
in oecore feel the need to check the UID so just remove the check.

(From OE-Core master rev: dd6a45536043af34c05a699e468cef4845f7affd)

(From OE-Core rev: 11385321982411d3d1c2aa663b2b2d195c74f353)

Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-12 16:59:57 +00:00
Joe Slater 0904469075 cronie: add PACKAGECONFIG data
We add PACKAGECONFIG[] data for audit and move
the current pam related stuff into it's own entry.

(From OE-Core rev: ada22cab96bb6b7cc98782a14e7c44fbebde77df)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-26 11:47:19 +01:00
Saul Wold 6382979cca cronie: fix out of tree build
(From OE-Core rev: fd9e591f266e1a6c183e77f24e50d31e0d52bdd5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-19 11:25:23 +01:00
Cristiana Voicu de9614711b cronie: upgrade to 1.4.11
LIC_FILES_CHKSUM changed because cron.h doesn't exist anymore.
Replaced it with cron.c.

(From OE-Core rev: c1f3eabece0bb998c46367c06e3433696f97225c)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16 11:44:15 +01:00
Richard Purdie 10219f0560 cronie: Convert crontab to a system user
crontab is meant to be a system user, not a normal user of the system
so lets pass the correct parameters to the system. If we don't do this
it interferes with the setup of normal users, particularly if some
preset list of users is desired.

(From OE-Core rev: ea6b28cad959d9ebbaf0ecbd695d1d72c0c01151)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-07 13:58:26 +01:00
Radu Moisan f8a4b4a1e7 cronie: Upgrade to v1.4.9
(From OE-Core rev: 0c4e25140f7b821962f6a5c0e77dbe96969ac04c)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18 13:18:22 +00:00
Javier Martinez Canillas 344c40b97b cronie: use variables instead of hardcoded paths
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 7b13be661c869eb4bf88d16a928a97edd5bc203b)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06 15:18:48 +01:00
Martin Jansa 9f5bc21775 cronie: use useradd.bbclass instead of hardcoded groupadd calls
(From OE-Core rev: 42dde10337d464948ede8f7e7eec543f2396793e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30 15:38:30 +00:00
Wenzong Fan 45a0c38167 cronie: Updates to cronie
1) Add required pam plugins to RDEPENDS list;
2) Correct configure option that used for enable pam support;
3) Create empty crond config file cron.deny;
4) Don't set readonly variable UID in crond init script.

(From OE-Core rev: 0fa1989b03cf70c7f27629c8340963fcef862097)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-24 15:02:23 -07:00
Dexuan Cui 87bffdb9c4 cronie: upgrade from 1.4.7 to 1.4.8
(From OE-Core rev: 42ee402fc4ecee9349c1e7ce31c55275f34b121e)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-17 15:14:56 +01:00
Wenzong Fan 0eac98e900 cronie: enable PAM support for cronie
Enable PAM support for cronie and update its pam config file 'crond'.

(From OE-Core rev: fec92e4b0c34adc9d512f61ff22de9026b83e3b4)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:42 +01:00
Beth Flanagan 62e3f0ff7b License Field Cleanup: Non-standard field names
I've cleaned up some odd license fields, fixed some license
names and corrected some incorrect licenses. LICENSE really needs
a pass through by the maintainers as some of the licensing is
incorrect.

Also, every license with Artistic should be gone through and noted as
which version of Artistic.

(From OE-Core rev: 4786ecdf7cd427089464dcb62579110d494e7cd7)

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-27 18:27:22 +01:00
Koen Kooi 7342b416fa cronie 1.4.7: fix packaging
Syslog is full with entries like:

/usr/sbin/crond[773]: (CRON) STAT FAILED (/etc/cron.d): No such file or directory

Checking the package yields

Package cronie (1.4.6-r0) is installed on root and has the following files:
/usr/sbin/crond
/etc/init.d/crond
/usr/bin/crontab
/etc/sysconfig/crond

Which is missing most of what do_install_append installs, this commit fixes that

(From OE-Core rev: 4ba1d06b51d77f4bb1f542ba26328f718161a92a)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21 12:56:03 +01:00
Dexuan Cui 481e3cd5b2 cronie: upgrade from 1.4.6 to the latest version 1.4.7
(From OE-Core rev: 4abf10d5e52bac10fa49018e82ab258e88866ef5)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-18 05:49:33 +01:00
Kevin Tian ede0009e7c cronie: enable multi-user crontab usage and make cron environment complete
fix [BUGID #673]

several cron related test cases in LTP reveals that our current cron recipe
is not complete:

a) a complete cron hierarchy better have:
     /etc/crontab
     /etc/cron.d
     /etc/cron.hourly
     /etc/cron.daily
     /etc/cron.weekly
     /etc/cron.monthly

b) for a normal user to use crontab command:
     add a new group - crontab
     /usr/bin/crontab is setgid to root:crontab
     /var/spool/cron is owned by root:crontab

below are optional, and thus not included in the default setup:
     /etc/cron.deny
     /etc/cron.allow

cronie by default only allows root user to use crontab, if neither cron.deny
nor cron.allow exists. They are controlled by final policy deployed on the
product.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2011-02-01 23:59:40 +00:00
Mark Hatle f992d6b434 recipes-extended: Add Summary information
Add Summary information and update descriptions as necessary.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-12-16 15:53:08 +00:00
Saul Wold 3d08b9f2c6 SRC_URI Checksums Additionals
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-09 08:18:17 -08:00
Saul Wold 5094074899 cronie: Update to version 1.4.6
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-11-24 13:25:21 -08:00
Dexuan Cui c398c16aa5 cronie: add the latest version 1.4.4
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-09-02 15:19:33 -07:00