Missing files /etc/init.d/rcS and rmnologin

2014-12-12 Thread Steve Litt
Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance

Re: Using runit-init on debian/Jessie in place of sysvinit/systemd

2015-01-02 Thread Steve Litt
should just tell you to install the debian package (runit-initscripts ?). Is that possible? I might be able to write such a package if it was the right way to go. I hope the instructions remain relevant for those of us installing from source, or using different distros. SteveT Steve Litt

I need your advice on this web page

2015-01-15 Thread Steve Litt
that you are all doing! Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance

Re: Could s6-scscan ignore non-servicedir folders?

2015-01-21 Thread Steve Litt
/enable_oneshots.sh in stage 1, and right after that truncate and make executable $whatever/enable_oneshots. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance

Re: Could s6-scscan ignore non-servicedir folders?

2015-01-21 Thread Steve Litt
On Wed, 21 Jan 2015 20:23:22 +0100 Laurent Bercot ska-supervis...@skarnet.org wrote: On 21/01/2015 19:03, Steve Litt wrote: I do too. If you have a run-once thing that quickly returns, couldn't you just not exec the thing in the run script, and then have the last statement in your run

Re: I need your advice on this web page

2015-01-16 Thread Steve Litt
On Fri, 16 Jan 2015 14:12:07 +0100 Laurent Bercot ska-supervis...@skarnet.org wrote: On 16/01/2015 01:05, Steve Litt wrote: http://www.troubleshooters.com/linux/init/features_and_benefits.htm (I'm lacking sleep and I'm going to talk about systemd. Not a good combination. So, apologies

Execline: was s6 init-stage1

2015-01-06 Thread Steve Litt
, complete with the diagrams, and didn't understand a word of it. I think a lot more documentation and a lot of examples would help immensely. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance

Re: thoughts on rudimentary dependency handling

2015-01-06 Thread Steve Litt
Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance

Re: runit source control?

2015-02-10 Thread Steve Litt
be sent in as patches against the last tarballed version. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance

Re: thoughts on rudimentary dependency handling

2015-01-08 Thread Steve Litt
On Wed, 7 Jan 2015 14:25:28 -0800 Avery Payne avery.p.pa...@gmail.com wrote: On Wed, Jan 7, 2015 at 7:23 AM, Steve Litt sl...@troubleshooters.com wrote: I'm pretty sure this conforms to James' preference (and mine probably) that it be done in the config and not in the init program

Re: thoughts on rudimentary dependency handling

2015-01-07 Thread Steve Litt
to declare their dependencies by their official names, makes it almost trival for any distro to adopt a daemontools-inspired init, and makes it doable for a modestly smart user to jumper around their existing init system, if that's what they want to do. SteveT Steve Litt* http

I'm documenting the boot process

2015-04-25 Thread Steve Litt
Hi all, I'm documenting the boot process. Here's what I have so far: http://troubleshooters.com/linux/diy/howboot.htm SteveT Steve Litt April 2015 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28

Re: dependant services

2015-04-22 Thread Steve Litt
. SteveT Steve Litt April 2015 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28

Re: dependant services

2015-04-28 Thread Steve Litt
rather than buzzwords. I don't think I'm alone. Thanks, SteveT Steve Litt April 2015 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28

Re: Thoughts on First Class Services

2015-04-28 Thread Steve Litt
is functional. I've been doing that ever since you mentioned it. Thanks, SteveT Steve Litt April 2015 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28

Re: anopa: init system/service manager built around s6

2015-04-11 Thread Steve Litt
, rather than concurrently, so you might not want to use it to init something with fifty daemons. But it's still pretty good, and it's a good learning tool, IMHO. SteveT Steve Litt Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28

Re: staggering runsv startup

2015-06-04 Thread Steve Litt
management system would be the first to do that without kludges like I enumerated in other emails. Thanks, SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: staggering runsv startup

2015-06-04 Thread Steve Litt
Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: staggering runsv startup

2015-06-04 Thread Steve Litt
you really need is ordering of the managed services, and as far as I know, no daemontools inspired program does that in a straightforward manner. SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: staggering runsv startup

2015-06-05 Thread Steve Litt
several seconds before your attempt at sshd. Where ordering aids dependencies is that it makes it likely that your services will fire right up, instead of repeatedly (and indeterminately) failing for lack of a dependency. SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http

Re: dependant services

2015-06-08 Thread Steve Litt
not specifically speaking about a socket required by a daemon. I'm talking about using sockets for activation via UCSPI, similar to the old inetd concept. I'm not familiar with inetd. Using sockets to activate what? In what manner? Whose socket? SteveT Steve Litt June 2015 featured book: The Key

Re: dependant services

2015-06-08 Thread Steve Litt
, SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: dependant services

2015-06-08 Thread Steve Litt
to this: http://en.wikipedia.org/wiki/Inetd and this: http://en.wikipedia.org/wiki/Ucspi-tcp It also links to the init system that shall not be mentioned, but that's of little interest. Thanks! Now I know something I didn't know yesterday. Some day soon I'll try out ucspi-tcp. SteveT Steve Litt

Shutdown/reboot script order?

2015-06-09 Thread Steve Litt
order these things come in? Thanks, SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: First thoughts on s6

2015-06-18 Thread Steve Litt
with the document. By the way, Avery, that's a slick solution to a real problem. Nice one! SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

What interrupt does Ctrl+Alt+Delete send PID1?

2015-06-11 Thread Steve Litt
Hi all, What interrupt does Ctrl+Alt+Delete send PID1? Google just tells how to tweak /etc/inittab to react to Ctrl+Alt+Del, but in my case /etc/inittab isn't being used: I need to react to the specific interrupt. Thanks, SteveT Steve Litt June 2015 featured book: The Key to Everyday

Re: Shutdown/reboot script order?

2015-06-10 Thread Steve Litt
On Tue, 09 Jun 2015 18:08:08 +0200 Laurent Bercot ska-supervis...@skarnet.org wrote: On 09/06/2015 16:24, Steve Litt wrote: * killall5 -15; sleep 2; killall5 -9; sleep 2 * umount -a * mount -o remount,ro /dev/sda1 * /sbin/halt or /sbin/reboot Could somebody confirm which order

Re: What interrupt does Ctrl+Alt+Delete send PID1?

2015-06-11 Thread Steve Litt
On Thu, 11 Jun 2015 10:04:13 -0700 (PDT) Robert Hencke robert.hen...@gmail.com wrote: On Thu, Jun 11, 2015 at 12:59 PM, Steve Litt sl...@troubleshooters.com wrote: Hi all, What interrupt does Ctrl+Alt+Delete send PID1? Google just tells how to tweak /etc/inittab to react to Ctrl+Alt

s6 ordering and run-once?

2015-06-16 Thread Steve Litt
. Does anyone know if there are ways to order beyond one symlink at a time or s6-svwait? Does anyone know how to do a run-once service without putting an infinite sleep loop at the end? Also, are there any flag files, other than down, of which I should be aware? Thanks, SteveT Steve Litt June

Re: comparison

2015-06-16 Thread Steve Litt
That's an understatement! And, as the old saying goes, the best time to plant a tree is 20 years ago. The second best time is today. Thanks Avery! SteveT On Tue, 16 Jun 2015 13:09:32 -0700 James Powell james4...@hotmail.com wrote: And supervision-scripts has been that generic profile that

First thoughts on s6

2015-06-16 Thread Steve Litt
Starting tty5 2 exec /sbin/getty tty5 For the tty5 log: #!/bin/sh exec s6-log t ./main They seemed to work well. Anyway, so far so good. Thanks, SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: What interrupt does Ctrl+Alt+Delete send PID1?

2015-06-12 Thread Steve Litt
On Fri, 12 Jun 2015 11:31:44 +0200 Laurent Bercot ska-supervis...@skarnet.org wrote: On 12/06/2015 02:54, Steve Litt wrote: * Whole thing running in a VirtualBox VM Ah, I'm not sure how all this plays with virtualization. VirtualBox looks like a full virtualizer with a separate kernel

Suckess Init + daemontools-encore + LittKit

2015-06-14 Thread Steve Litt
Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: comparison

2015-06-16 Thread Steve Litt
with S6's command names and s6-svstat's output, it worked like a charm, and it appears to work just like Felker-daemontools-encore. Thanks, SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: Describing daemontools in 300 words?

2015-06-12 Thread Steve Litt
On Sat, 13 Jun 2015 04:35:09 +0200 Laurent Bercot ska-supervis...@skarnet.org wrote: On 13/06/2015 03:19, Steve Litt wrote: When I tried S6 about 8 months ago (and I knew a lot less then), I was unable to get it installed and running. I already asked, and will ask again: please try

Describing daemontools in 300 words?

2015-06-12 Thread Steve Litt
Hi all, If you had to describe daemontools, in the context of a general purpose process manager, to a technical person, in 300 words, what things would you say and what things would you leave out? Thanks, SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http

Re: What interrupt does Ctrl+Alt+Delete send PID1?

2015-06-12 Thread Steve Litt
On Fri, 12 Jun 2015 20:06:40 -0300 Guillermo gdiazhartu...@gmail.com wrote: 2015-06-12 9:44 GMT-03:00 Steve Litt: On Fri, 12 Jun 2015 11:31:44 +0200 Laurent Bercot wrote: Well, your host system will definitely catch the 3 finger salute; it won't be sent as is to your guest system

Re: Describing daemontools in 300 words?

2015-06-12 Thread Steve Litt
On Sat, 13 Jun 2015 02:27:12 +0200 Laurent Bercot ska-supervis...@skarnet.org wrote: On 13/06/2015 02:21, Steve Litt wrote: If you had to describe daemontools, in the context of a general purpose process manager, to a technical person, in 300 words, what things would you say and what

Re: Readiness notification for systemd

2015-06-13 Thread Steve Litt
*them* add the extra word in their unit files. SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: Readiness notification for systemd

2015-06-13 Thread Steve Litt
On Sat, 13 Jun 2015 22:35:13 +0200 Laurent Bercot ska-supervis...@skarnet.org wrote: On 13/06/2015 21:46, Steve Litt wrote: When I write my own daemons (for use with daemontools, daemontools-encore, runit, and soon to be S6), I use stdout to write to the log. Wouldn't the writenewline

Re: comparison

2015-06-15 Thread Steve Litt
Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: comparison

2015-06-15 Thread Steve Litt
, and keep running than original daemontools. SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: comparison

2015-06-16 Thread Steve Litt
On Tue, 16 Jun 2015 09:29:15 +0200 Laurent Bercot ska-supervis...@skarnet.org wrote: On 16/06/2015 04:54, Steve Litt wrote: One thing I can tell you is that daemontools and daemontools-encore were never intended to be init systems, whereas I'm pretty sure that runit, s6 and nosh intended

Re: comparison

2015-06-16 Thread Steve Litt
. That would cut down on a lot of the tl;dr cotton candy. SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: What interrupt does Ctrl+Alt+Delete send PID1?

2015-06-11 Thread Steve Litt
Init property, it appears to be a Plop property. SteveT Steve Litt June 2015 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: anopa 0.2.0

2015-08-12 Thread Steve Litt
On Wed, 12 Aug 2015 13:50:19 +0200 Olivier Brunel j...@jjacky.com wrote: Hi Steve, On 08/11/15 20:40, Steve Litt wrote: On Tue, 11 Aug 2015 19:58:59 +0200 Hi j, I just got done reading http://jjacky.com/anopa/ . I love the inclusion of the needs directory, as well

Re: s6: compatibility with make3.82

2015-07-22 Thread Steve Litt
statement. Here's my response to the less than two years old requirement, penned long before I knew you, so please don't take it personally: http://www.troubleshooters.com/linux/politics_of_dependencies.htm IMHO two years is way too stringent a requirement. SteveT Steve Litt July 2015 featured

Re: OpenRC now supports daemon supervision using s6

2015-07-25 Thread Steve Litt
go with s6 out of the box, but I guess OpenRC is more corporationally correct or something like that, and as such, I'm glad it can use s6 to do the supervision (and sysvinit to do the PID1, you can't make this up, folks). SteveT Steve Litt July 2015 featured book: Rapid Learning for the 21st

How to alt-init Lubuntu?

2015-07-14 Thread Steve Litt
partition. Have any of you had experience with situations like this, and what steps did you take to figure out how to alt-init it. Thanks, SteveT Steve Litt July 2015 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21

Re: Safely replacing /etc/s6-rc/compiled

2015-11-12 Thread Steve Litt
with System Rescue CD and copy the backups back to original? SteveT Steve Litt November 2015 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques

Re: [ale] systemd talk from July has slide deck online now

2015-09-08 Thread Steve Litt
On Mon, 7 Sep 2015 14:59:08 -0400 Jim Kinney <jim.kin...@gmail.com> wrote: > On Sep 7, 2015 1:43 PM, "Steve Litt" <sl...@troubleshooters.com> > wrote: > > > On Mon, 07 Sep 2015 11:21:24 -0400 > > Jim Kinney <jim.kin...@gmail.com> wrote: >

Re: [ale] systemd talk from July has slide deck online now

2015-09-08 Thread Steve Litt
script, then execs itself into a supervision program, and when the user chooses to shut down, runs the shutdown script? If all of the above is true, it sounds challenging to run the wait loop, to reap zombies and receive signals, in the same PID1 that is the service manager. I guess I'll have t

Re: [ale] systemd talk from July has slide deck online now

2015-09-09 Thread Steve Litt
ould *anybody* configure their services with XML, thereby requiring the init system to have a built in XML parser? XML parser in PID1, what could possibly go wrong? SteveT Steve Litt August 2015 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Steve Litt
ervices and oneshots. Here's the LittKit README: http://troubleshooters.com/projects/littkit/README I'm not saying nine little shellscripts is the best solution to the situation, but it's not all that tough a situation. SteveT Steve Litt August 2015 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Steve Litt
ll disuade a non-trivial number of people from working with s6-rc, all because of a (I think unfortunate) filename. SteveT Steve Litt August 2015 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Re: Some suggestions about s6 and s6-rc

2015-09-20 Thread Steve Litt
loading filenames for orthogonal uses strikes me as clever, but unnecessary and a documentation nightmare. SteveT Steve Litt August 2015 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Re: Built-in ordering

2015-09-20 Thread Steve Litt
en running whatever daemontools-encore calls their svscanboot program. All the rest happens in what would normally be called stage 2. SteveT Steve Litt August 2015 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Re: Some suggestions about s6 and s6-rc

2015-09-20 Thread Steve Litt
On Sun, 20 Sep 2015 11:26:00 +0200 Laurent Bercot <ska-supervis...@skarnet.org> wrote: > On 20/09/2015 07:30, Steve Litt wrote: > > Yes. The use of a file called "down" to tell the system not to run > > the process, and also the use of a script called

Built-in ordering

2015-09-20 Thread Steve Litt
ed the LittKit way and just run a script depositing "down" files before running the supervisor. But the LittKit way specifically defies Laurent's proposal that PID1 be able to restart the supervisor (I think). SteveT Steve Litt August 2015 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Supervising a pipeline?

2015-12-26 Thread Steve Litt
with things like daemontools-encore, s6, and runit. Thanks, SteveT Steve Litt November 2015 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques

Re: Supervising a pipeline?

2015-12-26 Thread Steve Litt
On Sat, 26 Dec 2015 18:25:22 +0100 Laurent Bercot <ska-supervis...@skarnet.org> wrote: > On 2015-12-26 18:09, Steve Litt wrote: > > #!/bin/sh > > exec /usr/bin/inotifywait /dev/disk > > | /usr/local/bin/automounter.py > > You can't supervise a pipeline per

Re: Supervising a pipeline?

2015-12-27 Thread Steve Litt
On Sun, 27 Dec 2015 10:28:57 +0100 Laurent Bercot <ska-supervis...@skarnet.org> wrote: > On 2015-12-27 01:34, Steve Litt wrote: > > Congrats Laurent: You've suggested a kludge that the King of > > Kludges, Steve Litt, cannot abide by. > > Eh, it's not even a k

Re: Entering a passphrase interactively in a runit script

2016-05-27 Thread Steve Litt
like to hear all about it, to the extent that you can tell given the obviously trade secret nature of what you're doing. SteveT Steve Litt May 2016 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21 -- SteveT Steve Litt May 2016 featured book: Rapid

Re: Entering a passphrase interactively in a runit script

2016-05-27 Thread Steve Litt
On Fri, 27 May 2016 18:45:09 +0200 Laurent Bercot <ska-supervis...@skarnet.org> wrote: > On 27/05/2016 18:29, Steve Litt wrote: > > 2) Have the daemon that needs to receive the password listen on a > >socket, and have a front end program (could be telnet) ask the >

Re: Entering a passphrase interactively in a runit script

2016-05-26 Thread Steve Litt
ather than just a program the user runs? Thanks, SteveT Steve Litt May 2016 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21

Re: How to supervise an early process [s6-svscan root pivot]

2016-06-21 Thread Steve Litt
at this > point. :-) LOL, which brings us full circle back around to the original post of this thread :-) SteveT Steve Litt June 2016 featured book: Troubleshooting: Why Bother? http://www.troubleshooters.com/twb

Re: How to supervise an early process [s6-svscan root pivot]

2016-06-21 Thread Steve Litt
ote, doesn't the bootloader config already contain the info to know which device, and isn't that device mounted before the initramfs does the switch_root or pivot_root? What do they need udevd for? They have the UUID, for gosh sakes. SteveT Steve Litt June 2016 featured book: Troubleshooting: Why Bother? http://www.troubleshooters.com/twb

How to supervise an early process

2016-06-19 Thread Steve Litt
the if statement. This should work on daemontools, daemontools-encore, runit and s6. It might run on more, but those four are the only ones I've used. One of the outstanding benefits of supervision suites is how malleable they are with a little imagination. Thanks, SteveT Steve Litt June 2016

Crash script for Runit?

2016-01-15 Thread Steve Litt
daemons goes down, whether or not it comes back up (sometimes they just keep changing PIDs and having a 0 uptime). Thanks, SteveT Steve Litt January 2016 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28

No DOWN file support in runit?

2016-02-13 Thread Steve Litt
starting at boot? I hope the answer isn't to unlink it. Thanks, SteveT Steve Litt February 2016 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: What's the difference between s6 and s6-rc?

2016-02-25 Thread Steve Litt
On Thu, 25 Feb 2016 16:02:11 +0100 Laurent Bercot <ska-supervis...@skarnet.org> wrote: > On 25/02/2016 15:47, Steve Litt wrote: > > Could somebody, in one or two sentences, tell me the difference > > between s6 vs s6-init? > > I'm not looking for references to big

Re: What's the difference between s6 and s6-rc?

2016-02-25 Thread Steve Litt
On Thu, 25 Feb 2016 19:26:11 +0100 Laurent Bercot <ska-supervis...@skarnet.org> wrote: > Do you think a glossary page would help? Yes yes yes yes YES!!! SteveT Steve Litt February 2016 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Improving http://skarnet.org/software/s6-rc/why.html

2016-02-25 Thread Steve Litt
/Freedesktop contingent would get even more power to consumer more of the Linux low level programming, to the point where using a Process Supervision Suite would preclude a system most people want to have. SteveT Steve Litt February 2016 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Re: The plans for Alpine Linux

2016-02-27 Thread Steve Litt
that any accommodation, by him, for any other daemon startup, would be giving aid and comfort to the enemy. * Daemon maintainer might be one of these guys who tries to (example) Debianize the run script to the point where the beauty and simplicity and unique qualities of the service manager are discarded. SteveT Steve Litt January 2016 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28

Re: C API for service management

2016-01-19 Thread Steve Litt
. Why can't your daemon be a simple shellscript? SteveT Steve Litt January 2016 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28

Re: Determining the running init

2016-05-02 Thread Steve Litt
C [root@mydesk ~]# lsof -a -p 1 -d txt COMMAND PID USER FD TYPE DEVICE SIZE/OFFNODE NAME runit 1 root txtREG8,1 754872 2364332 /usr/bin/runit [root@mydesk ~]# Beware that this is Runit as installed by Void Linux. I suppose theoretically a different type of Runit installation could y

Re: register runsvdir as subreaper

2017-02-02 Thread Steve Litt
ices inside the > Docker container. > > > Mitar > > On Wed, Feb 1, 2017 at 9:55 AM, Steve Litt > <sl...@troubleshooters.com> wrote: > > On Wed, 1 Feb 2017 12:09:01 -0500 > > Roger Pate <ro...@qxxy.com> wrote: > > > >> On Wed, Feb 1, 2017

Re: register runsvdir as subreaper

2017-02-01 Thread Steve Litt
at runs runsvdir (with the runit init system)? What starts up whatver sv script? Thanks, SteveT Steve Litt January 2017 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Re: register runsvdir as subreaper

2017-02-01 Thread Steve Litt
le but reap zombies, listen for signals, and fork the sv system which of course spawns runsvdir. So if I understand your request, it should be doable via the existing PID1, or via a PID1 you substitute or add code to. SteveT Steve Litt January 2017 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Re: s6 talk at FOSDEM 2017: video

2017-02-06 Thread Steve Litt
s and supervision suites. Each definition should come with plenty of examples and enough redundancy that even the most unfamiliar can understand exactly what you're talking about. Which do you like more: Anopa, or s6-rc? Thanks for the great doc! SteveT Steve Litt January 2017 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Re: register runsvdir as subreaper

2017-02-03 Thread Steve Litt
anting inits to do more, my question is "why does it have to be done in the init?" Whatever you want to do, there are a million ways to do it, so it's not necessarily the responsibility of already-written, highly functioning software. SteveT Steve Litt January 2017 featured book: Troubleshooting: Just the Facts http://www.troubleshooters.com/tjust

Re: runsvdir polling

2017-01-15 Thread Steve Litt
On Sun, 15 Jan 2017 01:40:13 -0800 39066...@gmail.com wrote: > On Sat, Jan 14, 2017 at 04:10:07PM -0500, Steve Litt wrote: > > On Fri, 13 Jan 2017 21:12:27 -0800 > > 39066...@gmail.com wrote: > > > > > I'm using runit as my primary init on Linux to good

Re: Runit debian package fix for Ubuntu 16.04

2016-08-22 Thread Steve Litt
ks, SteveT Steve Litt A very satisfied runit user the past 10 months

Re: Mass bug filing: use and misuse of dbus-launch (dbus-x11)

2016-09-05 Thread Steve Litt
me monuments to modern software proclaim their multiseat, terminal-enabling technology is a reason to switch to systemd, even though terminals had their heyday in 1984. Talk about greybeards. One more thing: They talk about dbus as if it's a good thing. Even before systemd, I tried to stay away f

Re: Runit questions

2016-10-11 Thread Steve Litt
If some ways to run it work and others don't, continue to exploit the differences. SteveT Steve Litt September 2016 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28

Re: Runit questions

2016-10-13 Thread Steve Litt
ps the service directory forever, starting what needs to be started. Could you please elaborate on the symptom that happens to you when there's something wrong with a service directory, and if possible articulate on the flaw in that service directory? Thanks, SteveT Steve Litt September 2016 fea

Re: GNU Emacs now runs in foreground

2016-12-06 Thread Steve Litt
maybe. But I'm going to try it. To me, Linux is and should remain a DIY accessible OS, and that requires shunning all things FreeDesktop.Org. SteveT Steve Litt November 2016 featured book: Quit Joblessness: Start Your Own Business http://www.troubleshooters.com/startbiz

Re: GNU Emacs now runs in foreground

2016-12-06 Thread Steve Litt
:) > - can route music over fifos through network and make many > amchines play same music Thanks Martin, Could you please show me your run scripts for tmux, screen and mpd? These are the three I could see myself using in this manner. SteveT Steve Litt November 2016 featured book: Quit Joblessness: Start Your Own Business http://www.troubleshooters.com/startbiz

Re: runsvdir polling

2017-01-14 Thread Steve Litt
me consumption could be solved by running runsvdir and all the runsv's with a positive nice value. In my opinion, by far the greatest benefit of runit is its simplicity, and there's no way I'd trade that for a theoretical efficiency benefit. SteveT Steve Litt January 2017 featured b

Re: GNU Emacs now runs in foreground

2016-12-01 Thread Steve Litt
On Thu, 1 Dec 2016 20:48:37 +0300 Jean Louis <bugs@gnu.support> wrote: > On Thu, Dec 01, 2016 at 12:41:18PM -0500, Steve Litt wrote: > > > > > > Just before some time, emacs --daemon, would go into background, > > > so it was not feasible to control it w

Re: GNU Emacs now runs in foreground

2016-12-01 Thread Steve Litt
On Thu, 1 Dec 2016 20:28:46 +0300 Jean Louis <bugs@gnu.support> wrote: > On Thu, Dec 01, 2016 at 12:05:31PM -0500, Steve Litt wrote: > > OK, I'll byte. > > > > I thought emacs was an editor that a human runs in the foreground to > > edit files, so my reacti

Re: GNU Emacs now runs in foreground

2016-12-01 Thread Steve Litt
is in the > development version or git. OK, I'll byte. I thought emacs was an editor that a human runs in the foreground to edit files, so my reaction to this was "of course it runs in the foreground!" What am I missing? Thanks, SteveT Steve Litt November 2016 featured b

[offlist] If Linux Is About Choice, Why Then ...

2017-04-09 Thread Steve Litt
or spare VM, fire up a non-systemd Linux and install runit or s6. Work with it for awhile. Write your own daemons and deploy them. with runit and s6, a daemon is just a program: It doesn't have to background itself. SteveT Steve Litt April 2017 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques

Re: s6-svscanboot, how to exit?

2017-07-14 Thread Steve Litt
On Fri, 14 Jul 2017 22:29:04 +0300 Jean Louis <bugs@gnu.support> wrote: > On Fri, Jul 14, 2017 at 02:31:28PM -0400, Steve Litt wrote: > > > If you're fine with it not being supervised and insist on > > > launching s6-svscanboot from /etc/rc.local, then you want to >

Re: s6-svscanboot, how to exit?

2017-07-14 Thread Steve Litt
u want to enclose all its > commands in a "background { }" block, which is execline's equivalent > of the shell's &. Or, from sysvinit, you can put it as a respawn in /etc/inittab, so that s6svscanboot itself is supervised, by sysvinit. SteveT Steve Litt July 2017 featured book: Quit Joblessness: Start Your Own Business http://www.troubleshooters.com/startbiz

Re: s6-svscanboot, how to exit?

2017-07-16 Thread Steve Litt
C, tell them you need to spawn daemontools, tell them daemontools does not put itself in the background, and that you want it restarted if it stops. They'll tell you what to do. By the way, you might have to tell it to put /command on the $PATH. If you need that and you cannot get systemd to handle it, I'll give you a shellscript to get it done. SteveT Steve Litt July 2017 featured book: Quit Joblessness: Start Your Own Business http://www.troubleshooters.com/startbiz

Re: s6 as a systemd alternative

2017-06-28 Thread Steve Litt
On Wed, 28 Jun 2017 22:31:12 -0300 Guillermo <gdiazhartu...@gmail.com> wrote: > 2017-06-28 14:40 GMT-03:00 Steve Litt: > > > > On Mon, 26 Jun 2017 14:53:50 + "Laurent Bercot" wrote: > >> > >> The problem with the runit model is that

Re: s6 as a systemd alternative

2017-06-30 Thread Steve Litt
On Thu, 29 Jun 2017 19:57:55 -0300 Guillermo <gdiazhartu...@gmail.com> wrote: > 2017-06-29 1:43 GMT-03:00 Steve Litt: > > > > On Wed, 28 Jun 2017 22:31:12 -0300 Guillermo wrote: > >> > >> But then you end up with an unsupervised runsv process, > >&g

Re: s6 as a systemd alternative

2017-06-30 Thread Steve Litt
not an enemy of anything you apply the word "supervision" to. I think I understand your reasons for doing what you do. It's just that with my current use case, I've traded some of s6's process and boot security (you know what I mean) for a simpler PID1 and a standalone daemon respawner. If and when I get a use case requiring more durability of processes and what runs them, I'll for sure use s6 for that. SteveT Steve Litt June 2017 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

Why /command ?

2017-07-01 Thread Steve Litt
. Thanks, SteveT Steve Litt June 2017 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key

  1   2   >