Project

General

Profile

Actions

Bug #15533

open

Boot verification script over matches

Added by Steve Wheeler 6 months ago. Updated 7 days ago.

Status:
New
Priority:
Low
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}" 
 }


Related issues

Related to Bug #15639: Automatic boot verification shows negative timerResolvedMarcos M

Actions
Actions #1

Updated by Marcos M 4 months ago

$ME is the name of the script; it would have to be something like pkill_quiet -0 -f "^/bin/sh /etc/${ME}\>".

Actions #2

Updated by Marcos M 4 months ago

  • Priority changed from Normal to Low
Actions #3

Updated by Marcos M 4 months ago

  • Related to Bug #15639: Automatic boot verification shows negative timer added
Actions #4

Updated by Christian McDonald about 1 month ago

  • Assignee set to Christian McDonald
Actions #5

Updated by Jim Pingle 7 days ago

  • Target version changed from 24.11 to 25.01
Actions

Also available in: Atom PDF