... if you're adventurous, there are more to choose from.but I am wanting to go back to a fast small supported init system.
Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
When you eventually try, we're here to help. ;)red6 wrote:Gentoo is way above my pay scale:)
Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
How so? I have used Openrc from the moment it was available on gentoo (goo Uber) and I also have several Alpine instances (metal and containers). While there are some subtle patches, the user side of things are the samered6 wrote: But it would appear that Gentoo OpenRC and Alpine OpenRC are different.
Interesting. Thanks.sam_ wrote:OpenRC was a wholly Gentoo project but it was split out because other distributions use it and its maintainer(s) wanted them to feel comfortable and that their voice would be heard.
One of the best, if not the best.red6 wrote:So I am guessing this is not the best place to ask questions about OpenRC.
Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
Good to know that this is a good home for OpenRC experts.Zucca wrote:One of the best, if not the best.red6 wrote:So I am guessing this is not the best place to ask questions about OpenRC.
I know at least one person (can't recall who) here on the forums said they run Gentoo on Linode.red6 wrote:Are there any good tips to get Gentoo running on a cloud provider?
Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
I can remember because I was involved: viewtopic-t-1171592.htmlZucca wrote:I know at least one person (can't recall who) here on the forums said they run Gentoo on Linode.
Naib wrote:How so? I have used Openrc from the moment it was available on gentoo (goo Uber) and I also have several Alpine instances (metal and containers). While there are some subtle patches, the user side of things are the samered6 wrote: But it would appear that Gentoo OpenRC and Alpine OpenRC are different.
# /etc/inittab
::sysinit:/sbin/openrc sysinit
::sysinit:/sbin/openrc boot
::wait:/sbin/openrc default
# Set up a couple of getty's
ttyS0::respawn:/sbin/getty 38400 ttyS0
#tty2::respawn:/sbin/getty 38400 tty2
#tty3::respawn:/sbin/getty 38400 tty3
#tty4::respawn:/sbin/getty 38400 tty4
#tty5::respawn:/sbin/getty 38400 tty5
tty1::respawn:/sbin/getty 38400 tty1
# Put a getty on the serial port
#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/sbin/openrc shutdown
# enable login on alternative console
#ttyS0::respawn:/sbin/getty -L 0 ttyS0 vt100
You can ask Alpine about this sysvinit config as it has nothing to do with OpenRC directly.red6 wrote:It is pretty much the same as the handbook. I just did not find a line specifying "id:3:initdefault:".
Thanks for that info!grknight wrote:You can ask Alpine about this sysvinit config as it has nothing to do with OpenRC directly.red6 wrote:It is pretty much the same as the handbook. I just did not find a line specifying "id:3:initdefault:".
It appears as if it is bypassing all runlevels (OpenRC does not care) and runs the processes without them.
It is starting OpenRC with "sysinit" and "wait" actions. They have likely patched their sysvinit as "shutdown" is not a standard action.
Gentoo starts OpenRC via sysvinit with "sysinit", then "bootwait", and then standard runlevels pointing to "wait" actions.
I did manage to get an instance of Gentoo running on Linode. Just not sure about the exact version of the cloud image.pietinger wrote:I can remember because I was involved: viewtopic-t-1171592.htmlZucca wrote:I know at least one person (can't recall who) here on the forums said they run Gentoo on Linode.
Code: Select all
# uname -a
Linux localhost 6.6.30-gentoo-x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 3 07:30:25 UTC 2024 x86_64 AMD EPYC 7713 64-Core Processor AuthenticAMD GNU/Linux
# cat /etc/os-release
NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
VERSION_ID="2.15"

Just to clear any confusion, this is not OpenRC configuration, it is BusyBox init configuration.red6 wrote:This is my Alpine system... (on Linode).
It is pretty much the same as the handbook. I just did not find a line specifying "id:3:initdefault:".
# /etc/inittab
::sysinit:/sbin/openrc sysinit
::sysinit:/sbin/openrc boot
::wait:/sbin/openrc default
# Set up a couple of getty's
ttyS0::respawn:/sbin/getty 38400 ttyS0
#tty2::respawn:/sbin/getty 38400 tty2
#tty3::respawn:/sbin/getty 38400 tty3
#tty4::respawn:/sbin/getty 38400 tty4
#tty5::respawn:/sbin/getty 38400 tty5
tty1::respawn:/sbin/getty 38400 tty1
# Put a getty on the serial port
#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/sbin/openrc shutdown
# enable login on alternative console
#ttyS0::respawn:/sbin/getty -L 0 ttyS0 vt100
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though
Code: Select all
# ps aux | grep systemd
root 1591 0.0 0.2 21632 2160 ? Ss May22 0:00 /usr/lib/systemd/systemd-udevd

red6 wrote:BTW, I am using Alpine Linux and not Gentoo.
Oh? Alpine is BusyBox/musl/Linux rather than GNU/Linux, I thought you knew...red6 wrote:Busybox in the supply chain of Alpine is likely not a prudent way to go.
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though
Happy to report that I have launched Gentoo on Linode and the cloud init stuff is looking really good. The cloud init scripts were authored by an expert I think.Zucca wrote:I know at least one person (can't recall who) here on the forums said they run Gentoo on Linode.red6 wrote:Are there any good tips to get Gentoo running on a cloud provider?
You may want to read this news article.