MX21 how to switch from sysvinit to runit
MX21 how to switch from sysvinit to runit
After convincing myself that 'runit' is - if not the best thing since sliced bread - certainly more in keeping with my philosophy, I decided to give it a try .
I did a clean install of MX21 on an old system, then installed the 'runit' package together with the service 'mini-httpd'. I don't intend to use httpd but wanted to install a working example as a basis for my own stuff.
This seemed to work partially: directory/etc/runit/runsvdir/current/mini-htppd is created, but one of the files - supervise - is a broken link.
Perhaps the 'runit' stuff is installed but dormant?
I suspect that either I need to install more packages related to runit or perhaps I need to run some system command relating to run levels (I came across some such recommendation but can't find it now!)
This info is sketchy because I I am using another system for reporting. The 'problem' system isn't yet configured for comfortable internet use.
Can someone point me in the direction of a solution?
Thanks for your attention,
Larry Myerscough
I did a clean install of MX21 on an old system, then installed the 'runit' package together with the service 'mini-httpd'. I don't intend to use httpd but wanted to install a working example as a basis for my own stuff.
This seemed to work partially: directory/etc/runit/runsvdir/current/mini-htppd is created, but one of the files - supervise - is a broken link.
Perhaps the 'runit' stuff is installed but dormant?
I suspect that either I need to install more packages related to runit or perhaps I need to run some system command relating to run levels (I came across some such recommendation but can't find it now!)
This info is sketchy because I I am using another system for reporting. The 'problem' system isn't yet configured for comfortable internet use.
Can someone point me in the direction of a solution?
Thanks for your attention,
Larry Myerscough
Re: MX21 how to switch from sysvinit to runit
@papahippo
Why don't you just copy what antiX does with runit? However, I suggest that if you are not already well qualified to do this, it's not going to go well for you long term. Over time, MX is likely to make changes and do updates that will make your life miserable.
Why don't you just copy what antiX does with runit? However, I suggest that if you are not already well qualified to do this, it's not going to go well for you long term. Over time, MX is likely to make changes and do updates that will make your life miserable.
Re: MX21 how to switch from sysvinit to runit
Thanks for the suggestions. I've now reduced my ambition somewhat: I'd like to let systemd start the runit supervisor, so I can used runit for 'my' stuff but let systemd handle the standard stuff.
I'm also toying with the idea of running my 'mainly server' system under antix... but feel I might miss the luxury and polish of mx too much!
I'm also toying with the idea of running my 'mainly server' system under antix... but feel I might miss the luxury and polish of mx too much!
- anticapitalista
- Developer
- Posts: 4314
- Joined: Sat Jul 15, 2006 10:40 am
Re: MX21 how to switch from sysvinit to runit
Why does a server need 'polish'?
anticapitalista
Reg. linux user #395339.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - lean and mean.
https://antixlinux.com
Reg. linux user #395339.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - lean and mean.
https://antixlinux.com
Re: MX21 how to switch from sysvinit to runit
FWIW... I think desktops need 'polish'.... servers need to be 'headless'.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Re: MX21 how to switch from sysvinit to runit
So true.manyroads wrote: Fri Nov 26, 2021 10:47 am FWIW... I think desktops need 'polish'.... servers need to be 'headless'.
His other option and that would be 'Devuan'. There would be no systemD but you can choose, sysvint, openrc or runit. Read here.
https://www.devuan.org/os/documentation ... all-devuan
It is easier to fight for one's principles then to live up to them.
Re: MX21 how to switch from sysvinit to runit
I agree. Devuan is a good choice, especially for servers.towwire wrote: Fri Nov 26, 2021 12:14 pm[...]manyroads wrote: Fri Nov 26, 2021 10:47 am FWIW... I think desktops need 'polish'.... servers need to be 'headless'.
His other option and that would be 'Devuan'. There would be no systemD but you can choose, sysvint, openrc or runit. Read here.
https://www.devuan.org/os/documentation ... all-devuan
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Re: MX21 how to switch from sysvinit to runit
It's a huge convenience when a local server can have it's own monitor and keyboard. In other words, I don't buy the "NEED to be headless." At times, headless will be a PITA.manyroads wrote: Fri Nov 26, 2021 10:47 am FWIW... I think desktops need 'polish'.... servers need to be 'headless'.
Re: MX21 how to switch from sysvinit to runit
I just made a long answer, saved it to draft... now I can't find it... so here's the short answer:
I've installed antix 21 on an old Dell D630 (rescued from the garbage by a friend). Partly because I want to see 'runit' in action and partly because its current distro (xubuntu) wasn't as lightweight as I had expected when i installed it last year. In the past, I had only installed Antix on even more resource challenged systems. I'm really impressed. For example: when I read that it used 'connman' for wifi connections, this filled me with trepidation; I had used connman from the command line before and never really got comfortable with it. But Antix's GUI for connman is intuitive,clear and great!
This leaves me with some questions, some just for me, some for another post, another time!
Thanks for all the feedback. If it seems like I'm ignoring most or all the advice... don't take offence; that's just my way of listening.
I've installed antix 21 on an old Dell D630 (rescued from the garbage by a friend). Partly because I want to see 'runit' in action and partly because its current distro (xubuntu) wasn't as lightweight as I had expected when i installed it last year. In the past, I had only installed Antix on even more resource challenged systems. I'm really impressed. For example: when I read that it used 'connman' for wifi connections, this filled me with trepidation; I had used connman from the command line before and never really got comfortable with it. But Antix's GUI for connman is intuitive,clear and great!
This leaves me with some questions, some just for me, some for another post, another time!
Thanks for all the feedback. If it seems like I'm ignoring most or all the advice... don't take offence; that's just my way of listening.