|
1 | | -============================================================================== |
2 | | - NEWS |
3 | | -============================================================================== |
| 1 | +NEWS |
| 2 | +==== |
| 3 | + |
| 4 | + |
| 5 | +1.10 (2014-11-27) |
| 6 | +----------------- |
| 7 | + |
| 8 | +Major bug fix release. |
| 9 | + |
| 10 | + * Project now relies on static code analysis from Coverity, so this |
| 11 | + release contains many serious bug fixes. |
| 12 | + * Fix serious file descriptor and memory leaks in the following |
| 13 | + functions. In particular the leaks in `run_interactive()` are very |
| 14 | + serious since that function is called every time a service is |
| 15 | + started and/or restarted! For details, see the GIT log: |
| 16 | + * `helpers.c:run()` |
| 17 | + * `helpers.c:run_interactive()` |
| 18 | + * `helpers.c:set_hostname()` |
| 19 | + * `helpers.c:procname_kill()` |
| 20 | + * `svc.c:svc_start()`: Fix swapped arguments to dup2() and add |
| 21 | + close(fd) to prevent descriptor leak. |
| 22 | + * `svc.c:svc_start()`: Fix out of bounds write to local stack |
| 23 | + variable, wrote off-by-one outside array. |
| 24 | + * Several added checks for return values to `mknod()`, `mkdir()`, |
| 25 | + `remove()`, etc. |
| 26 | + * Convert to use Markdown for README, NEWS and TODO. |
| 27 | + * Serious update to README and slight pruning of finished TODO items. |
| 28 | + |
4 | 29 |
|
5 | 30 | 1.9 (2014-04-21) |
6 | 31 | ---------------- |
7 | | -* Bug fixes, code cleanup |
8 | | -* Add support for an include directive to .conf files |
9 | | -* Fallback to ``/bin/sh`` if user forgets tty setting |
10 | | -* Handle ``SIGHUP`` from service callback properly when switching runlevel |
11 | | -* Initial support for restarting lost services during ``norespwan`` |
12 | | -* Misc. major (memleak) and minor fixes and additions to libite/lite.h |
| 32 | + |
| 33 | + * Bug fixes, code cleanup |
| 34 | + * Add support for an include directive to `.conf` files |
| 35 | + * Fallback to `/bin/sh` if user forgets tty setting |
| 36 | + * Handle `SIGHUP` from service callback properly when switching runlevel |
| 37 | + * Initial support for restarting lost services during `norespwan` |
| 38 | + * Misc. major (memleak) and minor fixes and additions to `libite/lite.h` |
13 | 39 |
|
14 | 40 |
|
15 | 41 | 1.8 (2013-06-07) |
16 | 42 | ---------------- |
17 | | -* Support for runlevels, with a bootstrap runlevel 'S' |
18 | | -* Support for saving previous and current runlevel to UTMP |
19 | | -* Support for new finit.conf commands: run, task, and runlevel |
20 | | -* Support for tty and console commands in finit.conf, like services but |
21 | | - for launching multiple getty logins |
22 | | -* New tty plugin to monitor TTYs coming and going, like USB TTYs |
23 | | -* Bugfixes to libite |
| 43 | + |
| 44 | + * Support for runlevels, with a bootstrap runlevel 'S' |
| 45 | + * Support for saving previous and current runlevel to UTMP |
| 46 | + * Support for new `finit.conf` commands: run, task, and runlevel |
| 47 | + * Support for tty and console commands in `finit.conf`, like services |
| 48 | + but for launching multiple getty logins |
| 49 | + * New tty plugin to monitor TTYs coming and going, like USB TTYs |
| 50 | + * Bugfixes to libite |
24 | 51 |
|
25 | 52 |
|
26 | 53 | 1.7 (2012-10-08) |
27 | 54 | ---------------- |
28 | | -* Show __FILE__ in _d() debug messages, useful for plugins with |
29 | | - similarily named callbacks. Also, only in debug mode anyway |
30 | | -* Make sure to cleanup recorded PID when a service is lost. Required by |
31 | | - service plugins for their callbacks to work. |
32 | | -* Bugfix: Do not free() static string in finit.conf parser |
33 | | -* Only clear screen when in verbose mode. Maybe this should be removed |
34 | | - altogether? |
| 55 | + |
| 56 | + * Show `__FILE__` in `_d()` debug messages, useful for plugins with |
| 57 | + similarily named callbacks. Also, only in debug mode anyway |
| 58 | + * Make sure to cleanup recorded PID when a service is lost. Required |
| 59 | + by service plugins for their callbacks to work. |
| 60 | + * Bugfix: Do not `free()` static string in `finit.conf` parser |
| 61 | + * Only clear screen when in verbose mode. Maybe this should be removed |
| 62 | + altogether? |
35 | 63 |
|
36 | 64 |
|
37 | 65 | 1.6 (2012-10-06) |
38 | 66 | ---------------- |
39 | | -* Skip . and .. in plugin loader and display error on failed plugins |
40 | | -* Support for overriding /etc/finit.d with "runparts DIR" in finit.conf |
41 | | -* Revoke support for starting services not starting with a slash. |
42 | | -* Prevent endless restart of non-existing services in finit.conf |
43 | | -* Support for sysvinit style startstop scripts in /etc/finit.d |
44 | | -* Minor fix to alsa-utils plugin to silence on non-existing cards |
| 67 | + |
| 68 | + * Skip . and .. in plugin loader and display error on failed plugins |
| 69 | + * Support for overriding `/etc/finit.d` with `runparts DIR` in |
| 70 | + `finit.conf` |
| 71 | + * Revoke support for starting services not starting with a slash. |
| 72 | + * Prevent endless restart of non-existing services in `finit.conf` |
| 73 | + * Support for sysvinit style startstop scripts in `/etc/finit.d` |
| 74 | + * Minor fix to alsa-utils plugin to silence on non-existing cards |
45 | 75 |
|
46 | 76 |
|
47 | 77 | 1.5 (2012-10-03) |
48 | 78 | ---------------- |
49 | | -* Use bootmisc plugin to setup standard FHS 2.3 structure in /var |
50 | | -* Added FLOG_WARN() syslog macro, for plugins |
51 | | -* Add plugin dependency resolver. Checks plugin_t for .depends |
| 79 | + |
| 80 | + * Use bootmisc plugin to setup standard FHS 2.3 structure in `/var` |
| 81 | + * Added `FLOG_WARN()` syslog macro, for plugins |
| 82 | + * Add plugin dependency resolver. Checks `plugin_t` for `.depends` |
52 | 83 |
|
53 | 84 |
|
54 | 85 | 1.4 (2012-10-02) |
55 | 86 | ---------------- |
56 | | -* Fix I/O plugin watcher and load plugins earlier for a new hook |
57 | | -* Start refactoring helpers.c into a libite.so (-lite). This means |
58 | | - other user space applications/daemons can make use of the neat toolbox |
59 | | - available in finit |
60 | | -* Use short-form -s/-w -u to work with BusyBox hwclock as well |
61 | | -* Use RTLD_GLOBAL flag to tell dynamic loader to load dependent .so |
62 | | - files as well. Lets other plugins use global symbols. |
63 | | -* Greatly simplify svc hook for external plugins and cleanup plugin API. |
64 | | -* And more... see the GIT log for more details. |
| 87 | + |
| 88 | + * Fix I/O plugin watcher and load plugins earlier for a new hook |
| 89 | + * Start refactoring helpers.c into a libite.so (-lite). This means |
| 90 | + other user space applications/daemons can make use of the neat toolbox |
| 91 | + available in finit |
| 92 | + * Use short-form -s/-w -u to work with BusyBox hwclock as well |
| 93 | + * Use RTLD_GLOBAL flag to tell dynamic loader to load dependent .so |
| 94 | + files as well. Lets other plugins use global symbols. |
| 95 | + * Greatly simplify svc hook for external plugins and cleanup plugin API. |
| 96 | + * And more ... see the GIT log for more details. |
65 | 97 |
|
66 | 98 |
|
67 | 99 | 1.3 (2012-09-28) |
68 | 100 | ---------------- |
69 | | -* Cleanup public plugin API a bit and add new pid/pidfile funcs |
70 | | -* Add plugin hook to end of service startup |
71 | | -* Remove finit.h from svc.h, plugins should not need this. |
72 | | -* Move utility macros etc. to helpers.h |
73 | | -* Make finit.h daemon internal, only |
74 | | -* Move defines of FIFO, conf and rcS.d to Makefile => correct paths |
75 | | -* Add support for installing required headers in system include dir |
76 | | -* Better support for distributions and packagers with install-exec, |
77 | | - install-data, and install-dev targets in Makefile. Useful if you want |
78 | | - to call targets with different $DESTDIR! |
79 | | -* Makefile fixes for installation, paths encoded wrong |
80 | | -* Strip binaries + .so files, support for $(CROSS) toolchain strip |
81 | | -* Default install is now to /sbin/finit and /usr/ |
82 | | -* Note change in $PLUGIN_DIR environemnt variable to $plugindir |
| 101 | + |
| 102 | + * Cleanup public plugin API a bit and add new pid/pidfile funcs |
| 103 | + * Add plugin hook to end of service startup |
| 104 | + * Remove finit.h from svc.h, plugins should not need this. |
| 105 | + * Move utility macros etc. to helpers.h |
| 106 | + * Make `finit.h` daemon internal, only |
| 107 | + * Move defines of FIFO, conf and rcS.d to Makefile => correct paths |
| 108 | + * Add support for installing required headers in system include dir |
| 109 | + * Better support for distributions and packagers with install-exec, |
| 110 | + install-data, and install-dev targets in Makefile. Useful if you want |
| 111 | + to call targets with different `$DESTDIR`! |
| 112 | + * Makefile fixes for installation, paths encoded wrong |
| 113 | + * Strip binaries + .so files, support for `$(CROSS)` toolchain strip |
| 114 | + * Default install is now to `/sbin/finit` and `/usr/` |
| 115 | + * Note change in `$PLUGIN_DIR` environemnt variable to `$plugindir` |
83 | 116 |
|
84 | 117 |
|
85 | 118 | 1.2 (2012-09-27) |
86 | 119 | ---------------- |
87 | | -* Fix installation paths encoded in finit binary |
88 | | -* Update README with section on building and enviroment variables |
| 120 | + |
| 121 | + * Fix installation paths encoded in finit binary |
| 122 | + * Update README with section on building and enviroment variables |
89 | 123 |
|
90 | 124 |
|
91 | 125 | 1.1 (2012-09-27) |
92 | 126 | ---------------- |
93 | | -* Build fixes for ARM eabi/uClibc |
94 | | -* Rename signal.[ch]-->sig.[ch] to avoid name clash w/ system headers |
| 127 | + |
| 128 | + * Build fixes for ARM eabi/uClibc |
| 129 | + * Rename signal.[ch]-->sig.[ch] to avoid name clash w/ system headers |
95 | 130 |
|
96 | 131 |
|
97 | 132 | 1.0 (2012-09-26) |
98 | 133 | ---------------- |
99 | | -* New plugin based system for all odd extensions |
100 | | -* New service monitor that restarts services if they die |
101 | | -* New maintainer at GitHub http://github.com/troglobit/finit |
102 | | -* Add standard LICENSE and AUTHORS files |
103 | | -* New focus: embedded systems and small headless servers |
| 134 | + |
| 135 | + * New plugin based system for all odd extensions |
| 136 | + * New service monitor that restarts services if they die |
| 137 | + * New maintainer at GitHub http://github.com/troglobit/finit |
| 138 | + * Add standard LICENSE and AUTHORS files |
| 139 | + * New focus: embedded systems and small headless servers |
104 | 140 |
|
105 | 141 |
|
106 | 142 | 0.6 (2010-06-14) |
107 | 143 | ---------------- |
108 | | -* don't start consolekit manually, dbus starts it (rtp) |
109 | | -* unmount all filesystems before rebooting |
110 | | -* disable USE_VAR_RUN_RESOLVCONF for Mandriva |
111 | | -* unset terminal type in Mandriva before running X |
112 | | -* remove extra sleep in finit-alt before calling services.sh (caio) |
| 144 | + |
| 145 | + * don't start consolekit manually, dbus starts it (rtp) |
| 146 | + * unmount all filesystems before rebooting |
| 147 | + * disable `USE_VAR_RUN_RESOLVCONF` for Mandriva |
| 148 | + * unset terminal type in Mandriva before running X |
| 149 | + * remove extra sleep in finit-alt before calling services.sh (caio) |
113 | 150 |
|
114 | 151 |
|
115 | 152 | 0.5 (2008-08-21) |
116 | 153 | ---------------- |
117 | | -* add option to start dbus and consolekit before the X server |
118 | | -* finit-alt listens to /dev/initctl to work with reboot(8) (smurfy) |
119 | | -* write runlevel to utmp, needed by Printerdrake (Pascal Terjan) |
120 | | -* fix ownership of /var/run/utmp (reported by Pascal Terjan) |
121 | | -* remove obsolete code to load AGP drivers |
122 | | -* conditional build of /etc/resolveconf/run support |
123 | | -* add support to /var/run/resolvconf in Mandriva (blino) |
| 154 | + |
| 155 | + * add option to start dbus and consolekit before the X server |
| 156 | + * finit-alt listens to `/dev/initctl` to work with `reboot(8)` (smurfy) |
| 157 | + * write runlevel to utmp, needed by Printerdrake (Pascal Terjan) |
| 158 | + * fix ownership of `/var/run/utmp` (reported by Pascal Terjan) |
| 159 | + * remove obsolete code to load AGP drivers |
| 160 | + * conditional build of `/etc/resolveconf/run` support |
| 161 | + * add support to `/var/run/resolvconf` in Mandriva (blino) |
124 | 162 |
|
125 | 163 |
|
126 | 164 | O.4 (2008-05-16) |
127 | 165 | ---------------- |
128 | | -* default username for finit-alt configurable in Makefile |
129 | | -* create loopback device node in finit-alt (for squashfs) |
130 | | -* add option to use built-in run-parts instead of /bin/run-parts |
131 | | -* ignore signal instead of setting to an empty handler (Metalshark) |
132 | | -* handle pam_console permissions in finit-alt for Mandriva |
133 | | -* add services.sh example and nash-hotplug patch for Mandriva |
134 | | -* mount /proc/bus/usb in Mandriva |
135 | | -* add runtime debug to finit-alt if finit_debug parameter is specified |
136 | | -* read configuration from /etc/finit.conf |
137 | | -* run getty with openvt on the virtual terminal |
| 166 | + |
| 167 | + * default username for finit-alt configurable in Makefile |
| 168 | + * create loopback device node in finit-alt (for squashfs) |
| 169 | + * add option to use built-in run-parts instead of `/bin/run-parts` |
| 170 | + * ignore signal instead of setting to an empty handler (Metalshark) |
| 171 | + * handle pam_console permissions in finit-alt for Mandriva |
| 172 | + * add services.sh example and nash-hotplug patch for Mandriva |
| 173 | + * mount `/proc/bus/usb` in Mandriva |
| 174 | + * add runtime debug to finit-alt if finit_debug parameter is specified |
| 175 | + * read configuration from `/etc/finit.conf` |
| 176 | + * run getty with openvt on the virtual terminal |
138 | 177 |
|
139 | 178 |
|
140 | 179 | 0.3 (2008-02-23) |
141 | 180 | ---------------- |
142 | | -* Change poweroff method to reboot(RB_POWER_OFF) (Metalshark) |
143 | | -* Remove duplicate unionctl() reimplementation error |
144 | | -* Fix string termination in path creation |
145 | | -* Mount /var/lock and /var/run as tmpfs |
| 181 | + |
| 182 | + * Change poweroff method to `reboot(RB_POWER_OFF)` (Metalshark) |
| 183 | + * Remove duplicate `unionctl()` reimplementation error |
| 184 | + * Fix string termination in path creation |
| 185 | + * Mount `/var/lock` and `/var/run` as tmpfs |
146 | 186 |
|
147 | 187 |
|
148 | 188 | 0.2 (2008-02-19) |
149 | 189 | ---------------- |
150 | | -* replace system("touch") with touch() in finit-mod (Metalshark) |
151 | | -* disable NO_HCTOSYS by default to match stock Eeepc kernel |
152 | | -* drop system("rm -f") to clean /tmp, its a fresh mounted tmpfs |
153 | | -* write ACPI sleep state to /sys/power/state instead of /proc/acpi/sleep |
154 | | - (Metalshark) |
155 | | -* use direct calls to set loopback instead of system("ifconfig") |
156 | | -* replace system("cat") and system("dd") with C implementation |
157 | | -* moved finit-mod and finit-alt helpers to helpers.c |
158 | | -* replace system("echo;cat") to draw shutdown splash with C calls |
| 190 | + |
| 191 | + * replace` system("touch")` with `touch()` in finit-mod (Metalshark) |
| 192 | + * disable `NO_HCTOSYS` by default to match stock Eeepc kernel |
| 193 | + * drop `system("rm -f")` to clean `/tmp`, its a fresh mounted tmpfs |
| 194 | + * write ACPI sleep state to `/sys/power/state` instead of |
| 195 | + `/proc/acpi/sleep` (Metalshark) |
| 196 | + * use direct calls to set loopback instead of `system("ifconfig")` |
| 197 | + * replace `system("cat")` and `system("dd")` with C implementation |
| 198 | + * moved finit-mod and finit-alt helpers to `helpers.c` |
| 199 | + * replace `system("echo;cat")` to draw shutdown splash with C calls |
159 | 200 |
|
160 | 201 |
|
161 | 202 | 0.1 (2008-02-14) |
162 | 203 | ---------------- |
163 | | -* initial release |
164 | 204 |
|
| 205 | + * initial release |
165 | 206 |
|
166 | | -.. Local Variables: |
167 | | -.. mode: rst |
168 | | -.. version-control: t |
169 | | -.. End: |
|
0 commit comments