Project

General

Profile

Actions

Bug #14936

closed

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

Added by Jim Pingle about 1 year ago. Updated 8 months ago.

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

100%

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 about 1 year 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 #2

Updated by Jim Pingle 8 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Jim Pingle 8 months ago

  • Subject changed from radvd service shows as stopped in services list when it should be disabled and hidden from that list to ``radvd`` service shows as stopped in services list when it should be disabled and hidden from that list
  • Status changed from Feedback to Resolved
  • Assignee set to Jim Pingle

Looks good on a current snapshot.

Actions

Also available in: Atom PDF