From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] sysvinit: Update to version 3.10 Date: Wed, 21 Aug 2024 20:45:16 +0200 Message-ID: <20240821184516.1906534-5-adolf.belka@ipfire.org> In-Reply-To: <20240821184516.1906534-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7941585927873927717==" List-Id: --===============7941585927873927717== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from version 3.08 to 3.10 - Update of rootfile not required - Renamed build_mountpoint patch - Changelog 3.10 When the user executes "machinectl stop", systemd sends SIGRTMIN+4 to PID 1 in the container, and expects that to initiate a graceful shutdown (power-off). SysV init now catches this signal and initiates a shutdown (shutdown -hP now). Fix issue in bootlogd which could cause the service to enter an endless loop (and use too much CPU) when it is able to open a device for writing, but not actually able to write to it. This resulted in bootlogd closing and re-opening the device over and over. Now bootlogd should simply fail gracefully when it cannot write to an open file/device. Fix formatting in shutdown.8 manual page. Cleaned up whitespace and special characters. 3.09 On Linux distributions which use the musl C library (instead of glibc) we ca= n now build properly. Specifically, the hddown helper program now builds on musl C systems. The reboot command is now able to pass messages to the underlying firmware on Linux systems during a reboot. This allows the admin to pass information to= the underlying firmware to, for example, ask the system to boot from another partition. Should be helpful on Raspberry Pi systems. The reboot command can pass a message to the firmware when using the "-m" command line flag. This release also improves the Makefile's clean directive. Signed-off-by: Adolf Belka --- lfs/sysvinit | 8 ++++---- ...ntpoint.patch =3D> sysvinit-3.10_build_mountpoint.patch} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename src/patches/{sysvinit-3.08_build_mountpoint.patch =3D> sysvinit-3.10_= build_mountpoint.patch} (100%) diff --git a/lfs/sysvinit b/lfs/sysvinit index 4da1b185e..ff5577e5e 100644 --- a/lfs/sysvinit +++ b/lfs/sysvinit @@ -1,7 +1,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2023 IPFire Team = # +# Copyright (C) 2007-2024 IPFire Team = # # = # # This program is free software: you can redistribute it and/or modify = # # it under the terms of the GNU General Public License as published by = # @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 3.08 +VER =3D 3.10 =20 THISAPP =3D sysvinit-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D ec4a4ff3663ac7d67808b50b67631ff4fe1ab56d376df15868df0e= b79cbc329b192af124380eec6a797d827c3c7c5586058310d803f42ee1934dcffbfbe876f7 +$(DL_FILE)_BLAKE2 =3D 894f1ad140f1e92f4d4a2220a9abff6ba106d9f84ee0e001ee8d5a= 0f41a2877e08110d442a2bcd52efc5662838fae36835b067091d37b9f4d295b47c01c26153 =20 install : $(TARGET) =20 @@ -70,7 +70,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/sysvinit-3.08_build_m= ountpoint.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/sysvinit-3.10_build_m= ountpoint.patch cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) diff --git a/src/patches/sysvinit-3.08_build_mountpoint.patch b/src/patches/s= ysvinit-3.10_build_mountpoint.patch similarity index 100% rename from src/patches/sysvinit-3.08_build_mountpoint.patch rename to src/patches/sysvinit-3.10_build_mountpoint.patch --=20 2.46.0 --===============7941585927873927717==--