Package upgrade or reinstall hangs indefintely on the console
Installing or upgrading FRR from the CLI hangs indefinitely when FRR is enabled and configured.
At some point during the reinstall process, the FRR daemons are (re)started in a way that is not fully executing in the background, and they leave the process stuck. Even if you ^C out of the installation, pkg remains running.
root 64045 0.0 0.9 14280 9428 0 S+ 13:07 0:00.06 | | `-- pkg upgrade -f pfSense-pkg-frr root 64180 2.9 0.9 26568 9056 0 S+ 13:07 0:01.08 | | `-- pkg upgrade -f pfSense-pkg-frr frr 83799 31.4 0.3 20256 3180 - Ss 13:07 0:00.02 | | |-- /usr/local/sbin/zebra -d -f /var/etc/frr/zebra.conf frr 84242 8.1 0.3 13376 2788 - Ss 13:07 0:00.02 | | |-- /usr/local/sbin/ospf6d -d -f /var/etc/frr/ospf6d.conf root 65596 7.9 0.0 0 0 0 Z+ 13:07 0:01.07 | | |-- <defunct> root 67545 7.1 0.0 0 0 0 Z+ 13:07 0:00.48 | | `-- <defunct>
Just had this issue while upgrading FFR package at one site, initialized from GUI. Open another Tab, go to Services -> FRR Global/Zebra and just hit save(what triggers another restart of all FRR daemons) and upgrade will finish immediately. All pkg related tasks will also finish clean, at least in this case. I did another update of FRR two days ago without any issues at all. This was also on 2.4.5_p1 pfSense-pkg-frr: 0.6.5 -> 0.6.5_1.
#5 Updated by Renato Botelho 6 months ago
- Project changed from pfSense Packages to pfSense
- Subject changed from FRR installation hangs indefintely on the console to Package upgrade or reinstall hangs indefintely on the console
- Category changed from FRR to Package System
- Assignee changed from Jim Pingle to Renato Botelho
- Target version set to 2.5.0
- Affected Version set to 2.4.5
It's a bug on pkg. I'm working on a fix
#13 Updated by Patrick Shaw 3 months ago
andreas vesalius wrote:
Still failing with 3.0.0_5 through 3.0.0_7 pfblocker with latest 2.5 and unbound 1.13 installed.
Confirmed here too. My pfBlocker is hosed during reinstall, can't seem to get it back, keeps hanging on reinstall, or uninstall. Package still present but gone from all menus and apparently inactive now.
EDIT: If I restart unbound, the process continues. It takes 2 restarts of unbound to complete the pfBlocker reinstall process.