Hi Hendrik and Kalle, Arguably current parsing is not broken, just unusual and undocumented.
@Kalle: Changing parsing without touching the /etc/default/kannel file has the risk of breaking existing installs: Some may have set it to "true" or "yo! mama..." or even "0" and relying on that working. Also, it was in the past pointed out to me (for a different package, not sure which...) that suppression of daemons via /etc/default/* is an antipattern - the more correct way is for the sysadmin to interact with the init script infrastructure instead. I must admin I am not really familiar with doing that (being a sysadmin for 15 years but commonly just throw an "exit 0" in the init script itself when needed) - it seems the proper command for diabling is "update-rc.d $service disable". Better approach would therefore be, IMO, to a) provide separate init scripts for each daemon and b) have /etc/default/kannel only include a comment on how to disable/enable services (and then drop that no-op file after next stable Debian release). Anyone have pointers to the correct way to enable/disable init scripts? Both for sysadmins (for documentation) and for packages (so as to disable parts by default), and in a way supported both by systemd and other init systems. Might make sense to then split into multiple binary packages, one for each daemon, but that could be done as a separate step later. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature