Project

General

Profile

Actions

Bug #14936

open

radvd service shows as stopped in services list when it should be disabled and hidden from that list

Added by Jim Pingle 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Very Low
Assignee:
-
Category:
IPv6 Router Advertisements (radvd/rtsold)
Target version:
Start date:
Due date:
% Done:

0%

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

Description

The is_radvd_enabled() function in pfsense-utils.inc appears to incorrectly interpret the state of the radvd service in some cases.

For example I have a system with WAN DHCP6, LAN Track6 to WAN, but on LAN I have DHCPv6 disabled and RA disabled. When configured in this way, the radvd service is shown in the services list, but is listed as stopped. The radvd.conf file only contains the header, which is expected since there are no interfaces with RA enabled.

Actions #1

Updated by Jim Pingle 4 months ago

Note: The block that is incorrect is the second loop. The first loop was recently changed in #14136 and that loop has the expected outcome, but the second loop is where it's returning true.

Actions

Also available in: Atom PDF