Project

General

Profile

Actions

Bug #10978

closed

rc.initial tries to execute rc.local.running even if it doesn't exist, and even if it is already running.

Added by alzee bum about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Console Menu
Target version:
Start date:
10/15/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

See code here: https://github.com/pfsense/pfsense/blob/master/src/etc/rc.initial#L33

Lines 33-46 check for rc.local and if it exists, try to execute it as well as rc.local.running if rc.local is not currently running. If rc.local is currently running, then rc.local.running is executed.

This results in an error on the console every time you log in if rc.local is present and rc.local.running is not, as well as executing the rc.local every time you log in via SSH -- instead of just once at boot as would be expected on a BSD based system. This point should probably be reported as a separate bug, I only just discovered the behavior while filling out this report.

Actions

Also available in: Atom PDF