Javier Fernández-Sanguino Peña schrieb:
> - show me what is returned by 
> # ls -la /var/spool/cron/crontabs
[EMAIL PROTECTED]:~# ls -la /var/spool/cron/crontabs
total 16
drwx-wx--T 2 root    crontab 4096 Nov 30 09:03 .
drwxr-xr-x 5 root    root    4096 Feb 25  2002 ..
-rw------- 1 friedel crontab  763 Nov 27 22:28 friedel
-rw------- 1 root    crontab  265 Nov 30 09:03 root

> # ls -la /usr/bin/crontab
[EMAIL PROTECTED]:~# ls -la /usr/bin/crontab
-rwxr-sr-x 1 root crontab 26668 Sep 19 09:35 /usr/bin/crontab

> # dpkg-statoverride --list /usr/bin/crontab
[EMAIL PROTECTED]:~# dpkg-statoverride --list /usr/bin/crontab
[EMAIL PROTECTED]:~# echo $?
1

> - make scripts 755 and add a proper she-bang line (#!/bin/bash) 

Was already in place. (#!/bin/sh) And the script runs when I call it
by itself.

>   and change 
>   /bin/bash /home/friedel/bin/fetchstuff 
>   to
>   /home/friedel/bin/fetchstuff

No problem, it used to be configured in this way but I put the
/bin/bash call there in case there was a problem with script
interpretation.

> 
> - could strace cron (with 'strace -p PID -f') and provide me with both
>   the strace file and the cronjob script it tries to run (use private e-mail
>   if there's sensitive information there)

I will check tomorrow morning if the first of those cronjobs ran (at
7:30) , if it didn't I'll send you the strace output for the second
try (at 9:30). If my cronjobs should work tomorrow for some reason,
I'll wait until they stop working again before I send you the output
(I suspect the problems will start again after the next package
installation).

I don't need the cronjobs which access sensitive information at the
moment, so I'll simply disable them for now.

Kind regards
     Friedel
-- 
        Friedrich Delgado Friedrichs <[EMAIL PROTECTED]>

Reply via email to