Skip to content

init scripts: don't test if binaries exist

Carlos Santos buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest26 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/26bind: don't test if the binary exists in the init scriptpackage/bind/S81named+0 -10 replies
2/26dbus: don't test if the binary exists in the init scriptpackage/dbus/S30dbus+0 -30 replies
3/26dhcpcd: don't test if the binary exists in the init scriptpackage/dhcpcd/S41dhcpcd+0 -10 replies
4/26dmraid: don't test if the binary exists in the init scriptpackage/dmraid/S20dmraid+0 -20 replies
5/26dnsmasq: don't test if the binary exists in the init scriptpackage/dnsmasq/S80dnsmasq+0 -10 replies
6/26eudev: don't test if the binary exists in the init scriptpackage/eudev/S10udev+1 -50 replies
7/26haveged: don't test if the binary exists in the init scriptpackage/haveged/S21haveged+0 -20 replies
8/26modem-manager: don't test if the binary exists in the init scriptpackage/modem-manager/S44modem-manager+0 -21 reply
9/26mpd: don't test if the binary exists in the init scriptpackage/mpd/S95mpd+0 -10 replies
10/26neard: don't test if the binary exists in the init scriptpackage/neard/S53neard+1 -50 replies
11/26netplug: don't test if the binary exists in the init scriptpackage/netplug/S29netplug+0 -20 replies
12/26netsnmp: don't test if the binaries exist in the init scriptpackage/netsnmp/S59snmpd+0 -30 replies
13/26network-manager: don't test if the binary exists in the init scriptpackage/network-manager/S45network-manager+1 -90 replies
14/26nfs-utils: don't test if the binary exists in the init scriptpackage/nfs-utils/S60nfs+0 -50 replies
15/26ntp: don't test if the binary exists in the init scriptpackage/ntp/S49ntp+1 -50 replies
16/26openntpd: don't test if the binary exists in the init scriptpackage/openntpd/S49ntp+0 -10 replies
17/26openvpn: don't test if the binary exists in the init scriptpackage/openvpn/S60openvpn+1 -50 replies
18/26proftpd: don't test if the binary exists in the init scriptpackage/proftpd/S50proftpd+1 -30 replies
19/26prosody: don't test if the binary exists in the init scriptpackage/prosody/S50prosody+1 -50 replies
20/26squid: don't test if the binary exists in the init scriptpackage/squid/S97squid+0 -10 replies
21/26tinyhttpd: don't test if the binary exists in the init scriptpackage/tinyhttpd/S85tinyhttpd+0 -10 replies
22/26tpm2-abrmd: don't test if the binary exists in the init scriptpackage/tpm2-abrmd/S80tpm2-abrmd+2 -60 replies
23/26transmission: don't test if the binary exists in the init scriptpackage/transmission/S92transmission+0 -30 replies
24/26triggerhappy: don't test if the binary exists in the init scriptpackage/triggerhappy/S10triggerhappy+1 -50 replies
25/26tvheadend: don't test if the binary exists in the init scriptpackage/tvheadend/S99tvheadend+1 -40 replies
26/26upmpdcli: don't test if the binary exists in the init scriptpackage/upmpdcli/S99upmpdcli+1 -50 replies

Reviews trailers per patch

1 of 26 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr Vorel
SeriesR-b
1/26
2/26
3/26
4/26
5/26
6/26
7/26
8/26A-b
9/26
10/26
11/26
12/26
13/26
14/26
15/26
16/26
17/26
18/26
19/26
20/26
21/26
22/26
23/26
24/26
25/26
26/26

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 00/26] init scripts: don't test if binaries exist

As discussed in the mailing list, it is useless to test if a binary file exists and/or is executable. Buildroot installs both the executable files and their init scripts as part of the same packages. But if it ever happens for some reason, the error message from start-stop-daemon or from the shell should be pretty clear.

If a variable containing the file name existed (e.g. DAEMON) and was used only once it was replaced by the full path of the binary file. Unused variables resulting from these simplifications were removed too.

Carlos Santos (26):
bind: don't test if the binary exists in the init script
dbus: don't test if the binary exists in the init script
dhcpcd: don't test if the binary exists in the init script
dmraid: don't test if the binary exists in the init script
dnsmasq: don't test if the binary exists in the init script
eudev: don't test if the binary exists in the init script
haveged: don't test if the binary exists in the init script
modem-manager: don't test if the binary exists in the init script
mpd: don't test if the binary exists in the init script
neard: don't test if the binary exists in the init script
netplug: don't test if the binary exists in the init script
netsnmp: don't test if the binaries exist in the init script
network-manager: don't test if the binary exists in the init script
nfs-utils: don't test if the binary exists in the init script
ntp: don't test if the binary exists in the init script
openntpd: don't test if the binary exists in the init script
openvpn: don't test if the binary exists in the init script
proftpd: don't test if the binary exists in the init script
prosody: don't test if the binary exists in the init script
squid: don't test if the binary exists in the init script
tinyhttpd: don't test if the binary exists in the init script
tpm2-abrmd: don't test if the binary exists in the init script
transmission: don't test if the binary exists in the init script
triggerhappy: don't test if the binary exists in the init script
tvheadend: don't test if the binary exists in the init script
upmpdcli: don't test if the binary exists in the init script

 package/bind/S81named                      |  1 -
 package/dbus/S30dbus                       |  3 ---
 package/dhcpcd/S41dhcpcd                   |  1 -
 package/dmraid/S20dmraid                   |  2 --
 package/dnsmasq/S80dnsmasq                 |  1 -
 package/eudev/S10udev                      |  6 +-----
 package/haveged/S21haveged                 |  2 --
 package/modem-manager/S44modem-manager     |  2 --
 package/mpd/S95mpd                         |  1 -
 package/neard/S53neard                     |  6 +-----
 package/netplug/S29netplug                 |  2 --
 package/netsnmp/S59snmpd                   |  3 ---
 package/network-manager/S45network-manager | 10 +---------
 package/nfs-utils/S60nfs                   |  5 -----
 package/ntp/S49ntp                         |  6 +-----
 package/openntpd/S49ntp                    |  1 -
 package/openvpn/S60openvpn                 |  6 +-----
 package/proftpd/S50proftpd                 |  4 +---
 package/prosody/S50prosody                 |  6 +-----
 package/squid/S97squid                     |  1 -
 package/tinyhttpd/S85tinyhttpd             |  1 -
 package/tpm2-abrmd/S80tpm2-abrmd           |  8 ++------
 package/transmission/S92transmission       |  3 ---
 package/triggerhappy/S10triggerhappy       |  6 +-----
 package/tvheadend/S99tvheadend             |  5 +----
 package/upmpdcli/S99upmpdcli               |  6 +-----
 26 files changed, 12 insertions(+), 86 deletions(-)
Signature · 1 line
2.14.3