Accepting request 1193645 from Base:System
- Add patch killproc-2.23.dif * Fix shell command in Makefile to get detection statx declaration correct - Update to sysvinit 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). - floppym provided patch to accomplish this. * 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. * Patch for man/Makefile to fix the clean recipe. Provided by Lucas Nussabaum and Mark Hindley * On Linux systems, allow reboot command to pass a message to the system firmware during the restart. This is accomplished with the -m flag. * Patch from kraj which allows hddown to compile when musl is the C library. OBS-URL: https://build.opensuse.org/request/show/1193645 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysvinit?expand=0&rev=184
This commit is contained in:
commit
c82fe11f33
15
killproc-2.23.dif
Normal file
15
killproc-2.23.dif
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- Makefile
|
||||||
|
+++ Makefile 2024-08-13 07:19:11.990329152 +0000
|
||||||
|
@@ -15,7 +15,7 @@ DESTDIR =
|
||||||
|
VERSION = 2.23
|
||||||
|
DATE = $(shell date +'%d%b%y' | tr '[:lower:]' '[:upper:]')
|
||||||
|
STATX = $(shell (test -d /lib64 && nm -D /lib64/libc.so.* || /lib/libc.so.*)|grep -c statx)
|
||||||
|
-SYSSTATX = $(shell echo -e '\#include <sys/syscall.h>\nint main () {return SYS_statx;}'|gcc -x c -o /dev/null -P - 2>/dev/null && echo 1 || echo 0)
|
||||||
|
+SYSSTATX = $(shell echo -e '#include <sys/syscall.h>\nint main () {return SYS_statx;}'|gcc -x c -o /dev/null -P - 2>/dev/null && echo 1 || echo 0)
|
||||||
|
OSTATX =
|
||||||
|
|
||||||
|
LIBS += -lblogger -lpthread
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:60ae974f146ff2b0cb072d3ffb6cdd81ba00a2fca55e989c76505bb9bca9fc6c
|
|
||||||
size 268296
|
|
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCgAdFiEEwaRDLYiJZynkMAsEr9G5i/MnOBIFAmTemYQACgkQr9G5i/Mn
|
|
||||||
OBK8ew/9HOJ4t863Kse4PraX0Chi2VdP96SNFXIMuJDx0OujIZwZGxlzmTIEqKhV
|
|
||||||
Vu+cxt9dK1TO3aqeANosSTYagmmYOaZEo4yZOplxNn0p9KBF2T0DCqbYDnwQxS8E
|
|
||||||
omD3B+0WzzoM7Bop1KaPBLhCk0p1lzaJVuxbQVKbJB7i21OyUsj4OPoOSDIwFdg2
|
|
||||||
fQFutnjdSt3W6LjsxF4EyKnsxxS7RyfZuqsaDoqBz0pgfsDd2S0iP5VT1MoQOOgV
|
|
||||||
P8ppinHR1bB/He9TEWmv9TrZGvCY2Jc3I0ArD1PNhzouKoqdpZAuCN4b3WZ85Yl6
|
|
||||||
IjW64euqj+gy9skM4/WdpkcY93T2qt2o1SpJPgpb+w/O5azkFaKHywub0Hkysano
|
|
||||||
KD9c3ghVVh0PaLJJ7y1Mif9omAwq6iKfUdF818egDlKZuI3FN0PUyD1orR13yYcg
|
|
||||||
Z8KkbA1CAQzxclC82B+zJnt3R6GPXjWXda7H5mI1yUIgv/T0DN+myCIRDYSQU11A
|
|
||||||
Zy3lD327bUMSG8KYx0eDIhJQO+rIA9uINMKKxt29UxyNexhEIvAGr4QG59Ts2grW
|
|
||||||
56IYb7zRCNIi8Xej6qBwIfROWxsNzndQgUidxhdCAD1cbAk7wBJq9PbXBJuh0bdl
|
|
||||||
USGmDRE4bYx+d9tEK1ai+I2hxgUtcjjOPsfe1/00cQiYgFpg0cw=
|
|
||||||
=nrsg
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
sysvinit-3.10.tar.xz
Normal file
3
sysvinit-3.10.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c52d22f63e187a1247ad491b6a3a049561b887400a166d6b04fc9d67705c4da6
|
||||||
|
size 240060
|
16
sysvinit-3.10.tar.xz.sig
Normal file
16
sysvinit-3.10.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEWi3Ghs3F1gh9iMGYNR91+kXVNlYFAmanm4AACgkQNR91+kXV
|
||||||
|
NlZV7RAAnltlprjmI3wJu+B62M7EsOgpxSHVgosIKiwtEfo81Bu2GU6dBcy812FE
|
||||||
|
4s62A9ftbqVMPwrSYBJNeownJKSbXVH3oJ/UU/Lsoq62IGYw3+Fn+f2zQJcXHT7r
|
||||||
|
eZ++LOUVugGh7r72KnUi7c3COrr3aDKqpfV5JWoa7Kl/TMpaLyJWBsTVfC8dp8Yu
|
||||||
|
344YtYZIItJ03DhV/cLTAvme7jPSYqOx6teFarVpxK861mVMZfs/tvZlX0hPzIAT
|
||||||
|
FMdHFngYBsYy30yg4GdwEWCOH/6EjHHu84i4I/lcxEmTlEVceio3BthzzFVEpYkq
|
||||||
|
24fs4d/xqBFhwJ7KhaDKxyGceGXwgz1BSuuL6HZC3P98rK8iSEyeo7gsMtzhfUMt
|
||||||
|
8KWU96w2nSJgHs1LKSiZypiIZZeMa103tFtz6nGuszxr1AWIs5RgIxS16olgpXi0
|
||||||
|
6sHnpe1kTriLMMwQmcOQzIRkBECrzmn0OQNsJsGTS9pwGlaQl5X/2qvXvQEEcGi9
|
||||||
|
TivN3kQLbjUchiT4/jzcqe6zBv2VjcIUqvbMNRLA/nsChJMNmYoCdALBN0ICrQC5
|
||||||
|
9uA604yVNmIqKm7cP5zOCUOL+MfQa3O02aY3mhtrmn/L/aIgUOvSzuuw3Xq0n3KF
|
||||||
|
OKEm5hkcqgRTCOUyLjfQ25nmLvQgE657tkn3J9gJqWZ1l2dVFHc=
|
||||||
|
=LFP3
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 13 07:21:04 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Add patch killproc-2.23.dif
|
||||||
|
* Fix shell command in Makefile to get detection statx declaration correct
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 13 06:52:02 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Update to sysvinit 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).
|
||||||
|
- floppym provided patch to accomplish this.
|
||||||
|
* 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.
|
||||||
|
* Patch for man/Makefile to fix the clean recipe.
|
||||||
|
Provided by Lucas Nussabaum and Mark Hindley
|
||||||
|
* On Linux systems, allow reboot command to pass a message
|
||||||
|
to the system firmware during the restart. This is
|
||||||
|
accomplished with the -m flag.
|
||||||
|
* Patch from kraj which allows hddown to compile
|
||||||
|
when musl is the C library.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 26 13:28:43 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Mon Feb 26 13:28:43 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package sysvinit
|
# spec file for package sysvinit
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
Name: sysvinit
|
Name: sysvinit
|
||||||
%define KPVER 2.23
|
%define KPVER 2.23
|
||||||
%define SIVER 3.08
|
%define SIVER 3.10
|
||||||
%define START 0.65
|
%define START 0.65
|
||||||
Version: %{SIVER}
|
Version: %{SIVER}
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -34,6 +34,7 @@ Summary: SysV-Style init
|
|||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
BuildRequires: blog-devel
|
BuildRequires: blog-devel
|
||||||
|
BuildRequires: po4a
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#!BuildIgnore: sysvinit-tools
|
#!BuildIgnore: sysvinit-tools
|
||||||
URL: https://savannah.nongnu.org/projects/sysvinit/
|
URL: https://savannah.nongnu.org/projects/sysvinit/
|
||||||
@ -46,6 +47,7 @@ Source5: %{name}.keyring
|
|||||||
Patch0: %{name}-2.90.dif
|
Patch0: %{name}-2.90.dif
|
||||||
Patch2: %{name}-2.88dsf-suse.patch
|
Patch2: %{name}-2.88dsf-suse.patch
|
||||||
Patch9: %{name}-2.90-no-kill.patch
|
Patch9: %{name}-2.90-no-kill.patch
|
||||||
|
Patch20: killproc-2.23.dif
|
||||||
Patch50: startpar-0.58.dif
|
Patch50: startpar-0.58.dif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -92,6 +94,7 @@ pushd doc
|
|||||||
mkdir killproc
|
mkdir killproc
|
||||||
popd
|
popd
|
||||||
pushd ../killproc-%{KPVER}
|
pushd ../killproc-%{KPVER}
|
||||||
|
%patch -P 20
|
||||||
ln -t../%{name}-%{SIVER}/doc/killproc README.md
|
ln -t../%{name}-%{SIVER}/doc/killproc README.md
|
||||||
popd
|
popd
|
||||||
pushd ../startpar-%{START}
|
pushd ../startpar-%{START}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user