net_service() in rc-services.sh always returns 0 instead of returning 1 when a service isn't a service controlling a network interface. This results in services that don't depend on LOGGER_SERVICE being shutdown before LOGGER_SERVICE during a reboot/shutdown even though they don't have to. Reproducible: Always Steps to Reproduce: 1. reboot or shutdown the system Actual Results: clamd, famd, and portmap are shutdown before syslog-ng Expected Results: Since these services don't depend on logger, syslog-ng should have shutdown before clamd, famd, and portmap I have tested this with sys-apps/baselayout-1.9.4-r6 and sys-apps/baselayout-1.11.9-r1 and both have the problem
net_service() now returns 1 correctly for non-net services. You have another bug open for correct shutdown/reboot order so I'll address that issue there. Will be in baselayout-1.11.10
Which has been out for ages - bug closed!
(forgot to mark fixed - silly me)