mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 14:02:52 +07:00
Bump version and start preparing docs for release of 1.8
Renamed ChangeLog to NEWS and fixed doc style to use ReST, like the README and TODO files. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -1,112 +0,0 @@
|
||||
1.7 (20121008)
|
||||
- Show __FILE__ in _d() debug messages, useful for plugins with
|
||||
similarily named callbacks. Also, only in debug mode anyway
|
||||
- Make sure to cleanup recorded PID when a service is lost.
|
||||
Required by service plugins for their callbacks to work.
|
||||
- Bugfix: Do not free() static string in finit.conf parser
|
||||
- Only clear screen when in verbose mode. Maybe this should
|
||||
be removed altogether?
|
||||
|
||||
1.6 (20121006)
|
||||
- Skip . and .. in plugin loader and display error on failed plugins
|
||||
- Support for overriding /etc/finit.d with "runparts DIR" in finit.conf
|
||||
- Revoke support for starting services not starting with a slash.
|
||||
- Prevent endless restart of non-existing services in finit.conf
|
||||
- Support for sysvinit style startstop scripts in /etc/finit.d
|
||||
- Minor fix to alsa-utils plugin to silence on non-existing cards
|
||||
|
||||
1.5 (20121003)
|
||||
- Use bootmisc plugin to setup standard FHS 2.3 structure in /var
|
||||
- Added FLOG_WARN() syslog macro, for plugins
|
||||
- Add plugin dependency resolver. Checks plugin_t for .depends
|
||||
|
||||
1.4 (20121002)
|
||||
- Fix I/O plugin watcher and load plugins earlier for a new hook
|
||||
- Start refactoring helpers.c into a libite.so (-lite). This
|
||||
means other user space applications/daemons can make use of
|
||||
the neat toolbox available in finit
|
||||
- Use short-form -s/-w -u to work with BusyBox hwclock as well
|
||||
- Use RTLD_GLOBAL flag to tell dynamic loader to load dependent
|
||||
.so files as well. Lets other plugins use global symbols.
|
||||
- Greatly simplify svc hook for external plugins and cleanup
|
||||
the plugin API.
|
||||
- And more... see the GIT log for more details.
|
||||
|
||||
1.3 (20120928)
|
||||
- Cleanup public plugin API a bit and add new pid/pidfile funcs
|
||||
- Add plugin hook to end of service startup
|
||||
- Remove finit.h from svc.h, plugins should not need this.
|
||||
- Move utility macros etc. to helpers.h
|
||||
- Make finit.h daemon internal, only
|
||||
- Move defines of FIFO, conf and rcS.d to Makefile => correct paths
|
||||
- Add support for installing required headers in system include dir
|
||||
- Better support for distributions and packagers with install-exec,
|
||||
install-data, and install-dev targets in Makefile. Useful if you
|
||||
want to call targets with different $DESTDIR!
|
||||
- Makefile fixes for installation, paths encoded wrong
|
||||
- Strip binaries + .so files, support for $(CROSS) toolchain strip
|
||||
- Default install is now to /sbin/finit and /usr/
|
||||
- Note change in $PLUGIN_DIR environemnt variable to $plugindir
|
||||
|
||||
1.2 (20120927)
|
||||
- Fix installation paths encoded in finit binary
|
||||
- Update README with section on building and enviroment variables
|
||||
|
||||
1.1 (20120927)
|
||||
- Build fixes for ARM eabi/uClibc
|
||||
- Rename signal.[ch]-->sig.[ch] to avoid name clash w/ system headers
|
||||
|
||||
1.0 (20120926)
|
||||
- New plugin based system for all odd extensions
|
||||
- New service monitor that restarts services if they die
|
||||
- New maintainer at GitHub http://github.com/troglobit/finit
|
||||
- Add standard LICENSE and AUTHORS files
|
||||
- New focus: embedded systems and small headless servers
|
||||
|
||||
0.6 (20100614)
|
||||
- don't start consolekit manually, dbus starts it (rtp)
|
||||
- unmount all filesystems before rebooting
|
||||
- disable USE_VAR_RUN_RESOLVCONF for Mandriva
|
||||
- unset terminal type in Mandriva before running X
|
||||
- remove extra sleep in finit-alt before calling services.sh (caio)
|
||||
|
||||
0.5 (20080821)
|
||||
- add option to start dbus and consolekit before the X server
|
||||
- finit-alt listens to /dev/initctl to work with reboot(8) (smurfy)
|
||||
- write runlevel to utmp, needed by Printerdrake (Pascal Terjan)
|
||||
- fix ownership of /var/run/utmp (reported by Pascal Terjan)
|
||||
- remove obsolete code to load AGP drivers
|
||||
- conditional build of /etc/resolveconf/run support
|
||||
- add support to /var/run/resolvconf in Mandriva (blino)
|
||||
|
||||
O.4 (20080516)
|
||||
- default username for finit-alt configurable in Makefile
|
||||
- create loopback device node in finit-alt (for squashfs)
|
||||
- add option to use built-in run-parts instead of /bin/run-parts
|
||||
- ignore signal instead of setting to an empty handler (Metalshark)
|
||||
- handle pam_console permissions in finit-alt for Mandriva
|
||||
- add services.sh example and nash-hotplug patch for Mandriva
|
||||
- mount /proc/bus/usb in Mandriva
|
||||
- add runtime debug to finit-alt if finit_debug parameter is specified
|
||||
- read configuration from /etc/finit.conf
|
||||
- run getty with openvt on the virtual terminal
|
||||
|
||||
0.3 (20080223)
|
||||
- Change poweroff method to reboot(RB_POWER_OFF) (Metalshark)
|
||||
- Remove duplicate unionctl() reimplementation error
|
||||
- Fix string termination in path creation
|
||||
- Mount /var/lock and /var/run as tmpfs
|
||||
|
||||
0.2 (20080219)
|
||||
- replace system("touch") with touch() in finit-mod (Metalshark)
|
||||
- disable NO_HCTOSYS by default to match stock Eeepc kernel
|
||||
- drop system("rm -f") to clean /tmp, its a fresh mounted tmpfs
|
||||
- write ACPI sleep state to /sys/power/state instead of
|
||||
/proc/acpi/sleep (Metalshark)
|
||||
- use direct calls to set loopback instead of system("ifconfig")
|
||||
- replace system("cat") and system("dd") with C implementation
|
||||
- moved finit-mod and finit-alt helpers to helpers.c
|
||||
- replace system("echo;cat") to draw shutdown splash with C calls
|
||||
|
||||
0.1 (20080214)
|
||||
- initial release
|
||||
@@ -26,14 +26,14 @@
|
||||
uninstall-exec uninstall-data uninstall-dev
|
||||
|
||||
#VERSION ?= $(shell git tag -l | tail -1)
|
||||
VERSION ?= 1.7
|
||||
VERSION ?= 1.8
|
||||
NAME = finit
|
||||
PKG = $(NAME)-$(VERSION)
|
||||
DEV = $(NAME)-dev
|
||||
ARCHIVE = $(PKG).tar.xz
|
||||
EXEC = finit reboot
|
||||
HEADERS = plugin.h svc.h helpers.h queue.h
|
||||
DISTFILES = LICENSE README ChangeLog finit.conf services
|
||||
DISTFILES = LICENSE README NEWS finit.conf services
|
||||
OBJS = finit.o conf.o helpers.o sig.o svc.o plugin.o tty.o
|
||||
SRCS = $(OBJS:.o=.c)
|
||||
DEPS = $(addprefix .,$(SRCS:.c=.d))
|
||||
|
||||
@@ -0,0 +1,159 @@
|
||||
==============================================================================
|
||||
NEWS
|
||||
==============================================================================
|
||||
|
||||
1.8 (2013-06-07)
|
||||
----------------
|
||||
* Support for runlevels, with a bootstrap runlevel 'S'
|
||||
* Support for saving previous and current runlevel to UTMP
|
||||
* Support for new finit.conf commands: run, task, and runlevel
|
||||
* Support for tty and console commands in finit.conf, like services but
|
||||
for launching multiple getty logins
|
||||
* New tty plugin to monitor TTYs coming and going, like USB TTYs
|
||||
* Bugfixes to libite
|
||||
|
||||
|
||||
1.7 (2012-10-08)
|
||||
----------------
|
||||
* Show __FILE__ in _d() debug messages, useful for plugins with
|
||||
similarily named callbacks. Also, only in debug mode anyway
|
||||
* Make sure to cleanup recorded PID when a service is lost. Required by
|
||||
service plugins for their callbacks to work.
|
||||
* Bugfix: Do not free() static string in finit.conf parser
|
||||
* Only clear screen when in verbose mode. Maybe this should be removed
|
||||
altogether?
|
||||
|
||||
|
||||
1.6 (2012-10-06)
|
||||
----------------
|
||||
* Skip . and .. in plugin loader and display error on failed plugins
|
||||
* Support for overriding /etc/finit.d with "runparts DIR" in finit.conf
|
||||
* Revoke support for starting services not starting with a slash.
|
||||
* Prevent endless restart of non-existing services in finit.conf
|
||||
* Support for sysvinit style startstop scripts in /etc/finit.d
|
||||
* Minor fix to alsa-utils plugin to silence on non-existing cards
|
||||
|
||||
|
||||
1.5 (2012-10-03)
|
||||
----------------
|
||||
* Use bootmisc plugin to setup standard FHS 2.3 structure in /var
|
||||
* Added FLOG_WARN() syslog macro, for plugins
|
||||
* Add plugin dependency resolver. Checks plugin_t for .depends
|
||||
|
||||
|
||||
1.4 (2012-10-02)
|
||||
----------------
|
||||
* Fix I/O plugin watcher and load plugins earlier for a new hook
|
||||
* Start refactoring helpers.c into a libite.so (-lite). This means
|
||||
other user space applications/daemons can make use of the neat toolbox
|
||||
available in finit
|
||||
* Use short-form -s/-w -u to work with BusyBox hwclock as well
|
||||
* Use RTLD_GLOBAL flag to tell dynamic loader to load dependent .so
|
||||
files as well. Lets other plugins use global symbols.
|
||||
* Greatly simplify svc hook for external plugins and cleanup plugin API.
|
||||
* And more... see the GIT log for more details.
|
||||
|
||||
|
||||
1.3 (2012-09-28)
|
||||
----------------
|
||||
* Cleanup public plugin API a bit and add new pid/pidfile funcs
|
||||
* Add plugin hook to end of service startup
|
||||
* Remove finit.h from svc.h, plugins should not need this.
|
||||
* Move utility macros etc. to helpers.h
|
||||
* Make finit.h daemon internal, only
|
||||
* Move defines of FIFO, conf and rcS.d to Makefile => correct paths
|
||||
* Add support for installing required headers in system include dir
|
||||
* Better support for distributions and packagers with install-exec,
|
||||
install-data, and install-dev targets in Makefile. Useful if you want
|
||||
to call targets with different $DESTDIR!
|
||||
* Makefile fixes for installation, paths encoded wrong
|
||||
* Strip binaries + .so files, support for $(CROSS) toolchain strip
|
||||
* Default install is now to /sbin/finit and /usr/
|
||||
* Note change in $PLUGIN_DIR environemnt variable to $plugindir
|
||||
|
||||
|
||||
1.2 (2012-09-27)
|
||||
----------------
|
||||
* Fix installation paths encoded in finit binary
|
||||
* Update README with section on building and enviroment variables
|
||||
|
||||
|
||||
1.1 (2012-09-27)
|
||||
----------------
|
||||
* Build fixes for ARM eabi/uClibc
|
||||
* Rename signal.[ch]-->sig.[ch] to avoid name clash w/ system headers
|
||||
|
||||
|
||||
1.0 (2012-09-26)
|
||||
----------------
|
||||
* New plugin based system for all odd extensions
|
||||
* New service monitor that restarts services if they die
|
||||
* New maintainer at GitHub http://github.com/troglobit/finit
|
||||
* Add standard LICENSE and AUTHORS files
|
||||
* New focus: embedded systems and small headless servers
|
||||
|
||||
|
||||
0.6 (2010-06-14)
|
||||
----------------
|
||||
* don't start consolekit manually, dbus starts it (rtp)
|
||||
* unmount all filesystems before rebooting
|
||||
* disable USE_VAR_RUN_RESOLVCONF for Mandriva
|
||||
* unset terminal type in Mandriva before running X
|
||||
* remove extra sleep in finit-alt before calling services.sh (caio)
|
||||
|
||||
|
||||
0.5 (2008-08-21)
|
||||
----------------
|
||||
* add option to start dbus and consolekit before the X server
|
||||
* finit-alt listens to /dev/initctl to work with reboot(8) (smurfy)
|
||||
* write runlevel to utmp, needed by Printerdrake (Pascal Terjan)
|
||||
* fix ownership of /var/run/utmp (reported by Pascal Terjan)
|
||||
* remove obsolete code to load AGP drivers
|
||||
* conditional build of /etc/resolveconf/run support
|
||||
* add support to /var/run/resolvconf in Mandriva (blino)
|
||||
|
||||
|
||||
O.4 (2008-05-16)
|
||||
----------------
|
||||
* default username for finit-alt configurable in Makefile
|
||||
* create loopback device node in finit-alt (for squashfs)
|
||||
* add option to use built-in run-parts instead of /bin/run-parts
|
||||
* ignore signal instead of setting to an empty handler (Metalshark)
|
||||
* handle pam_console permissions in finit-alt for Mandriva
|
||||
* add services.sh example and nash-hotplug patch for Mandriva
|
||||
* mount /proc/bus/usb in Mandriva
|
||||
* add runtime debug to finit-alt if finit_debug parameter is specified
|
||||
* read configuration from /etc/finit.conf
|
||||
* run getty with openvt on the virtual terminal
|
||||
|
||||
|
||||
0.3 (2008-02-23)
|
||||
----------------
|
||||
* Change poweroff method to reboot(RB_POWER_OFF) (Metalshark)
|
||||
* Remove duplicate unionctl() reimplementation error
|
||||
* Fix string termination in path creation
|
||||
* Mount /var/lock and /var/run as tmpfs
|
||||
|
||||
|
||||
0.2 (2008-02-19)
|
||||
----------------
|
||||
* replace system("touch") with touch() in finit-mod (Metalshark)
|
||||
* disable NO_HCTOSYS by default to match stock Eeepc kernel
|
||||
* drop system("rm -f") to clean /tmp, its a fresh mounted tmpfs
|
||||
* write ACPI sleep state to /sys/power/state instead of /proc/acpi/sleep
|
||||
(Metalshark)
|
||||
* use direct calls to set loopback instead of system("ifconfig")
|
||||
* replace system("cat") and system("dd") with C implementation
|
||||
* moved finit-mod and finit-alt helpers to helpers.c
|
||||
* replace system("echo;cat") to draw shutdown splash with C calls
|
||||
|
||||
|
||||
0.1 (2008-02-14)
|
||||
----------------
|
||||
* initial release
|
||||
|
||||
|
||||
.. Local Variables:
|
||||
.. mode: rst
|
||||
.. version-control: t
|
||||
.. End:
|
||||
+2
-1
@@ -28,6 +28,7 @@ Extend and modify finit behavior. See examples in plugins/ directory.
|
||||
Plugin capabilities:
|
||||
|
||||
* Service callbacks — should the service run/restart/stop?
|
||||
* Task/Run callbacks — a one-shot command, should it run in sequence?
|
||||
* Hooks — hook into the boot at predefined points to extend finit
|
||||
* I/O — listen to external events and control finit behaviour/services
|
||||
|
||||
@@ -63,7 +64,7 @@ runs a directory of scripts. This replaces the earlier
|
||||
Runlevels
|
||||
---------
|
||||
|
||||
Very simple support for runlevels_ exist. Currently the system will
|
||||
Rudimentary support for runlevels_ exist. Currently the system will
|
||||
always start in runlevel 3 and all services belonging to that runlevel
|
||||
will be started at boot.
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
==============================================================================
|
||||
TODO
|
||||
==============================================================================
|
||||
|
||||
Unsorted TODO list of features and points of investigation that could be
|
||||
useful for improving finit. But what is an improvement to finit? Well,
|
||||
similiar to launchd, the goal of finit is to be a FAST replacement for:
|
||||
@@ -11,7 +12,8 @@ similiar to launchd, the goal of finit is to be a FAST replacement for:
|
||||
* watchdogd
|
||||
|
||||
The main goal is to be FAST. Secondary goals are to be: small, simple
|
||||
and with a very low dependency to external packages.
|
||||
and with a very low dependency on external packages.
|
||||
|
||||
|
||||
Priority
|
||||
--------
|
||||
@@ -30,12 +32,14 @@ processes that declare themselves to be finit compliant.
|
||||
restarting it is imposible, as well as when system load gets
|
||||
too high.
|
||||
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
* Add support for "init <q | reload-configuration>" and SIGHUP to
|
||||
reload finit.conf, but also
|
||||
* Add support for inotify to automatically reload finit.conf
|
||||
|
||||
|
||||
Runlevels
|
||||
---------
|
||||
* Add support for "runlevel N" to finit.conf
|
||||
@@ -51,6 +55,7 @@ Runlevels
|
||||
* Add support for a new runlevel 'S' that is started before all other
|
||||
services in the selected runlevel.
|
||||
|
||||
|
||||
Services and Tasks
|
||||
------------------
|
||||
Both the "task" and "boot" stanzas below are like "service", share the
|
||||
@@ -69,6 +74,7 @@ call on-shot tasks in parallell with something else, even at boot. Hence
|
||||
the differentiation between "task" and "run", which are essentially the
|
||||
same, except for the "pause and wait for completion" that "run" has.
|
||||
|
||||
|
||||
Miscellaneous
|
||||
-------------
|
||||
* Add support for "init -v,--version | version"
|
||||
@@ -78,12 +84,14 @@ Miscellaneous
|
||||
instead. This is the de-facto practise. But keep the check command
|
||||
for really low-end systems w/o /etc/fstab.
|
||||
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
* Write man pages for finit and finit.conf, steal from pimd man pages...
|
||||
* Update Debian finit.conf example with runlevels, tty/console and
|
||||
dependency handling
|
||||
|
||||
|
||||
Investigation
|
||||
-------------
|
||||
* `FHS changes`_ affecting runtime status, plugins, etc.
|
||||
|
||||
Reference in New Issue
Block a user