Commit Graph

12 Commits

Author SHA1 Message Date
331185e48a start-stop-daemon: update to 20210109, sync with dpkg 1.20.6 2021-01-10 12:03:28 +01:00
361139d84e start-stop-daemon: update to 20200811, sync with upstream 2020-08-11 15:49:50 +00:00
295c95f491 start-stop-daemon: fix build with glibc 2.32 2020-08-11 09:27:10 +00:00
60fe76b233 crux-patch.diff: sync..
The new S-S-D would not work with CRUX since for example exim uses
a PID file with root:mail and then there is a root!=mail mismatch.
The manual says

  Warning: using this match option with a world-writable pidfile
  or using it alone with a daemon that writes the pidfile as an
  unprivileged (non-root) user will be refused with an error
  (since version 1.19.3) as this is a security risk, because
  either any user can write to it, or if the daemon gets
  compromised, the contents of the pidfile cannot be trusted, and
  then a privileged runner (such as an init script executed as
  root) would end up acting on any system process.  Using
  /dev/null is exempt from these checks.

The actual code contradicts this as the mail group in our example
cannot write the PID file, only read it.
I thus have adjusted the code to only refuse the operation if the
group can write the file, too.
(Maybe this is even a "bug" that should be reported upstream?)
2019-03-19 14:01:12 +01:00
bf12d4ef67 crux-patch.diff: adjust for latest sync 2019-03-19 14:01:12 +01:00
2c229a2dc6 crux-patch.diff: adjust for latest sync 2019-03-19 14:01:12 +01:00
c6327604c4 start-stop-daemon.c update
Hallo Jürgen.

Anbei eine Aktualisierung vom s-s-d.  Ich hoffe es klappt diesmal
reibungsfrei!  Ich wollte die Mail erst an die Liste schicken,
aber direkt an dich geht auch?
Tschüß!

Nothing much happened for Linux, except usage of dynamic instead
of fixed size buffer for errors (if you never have seen
a truncated message by s-s-d, nothing you will encounter), from
May 2016.  And UIDs and GIDs are now parsed as unsigned integers,
causing failures for 0 and negative such identities, from July
2017.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
commit f6b74377 (HEAD -> refs/heads/x)
Author:     Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>
AuthorDate: 2017-08-12 22:32:46 +0200
Commit:     Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>
CommitDate: 2017-08-12 22:43:16 +0200

    Debian start-stop-daemon 2017-07-04
2017-08-14 16:41:48 +02:00
Steffen Nurpmeso
5fc7a6939c start-stop-daemon: update to 20150921 2015-09-24 13:51:41 +02:00
Steffen Nurpmeso
a44edc9e8b start-stop-daemon: update to 20150915 2015-09-18 16:47:45 +02:00
6b17e88983 start-stop-daemon: fix version string 2015-05-12 11:56:29 +02:00
Steffen Nurpmeso
ef0b7dba60 start-stop-daemon: sync with Debian
Hello,

you possibly want to integrate a change that can now be found on
Debian [master] with a very interesting change:

    start-stop-daemon: sync with Debian (CLOCK_MONOTONIC)..

    Using CLOCK_MONOTONIC instead of what was in use until today will
    ensure that running actions with configured time periods will run,
    and at correct times, even in the event of intermediate changes to
    the system clock.

--steffen

Author: Steffen Nurpmeso <sdaoden@users.sf.net>
Date:   2015-05-11 16:38:43 +0200

    start-stop-daemon: sync with Debian (CLOCK_MONOTONIC)..

    Using CLOCK_MONOTONIC instead of what was in use until today will
    ensure that running actions with configured time periods will run,
    and at correct times, even in the event of intermediate changes to
    the system clock.
2015-05-12 10:48:34 +02:00
5436e95ea2 start-stop-daemon: add the new files actually 2015-02-26 17:52:50 +01:00