You are not logged in.

#1 2012-09-10 20:47:44

chneukirchen
Member
Registered: 2010-02-11
Posts: 100

ignite - a simple and robust init replacement

(So, with Allan more or less announcing this project in a subordinate clause I can make a thread about it just as well.)

ignite is a set of scripts to boot Arch Linux using runit for service supervision.

It allows to keep the familiar rc.conf-style configuration while providing service supervision with minimal overhead.

Please read the README carefully before installing ignite, it should address all questions.  Else, read the shell scripts, they are really short.  I will limit my support to answering questions in this thread.

Note that software is still beta quality, although I use it on about 5 machines (i686, x86_64 and ARM) without issues.  This software is not in AUR yet unless tested better.  You are welcome to contribute entries for /etc/sv by mail or Github pull request.

(Also, you don't need to replace runit or runit-dietlibc with runit-musl, but I strongly recommend it.  runit is not patched, so you can replace other uses of it with runit-musl as well.)

Offline

#2 2012-09-17 16:31:42

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: ignite - a simple and robust init replacement

Pl. see the link below. If any support is asked, pl. support
https://bbs.archlinux.org/viewtopic.php?id=148429


Satyam eva jayate

Registered linux user #535257

Offline

#3 2012-09-17 18:32:53

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: ignite - a simple and robust init replacement

I have read about this ignite a bit and it looks promising/worth testing. Thanks for the info.

Offline

#4 2012-09-21 16:47:51

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: ignite - a simple and robust init replacement

Does this exist in AUR? Pl. see below

root@KRISHNA ~]# yaourt -S runit-musl
error: target not found: runit-musl
[root@KRISHNA ~]# yaourt -S ignite-git
error: target not found: ignite-git
[root@KRISHNA ~]# 

Sorry that I asked. Had not seen chenukirchen's post properly.
But the README says it is in AUR

Last edited by San2ban (2012-09-21 17:00:01)


Satyam eva jayate

Registered linux user #535257

Offline

#5 2012-09-21 17:00:12

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: ignite - a simple and robust init replacement

[ ~]$ packer -Ss runit
aur/runit 2.1.1-2 (37)
    A replacement for sysvinit, and other init schemes, with service
    supervision
aur/runit-dietlibc 2.1.1-5 (12)
    A service supervision scheme, compiled with dietlibc
aur/runit-services 1.0.0-5 (6)
    A collection of commonly used service directories
aur/chpst 2.0.0-1 (6)
    Change process state utility. Allows to setuid, lock, chroot, etc. before
    running a file (from runit)
aur/runit-run 1.0.3-1 (5)
    A SysV replacement init scheme with parallel start-up and flexible
    service directories
aur/sv-helper 1.0.0-1 (4)
    Helpers to make using runit-run, runit-services and runit-dietlibc easier
    to use
aur/runit-services-git 20110919-5 (4)
    A collection of commonly used service directories
aur/runit-scripts 11.6-1 (3)
    Some scripts for runit
aur/runit-run-git 20120201-1 (3)
    A SysV replacement init scheme with parallel start-up and flexible
    service directories
aur/filterunit 0.3.1-1 (1)
    Allows unit tests to be devised for command line programs

Offline

#6 2012-09-21 17:43:29

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: ignite - a simple and robust init replacement

ignite not building. ignite and runit-musl are in two separate folders, including PKGBUILDS. How to build this? Downloaded from github

[root@KRISHNA chneukirchen-ignite-7ca307d]# makepkg -s --asroot
==> ERROR: PKGBUILD does not exist.
[root@KRISHNA chneukirchen-ignite-7ca307d]# cd ignite
[root@KRISHNA ignite]# ls
PKGBUILD  etc  ignite.install
[root@KRISHNA ignite]# makepkg -s --asroot
==> Determining latest git revision...
  -> Version found: 20120921
==> Making package: ignite-git 20120921-1 (Fri Sep 21 23:05:41 UTC 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: runit-musl
==> ERROR: 'pacman' failed to install missing dependencies.
[root@KRISHNA ignite]# nano PKGBUILD
[root@KRISHNA ignite]# cd ..
[root@KRISHNA chneukirchen-ignite-7ca307d]# cd runit-musl
[root@KRISHNA runit-musl]# ls
PKGBUILD  _sv
[root@KRISHNA runit-musl]# makepkg -s --asroot
==> Making package: runit-musl 2.1.1-4 (Fri Sep 21 23:08:13 UTC 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: musl
==> ERROR: 'pacman' failed to install missing dependencies.

Moderator: I had to delete two additional copies of this post. Please take some care when posting. And, if you notice some accidental double post of yours please notify the moderators with the "Report" button. -- bernarcher


bernarcher
Sorry, though I am not sure how this happened. Will take care from next time

Last edited by San2ban (2012-09-22 03:32:35)


Satyam eva jayate

Registered linux user #535257

Offline

#7 2012-09-21 20:45:04

chneukirchen
Member
Registered: 2010-02-11
Posts: 100

Re: ignite - a simple and robust init replacement

% packer -S musl
% (cd runit-musl; makepkg -i)
% (cd ignite; makepkg -i)

Don't build as root.

I will upload this to AUR in the next few days, it works well on my machines.

Offline

#8 2012-09-22 03:38:55

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: ignite - a simple and robust init replacement

Chneukirchen
musl package built and installed. But next steps are having an issue

pl. see below. Even, --asroot does not work

[san2ban@KRISHNA runit-musl]$ makepkg -i
==> ERROR: You do not have write permission to create packages in /var/abs/local/builds/chneukirchen-ignite-7ca307d/runit-musl.
    Aborting...
[san2ban@KRISHNA runit-musl]$ makepkg -i --asroot
==> ERROR: You do not have write permission to create packages in /var/abs/local/builds/chneukirchen-ignite-7ca307d/runit-musl.
    Aborting...
[san2ban@KRISHNA runit-musl]$ 

Last edited by San2ban (2012-09-22 04:05:44)


Satyam eva jayate

Registered linux user #535257

Offline

#9 2012-09-22 05:12:05

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: ignite - a simple and robust init replacement

logged in as root, and used --asroot.
Everything works. thanks


Satyam eva jayate

Registered linux user #535257

Offline

#10 2012-09-22 10:45:39

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: ignite - a simple and robust init replacement

Just copy the folder to your home and built it in there. You can't built it in /var because you don't have write permissions there.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#11 2012-09-22 17:14:43

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: ignite - a simple and robust init replacement

ignite is in the public domain.

Am I supposed to pretend that I'm seeing GPL licensed code in your repo with zero attribution?

Last edited by falconindy (2012-09-22 17:15:15)

Offline

#12 2012-09-25 16:43:24

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: ignite - a simple and robust init replacement

Falconindy

README mentions as 'BSD Licensed'


Satyam eva jayate

Registered linux user #535257

Offline

#13 2012-09-27 23:54:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,396
Website

Re: ignite - a simple and robust init replacement

chneukirchen wrote:

(So, with Allan more or less announcing this project in a subordinate clause I can make a thread about it just as well.)

Oops...   Sorry, did not realize it was not an announced project at that time!

Offline

#14 2012-10-17 15:45:18

chneukirchen
Member
Registered: 2010-02-11
Posts: 100

Re: ignite - a simple and robust init replacement

ignite 0.9.0 is now in AUR. Enjoy!

Offline

#15 2012-10-19 14:57:42

xamaco
Member
From: Corsica, France
Registered: 2010-04-05
Posts: 87

Re: ignite - a simple and robust init replacement

It works well and seems quite fast: so far I've only tested it on a virtual machine.
I was able to use my "old" rc.conf and several "old" scripts from rc.d (network with a fixed IP in rc.conf for ex.).
It is relatively easy to create new native services and there is a good deal of them available.
I have a few available partitions on my main home PC and will test for real, trying to enable all the services I have on my regular machine running systemd (which I find quite nice).

Thanks for your work.

Offline

#16 2012-10-21 10:09:47

prazzb
Member
Registered: 2012-10-12
Posts: 14

Re: ignite - a simple and robust init replacement

runit-musl provides runit-dietlibc and not the other way. You  need to change depends from runit-musl to runit-dietlibc in both the ignite PKGBUILDs

Offline

#17 2012-10-21 23:09:58

nem
Member
Registered: 2009-12-15
Posts: 46

Re: ignite - a simple and robust init replacement

switched to ignite today and i like it! will definitely play around with it a lot more.

regards.

edit: one problem i have is, i can't halt/reboot. terminal says: 'Failed to talk to init daemon'. i had systemd running before i switched. any idea how to fix that?

Last edited by nem (2012-10-21 23:53:10)

Offline

#18 2012-10-22 08:06:39

xamaco
Member
From: Corsica, France
Registered: 2010-04-05
Posts: 87

Re: ignite - a simple and robust init replacement

You probably have systemd-sysvcompat installed which use systemctl for  halt/reboot.
I had the same problem on my VM. To solve the issue, I installed sysvinit (which suppressed systemd-sysvcompat) and reinstalled ignite.

Offline

#19 2012-10-22 17:47:29

nem
Member
Registered: 2009-12-15
Posts: 46

Re: ignite - a simple and robust init replacement

xamaco wrote:

You probably have systemd-sysvcompat installed which use systemctl for  halt/reboot.
I had the same problem on my VM. To solve the issue, I installed sysvinit (which suppressed systemd-sysvcompat) and reinstalled ignite.

that did the trick. many thanks!

Offline

#20 2012-10-22 20:22:41

chneukirchen
Member
Registered: 2010-02-11
Posts: 100

Re: ignite - a simple and robust init replacement

prazzb wrote:

runit-musl provides runit-dietlibc and not the other way. You  need to change depends from runit-musl to runit-dietlibc in both the ignite PKGBUILDs

That is intentional, ignite depends on runit-musl (because I strongly recommend it, hack the PKGBUILD if you want to use a different runit version), but runit-musl provides runit-dietlibc not to break any other dependencies.

Offline

#21 2012-11-05 20:58:27

benito
Member
Registered: 2008-04-17
Posts: 12

Re: ignite - a simple and robust init replacement

Dear chneukirchen,

I love you very much.

<mod-delete by ngoonee>

chneukirchen, thank you very much.

I'd seriously like to give you something back. Any wishes? (Are you coming to Hamburg at the end of the year, by chance?)

Last edited by ngoonee (2012-11-06 00:50:03)

Offline

#22 2012-11-06 00:51:07

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: ignite - a simple and robust init replacement

Why would a 'thank you' message need a whole long rant included? Deleted that part, please take rants and similar to your blog, twitter, facebook, or whatever social online service you prefer.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#23 2012-11-06 10:08:57

benito
Member
Registered: 2008-04-17
Posts: 12

Re: ignite - a simple and robust init replacement

That was a short description of my path to happiness to emphasize my relief, not (primarily) a rant. But well, ok.

Offline

#24 2012-11-06 18:04:22

chneukirchen
Member
Registered: 2010-02-11
Posts: 100

Re: ignite - a simple and robust init replacement

benito wrote:

Dear chneukirchen,
I'd seriously like to give you something back. Any wishes? (Are you coming to Hamburg at the end of the year, by chance?)

Possibly. But saying thanks is enough really. Or contribute useful patches. smile

Offline

#25 2013-01-18 21:26:08

vostok4
Member
Registered: 2010-12-16
Posts: 70

Re: ignite - a simple and robust init replacement

Couple of questions here, I'm really enthusiastic about picking up ignite+runit-musl, since all my OpenVZ servers are about to run into some issues.

Note that services mentioned in
/etc/inittab will not be picked up anymore.

Does that mean we can drop /etc/inittab?

* Keep sysvinit and sysvinit-tools installed, halt/reboot/shutdown
  will keep working, the warning about /dev/initctl can be ignored.

How come we still need to keep sysvinit and sysvinit-tools? Only for halt/reboot/shutdown?

Do you have any specific things on the roadmap that you'd like help with? I'm trying to get a grip on the efforts to maintain initscripts, I saw tomegun's post but I don't see anyone actually owning something. Looks like http://github.com/rubyists/runit-services is the closest thing to submit patches to.

Thanks!
Matt

Offline

Board footer

Powered by FluxBB