mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b321de339 | ||
|
|
1691ebb292 | ||
|
|
c371c10455 | ||
|
|
a23e152f6b | ||
|
|
9210f2851e | ||
|
|
617609cbc5 | ||
|
|
b022916758 | ||
|
|
9a357b7aab |
No files matched your search
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'dev'
|
- 'dev'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PROJECT_NAME: finit
|
PROJECT_NAME: finit
|
||||||
|
|||||||
+40
-37
@@ -4,7 +4,7 @@ Change Log
|
|||||||
All relevant changes are documented in this file.
|
All relevant changes are documented in this file.
|
||||||
|
|
||||||
|
|
||||||
[4.10][] - 2025-02-23
|
[4.10][] - 2025-03-03
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
@@ -17,10 +17,12 @@ All relevant changes are documented in this file.
|
|||||||
- Fix #427: using an external getty with custom login program cause
|
- Fix #427: using an external getty with custom login program cause
|
||||||
Finit to use login program as the getty command
|
Finit to use login program as the getty command
|
||||||
- Fix #428: allow `sysctl` path to be set at build time
|
- Fix #428: allow `sysctl` path to be set at build time
|
||||||
|
- Fix #429: regression in v4.9 causing Finit to segfault at shutdown
|
||||||
- Fix possible memory leak when sourcing a service `env:file`
|
- Fix possible memory leak when sourcing a service `env:file`
|
||||||
- Finit now waits until all `post:scripts` have run before returning
|
- Finit now waits until all `post:scripts` have run before returning
|
||||||
OK to `initctl <reload|runlevel>`. This also applies to the new
|
OK to `initctl <reload|runlevel>`. This also applies to the new
|
||||||
`cleanup:scripts` introduced in this release
|
`cleanup:scripts` introduced in this release
|
||||||
|
- RFC3154 conformance formatting fix for `/dev/kmsg` fallback logging
|
||||||
|
|
||||||
|
|
||||||
[4.9][] - 2025-02-15
|
[4.9][] - 2025-02-15
|
||||||
@@ -1759,44 +1761,45 @@ Major bug fix release.
|
|||||||
|
|
||||||
* Initial release
|
* Initial release
|
||||||
|
|
||||||
[UNRELEASED]: https://github.com/troglobit/finit/compare/4.9...HEAD
|
[UNRELEASED]: https://github.com/troglobit/finit/compare/4.10...HEAD
|
||||||
[4.9]: https://github.com/troglobit/finit/compare/4.8...4.9
|
[4.10]: https://github.com/troglobit/finit/compare/4.9...4.10
|
||||||
[4.8]: https://github.com/troglobit/finit/compare/4.7...4.8
|
[4.9]: https://github.com/troglobit/finit/compare/4.8...4.9
|
||||||
[4.7]: https://github.com/troglobit/finit/compare/4.6...4.7
|
[4.8]: https://github.com/troglobit/finit/compare/4.7...4.8
|
||||||
[4.6]: https://github.com/troglobit/finit/compare/4.5...4.6
|
[4.7]: https://github.com/troglobit/finit/compare/4.6...4.7
|
||||||
[4.5]: https://github.com/troglobit/finit/compare/4.4...4.5
|
[4.6]: https://github.com/troglobit/finit/compare/4.5...4.6
|
||||||
[4.4]: https://github.com/troglobit/finit/compare/4.3...4.4
|
[4.5]: https://github.com/troglobit/finit/compare/4.4...4.5
|
||||||
[4.3]: https://github.com/troglobit/finit/compare/4.2...4.3
|
[4.4]: https://github.com/troglobit/finit/compare/4.3...4.4
|
||||||
[4.2]: https://github.com/troglobit/finit/compare/4.1...4.2
|
[4.3]: https://github.com/troglobit/finit/compare/4.2...4.3
|
||||||
[4.1]: https://github.com/troglobit/finit/compare/4.0...4.1
|
[4.2]: https://github.com/troglobit/finit/compare/4.1...4.2
|
||||||
[4.0]: https://github.com/troglobit/finit/compare/3.1...4.0
|
[4.1]: https://github.com/troglobit/finit/compare/4.0...4.1
|
||||||
[3.1]: https://github.com/troglobit/finit/compare/3.0...3.1
|
[4.0]: https://github.com/troglobit/finit/compare/3.1...4.0
|
||||||
[3.0]: https://github.com/troglobit/finit/compare/2.4...3.0
|
[3.1]: https://github.com/troglobit/finit/compare/3.0...3.1
|
||||||
[2.4]: https://github.com/troglobit/finit/compare/2.3...2.4
|
[3.0]: https://github.com/troglobit/finit/compare/2.4...3.0
|
||||||
[2.3]: https://github.com/troglobit/finit/compare/2.2...2.3
|
[2.4]: https://github.com/troglobit/finit/compare/2.3...2.4
|
||||||
[2.2]: https://github.com/troglobit/finit/compare/2.1...2.2
|
[2.3]: https://github.com/troglobit/finit/compare/2.2...2.3
|
||||||
[2.1]: https://github.com/troglobit/finit/compare/2.0...2.1
|
[2.2]: https://github.com/troglobit/finit/compare/2.1...2.2
|
||||||
[2.0]: https://github.com/troglobit/finit/compare/1.12...2.0
|
[2.1]: https://github.com/troglobit/finit/compare/2.0...2.1
|
||||||
|
[2.0]: https://github.com/troglobit/finit/compare/1.12...2.0
|
||||||
[1.12]: https://github.com/troglobit/finit/compare/1.11...1.12
|
[1.12]: https://github.com/troglobit/finit/compare/1.11...1.12
|
||||||
[1.11]: https://github.com/troglobit/finit/compare/1.10...1.11
|
[1.11]: https://github.com/troglobit/finit/compare/1.10...1.11
|
||||||
[1.10]: https://github.com/troglobit/finit/compare/1.9...1.10
|
[1.10]: https://github.com/troglobit/finit/compare/1.9...1.10
|
||||||
[1.9]: https://github.com/troglobit/finit/compare/1.8...1.9
|
[1.9]: https://github.com/troglobit/finit/compare/1.8...1.9
|
||||||
[1.8]: https://github.com/troglobit/finit/compare/1.7...1.8
|
[1.8]: https://github.com/troglobit/finit/compare/1.7...1.8
|
||||||
[1.7]: https://github.com/troglobit/finit/compare/1.6...1.7
|
[1.7]: https://github.com/troglobit/finit/compare/1.6...1.7
|
||||||
[1.6]: https://github.com/troglobit/finit/compare/1.5...1.6
|
[1.6]: https://github.com/troglobit/finit/compare/1.5...1.6
|
||||||
[1.5]: https://github.com/troglobit/finit/compare/1.4...1.5
|
[1.5]: https://github.com/troglobit/finit/compare/1.4...1.5
|
||||||
[1.4]: https://github.com/troglobit/finit/compare/1.3...1.4
|
[1.4]: https://github.com/troglobit/finit/compare/1.3...1.4
|
||||||
[1.3]: https://github.com/troglobit/finit/compare/1.2...1.3
|
[1.3]: https://github.com/troglobit/finit/compare/1.2...1.3
|
||||||
[1.2]: https://github.com/troglobit/finit/compare/1.1...1.2
|
[1.2]: https://github.com/troglobit/finit/compare/1.1...1.2
|
||||||
[1.1]: https://github.com/troglobit/finit/compare/1.0...1.1
|
[1.1]: https://github.com/troglobit/finit/compare/1.0...1.1
|
||||||
[1.0]: https://github.com/troglobit/finit/compare/0.9...1.0
|
[1.0]: https://github.com/troglobit/finit/compare/0.9...1.0
|
||||||
[0.9]: https://github.com/troglobit/finit/compare/0.8...0.9
|
[0.9]: https://github.com/troglobit/finit/compare/0.8...0.9
|
||||||
[0.8]: https://github.com/troglobit/finit/compare/0.7...0.8
|
[0.8]: https://github.com/troglobit/finit/compare/0.7...0.8
|
||||||
[0.7]: https://github.com/troglobit/finit/compare/0.6...0.7
|
[0.7]: https://github.com/troglobit/finit/compare/0.6...0.7
|
||||||
[0.6]: https://github.com/troglobit/finit/compare/0.5...0.6
|
[0.6]: https://github.com/troglobit/finit/compare/0.5...0.6
|
||||||
[0.5]: https://github.com/troglobit/finit/compare/0.4...0.5
|
[0.5]: https://github.com/troglobit/finit/compare/0.4...0.5
|
||||||
[0.4]: https://github.com/troglobit/finit/compare/0.3...0.4
|
[0.4]: https://github.com/troglobit/finit/compare/0.3...0.4
|
||||||
[0.3]: https://github.com/troglobit/finit/compare/0.2...0.3
|
[0.3]: https://github.com/troglobit/finit/compare/0.2...0.3
|
||||||
[0.2]: https://github.com/troglobit/finit/compare/0.1...0.2
|
[0.2]: https://github.com/troglobit/finit/compare/0.1...0.2
|
||||||
[libuEv]: https://github.com/troglobit/libuev
|
[libuEv]: https://github.com/troglobit/libuev
|
||||||
[dea3ae8]: https://github.com/troglobit/finit/commit/dea3ae8
|
[dea3ae8]: https://github.com/troglobit/finit/commit/dea3ae8
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
AC_INIT([Finit], [4.10-rc1], [https://github.com/troglobit/finit/issues],
|
AC_INIT([Finit], [4.10], [https://github.com/troglobit/finit/issues],
|
||||||
[finit], [https://troglobit.com/projects/finit/])
|
[finit], [https://troglobit.com/projects/finit/])
|
||||||
AC_CONFIG_AUX_DIR(aux)
|
AC_CONFIG_AUX_DIR(aux)
|
||||||
AM_INIT_AUTOMAKE([1.11 foreign dist-xz subdir-objects])
|
AM_INIT_AUTOMAKE([1.11 foreign dist-xz subdir-objects])
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 410 KiB After Width: | Height: | Size: 320 KiB |
@@ -338,6 +338,7 @@ PLUGIN_INIT(plugin_init)
|
|||||||
|
|
||||||
PLUGIN_EXIT(plugin_exit)
|
PLUGIN_EXIT(plugin_exit)
|
||||||
{
|
{
|
||||||
|
uev_timer_stop(&rtc_timer);
|
||||||
plugin_unregister(&plugin);
|
plugin_unregister(&plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ void logit(int prio, const char *fmt, ...)
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(fp, "<%d>finit[1]:", LOG_DAEMON | prio);
|
fprintf(fp, "<%d>finit[1]: ", LOG_DAEMON | prio);
|
||||||
vfprintf(fp, fmt, ap);
|
vfprintf(fp, fmt, ap);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
|
||||||
|
|||||||
+13
-10
@@ -1675,6 +1675,7 @@ int service_register(int type, char *cfg, struct rlimit rlimit[], char *file)
|
|||||||
if (tty_parse_args(&tty, cmd, &args))
|
if (tty_parse_args(&tty, cmd, &args))
|
||||||
return errno;
|
return errno;
|
||||||
|
|
||||||
|
/* NOTE: this may result in dev == NULL! */
|
||||||
if (tty_isatcon(tty.dev))
|
if (tty_isatcon(tty.dev))
|
||||||
dev = tty_atcon();
|
dev = tty_atcon();
|
||||||
else
|
else
|
||||||
@@ -1707,17 +1708,19 @@ int service_register(int type, char *cfg, struct rlimit rlimit[], char *file)
|
|||||||
respawn = 1;
|
respawn = 1;
|
||||||
|
|
||||||
/* Create name:id tuple for identity, e.g., tty:S0 */
|
/* Create name:id tuple for identity, e.g., tty:S0 */
|
||||||
ptr = strrchr(dev, '/');
|
if (dev) {
|
||||||
if (ptr)
|
ptr = strrchr(dev, '/');
|
||||||
ptr++;
|
if (ptr)
|
||||||
else
|
ptr++;
|
||||||
ptr = dev;
|
else
|
||||||
if (!strncmp(ptr, "tty", 3))
|
ptr = dev;
|
||||||
ptr += 3;
|
if (!strncmp(ptr, "tty", 3))
|
||||||
|
ptr += 3;
|
||||||
|
|
||||||
name = "tty";
|
name = "tty";
|
||||||
if (!id || id[0] == 0)
|
if (!id || id[0] == 0)
|
||||||
id = ptr;
|
id = ptr;
|
||||||
|
}
|
||||||
|
|
||||||
svc = svc_find_by_tty(dev);
|
svc = svc_find_by_tty(dev);
|
||||||
} else
|
} else
|
||||||
|
|||||||
@@ -232,6 +232,8 @@ void do_iterate_proc(int (*cb)(int, void *), void *data)
|
|||||||
dbg("Skipping %s ...", file);
|
dbg("Skipping %s ...", file);
|
||||||
else if (file[0] == '@')
|
else if (file[0] == '@')
|
||||||
dbg("Skipping %s ...", &file[1]);
|
dbg("Skipping %s ...", &file[1]);
|
||||||
|
else if (strstr(file, "initctl"))
|
||||||
|
dbg("Skipping %s ...", file);
|
||||||
else
|
else
|
||||||
if (cb(pid, data)) {
|
if (cb(pid, data)) {
|
||||||
dbg("PID %d is still alive (%s)", pid, file);
|
dbg("PID %d is still alive (%s)", pid, file);
|
||||||
|
|||||||
Reference in new issue
Block a user