From owner-freebsd-hackers@freebsd.org Wed Jan 27 19:31:59 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54636A6F7E9 for ; Wed, 27 Jan 2016 19:31:59 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F5C0139D for ; Wed, 27 Jan 2016 19:31:58 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1FF7C21877 for ; Wed, 27 Jan 2016 14:31:58 -0500 (EST) Received: from web6 ([10.202.2.216]) by compute3.internal (MEProxy); Wed, 27 Jan 2016 14:31:58 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=6SdqbFtA4/HAdJA 4WsMpWk6IFmQ=; b=ZiPP0gTpjhUuRaSZp2lp559QRCxG+D3dWoyFYrE6Rbz4CKE BRbFn+J3v3QREUYkEJQC3qQWswNTQuZevQnUFmmxRUiTjFt45nf3XkXh93y/Rjds ppyK198T12qM7hqNTfUZu5bwmp0cC1UbYldQxEJ8+ZDPParV0Yfau1BAJl90= Received: by web6.nyi.internal (Postfix, from userid 99) id E7D9748762; Wed, 27 Jan 2016 14:31:57 -0500 (EST) Message-Id: <1453923117.431542.504383322.05A41332@webmail.messagingengine.com> X-Sasl-Enc: GHGZo9Su21th7KL9gc9/2t5t4Wx59PLpWaV5G3UUHekj 1453923117 From: Mark Felder To: Jan Bramkamp , freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-6cda141f Subject: Re: syslogd(8) with OOM Killer protection Date: Wed, 27 Jan 2016 13:31:57 -0600 In-Reply-To: <56A89D7A.8080906@rlwinm.de> References: <56A86D91.3040709@freebsd.org> <20160127072850.GG35911@ivaldir.etoilebsd.net> <56A89D7A.8080906@rlwinm.de> X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2016 19:31:59 -0000 On Wed, Jan 27, 2016, at 04:35, Jan Bramkamp wrote: > > I would prefer to implement the a flag keeping cron (and all other base > system daemons) from double-forking and run it under a process > supervisor like daemontools. > There are complications preventing this from being possible in a clean way with rc.subr (stop/status/etc will break), but if we were able to solve them we could offer the ability to run anything we wanted under daemon(8) with the -r flag which will automatically supervise and restart the process if it dies. -- Mark Felder ports-secteam member feld@FreeBSD.org