Gentoo issues.... binaries and init systems

It’s almost the same. It will choose binary if the USE flags are met and build the package if not.

If you like to check, just download the cow2 img (sorry, only SystemD) and try it in VM:

The easiest Gentoo install ever​:grin: that’s how I made my LFS in VM, I installed Gentoo VM and build LFS there (and the laptop I made this work is using Gentoo as OS).

Does that mean I cant have binary with OpenRC?
That is a show stopper.

No. binary packages can be added to OpenRC !! Slackware now, beats Gentoo when it comes to binary packages, and is a true init system!!

If one has a decent PC, I feel no need in using binary packages for Gentoo!!

The kernel is independent of which init system, so I can use a binary kernel.
I should get an OpenRC stage3 tarball… and compile it
Then add what I want either as binaries or or source.

but I cant follow @ihasama and use a qcow2 file … it will be systemd.

Slackware is looking interesting.

I see, so I should move it to my main PC , maybe in a VM. I might use it more there.
Just thinking, what might I do after antiX . Maybe compile NetBSD.

The qcow is available only for SystemD. It’s the easiest way to try Gentoo in a vm. Of course there’s a way to change from SystemD to OpenRC…

Binaries are available for both inits.

this is off topic already but I started testing how to change the init in my gentoo vm. I chrooted into gentoo then eselect profile set # (chose desktop without systemd), then edited make.conf -systemd. Then ran emerge -avuND –with-bdeps=y @worldworld. It gave error for tiff (needed to edit package.use for it) and now its running full world rebuild. Don’t know if this will work but its just an vm..

edit: it didn’t work. There’s blocked packages, many packages require systemd. Need to think :smiley:

I changed OpenRC to runit once in my Gentoo hard install … followed the Gentoo instructions… it worked … then I changed it back to OpenRC … it was just an experiment.
Starting from systemd is a lot more difficult.
I think I would use the -systemd USE flag first, and let portage figure out how to get rid of systemd, then install some other init before you boot.

If you study antiX , you can see how to have more than one init system installed and to be able to switch between them. … That would be interesting in Gentoo..
MX also now has both systemd and sysvinit installed and allows switching between them.
The init world is evolving.

I don’t mind if my vm wont boot so I did a “bad” thing: emerge -C systemd and after that use=”-systemd elogind” emerge -uND @world
Now it is updating 180 packages.

Should we move this to somewhere else because we are way off topic here?

Yeah, thanks. I moved all the Gentoo replies

So maybe, we should have a discussion, on why we lean, to the far left, when it comes to Linux!!

Why do I use Gentoo, or Slackware or even LFS ?

Thanks! I got the init switch almost ready. It boots and starts OpenRC now but login is a bit of an issue. Maybe there’s still some SystemD stuff and it mess with login. I’ll chroot later to the Gentoo and try to fix it. Anyways OpenRC is starting and powering off nicely

Not sure it is left, but yeah. … here is my take.
It is really people who like to dig inside things and learn how they work. Scientific if you like, or at least technical.
For example, I have discovered that @4dandl4 is into repairing mechanical things, like I am. He will comment on that.

I also think it is people who are prepared to … to use an Aussie phrase … “have a go”. See my comments about commitment versus convenience is another topic.

While we are feeling confident…how would we go building an init diversity version of Gentoo?

Pulled the cylinder heads from my 26HP Kawasaki engine and replaced the valve stem oil seals and cleaned and lapped the vales, this paste Winter!!

Slackware was a no-brainer, for myself, it has revived my old Dell Inspiron 530!! I am now using Slackware, as the host, and am compiling LFS!! Probably could have used Gentoo and locked it down to a 5.15 kernel!!

One big factor, for myself, is I hate a Linux Distro that has to notify me, as to when to update!! I will update when I wish to update!!

I am also a DIY person. I build my audio gear (turntable, tube amps and speakers) and make my own beer / cider. Of course I also buy beer but it is so rewarding to drink something you have made yourself :grin:

I ended up with Gentoo because it doesn’t annoy me like some others.

That sums it up, rather nicely!!

My OpenRC is running but it’s not working properly yet. Here’s my laptop’s rc-status:

rc-status
Runlevel: default
dbus [ started ]
ufw [ started ]
NetworkManager [ started ]
acpid [ started ]
avahi-daemon [ started ]
bluetooth [ started ]
dnsmasq [ stopped ]
chronyd [ started ]
cupsd [ started ]
display-manager-setup [ started ]
netmount [ started ]
display-manager [ stopped ]
laptop_mode [ started ]
libvirtd [ started ]
piavpn [ started ]
power-profiles-daemon [ started ]
spice-vdagent [ stopped ]
local [ started ]
agetty.tty5 [ started 00:14:51 (0) ]
agetty.tty1 [ started 00:14:51 (0) ]
agetty.tty2 [ started 00:14:51 (0) ]
agetty.tty6 [ started 00:14:51 (0) ]
agetty.tty3 [ started 00:14:51 (0) ]
agetty.tty4 [ started 00:14:51 (0) ]
Dynamic Runlevel: hotplugged
user.pete [ started 00:14:47 (0) ]
Dynamic Runlevel: needed/wanted
virtlogd [ started ]
Dynamic Runlevel: manual

rc-update show

NetworkManager | default
acpid | default
agetty.tty1 | default
agetty.tty2 | default
agetty.tty3 | default
agetty.tty4 | default
agetty.tty5 | default
agetty.tty6 | default
avahi-daemon | default
binfmt | boot
bluetooth | default
bootmisc | boot
cgroups | sysinit
chronyd | default
cupsd | default
dbus | default
devfs | sysinit
display-manager | default
display-manager-setup | default
dmesg | sysinit
dnsmasq | default
elogind | boot
fsck | boot
haveged | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
laptop_mode | default
libvirtd | default
local | default nonetwork
localmount | boot
loopback | boot
modules | boot
mount-ro | shutdown
mtab | boot
netmount | default
piavpn | default
power-profiles-daemon | default
procfs | boot
root | boot
save-keymaps | boot
save-termencoding | boot
savecache | shutdown
seedrng | boot
spice-vdagent | default
swap | boot
sysctl | boot
sysfs | sysinit
systemd-tmpfiles-setup | boot
systemd-tmpfiles-setup-dev | sysinit
termencoding | boot
udev | sysinit
udev-trigger | sysinit
ufw | default

I got emerge –emptytree ready and emerge –depclean found 80 more packages to remove. Needed to add these files to get the systemd junk off:

cat /etc/portage/package.use/no-systemd
sys-apps/systemd -systemd
sys-apps/gentoo-systemd-integration -systemd
sys-apps/systemd-utils -systemd
sys-apps/dbus -systemd
sys-fs/mdadm -systemd
gui-apps/waybar -systemd
sys-kernel/installkernel -systemd
virtual/logger -systemd
#enable elogind for packages that support it

sys-auth/pambase elogind -systemd
sys-auth/elogind -systemd
net-misc/NetworkManager elogind -systemd
media-video/pipewire elogind -systemd
sys-auth/polkit -systemd
virtual/logger -systemd
gui-apps/waybar -systemd

pete@localhost ~ $ cat /etc/portage/package.mask/no-systemd
sys-apps/gentoo-systemd-integration
sys-apps/systemd
sys-apps/systemd-utils
sys-apps/gentoo-systemd-integration

So its doable. You need to eselect profile set [3] default/linux/amd64/23.0/desktop (stable) *

because I first tried the profile [7] default/linux/amd64/23.0/desktop/plasma (stable) and it didn’t work. Now reboot.

EDIT: Reboot and all ok.

I have did this before, I finally just rebuilt Gentoo!!

I knew it… Gentoo and Slackware fans are DIY’ers
So what drives DIY’ers ?
Sometimes it makes no sense … you can often buy your way out of a problem with far less time and effort than fixing it directly youself…In Linux you cam outsource work to a distro maker far easier than making your own and at zero cost.
It has to be because we believe that something personally hand made is magically better than something outsourced.?
How can that be?

The need to know just how some things work!!

In my case, a John Deere x500, new, will cost new, over $8000.00!! I will try fixing, it, for the, time being!!

Not really, but, I have yet to have one of my home built PC’s to fail, unless, it is my fault!!

That may be, but there are a lot of Linux distros, that will never be installed on my PC!!