| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
http://skarnet.org/cgi-bin/archive.cgi?2:mss:1163:201602:gpiglpbjdemlioaeabbn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
found by using clang 18 with CFLAGS: -Wall
since gcc 14, certain warnings (including this one, gcc report as
-Wincompatible-pointer-types) are now errors, see
https://gcc.gnu.org/gcc-14/porting_to.html
link of debian's patches is: https://salsa.debian.org/debian/runit/-/tree/master/debian/patches
0014-fix-implicit-declarations-incompatible-types-argv-ty.patch
pathexec_run.c: warning: passing 'const char *const *' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
19 | execve(file,argv,envp);
| ^~~~ ^~~~
36 | execve(tmp.s,argv,envp);
| ^~~~ ^~~~
pathexec_env.c:67:21: warning: passing 'const char *const *' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
67 | pathexec_run(file,argv,e);
| ^~~~
pathexec_env.c:67:26: warning: passing 'const char **' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
67 | pathexec_run(file,argv,e);
| ^
runsvdir.c:74:25: warning: passing 'const char *[3]' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
74 | pathexec_run(*prog, prog, (const char* const*)environ);
| ^~~~
runsvdir.c:74:31: warning: passing 'const char *const *' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
74 | pathexec_run(*prog, prog, (const char* const*)environ);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
| |
..., but request new source port for each log message sent through udp.
|
|
|
|
|
|
|
| |
messages with sortable UTC timestamp YYYY-MM-DDTHH:MM:SS.xxxxx.
* runsv.c, runsv.8: give to arguments to ./finish: exit code and exit
status of ./run (mostly copied from pipe-tools' npt-supervise, thx
Laurent Bercot).
|
|
|
|
|
|
|
|
| |
interrupted by signal, also on startup (thx Andras Korn); 1st rename
.t to .s, then remove .u.
* man/svlogd.8: adapt.
* svlogd.c: prepend optional timestamp to log messages sent through UDP,
as done for messages written to dir and to stderr.
|
|
|
|
|
|
|
|
|
|
|
| |
the time of last modification, the inode, or the device has changed.
* sv.c: don't report success on 'sv start' if the service is in state
finish (thx Matthew R. Dempsky).
* svlogd.c: new config line p: optionally prefix each line written to
logs, stderr, or through udp; no longer skip empty lines (just
containing '\n'), old behavior can be restored with '-' in config.
* man/svlogd.8: document new p config line; adapt.
1.5.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to the network through udp (thx Andras Korn,
http://bugs.debian.org/339030).
* runsvdir.c: also process svdir changes if mtime of svdir has changed into
the past (thx Martin Dickopp).
* doc/index.html: update description; Please contact this list and not me
privately.
* doc/replaceinit.html, doc/runscripts.html: minor.
* man/chpst.8: -U doesn't support a list of groups.
* man/svlogd.8: update PATTERN MATCHING section, add example (based on
sugesstions from Joshua N Pritikin).
* man/*8: update SEE ALSO sections: runsvctrl, runsvstat, svwaitdown,
svwaitup will become obsolete; remove references to man pages for
programs from the daemontools package.
1.3.2.
|
|
|
|
| |
line break issue).
|
|
|
|
|
|
|
| |
optional timestamp.
* runsvctrl.c, svwaitdown.c, svwaitup.c: supervise not running -> runsv
not running.
* package/README: 2005.
|
|
|
|
|
|
|
|
|
|
|
| |
deselect lines for stderr respectively; new config option N.
* man/svlogd.8: adapt.
* runsv.c: on commands down and exit send CONT after TERM.
* man/runsv.8: adapt.
* etc/2: use -P option to runsvdir.
* src/svlogd.check: end check for t config option.
* chpst.c: new option -n: adjust nice level.
* man/chpst.8: adapt.
|
|
|
|
|
|
|
|
|
|
| |
Scholz); minor bug fixes.
* doc/index.html: wording; add link to useinit.html; remove link to runit
on LinuxFromScratch.
* doc/runscripts.html: add hint, some getties need to be run in a new
session/process group (thx Dan Melomedman).
* man/svlogd.8: minor fixes.
* man/svwaitdown.8: remove hint about -x option.
|
|
|
|
|
|
|
|
|
| |
Andras KORN).
* runsv.c: on exit run the finish scripts when taking the service down
(thx X.).
* runsv.c, runsvctrl.c: handle sig_quit (thx Wayne Marshall).
* svlogd.c: don't crash on zero byte long config file (thx Alex Efros).
* man/*: minor cleanup.
|
|
|
|
|
|
|
| |
of line (thx Pawel Chmielowski).
* trysocketlib.c: new; check for libraries needed for socket() on some
systems (fixes link failure on solaris, thx Uffe Jakobsen).
* Makefile: adapt.
|
|
|
|
|
| |
configurable through u and U lines in log dir config file; minor.
* man/svlogd.8: adapt.
|
|
|
|
|
| |
* man/svlogd.8: adapt.
0.11.1.
|
|
|
|
|
|
|
|
| |
how to install and configure runit on MacOSX.
* svlogd.c: fix incorrect handling of processor's state file; minor code
cleanup.
* runit-init.c: exit 0 on wrong usage.
0.10.0
|
|
|
|
|
|
|
|
|
| |
on Mac OSX).
* svlogd.c: reset match flag in lineflush() in all cases.
* Makefile: build setuidgid in default target.
* doc/useinit.html: add instruction to create /etc/runit/2 first.
* doc/install.html: minor.
0.9.5.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-v is set.
* man/svlogd.8: document -v option; minor.
* etc/freebsd/3, etc/openbsd/3: check if magic files in /etc/runit/ are
executable, not readable.
* etc/*/getty-tty*/run: remove utmpset from script.
* etc/*/getty-tty*/finish: new: run utmpset.
* doc/replaceinit.html: adapt.
* setuidgid.c: new: daemontools' setuidgid drop in replacement (not
installed by default).
* Makefile: build setuidgid.
* doc/index.html: update.
|
|
|
|
|
|
|
|
|
|
| |
* doc/index.html: adapt; reorder programs; runsvstat, runsvctrl installed
by default.
* doc/install.html: remove dependency on daemontools; create /package.
* doc/replaceinit.html, man/runsv.8: typo.
* man/svwaitdown.8, man/svwaitup.8: refer to runit and supervise.
* svlogd.c: fix counter var namespace.
* package/commands: add runsvctrl, runsvstat.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
sig_term; send sig_term to all runsv processes and exit 111 when
receiving sig_hangup.
* svlogd.c: code cleanup.
* svwaitdown.c: send command "d" (and "x" if -x is set) to a service if
it's not in state 'want down'.
* svwaitup.c: minor code cleanup.
* man/runsvdir.8, man/svwaitdown.8: adapt.
0.9.0.
|
| |
|
|
* fmt_ptime.h, fmt_ptime.c, pmatch.h, pmatch.c: new.
* man/svlogd.8, doc/svlogd.8.html: new.
* man/runsv.8, man/runsvstat.8, man/utmpset.8: minor cleanup.
|