mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Some complicated service dependencies will fail to configure under normal circumstances because invoke-rc.d will kill service start based on policy-rc.d but this is not taken into account when configuring services that are dependent on that service. The dependency check fails prior to the policy-rc.d check and as a result some packages will remain unconfigured after we have finished constructing the root filesystem. This is ok for most cases but precludes dynamic modification of that filesystem post-creation and will even cause those unconfigured services to be restarted the first time a new package is installed. Checking policy-rc.d first in the postinst script allows the configuration step to complete for all services and their dependents to fix these problems.