From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2242 Path: news.gmane.org!.POSTED!not-for-mail From: Adrian Chadd Newsgroups: gmane.os.freebsd.devel.hackers,gmane.comp.sysutils.supervision.general Subject: Re: Linuxisms in s6 Date: Thu, 25 Aug 2016 14:08:56 -0700 Message-ID: References: <37d5159b-4957-42f8-2252-fa53d7446bb6@NTLWorld.com> <20160825194820.GI92256@e-new.0x20.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1472159351 6731 195.159.176.226 (25 Aug 2016 21:09:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2016 21:09:11 +0000 (UTC) Cc: Supervision , Jonathan de Boyne Pollard , FreeBSD Hackers To: Lars Engels Original-X-From: owner-freebsd-hackers@FreeBSD.org Thu Aug 25 23:09:06 2016 Return-path: Envelope-to: freebsd-hackers@m.gmane.org Original-Received: from mx2.freebsd.org ([8.8.178.116]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bd1tY-0001BX-Of for freebsd-hackers@m.gmane.org; Thu, 25 Aug 2016 23:09:05 +0200 Original-Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.freebsd.org (Postfix) with ESMTPS id 4A1C446A2; Thu, 25 Aug 2016 21:09:05 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Original-Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BC18D1CBD; Thu, 25 Aug 2016 21:09:04 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Original-Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF39BBC6293 for ; Thu, 25 Aug 2016 21:08:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Original-Received: from mail-it0-x243.google.com (mail-it0-x243.google.com [IPv6:2607:f8b0:4001:c0b::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97D6F1C87 for ; Thu, 25 Aug 2016 21:08:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Original-Received: by mail-it0-x243.google.com with SMTP id f6so7250577ith.2 for ; Thu, 25 Aug 2016 14:08:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fUtLxft7k3Eb9zoOMTochzyVjzf07/7VgAx1mAQM+Ak=; b=eIjZohW9kk7jLu+kfq0HXRKp5Zvlmibhb+lXZP/RmpTekWb2O0IT3MItzaK/5AVUB2 U7KIWuCglECT6IPt7ryBgQAmRjGLL3EOUsCj/+BxJvQJtaD2q6YWOgGQy2/F3E/oaB+t lf3QRyqdK2+ONFE6jAlw8slZ0dsHta0Prjl/iePcgwd0O0MlLRCC4ymQZ2T7HyuWi7VD MyPOmnSFVCdEVRQbbGpdz8oOsz+WoN/NMPZwFgre+KhzcO+JhnQp6NMbgaKIxAzC7Dml hzhYBev+UKH4aZMxVfrHYtF1nx5PXawdlJ0mK+HUt6In/GcKmQavtQolLqRM3hO18Frc ACqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=fUtLxft7k3Eb9zoOMTochzyVjzf07/7VgAx1mAQM+Ak=; b=MLi+hGJpYRmJF6oe8Oq+OSP0+ExjEWww9wpVXwvQKR+r4gBfLPFHovtxx7bNt8/ut2 wlCgMxpUXZ2HhaIFuaaXtbRD5XmltE3UGGrgHXlKSaOwJJnrS/VtrW4jtXeNMFlqFxSI gOw7ZtLu0AV9kPN8HwmdDwiHpQj0MSo+epEBD3SQ7tZI6jtgbkwXY5XIfx/FZjkpyGaL EUiLwKiM7IrqbxinHIi8zh2BbtxrFTufwlNNGJioFuiEODylY9Y6dMjrvjeZle5QSYDZ 7tV0gNTC+qysYs0Mj9dNf8lh7+ws3yZWr3t9MBfJIM69ilqtD/TBkde9cWoPuHv77bhH ZiYA== X-Gm-Message-State: AEkooutF38d6qjTjfzXBhgm0EPOPs4ISsh4S/QteuUmq9r3xORE2NDPGw34MPg632BuKgIiGFTIjQmpqHNALoA== X-Received: by 10.107.53.163 with SMTP id k35mr12960777ioo.75.1472159337012; Thu, 25 Aug 2016 14:08:57 -0700 (PDT) Original-Received: by 10.36.141.129 with HTTP; Thu, 25 Aug 2016 14:08:56 -0700 (PDT) In-Reply-To: <20160825194820.GI92256@e-new.0x20.net> X-Google-Sender-Auth: i2ERPCxfh44y0iEmsTV13K4yCpM X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: owner-freebsd-hackers@freebsd.org Original-Sender: owner-freebsd-hackers@freebsd.org Xref: news.gmane.org gmane.os.freebsd.devel.hackers:57943 gmane.comp.sysutils.supervision.general:2242 Archived-At: On 25 August 2016 at 12:48, Lars Engels wrote: > On Thu, Aug 25, 2016 at 08:46:10AM -0700, Adrian Chadd wrote: >> On 24 August 2016 at 21:53, Jonathan de Boyne Pollard >> wrote: >> > 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 >> >> calculations for daemon run duration is based on system time, not wall >> >> clock, so if your box boots jan 1, 1970 then gets NTP, things are.. >> >> hilarious), and some of the arcane bits to get logging working right. >> >> >> > What are these Linuxisms in s6? s6-linux-utils and s6-linux-init have >> > Linuxisms, obviously. But what Linuxisms does s6 have? >> >> We just had a bunch of fun trying to get it to build right, and the >> uptime stuff really threw us. >> >> It's fine though, I found that s6 may start growing an IPC mechanism >> so we could possibly do a launchd/jobd style service later (ie to run >> things upon event changes, like ifup, ifdown, ifcreate, ifdestroy, >> arbitrary messages, etc) so I may try incorporating it again. :) >> > > Can't this be done with devd? 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. -adrian _______________________________________________ freebsd-hackers@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"