Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing with no systemd Help!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Gloom_Scythe
n00b
n00b


Joined: 01 Sep 2014
Posts: 12

PostPosted: Sat Dec 24, 2016 10:44 pm    Post subject: Installing with no systemd Help! Reply with quote

Hello,

So I installed gentoo with openrc but ran into some issues (deleting net.lo... nuked my network. I cant get enps01 to be eth0....) My plan was to use gentoo with the non-systemd cinnamon WM (https://wiki.gentoo.org/wiki/Cinnamon). I was somewhat successfully but have some questions.. When I installed eudev in place of udev... NetworkManager had some problems. I am going to re-install gentoo but this time use eudev instead of udev. I think every gentoo stage includes udev instead of eudev? I was wanting to know the correct way to install eudev during install and/or install gentoo devoid of systemd. Right now the install I have shows a wired ethernet interface as (enps01).... after uninstalling udev and installing eudev (I was under the impression that the device name would change to eth0 via https://wiki.gentoo.org/wiki/Eudev and https://wiki.gentoo.org/wiki/NetworkManager and the eudev doc)... I would like to install gentoo without systemd and would like to use cinnamon or mate (closest thing to the old gnome). I am going to do a new (amd64) install again and set up eudev and the pre-reqs for those WM's during the install phase. Any advice? I think the articles are great but dont give me what I need during install. please note i do a stage3-stage1 install like the old days. I am trying to rid anything systemd from the system. Any help you could provide or links to guides to do this would be great! I love portage!

Thank You
John-Bear.
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 113
Location: Scotland

PostPosted: Sun Dec 25, 2016 12:35 am    Post subject: Reply with quote

eudev is the default to my knowledge: https://forums.gentoo.org/viewtopic-p-7885794.html#7885794

My current install is around 6 months old and came with eudev as far as I can recall. My wired network interface is of the enp2s0 device naming scheme, udev shows up as virtual/udev with eudev as sys-fs/eudev. Perhaps get up and running with the new naming scheme and then revert to the old eth0 if you feel the need.....I kinda planned on it and then never bothered as it just works and I'm used to it now.

This was helpful in avoiding systemd:
https://forums.gentoo.org/viewtopic-p-7877020.html#7877020
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 435
Location: Australia

PostPosted: Sun Dec 25, 2016 7:06 am    Post subject: Re: Installing with no systemd Help! Reply with quote

Gloom_Scythe wrote:
Hello,

Right now the install I have shows a wired ethernet interface as (enps01).... after uninstalling udev and installing eudev (I was under the impression that the device name would change to eth0 via https://wiki.gentoo.org/wiki/Eudev and https://wiki.gentoo.org/wiki/NetworkManager and the eudev doc)...
Thank You
John-Bear.

Well the persistent device renaming issue in udev / eudev - is not systemd specific at all; if you want eth0 back the following worked for me,
Code:
ian@lw3 ~ $ cat /etc/udev/rules.d/80-net-name-slot.rules
# empty to revert udev to eth0 type behaviour
ian@lw3 ~ $ cat /etc/udev/rules.d/80-net-setup-link.rules
# empty to revert udev to eth0 type behaviour

others had to go the kernel commandline option as set out in the below news item:
Quote:
2014-02-25-udev-upgrade
Title Upgrade to >=sys-fs/udev-210
Author Samuli Suominen <ssuominen@gentoo.org>
Posted 2014-02-25
Revision 1

The options CONFIG_FHANDLE and CONFIG_NET are now required in the kernel.
You will be warned of them if they are missing while you upgrade to
>=sys-fs/udev-210 by the package manager.
See the package's README at /usr/share/doc/udev-210/ for more optional
kernel options.

The most reliable way of disabling the new network interface scheme is still
the kernel parameter "net.ifnames=0" since overriding the
80-net-name-slot.rules in /etc/udev/rules.d/ no longer works since upstream
renamed the file to /lib/udev/rules.d/80-net-setup-link.rules
The actual configuration is at /lib/systemd/network/99-default.link, which
you can override in /etc/systemd/network/
So, to clarify, you can override the new .rules file or the .link file in /etc
but using the kernel parameter is the most consistent way.

Since both the systemd-udevd executable and the network configuration is stored
at /lib/systemd, using a too wide INSTALL_MASK would be a mistake.

[1] https://wiki.gentoo.org/wiki/Udev/upgrade#udev_208_to_210
[2] http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames


On recent systems I just adopt the udev / eudev name and set up networking, it doesn't really matter what the device is called so I don't bother changing it. It was a shock initially after 10+ years of configuring eth0 when this came up a few years ago, though, and I still have a few older installs that run eth0 due to the panic and uncertainty that all my networking would break; the machine I shelled into to remember how I did this is one of the few remaining with that setup (which is a systemd/gnome desktop fwiiw) ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum