For those of us who use (and don't mind) slashpackage conventions for our
non-packaged code, what changes are we going to need once the new s6 stuff
lands? Based on prior comments I'm assuming it'll still be a viable option,
but it'd be nice to know ahead of update day.
Cheers!
--
If the doors
On Mon, Aug 25, 2014 at 7:59 PM, John Vogel jvog...@stny.rr.com wrote:
If I define a variable to some value at the top level of an execline script,
there seems no way to redefine it.
Stripped down example:
#!/command/execlineb
define var 0
foreground { echo $var }
define var 1
foreground
Hi all,
I just submitted s6 to the ports collection in Freebsd. I also added
patches to update execline to 2.0.2.0 from 1.08, update skalibs to
2.2.1.0 from 0.47, and to take maintainership of both of them. All
three bugs are in the request pipeline and might take some time to get
through.
It
On Mar 3, 2015 2:35 PM, Olivier Brunel j...@jjacky.com wrote:
Log lines are actually prefixed with uids from $IPCREMOTEEUID
$IPCREMOTEEGID,
so they should be acocunted for in the regexs.
Damn, you're right.
Also note the need to use \s because, AFAIK, there's no way to use spaces
in the
The s6 port was accepted this morning so the ports collection now has:
skalibs-2.3.0.0
execline-2.0.2.1
s6-2.1.1.1
I'm unlikely to port any of the other skaware packages in the near
future since these are the only three that I run with any regularity
on bsd.
Laurent, I forewent anything related
Apologies to Laurent who is about to get this one twice.
On Mon, Apr 27, 2015 at 12:48:58AM +0200, Laurent Bercot wrote:
I'll probably add an automatic bundling feature for a daemon and its
logger; however, a oneshot to create a chroot directory? That's too
specific. That's not even
On Fri, Aug 21, 2015 at 6:36 PM, Guillermo gdiazhartu...@gmail.com wrote:
Hello,
I have the following issues with the current s6-rc git head (last
commit 8bdcc09f699a919b500885f00db15cd0764cebe1):
(snip)
I run my s6 stuff in slashpackage configuration so I missed the
s6-fdholder-filler
On Fri, Aug 21, 2015 at 4:33 PM, Laurent Bercot ska-skaw...@skarnet.org wrote:
On 22/08/2015 01:03, Buck Evan wrote:
Actually, apparently HTML is the preferred format, so we're good.
https://www.debian.org/doc/debian-policy/ch-docs.html#s12.4
Yeah, in the 12.1 section they still say that
Hey all,
I've reconfigured one of my debian systems to boot with s6-init/s6-rc
and while trying to debug a timing issue that I think was my own fault
(my all services bundle didn't contain my ersatz single-user
bundle). That mucked up a bunch of timing since half of the
initialization stuff
On Thu, Aug 20, 2015 at 1:16 PM, Colin Booth cathe...@gmail.com wrote:
By the way, I've found a maybe-bug that, if real, is pretty severe.
`s6-rc -d change all ; some stuff ; s6-rc -u change all' has caused my
s6-init + s6-rc testbed system to remove the control pipe for my pid 1
s6-svscan. I
On Thu, Aug 20, 2015 at 2:35 AM, Laurent Bercot ska-skaw...@skarnet.org wrote:
I can't grep the word addition in my current git, either s6 or s6-rc.
Are you sure it's not a message you wrote? Can you please give me the
exact line you're running and the exact output you're getting?
Thanks,
On Thu, Aug 20, 2015 at 1:57 AM, Laurent Bercot ska-skaw...@skarnet.org wrote:
Just don't have a notification-fd file. s6-rc will assume your daemon
is ready as soon as the run script is started. It may spam you with a
warning on high verbosity levels, but that's it. :)
Yeah, this is for the
On Thu, Aug 20, 2015 at 10:24 AM, Laurent Bercot
ska-skaw...@skarnet.org wrote:
Oh, the protocol is complicated too. If I start to implement it,
there's no stopping, and I'll be running behind systemd every time
they add something to the protocol, which is exactly what I don't
want to do.
On Thu, Aug 20, 2015 at 8:44 AM, Laurent Bercot ska-skaw...@skarnet.org wrote:
In that case, yes,
if { init } if { notification } daemon is probably the best. It
represents service readiness almost correctly, if service includes
the initialization.
Cool. Not the most elegant but good to
Hi Laurent,
I'm pretty sure some change in skalibs v2.3.6.0 broke some types of
message handling in ucspilogd. Specifically, a computer I have running
skalibs v2.3.5.1 and s6 v2.1.6.0 is able to read messages sent via the
logger command, whereas a computer I have running skalibs v2.3.6.0 and
s6
On Thu, Aug 13, 2015 at 9:46 AM, Laurent Bercot ska-skaw...@skarnet.org wrote:
Oh, and btw, I'll have to change s6-rc-init and go back to the
the directory must not exist model, and you won't be able to
use a tmpfs as live directory - you'll have to use a subdirectory
of your tmpfs.
Ah
On Thu, Aug 13, 2015 at 9:37 AM, Laurent Bercot ska-skaw...@skarnet.org wrote:
Eh... keep a backup of your current source, if you're using it in
a half-serious environment. The current version uses automatically
generated services, and the scripts haven't been tested yet, it's
the first
On Thu, Aug 13, 2015 at 11:40 AM, Laurent Bercot
ska-skaw...@skarnet.org wrote:
You like to play with fire. :)
Until it's released, it's not production-ready by any means.
Just making sure you're very much aware of that.
It's how I roll. Plus the backout path to a functional system takes a
On Mon, Jul 13, 2015 at 3:20 PM, Laurent Bercot ska-skaw...@skarnet.org wrote:
Ah, so that's why you didn't like the must not exist yet requirement.
OK, got it.
Yeah, mounting another tmpfs inside the noexec tmpfs can work, thanks
for the idea. It's still ugly, but a bit less ugly than the
On Fri, Jul 17, 2015 at 10:13 AM, Claes Wallin (韋嘉誠)
skar...@clacke.user.lysator.liu.se wrote:
On 17-Jul-2015 12:49 am, Colin Booth cathe...@gmail.com wrote:
Depending on your cron, users might be able to simply put an @reboot
s6-svscan in their user crontab. I don't see many drawbacks
On Sat, Jul 11, 2015 at 10:59 PM, Laurent Bercot
ska-skaw...@skarnet.org wrote:
So I decided to publish what's already there, so you can test it and
give feedback while I'm working on the rest. You can compile service
definition directories, look into the compiled database, and run the
On Fri, Aug 21, 2015 at 2:11 AM, Laurent Bercot ska-skaw...@skarnet.org wrote:
Wow. Is it a mount -o remount, or a umount followed by a mount ?
If a -o remount has this effect on file handles, then it's probably
worth reporting to the kernel guys, because it's insane.
Even if the script
On Tue, Sep 8, 2015 at 1:43 PM, Colin Booth <cathe...@gmail.com> wrote:
> On Tue, Sep 8, 2015 at 1:36 PM, Buck Evan <b...@yelp.com> wrote:
>> Below is a silly toy service that I've used to prove out some of the s6
>> behavior.
>>
>> $ cat date/run
>> #
On Sun, Sep 13, 2015 at 11:25 PM, Colin Booth <cathe...@gmail.com> wrote:
> Things it didn't do right:
> Put the links back into /run/service
>
> That last one was a bit surprising, and is totally fine until the next
> time I (or something else) issues `s6-svscanctl -an /run/
On Sun, Sep 13, 2015 at 2:34 PM, Laurent Bercot wrote:
>
> I'm afraid there's no real solution to the stragglers problem, and the
> only safe approach is to keep everything mounted all the time and only
> perform the unmounts in stage 3 after everything else has been
On Wed, Sep 23, 2015 at 7:54 PM, Avery Payne wrote:
>> I can send you my (almost) 100% functional Debian rcS stuff replacement
>> stuff that I use to run one of my systems. If you can figure out why the
>> acpid keyboard hooks don't work after start, that'd be great.
On Thu, Sep 24, 2015 at 2:23 AM, Laurent Bercot <ska-skaw...@skarnet.org> wrote:
> On 24/09/2015 02:55, Colin Booth wrote:
>> rc scripts are easy peasy: figure out dependency order, write
>> oneshots. The only one that was an issue is the udev script, and I
>>
On Mon, Nov 30, 2015 at 12:14 AM, Laurent Bercot
wrote:
> Hm ? I don't think awk understand delimiters at all. It only
> takes a single argument (in this case). The quotes are a shell
> thing.
>
Delimiters was the wrong word. I was poorly trying to say that it
wanted its
On Sat, Feb 6, 2016 at 10:41 AM, Brett Neumeier wrote:
> Hi,
>
> I'm trying to get a handle on execline and have found some behavior that
> perplexes me. I'm hoping someone can clarify what's going on!
>
You came to the right place!
>
> If I change the first foreground
On Thu, Feb 2, 2017 at 4:43 AM, Guillaume Perréal wrote:
> Hello,
>
> I finally have a working initramfs and know the system is happily booting. I
> am slowly adding one-shots and services to build a functional server
>
> However, it seems there is an issue with poweroff :
>
>
On Fri, Mar 31, 2017 at 6:02 AM, Guillaume Perréal wrote:
> Pandoc (http://pandoc.org/) might be useful. The out-of-the-box template is
> ugly, but nonetheless usable.
>
That's what I was using but the post-processing editing overhead was
too high without digging in and
On Mar 25, 2017 10:01 PM, "S. Gilles" wrote:
>
> This is a rather silly question, but the other day I wanted to look
> up the syntax of some command or other, but had no internet connection.
> I had always assumed that the online documentation was generated
> from manpages,
On Sat, Apr 15, 2017 at 03:12:11PM +0200, En Nu wrote:
> I tried:
>
> sudo apt-get install skalibs-dev
> git clone git://git.skarnet.org/execline
> cd execline
> ./configure
>
> I get this error running the above:
>
> ./configure: error: /usr/lib/skalibs/sysdeps is not a valid sysdeps directory
On Fri, May 26, 2017 at 03:58:15PM -0500, Brett Neumeier wrote:
> Hello Skaware!
>
> I'm in the process of setting up s6 and s6-rc as the init and service
> management systems for my linux system, and am curious: is there a
> significant functional difference between a bundle service, and a
ut it parses a multi-line K=V
style file into something that s6-envdir can handle.
Oh, and it should go without saying, but all these script snippets
assume that you're calling them as `script /path/to/envfile'
Cheers!
--
Colin Booth
pe f' should only find regular files, not symlinks. I don't believe
it will even recurse into symlinks by default so deduplication shouldn't
be necessary.
--
Colin Booth
impact anything. If you want to
close stdin, do it before execing into s6-svscan (or as part of the call
if using shell).
>
> What do you think?
>
> Earl
--
Colin Booth
mething be done about that problem?
>
> Document that perk, maybe?
Unfortumately this is impossible to fix short of redoing the shebang
interpretation in Unix. You should be able to see similar behavior in
shell scripts by setting #!/bin/sh -e -x as your shebang (or something
similar).
--
Colin Booth
n order to flush the default
environment in stand-alone execline scripts, but it will work in a pinch
since all execline utilities will fail back to the compiled-in defaults
if $PATH is unavailable.
--
Colin Booth
for a feature request in s6-rc?
It should be included as part of the general payload set that gets
copied with data/
>
> Regards,
>
> Justin
Cheers!
--
Colin Booth
On Sun, Sep 16, 2018 at 08:35:57PM -0500, Brett Neumeier wrote:
> On Sun, Sep 16, 2018 at 5:49 PM Colin Booth wrote:
>
> > I think I know what is going on. I assume you're running this on the
> > commandline? If so, the shell is splitting prefix${FOO}postfix into
> > thre
rds ("prefix", "$FOO", "postfix"), then importas is deleting the
middle one. If you write this as a full execline script like so:
$ execlineb -c 'importas FOO FOO echo prefix${FOO}postfix'
you'll see the full word deletion in action.
Cheers!
--
Interesting. I get the expected behavior.
Colin Booth
t mind NIH is deadly broken for
> configure stages :)
>
> Cheers
> --
> Jens Rehsack - rehs...@gmail.com
>
--
Colin Booth
h slightly slower) than using
s6-svwait directly.
--
Colin Booth
or s6-svstat -o ready and an exit on failure, or whatever.
--
Colin Booth
from runit to s6 but it doesn't support net new services without a
reboot. Obviously the long-term plan is to migrate everything active
into s6-rc, but booting on s6-l-i was step one.
Cheers!
--
Colin Booth
is something that execline itself could handle that is
rarely something that is done in stand-alone scripts and s6 (or some
other process supervisor) is generally a requirement for most places
where rlimit setting would be useful.
--
Colin Booth
tart events without also triggering a state change.
That said, the documentation could be more clear about -wr/-wR requiring
an action to differentiate them from the other wait states.
--
Colin Booth
In some cases it is preferential to only explicitly install a subset of
the possible functions that s6-front-end-alias and friends provide.
The --disable-symlinks option will suppress automatic generation of
symlinks on install and instead only install the main binaries.
Signed-off-by: Colin
On Sat, Sep 24, 2022 at 06:03:51PM +0200, Songbo Wang wrote:
> Hi Colin, thanks for your reply.
>
> On 9/23/22 17:41, Colin Booth wrote:
> > a super light
> > weight http proxy
>
> Yes, that seems the ideal solution, which may not even exist.
>
> The multiple
d server but it's the least awkward
by far.
Other folks might have some other suggestions but for the most part
things outside of using a full proxy are going to be in the realm if
gnarly or fragile. That said, if someone does know of a super light
weight http proxy that is inetd aware that would be perfect for this
usecase, I just don't know of one.
Cheers!
--
Colin Booth
51 matches
Mail list logo