Skip to content

0.7 (20201111)

Compare
Choose a tag to compare
@raforg raforg released this 12 Nov 03:15

0.7 (20201111)

- Fixed bug: race condition causing failure with "exec daemon ..." (with Askar Safin safinaskar at mail.ru)
- Added $DAEMON_INIT_EXIT_DELAY_MSEC workaround for obscure KDE/konsole bug (with Askar Safin safinaskar at mail.ru)
- Removed O_NOCTTY-related manpage "bug" (now historical) (spotted by Askar Safin safinaskar at mail.ru)
- Always double fork for safety on systems of unknown flavour (suggested by Askar Safin safinaskar at mail.ru)
- Added support for GNU/Hurd (by Svante Signell svante.signell at telia.com)
- Added --ignore-eof and --read-eof options to alter behaviour when client dies without closing stdio
  (for Terry Greeniaus greeniaus_terry at emc.com and Tilman Baumann at tilman.baumann at grandeye.com)
- Fixed bug: daemon_lock_pidfile() leaked fd across exec (spotted by Tilman Baumann tilman.baumann at grandeye.com)
- Added --signal option (suggested by Marc Haber mh+daemon-dev at zugschlus.de)
- Added --nocore option and removed silly manpage "bug" about its absence
- Added fcntl_set_fdflag() and fcntl_clear_fdflag() to the fio module
- Added signal_set_siginfo_handler() to the sig module
- Added msg_filter_t, msg_create_filter(), msg_create_filter_with_locker() to the msg module
- Test secure memory in the mem module for non-root users as well (now that they can do it)
- Added prog_{out,err,dbg,alert}_push_filter() to the prog module
- Added recvcred(), recvfromcred() to the net module
- Added a few more debug messages that were missing
- Insert daemon name before client's argv[0] so it appears in ps output (for marko.asplund at gmail.com)
- Allow --pidfiles to be present without --name also being present
- Added --list option to print a list of named daemons (more detail with --verbose)
- Improved error message when client exit()s after --stop (for jakubholy.net at gmail.com)
- Added syslog facility and priority lists to daemon(1) manpage (for jakubholy.net at gmail.com)
- Various fixes and improvements to manpage
- Improved --verbose --running message to state if client is running as well or not (added client pid file)
- Fixed buglet: daemon no longer exits with EXIT_FAILURE when client is killed by an unexpected signal
- Fixed harmless format string bug in prog_opt_process() (spotted by Jong-Gwon Kim and Woosuk Lee {jgkim,wslee} at ropas.snu.ac.kr)
- Fixed bug: leaked fds for --errlog, --dbglog, --stdout and --stderr across exec
- Fixed bug in parallelized make: "make ready" first so do it in configure (spotted by ilovezfs at icloud.com)
- Fixed copyright messages (list actual years of publication, not just a range of years)
- Fixed all sscanf "%s" to limit output (e.g. "%63s") to prevent buffer overruns (was only in test and example code)
- Added more tests in the prop module
- Fixed buglet: Removed vhangup() in pty_make_controlling_tty() as it broke some coproc module tests if run as root
- Fixed str.h to not clash with new strlcpy/strlcat macros on OSX/macOS
- Updated to avoid new warnings in recent versions of gcc
- Split README into multiple files (README.md INSTALL COPYING REFERENCES CHANGELOG)
- Added /etc/daemon.conf.d/ and ~/.daemonrc.d/ configuration directories
- Changed "config" script name to "configure" (not an alias anymore) (but it's still not GNU configure)
- Changed /etc/daemon.conf file location to /usr/local/etc/daemon.conf on FreeBSD
- Changed /etc/daemon.conf file location to /usr/pkg/etc/daemon.conf on NetBSD
- Changed installation location prefix to /usr/pkg on NetBSD
- Added concrete examples to daemon.conf
- Replaced racist pty jargon in code with more descriptive terms