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 B6DE21387FD for ; Sun, 8 Jun 2014 20:15:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BAFFE09EE; Sun, 8 Jun 2014 20:15:23 +0000 (UTC) Received: from mail-vc0-f194.google.com (mail-vc0-f194.google.com [209.85.220.194]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15AEFE09C8 for ; Sun, 8 Jun 2014 20:15:21 +0000 (UTC) Received: by mail-vc0-f194.google.com with SMTP id ij19so551266vcb.5 for ; Sun, 08 Jun 2014 13:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=eTKy3LJMqnUEgknpPB0742BJ+V+OnhuyS7/Y2Df7NGk=; b=XCew8quWSr2wgWQpoVGHcHzE2+P86RV21w6As2ZgJ6eNTRIuL649+f+gRjNUlvWNQO IJ8V9wtvgVVmS2xg7JOChcToqfoR/LsP3CjAP/r1U48OsXJTMm6R4TbO6oo4mq+3GFqG Tru6/9y7/uAKUGEJBXnFNeCeTTYDau+0m4e5hY+DEgQbrN/owR5bV0Z8P2co2TOYKjJH kJ9hvGI4yvZb4kPY1A6xoBl7h0t7iO/HNsdej9u2SWSlUxpdSkv9cG9BSV+0dPKlwy3/ XOeuc6QBAtMKmmrLThW1qwIZ9B7FSKqyRRxuxx4FSyMdGETd5MF4CpxzXp180mMfGheV WDjg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.58.74.201 with SMTP id w9mr40388vev.56.1402258521215; Sun, 08 Jun 2014 13:15:21 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.30.227 with HTTP; Sun, 8 Jun 2014 13:15:21 -0700 (PDT) In-Reply-To: <53949CBF.20801@libertytrek.org> References: <20140603161406.0400709b5f38540475ac4c1f@web.de> <6653474.aQqAYpAeto@wstn> <538DFC41.3080602@libertytrek.org> <538F0F5F.8020707@libertytrek.org> <20140604144714.13aa4834@digimed.co.uk> <53949CBF.20801@libertytrek.org> Date: Sun, 8 Jun 2014 16:15:21 -0400 X-Google-Sender-Auth: nLN7nMSj-SWt0cSus7tfDvJVUMs Message-ID: Subject: Re: Apologies - WAS: Re: [gentoo-user] Systemd upower From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: fd168a6a-900e-444c-8f3f-39a13fd7abab X-Archives-Hash: 035d0885aae4b3f126e9dd14ee512d54 On Sun, Jun 8, 2014 at 1:26 PM, Tanstaafl wrote: > > First question: is there a decent guide to installing a gentoo system from > scratch using systemd as the init system? I've done this a few times on VMs. Just follow the handbook, but skip steps about configuring hostname/timezone/locale/etc since systemd does this (but do set up locale.gen). Then follow the systemd install guide. If you follow both guides to completion you won't hurt anything, but you'll just end up configuring some things twice (but systemd does migrate some of your settings over). > > Second question: is there a decent guide to how to switch from OpenRC to > systemd? Yes, the systemd wiki page is the best place to go for this. It is pretty straightfoward. The only thing I'd do differently is just use networkd. The guide doesn't include that yet. cat > /etc/systemd/network/dhcp.network [Match] Name=en* [Network] DHCP=yes --- end file --- (as long as you keep the extension you can call that file whatever you want, and if your interface doesn't match that glob you can tweak it) Also, if you have any network filesystems be sure to set the _netdev option in fstab. > > Third question: is there a decent guide on how to switch from systemd back > to OpenRC, if I encounter any serious problems on a production box? For the most part you can just change the init setting on your kernel line to switch back and forth. You'll end up using udev packaged with systemd, but for the most part that shouldn't cause too many problems. Oh, if you're using dracut there is a chance it won't realize you aren't running systemd in your kernel and that could cause some issues (I was getting some of that before I intended to cut over to systemd in my last migration, but I didn't mess with it for long). Just keep in mind that immediately following the migration you won't have any services enabled. That means no network, no sshd, etc. Starting that stuff up is pretty easy, but it is just like having a fresh OpenRC install. Rich