File: ANNOUNCEMENT

package info (click to toggle)
bcron 0.09-11%2Bsqueeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 496 kB
  • ctags: 313
  • sloc: ansic: 2,055; sh: 419; makefile: 113
file content (88 lines) | stat: -rw-r--r-- 3,078 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Version 0.09 of bcron is now available at:
	http://untroubled.org/bcron/
------------------------------------------------------------------------------
Changes in version 0.09

- Fixed several build and portability issues.

- The default path for bcron-spool is changed to /var/run/bcron-spool

Development of this version has been sponsored by FutureQuest, Inc.
ossi@FutureQuest.net  http://www.FutureQuest.net/
-------------------------------------------------------------------------------
bcron
Short Description
Bruce Guenter <bruceg@em.ca>
Version 0.09
2005-06-08

This is bcron, a new cron system designed with secure operations in
mind.  To do this, the system is divided into several seperate programs,
each responsible for a seperate task, with strictly controlled
communications between them.  The user interface is a drop-in
replacement for similar systems (such as vixie-cron), but the internals
differ greatly.

A mailing list has been set up to discuss this and other packages.
To subscribe, send an email to:
	bgware-subscribe@lists.untroubled.org
A mailing list archive is available at:
	http://lists.untroubled.org/?list=bgware

Development versions of bcron are available via Subversion at:
	svn://bruce-guenter.dyndns.org/bcron/trunk

Requirements:

- Needs ucspi-unix (or ucspi-local) to be able to accept user-submitted
  crontabs.
- bglibs version 1.021 or later from http://untroubled.org/bglibs/

Installation:

- Build the sources by running "make"
- Run the "instshow" command to see what will be installed (optional).
- After the package has been compiled, run the following command as root:
	make install
  This command will produce no output if there are no errors.

Configuration:

- Create a system user and group "cron".  This user will own all the
  crontab files.

- Create the spool directory as follows:
  mkdir -p /var/spool/cron/crontabs /var/spool/cron/tmp
  mkfifo /var/spool/cron/trigger
  for i in crontabs tmp trigger; do
    chown cron:cron /var/spool/cron/$i
    chmod go-rwx /var/spool/cron/$i
  done

- Create the configuration directory /etc/bcron as follows:
  mkdir -p /etc/bcron
  You can put any common configuration settings into this directory,
  like alternate spool directories in BCRON_SPOOL.

Operation:

- The scheduler can be started with the following command:
  envdir /etc/bcron bcron-start | multilog t /var/log/bcron &

- To accept crontabs from users, run the spooler:
  envdir /etc/bcron \
  envuidgid cron \
  unixserver -U /var/run/bcron-spool \
  bcron-spool >/dev/null 2>&1 &

- To update system crontabs, run the updater:
  envdir /etc/bcron \
  bcron-update /etc/crontab /etc/cron.d >/dev/null 2>&1 &

- Sample run scripts are provided for operating the above commands under
  svscan and supervise (or equivalents such as runit).

This package is Copyright(C) 2005 Bruce Guenter or FutureQuest, Inc.,
and may be copied according to the GNU GENERAL PUBLIC LICENSE (GPL)
Version 2 or a later version.  A copy of this license is included with
this package.  This package comes with no warranty of any kind.