Gentoo Archives: gentoo-user

From: Aaron Walker <ka0ttic@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Vixie-Cron Issues
Date: Tue, 07 Dec 2004 10:09:03
Message-Id: 41B57059.4090006@gentoo.org
In Reply to: [gentoo-user] Vixie-Cron Issues by Korthrun
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Korthrun wrote:
5 | Heyyas,
6 |
7 | I have been getting these errors with the latest vixie-cron, and
8 | have noticed similar things in the past with
9 | other cron daemons, and other systems. This is the first time I've
10 | seen it with vixie cron.
11
12 |
13 | I have been getting mails with subject/content like this:
14 |
15 | Subject: Cron <root@penis> est -x /usr/sbin/run-crons && /usr/sbin/run-crons
16 | /bin/bash: line 1: est: command not found
17 |
18 | Subject: Cron <root@penis> m -f /var/spool/cron/lastrun/cron.hourly
19 | /bin/bash: line 1: m: command not found
20 |
21 | The cronjobs causeing this, I assume are:
22 | */10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
23 | 0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
24 | Respectivly.
25 |
26
27 Ugh. You just happened to merge vixie-cron during an ~8 hour period where I
28 (yes blame me ;p) updated an enhanced version of one of the patches (see bug
29 73072[1] for the nitty gritty), which unfortunately, caused the first letter of
30 each command to get chopped.
31
32 Because of MTA problems I was unaware of at the time, I didn't get these errors
33 while testing, and so didnt notice them until I got home from work about 8
34 hours later.
35
36 Long story short, just emerge sync and re-emerge vixie-cron.
37
38
39 | So it looks like cron is accepting 'root' as the username to run
40 | the command as, is doing SOMETHING with the
41 | first letter of each command, and running the rest as something
42 | seperate. Does vixie-cron not accept that
43 | username-before-command syntax? I noticed that I couldn't find
44 | anything mentioning it in `man crontab` or `man 5
45 | crontab`. If so, I am assuming this crontab was installed with the
46 | stage3 tarball and not vixiecron?
47
48 system crontabs (/etc/crontab and anything in /etc/cron.d) require a username
49 prior to the command. vixie-cron does indeed install /etc/crontab; just a
50 screw up on my part :/
51
52 Sorry for the inconvenience.
53
54 Cheers
55
56 [1] http://bugs.gentoo.org/show_bug.cgi?id=73072
57 - --
58 Double your drive space: Delete Windows!
59
60 Aaron Walker < ka0ttic@g.o > http://dev.gentoo.org/~ka0ttic/
61 Gentoo/BSD | cron | shell-tools http://butsugenjitemple.org/~ka0ttic/
62
63 -----BEGIN PGP SIGNATURE-----
64 Version: GnuPG v1.2.6 (GNU/Linux)
65
66 iD8DBQFBtXBZC3poscuANHARAgjvAKDf3Rxml9yj30mOo3kZ0ChtFTX9qACgyAVh
67 eNfukL4hIaOxS0Sd9FL2ZSU=
68 =Qlde
69 -----END PGP SIGNATURE-----
70
71
72 --
73 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Vixie-Cron Issues Korthrun <korthrun@×××××.com>