Resolved: dhcpleases6: not found
-
I am getting this constant error message:
Oct 19 16:59:58 php-fpm 399 /rc.newwanipv6: The command '/usr/local/sbin/dhcpleases6 -c "/usr/local/bin/php-cgi -f /usr/local/sbin/prefixes.php" -l /var/dhcpd/var/db/dhcpd6.leases' returned exit code '127', the output was 'sh: /usr/local/sbin/dhcpleases6: not found'
It is correct in that there is no file or directory of that name under
/usr/local/sbin/
.What gives?
๏ธ
[edit: I should add that I don't get the error on a reboot, only if the WAN connection was lost or reset]
-
Is that on 23.09? Or 23.05.1/2.7.0?
If you have 23.05.1 or 2.7.0 and installed the system patches package and applied all the recommended patches, you might have missed the note on one saying you need to run
pkg install dhcpleases6
. One of the patches fixed an issue with prefix delegation but that binary has to be added back manually.If it's on 23.09 that should already be present, and if it's not, there may be some other dependency issue happening.
-
This is on my 23.05.1 machine with all packages installed. Not had a chance to test it on 23.09d yet.
I'll re-run the
pkg install dhcpleases6
, just to be sure, but this bug seems more limited in scope than the original. It may be linked or due to the pppoe / ipv6 / interface crashing issue, effectively making it very limited in scope.๏ธ
-
@jimp
Well what do you know:[23.05.1-RELEASE]/root: pkg install dhcpleases6 Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: dhcpleases6: 0.1_3 [pfSense] Number of packages to be installed: 1 10 KiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching dhcpleases6-0.1_3.pkg: 100% 10 KiB 9.8kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing dhcpleases6-0.1_3... [1/1] Extracting dhcpleases6-0.1_3: 100% [23.05.1-RELEASE]/root:
If I am interpreting that correctly the package was not present. Not sure how I lost it on the journey between devices, snapshots, firmware loads and kernel dumps!
Thanks for the prompt.
๏ธ
-
It was (unintentionally) not installed by default on 23.05.1/2.7.0, and references to it had also been removed prematurely.
One of the recommended system patches adds back code that references that program, but the patch can't reinstall it binary.
-
That makes sense as this machine was taken back to a virgin 23.05.1 state and the patches were applied en-masse.
๏ธ