GNU bug report logs -
#77100
[PATCH] FIx varnish error on startup
Previous Next
Reported by: Nazar Klovanych <nazarn96 <at> gmail.com>
Date: Tue, 18 Mar 2025 14:16:03 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
This fixes the error on varnish startup
2025-03-18 08:16:48 localhost shepherd[1]: [varnishd] Info: Working directory not mounted on tmpfs partition
2025-03-18 08:16:48 localhost shepherd[1]: [varnishd] sh: line 1: rm: command not found
2025-03-18 08:16:48 localhost shepherd[1]: [varnishd] Assert error in main(), mgt/mgt_main.c line 876:
---
gnu/packages/web.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 54f2f75097..37acd2d617 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6825,7 +6825,9 @@ (define-public varnish
(substitute* "bin/varnishd/mgt/mgt_shmem.c"
(("rm -rf") (string-append rm " -rf")))
(substitute* "bin/varnishtest/vtc_main.c"
- (("/bin/rm") rm)))
+ (("/bin/rm") rm))
+ (substitute* "bin/varnishd/mgt/mgt_main.c"
+ (("rm -rf") (string-append rm " -rf"))))
(substitute* "bin/varnishtest/tests/u00000.vtc"
(("/bin/echo") (which "echo")))))
(add-after 'unpack 'remove-failing-tests
base-commit: 9879a7d75279762c7634f1a585794442ea2f0503
--
2.48.1
This bug report was last modified 138 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.