os-isc-dhcp-1.0_3 failed to install on upgrade from 25.7

Started by cpw, January 31, 2026, 09:50:34 PM

Previous topic - Next topic
Thought I'd report that this package failed to automatically install as the release notes said it would, on update from 25.7.11 to 26.1.

It also fails to start and I now seem to have to configure all my old DHCP stuff into DNSmasq.

I have no idea what this BPF device is supposed to be. It seems that all the previously present config for DHCP has been removed, and the plugin fails to restore it. This is not a simple upgrade if you're using ISC DHCP and you need to warn about this mess..

2026-01-31T15:46:43-05:00    Error    dhcpd     exiting.
2026-01-31T15:46:43-05:00    Error    dhcpd   
2026-01-31T15:46:43-05:00    Error    dhcpd     process and the information we find helpful for debugging.
2026-01-31T15:46:43-05:00    Error    dhcpd     before submitting a bug.  These pages explain the proper
2026-01-31T15:46:43-05:00    Error    dhcpd     bugs on either our web page at www.isc.org or in the README file
2026-01-31T15:46:43-05:00    Error    dhcpd     than a configuration issue please read the section on submitting
2026-01-31T15:46:43-05:00    Error    dhcpd     If you think you have received this message due to a bug rather
2026-01-31T15:46:43-05:00    Error    dhcpd   
2026-01-31T15:46:43-05:00    Error    dhcpd     No bpf devices.   Please read the README section for your operating system.
2026-01-31T15:46:42-05:00    Error    dhcpd     exiting.
2026-01-31T15:46:42-05:00    Error    dhcpd   
2026-01-31T15:46:42-05:00    Error    dhcpd     process and the information we find helpful for debugging.
2026-01-31T15:46:42-05:00    Error    dhcpd     before submitting a bug.  These pages explain the proper
2026-01-31T15:46:42-05:00    Error    dhcpd     bugs on either our web page at www.isc.org or in the README file
2026-01-31T15:46:42-05:00    Error    dhcpd     than a configuration issue please read the section on submitting
2026-01-31T15:46:42-05:00    Error    dhcpd     If you think you have received this message due to a bug rather
2026-01-31T15:46:42-05:00    Error    dhcpd   
2026-01-31T15:46:42-05:00    Error    dhcpd     No bpf devices.   Please read the README section for your operating system.
2026-01-31T15:00:53-05:00    Error    dhcpd     Abandoning IP address 10.0.100.122: pinged before offer
2026-01-31T15:00:49-05:00    Error    dhcpd     Abandoning IP address 10.0.100.121: pinged before offer
2026-01-31T14:57:16-05:00    Error    dhcpd     No pool found for IA_NA address 2607:f2c0:b16f:7d04::2000
2026-01-31T14:57:16-05:00    Error    dhcpd     No pool found for IA_NA address 2607:f2c0:b16f:7d01::2000
2026-01-31T14:25:15-05:00    Error    dhcpd     No pool found for IA_NA address 2607:f2c0:b041:d301::2000
2026-01-31T14:25:15-05:00    Error    dhcpd     No pool found for IA_NA address 2607:f2c0:b041:d304::2000


EDIT: I had to restart opnsense to get the DHCP server to work... Thanks to previous poster from a few days ago who found the same problem.

Can you check the upgrade log for me?

# opnsense-update -G


Cheers,
Franco

Hi!

I'm seeing the same issue when upgrading to 26.1_4.

I can try to grab the upgrade log, but that means I'll have to run the upgrade again. For now I restored my VM so everything works again.

This is what I did, upgrading from the latest 25.x:

  • Performed console upgrade to 26.1_4
  • After the upgrade no clients received IP addresses
  • The ics-dhcp service was missing from the GUI under Services
  • Regular clients didn't get an address, and static mappings were not handed out
  • Restarted
  • Uninstalled and reinstalled the plugin, GUI shows
  • Restarted again
  • Regular clients finally got addresses, but static mappings still didn't work
  • Reverted the VM because the family wasn't happy — devices with static assignments couldn't connect


I have a log for this and it's basically a rare but very annoying package manager bug:

Checking for upgrades (173 candidates): .......... done
Processing candidates (173 candidates): .......... done
Checking integrity... done (1 conflicting)
  - os-isc-dhcp-1.0_3 conflicts with opnsense-25.7.11_9 on /usr/local/etc/dhcpd.opnsense.d/README
Checking integrity... done (0 conflicting)
The following 173 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
dhcp6c: 20250513 -> 20260122
hostwatch: 1.0.6 -> 1.0.11
opnsense: 25.7.11_9 -> 26.1_4
opnsense-lang: 25.7.4 -> 26.1
opnsense-update: 25.7.11 -> 26.1
os-isc-dhcp: 0.1 -> 1.0_3

[...]

[172/173] Reinstalling isc-dhcp44-server-4.4.3P1_2...
===> Creating groups
Using existing group 'dhcpd'
===> Creating users
Using existing user 'dhcpd'
[172/173] Extracting isc-dhcp44-server-4.4.3P1_2: .......... done
pkg-static: Fail to rename /usr/local/share/licenses/isc-dhcp44-server-4.4.3P1_2/.pkgtemp.LICENSE.dGW2eYcbJP0T -> /usr/local/share/licenses/isc-dhcp44-server-4.4.3P1_2/LICENSE:No such file or directory

As you can see the package manager stops at 172 of 173 with an error that is not supposed to happen (ENOENT). This prevents the plugin from being updated (and in this case all the isc-dhcp package files to be installed. 173 would have been the plugin. You can witness this by package version number of the plugin still at 0.1 post-upgrade, but it should be 1.0.

I'll work on this, but it's really not our corner and not of immediate interest in FreeBSD it seems as this has been going on for years.


Cheers,
Franco

Quote from: iorx on Today at 08:18:32 AMRegular clients finally got addresses, but static mappings still didn't work

@franco if DHCP dynamic addresses worked, this means that ISC was running. But why would static mappings not work? Is this another bug that was introduced with 26.1?

This is rather important to me, because I am using ISC DHCP and a lot of static mappings as well.