[Pkg-sysvinit-devel] Bug#807311: init-d-script: do_reload_sigusr1 sends sighup, not sigusr1

2016-12-20 Thread Robbie Harwood
Petter Reinholdtsen writes: > Renaming the function will break anyone doing the 'alias' trick, so any > changes should be done in a backwards compatible way, I believe. > > Patches welcome. :) The approach I was suggesting would look like this: + Enable this using + RELOAD_SIGNAL=1 # or other s

[Pkg-sysvinit-devel] Bug#807311: init-d-script: do_reload_sigusr1 sends sighup, not sigusr1

2016-12-20 Thread Petter Reinholdtsen
[Robbie Harwood] > As per this bug's original filing: do_reload_sigusr1() calls SIGHUP, > not SIGUSR1. Ah, right. I missed that '--signal 1' ment 'SIGHUB'. No idea why it is so, given the function name. And I wrote the code, many years ago, but do not know if it changed in the mean time. :) Re

[Pkg-sysvinit-devel] Bug#807311: init-d-script: do_reload_sigusr1 sends sighup, not sigusr1

2016-12-20 Thread Robbie Harwood
Petter Reinholdtsen writes: > [Robbie Harwood] >> It's pretty common for SIGHUP to reload config as well as SIGUSR1. >> >> So, my suggestion would be define a new way of doing this, file bugs >> with patches against anyone using do_reload_sigusr1, and then remove >> do_reload_sigusr1. >> >> One w