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

2012-03-19 Thread Techlive Zheng
2012/3/19 Leonid Isaev :
> On Sun, 18 Mar 2012 23:27:34 +0800
> Auguste Pop  wrote:
>
>> 2012/3/18 郑文辉(Techlive Zheng) :
>> > 2012/3/18 Auguste Pop :
>> >> On Sun, Mar 18, 2012 at 6:15 PM, Auguste Pop  wrote:
>> >>> On Mon, Feb 20, 2012 at 2:00 AM, Leonid Isaev 
>> >>> wrote:
>>  On Sun, 19 Feb 2012 07:01:52 +0800
>>  郑文辉(Techlive Zheng)  wrote:
>> 
>> > 2012/2/19 郑文辉(Techlive Zheng) :
>> > > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
>> > > generated by an former version of cronie. Now it seems all gone, and
>> > > I can't provid the spamed log because I have cleaned them up 2 days
>> > > ago.
>> > >
>> > > Let's see, if there are spams again, I will post here.
>> > >
>> > > 2012/2/19 Leonid Isaev :
>> > >> On Sat, 18 Feb 2012 15:26:46 +0800
>> > >> 郑文辉(Techlive Zheng)  wrote:
>> > >>
>> > >>> 2012/2/18 Heiko Baums :
>> > >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
>> > >>> > schrieb 郑文辉(Techlive Zheng) :
>> > >>> >
>> > >>> >> 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
>> >
>> > Still have the problem:
>> >
>> > Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>> > (/etc/crontab): No such file or directory
>> > Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>> > (/etc/crontab): No such file or directory
>> 
>>  This is odd... you must have something in /var/spool/cron. Otherwise
>>  please provide more info because your problem is not easily
>>  reproducible.
>> 
>>  --
>>  Leonid Isaev
>>  GnuPG key ID: 164B5A6D
>>  Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
>> >>>
>> >>> i have the same problem. i do have a file in /var/spool/cron/, because
>> >>> i have some user cron jobs to do.
>> >>>
>> >>> here's some log from /var/log/crond.log
>> >>>
>> >>> Mar 18 18:04:30 pop crontab[8708]: (pop) BEGIN EDIT (pop)
>> >>> Mar 18 18:04:32 pop crontab[8708]: (pop) REPLACE (pop)
>> >>> Mar 18 18:04:32 pop crontab[8708]: (pop) END EDIT (pop)
>> >>> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (root) CAN'T OPEN
>> >>> (/etc/crontab): No such file or directory
>> >>> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (pop) RELOAD
>> >>> (/var/spool/cron/pop)
>> >>
>> >> after some further test, it seems the error only occurs after crontab -e.
>> >> i think this may be an upstream bug, if upstream says that
>> >> /etc/crontab is not indispensable.
>> >> anyway, showing one line of missing file in log is not a big deal. we
>> >> don't constantly modify our crontab.
>> >>
>> >> best regards,
>> >
>> > My problem did not occur any more after I delete /var/spoon/cron/root,
>> > I don't know what exactly cause the problem.
>>
>> actually, as far as i can see. this message appears only once every
>> time i edit my crontab. it's not re-occurring. that's why i think this
>> is not a big issue.
>>
>> best regards,
>
> If you think this is a problem, why don't you report it to crinie devs?
>
> --
> Leonid Isaev
> GnuPG key ID: 164B5A6D
> Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Okay, I will report it to the upstream to see what the dev says.


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

2012-03-19 Thread Techlive Zheng
2012/3/18 Auguste Pop :
> 2012/3/18 郑文辉(Techlive Zheng) :
>> 2012/3/18 Auguste Pop :
>>> On Sun, Mar 18, 2012 at 6:15 PM, Auguste Pop  wrote:
 On Mon, Feb 20, 2012 at 2:00 AM, Leonid Isaev  wrote:
> On Sun, 19 Feb 2012 07:01:52 +0800
> 郑文辉(Techlive Zheng)  wrote:
>
>> 2012/2/19 郑文辉(Techlive Zheng) :
>> > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
>> > generated by an former version of cronie. Now it seems all gone, and I
>> > can't provid the spamed log because I have cleaned them up 2 days ago.
>> >
>> > Let's see, if there are spams again, I will post here.
>> >
>> > 2012/2/19 Leonid Isaev :
>> >> On Sat, 18 Feb 2012 15:26:46 +0800
>> >> 郑文辉(Techlive Zheng)  wrote:
>> >>
>> >>> 2012/2/18 Heiko Baums :
>> >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
>> >>> > schrieb 郑文辉(Techlive Zheng) :
>> >>> >
>> >>> >> 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
>>
>> Still have the problem:
>>
>> Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>> (/etc/crontab): No such file or directory
>> Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>> (/etc/crontab): No such file or directory
>
> This is odd... you must have something in /var/spool/cron. Otherwise 
> please
> provide more info because your problem is not easily reproducible.
>
> --
> Leonid Isaev
> GnuPG key ID: 164B5A6D
> Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

 i have the same problem. i do have a file in /var/spool/cron/, because
 i have some user cron jobs to do.

 here's some log from /var/log/crond.log

 Mar 18 18:04:30 pop crontab[8708]: (pop) BEGIN EDIT (pop)
 Mar 18 18:04:32 pop crontab[8708]: (pop) REPLACE (pop)
 Mar 18 18:04:32 pop crontab[8708]: (pop) END EDIT (pop)
 Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (root) CAN'T OPEN
 (/etc/crontab): No such file or directory
 Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (pop) RELOAD 
 (/var/spool/cron/pop)
>>>
>>> after some further test, it seems the error only occurs after crontab -e.
>>> i think this may be an upstream bug, if upstream says that
>>> /etc/crontab is not indispensable.
>>> anyway, showing one line of missing file in log is not a big deal. we
>>> don't constantly modify our crontab.
>>>
>>> best regards,
>>
>> My problem did not occur any more after I delete /var/spoon/cron/root,
>> I don't know what exactly cause the problem.
>
> actually, as far as i can see. this message appears only once every
> time i edit my crontab. it's not re-occurring. that's why i think this
> is not a big issue.
>
> best regards,

That is strange.

Mar 18 05:34:01 vbox03 /usr/sbin/crond: (root) CAN'T OPEN
(/etc/crontab): No such file or directory
Mar 18 05:52:01 vbox03 /usr/sbin/crond: (root) CAN'T OPEN
(/etc/crontab): No such file or directory
Mar 18 22:13:01 vbox03 /usr/sbin/crond: (root) CAN'T OPEN
(/etc/crontab): No such file or directory

It started appear again, and I am sure there is no file under
/var/spool/cron or /var/spool/anacron.

I have tried to run "crontab -e", and this message seems not caused by
this command, it does not appear.


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

2012-03-18 Thread Leonid Isaev
On Sun, 18 Mar 2012 23:27:34 +0800
Auguste Pop  wrote:

> 2012/3/18 郑文辉(Techlive Zheng) :
> > 2012/3/18 Auguste Pop :
> >> On Sun, Mar 18, 2012 at 6:15 PM, Auguste Pop  wrote:
> >>> On Mon, Feb 20, 2012 at 2:00 AM, Leonid Isaev 
> >>> wrote:
>  On Sun, 19 Feb 2012 07:01:52 +0800
>  郑文辉(Techlive Zheng)  wrote:
> 
> > 2012/2/19 郑文辉(Techlive Zheng) :
> > > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
> > > generated by an former version of cronie. Now it seems all gone, and
> > > I can't provid the spamed log because I have cleaned them up 2 days
> > > ago.
> > >
> > > Let's see, if there are spams again, I will post here.
> > >
> > > 2012/2/19 Leonid Isaev :
> > >> On Sat, 18 Feb 2012 15:26:46 +0800
> > >> 郑文辉(Techlive Zheng)  wrote:
> > >>
> > >>> 2012/2/18 Heiko Baums :
> > >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
> > >>> > schrieb 郑文辉(Techlive Zheng) :
> > >>> >
> > >>> >> 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
> >
> > Still have the problem:
> >
> > Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
> > (/etc/crontab): No such file or directory
> > Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
> > (/etc/crontab): No such file or directory
> 
>  This is odd... you must have something in /var/spool/cron. Otherwise
>  please provide more info because your problem is not easily
>  reproducible.
> 
>  --
>  Leonid Isaev
>  GnuPG key ID: 164B5A6D
>  Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
> >>>
> >>> i have the same problem. i do have a file in /var/spool/cron/, because
> >>> i have some user cron jobs to do.
> >>>
> >>> here's some log from /var/log/crond.log
> >>>
> >>> Mar 18 18:04:30 pop crontab[8708]: (pop) BEGIN EDIT (pop)
> >>> Mar 18 18:04:32 pop crontab[8708]: (pop) REPLACE (pop)
> >>> Mar 18 18:04:32 pop crontab[8708]: (pop) END EDIT (pop)
> >>> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (root) CAN'T OPEN
> >>> (/etc/crontab): No such file or directory
> >>> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (pop) RELOAD
> >>> (/var/spool/cron/pop)
> >>
> >> after some further test, it seems the error only occurs after crontab -e.
> >> i think this may be an upstream bug, if upstream says that
> >> /etc/crontab is not indispensable.
> >> anyway, showing one line of missing file in log is not a big deal. we
> >> don't constantly modify our crontab.
> >>
> >> best regards,
> >
> > My problem did not occur any more after I delete /var/spoon/cron/root,
> > I don't know what exactly cause the problem.
> 
> actually, as far as i can see. this message appears only once every
> time i edit my crontab. it's not re-occurring. that's why i think this
> is not a big issue.
> 
> best regards,

If you think this is a problem, why don't you report it to crinie devs?

-- 
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D


signature.asc
Description: PGP signature


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

2012-03-18 Thread Leonid Isaev
On Sun, 18 Mar 2012 22:46:39 +0800
郑文辉(Techlive Zheng)  wrote:

> 2012/3/18 Auguste Pop :
> > On Sun, Mar 18, 2012 at 6:15 PM, Auguste Pop  wrote:
> >> On Mon, Feb 20, 2012 at 2:00 AM, Leonid Isaev  wrote:
> >>> On Sun, 19 Feb 2012 07:01:52 +0800
> >>> 郑文辉(Techlive Zheng)  wrote:
> >>>
>  2012/2/19 郑文辉(Techlive Zheng) :
>  > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
>  > generated by an former version of cronie. Now it seems all gone, and I
>  > can't provid the spamed log because I have cleaned them up 2 days ago.
>  >
>  > Let's see, if there are spams again, I will post here.
>  >
>  > 2012/2/19 Leonid Isaev :
>  >> On Sat, 18 Feb 2012 15:26:46 +0800
>  >> 郑文辉(Techlive Zheng)  wrote:
>  >>
>  >>> 2012/2/18 Heiko Baums :
>  >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
>  >>> > schrieb 郑文辉(Techlive Zheng) :
>  >>> >
>  >>> >> 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
> 
>  Still have the problem:
> 
>  Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>  (/etc/crontab): No such file or directory
>  Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>  (/etc/crontab): No such file or directory
> >>>
> >>> This is odd... you must have something in /var/spool/cron. Otherwise
> >>> please provide more info because your problem is not easily reproducible.
> >>>
> >>> --
> >>> Leonid Isaev
> >>> GnuPG key ID: 164B5A6D
> >>> Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
> >>
> >> i have the same problem. i do have a file in /var/spool/cron/, because
> >> i have some user cron jobs to do.
> >>
> >> here's some log from /var/log/crond.log
> >>
> >> Mar 18 18:04:30 pop crontab[8708]: (pop) BEGIN EDIT (pop)
> >> Mar 18 18:04:32 pop crontab[8708]: (pop) REPLACE (pop)
> >> Mar 18 18:04:32 pop crontab[8708]: (pop) END EDIT (pop)
> >> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (root) CAN'T OPEN
> >> (/etc/crontab): No such file or directory
> >> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (pop) RELOAD
> >> (/var/spool/cron/pop)
> >
> > after some further test, it seems the error only occurs after crontab -e.
> > i think this may be an upstream bug, if upstream says that
> > /etc/crontab is not indispensable.
> > anyway, showing one line of missing file in log is not a big deal. we
> > don't constantly modify our crontab.
> >
> > best regards,
> 
> My problem did not occur any more after I delete /var/spoon/cron/root,
> I don't know what exactly cause the problem.

This was the cause... If you guys see this problem, why don't you report
it to cronie devs?

-- 
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D


signature.asc
Description: PGP signature


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

2012-03-18 Thread Auguste Pop
2012/3/18 郑文辉(Techlive Zheng) :
> 2012/3/18 Auguste Pop :
>> On Sun, Mar 18, 2012 at 6:15 PM, Auguste Pop  wrote:
>>> On Mon, Feb 20, 2012 at 2:00 AM, Leonid Isaev  wrote:
 On Sun, 19 Feb 2012 07:01:52 +0800
 郑文辉(Techlive Zheng)  wrote:

> 2012/2/19 郑文辉(Techlive Zheng) :
> > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
> > generated by an former version of cronie. Now it seems all gone, and I
> > can't provid the spamed log because I have cleaned them up 2 days ago.
> >
> > Let's see, if there are spams again, I will post here.
> >
> > 2012/2/19 Leonid Isaev :
> >> On Sat, 18 Feb 2012 15:26:46 +0800
> >> 郑文辉(Techlive Zheng)  wrote:
> >>
> >>> 2012/2/18 Heiko Baums :
> >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
> >>> > schrieb 郑文辉(Techlive Zheng) :
> >>> >
> >>> >> 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
>
> Still have the problem:
>
> Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
> (/etc/crontab): No such file or directory
> Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
> (/etc/crontab): No such file or directory

 This is odd... you must have something in /var/spool/cron. Otherwise please
 provide more info because your problem is not easily reproducible.

 --
 Leonid Isaev
 GnuPG key ID: 164B5A6D
 Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
>>>
>>> i have the same problem. i do have a file in /var/spool/cron/, because
>>> i have some user cron jobs to do.
>>>
>>> here's some log from /var/log/crond.log
>>>
>>> Mar 18 18:04:30 pop crontab[8708]: (pop) BEGIN EDIT (pop)
>>> Mar 18 18:04:32 pop crontab[8708]: (pop) REPLACE (pop)
>>> Mar 18 18:04:32 pop crontab[8708]: (pop) END EDIT (pop)
>>> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (root) CAN'T OPEN
>>> (/etc/crontab): No such file or directory
>>> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (pop) RELOAD 
>>> (/var/spool/cron/pop)
>>
>> after some further test, it seems the error only occurs after crontab -e.
>> i think this may be an upstream bug, if upstream says that
>> /etc/crontab is not indispensable.
>> anyway, showing one line of missing file in log is not a big deal. we
>> don't constantly modify our crontab.
>>
>> best regards,
>
> My problem did not occur any more after I delete /var/spoon/cron/root,
> I don't know what exactly cause the problem.

actually, as far as i can see. this message appears only once every
time i edit my crontab. it's not re-occurring. that's why i think this
is not a big issue.

best regards,


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

2012-03-18 Thread Techlive Zheng
2012/3/18 Auguste Pop :
> On Sun, Mar 18, 2012 at 6:15 PM, Auguste Pop  wrote:
>> On Mon, Feb 20, 2012 at 2:00 AM, Leonid Isaev  wrote:
>>> On Sun, 19 Feb 2012 07:01:52 +0800
>>> 郑文辉(Techlive Zheng)  wrote:
>>>
 2012/2/19 郑文辉(Techlive Zheng) :
 > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
 > generated by an former version of cronie. Now it seems all gone, and I
 > can't provid the spamed log because I have cleaned them up 2 days ago.
 >
 > Let's see, if there are spams again, I will post here.
 >
 > 2012/2/19 Leonid Isaev :
 >> On Sat, 18 Feb 2012 15:26:46 +0800
 >> 郑文辉(Techlive Zheng)  wrote:
 >>
 >>> 2012/2/18 Heiko Baums :
 >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
 >>> > schrieb 郑文辉(Techlive Zheng) :
 >>> >
 >>> >> 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

 Still have the problem:

 Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
 (/etc/crontab): No such file or directory
 Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
 (/etc/crontab): No such file or directory
>>>
>>> This is odd... you must have something in /var/spool/cron. Otherwise please
>>> provide more info because your problem is not easily reproducible.
>>>
>>> --
>>> Leonid Isaev
>>> GnuPG key ID: 164B5A6D
>>> Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
>>
>> i have the same problem. i do have a file in /var/spool/cron/, because
>> i have some user cron jobs to do.
>>
>> here's some log from /var/log/crond.log
>>
>> Mar 18 18:04:30 pop crontab[8708]: (pop) BEGIN EDIT (pop)
>> Mar 18 18:04:32 pop crontab[8708]: (pop) REPLACE (pop)
>> Mar 18 18:04:32 pop crontab[8708]: (pop) END EDIT (pop)
>> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (root) CAN'T OPEN
>> (/etc/crontab): No such file or directory
>> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (pop) RELOAD (/var/spool/cron/pop)
>
> after some further test, it seems the error only occurs after crontab -e.
> i think this may be an upstream bug, if upstream says that
> /etc/crontab is not indispensable.
> anyway, showing one line of missing file in log is not a big deal. we
> don't constantly modify our crontab.
>
> best regards,

My problem did not occur any more after I delete /var/spoon/cron/root,
I don't know what exactly cause the problem.


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

2012-03-18 Thread Auguste Pop
On Sun, Mar 18, 2012 at 6:15 PM, Auguste Pop  wrote:
> On Mon, Feb 20, 2012 at 2:00 AM, Leonid Isaev  wrote:
>> On Sun, 19 Feb 2012 07:01:52 +0800
>> 郑文辉(Techlive Zheng)  wrote:
>>
>>> 2012/2/19 郑文辉(Techlive Zheng) :
>>> > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
>>> > generated by an former version of cronie. Now it seems all gone, and I
>>> > can't provid the spamed log because I have cleaned them up 2 days ago.
>>> >
>>> > Let's see, if there are spams again, I will post here.
>>> >
>>> > 2012/2/19 Leonid Isaev :
>>> >> On Sat, 18 Feb 2012 15:26:46 +0800
>>> >> 郑文辉(Techlive Zheng)  wrote:
>>> >>
>>> >>> 2012/2/18 Heiko Baums :
>>> >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
>>> >>> > schrieb 郑文辉(Techlive Zheng) :
>>> >>> >
>>> >>> >> 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
>>>
>>> Still have the problem:
>>>
>>> Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>>> (/etc/crontab): No such file or directory
>>> Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>>> (/etc/crontab): No such file or directory
>>
>> This is odd... you must have something in /var/spool/cron. Otherwise please
>> provide more info because your problem is not easily reproducible.
>>
>> --
>> Leonid Isaev
>> GnuPG key ID: 164B5A6D
>> Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
>
> i have the same problem. i do have a file in /var/spool/cron/, because
> i have some user cron jobs to do.
>
> here's some log from /var/log/crond.log
>
> Mar 18 18:04:30 pop crontab[8708]: (pop) BEGIN EDIT (pop)
> Mar 18 18:04:32 pop crontab[8708]: (pop) REPLACE (pop)
> Mar 18 18:04:32 pop crontab[8708]: (pop) END EDIT (pop)
> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (root) CAN'T OPEN
> (/etc/crontab): No such file or directory
> Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (pop) RELOAD (/var/spool/cron/pop)

after some further test, it seems the error only occurs after crontab -e.
i think this may be an upstream bug, if upstream says that
/etc/crontab is not indispensable.
anyway, showing one line of missing file in log is not a big deal. we
don't constantly modify our crontab.

best regards,


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

2012-03-18 Thread Auguste Pop
On Mon, Feb 20, 2012 at 2:00 AM, Leonid Isaev  wrote:
> On Sun, 19 Feb 2012 07:01:52 +0800
> 郑文辉(Techlive Zheng)  wrote:
>
>> 2012/2/19 郑文辉(Techlive Zheng) :
>> > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
>> > generated by an former version of cronie. Now it seems all gone, and I
>> > can't provid the spamed log because I have cleaned them up 2 days ago.
>> >
>> > Let's see, if there are spams again, I will post here.
>> >
>> > 2012/2/19 Leonid Isaev :
>> >> On Sat, 18 Feb 2012 15:26:46 +0800
>> >> 郑文辉(Techlive Zheng)  wrote:
>> >>
>> >>> 2012/2/18 Heiko Baums :
>> >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
>> >>> > schrieb 郑文辉(Techlive Zheng) :
>> >>> >
>> >>> >> 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
>>
>> Still have the problem:
>>
>> Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>> (/etc/crontab): No such file or directory
>> Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>> (/etc/crontab): No such file or directory
>
> This is odd... you must have something in /var/spool/cron. Otherwise please
> provide more info because your problem is not easily reproducible.
>
> --
> Leonid Isaev
> GnuPG key ID: 164B5A6D
> Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

i have the same problem. i do have a file in /var/spool/cron/, because
i have some user cron jobs to do.

here's some log from /var/log/crond.log

Mar 18 18:04:30 pop crontab[8708]: (pop) BEGIN EDIT (pop)
Mar 18 18:04:32 pop crontab[8708]: (pop) REPLACE (pop)
Mar 18 18:04:32 pop crontab[8708]: (pop) END EDIT (pop)
Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (root) CAN'T OPEN
(/etc/crontab): No such file or directory
Mar 18 18:05:01 pop /usr/sbin/crond[8619]: (pop) RELOAD (/var/spool/cron/pop)


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

2012-02-19 Thread Techlive Zheng
2012/2/20 Leonid Isaev :
> On Sun, 19 Feb 2012 07:01:52 +0800
> 郑文辉(Techlive Zheng)  wrote:
>
>> 2012/2/19 郑文辉(Techlive Zheng) :
>> > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
>> > generated by an former version of cronie. Now it seems all gone, and I
>> > can't provid the spamed log because I have cleaned them up 2 days ago.
>> >
>> > Let's see, if there are spams again, I will post here.
>> >
>> > 2012/2/19 Leonid Isaev :
>> >> On Sat, 18 Feb 2012 15:26:46 +0800
>> >> 郑文辉(Techlive Zheng)  wrote:
>> >>
>> >>> 2012/2/18 Heiko Baums :
>> >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
>> >>> > schrieb 郑文辉(Techlive Zheng) :
>> >>> >
>> >>> >> 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
>>
>> Still have the problem:
>>
>> Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>> (/etc/crontab): No such file or directory
>> Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
>> (/etc/crontab): No such file or directory
>
> This is odd... you must have something in /var/spool/cron. Otherwise please
> provide more info because your problem is not easily reproducible.
>
> --
> Leonid Isaev
> GnuPG key ID: 164B5A6D
> Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

There indeed an /var/spool/cron/root existed, I just deleted, let's see.


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

2012-02-19 Thread Leonid Isaev
On Sun, 19 Feb 2012 07:01:52 +0800
郑文辉(Techlive Zheng)  wrote:

> 2012/2/19 郑文辉(Techlive Zheng) :
> > I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
> > generated by an former version of cronie. Now it seems all gone, and I
> > can't provid the spamed log because I have cleaned them up 2 days ago.
> >
> > Let's see, if there are spams again, I will post here.
> >
> > 2012/2/19 Leonid Isaev :
> >> On Sat, 18 Feb 2012 15:26:46 +0800
> >> 郑文辉(Techlive Zheng)  wrote:
> >>
> >>> 2012/2/18 Heiko Baums :
> >>> > Am Sat, 18 Feb 2012 14:25:54 +0800
> >>> > schrieb 郑文辉(Techlive Zheng) :
> >>> >
> >>> >> 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
> 
> Still have the problem:
> 
> Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
> (/etc/crontab): No such file or directory
> Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
> (/etc/crontab): No such file or directory

This is odd... you must have something in /var/spool/cron. Otherwise please
provide more info because your problem is not easily reproducible.

-- 
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D


signature.asc
Description: PGP signature


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

2012-02-18 Thread Techlive Zheng
2012/2/19 郑文辉(Techlive Zheng) :
> I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
> generated by an former version of cronie. Now it seems all gone, and I
> can't provid the spamed log because I have cleaned them up 2 days ago.
>
> Let's see, if there are spams again, I will post here.
>
> 2012/2/19 Leonid Isaev :
>> On Sat, 18 Feb 2012 15:26:46 +0800
>> 郑文辉(Techlive Zheng)  wrote:
>>
>>> 2012/2/18 Heiko Baums :
>>> > Am Sat, 18 Feb 2012 14:25:54 +0800
>>> > schrieb 郑文辉(Techlive Zheng) :
>>> >
>>> >> 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

Still have the problem:

Feb 19 06:31:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
(/etc/crontab): No such file or directory
Feb 19 06:32:01 vbox02 /usr/sbin/crond[8394]: (root) CAN'T OPEN
(/etc/crontab): No such file or directory


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

2012-02-18 Thread Techlive Zheng
I see, I just upgraded to 1.4.8 on 14 Feb 2012, The log must be
generated by an former version of cronie. Now it seems all gone, and I
can't provid the spamed log because I have cleaned them up 2 days ago.

Let's see, if there are spams again, I will post here.

2012/2/19 Leonid Isaev :
> On Sat, 18 Feb 2012 15:26:46 +0800
> 郑文辉(Techlive Zheng)  wrote:
>
>> 2012/2/18 Heiko Baums :
>> > Am Sat, 18 Feb 2012 14:25:54 +0800
>> > schrieb 郑文辉(Techlive Zheng) :
>> >
>> >> 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


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

2012-02-18 Thread Leonid Isaev
On Sat, 18 Feb 2012 15:26:46 +0800
郑文辉(Techlive Zheng)  wrote:

> 2012/2/18 Heiko Baums :
> > Am Sat, 18 Feb 2012 14:25:54 +0800
> > schrieb 郑文辉(Techlive Zheng) :
> >
> >> 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


signature.asc
Description: PGP signature


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

2012-02-18 Thread Tom Gundersen
2012/2/18 郑文辉(Techlive Zheng) :
> 2012/2/18 Heiko Baums :
>> 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
>
> It runs well,but just spam the error.log and crond.log without /etc/crontab.

Heiko is right. File a bug against cronie.

That said, if there is a valid usecase of running cronie with an empty
contab file, I'd suggest it would be best if cronie also could deal
with no crontabfile at all. So maybe that is something one could
request from upstream.

-t


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

2012-02-17 Thread Techlive Zheng
2012/2/18 Heiko Baums :
> Am Sat, 18 Feb 2012 14:25:54 +0800
> schrieb 郑文辉(Techlive Zheng) :
>
>> 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.


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

2012-02-17 Thread Heiko Baums
Am Sat, 18 Feb 2012 14:25:54 +0800
schrieb 郑文辉(Techlive Zheng) :

> 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


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

2012-02-17 Thread whenov
I don't have /etc/crontab, but my cronie works ok.
And there isn't any error about crond in errors.log.

2012/2/18 郑文辉(Techlive Zheng) 

> 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
>