From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S9d6g-0005dA-Tg for garchives@archives.gentoo.org; Mon, 19 Mar 2012 13:58:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECAE1E0CD6; Mon, 19 Mar 2012 13:58:24 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 32023E0C03 for ; Mon, 19 Mar 2012 13:57:02 +0000 (UTC) Received: by bkwj4 with SMTP id j4so5155368bkw.40 for ; Mon, 19 Mar 2012 06:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=qLWWMGTa+2UB1kfJArdUesZmR/i0kT7GnUDDh1+wpV4=; b=Mtv9Jo20zItftp07ZcfMea2IxSjoXVSvZhRaZoPB//MCG+vuumTMpebvZ4REyk3Arp Evbi6w4XNUb6Jk5B6leaGPuOKS9PlizeAbK4H+bbPSVhnlHyrpnSO1nAFWgrLvlLeH/n GKH7M85Q/hjBFAeO2PednqkQ94eVBc+f05E6aX127VcraFuRNKWDVq9zif63wolVxsuC r6XJ30Xh+YGXssCtd0/VDI43PAg4WSozeWpTK5YRsm2eJXcMnfNToR+CZjKXxGKB2V+X lYaeL+ObkvxGMwT98SvbP1q38uVTscavhAo2CYbKUDHUEDvzlevPDcezNidzCJb5l1nv lx1g== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.10.66 with SMTP id o2mr4695322bko.30.1332165422019; Mon, 19 Mar 2012 06:57:02 -0700 (PDT) Received: by 10.204.168.17 with HTTP; Mon, 19 Mar 2012 06:57:01 -0700 (PDT) In-Reply-To: <20120319133303.2a20891d@digimed.co.uk> References: <709768995.843751.1331957483491.JavaMail.open-xchange@email.1and1.com> <20120317115300.GB3615@acm.acm> <87obrugwvn.fsf@newton.gmurray.org.uk> <20120319133303.2a20891d@digimed.co.uk> Date: Mon, 19 Mar 2012 09:57:01 -0400 Message-ID: Subject: Re: [gentoo-user] Re: systemd? [ Was: The End Is Near ... ] From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 017a7f84-0718-4855-8bda-b7013d18a209 X-Archives-Hash: 06500849bcddc08bb935a15d04f4fec2 On Mon, Mar 19, 2012 at 9:33 AM, Neil Bothwick wrote: > On Sun, 18 Mar 2012 02:49:56 -0600, Canek Pel=C3=A1ez Vald=C3=A9s wrote: > >> > They ensure that there is an sshd configuration file and >> > give a meaningful message (including where to find the sample) if it >> > is not present, and check for the presence of the hostkeys (again >> > which are needed) and create them if they are not present. Your 9 >> > lines of sshd.service do none of this. >> >> That is completely true. I also think that those checks does not >> belong into the init script: I think the configuration file presence >> should be guarantee by the package manager at install time, and so the >> creation of the hostkeys. > > sshd is a bit of a special case. Think like CDs, like SystemRescueCD. If > the keys were created at installation time, every CD would have the same > keys, which is not particularly desirable. I prefer "counterexample" to "special case" ... I don't like calling things "special cases" because it suggests that they're somehow more privileged than anything else, and unnecessarily weighs against software which hasn't been written yet. A similar case which falls into the same kind of circumstance: per-host IDs in mass-deployment scenarios. You see this in large arrays of similar systems; 'sbc-a3d6' 'sbc-a3d9' 'sbc-7721' ... Heck, applying something like that to live installation media would be nice; not having every new install called simply 'gentoo' by default would be very helpful in installfest scenarios. Identical hostnames screw with DHCP-driven DDNS updates. I ran into that on my home network. --=20 :wq