Bug #8850
closedPackages that start on sync are started multiple times at boot
100%
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
Updated by Jim Pingle about 6 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset 5d4f49000654fae594144abc36fe8a588a028510.
Updated by Jim Pingle about 6 years ago
- % Done changed from 100 to 0
For an example of the change to make on packages, see https://github.com/pfsense/FreeBSD-ports/commit/aa78e490fe92d5640a742bbe77012a5ba626b084#diff-d8e79b0a6a99373429d526a362f5d787
Updated by Anonymous about 6 years ago
- Status changed from Feedback to Resolved
Tested with arpwatch installing fresh, configuring and multiple reboots
Updated by Jim Pingle about 6 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.
Updated by Jim Pingle about 6 years ago
- Status changed from 13 to Feedback
- % Done changed from 0 to 100
Applied in changeset 880107d21f5e69201ba810d553d948ca9009f70d.
Updated by Jim Pingle about 6 years ago
- Status changed from Feedback to Resolved