The Guile process taking the role of PID 1 during Guix builds does not reap
zombie processes, which makes them continue responding to "kill -0".
--- a/src/testsuite/stop-server.sh 2015-02-05 11:24:00.535908842 +0100
+++ b/src/testsuite/stop-server.sh 2015-02-05 11:25:00.264351349 +0100
@@ -1,6 +1,21 @@
#!/bin/sh
# ngIRCd Test Suite
+process_is_alive(){
+ ! process_is_dead "$1" && ! process_is_undead "$1"
+}
+
+process_is_dead(){
+ ! kill -0 "$1"
+}
+
+process_is_undead(){
+ case $(ps -p "$1" -o state=) in
+ (Z*) true ;;
+ (*) false ;;
+ esac
+}
+
[ -z "$srcdir" ] && srcdir=`dirname $0`
# read in functions
@@ -24,7 +40,7 @@
# waiting ...
for i in 1 2 3 4 5; do
- kill -0 $pid > /dev/null 2>&1; r=$?
+ process_is_alive $pid > /dev/null 2>&1; r=$?
if [ $r -ne 0 ]; then
echo " ok".
exit 0
value='koszko-scripts'>koszko-scripts
Wojtek's customized Guix | |
Age | Commit message (Expand) | Author |
2023-02-19 | gnu: linux-libre: Consistently provide the drop_monitor module....This is needed by, e.g., <https://github.com/nhorman/dropwatch>.
Build it as a module everywhere for consistency.
* gnu/packages/aux-files/linux-libre/4.14-i686.conf:
Set CONFIG_NET_DROP_MONITOR=m.
* gnu/packages/aux-files/linux-libre/4.14-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/4.19-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/4.19-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.4-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.4-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.4-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-x86_64.conf: Likewise.
Reported by mirai in #guix.
| Tobias Geerinckx-Rice |
2023-02-12 | gnu: linux-libre: Disable unprivileged BPF by default....* gnu/packages/aux-files/linux-libre/5.15-arm.conf:
Set CONFIG_BPF_UNPRIV_DEFAULT_OFF=y.
* gnu/packages/aux-files/linux-libre/5.15-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-x86_64.conf: Likewise.
| Tobias Geerinckx-Rice |
2023-01-03 | gnu: Add linux-libre 6.1....* gnu/packages/linux.scm (linux-libre-6.1-version, linux-libre-6.1-gnu-revision,
deblob-scripts-6.1, linux-libre-6.1-source, linux-libre-headers-6.1,
linux-libre-6.1): New variables.
* gnu/packages/aux-files/linux-libre/6.1-arm.conf,
gnu/packages/aux-files/linux-libre/6.1-arm64.conf,
gnu/packages/aux-files/linux-libre/6.1-i686.conf,
gnu/packages/aux-files/linux-libre/6.1-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
| Leo Famulari |