Project

General

Profile

Actions

Bug #15533

open

Boot verification script over matches

Added by Steve Wheeler 26 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Upgrade
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
24.03
Affected Architecture:

Description

The boot verification script for ZFS boot environments can over match against other processes and fail to run due to protection against multiple instances.

See: https://forum.netgate.com/post/1171712

Suggested fix:

--- rc.bootonce_verify.orig     2024-05-31 14:44:31.630017000 -0400
+++ rc.bootonce_verify  2024-05-31 14:45:18.778140000 -0400
@@ -115,7 +115,7 @@
 #
 is_running()
 {
-       pkill_quiet -0 -f "${ME}" 
+       pkill_quiet -0 -f "^${ME}" 
 }

No data to display

Actions

Also available in: Atom PDF