Commit Graph

195 Commits

Author SHA1 Message Date
Jesse
c06458e1c1 Accepted patch from Mark Hindley which avoids clearing realpath information
in pidof when trying to find matching executables.
2023-04-18 17:33:30 -03:00
Jesse
b6aacf3b68 Fixed memory initialization error in pidof. Fix provided by Markus Fischer. 2023-03-24 11:18:02 -03:00
Jesse
b70b2776ed pidof was not returning PIDs of programs which were launched
using a symbolic link. (ie /tmp/sleep when /tmp/sleep links to /usr/bin/sleep).
This is now fixed as we check both the realpath and symbolic path for processes.
In other words, "pidof /tmp/sleep" and "pidof /usr/bin/sleep" will return
the same PIDs when /tmp/sleep is a symbolic link to /usr/bin/sleep.
2023-03-22 12:34:55 -03:00
Jesse
86c5d7b93c Fixed killall5 usage message to be more accurate. Command
can accept more than one parameter and that is now mentioned.
2023-02-19 00:47:22 -04:00
Jesse
bd55f5e243 The killall5 command now avoids sending any signals,
including SIGSTOP and SIGCONT, to processes on the omit list.
2023-02-19 00:42:55 -04:00
Jesse
ce407896b5 Removed redundant translation files from man directory.
Makefile now respects DESTDIR. User can specify either ROOT= or DESTDIR=
to set install prefix.
2022-12-01 15:28:14 -04:00
Jesse
40b66845b7 Makefile now respects ROOT prefix when setting up pidof-to-killall5
symbolic link.
2022-11-30 23:17:18 -04:00
Jesse
da6fdf6b2f Fixed pt translation pages which were failing due to mis-matched
open/close tags.
2022-11-30 20:10:02 -04:00
Jesse
2a8cbfb234 Updated change log. 2022-11-22 10:25:52 -04:00
Jesse
e372442256 Fix typo in man/po/es.po
Clean up src/Makefile translation code.
2022-08-23 15:08:13 -03:00
Jesse
6f460ba93e Fixed another typo in changelog. 2022-08-21 13:48:03 -03:00
Jesse
03979af363 Fix changelog typo. 2022-08-21 13:47:36 -03:00
Jesse
d2694b4986 Applied patch for fixing sulogin compiling on newest glibc version. 2022-08-21 13:46:59 -03:00
Jesse
08810d78ff Applied patches from Mark Hindley to clean up man page
Makefile, translations and installs of new man pages.
2022-05-09 12:48:54 -03:00
Jesse
746b0fc6a9 Add sys/sysmacros.h to mountpoint.c to fix compiling on
systems where major/minor macros are not defined implicitly.
2022-05-04 12:10:27 -03:00
Jesse
e3d0f4bfc1 Add translation code and Makefile. 2022-05-01 16:12:14 -03:00
Jesse
43faf49b73 Updated changelog with new release version. 2022-04-26 14:37:07 -03:00
Jesse
bd0005e9b8 Added define for GNU Hurd to pull in major/minor macros and
allow bootlogd to compile on Hurd.
2022-04-16 16:12:03 -03:00
Jesse
133eb15556 Updated changelog in preparation for release. 2022-04-13 12:48:52 -03:00
Jesse
d291bd320d Acknowledged recent fix for Hurd also fixes musl C library builds. 2022-04-12 23:52:35 -03:00
Jesse
14d8d25269 Fixed compile error on GNU Hurd. Issue reported by Mark Hindly. 2022-03-30 00:00:45 -03:00
Jesse
dfb227ce77 Fixed formatting in init.8 manual page. Fix provided by Mark Hindley. 2022-03-29 11:07:39 -03:00
Jesse
6d5b889d52 Updated changelog for release. 2022-03-28 22:39:47 -03:00
Jesse
124f3c2054 * Introduced change which adds error checking in bootlogd when performing
chdir(). - Provided by Alexander Vickberg

* Add check for console using TIOCGDEV on Linux systems in bootlogd to
  make finding console more robust. - Provided by Alexander Vickberg
2022-03-10 13:51:02 -04:00
Jesse
644ee05aab Update manual pages with markup and spacing fixes.
Added ability to use "@" symbol in command named in the inittab file. This
treats commands as literal and does not launch a shell to interpret them.

Updated inittab manual page to include overview of symbols which trigger
a shell interpretor and how to disable them using the @ symbol.
2022-02-15 17:01:41 -04:00
Jesse
3b233b0690 Updated link to upstream. 2022-02-08 15:17:00 -04:00
Jesse
f55348808d Applied new translation support from Mario Blattermann. 2022-01-27 21:39:55 -04:00
Jesse
a6e80e1133 Added new Makefile to the "man" directory. This will handle the logic
for changes, substitutions, and clean-up of the man pages.
For now install instructions are still in the "src" directory
to avoid breaking install scripts.
2021-12-27 17:50:25 -04:00
Jesse
92d4b0e74a Applied fixes for markup and spacing in manual pages.
Patch provided by Mario Blattermann.

Added translation framework (po4a) from Mario Blttermann.
2021-12-27 16:14:42 -04:00
Jesse
933ce33854 Add Q and q flags to synopsis section of shutdown manual page.
Patch provided by Helge Kreutzmann through Mark Hindley.
Closes Debian bug #1001908
2021-12-22 13:32:50 -04:00
Jesse
b4917aaa54 Update changlog.
Removed check in inittab parsing which always evaluates to false.
2021-12-13 15:04:10 -04:00
Jesse Smith
665e707f51 Updated changelog to match new 3.00 release. 2021-09-16 10:51:28 -03:00
Jesse Smith
8a085ea9b7 Applied patch from Matthias Schiffer which allows bootlogd to read from
a wider range of consoles. The console name is already passed in from the
kernel command line using "console=". We no longer filter out names as strictly
but do now check to confirm the "console=" device points to a valid TTY.
2021-08-03 18:21:16 -03:00
Jesse Smith
bb6d5dfcd6 Updated changelog with new version information. 2021-02-20 14:08:21 -04:00
Jesse Smith
ae1862708b Updated changelog. 2020-12-14 17:58:45 -04:00
Jesse Smith
ab53132154 Removed old original source file that was left behind by
patch action.

Fixed typos in source code, comments, manual pages, and
changelog. Corrections provided by Jens Schleusener of
FOSSIES (fossies.org).
2020-11-17 20:31:37 -04:00
Jesse Smith
5567f1654f Changes order of some manual pages references.
Updated changelog fole/
2020-11-15 19:47:50 -04:00
Jesse Smith
2fc71a95f9 Updated changelog. 2020-08-16 14:20:21 -03:00
Jesse Smith
7ca2d2413f Updated changelog to credit Helge Kreutzmann with manual page updates. 2020-07-06 16:01:25 -03:00
Jesse Smith
584df5efaf Added patch from William Shipley which allows shutdown time to be specified
in the format +hh:mm. This is in addition to the existing formats such as
hh:mm, +m, and "now".

Cleared up compiler warning in dowall which can happen if the
output message is longer than the size limit on the snprintf()
buffer. This is not a bug, a the trucation works, but using a larger
buffer avoids the warning on systems with long user/host names.
2020-06-20 13:41:18 -03:00
Jesse Smith
d4cc79bcb9 Added patch from Didier Gaudin which allows init to load configuration
data from files stored in /etc/inittab.d/
2020-01-08 19:42:43 -04:00
Jesse Smith
3accc5e30c Removed old TODO file.
Added sysd2v script which converts systemd unit files
into init.d style shell scripts.
2019-11-16 15:58:56 -04:00
Jesse Smith
9bc925d0e9 Avoid freeing unused memory. Some code clean-up.
Patch provided by David Hoyer.
2019-11-04 12:12:44 -04:00
Jesse Smith
ad50c8272e Make sure git ignores new executable files in src directory.
Make location of libcrypt library more flexible.
2019-09-12 17:35:55 -03:00
Jesse Smith
13cb3665b1 Make sure src/Makefile cleans up all executable files when
parent makefile calles "make clean".
2019-09-11 14:42:20 -03:00
Jesse Smith
06d9afaa87 Updated changelog. 2019-08-11 22:14:38 -03:00
Jesse Smith
362315a997 Updated changelog. 2019-07-04 22:01:31 -03:00
Jesse Smith
39df2f0fa3 Added -z command line paramter to pidof which tells pidof to
try to find processes in uninterruptable (D) or zombie (Z) states.
This can cause pidof to hang, but produces a more complete process
list.
2019-07-04 22:00:47 -03:00
Jesse Smith
5f96543c96 Updated changelog for release. 2019-06-15 14:01:01 -03:00
Jesse Smith
df1aec8981 Accepted patch from Luc Gommans which explains why zombie and
deep sleep processes (Z and D) may be hidden from pidof
2019-05-25 15:41:57 -03:00