From owner-freebsd-current@FreeBSD.ORG Thu Jul 17 20:29:25 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4C2DFF2; Thu, 17 Jul 2014 20:29:25 +0000 (UTC) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 385BE2E4B; Thu, 17 Jul 2014 20:29:25 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id j17so1556008oag.12 for ; Thu, 17 Jul 2014 13:29:23 -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 :cc:content-type; bh=huaQwQk//HApjjPyc6lkljeOaVC7bFYbIr/r37KbOks=; b=eZlHsi0beu98xdwBPj8IvBxq/zt+WLOVckcxZAgLIHo2BTALHVeB0W4zbUKgtioPBE XHhhpNqceBMjSW4jrYuwxIY5WU3pOflfxPcU4QDRbqGXHf3EfuoAJviQD9LFxI1Qs1qw 68baB7ICMiHo2UgzNLyf2f286URS6m5e6LMAUwKbfkC2PdzBX9yvvsWP1U9QI295U7vR RRRWojKUS/ijyxOLz1gQcelZoH4+fbIQk2mbohm4C+n9XEWvP0sTREpjFPcWpps8IAzc FVVJAvyq+73ay78rCEo5pOxOB0gcVhOUoJw9wKx4zKBIfl8saf+NtxsRx38dE/fff8r3 XlhQ== MIME-Version: 1.0 X-Received: by 10.60.47.12 with SMTP id z12mr8158755oem.71.1405628963624; Thu, 17 Jul 2014 13:29:23 -0700 (PDT) Received: by 10.76.170.39 with HTTP; Thu, 17 Jul 2014 13:29:23 -0700 (PDT) In-Reply-To: References: <53C82EC4.8060304@gmail.com> Date: Thu, 17 Jul 2014 22:29:23 +0200 Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Andreas Nilsson To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Craig Rodrigues , Navdeep Parhar , freebsd-doc@freebsd.org, Alberto Mijares , freebsd-current Current , ports X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:29:25 -0000 On Thu, Jul 17, 2014 at 10:21 PM, Adrian Chadd wrote: > On 17 July 2014 13:15, Navdeep Parhar wrote: > > On 07/17/14 13:12, Adrian Chadd wrote: > >> On 17 July 2014 13:03, Alberto Mijares wrote: > >>> On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd > wrote: > >>>> Hi! > >>>> > >>>> 3) The binary packages need to work out of the box > >>>> 4) .. which means, when you do things like pkg install apache, it > >>>> can't just be installed and not be enabled, because that's a bit of a > >>>> problem; > >>> > >>> > >>> No. Please NEVER do that! The user must be able to edit the files and > >>> start the service by himself. > >> > >> Cool, so what's the single line command needed to type in to start a > >> given package service? > > > > Aren't sysrc(8) and service(8) for this kind of stuff? > > Yup, and if the default is going to be off, then you want the > instructions to be "type this in", not "edit this file." > > There's odd things too, like "oh look I installed xorg, but then I > can't run it without enabling hald/dbus, then starting it.. oh wait, > no mouse, so I have to reboot for them to come up right" kind of crap. > > That's the kind of thing that turns people away. > > But this is more of a desktop/laptop setup, right? If services had an option ( the ones provided via ports anyway) for autostart, and package sets for different use cases was provided, like server and desktop say, there could for desktop be the default to have the option set for autostart and for server the option would be to not autostart. /A