From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-149120-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 81C0D1381F3
	for <garchives@archives.gentoo.org>; Wed, 31 Jul 2013 02:09:25 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DE79AE09B7;
	Wed, 31 Jul 2013 02:09:19 +0000 (UTC)
Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A89B8E08CA
	for <gentoo-user@lists.gentoo.org>; Wed, 31 Jul 2013 02:09:18 +0000 (UTC)
Received: by mail-la0-f50.google.com with SMTP id fn20so91978lab.9
        for <gentoo-user@lists.gentoo.org>; Tue, 30 Jul 2013 19:09:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=M7rSwEy/93kF6zSwzml124vH/5jsD7G5i+ipLwwP9Sc=;
        b=g9mBLCSF90azMNt6vVvV6djpXnIie+munSxRjLAnmx1IHJof56mhOCiCnJ43fiy3Fr
         vT+BdbpWvZ/5C7L8sndEQp7liZqUyrG8q9J5Sw1jpVLGy8muY7fL7mWfTFm7OHVk9/Pj
         GPmbAdtSJh/u3Ov0+AlXpIsv2imIddtsICnIz+8TE4tGuQ29CdAgFsknniT4IJPW4twJ
         bc27N2QYMojiodOmHbeB+CknSLuL54oEEu74votrxEih7B9r7KPSRpEPsZfiKBi9XpvS
         nqQZ1dUFrpw2F1V8KnZI+BIz6mGDAw8zja5t23defIqAg4dA+CMc2cKsfTZ4/HKdyLtz
         3DbQ==
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
X-Received: by 10.152.26.40 with SMTP id i8mr30317163lag.22.1375236556890;
 Tue, 30 Jul 2013 19:09:16 -0700 (PDT)
Received: by 10.114.96.2 with HTTP; Tue, 30 Jul 2013 19:09:16 -0700 (PDT)
In-Reply-To: <87fvuva522.fsf@nyu.edu>
References: <kt1eum$rf4$1@ger.gmane.org>
	<87d2q050ht.fsf@nyu.edu>
	<CADPrc818noEg_x8vOTQDTEdDsHQCYUjp0dg8MrB+bt8ATcdd2A@mail.gmail.com>
	<87fvuva522.fsf@nyu.edu>
Date: Tue, 30 Jul 2013 21:09:16 -0500
Message-ID: <CADPrc83F8CMHik-ybtzV7ypg29GZCRkotYXkuD0xNiQ5m-pd7w@mail.gmail.com>
Subject: Re: [gentoo-user] [~amd64] Some possibly (?) helpful hints re the big
 gnome-3.8 update
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: a618105d-87ae-4559-aee0-2aba8ad00396
X-Archives-Hash: 0c3bdae82b76ae1a07825d43dd40b0f5

On Tue, Jul 30, 2013 at 8:31 PM,  <gottlieb@nyu.edu> wrote:
> First and foremost, thank you Canek.
>
> On Tue, Jul 30 2013, Canek Pel=C3=A1ez Vald=C3=A9s wrote:
>
>> On Mon, Jul 29, 2013 at 7:56 PM,  <gottlieb@nyu.edu> wrote:
>>
>>> I am a gnome-3 user, who wants to continue with gnome-3.
>>> [ I described my current state--beginning of wiki ]
>>
>> Sounds reasonable.
>>
>>> [ I asked about /etc/mtab and /proc/self/mounts
>>
>> If you switch to systemd, you will need to make /etc/mtab a symlink to
>> /proc/self/mounts.
>
> Done.
>
>>> After that comes the big one
>>>
>>> emerge systemd
>>> USE=3D"... systemd ..."
>>> emerge --newuse ...  [ a change from previous msg ]
>>> /etc/init.d/udev restart
>>>
>>> Can the system be rebooted at this point (I realize init will still not
>>> use systemd) or must the entire conversion (including changing init) be
>>> completed before the system is bootable?  I am hoping it is the former.
>>
>> If you reboot [now], I don't believe there is any chance your system
>> will boot up correctly.
>
> I see.
>
>> /etc/init.d/udev is installed by sys-fs/udev; sys-apps/systemd doesn't
>> provide anything similar.
>
> I don't understand.  *After* installing systemd (and setting the USE and
> executing the emerge --newuse ...), the wiki tells you to
>    /etc/init.d/udev restart
> Emerging systemd unmerges udev so how can I do the restart?

The wiki is wrong. The script /etc/init.d/udev is part of sys-fs/udev,
which you need to uninstall before installing systemd. Perhaps it's
CONFIG_PROTECT'd, but anyway sys-fs/udev and sys-apps/systemd install
the udev binary in different directories, so the script is basically
useless after the switch.

>> I recommend installing everything necessary (and uninstalling
>> everything that is not) before trying the reboot.
>
> How far do I have to get in the wiki?  I am hoping to do smaller chunks
> so that if I have to back out a step (using a bootable CD) to restore
> "bootability" to the system, it won't take too long.

I thing you should do it all in one big step. sys-fs/udev and
sys-apps/systemd conflict each other pretty badly, and the latter
changes the init program; also, several programs can work with OpenRC,
or systemd, but not both.

Doing it in "smaller chunks" seems to me a great recipe to making your
system unbootable.

> In particular do I have to switch init to /usr/lib/systemd/systemd
> before I can boot.

Yeah, I believe you have to.

> I know you have had systemd installed for a long time.  Did you always
> have the init=3D line or were you for a while running openrc with systemd
> installed?

No, I did the switch and almost immediately started to work in the
gentoo-systemd-only overlay[1], which I just deprecated. At the very
beggining having OpenRC could wreck the whole boot, since some stuff
(barely documented at the time) called scripts in /etc/init.d
seemingly at random, and at the time OpenRC scripts didn't even
consider that the machine was not being booted with OpenRC.

I do have an old server *running* with systemd and with OpenRC still
installed; it's my last machine waiting to switch to the new
service-manager virtual.

>> Also, I would do the whole shebang in a one step, removing all the
>> masked packages you did. You can try to boot to multi-user.target
>> instead of graphical.target, if you want to test that systemd works
>> correctly independently of GNOME.
>
> I am not so worried about gnome coming up.  If the system boots and I
> can get the 6 text terminals, I can survive for quite a while with emacs
> and gnus.

GNUS? Damn, that brings back some memories. I stopped using it for
reading email in 2002 or 2003, when Evolution become mature enough.

If you are comfortable with only a console, do the switch from a VT. A
lot of stuff will stopping working *during* the transition, and will
not become functional again until you reboot.

Regards.
--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico