Created attachment 849533 [details, diff] Add sys-process/runit and sys-apps/s6 dependencies sys-process/runit and sys-apps/s6 are supervision suites just like daemontools and as such can be used for the same purpose. Hence they should provide virtual/daemontools, ie. virtual/daemontools should depend on them. The attached patch should fix this, feel free to edit it as needed.
This patch is incorrect in my opinion, because sys-process/runit and sys-apps/s6 are not providing utilities expected by some reverse dependencies of virtual/deamontools. For example mail-mta/netqmail requires multilog utility. Well sys-apps/s6 provides s6-log and sys-process/runit provides svlogd with similar functionality but the name is different which is important. Btw, it seems that runit does not overlap with daemontools as much as s6.
I’m glad you mention mail-mta/netqmail because this is the reason I’ve proposed this patch: I want to install netqmail and have it supervised using s6. Hence I don’t need daemontools at all. But mail-mta/netqmail depends on virtual/daemontools, which is not provided by sys-apps/s6. Strictly speaking netqmail (the software) doesn’t require multilog at all. I guess by that you mean that the service files provided by gentoo (or even maybe upstream, as qmail developer is also daemontools developer) for netqmail use multilog, but that’s no requirement. We could as well use s6-log (from s6) or svlogd (from runit) which as you point out provide similar functionality. Another patch I could propose is getting rid of mail-mta/netqmail dependency on virtual/daemontools, and let users decide which supervision suite they wish to use to supervise netqmail, but that would hide the fact that mail-mta/netqmail requires a supervision suite to be usable so I’m not in favor of this. I don’t know about runit not overlapping with daemontools as much as s6, as I’m a s6 user. I know these three software are supervision suites, and figured virtual/daemontools was meant to ensure such a suite was installed.
Yes, I meant run scripts provided by Gentoo. They are part of the mail-mta/netqmail package and they should work out of the box for users, which will not be true with missing utilities. I am not sure about getting rid of virtual/daemontools from mail-mta/netqmail either because it will make installation and configuration more complicated (CCing maintainer). Well, I am also s6 user, I never used runit, the not-overlapping was just my impression from the list of installed programs and man pages. Anyway, there are 8 reverse dependencies of virtual/daemontools [1] which will be affected in similar fashion. I expect this virtual was created because sys-process/daemontools-encore provides same utilities as sys-process/daemontools with only few enhancements but they are backward compatible, which is not true for sys-apps/s6. [1] http://packages.gentoo.org/packages/virtual/daemontools/reverse-dependencies