Re: nosh version 1.33

2017-04-20 Thread Jonathan de Boyne Pollard
Talking of Gentoo, Guillermo: The Gentoo people have been inspired by Archnosh, but it looks like they could benefit from your experience. * https://wiki.gentoo.org/wiki/Nosh

Re: nosh version 1.33

2017-04-18 Thread Jonathan de Boyne Pollard
Guillermo: > Is this so that package managers can alert users when they try to install > packages with these conflicts? No. It was to make it so that M. Caravia could build packages for Arch Linux. Arch Linux has a system like /command, except that it doesn't have the alternatives-like symbolic

Re: Vim `.swp' files in nosh source tarballs

2017-04-16 Thread Jonathan de Boyne Pollard
I purge the directories of these from time to time, as I have just done again. But they tend to very slowly accrue, for one reason or another. It's not a major worry. Anyway, better that the archive have everything including some harmless text editor temporary files than that it have one vital f

nosh version 1.33

2017-04-09 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.33 . * http://jdebp.eu./Softwares/nosh/ * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project * http://jdebp.info./Softwares/nosh/ This has been held back because of work being done by someone else. I don't want to steal xyr th

Immortal: "based on daemontools & runit"

2017-03-31 Thread Jonathan de Boyne Pollard
"Immortal", a tool that is a "*nix cross-platform (OS agnostic) supervisor based on daemontools & runit" according to its blurb, has just come up on Hacker News. I mentioned M. Bercot. * https://news.ycombinator.com/item?id=13994687

djbwares version 5

2017-03-30 Thread Jonathan de Boyne Pollard
djbwares is now at version 5. * http://jdebp.eu./Softwares/djbwares/ * http://jdebp.info./Softwares/djbwares/ This contains some long-overdue changes: ip6.int has been replaced by ip6.arpa in tinydns-data and dnscache, and rblsmtpd no longer falls back to using an RBL that has been defunct for ma

Re: register runsvdir as subreaper

2017-02-02 Thread Jonathan de Boyne Pollard
Laurent Bercot: if runsvdir uses PATH resolution to find runsv prog[0] ="runsv"; prog[1] =name; prog[2] =0; ... pathexec_run(*prog, prog, (const char* const*)environ);

Re: register runsvdir as subreaper

2017-02-02 Thread Jonathan de Boyne Pollard
Laurent Bercot: You want runsvdir to be your reaper, so you'd just run "local-reaper runsvdir scandir" instead of "runsvdir scandir". Actually you'd run > local-reaper true runsvdir scandir

Re: register runsvdir as subreaper

2017-02-02 Thread Jonathan de Boyne Pollard
Roger Pate: Simple, but you do point out in local-reaper's docs, "One cannot just apply this willy-nilly." :P One can apply it to runsvdir. I checked. It waits for arbitrary children, and does not get confused by children that it did not spawn turning up. Roger Pate: (And how should we ap

Re: register runsvdir as subreaper

2017-02-01 Thread Jonathan de Boyne Pollard
Mitar: I would like to ask if runsvdir could by default be defined as a subreaper on Linux. You are talking to people well versed in the idea of chain-loading programs for affecting process state. The answer here is to simply run runsvdir through a chain-loading program that sets the proc

Re: register runsvdir as subreaper

2017-02-01 Thread Jonathan de Boyne Pollard
Kamil CholewiƄski: Reaping orphaned children should be the duty of PID 1. * http://unix.stackexchange.com/a/197472/5132 * http://unix.stackexchange.com/a/177361/5132 There is no objective basis for such a claim, this not actually being a minimal requirement of process #1. Welcome to the fut

Re: nosh version 1.31

2017-01-30 Thread Jonathan de Boyne Pollard
Guillermo: One could instead attach controllers to the hierarchy rooted in /sys/fs/cgroup/systemd, for example by mounting it with 'mount -t cgroup -o cpu,name=systemd cgroup /sys/fs/cgroup/systemd' (not with system-manager as process 1), and things would appear to be OK: It's tempting to

nosh version 1.32

2017-01-30 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.32 . * http://jdebp.eu./Softwares/nosh/ * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project * http://jdebp.info./Softwares/nosh/ This release fixes two problems with Gentoo Linux (control group version detection and a pr

nosh with Debian's sysstat package

2017-01-29 Thread Jonathan de Boyne Pollard
Someone: I haven't installed much else yet on the system but I tried the sysstat package which gives me the following error: preset: ERROR: sysstat: No such file or directory I haven't yet investigated this problem. Sysstat seems to be part of the Debconf enable/disable system, I'm not

nosh packaged for Arch Linux

2017-01-29 Thread Jonathan de Boyne Pollard
Someone: I am trying to create one or multiple packages for Archlinux to install nosh This has come up several times with multiple people, now. I have no Arch Linux machines, and I am entirely dependent from Arch Linux people for the packaging part. As I already told one person back in A

Re: nosh version 1.31

2017-01-24 Thread Jonathan de Boyne Pollard
Guillermo: 11363 login 1:name=systemd:/service-manager.slice/agetty@.service/agetty@tty1.service 115 113 bash 1:name=systemd:/service-manager.slice/agetty@.service/agetty@tty1.service 131 115 ps 1:name=systemd:/service-manager.slice/agetty@.se

Re: nosh version 1.31

2017-01-24 Thread Jonathan de Boyne Pollard
Guillermo: It's just a matter of ordering constraints, [...] You are forgetting CONFIG_PROC_FS. (-:

Re: nosh version 1.31

2017-01-23 Thread Jonathan de Boyne Pollard
Guillermo: The problem seems to be those whose corresponding array of iovecs doesn't have a 'from' element, I hit this with cgroupfs and tmpfs in version 1.28 and thought that it was just specific to those filesystem types. The reason that I never hit it with procfs, devtmpfs, and sysfs is

[trueos/trueos-core] PCDM-session does not wait for the right process ID (#260)

2017-01-14 Thread Jonathan de Boyne Pollard
For those joining us, TrueOS (formerly PC-BSD) has a display manager. It involves a set of rather confusingly named programs. An rc shell script named pcdm invokes a shell script named PCDMd, which invokes xinit, which invokes a C++ program named PCDM-session, which invokes a C program named

nosh version 1.31

2017-01-14 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.31 . * http://jdebp.eu./Softwares/nosh/ * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project * http://jdebp.info./Softwares/nosh/ This release fixes a problem with emergency mode that was introduced by accident in 1.29 .

Re: Adding capability control into the `run' script comparison page

2017-01-13 Thread Jonathan de Boyne Pollard
Guillermo: Nope, it's a 4.4-series kernel. I've wangled a later kernel out of Debian 8 backports. (-: I'm going to have to write v1 detection for you, then. Alright. 1.31 is going to be slightly delayed.

Re: Adding capability control into the `run' script comparison page

2017-01-13 Thread Jonathan de Boyne Pollard
Jonathan de Boyne Pollard: To anyone running the service manager and bundles from nosh version 1.28 or later on Linux: You are encouraged to look at your control group hierarchy, with a tool like "systemd-cgls /", with the "cgroup" field of the ps command, or by simply

Re: Adding capability control into the `run' script comparison page

2017-01-13 Thread Jonathan de Boyne Pollard
Guillermo: (/sys/fs/cgroup itself is a tmpfs on my machine) Does your kernel support version 2 cgroupfs?

Re: s6 talk at FOSDEM 2017

2017-01-06 Thread Jonathan de Boyne Pollard
Casper Ti. Vector: resource control and [...] cgroup support can be easily implemented with chainloading I pointed at the nosh Guide back in December. The sharp-eyed will notice the advent of a new command in the command list chapter. This is a sneak preview of 1.31.

Re: s6 talk at FOSDEM 2017

2017-01-04 Thread Jonathan de Boyne Pollard
Your goo.gl hyperlink on page 34 is to the old WWW site. (-:

nosh version 1.30

2016-12-31 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.30 . * http://jdebp.eu./Softwares/nosh/ * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project * http://jdebp.info./Softwares/nosh/ service bundles --- As usual, there are more service bundles, including for the U

Re: nosh: service-control --exit

2016-12-31 Thread Jonathan de Boyne Pollard
Guillermo: for some reason 'service-control --exit' doesn't unload a service that is already in the 'stopped' state. I'll look into it for 1.31. You won't see a fix in 1.30 because that is coming out ... well ... now.

Re: NOTE_TRACK, EVFILT_PROC, kqueue, and subreapers

2016-12-13 Thread Jonathan de Boyne Pollard
Jilles Tjoelker: This should probably be fixed. There's another more insidious bug hiding inside kevent() somewhere that causes a kernel abend complaining about a sleeping thread holding a non-sleepable lock. One needs to make fairly heavy use of kevent() in order to trigger it, I believe,

Re: subreapers

2016-12-13 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: Subreaper won't even wake when it acquires new child. You're following the other discussion about this, ne?

Re: nosh per-user service management

2016-12-11 Thread Jonathan de Boyne Pollard
Jean Louis: So, placing user daemons into system supervision may not be the best option, due to so many customization that have to be done for the user, especially for GNU Emacs -- as one cannot know which programming languages and their variables are required. I just explained that these

subreapers

2016-12-11 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: Point of tool is simple: it always runs marking itself as "subreaper", thus any descendants who lose parent, that was running under it, will get reparented (and their attached process subtrees as well) under it's process. Once "main", the important and original, child ex

Re: subreapers

2016-12-11 Thread Jonathan de Boyne Pollard
What M. Misuth is doing is the most imaginative use of local reapers that I have come across. What I wrote in the nosh doco back in version 1.0 was: > This yields a slightly more informative process tree. This was presented as a mere side-effect by Poettering and Sievers in 2012. The main i

Re: GNU Emacs now runs in foreground

2016-12-08 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: exec mpd --no-daemon /usr/home/eto/.config/mpd/mpd.conf Jonathan de Boyne Pollard: Tip: In the daemontools world all services have ther own service directory, at minimum; and this directory is the working directory of the service. You can put an mpd.co

Re: GNU Emacs now runs in foreground

2016-12-08 Thread Jonathan de Boyne Pollard
Jonathan de Boyne Pollard: One of the interesting developments over the past couple of decades is how much the world has been influenced to come around to the daemontools way of doing this. I've observed before, elsewhere, the number of daemon programs, especially in the BSD worlds, that

NOTE_TRACK, EVFILT_PROC, kqueue, and subreapers

2016-12-08 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: I think that might be the reason why my PID1 s6-svscan on FreeBSD is accumulating zombies sometimes (seems like it is affected by dead descendants of ssh and my experiments). [...] Anyway as you are probably much closer to FreeBSD team than I am, [...] I'm not. You have

nosh per-user service management

2016-12-08 Thread Jonathan de Boyne Pollard
Jean Louis: If I understand it well, in your system, you define services, and then the service may be marked for start by user? And then it runs on each boot by user? In this system, there is a per-user service manager, that manages services run by the user. All of the processes live outwith

client-server desktop application design

2016-12-08 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: It was experiment to see whether it kills all spawned "shell trees" when X goes away. Which it of course does. Maybe Mr Schmorp would be willing to implement feature to freeze shell instances in such cases? Who knows. These so-called client-server designs for these things

services that need DISPLAY

2016-12-08 Thread Jonathan de Boyne Pollard
Daniel Kahn Gillmor: Yet surely there are some user-wide services that don't need DISPLAY at all, and would be happy to run per-user? GNOME Terminal isn't one of them. Witness the behaviour of gnome-terminal-server run as a service if it doesn't have a DISPLAY environment variable: @4

passing the listening socket as an open file descriptor

2016-12-08 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: I personally am not so "hot" about this listening socket passing stuffs. When you've had to deal with tens if not hundreds of different ways of saying "listen on this IP address and port", you'll come around to the idea of having a single tool that does this one job univ

subreapers

2016-12-08 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: I think Mr Jonathan de Boyne Pollard might be cooking, or even already has, something similar in nosh. Long since. (-: It was in version 1.0 . Martin "eto" Misuth: at some point I was interested in digging out whether systemd had "subreapers&q

Re: GNU Emacs now runs in foreground

2016-12-08 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: On my presonal box "user level" s6 /services subtrees are in `.config/s6/host` For comparison: ~/.config/service-bundles/services/ and ~/.config/service-bundles/targets/ Martin "eto" Misuth: #!/bin/sh exec mpd --no-daemon /usr/home/eto/.config/mpd/mpd.conf Tip: In th

Re: Adding capability control into the `run' script comparison page

2016-12-07 Thread Jonathan de Boyne Pollard
Guillermo: I suppose the interesting suprise is that as consequence, when a service definition gets 'imported' to nosh from a unit file (and this covers pretty much everything in the nosh-bundles* binary packages),the corresponding service gets placed in a cgroup of its own when launched by no

Re: GNU Emacs now runs in foreground

2016-12-07 Thread Jonathan de Boyne Pollard
Daniel Kahn Gillmor: dbus-user-session supports at most one graphical session concurrently ... in order to avoid people encountering the very problem of half-hearted and flawed implementations that I described. Non-half-hearted implementations are the goal, however. Read https://lists.debia

Re: Adding capability control into the `run' script comparison page

2016-12-07 Thread Jonathan de Boyne Pollard
Casper Ti. Vector: But I do think the capability argument has its validity: chainloading is, at this time, not well known to normal users, which is why many systemd supporters compulsorily identify cgroup support with systemd with few people opposing. Therefore I suggest to add some examples o

GNU Emacs now runs in foreground

2016-12-06 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: - rxvt-unicode - uberterminal - this thing can operate [...] daemon, when single process hosts all your terminals - benefits are [...] Drawbacks are that it doesn't understand receiving the listening socket as an already-open file descriptor, and by default it p

Re: djbwares version 4

2016-12-06 Thread Jonathan de Boyne Pollard
Jonathan de Boyne Pollard: In celebration of the forthcoming leap second, djbwares is now at version 4. * http://jdebp.eu./Softwares/djbwares/ * http://jdebp.info./Softwares/djbwares/ Jean Louis: http://jdebp.info./Softwares/djbwares is not working: "access denied" and I ins

GNU Emacs now runs in foreground

2016-12-06 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: First, there are two major caveats, There are actually three. They break scripting. For example: People cannot use the GNOME Editor as $VISUAL or $EDITOR because one of the things implicit in the $EDITOR/$VISUAL mechanism is that when the program that has been invoked

Re: Adding capability control into the `run' script comparison page

2016-12-05 Thread Jonathan de Boyne Pollard
Casper Ti. Vector: the docs are in tarballs on jdebp.eu * http://jdebp.eu./Softwares/nosh/guide.html

djbwares version 4

2016-12-05 Thread Jonathan de Boyne Pollard
In celebration of the forthcoming leap second, djbwares is now at version 4. * http://jdebp.eu./Softwares/djbwares/ * http://jdebp.info./Softwares/djbwares/ I've added in the rest of M. Bernstein's public domain libtai library, parts of which were already included by some of the tools. This ha

Re: Adding capability control into the `run' script comparison page

2016-12-05 Thread Jonathan de Boyne Pollard
Casper Ti. Vector: one example for ulimit An irony here is that the page *already contains* two entire sets of examples that set memory resource limits, using daemontools, daemontools-encore, freedt, perp, s6, and nosh tools.

Re: nosh version 1.29

2016-12-03 Thread Jonathan de Boyne Pollard
Bloody Thunderbird! Here's that again, I hope without the surprise reformatting after pressing "send" this time: The nosh package is now up to version 1.29. * http://jdebp.eu./Softwares/nosh/ * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project * http://jdebp.in

Re: GNU Emacs now runs in foreground

2016-12-03 Thread Jonathan de Boyne Pollard
Jean Louis: emacs --new-daemon=NAME I have added a new per-user service for this to nosh, ready for version 1.30 . So one just has to start the per-user service manager # system-control start user@jlouis.target then start the emacs server $ system-control --user start emacs Adj

nosh version 1.29

2016-12-03 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.29. * http://jdebp.eu./Softwares/nosh/ * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project * http://jdebp.info./Softwares/nosh/ There's been a lot going on since version 1.28 . 2016 leap second The TAI to UT

perp WWW site problems

2016-11-29 Thread Jonathan de Boyne Pollard
The perp WWW site seems to have endured some damage. For example: * http://b0llix.net/perp/site.cgi?page=tinylog.8 is truncated partway through. * http://b0llix.net/perp/site.cgi?page=perpd.8 is similarly truncated. * http://b0llix.net/perp/site.cgi?page=links has some malformed markup.

Re: Problem with s6-softlimit -c

2016-11-27 Thread Jonathan de Boyne Pollard
Jan Olszak: Command that fails: s6-softlimit -c 1 pwd # strace s6-softlimit -c 204800 pwd ... prlimit64(0, RLIMIT_CORE, NULL, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0 prlimit64(0, RLIMIT_CORE, {rlim_cur=200*1024, rlim_max=RLIM64_INFINITY}, NULL) = 0 You seem to have

Re: ruinit-rpm systemd service file

2016-10-11 Thread Jonathan de Boyne Pollard
Otheus: From systemd's viewpoint, the *service *is runsvdir, and not runsvdir-start. The latter is simply a wrapper script for the former and needed because of initttab's limitations. With systemd, a service file can contain all the information in that script and more. Similarly: http://jd

Re: Runit questions

2016-10-11 Thread Jonathan de Boyne Pollard
Colin Booth: --system loads the system defaults. Actually, it tells it that it is a system-wide broker rather than a per-session or per-user broker.

Re: s6, listen(8), etc.

2016-09-06 Thread Jonathan de Boyne Pollard
Laurent Bercot: fds 6 and 7 are only used for UCSPI clients, which are a very minor subset of the programs you'd want to use that mechanism with. Laurent Bercot: I don't want the caller to tell me "here's a bunch of fds, you sort them out": that's just laziness. Just so that everyone is

Re: s6, listen(8), etc.

2016-09-05 Thread Jonathan de Boyne Pollard
Laurent Bercot: how does the daemon know what fd corresponds to what use? In the wild, it's generally a for() loop over the passed-in descriptors that checks each socket type. In the wild, only one of any type is often the case. "If AF_INET4 and SOCK_DGRAM, this must be my UDP4 socket." T

Re: s6, listen(8), etc.

2016-09-04 Thread Jonathan de Boyne Pollard
Daniel Kahn Gillmor: #!/bin/sh mkdir -p /run/kresd/workdir && \ setfacl -m u:kresd:rwx /run/kresd/workdir && \ cd /run/kresd/workdir && \ exec listen -udp::53 \ -tcp::53 \ -tcp:label=tls:853 \ -unix:label=control,mode=06

Re: s6, listen(8), etc.

2016-09-04 Thread Jonathan de Boyne Pollard
Daniel Kahn Gillmor wrote: So i'm hoping that it'll find a taker in one of these more toolkit-style supervisor suites. http://jdebp.eu./Softwares/nosh/#Features socket services section

Re: nosh: G++ warnings

2016-09-04 Thread Jonathan de Boyne Pollard
Just so everyone knows. This didn't get ignored. Guillermo has been quietly playing with 1.29 behind the scenes. This was a mixture of things. 1.29 will have (already has) some fixes for the genuine bugs and for some of the things which are the subject of much debate. (-: The fprintf()s

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

2016-09-04 Thread Jonathan de Boyne Pollard
Simon McVittie: This can already work. If you put XDG_RUNTIME_DIR in user programs' environment, and arrange for your favourite service manager to make a dbus-daemon (or something else that speaks the same protocol) listen on $XDG_RUNTIME_DIR/bus before any user process would try to connect t

Is missing SysV-init support a bug?

2016-09-03 Thread Jonathan de Boyne Pollard
Gerrit Pape: To me too this readiness IPC ideas and implementations look over-engineered. A good convention for service programs would be to functionally test for services it needs very early on startup, and fail if dependencies are not available. The service supervisor (any modern init sche

Re: Linuxisms in s6

2016-08-27 Thread Jonathan de Boyne Pollard
Adrian Chadd: [...] the uptime stuff really threw us. It's unfair to lay such system time problems at s6's door. Systems whose system clock jumps 46 years during system bootstrap don't get to blame s6 for mad time gaps that appear in logs and service start time records. There is a *lot* of

Re: Linuxisms in s6

2016-08-27 Thread Jonathan de Boyne Pollard
Adrian Chadd: Sure, but I'm looking for something more generic than just devd. Like, notifications about events like "default route is up" can be done by sniffing the rtsock, but notifications like "ntpdate has updated the date, we can now do crypto services" doesn't happen there right now.

Re: Linuxisms in s6

2016-08-27 Thread Jonathan de Boyne Pollard
Jonathan de Boyne Pollard: What are these Linuxisms in s6? s6-linux-utils and s6-linux-init have Linuxisms, obviously. But what Linuxisms does s6 have? Adrian Chadd: We just had a bunch of fun trying to get it to build right, [...] Such as what, specifically?

Linuxisms in s6

2016-08-24 Thread Jonathan de Boyne Pollard
http://adrianchadd.blogspot.co.uk/2016/08/freebsd-on-tiny-system-whats-missing.html?showComment=1471236502051#c1305086913155850955 , Adrian Chadd: We're using s6 at work, and it works out mostly ok. Mostly once you get around the linuxisms, and the lack of sensible time code in it (its calcula

Re: s6-linux-init: SIGUSR1 and SIGUSR2

2016-08-22 Thread Jonathan de Boyne Pollard
Guillermo: > a) SIGTERM for reboot > b) SIGUSR1 for halt > c) SIGUSR2 for poweroff > d) SIGINT for a programmable CTRL + ALT + Del action > e) SIGWINCH for a programmable 'keyboard request' action > > nosh's system-manager supports e) via the 'kbrequest' target. But for > compatibility reasons, su

Re: nosh version 1.28

2016-08-21 Thread Jonathan de Boyne Pollard
I don't know why you asked about FreeBSD rc.d just on the Debian mailing list; but I'm going to deal in both of those and others besides, here, and things that apply across both, so I've re-included the FreeBSD mailing list. (-: 2016-08-14 15:10, Julian Elischer: I don't know if I just misse

Re: nosh version 1.28

2016-08-15 Thread Jonathan de Boyne Pollard
Guillermo: OpenBSD === [...] There are an awful lot of limitations to OpenBSD, [...] How funny it is that this summary and the WWW page echo the sentiments in skarnet.org packages' source files comments and commit messages :D We didn't collaborate. (-: I don't actually know what M.

Re: nosh version 1.28

2016-08-15 Thread Jonathan de Boyne Pollard
> > I'm going to be very naughty and patch 1.28 post-release. It's a minor > change. > I've changed my mind. I'm going to point the two of you at a potential version 1.29 and see how you get on. This is because I have ended up doing slightly more than a 2-line script patch.

Re: nosh version 1.28

2016-08-14 Thread Jonathan de Boyne Pollard
Guillermo: Could the plain 'setlock' invocation in script source/default.html.do be changed to './exec setlock', as in scripts source/default.1.do and source/default.8.do, please? Otherwise we have the chicken-and-egg situation we had with nosh-1.19: It was supposed to be that way already.

Re: nosh and redo have moved

2016-08-14 Thread Jonathan de Boyne Pollard
Guillermo: Clicking on the links to the *.bz2 source packages results in an HTTP 404 error (but not with the links to the *.gz ones, so the packages can still be downloaded). The same thing happens with the links about their slashpackage-style, which point to a nonexistent FGA (I don't remembe

nosh version 1.28

2016-08-06 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.28 . * https://jdebp.eu./Softwares/nosh/ * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project * http://jdebp.info./Softwares/nosh/ There's a lot in this one: MySQL and MariaDB changes; more prophylaxis for Desktop Bus bus a

nosh and redo have moved

2016-08-04 Thread Jonathan de Boyne Pollard
The whole sorry tale of why is on the new WWW site. The upshot of it is that nosh and redo are in a new place. * https://jdebp.eu./Softwares/nosh/ ** https://jdebp.eu./Softwares/nosh/source-package.html ** https://jdebp.eu./Softwares/nosh/freebsd-binary-packages.html ** https://jdebp.eu./Sof

Re: Runit debian package fix for Ubuntu 16.04

2016-07-25 Thread Jonathan de Boyne Pollard
Pierre Jacomet: I did a couple of fixes to the debian package installer such that the debian/ubuntu installer deals properly with the dichotomy between systemd and upstart and the fact that they both may be installed in the system at the same time. This was causing the installer to fail in ub

Re: logging and mutualise outputs

2016-06-03 Thread Jonathan de Boyne Pollard
Vincent de RIBOU: Is it possible to perform the same mechanism but having concatenated file along all the others at all times ? There's always tail with the -F option on a list of "current" files. But you're then limited to just the "current" log data, it's tricky to track which output co

Re: logging and mutualise outputs

2016-06-03 Thread Jonathan de Boyne Pollard
Laurent Bercot: for logdir in `cat logdir_list` ; do (cd $logdir && cat *.s *.u current) ; done | sort > logfile find `cat logdir_list` -maxdepth 1 -type f \( -name '*.[su]' -o -name current \) -print0|xargs -0 sort -m -- > logfile sort can do a merge sort directly from the original files

Re: system-control unload-when-stopped (was: nosh version 1.23)

2016-05-30 Thread Jonathan de Boyne Pollard
Jonathan de Boyne Pollard: 1.28 is pretty much frozen now, and its release is awaiting my writing a WWW page about the MySQL/MariaDB changes. Enjoy a peek at one of the new pages already written: * http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh/italics-in-manuals.html

Re: Entering a passphrase interactively in a runit script

2016-05-26 Thread Jonathan de Boyne Pollard
Christophe-Marie Duquesne: Any idea how to proceed? You're running a daemon. It really shouldn't have an interactive user interface. Remember the lessons that resulted in Session 0 Isolation in Windows NT. There are several poor approaches. Here are two more: * Make your password into c

Re: system-control unload-when-stopped (was: nosh version 1.23)

2016-05-24 Thread Jonathan de Boyne Pollard
Guillermo: And as a consequence, the Guide ends up never actually explaining what the unload-when-stopped subcommand does (AFAICS, make service-manager unload the named service after its 'stop' file finishes executing, whatever the reason for running it was, so that a subsequent service-status

Re: nosh: convert-systemd-units' treatment of Standardxxx=tty directives

2016-05-24 Thread Jonathan de Boyne Pollard
Guillermo: So, the convert-systemd-units tool recognizes the systemd 'StandardInput=tty' unit file directive, and translates it to a vc-get-tty + open-controlling-tty sequence in the 'run' file of the generated bundle directory. Which does more than just redirecting stdin to the appropriate ch

Re: Setting open files for a process started by runit (using chpst)

2016-05-21 Thread Jonathan de Boyne Pollard
it looks like chpst cannot currently (or never could, not sure) change hard limits. The limit stanza in an upstart job file sets both hard and soft limits, explicitly. * http://upstart.ubuntu.com./cookbook/#limit * http://smarden.org/runit/useinit.html#upstart Bernstein's original softlimit

Re: HAProxy Hot Reconfiguration with s6

2016-05-21 Thread Jonathan de Boyne Pollard
IMHO more "proper" or rather interesting approach, could perhaps be some kind of helper program - "injecting" "alternator" sub-process - which would be running under s6-supervise. The haproxy people have already done this work for you. They call the program haproxy-systemd-wrapper. It's undo

Re: svlogd sub-directory log rotation?

2016-05-21 Thread Jonathan de Boyne Pollard
I have an application for which I need to keep all logs indefinitely. Rotating them into sub-directories would help keep the number of files from expanding into an unmanageable number. So if someone has any other suggestions on how to manage log rotation without pruning, I'm all ears. So wh

runit and daemontools on Ubuntu 16 and Ubuntu 15

2016-05-21 Thread Jonathan de Boyne Pollard
Ubuntu 15 and 16 have both systemd and ubuntu installed. This causes problems, and has been causing for over a year. Yes, all of these are the same core problem: * http://unix.stackexchange.com/a/284453/5132 * https://bugs.launchpad.net/ubuntu/+source/runit/+bug/1448164 * https://bugs.launc

nosh version 1.27

2016-05-06 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.27 . * http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh.html * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project In fact, it is soon to be version 1.28. This is a somewhat delayed notice for 1.27, beca

Re: Announcing cgid v0.1.0

2016-02-09 Thread Jonathan de Boyne Pollard
fREW Schmidt: To read the docs check out https://github.com/frioux/cgid/releases/download/v0.1.0/cgid-v0.1.0, where you can see examples of how to run under `nosh` or `s6`. That URL returned an XML error document from Amazon to me. https://github.com/frioux/cgid/releases/tag/v0.1.0 was a

nosh version 1.25

2016-01-31 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.25 . * http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh.html * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project As you may have noticed from discussions elsewhere, a new oom-kill-protect utility has sn

Re: UCSPI httpd?

2016-01-24 Thread Jonathan de Boyne Pollard
It might be worth asking what * http://lua-users.org/lists/lua-l/2006-10/msg00770.html was all about. See also: * https://dev.openwrt.org/ticket/8453 * http://people.igalia.com/aperez/bill/lib/www/http.html * http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg02065.html

Re: How to compile nosh?

2016-01-23 Thread Jonathan de Boyne Pollard
I was going to warn you that you're about to kick yourself, but I see that Guillermo has already replied, so you're probably already kicking yourself. (-: fREW Schmidt: First off, there's no README or anything, so I sorta have to guess. [...] Again there's no README for redo. As Guillerm

Re: Supervising a pipeline?

2016-01-18 Thread Jonathan de Boyne Pollard
Laurent Bercot: You can't supervise a pipeline per se; you need to supervise both processes in the pipeline independently, and make sure the pipe isn't broken when one of them dies. So, have "exec inotifywait /dev/disk" as foobar/run, and have "exec automounter.py" as foobar/log/run. This wi

Re: Holidays Brainstorming: instanced supervision

2016-01-18 Thread Jonathan de Boyne Pollard
Olivier Brunel: With instanced services, it means when you enable such a service you add/specify an instance name. So e.g. the servicedir is "getty@" but you enable "getty@tty2" -- which just means the servicedir getty@ is copied under a different name in the scandir. The intent being that t

nosh version 1.24

2016-01-13 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.24 . * http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh.html * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project Minor items in this release include: * A fix for BSD keyboard layout import, that makes b

Re: nosh version 1.23

2016-01-03 Thread Jonathan de Boyne Pollard
Guillermo: So I looked at the source/targets/virtualbox-host.target file from which the bundle is created, and, IMHO, there are some issues with it. That's not surprising. Running as a virtualbox host is not something that is well tested. As you can see from the roadmap WWW page, there are

Re: nosh version 1.23

2016-01-03 Thread Jonathan de Boyne Pollard
Guillermo: It seems that the 'unload-when-stopped' and 'version' subcommands of system-control are not mentioned in the documentation. They both should be. I've added the latter to the doco ready for the next version. The former I'm wavering about. I've had a to-do item for some time to t

nosh version 1.23

2015-12-17 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.23 . * http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh.html * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project There is one major item in this release. * I've adjusted console-fb-realizer's keyboard h

Re: nosh: service-dt-scanner gets repeatedly killed by SIGABRT

2015-11-05 Thread Jonathan de Boyne Pollard
On 2015-11-05 01:29, Guillermo wrote: So problem solved. Thank you, this is a major improvement. Brill. Thank you for the confirmation.

nosh version 1.22

2015-11-01 Thread Jonathan de Boyne Pollard
The nosh package is now up to version 1.22 . * http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh.html * https://www.freebsd.org/news/status/report-2015-07-2015-09.html#The-nosh-Project There are several things in this release: * a new binary package for FreeBSD * improvemen

<    1   2   3   >