Project

General

Profile

Actions

Bug #10610

closed

Package upgrade or reinstall hangs indefintely on the console

Added by Jim Pingle over 4 years ago. Updated almost 4 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5
Affected Architecture:

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>
Actions #1

Updated by Luki TJ over 4 years 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.

Actions #2

Updated by Stefan Beckers over 4 years 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)

Actions #3

Updated by Christian Borchert about 4 years 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

Actions #4

Updated by Kris Phillips about 4 years 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

Actions #5

Updated by Renato Botelho about 4 years 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

Actions #6

Updated by Renato Botelho about 4 years 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

Actions #7

Updated by Renato Botelho about 4 years 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

Actions #8

Updated by Renato Botelho about 4 years ago

pkg-1.5.16 is the fixed version on 2.4.5

Actions #9

Updated by Anonymous almost 4 years ago

  • Assignee changed from Renato Botelho to Jim Pingle
Actions #10

Updated by Jim Pingle almost 4 years 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.

Actions #11

Updated by andreas vesalius almost 4 years 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.

Actions #12

Updated by andreas vesalius almost 4 years ago

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

Actions #13

Updated by Patrick Shaw almost 4 years 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.

Actions

Also available in: Atom PDF