From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 20 20:54:11 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE81C1065672 for ; Wed, 20 Jun 2012 20:54:11 +0000 (UTC) (envelope-from brodbd@uw.edu) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A52C28FC14 for ; Wed, 20 Jun 2012 20:54:11 +0000 (UTC) Received: by obbun3 with SMTP id un3so1776955obb.13 for ; Wed, 20 Jun 2012 13:54:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=yoFAm5quj8undMH+dJE14Z4Kay76vpXId+BipHCejLc=; b=AUGN0SIv4NwNUfQ5LEkJUDGQI1GaHrS5TEikNCoNFTaYMR+Tsl4lb79b5EHVn+tPVp Sh2UTuCwolInrBSYa3Tzuk/OztTV5UNKIt2ycncbir8EbMNgxgG++oYiUxeNGWMPiFRX hGoDY/0Ju04sWK3z2gkjZPJ/OH97Hu0gc5tXPunftJgsj9uzR+foreGtedVUjPTtmJVP 9yrvrsb/oxv+oiambDbGeWLMBS4ZWSDtE4VkaKh2TvJ8G5bKqtIjgAMaRYOPGgiYARCg skLZojrBijeUt/yD7BNOx1ORDvez4rgHk9Ds1BYosQ9oAPbdAG3gRp3GWZ+ZWnzqXUOX d1jA== MIME-Version: 1.0 Received: by 10.182.174.70 with SMTP id bq6mr14979113obc.78.1340225651209; Wed, 20 Jun 2012 13:54:11 -0700 (PDT) Received: by 10.182.136.1 with HTTP; Wed, 20 Jun 2012 13:54:11 -0700 (PDT) In-Reply-To: References: <4FDF6177.5050608@unsane.co.uk> <4FDF6586.9060501@gentoo.org> <4FDFB166.2040709@FreeBSD.org> <4FDFB44D.9090308@gentoo.org> <4FE0ADCD.9010109@FreeBSD.org> <4FE0C123.8030301@gentoo.org> <4FE0F773.1080403@gentoo.org> <4FE100F9.2050009@funtoo.org> <20120620073920.GA5300@lonesome.com> Date: Wed, 20 Jun 2012 13:54:11 -0700 Message-ID: From: David Brodbeck To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmsy4L9Hl3nA97rBbdudDFBfs/YhLcEqMMezD8MQ8jmtgc4yP6+H1ljwcCcZTtBEmy2/qNE Cc: Daniel Robbins , "freebsd-hackers@freebsd.org" Subject: Re: Replacing rc(8) (Was: FreeBSD Boot Times) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 20:54:12 -0000 On Wed, Jun 20, 2012 at 8:51 AM, Wojciech Puchar wrote: > Some time ago i had to use linux (fortunately no longer needed). As i don= 't > use it normally i just took debian installer that i remembered it WAS > usable. > > After seeing the incredible complexity of /etc structure, not just rc > scripts, i deleted most of it and put startup sequence in single file. > > It was plain horror. You would weep if you saw Solaris's SMF, then. Everything is controlled by XML files, which you have to install and uninstall via the black-box 'svcadm' and 'svcs' commands. It's the most opaque init system I've ever seen. Lots of neat features, but I never feel confident I'm dealing with it right, especially when trying to implement a new service. rc.d-style init scripts aren't *that* bad, but some of the new parallel init systems are quite confusing. I recently spent most of a day trying to figure out why Ubuntu wouldn't launch a new rc script I'd installed before realizing that the parallel init system it uses simply silently ignores scripts that don't indicate their dependencies in a way it understands. --=20 David Brodbeck System Administrator,=A0Linguistics University of Washington