OpenRC Introduction Part 1 - Starting and Stopping Daemons

  Рет қаралды 10,179

HMagellanLinux

HMagellanLinux

Күн бұрын

Пікірлер: 27
@hmagellanlinux307
@hmagellanlinux307 4 жыл бұрын
A note on my word choice throughout this video: I use the terms "daemon," "service," and "process" at various times to refer to the programs running in the background that OpenRC starts and/or stops. I am essentially using these terms as synonyms in the video. There are some differences between them, but the differences are not totally agreed upon and the terminology can be ambiguous. For instance, refer to these links that try to describe what the differences between services, daemons, and process are, to varying degrees of success: askubuntu.com/questions/192058/what-is-technical-difference-between-daemon-service-and-process www.linuxquestions.org/questions/linux-newbie-8/difference-between-deamon-and-service-in-linux-814229/ stackoverflow.com/questions/3612846/what-are-the-behavioral-differences-between-a-daemon-and-a-normal-process The way I see it, "process" refers to any running process on your system, while "daemon" refers to a background process that does not expect direct user interaction and that does not need a logged-in user to run. So it is accurate to say, given this definition, that all daemons are processes, but not all processes are daemons. The term "service" is more ambiguous, but I understand it to be mostly a synonym for "daemon" (refer to the openrc-status manpage using the term "service", for instance). This is the way I use "service" (and the other words) in this video. Hopefully this language is not confusing to the viewer. I will try to make note where I think confusion might arise (e.g. at 4:58 in this video), but let me know if you require further clarification. Thanks for watching!
@serge5046
@serge5046 4 жыл бұрын
For starting, stopping or restarting services you can use rc-service: www.mankier.com/8/rc-service Cheers
@hmagellanlinux307
@hmagellanlinux307 4 жыл бұрын
@@serge5046 I figured there must have been something like this, thanks! Strange, I found no mention of this command on Gentoo wiki's OpenRC pages nor in any of the other OpenRC manpages I read.
@serge5046
@serge5046 4 жыл бұрын
@@hmagellanlinux307 You have it in this page of the Gentoo wiki: wiki.gentoo.org/wiki/OpenRC/supervise-daemon It is mentioned under the code of avahi-daemon (under the line "Start the service back up") Cheers
@rm-rf4612
@rm-rf4612 4 жыл бұрын
you're doing gods work lad, keep it up
@mirexius
@mirexius 3 жыл бұрын
Finally. Some a Gentoo channel that I've been searching for :D Keep up!
@anered5273
@anered5273 4 жыл бұрын
Недооцененный канал. Спасибо за видосы, удачи :>
@nightwolf1966
@nightwolf1966 2 жыл бұрын
WoW you are a great teacher please keep up the great work you are doing and the videos you are making , thank you again
@johnmiskulin4751
@johnmiskulin4751 3 жыл бұрын
Awesome videos! I hope you keep going with gentoo content because you are great at teaching.
@_regnar_4189
@_regnar_4189 8 ай бұрын
Hi. What's abount rc-service command? When I was doing my first install of gentoo, it was around a half-year before, gentoo handbook said that it is the correct way to start/stop/restart services. Why do i need to do it mannualy?
@NovabitsYT
@NovabitsYT 4 ай бұрын
openrc looks so neat
@madkvideo
@madkvideo 3 жыл бұрын
Excellent tutorial
@Ashiya-Uraki
@Ashiya-Uraki 4 жыл бұрын
I'm curious about the scripting part specifically and haven't dived in it yet with OpenRC. Any plans to cover this topic?
@hmagellanlinux307
@hmagellanlinux307 4 жыл бұрын
Yes, that will be in video 4 of the series, if my current schedule holds. Thanks for watching!
@Ashiya-Uraki
@Ashiya-Uraki 4 жыл бұрын
@@hmagellanlinux307 Thank you for making these informative videos
@htx80nerd
@htx80nerd 9 ай бұрын
Nice video thanks.
@celestialadministration
@celestialadministration 4 жыл бұрын
What tiling window manager are you using? Though about trying out Artix linux openrc out. Mad thank you not much info about this stuff on youtube. Plus sum are really dated if none existent.
@hmagellanlinux307
@hmagellanlinux307 4 жыл бұрын
Thanks for watching! I'm using dwm in this video.
@celestialadministration
@celestialadministration 3 жыл бұрын
Do you still use Gentoo?
@autonaut279
@autonaut279 2 жыл бұрын
oh man. I was giving up on Artix after struggling with enable so many things. I hope this helps.
@iseengreenenjoyer
@iseengreenenjoyer 4 жыл бұрын
I just was searching for openrc customization video, and then I saw a touhou intro and clicked because why not, whats wrong with me?
@treahblade
@treahblade 2 жыл бұрын
For any future viewers here you do not need to execute scripts directly from /etc/init.d you can simply use the built in rc-service program.
@sgpch1983
@sgpch1983 4 жыл бұрын
hmm rc-status is kinda to much.. if i want to know if something is running is go ps ax.. oh well.. i like the slackware rc.d style init best.. to bad one cant extract or use it on any distro..
@octavylon9008
@octavylon9008 3 жыл бұрын
Actually there is openrc-init so openrc does have its own init system
@_yuri
@_yuri 4 жыл бұрын
now there are apps that demand sysd to run this is bullcrap for example recently anki did this and newer versions require systemd 😿.
@hmagellanlinux307
@hmagellanlinux307 4 жыл бұрын
Absolutely. Sometimes Gentoo and other OpenRC systems are able to work around some of these hard dependencies e.g. with elogind, but the era of GNU/Linux/Systemd seems to be approaching, unfortunately.
@serge5046
@serge5046 4 жыл бұрын
@@hmagellanlinux307 A good example of this is the latest version of xorg-server dropping suid and using logind. Fortunately we are able to use elogind. Alien Bob had to implement elogind for his Plasma version of Slackware current: alien.slackbook.org/blog/?s=elogind+plasma
OpenRC Introduction Part 2 - Runlevels and rc-update
14:08
HMagellanLinux
Рет қаралды 3,7 М.
OpenRC: A Featureful and Hackable Init System
18:35
DebConf Videos
Рет қаралды 6 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Speed up Your Emerge Times on Gentoo
7:53
Mental Outlaw
Рет қаралды 32 М.
Making a NON-SystemD OpenRC system
1:44:10
Titus Tech Talk
Рет қаралды 11 М.
Speed Up Those Emerge Times in Gentoo
8:27
Mental Outlaw
Рет қаралды 20 М.
Alpine Linux, APK, OpenRC, and more...
17:18
Bryce Vandegrift
Рет қаралды 4,9 М.
Gentoo USE Flags - Part 1
12:31
HMagellanLinux
Рет қаралды 9 М.
OpenRC Introduction Part 3 - /etc/rc.conf
10:14
HMagellanLinux
Рет қаралды 3,3 М.
After a Minimal Linux Install: Graphical Envionment and Users
28:05
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 185 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН