[arch-general] An empty /etc/crontab file maybe needed bo be add in to package filesystem.

Leonid Isaev lisaev at umail.iu.edu
Sat Feb 18 13:54:36 EST 2012


On Sat, 18 Feb 2012 15:26:46 +0800
郑文辉(Techlive Zheng) <techlivezheng at gmail.com> wrote:

> 2012/2/18 Heiko Baums <lists at baums-on-web.de>:
> > Am Sat, 18 Feb 2012 14:25:54 +0800
> > schrieb 郑文辉(Techlive Zheng) <techlivezheng at gmail.com>:
> >
> >> Due to cronie doesn't contain an /etc/crontab anymore, there are losts
> >> of msgs of missing crontab as shown below in errors.log.
> >>
> >> > /usr/sbin/crond[1236]: (root) CAN'T OPEN (/etc/crontab): No such
> >> > file or directory
> >
> > Such an empty /etc/crontab would belong into the package cronie and not
> > into the package filesystem. It's cronie specific since fcron, which I
> > use, doesn't need and provide one. The corresponding, but also not
> > necessary file for fcron would be /etc/fcrontab. And I'm not sure if
> > such an empty /etc/crontab would affect fcron.
> >
> > If cronie doesn't provide an empty /etc/crontab and doesn't run
> > without it, it is a bug in cronie.
> >
> > Heiko
> 
> It runs well,but just spam the error.log and crond.log without /etc/crontab.

Since 1.4.8 cronie doesn't need /etc/crontab... Can you show relevant piece
of /var/log/crond.log?

-- 
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120218/c66aad02/attachment-0001.asc>


More information about the arch-general mailing list