Project

General

Profile

Actions

Bug #9045

closed

Race condition in package reinstall/startup after restore can lead to no packages restored

Added by Jim Pingle over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Package System
Target version:
Start date:
10/16/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All

Description

rc.bootup triggers a rc.package_reinstall_all in the background with a delay, to reinstall all packages in the config.

rc.start_packages comes along and then tries to start all packages shortly after the background reinstall is triggered.

When rc.start_packages tries to sync each package, it sees that the package is not properly installed and thus removes its package XML from the configuration.

Then the package reinstall has nothing to do, because by the time it starts up, the package list in the config is empty since they were all wiped out.

Actions #1

Updated by Jim Pingle over 5 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Renato Botelho over 5 years ago

  • Status changed from Feedback to Resolved

Works

Actions

Also available in: Atom PDF