From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: Apologies - WAS: Re: [gentoo-user] Systemd upower
Date: Sun, 8 Jun 2014 16:15:21 -0400 [thread overview]
Message-ID: <CAGfcS_kz01+PGqW=DNunM7a1aN4RU1tz+jYo-1KaQLfDFOdQbg@mail.gmail.com> (raw)
In-Reply-To: <53949CBF.20801@libertytrek.org>
On Sun, Jun 8, 2014 at 1:26 PM, Tanstaafl <tanstaafl@libertytrek.org> 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
next prev parent reply other threads:[~2014-06-08 20:15 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-03 14:14 [gentoo-user] Systemd upower Silvio Siefke
2014-06-03 14:29 ` Canek Peláez Valdés
2014-06-03 14:52 ` Peter Humphrey
2014-06-03 15:10 ` Canek Peláez Valdés
2014-06-03 15:14 ` Samuli Suominen
2014-06-03 15:39 ` [gentoo-user] " »Q«
2014-06-04 8:33 ` Peter Humphrey
2014-06-04 1:27 ` [gentoo-user] " Greg Woodbury
2014-06-03 16:48 ` Tanstaafl
2014-06-03 17:08 ` Canek Peláez Valdés
2014-06-03 20:14 ` Alan McKinnon
2014-06-03 21:01 ` Marc Stürmer
2014-06-03 21:40 ` Alan McKinnon
2014-06-03 21:59 ` Canek Peláez Valdés
2014-06-03 22:06 ` Alon Bar-Lev
2014-06-03 23:04 ` Alan McKinnon
2014-06-03 23:13 ` Canek Peláez Valdés
2014-06-03 23:24 ` Jim Burwell
2014-06-04 0:58 ` Dutch Ingraham
2014-06-04 1:08 ` Canek Peláez Valdés
2014-06-04 1:48 ` Dutch Ingraham
2014-06-04 1:57 ` Michael Cook
2014-06-04 2:17 ` Dutch Ingraham
2014-06-04 4:05 ` Samuli Suominen
2014-06-04 11:22 ` Daniel Troeder
2014-06-04 12:15 ` Daniel Troeder
2014-06-04 12:49 ` Samuli Suominen
2014-06-04 17:11 ` Dutch Ingraham
2014-06-04 19:17 ` Samuli Suominen
2014-06-04 23:15 ` Dutch Ingraham
2014-06-04 23:25 ` Alon Bar-Lev
2014-06-05 0:07 ` Samuli Suominen
2014-06-05 0:22 ` Alon Bar-Lev
2014-06-05 0:46 ` Samuli Suominen
2014-06-05 0:51 ` Rich Freeman
2014-06-04 23:27 ` Neil Bothwick
2014-06-05 9:47 ` Tom Wijsman
2014-06-05 0:02 ` Samuli Suominen
2014-06-05 11:39 ` Dutch Ingraham
2014-06-05 12:00 ` Samuli Suominen
2014-06-05 12:17 ` Dutch Ingraham
2014-06-05 12:18 ` Samuli Suominen
2014-06-05 14:11 ` Dutch Ingraham
2014-06-05 9:40 ` Tom Wijsman
2014-06-05 12:11 ` Dutch Ingraham
2014-06-05 12:31 ` Tom Wijsman
2014-06-05 14:15 ` Dutch Ingraham
2014-06-05 15:40 ` Tom Wijsman
2014-06-05 22:28 ` Dutch Ingraham
2014-06-05 15:42 ` Mick
2014-06-04 12:24 ` Tom Wijsman
2014-06-04 2:07 ` Canek Peláez Valdés
2014-06-04 3:13 ` Samuli Suominen
2014-06-04 0:14 ` Tom Wijsman
2014-06-03 22:59 ` Neil Bothwick
2014-06-03 23:07 ` Alan McKinnon
2014-06-03 23:15 ` Canek Peláez Valdés
2014-06-04 1:37 ` Greg Woodbury
2014-06-04 2:05 ` Canek Peláez Valdés
2014-06-04 10:28 ` Greg Woodbury
2014-06-04 15:11 ` Canek Peláez Valdés
2014-06-05 6:34 ` Greg Woodbury
2014-06-05 10:36 ` Tom Wijsman
2014-06-05 11:11 ` Rich Freeman
2014-06-05 11:23 ` Samuli Suominen
2014-06-04 12:21 ` Tanstaafl
2014-06-04 12:57 ` Samuli Suominen
2014-06-04 12:58 ` Rich Freeman
2014-06-04 13:08 ` Samuli Suominen
2014-06-04 18:28 ` Marc Joliet
2014-06-04 18:45 ` Peter Humphrey
2014-06-04 13:47 ` Neil Bothwick
2014-06-04 13:47 ` Samuli Suominen
2014-06-08 17:26 ` Apologies - WAS: " Tanstaafl
2014-06-08 20:15 ` Rich Freeman [this message]
2014-06-04 15:51 ` Canek Peláez Valdés
2014-06-03 20:06 ` Alan McKinnon
2014-06-04 22:14 ` [gentoo-user] " »Q«
2014-06-04 22:27 ` Samuli Suominen
2014-06-05 5:23 ` Mick
2014-06-05 7:25 ` Samuli Suominen
2014-06-05 9:03 ` Mick
2014-06-05 9:08 ` Samuli Suominen
2014-06-05 10:15 ` Mick
2014-06-05 10:47 ` Tom Wijsman
2014-06-05 11:26 ` Samuli Suominen
2014-06-05 12:58 ` Mick
2014-06-05 23:15 ` Peter Humphrey
2014-06-06 5:46 ` Mick
2014-06-06 11:18 ` Rich Freeman
2014-06-06 19:13 ` Mick
2014-06-06 19:31 ` Rich Freeman
2014-06-03 15:11 ` [gentoo-user] " Silvio Siefke
2014-06-09 15:34 ` Alan Mackenzie
2014-06-09 16:18 ` Rick "Zero_Chaos" Farina
2014-06-09 18:43 ` Alan Mackenzie
2014-06-10 20:01 ` Tom Wijsman
2014-06-09 16:21 ` Alexander Kapshuk
2014-06-03 16:28 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGfcS_kz01+PGqW=DNunM7a1aN4RU1tz+jYo-1KaQLfDFOdQbg@mail.gmail.com' \
--to=rich0@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox