Systemd unit parser and s6 generator

2023-02-27 Thread Oliver Schad
If it would take 2 weeks of work, that would be fine. Did somebody of you try to implement something? What are your thoughts? Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Hardstr. 46 9434 Au | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.

Re: "Back off" setting for crashing services with s6+openrc?

2022-09-30 Thread Oliver Schad
pect delay magic in run or finish scripts. I mean, imagine you have to debug why a service doesn't start. Reading the run or finish scripts for that is not that fancy. Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Hardstr. 46 9434 Au | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 pgpt_tVbLYxsB.pgp Description: OpenPGP digital signature

Re: "Back off" setting for crashing services with s6+openrc?

2022-09-24 Thread Oliver Schad
built in - but should accomplish the task pretty easily. You could propably outsource the backoff mechanism, which can handle some statistics. Something like that: https://pastebin.com/aH3EDGLG You would use it in your run script as: exec with_backoff my_daemon Best Regards Oli -- Automati

Re: Pattern for multiple subservices and dynamic discovery i.e. VPN

2022-08-18 Thread Oliver Schad
On Thu, 18 Aug 2022 06:04:25 -0400 Davor Ocelic wrote: > On Thu, Aug 18, 2022 at 11:32:30AM +0200, Oliver Schad wrote: > How about an approach that would be more tightly integrated > with s6? For example: > > > - we need an scanning component for the desired state of runni

Re: Pattern for multiple subservices and dynamic discovery i.e. VPN

2022-08-18 Thread Oliver Schad
> I have a few ideas to mitigate that and help people create instanced > services. Instantiation is a planned feature of the future s6-rc v1 > but it's still a ways away; I am also thinking of adding tools to help > people handle instances with regular s6, amd they may come in the nea

Pattern for multiple subservices and dynamic discovery i.e. VPN

2022-08-17 Thread Oliver Schad
ce to have supervision for all of these instances instead of doing it without. Of course I know how to do it without. Is there a pattern around to solve this with s6 and supervision? Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Hardstr. 46 9434 Au | Sc

Re: Supervision on the BSD's

2022-04-10 Thread Oliver Schad
o changes. But I think that isn't the most important thing for decision. I.e. your super stable BSD doesn't help against DoS attacks (read as overload), unstable hardware, misconfiguration of services, packet loss, ... Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäfts

Expected behaviour zombie processes

2020-12-01 Thread Oliver Schad
here? I would expect, that this case is solved immediatly by s6-supervise and a new process is spawned. The observed behaviour was, that no new process was spawned and even s6-svc -r didn't respawn a process. Best Regards Oli -- Automatic-Server AG ••••• Oliver Schad Geschäftsführer Turne

s6 in production on Ubuntu - yeah!

2020-11-04 Thread Oliver Schad
n specific kernel interfaces of the host) - cgroup massacre (mi-mi-mi that is my cgroup and nobody else is allowed to use it) And I guess some more. The pain we had with systemd, journald and so on was too much. Best Regards Oli -- Automatic-Server AG ••••• Oliver Schad Geschäftsführer Turne

Re: s6 options

2020-11-04 Thread Oliver Schad
quot;OOMScoreAdjust" of systemd ? > > > Thanks, > Chaitanya -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 pgphzxewWqK2T.pgp Description: OpenPGP digital signature

Re: External health Check Process

2020-10-23 Thread Oliver Schad
s6 project). Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 pgpHNHOSShYBI.pgp Description: OpenPGP digital signature

External health Check Process

2020-10-22 Thread Oliver Schad
matic-Server AG ••••• Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 pgp4Uwj7eiJgh.pgp Description: OpenPGP digital signature

Re: The "Unix Philosophy 2020" document

2019-12-29 Thread Oliver Schad
t see a reason to implement such stuff inside of a supervision daemon itself - a system specific toolbox is the right place for that. Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-ser

Re: The "Unix Philosophy 2020" document

2019-12-28 Thread Oliver Schad
processes) Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 pgpo2UlVDQBdQ.pgp Description: OpenPGP digital signature

Re: The "Unix Philosophy 2020" document

2019-12-28 Thread Oliver Schad
t way to express that. A library, a command, whatever. It's questionable if the supervisor's linux toolbox should provide something like that, but I would vote for that. Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz

Re: The "Unix Philosophy 2020" document

2019-12-28 Thread Oliver Schad
On Sat, 28 Dec 2019 12:19:30 -0300 Guillermo wrote: > El vie., 27 dic. 2019 a las 20:56, Oliver Schad escribió: > > > > Sorry, I have to correct that a bit: you can use the freezer cgroup > > as I did, but there is no guarantee, that you can successfully kill > > a

Re: The "Unix Philosophy 2020" document

2019-12-28 Thread Oliver Schad
or limitting and killing. But it could be helpful to have system specific tooling in small tool boxes, so that we would have s6 s6-linux s6-bsd ... -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automat

Re: The "Unix Philosophy 2020" document

2019-12-28 Thread Oliver Schad
ontrol resource limits, like CPU, RAM, Disk I/O and so on. So for linux it would definitly make sense to have an interface to the full feature set. Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.

Re: The "Unix Philosophy 2020" document

2019-12-27 Thread Oliver Schad
On Sat, 28 Dec 2019 00:54:07 +0100 Oliver Schad wrote: > Disclaimer: this has race-conditions by design. systemd has them as > well. No, they don't say that of course. You can't read the tasks > atomically and change their state to stopped, freeze or whatever. So > they

Re: The "Unix Philosophy 2020" document

2019-12-27 Thread Oliver Schad
What you can do is repeat the killing/freezing/stopping until it succeeds (mabye never). Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile:

Re: The "Unix Philosophy 2020" document

2019-12-26 Thread Oliver Schad
//forums.gentoo.org/viewtopic-t-1105854.html>. OMG - how much work was that? Great! Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +4

Re: s6 usability

2019-12-23 Thread Oliver Schad
On Mon, 23 Dec 2019 10:15:11 + Jonathan de Boyne Pollard wrote: > Oliver Schad: > > > A booting tools should be in /bin - full stop! > > > > That is historically untrue. The real world has not actually worked > in the way that some people think. Sorry, this

Re: s6 usability

2019-12-22 Thread Oliver Schad
build infrastructure and pre-packaging stuff. I can support that with free hosting for building and testing, i.e. I can provide a public gitlab with build and test pipelines. Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz

Re: The "Unix Philosophy 2020" document

2019-10-13 Thread Oliver Schad
ded? Best Regards Oli BTW: I can't really see images inside the PDF -- Automatic-Server AG ••••• Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 pgp3IjVvwXotU.

Re: s6-linux-init: Actions after unmounting filesystems

2019-08-18 Thread Oliver Schad
at our systemd friends are thinking about it. ;-) Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 pgpRwXCZd9buG.p

Re: emergency IPC with SysV message queues

2019-05-16 Thread Oliver Schad
ve" and "I like". Thank you very much for sharing your reasons. Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330

Re: interesting claims

2019-05-15 Thread Oliver Schad
d Laurant wants to target them, then he needs to deliver that and it makes sense to argument with that requirement. Best Regards Oli -- Automatic-Server AG • Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel

S6 readiness

2019-04-26 Thread Oliver Schad
Hi everybody, because we have that topic: in the case a service doesn't support itself the interaction with readiness, a watching peace of code would be nice (checking open port, checking HTTP call, ...). How to model that with s6? Best Regards Oli -- Automatic-Server AG • Oliver

Re: Update on the progress of slew development

2019-03-19 Thread Oliver Schad
On Tue, 19 Mar 2019 20:42:39 +0800 "Casper Ti. Vector" wrote: > On Sun, Mar 17, 2019 at 03:30:02PM +0100, Oliver Schad wrote: > > https://gitlab-2.asag.io/snippets/7 > > A closer look at this snippet reveals that most changes therein are: > 1. Customisations of `s6

Re: Update on the progress of slew development

2019-03-17 Thread Oliver Schad
out of the box? Best Regards Oli -- Automatic-Server AG ••••• Oliver Schad Geschäftsführer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.sc...@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 pgpR0odUN7qXE.pgp Description: OpenPGP digital signature