On Fri, Aug 05, 2005 at 10:42:46AM +0300, Tommi Virtanen wrote: > Oops, I just noticed /var/run/bcron-spool isn't the real socket, > the socket is .bcron-spool. This works: > > BCRON_SOCKET=/var/run/.bcron-spool bcrontab -l > > Still, the default configuration is broken.
Yes, this was due to the change from 0.08 to 0.09, upstream adopted the new path to the socket (previously in /tmp/), and I didn't test properly. Thanks for the report, Gerrit.
Index: bcron.h =================================================================== RCS file: /cvs/bcron/bcron.h,v retrieving revision 1.2 diff -u -r1.2 bcron.h --- bcron.h 20 Jul 2005 13:00:31 -0000 1.2 +++ bcron.h 5 Aug 2005 08:01:32 -0000 @@ -8,7 +8,7 @@ #define BCRON_SPOOL "/var/spool/cron" #define CRONTAB_DIR "crontabs" -#define SOCKET_PATH "/var/run/bcron-spool" +#define SOCKET_PATH "/var/run/.bcron-spool" #define BCRON_USER "cron" #define TRIGGER "trigger"