From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4ED9B1381F3 for ; Thu, 20 Jun 2013 10:17:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2843EE0A6D; Thu, 20 Jun 2013 10:17:19 +0000 (UTC) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10B13E09C2 for ; Thu, 20 Jun 2013 10:17:17 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id f11so5360485wgh.27 for ; Thu, 20 Jun 2013 03:17:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :x-gm-message-state; bh=XwIeD09//+RLLyTy6Zbl4sh/hiwLMmXE3FEmjEqOPXw=; b=eUEz3NmfEJ9LiUWpShiUmYXzHu4E23CjCWgRWoH1N6ph0yGlmu3LjRMazhBeaaLYht Qhcvwx0D1+60VBr0WAvg3E0qvIR6rlChHdgl+5WUuICqfuUTp7GUjpUlUIyOj/pS4BlB pcWAIhreEbvsbuuoSNVemjQSGx0AOtbBQFcFmBfvwFwGxeEEE+Mjun3IIyLcHMFw+zu6 llTxDvDumPuBbPtQ7kVTGPMFesTkYLYKqtw/ZsbJDTaTzKhDGnvd4plDlK40H947BWR2 GP6040cSa3C2YS0uAJkgbwDH9S6VeX7hZcy/n9JtKPyzeHVBKBMM8EsJxeoVtdi8QYNC yrIQ== X-Received: by 10.180.107.35 with SMTP id gz3mr4984331wib.0.1371723436695; Thu, 20 Jun 2013 03:17:16 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Sender: lxnay@sabayonlinux.org Received: by 10.194.23.10 with HTTP; Thu, 20 Jun 2013 03:16:36 -0700 (PDT) In-Reply-To: <51A08A68.3020900@gentoo.org> References: <51A08A68.3020900@gentoo.org> From: Fabio Erculiani Date: Thu, 20 Jun 2013 12:16:36 +0200 X-Google-Sender-Auth: m0cdRXxfY9jgzj_LgaN9Ou74IRo Message-ID: Subject: Re: [gentoo-dev] eselect init To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmOJBt0d5mS7cisrssLOosk7S10VkqNTZDUI48jN6fQKdNEK29GGrU4nQLQCsCQEE2JzA3n X-Archives-Salt: 8849c587-d992-460b-b6c6-1a9f1527d591 X-Archives-Hash: c960e33372c6d8b43dcb4b4588fda86f There is a new version of eselect-init in the systemd-love overlay to play with. The new version saw the following major changes: - the /sbin/init (aka the symlink that eselect-init handles) can be changed to whatever one wants through make.conf [1] (this is a compile time option, as documented in the eclass) - only init is currently handled by eselect-init, which is now using a very small wrapper POSIX shell script to redirect the calls to the currently running init [2] - the wrapper and its code paths are now documented in the eselect-init eclass [2] [3] You need systemd and sysvinit from the same overlay for it to work. If you intend to use switch between systemd to openrc (and vice versa), make sure to install the rest of the packages in that overlay. At the moment, if you want to switch, you also need to use eselect-settingsd. However, I am planning to drop eselect-settingsd: openrc-settingsd and systemd share the same settingsd dbus interface while they call different executables, systemd initializes its dbus services without relying on dbus activation, so the Exec= part of the service descriptor file is currently set to /bin/false, this rings a bell :D, because it is possible to replace /bin/false with a script that starts the respective services when dbus activation is used (which means that systemd hasn't booted the system). This would make possible to remove the blocker dependency in openrc-settingsd and systemd somehow. [1] https://github.com/Sabayon/systemd-love/commit/ced29311348a81a2573b030b1316f1c3a0335c5b [2] https://github.com/Sabayon/systemd-love/commit/9eea3ff713c8fa0391e7b1bfa494d533dc21c0be [3] https://github.com/Sabayon/systemd-love/blob/master/eclass/eselect-init.eclass -- Fabio Erculiani