Project

General

Profile

Bug #10610

Package upgrade or reinstall hangs indefintely on the console

Added by Jim Pingle 11 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Package System
Target version:
Start date:
05/29/2020
Due date:
% Done:

0%

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

Description

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>

History

#1 Updated by Luki TJ 10 months ago

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.

#2 Updated by Stefan Beckers 10 months ago

Same issue here. I can reproduce this reliably (any of upgrade, reinstall or fresh install) and and pressing the "Save" button as described by Luki TJ saved my day. frr package version is 0.6.6 (dep.: frr7-7.3.1)

#3 Updated by Christian Borchert 8 months ago

Stefan Beckers wrote:

Same issue here. I can reproduce this reliably (any of upgrade, reinstall or fresh install) and and pressing the "Save" button as described by Luki TJ saved my day. frr package version is 0.6.6 (dep.: frr7-7.3.1)

ditto for 0.6.7_4

#4 Updated by Kris Phillips 7 months ago

Issue is also present with other packages, like squidGuard (but not squid).

Duplicate bug I opened, but am referencing here:
https://redmine.pfsense.org/issues/10867

#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

#6 Updated by Renato Botelho 6 months ago

  • Status changed from New to Feedback

pkg 1.15.6 should fix this problem. If it passes all tests we can apply it to 2.4.5 as well

#7 Updated by Renato Botelho 6 months ago

Renato Botelho wrote:

pkg 1.15.6 should fix this problem. If it passes all tests we can apply it to 2.4.5 as well

on factory it was built without the fix. 1.15.6_1 will for sure have it

#8 Updated by Renato Botelho 6 months ago

pkg-1.5.16 is the fixed version on 2.4.5

#9 Updated by Steve Beaver 6 months ago

  • Assignee changed from Renato Botelho to Jim Pingle

#10 Updated by Jim Pingle 6 months ago

  • Status changed from Feedback to Resolved

No problems on current version of pkg, on CE or factory, on 2.4.5-p1 or 2.5.0. Everything appears to be OK now.

#11 Updated by andreas vesalius 4 months ago

When update to pfblocker 3.0.0_2 through 3.0.0_4 on 2.5, it still take forever for the update to apply and then you have to manually start unbound after update complete. Not sure if this is the issue involved or not.

#12 Updated by andreas vesalius 4 months ago

Still failing with 3.0.0_5 through 3.0.0_7 pfblocker with latest 2.5 and unbound 1.13 installed.

#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.

Also available in: Atom PDF