Package: bcron
Version: 0.11-8
Severity: important

Dear Maintainer,

The bcron package provides both init.d scripts and runit services.
When installing it in a system where runsvdir is running (for instance
via runit-init or runit-sysv), then the daemons are started by both
runsvdir and by update-rc.d:

$ pstree
bash-+-daemon---bcron-update
     |-daemon---bcron-sched---bcron-exec
     |-daemon---unixserver
     |-pstree
     `-runsvdir-+-runsv-+-bcron-update
                |       `-svlogd
                |-runsv-+-svlogd
                |       `-unixserver
                `-runsv-+-bcron-sched---bcron-exec
                        `-svlogd

This issue is most likely present in all packages that ship both
init.d scripts and runit services, I aritrarily picked bcron to report
the bug, please feel free to re-assign.

I suspect that a fix could be implemented in invoke-rc.d by making it
aware of runsvdir, similarly to how it is already aware of systemd and
openrc?


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages bcron depends on:
pn  libbg2          <none>
ii  libc6           2.28-8
ii  runit-helper    2.8.6
ii  sysuser-helper  1.3.3
pn  ucspi-unix      <none>

Versions of packages bcron recommends:
ii  daemon                             0.6.4-1+b2
ii  nullmailer [mail-transport-agent]  1:2.2-3
ii  runit                              2.1.2-25

Versions of packages bcron suggests:
ii  anacron     2.3-27
ii  runit-init  2.1.2-25

Reply via email to