public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [~amd64] Some possibly (?) helpful hints re the big gnome-3.8 update
Date: Tue, 30 Jul 2013 21:09:16 -0500	[thread overview]
Message-ID: <CADPrc83F8CMHik-ybtzV7ypg29GZCRkotYXkuD0xNiQ5m-pd7w@mail.gmail.com> (raw)
In-Reply-To: <87fvuva522.fsf@nyu.edu>

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áez Valdés 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="... 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= 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.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México


  reply	other threads:[~2013-07-31  2:09 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-27 21:43 [gentoo-user] [~amd64] Some possibly (?) helpful hints re the big gnome-3.8 update walt
2013-07-27 22:08 ` Canek Peláez Valdés
2013-07-27 22:56   ` [gentoo-user] " walt
2013-07-28  0:39     ` Walter Dnes
2013-07-28  1:00     ` Canek Peláez Valdés
2013-07-28  8:04     ` Canek Peláez Valdés
2013-07-28  8:07       ` Stefan G. Weichinger
2013-07-28 13:23         ` Michael Hampicke
2013-07-28 16:16           ` Canek Peláez Valdés
2013-07-29  7:45             ` Mick
2013-07-29  8:28             ` Mark Pariente
2013-07-29 17:03               ` Canek Peláez Valdés
2013-07-28 19:55       ` walt
2013-07-30  0:56 ` [gentoo-user] " gottlieb
2013-07-30  1:20   ` gottlieb
2013-07-30  5:14   ` Canek Peláez Valdés
2013-07-31  1:31     ` gottlieb
2013-07-31  2:09       ` Canek Peláez Valdés [this message]
2013-07-31 10:09         ` Graham Murray
2013-07-31 14:28           ` gottlieb
2013-07-31 15:27             ` Canek Peláez Valdés
2013-07-31 17:43               ` gottlieb
2013-07-31 17:54                 ` Canek Peláez Valdés
2013-07-31 19:25                 ` Neil Bothwick
2013-07-31 22:07                 ` gottlieb
2013-07-31 15:21           ` Canek Peláez Valdés

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=CADPrc83F8CMHik-ybtzV7ypg29GZCRkotYXkuD0xNiQ5m-pd7w@mail.gmail.com \
    --to=caneko@gmail.com \
    --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