On Tue, Jul 30, 2013 at 12:53 PM, <cov...@ccs.covici.com> wrote: > Canek Peláez Valdés <can...@gmail.com> wrote: > >> On Tue, Jul 30, 2013 at 2:47 AM, Pavel Volkov <negai...@gmail.com> wrote: >> > On Tue, Jul 30, 2013 at 11:09 AM, Pavel Volkov <negai...@gmail.com> wrote: >> >> >> >> On Sunday 28 July 2013 03:22:02 Canek Peláez Valdés wrote: >> >> > Therefore, as of today, anyone can have a Gentoo machine with only >> >> > systemd, with no OpenRC installed. >> >> >> >> Really? Bug 373219 is still open. >> > >> > >> > Sorry, I missed your explanation at the end about that one. Ok, thanks for >> > what you've done :) >> >> Mmmh, and I missed this last reply of you. >> >> Anyway, dealing with /etc/init.d/functions.sh is basically trivial. > > But still, we have lots of packages with no systemd units -- shouldn't > they all have a systemd use flag and units to go with it -- basically > anything which has something in /etc/init.d . I was looking for a > sendmail unit and could find nothing, for one example.
Yeah, we are not even near 100% coverage. However, one of the many advantages of systemd is that a service unit from a distribution usually works as-is or with minimal changes in any other. For many basic unit files, you can go to https://github.com/vonSchlotzkow/systemd-gentoo-units It has a unit file for postfix, for example. If the one you are looking for is not there, you can search in other distributions. If you download the RPM from http://rpm.pbone.net/index.php3/stat/4/idpl/21317874/dir/fedora_19/com/sendmail-8.14.7-1.fc19.i686.rpm.html, and extract the files with rpm2tarbz2, then you can get the sendmail.service file. It will probably need some changes to work with Gentoo, but it should not be difficult. When is working, you can send your unit to the package maintainer in Gentoo, and at some point it could be included in the package (like the OpenRC init script). That's how we will get 100% coverage, eventually. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México