Limiting the power of package installation in Debian
Limiting the power of package installation in Debian
Posted Nov 9, 2018 16:06 UTC (Fri) by jccleaver (guest, #127418)In reply to: Limiting the power of package installation in Debian by nilsmeyer
Parent article: Limiting the power of package installation in Debian
FWIW, this has been the policy in RedHat/Fedora forever. See https://fedoraproject.org/wiki/EPEL:SysVInitScripts#Why_d.......
Thanks to systemd making all sorts of scheisse technically a "service", there's a lot more that begins there, but even still an auto-starting-on-boot service needs to meet certain qualifications: https://fedoraproject.org/wiki/Packaging:DefaultServices
Either way, a service should *NEVER* be explicitly started up in a %post-RPM script, since you can't guarantee the situation you're installing in. For daemons, the most you do is a '/sbin/service <daemon> condrestart', which restarts it IFF it's already running.