Project

General

Profile

Actions

Bug #15533

open
SW CM

Boot verification script over matches

Bug #15533: Boot verification script over matches

Added by Steve Wheeler over 2 years ago. Updated 3 months 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 1 (0 open1 closed)

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

Actions

MM Updated by Marcos M about 2 years ago Actions #1

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

MM Updated by Marcos M about 2 years ago Actions #2

  • Priority changed from Normal to Low

MM Updated by Marcos M about 2 years ago Actions #3

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

CM Updated by Christian McDonald almost 2 years ago Actions #4

  • Assignee set to Christian McDonald

JP Updated by Jim Pingle almost 2 years ago Actions #5

  • Target version changed from 24.11 to 25.07

JP Updated by Jim Pingle about 1 year ago Actions #6

  • Target version changed from 25.07 to 25.11

JP Updated by Jim Pingle 10 months ago Actions #7

  • Target version changed from 25.11 to 26.03

JP Updated by Jim Pingle 7 months ago Actions #8

  • Target version changed from 26.03 to 26.07

JP Updated by Jim Pingle 3 months ago Actions #9

  • Target version changed from 26.07 to 26.10
Actions

Also available in: Atom