Project

General

Profile

Bug #11456

pfSense Unbound Python Integration - Dev mount

Added by BBcan177 . about 2 months ago. Updated about 2 months ago.

Status:
Pull Request Review
Priority:
Normal
Assignee:
-
Category:
DNS Resolver
Target version:
Start date:
02/18/2021
Due date:
% Done:

0%

Estimated time:
Affected Version:
All
Affected Architecture:
Release Notes:
Default

Description

As reported here:
https://www.reddit.com/r/pfBlockerNG/comments/ln1gx1/pfblockerngdevel_leaking_mounts/

In file: /etc/inc/services.inc
Function: services_unbound_configure()
Line# 2430

Reference:
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L2430

Each time Unbound is restarted from pfSense, it will add a new Mount for devfs. This needs to be validated first to see if it has already been mounted, and not add additional mounts if it already exists.

A similar validation exists in function services_dhcp_configure()

Reference:
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L450-L452

The original commit here:
https://github.com/pfsense/pfsense/commit/d83d2280d4e104793840c97a1e33e688067c9f1c#diff-bfa3d43ab33dd4467f6d92f7329db45a738563d38215c4c31703f9c7e18e3f3d

Original Redmine:
#9251

History

#2 Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review
  • Target version set to CE-Next

Also available in: Atom PDF