Project

General

Profile

Actions

Bug #8850

closed

Packages that start on sync are started multiple times at boot

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

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

100%

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

Description

When /etc/rc.start_packages is run, for example at boot time, it performs a package sync with sync_package() and then its service is started with start_service(). The problem is that packages may already start the service on their own during their sync_package() call, thus leading to multiple starts unintentionally.

Related to #8620

Actions #1

Updated by Jim Pingle over 3 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Jim Pingle over 3 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Jim Pingle over 3 years ago

  • % Done changed from 100 to 0
Actions #4

Updated by Anonymous over 3 years ago

  • Status changed from Feedback to Resolved

Tested with arpwatch installing fresh, configuring and multiple reboots

Actions #5

Updated by Jim Pingle over 3 years ago

  • Status changed from Resolved to 13

Looks like one line of the fix didn't make it into the final commit. Will push a correction momentarily after re-testing.

Actions #6

Updated by Jim Pingle over 3 years ago

  • Status changed from 13 to Feedback
  • % Done changed from 0 to 100
Actions #7

Updated by Jim Pingle over 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF