From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 06:50:37 2014 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F1B8210 for ; Thu, 17 Jul 2014 06:50:37 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15F442399 for ; Thu, 17 Jul 2014 06:50:37 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6H6oapu009054 for ; Thu, 17 Jul 2014 06:50:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 191910] New: Retiring mailing lists cvsweb Date: Thu, 17 Jul 2014 06:50:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Website X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jadawin@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-doc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 06:50:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191910 Bug ID: 191910 Summary: Retiring mailing lists cvsweb Product: Documentation Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Website Assignee: freebsd-doc@FreeBSD.org Reporter: jadawin@FreeBSD.org CC: postmaster@FreeBSD.org Created attachment 144740 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144740&action=edit patch to remove cvsweb in chapter.xml and mailing-lists.ent Hello, A request has been done to retire mailing list cvsweb. Please, find patches to modify website. Regards, -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 18:25:05 2014 Return-Path: Delivered-To: freebsd-doc@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 5055AC1E; Thu, 17 Jul 2014 18:25:05 +0000 (UTC) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (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 627D0226A; Thu, 17 Jul 2014 18:25:04 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id gf5so1899079lab.23 for ; Thu, 17 Jul 2014 11:25:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=b7F1I7bkQa+bMlShLg9t8BNx4K6cgs+F9CpDmBUwmnE=; b=UB98jSTsERwqND5U4XpaGLw+b/F0GHWGx7S0DPn+UWzTIMnMFYrAXalr7GMvy+psYi gdfs6DE69lJuJTnuTEhzymkrGBjEchlyuJJQjwiSGfw6215Bg29iSfDsIwY/zz/rZC1c +/ZZr8IsZUnNYyzSB+YVRmky1YUAkJBYPz8UXAbtFrSVL5KwhtHEuUg6V1X728VoMyo1 0FLAdGeJMGTGIGLpRtAKQLrsn8TKS1Y8kmV2vhLAAI8SfFFihNIwiV7gnTv35zJY4OjU Cqbntv6uS3UUBwmmZsR/1AwlwCGsrE3m1xQuFlwYv5moP+km2rD9OhA1Bjqp0EYpM6l5 DeeQ== MIME-Version: 1.0 X-Received: by 10.152.120.195 with SMTP id le3mr34997500lab.16.1405621501652; Thu, 17 Jul 2014 11:25:01 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.225.34 with HTTP; Thu, 17 Jul 2014 11:25:01 -0700 (PDT) Date: Thu, 17 Jul 2014 11:25:01 -0700 X-Google-Sender-Auth: 5d_fWbEAgYsaSbPyp0rYCKtCivM Message-ID: Subject: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Craig Rodrigues To: freebsd-current Current , ports , freebsd-doc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 18:25:05 -0000 Hi, I attend a lot of different Meetup groups in the San Francisco Bay Area / Silicon Valley. What I am seeing is the following usage pattern for new developers, especially for web apps and cloud applications. (1) On their desktop/laptop, they will generally be using a Mac running OS X. This is their desktop Unix environment. This seems to be true of almost 90% of the people that I meet. The 10% of people who run a PC laptop, will mostly be running Windows. Very few seem to run Linux on their laptops, but if they do, it will likely be Ubuntu Linux. (2) For their deployed application, generally they will deploy to a Linux environment on a server. These days, the server will very likely be in a cloud environment: Amazon, Rackspace, Heroku. For (1), encouraging people to move away from a Mac to FreeBSD for their desktop environment is a tough sell. Apple is a multi-billion dollar company, and they make beautiful hardware, and software with a fantastic end-user experience. The PC-BSD project is fighting the good fight in terms of making a usable FreeBSD desktop, but its a touch battle to fight. For (2), encouraging people to move away from Linux to FreeBSD on the server, may be something where we can get more wins. I think we can do this by having more HOWTO articles on the FreeBSD web page that explain the following: (1) We need a HOWTO article that explains for each command using apt or yum for installing packages, how can I do the same thing using "pkg". Even if we have a web page with a table, contrasting the apt/yum commands, and pkg commands, that would be super useful. A lot of folks have moved away from FreeBSD, purely because they are sick of pkg_add. We need to explain to folks that we have something better, that is quite competitive to apt/yum, and it is easy to use. (2) We need a HOWTO article that explains how to set up a FreeBSD environment with some of the major cloud providers, i.e. Amazon, Rackspace, Microsoft Azure, etc. Do we have such articles today, or is anybody working on something like that? I think if we had these two HOWTO articles today, and we could aggressively point people at them, this would be a huge win for expanding the number of people who try out FreeBSD for modern server applications. -- Craig From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 18:37:31 2014 Return-Path: Delivered-To: freebsd-doc@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 ED892157 for ; Thu, 17 Jul 2014 18:37:31 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id C563123B2 for ; Thu, 17 Jul 2014 18:37:31 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 0FB9F29A47 for ; Thu, 17 Jul 2014 18:37:30 +0000 (UTC) Message-ID: <53C817FF.5090500@freebsd.org> Date: Thu, 17 Jul 2014 14:37:51 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WVcfhm8etalM241m2BXSojjB63ibD9HFC" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 18:37:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WVcfhm8etalM241m2BXSojjB63ibD9HFC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-07-17 14:25, Craig Rodrigues wrote: > Hi, >=20 > I attend a lot of different Meetup groups in the San Francisco Bay Area= / > Silicon Valley. >=20 > What I am seeing is the following usage pattern for new developers, > especially for web apps and cloud applications. >=20 > (1) On their desktop/laptop, they will generally be using > a Mac running OS X. This is their desktop Unix environment. > This seems to be true of almost 90% of the people that I meet. > The 10% of people who run a PC laptop, will mostly be running > Windows. Very few seem to run Linux on their laptops, but > if they do, it will likely be Ubuntu Linux. >=20 > (2) For their deployed application, generally they will deploy to > a Linux environment on a server. These days, the server will > very likely be in a cloud environment: Amazon, Rackspace, > Heroku. >=20 >=20 > For (1), encouraging people to move away from a Mac to FreeBSD for thei= r > desktop environment is a tough sell. Apple is a multi-billion dollar > company, and they make beautiful hardware, and software with > a fantastic end-user experience. The PC-BSD project is fighting the > good fight in terms of making a usable FreeBSD desktop, but its > a touch battle to fight. >=20 > For (2), encouraging people to move away from Linux to FreeBSD > on the server, may be something where we can get more wins. > I think we can do this by having more HOWTO articles on > the FreeBSD web page that explain the following: >=20 >=20 > (1) We need a HOWTO article that explains for each command using a= pt > or yum for installing packages, > how can I do the same thing using "pkg". > Even if we have a web page with a table, contrasting the > apt/yum commands, and pkg commands, that would be super > useful. >=20 > A lot of folks have moved away from FreeBSD, purely because > they are sick of pkg_add. We need to explain to folks that > we have something better, that is quite competitive to > apt/yum, and it is easy to use. >=20 > (2) We need a HOWTO article that explains how to set up > a FreeBSD environment with some of the major cloud providers= , > i.e. Amazon, Rackspace, Microsoft Azure, etc. >=20 >=20 > Do we have such articles today, or is anybody working on something > like that? >=20 > I think if we had these two HOWTO articles today, and we could > aggressively point people at them, this would be a huge win > for expanding the number of people who try out FreeBSD > for modern server applications. >=20 > -- > Craig > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" >=20 That is definitely something I am interested in. I think there is definitely an advantage to compiling these at freebsd.org rather than on individual sites all around the net. Deploy Wordpress Deploy Drupal Deploy Django etc Plus the more generalized stuff you mentioned. Quick guides and tables to 'this is how you do that on FreeBSD' for translating linux instruction= s. --=20 Allan Jude --WVcfhm8etalM241m2BXSojjB63ibD9HFC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTyBgCAAoJEJrBFpNRJZKfqKEP/i+9s+JotZkmyfyvgZU4e75S Ey8Vf+S3YtWg59/Y6GDd1Ub970GJvP6na9GuPcb2t2fJGWIN8Jn2cRw/HO6eOBRK wOKwgRIh/1GVyfyDFrJpbw9OUgaAGBLdyKr5ht7ZdLHOsfSPSRn7EVasDqyO5UbS ytk/3u2oAtYFJjlG4Gn39h3EBCZddSootNXrYOjZyCzJ7xA0mUbZFJq5DZzhJwyF W+qzfkGd80VR8QouKZV49FNgZMVZZKbf6nJlkK07JBrYuMUzOX/yJFg3DAcDhY71 5wzGD4KfXNmZQ2JkMXhVmsHf0SQI0V0fmiMtMaEWdsEtfLPD17t5ZB1Rta5YnC2t dPVze+PgDH8U7r6SmtH4twnETVB0AZj+3Hv0PudmnuLwvDnRXLSFvf0iJS4NmOQv x3jaoSR0KgyJDDJjZZVoTsTqsqNqQ+LWZkDO3FHwLJ+Z0nykK2K4+lmKsDXgn++b PosIAHrhlzBuqkapAjul6/5sd+83SXH1D7N7n9iLJaC7dv+Og1dZq/eqavkd1tkK 9CENwc79Y8AYxfyurE7k7Xca/MPIjTktwolh7CqYFmuXwR6VUjyo2fmGvXmlH5JT MUliZcjHFkI+iIOrUJsFP5TUN/ixeqexsYILP8gOW7B2496ldHRD9DkU6d17pUgK TyFymp8+3xx+D6CGMDtm =2weA -----END PGP SIGNATURE----- --WVcfhm8etalM241m2BXSojjB63ibD9HFC-- From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 19:28:46 2014 Return-Path: Delivered-To: freebsd-doc@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 11B6A100; Thu, 17 Jul 2014 19:28:46 +0000 (UTC) Received: from mail-qg0-x22e.google.com (mail-qg0-x22e.google.com [IPv6:2607:f8b0:400d:c04::22e]) (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 949B42879; Thu, 17 Jul 2014 19:28:45 +0000 (UTC) Received: by mail-qg0-f46.google.com with SMTP id z60so2383163qgd.5 for ; Thu, 17 Jul 2014 12:28:44 -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:date:message-id:subject :from:to:cc:content-type; bh=ocyCOsEaFigPCywwzkQ877hgLIOa82R0/5MrwkAzFNw=; b=HrUuQCct4e+3UprH7z3FXGR3LkTbKfKKagXxNOxmYEojK6NOYENMGEyqx00u+mwr1J KYwh2WrP/6Us3IuBC6dRh0377DMr0iPOOOXcW9ZOqybjKgkhR4opfDefqz4hNa/LnVP3 hdgX6rmARQm/NS27CvFa8uYDgy0iSiUdd2CGa+ZRMCWbmOb7QFTgdglXor8ijXlKBmmW u/q8/5FS692LTvgzXtfB7g2RvrIFjOvun5haFaN3HuhwHxK0pmiiqm1TG0RlI0nhKId7 LDHhqBCUquTuKh7Ttfv0LTpiGQFJ07nLqJsBPrsQdCNs+xxuQ9Ucvme0sx9UlCeri0Ht gqmQ== MIME-Version: 1.0 X-Received: by 10.140.39.164 with SMTP id v33mr58292088qgv.99.1405625324793; Thu, 17 Jul 2014 12:28:44 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 12:28:44 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jul 2014 12:28:44 -0700 X-Google-Sender-Auth: rgFI6mYI7eBvut1-JrVwefLnHwI Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Adrian Chadd To: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 Cc: freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 19:28:46 -0000 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; 5) .. and then we need examples of actually deploying useful scenarios, like "so here's what you type to get django working right", "here's how you get a default memcached that works well", "here's how you bring up node.js", etc. 6) Then make VMs of the above so people can just clone and install them. -a On 17 July 2014 11:25, Craig Rodrigues wrote: > Hi, > > I attend a lot of different Meetup groups in the San Francisco Bay Area / > Silicon Valley. > > What I am seeing is the following usage pattern for new developers, > especially for web apps and cloud applications. > > (1) On their desktop/laptop, they will generally be using > a Mac running OS X. This is their desktop Unix environment. > This seems to be true of almost 90% of the people that I meet. > The 10% of people who run a PC laptop, will mostly be running > Windows. Very few seem to run Linux on their laptops, but > if they do, it will likely be Ubuntu Linux. > > (2) For their deployed application, generally they will deploy to > a Linux environment on a server. These days, the server will > very likely be in a cloud environment: Amazon, Rackspace, > Heroku. > > > For (1), encouraging people to move away from a Mac to FreeBSD for their > desktop environment is a tough sell. Apple is a multi-billion dollar > company, and they make beautiful hardware, and software with > a fantastic end-user experience. The PC-BSD project is fighting the > good fight in terms of making a usable FreeBSD desktop, but its > a touch battle to fight. > > For (2), encouraging people to move away from Linux to FreeBSD > on the server, may be something where we can get more wins. > I think we can do this by having more HOWTO articles on > the FreeBSD web page that explain the following: > > > (1) We need a HOWTO article that explains for each command using apt > or yum for installing packages, > how can I do the same thing using "pkg". > Even if we have a web page with a table, contrasting the > apt/yum commands, and pkg commands, that would be super > useful. > > A lot of folks have moved away from FreeBSD, purely because > they are sick of pkg_add. We need to explain to folks that > we have something better, that is quite competitive to > apt/yum, and it is easy to use. > > (2) We need a HOWTO article that explains how to set up > a FreeBSD environment with some of the major cloud providers, > i.e. Amazon, Rackspace, Microsoft Azure, etc. > > > Do we have such articles today, or is anybody working on something > like that? > > I think if we had these two HOWTO articles today, and we could > aggressively point people at them, this would be a huge win > for expanding the number of people who try out FreeBSD > for modern server applications. > > -- > Craig > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 19:57:45 2014 Return-Path: Delivered-To: freebsd-doc@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 C5872820; Thu, 17 Jul 2014 19:57:45 +0000 (UTC) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 5A92A2B0C; Thu, 17 Jul 2014 19:57:45 +0000 (UTC) Received: by mail-oi0-f47.google.com with SMTP id x69so1496556oia.6 for ; Thu, 17 Jul 2014 12:57:44 -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=8e5+ULRoBwW1ywy/HaTv/uz1Qqio8RWOluD55D+LXDw=; b=qRJr9GlMqJszusa7w3M9YNdhGwsgiQ3qx+ZGzY5rqgg5Y2IZc/8nVZzhVqsLYDB4Uw OpvQLi4lj8LAFGPRUlztCdgx3CcyoTGo6lppOdZueSUuFsv0DH9lRAQ8BsphWOb7udTW nmepN/xHDD7zxw7pW0/yfqGnflNT5vtz1fYq66NXl3lQa1EZ2tWaZiP7yNbti0OyBMZk UZNwgUGyjQfjqWAMoRd4BYGpGmfOnkMfjsDaGTY6kmcdQ7ceppB9r7UXVNDjmIFshCWM W/UtV6CyouYbZW4qRxsazv9Ck4mdgfjnZnm8BbhRrgldnYV9IL+mmJ+5U4AztmpFidcw q29Q== MIME-Version: 1.0 X-Received: by 10.60.73.129 with SMTP id l1mr49404718oev.2.1405627064514; Thu, 17 Jul 2014 12:57:44 -0700 (PDT) Received: by 10.76.170.39 with HTTP; Thu, 17 Jul 2014 12:57:44 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jul 2014 21:57:44 +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 , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 19:57:46 -0000 On Thu, Jul 17, 2014 at 9:28 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; > I disagree on this. For network services on linux ( apart from ssh ), I want that started very seldom. But I do want the package installed so that when I need it, it is there. Having it autostart as part of being installed is breaking KISS and in some way unix philosophy: I asked for something to be installed, not installed and autostarted. > 5) .. and then we need examples of actually deploying useful > scenarios, like "so here's what you type to get django working right", > "here's how you get a default memcached that works well", "here's how > you bring up node.js", etc. > Oh yes. I think that quite a few packages have default options that make them unsuitable for out-of-box usage, ie some lack the sane default dbi-stuff and so on. > 6) Then make VMs of the above so people can just clone and install them. > At least zfs-datasets ready to be run as jails would be really good too. > /A > > > -a > > > > On 17 July 2014 11:25, Craig Rodrigues wrote: > > Hi, > > > > I attend a lot of different Meetup groups in the San Francisco Bay Area / > > Silicon Valley. > > > > What I am seeing is the following usage pattern for new developers, > > especially for web apps and cloud applications. > > > > (1) On their desktop/laptop, they will generally be using > > a Mac running OS X. This is their desktop Unix environment. > > This seems to be true of almost 90% of the people that I meet. > > The 10% of people who run a PC laptop, will mostly be running > > Windows. Very few seem to run Linux on their laptops, but > > if they do, it will likely be Ubuntu Linux. > > > > (2) For their deployed application, generally they will deploy to > > a Linux environment on a server. These days, the server will > > very likely be in a cloud environment: Amazon, Rackspace, > > Heroku. > > > > > > For (1), encouraging people to move away from a Mac to FreeBSD for their > > desktop environment is a tough sell. Apple is a multi-billion dollar > > company, and they make beautiful hardware, and software with > > a fantastic end-user experience. The PC-BSD project is fighting the > > good fight in terms of making a usable FreeBSD desktop, but its > > a touch battle to fight. > > > > For (2), encouraging people to move away from Linux to FreeBSD > > on the server, may be something where we can get more wins. > > I think we can do this by having more HOWTO articles on > > the FreeBSD web page that explain the following: > > > > > > (1) We need a HOWTO article that explains for each command using apt > > or yum for installing packages, > > how can I do the same thing using "pkg". > > Even if we have a web page with a table, contrasting the > > apt/yum commands, and pkg commands, that would be super > > useful. > > > > A lot of folks have moved away from FreeBSD, purely because > > they are sick of pkg_add. We need to explain to folks that > > we have something better, that is quite competitive to > > apt/yum, and it is easy to use. > > > > (2) We need a HOWTO article that explains how to set up > > a FreeBSD environment with some of the major cloud providers, > > i.e. Amazon, Rackspace, Microsoft Azure, etc. > > > > > > Do we have such articles today, or is anybody working on something > > like that? > > > > I think if we had these two HOWTO articles today, and we could > > aggressively point people at them, this would be a huge win > > for expanding the number of people who try out FreeBSD > > for modern server applications. > > > > -- > > Craig > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:00:05 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10BE5A28; Thu, 17 Jul 2014 20:00:05 +0000 (UTC) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (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 918782B34; Thu, 17 Jul 2014 20:00:04 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id c9so2609474qcz.29 for ; Thu, 17 Jul 2014 13:00:03 -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:date:message-id:subject :from:to:cc:content-type; bh=TxPCPMrlWy2/HkGZgXnJUPOGG19RJ+IQbQ82hbtshJs=; b=fHcD4YKqcPTspcXnm/wOnDtkU1m6k3qU+3VCI9J1m5GwFwY5Wu9oirnyngSQBUNAZM g0hOG3K/00fUzHDRo+m/NZaszNDlJkFtwnzlGX5S1ySUHFQs1lXZOp/jN+nfkOKOjLtE ogWMXcIJa90SwMAmbi/Z8USV3VCGyihkgnWKNu9PZx4CSoDYRnZZsNwPn83OEAhd6Han uKl55owzKrK0+mV4g9zh/D3D6xrYgGdvNYpHDVZzn+rZPFJFVyAJhsrH4wA9OiuhO8G5 4x8XNrYG7WXjf+xCaCiGqPgZKvVQ2Of3JCOGtGWSMSICCBarj1kl7gM+oOLEh1/Sexdj pOpg== MIME-Version: 1.0 X-Received: by 10.224.223.135 with SMTP id ik7mr33894930qab.26.1405627203701; Thu, 17 Jul 2014 13:00:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 13:00:03 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jul 2014 13:00:03 -0700 X-Google-Sender-Auth: 6n1OnJWyg3T1sJ_yvKQymHuRu10 Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Adrian Chadd To: Andreas Nilsson Content-Type: text/plain; charset=UTF-8 Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:00:05 -0000 On 17 July 2014 12:57, Andreas Nilsson wrote: > > > > On Thu, Jul 17, 2014 at 9:28 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; > > I disagree on this. For network services on linux ( apart from ssh ), I want > that started very seldom. But I do want the package installed so that when I > need it, it is there. Having it autostart as part of being installed is > breaking KISS and in some way unix philosophy: I asked for something to be > installed, not installed and autostarted. That's cool. We can disagree on that. But the fact that you have to edit a file to enable things and hope you get the right start entry in /etc/rc.conf or /usr/local/etc/rc.conf, or wherever you put it is, is a pain. -a From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:03:55 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BDCD1CDA; Thu, 17 Jul 2014 20:03:55 +0000 (UTC) Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [IPv6:2607:f8b0:400c:c03::233]) (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 034FE2BDA; Thu, 17 Jul 2014 20:03:54 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id hq11so4107277vcb.24 for ; Thu, 17 Jul 2014 13:03:54 -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=Xmdkwr7Lu90rheknHJPdP3i3eISUEIGsgqK/jua/Mzc=; b=JY3ewdcv6rwenvBCPT0Hs2NbJd/H2gkzTy+tXHzq75NVbNQPjt2WI5PIkkISwNH8J5 K1azd07qE1XlOzqMFKkyfMRMaD15SnGUOLdg9p9WrnrY5077rCmvZ5bsmQ4ISwbFalxN JzAb/FhzDigDORRsX06P4xDM984xExcl4jknjcRnBoUqRYgA3GVnaVQ0hwB/VO4vwwVL 7OXO8Hi8ZmSKGECFfYFxnDxNBUwuObFFet0s00bvPve2ROpPtkyzjyAhT4PIL3+pWK5w 2YWY3VgBhiARDzjEIA6roZB3tegQSQaGB/goIBLvgRu8HmoNGwGq1rODEdQ3X/64hP4D T0Qw== MIME-Version: 1.0 X-Received: by 10.220.251.80 with SMTP id mr16mr6939694vcb.11.1405627434076; Thu, 17 Jul 2014 13:03:54 -0700 (PDT) Received: by 10.58.113.99 with HTTP; Thu, 17 Jul 2014 13:03:54 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jul 2014 15:33:54 -0430 Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Alberto Mijares To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:03:56 -0000 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. Regards, Alberto Mijares From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:06:57 2014 Return-Path: Delivered-To: freebsd-doc@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 361A3A2 for ; Thu, 17 Jul 2014 20:06:57 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id EB8F02C1E for ; Thu, 17 Jul 2014 20:06:56 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 7C58129EF2 for ; Thu, 17 Jul 2014 20:06:55 +0000 (UTC) Message-ID: <53C82CF5.9060807@freebsd.org> Date: Thu, 17 Jul 2014 16:07:17 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dqJW4DSjodbleIcNhudlxrlJOCMc0ME0V" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:06:57 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dqJW4DSjodbleIcNhudlxrlJOCMc0ME0V Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-07-17 16:00, Adrian Chadd wrote: > On 17 July 2014 12:57, Andreas Nilsson wrote: >> >> >> >> On Thu, Jul 17, 2014 at 9:28 PM, Adrian Chadd wro= te: >>> >>> 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; >> >> I disagree on this. For network services on linux ( apart from ssh ), = I want >> that started very seldom. But I do want the package installed so that = when I >> need it, it is there. Having it autostart as part of being installed i= s >> breaking KISS and in some way unix philosophy: I asked for something t= o be >> installed, not installed and autostarted. >=20 > That's cool. We can disagree on that. But the fact that you have to > edit a file to enable things and hope you get the right start entry in > /etc/rc.conf or /usr/local/etc/rc.conf, or wherever you put it is, is > a pain. >=20 >=20 >=20 >=20 > -a > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" >=20 You can actually do files in /etc/rc.conf.d/appname However those files are only included when you do 'service appname start'= So you can't just put random settings in /etc/rc.conf.d/adrian I can't make puppet include denyhosts_enable=3D"YES" in /etc/rc.conf.d/ss= hd But, a /usr/local/etc/rc.conf.d/ could be used to enable-on-install, if we wanted to lean in that direction. I am a little divided on that. I don't like the fact that linux enables stuff by default as soon as you install it. --=20 Allan Jude --dqJW4DSjodbleIcNhudlxrlJOCMc0ME0V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTyCz4AAoJEJrBFpNRJZKfa2sQAInCOG/5snUKphs3DXPbulQF sn+XOOjRQKTDzE3C07WSz4NIDQEvar93N1QcJKcUI1pcVbw3L3S6EA+ArposJJDK 6NO521w34pc9dni4vJ/sTdlGEmWZEAiNSlEWK6ZRs4uqnxEv8hhMzbgCvWW2FlW1 kmLx20QkDQQKGQW85awKPGd9k61/KlVwz92/gNWHm+gFsuPVvS2sVkvyvENnfriN OyeeQCwuyA7WbV8IRmWURJcew06xn3ha/HfT152VPIJDTpU5SE8f6v/xqAWsTyxQ xV1ZjgwbQHVLf8vj8+rKPM41+fZ0VOuXwXlTise1r8EEnmasJqF2hIJx53avikaj eytvZ/JXHjAphGTG3i3YepuLWFDvf/UIuxc+IogPwmNKr3a38u/p05vjcOEp+30J H3yWoYhTc19ujv+2EbJlWCK7JIaZTbkdMDHZN+7a4f4GvhTFjHiEcnkGFYw+kGaN 9wAWxGEWRS1MDkozYCNPZu5m50tXH7HaLcPSCPE9X9N1Ui1ZNxn1hJUq8TLm0e6T dInVAFSreoIEftZyQ8gnpXe+4W0tYBo/i/4ZT8gr6MFRJPPFt9YTAauq8ILcKV7n F10H2lWj5WszrKNW+gsJCGl0U7K8StfrK7lkj19advIKoykow8GvA9Gyoil3S/HQ dQIkufUkAeMG5XCyqGIs =g353 -----END PGP SIGNATURE----- --dqJW4DSjodbleIcNhudlxrlJOCMc0ME0V-- From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:12:27 2014 Return-Path: Delivered-To: freebsd-doc@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 2121F177; Thu, 17 Jul 2014 20:12:27 +0000 (UTC) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (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 A11462CE7; Thu, 17 Jul 2014 20:12:26 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id c9so2586982qcz.15 for ; Thu, 17 Jul 2014 13:12:25 -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:date:message-id:subject :from:to:cc:content-type; bh=4YW5UwcGE+4gpAfeudZeUFCaoGRIhKEJG4mAm7OoZN8=; b=aNB0ot+66X1s1kixIY0G02Ud8Newtad9oQEprfuKA6MtIaYBso/Z7Lo+O7bkHlfITH d8dGiJJhd9zIPOZGXa7TFqDuuhusBq9XIUauvLIxLEAsAvSEcmpOZPtkhIeQQ/34ufxp YnKc2u+27ikAZA0e5/ZcRRDy+g6SW/8epSaapVMVizzFjjaqS2yo3o1b5VIlYqDcpi36 aEcenxP7OU1D1u3PPfajhfz9Oh6U2WTsyKjS7JTH+11qnrh09lqwuChQJ1VcclNTzYqR Q2NfkFGb2I0TG9aslSzInNwSpQSSxEnZaMfpfVfb6zDU/t65Yu96YjxVE9Gt2IFw/vW9 Awyg== MIME-Version: 1.0 X-Received: by 10.140.38.169 with SMTP id t38mr21789200qgt.3.1405627945854; Thu, 17 Jul 2014 13:12:25 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 13:12:25 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jul 2014 13:12:25 -0700 X-Google-Sender-Auth: vEApQ5mI5iTp16NlZVYWuH4c8nk Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Adrian Chadd To: Alberto Mijares Content-Type: text/plain; charset=UTF-8 Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:12:27 -0000 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? -a From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:14:55 2014 Return-Path: Delivered-To: freebsd-doc@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 82001465; Thu, 17 Jul 2014 20:14:55 +0000 (UTC) Received: from mail-vc0-x236.google.com (mail-vc0-x236.google.com [IPv6:2607:f8b0:400c:c03::236]) (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 EC6982D10; Thu, 17 Jul 2014 20:14:54 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id hy4so5762863vcb.13 for ; Thu, 17 Jul 2014 13:14:54 -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=jjseox9Zo55oCPGhd93/xRcuin7F54Gz8ThlowCpbzk=; b=ikE6hgLN3rZzviUSSETFml2sLmQkEsauzHYgjJiGw3p4drywwNqGs+VXBmSKF41elF whlah2pNNNZKCRz2knak7139smRbYT4fjIfhoF1R7YmNxn6OvRVpMo+y6TVPISyleD3q lT6MSZGyoDYNe6KyloRsm420fl2Qj5mHAyk38qocXOs6n4eiKYQUiOa2b8pYffnhQ0iy h7qXo7vU2oya572KL+AzSIdZkE6Y97Bl2QMps41ApTxVl+08NbuHORGYML6kltzwdAm+ +b2ar2onqkUuMnbxGKNahGt+korD3QYJIR6B3Usv+C7qzWIlWkyIQozPUAYt4ZMKk3AT FI/w== MIME-Version: 1.0 X-Received: by 10.52.101.168 with SMTP id fh8mr24250485vdb.34.1405628093804; Thu, 17 Jul 2014 13:14:53 -0700 (PDT) Received: by 10.58.113.99 with HTTP; Thu, 17 Jul 2014 13:14:53 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jul 2014 15:44:53 -0430 Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Alberto Mijares To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:14:55 -0000 On Thu, Jul 17, 2014 at 3:42 PM, 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? > # service appname onestart For the rest, read the manual and understand your OS. From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:15:03 2014 Return-Path: Delivered-To: freebsd-doc@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 89E3252F; Thu, 17 Jul 2014 20:15:03 +0000 (UTC) Received: from mail-pd0-x22d.google.com (mail-pd0-x22d.google.com [IPv6:2607:f8b0:400e:c02::22d]) (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 3C4452D13; Thu, 17 Jul 2014 20:15:03 +0000 (UTC) Received: by mail-pd0-f173.google.com with SMTP id w10so3727142pde.18 for ; Thu, 17 Jul 2014 13:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=cy5QbFuKpfxK938/x69T2Hk+edHEOTmAPwHCgBY03PU=; b=Fpniq2R7FGz/2PRCNoUPcAe4SAtdZwi5raZzKTUskSQ/Y+n+jzaQ6V9+AmYMV4i5Xo d8o4zkurHN+blvxo0oQspzZnfk9mcCnTP3a3vMSO5W+EzYjhbxQJ3/d/3PHbMCNiNc4b zDQX+IVmhjS9TUiaRGeWUbyIJMMayMNFZa9CTPiWYBeFY6hzcHlY+Ef/iGM7libUXfE5 uLvKRTRrnLlSspeXv/RmPvDBubOZMK1FI/yaJAqmOv2e0Wrpb8m1A0K12Fz4lSvOmuN0 ID3G977ioFMhP/2JyvKX48lyZkH0UW78/mgUldhoPe94zyGEO65dAFRReib9KfMtGDPA JkMA== X-Received: by 10.66.219.42 with SMTP id pl10mr23018492pac.22.1405628102859; Thu, 17 Jul 2014 13:15:02 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPSA id x15sm3369298pbt.52.2014.07.17.13.15.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Jul 2014 13:15:02 -0700 (PDT) Message-ID: <53C82EC4.8060304@gmail.com> Date: Thu, 17 Jul 2014 13:15:00 -0700 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Adrian Chadd , Alberto Mijares Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:15:03 -0000 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? From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:21:19 2014 Return-Path: Delivered-To: freebsd-doc@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 32F5076B; Thu, 17 Jul 2014 20:21:19 +0000 (UTC) Received: from mail-oa0-x22b.google.com (mail-oa0-x22b.google.com [IPv6:2607:f8b0:4003:c02::22b]) (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 BBF712DC9; Thu, 17 Jul 2014 20:21:18 +0000 (UTC) Received: by mail-oa0-f43.google.com with SMTP id i7so1520420oag.16 for ; Thu, 17 Jul 2014 13:21:18 -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=W3kOZEud/pQOo9XH929ZZQ8U7OHPPEG/3oRKJdyUCSI=; b=N7yk+FYAjCXSeDFdAvs02qt9hUEaIm4j47HWqjVkNz5LmwSBnDceynv3rMclxONXNZ 0WyHQNZvibkP4rxOdNC+kOXk9mUNRR5Yr6UZv3eiKqrm//HNXEVojgGt1+JjIIgsKTwo FkNxFx68rYMRaGEUtus3P4GH818WZR/5USM1NXpMwz3/X65kwtddr6ZvHPamBsEHT290 s73m++llTuvptKsCXS+V+gTrctZ3LaP8yKZGBzYtllaIY5ic3w4SC07K4kYbE+XMQ3K9 7T8Z2bpJH3TOnbfSXWSX9qCP7nLZA7LPS27TYN1QgDcW0OT/jfRsmaoQRn0e6RosHdti Ma0A== MIME-Version: 1.0 X-Received: by 10.60.73.129 with SMTP id l1mr49621129oev.2.1405628477962; Thu, 17 Jul 2014 13:21:17 -0700 (PDT) Received: by 10.76.170.39 with HTTP; Thu, 17 Jul 2014 13:21:17 -0700 (PDT) In-Reply-To: <53C82EC4.8060304@gmail.com> References: <53C82EC4.8060304@gmail.com> Date: Thu, 17 Jul 2014 22:21:17 +0200 Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Andreas Nilsson To: Navdeep Parhar Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Craig Rodrigues , Adrian Chadd , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:21:19 -0000 On Thu, Jul 17, 2014 at 10:15 PM, 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? > They sure are. Well, pkg install $service ; sysrc ${service}_enable="YES" would do. Although some services have different names than the packge, which is sort of annoying. I wouldn't mind though if pkg via dialog or some such mechanism asked if wanted it enabled. Or via pkg-message told me howto enable it. /A From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:21:34 2014 Return-Path: Delivered-To: freebsd-doc@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 2108D973; Thu, 17 Jul 2014 20:21:34 +0000 (UTC) Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) (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 9FE812DD5; Thu, 17 Jul 2014 20:21:33 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id f12so2233889qad.17 for ; Thu, 17 Jul 2014 13:21:32 -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:date:message-id:subject :from:to:cc:content-type; bh=r9MxJRe+w5k4nbig5gXIXyAQdSSpjcl/HyI6vbtw9as=; b=Vm408MGT+I2nj1bLXs1iVTp6OliQwu9JqJPSiEi/d5ymvM8yH8dwVkpXA4NFBsdud9 dxWhpML20vl1SP22eIUNuUbaD2eXKKwcMKuLkG11EchzroNps48OVlad3jU/qqvIF//1 6NmzfnHUXRqoHQNRYpb2GXnZcSsDYLBWMWpJJv9Wz30SLm9Mm4UycGrhvIK8jfVLNvdw vOII+QDs/RXR8OXq6JVb8QMW2rDpv98w2nBhkBsADdNfto0o23ZA2YHUD4etRCEaMnrH U2/bRBU8juqPTEb0q5BQT00Sv/1Se1iL6hxKFep73saWBCqENZtOQaWNJvRPIFbotppT g9Qw== MIME-Version: 1.0 X-Received: by 10.224.71.198 with SMTP id i6mr61134411qaj.76.1405628492558; Thu, 17 Jul 2014 13:21:32 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 13:21:32 -0700 (PDT) In-Reply-To: <53C82EC4.8060304@gmail.com> References: <53C82EC4.8060304@gmail.com> Date: Thu, 17 Jul 2014 13:21:32 -0700 X-Google-Sender-Auth: xJpkbt1q5MPuhPAjOjlOCMoX2kM Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Adrian Chadd To: Navdeep Parhar Content-Type: text/plain; charset=UTF-8 Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:21:34 -0000 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. -a From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:22:14 2014 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B6E0B4B for ; Thu, 17 Jul 2014 20:22:14 +0000 (UTC) Received: from o1983715284.outbound-mail.sendgrid.net (o1983715284.outbound-mail.sendgrid.net [198.37.152.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6C182DEF for ; Thu, 17 Jul 2014 20:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=content-type:mime-version:from:to:reply-to:subject:list-unsubscribe; s=smtpapi; bh=W0uw7AxPxnbPE3COHp0mGecPmbU=; b=c+yBmgWTy/7xn9uXhb AxpaJ6ALWH+rkp7LD/dw6ABs7x3Yj12nq0OUS3jDWM8b41sb6ysRewRmceydNVj7 5P4bmX9xqmLq1fBAvYwZBqs56ArIKCPWAloeKWCjKFCrQc4YVYZv3GRRB4jFyH+v nXRtmyUSNMUP8Zm9wx3hlDgVk= Received: by filter-154.sjc1.sendgrid.net with SMTP id filter-154.2221.53C82DA58 2014-07-17 20:10:13.465880218 +0000 UTC Received: from ismtpd-021.sjc1.sendgrid.net ([UNAVAILABLE]. [10.42.80.15]) by 10.42.83.239:2500 (trex/4.8.88); Thu, 17 Jul 2014 20:08:40 GMT Received: from MTM1NzM1Mw (unknown [10.42.83.122]) by ismtpd-021.sjc1.sendgrid.net (SG) with HTTP id 14745f24e24.adcf.866b7 for ; Thu, 17 Jul 2014 20:10:13 +0000 (GMT) MIME-Version: 1.0 From: ShipTMS Veteran Owned To: doc@freebsd.org Reply-To: marketing@shiptms.com Subject: The internet's first shipping search engine is here Message-ID: <14745f24e24.adcf.866b7@ismtpd-021.sjc1.sendgrid.net> Date: Thu, 17 Jul 2014 20:10:15 +0000 (UTC) X-SG-EID: 1VJ063RUdnRWgMHYJydS1wRPM4fjfY9LODkOxj+6RkJs2s8zqNj7U3ZoqR7y9wvbDx50+NQraSX5YXwSpgTUL0IrM1O18142W4Oqt+wBAQQobseqtImFM/ja971WOdcEOuiSN3EDhpcLhmwWhPyXjbxmKUkH3VNFJggTauaah0g= X-SG-ID: VPWZYjw6GOzHdwkwPeoX9QiEbzQXX/gF9P8njHP5+LAtjsCVxAOym7uM7X1yeDEjyuKPYsDeMptaV6PXECHKnJ77rEDvUJXjoJkymCCBuTw+CLJYYcT+a4HLaW7QcYnWMRhIgiWPtJJmbyOj/CQwrrwh2T6kRAopWU+1TAHb/bG7geKwxiWqjDuw7eIU+Hu1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:22:14 -0000 Email not displaying correctly? View it ( http://sendgrid.org/wf/webmail?rp= =3DZTI1bGQzTnNaWFIwWlhKZmFXUTZNVEl6TkN4MWMyVnlYMmxrT2pJMU5qVTBmUWV5SnVaWGR6= YkdWMGRHVnlYMmxrSWpvaU1qZzVPRE14TmlJc0ltNWxkM05zWlhSMFpYSmZkWE5sY2w5cFpDSTZ= OVEExT0RrMk9URXlORGQ5 ) in your browser =C2=A0 To stop us from bothering you in the future please click here ( http://u135= 7353.sendgrid.org/wf/unsubscribe?upn=3DxZf0Q3N4diZ80WL9fmzNAEH28UAXwW6-2BZb= noBfTbJqfCOvYKd4yC91Nuo4fVKG7KkyDLBDFea8BQcWGjRx-2F4LWE74d1T-2F1-2FsOXljoyi= WjDJWYyTFd19KFTWJHAvlp0XIlO-2BJayfqYW1n9KuppK9pvPj6pviI1eCkR33-2Fwd0mW8YOT0= UCpTJK-2FCTHYlg2IZPMQbxPhtXpB3veZ59ATJtcqH-2BOV98gNayJ-2BUdqeDLOZJHURfGefhw= Z8WJuWFI5E4ob7bxwN5oOxfpkeBzadf0RuzbrhmrIwt8tS2GyzmI5yAQro3sE17vcLKN2i7yDEO= e-2BOU7orgpF260dIsWnBYu6aLH-2FaaG2GKnDrguEzdJr9p1LPhY35dm9aGZI4O8Oo36a ) Shipping Search Engine and much more =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D We've been growing ------------------ ShipTMS now offers services that will save you even more money! - Small Parcel - International - Insurance - More brokers - Agent program =C2=A0 ShipTMS is veteran owned and wants to serve you as willingly as we served o= ur country. ---------------------------------------------------------------------------= ----------- WHO --- ShipTMS.com ( http://shiptms.com/help-center/ ) is the internet=E2=80=99s f= irst search engine for shipping that scours the internet=E2=80=99s top ship= ping websites and gives those results instantly. =C2=A0 Why --- To stop wasted time digging for shipping websites and then submitting form = after form to get a rate back (and many times not instantly). HOW --- We offer API and FTP connections for integration of any type. We offer a re= ferral program as well as a unique employment program ( http://shiptms.com/= jobs/ ) available! No matter what you ship, where you ship it or how you ship it, ShipTMS has = a solution that will save you time, money and heartache. We offer only lega= l, certified transporters on ShipTMS. Our partners follow a strict code of = conduct to ensure you have a positive experience on www.shiptms.com ( http:= //www.shiptms.com ) =C2=A0 Come get a free shipping quote today! ------------------------------------- www.shiptms.com/quick-quote ( http://www.shiptms.com/quick-quote ) To unsubscribe please click here ( http://u1357353.sendgrid.org/wf/unsubscr= ibe?upn=3DxZf0Q3N4diZ80WL9fmzNAEH28UAXwW6-2BZbnoBfTbJqfCOvYKd4yC91Nuo4fVKG7= KkyDLBDFea8BQcWGjRx-2F4LWE74d1T-2F1-2FsOXljoyiWjDJWYyTFd19KFTWJHAvlp0XIlO-2= BJayfqYW1n9KuppK9pvPj6pviI1eCkR33-2Fwd0mW8YOT0UCpTJK-2FCTHYlg2IZPMQbxPhtXpB= 3veZ59ATJtcqH-2BOV98gNayJ-2BUdqeDLOZJHURfGefhwZ8WJuWFI5E4ob7bxwN5oOxfpkeBza= df0RuzbrhmrIwt8tS2GyzmI5yAQro3sE17vcLKN2i7yDEOe-2BOU7orgpF260dIsWnBYu6aLH-2= FaaG2GKnDrguEzdJr9p1LPhY35dm9aGZI4O8Oo36a ) ShipTMS Veteran Owned 5715 Highway 85 N, Crestview, FL, 32536= From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:23:09 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4525DC71 for ; Thu, 17 Jul 2014 20:23:09 +0000 (UTC) Received: from o1983715284.outbound-mail.sendgrid.net (o1983715284.outbound-mail.sendgrid.net [198.37.152.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 177BF2DFD for ; Thu, 17 Jul 2014 20:23:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=content-type:mime-version:from:to:reply-to:subject:list-unsubscribe; s=smtpapi; bh=TthUyzZLDP7cMUk5wvFSs+JEB9k=; b=hfTuE8jN5KUE0l6rHf V4DQc5cbWP1u5NGjOmrjiU+SCzT7ijTmT710LcLx6y9Z8xoLauzj9KPRu89AcQiq Wv6ZHCby1Z1By8ptwBTMSDy6TbXp9pCWXQRTyhxFNiWJcv89324nn5E3jidw2ht3 QreflA/yw+Xo5Jt+JkvwZ7ry0= Received: by filter-133.sjc1.sendgrid.net with SMTP id filter-133.30645.53C82DA521 2014-07-17 20:10:14.2668272 +0000 UTC Received: from MTM1NzM1Mw (unknown [10.42.83.122]) by ismtpd-005.sjc1.sendgrid.net (SG) with HTTP id 14745f25177.438.901d3 for ; Thu, 17 Jul 2014 20:10:14 +0000 (GMT) MIME-Version: 1.0 From: ShipTMS Veteran Owned To: freebsd-doc@freebsd.org Reply-To: marketing@shiptms.com Subject: The internet's first shipping search engine is here Message-ID: <14745f25177.438.901d3@ismtpd-005.sjc1.sendgrid.net> Date: Thu, 17 Jul 2014 20:11:38 +0000 (UTC) X-SG-EID: 2gBxnW1rbk5uT2ZHwhCdfk069ydCTK+g4Vv3LNJVZEmpDDsgYXTbGKxD+EkvuJCrXC+SKvt8+REhaFOSiozwm9hffrhqEWO1Xy7snFcN7YddrJ6A49L30K4SvA/495J6JPxEqBAsvMDtzknR/Q7lJb0wCgQxy1UX22vqDKk7e4I= X-SG-ID: VPWZYjw6GOzHdwkwPeoX9QiEbzQXX/gF9P8njHP5+LAtjsCVxAOym7uM7X1yeDEjyuKPYsDeMptaV6PXECHKnJ77rEDvUJXjoJkymCCBuTw+CLJYYcT+a4HLaW7QcYnWMRhIgiWPtJJmbyOj/CQwrrwh2T6kRAopWU+1TAHb/bG7geKwxiWqjDuw7eIU+Hu1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:23:09 -0000 Email not displaying correctly? View it ( http://sendgrid.org/wf/webmail?rp= =3DZTI1bGQzTnNaWFIwWlhKZmFXUTZNVEl6TkN4MWMyVnlYMmxrT2pJMU5qVTBmUWV5SnVaWGR6= YkdWMGRHVnlYMmxrSWpvaU1qZzVPRE14TmlJc0ltNWxkM05zWlhSMFpYSmZkWE5sY2w5cFpDSTZ= OVEExT0RrM01EWTROak45 ) in your browser =C2=A0 To stop us from bothering you in the future please click here ( http://u135= 7353.sendgrid.org/wf/unsubscribe?upn=3DQ1G7K8cYCrLWsp3rtsmPRh-2BwYi8gbLw0w0= UyP8Xsl-2Ft2RlKe9owPCcz-2FjMnS9RwgM5L6nFHwf0cu3uHmBAIREKlivhCRthNNIzEfBH-2F= kem5wRp4MmsQEsK9zRpKe2MGLePXnpSRVOQjwv9uX-2BUafJ1t1S2EtjEgnsZH-2Fqh35tpqFSe= fzT7LS97cethI1ihSKekMTTPzifBotO-2FW72ya6Bd3nYzzYE6vo3iL0YQZf3bfZR37LvlZB-2B= sOUi3hQO8zF5ecpJo7kodpgXlc1PeF84ZrUfJz1qstExK0z8I7eVLCy97-2F-2B1B1qo0OywOdM= sTxJlNZOinMaPO7CgZEm2Ngwy9jn-2BYfHxID6SH6ukWg483yOKoz05N1MoVMyo0CQGnroRljha= Y5-2Bqh6tW0iZY7E9JQ-3D-3D ) Shipping Search Engine and much more =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D We've been growing ------------------ ShipTMS now offers services that will save you even more money! - Small Parcel - International - Insurance - More brokers - Agent program =C2=A0 ShipTMS is veteran owned and wants to serve you as willingly as we served o= ur country. ---------------------------------------------------------------------------= ----------- WHO --- ShipTMS.com ( http://shiptms.com/help-center/ ) is the internet=E2=80=99s f= irst search engine for shipping that scours the internet=E2=80=99s top ship= ping websites and gives those results instantly. =C2=A0 Why --- To stop wasted time digging for shipping websites and then submitting form = after form to get a rate back (and many times not instantly). HOW --- We offer API and FTP connections for integration of any type. We offer a re= ferral program as well as a unique employment program ( http://shiptms.com/= jobs/ ) available! No matter what you ship, where you ship it or how you ship it, ShipTMS has = a solution that will save you time, money and heartache. We offer only lega= l, certified transporters on ShipTMS. Our partners follow a strict code of = conduct to ensure you have a positive experience on www.shiptms.com ( http:= //www.shiptms.com ) =C2=A0 Come get a free shipping quote today! ------------------------------------- www.shiptms.com/quick-quote ( http://www.shiptms.com/quick-quote ) To unsubscribe please click here ( http://u1357353.sendgrid.org/wf/unsubscr= ibe?upn=3DQ1G7K8cYCrLWsp3rtsmPRh-2BwYi8gbLw0w0UyP8Xsl-2Ft2RlKe9owPCcz-2FjMn= S9RwgM5L6nFHwf0cu3uHmBAIREKlivhCRthNNIzEfBH-2Fkem5wRp4MmsQEsK9zRpKe2MGLePXn= pSRVOQjwv9uX-2BUafJ1t1S2EtjEgnsZH-2Fqh35tpqFSefzT7LS97cethI1ihSKekMTTPzifBo= tO-2FW72ya6Bd3nYzzYE6vo3iL0YQZf3bfZR37LvlZB-2BsOUi3hQO8zF5ecpJo7kodpgXlc1Pe= F84ZrUfJz1qstExK0z8I7eVLCy97-2F-2B1B1qo0OywOdMsTxJlNZOinMaPO7CgZEm2Ngwy9jn-= 2BYfHxID6SH6ukWg483yOKoz05N1MoVMyo0CQGnroRljhaY5-2Bqh6tW0iZY7E9JQ-3D-3D ) ShipTMS Veteran Owned 5715 Highway 85 N, Crestview, FL, 32536= From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:29:25 2014 Return-Path: Delivered-To: freebsd-doc@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, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project 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 From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:54:52 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01CC3551; Thu, 17 Jul 2014 20:54:52 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (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 E6248208D; Thu, 17 Jul 2014 20:54:50 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id d1so3484172wiv.9 for ; Thu, 17 Jul 2014 13:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=2ZIWeSeWji9V69u9J6zNIz4POmZCqG+UI7TjdfESOl8=; b=Y9x3MXhO4fvUWqj1IWH+MVKRa2RSlmlrleHeZrBADWc3MQxxx5sKO5OadP4qUMk9ID ugZMiSW0ir4ymauB9ssvODDatQVMzq6WmchYPg76omy/6O0TFDTYlojnvaCzoIHO85Z4 42M5vwppqe9W+TAj+Rh1mMWs0fGy+ASNnIoU0ivJFeGlHMfpgJliKGcO3eDt3Zuvs9XT uqQzEL9/M44gNxAPL64lzOYtAyHGX9vHRh2GbevlOdms2F1jc4M8RGnFW67bhus/bX0a E8pMFqeuoaqEPyZ8SQTbayEARJizIhtsPhqsjDUknZlHM0KhiUBZpcv+11uULpMWfrSL zdPw== X-Received: by 10.181.13.44 with SMTP id ev12mr26284322wid.57.1405630488617; Thu, 17 Jul 2014 13:54:48 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id q11sm24901985wib.14.2014.07.17.13.54.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jul 2014 13:54:47 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 17 Jul 2014 22:54:45 +0200 From: Baptiste Daroussin To: Andreas Nilsson Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140717205445.GC28314@ivaldir.etoilebsd.net> References: <53C82EC4.8060304@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UPT3ojh+0CqEDtpF" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , Adrian Chadd , ports , freebsd-doc@freebsd.org, freebsd-current Current , Navdeep Parhar X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:54:52 -0000 --UPT3ojh+0CqEDtpF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar wrot= e: >=20 > > 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? > > >=20 > They sure are. >=20 > Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would do. > Although some services have different names than the packge, which is sort > of annoying. Maybe service needs to be extended (seriously sysrc ${service}_enable=3D"YE= S" is not user friendly) we have service -l that list the services, maybe a servi= ce ${service} on that create /etc/rc.conf.d/${service} with ${service}_enable= =3D"YES" in it and service ${service} off to remove it maybe service -l could also be extended to show the current status (maybe w= ith a -v switch) but for sure having the service off by default is a good idea :) regards, Bapt --UPT3ojh+0CqEDtpF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPIOBUACgkQ8kTtMUmk6EybGACfXb3srUWCWCIGIzgVeXxxoq65 OCsAoMAUbudwOFR5eiLnU+W+sz/Gd5Sh =/hSI -----END PGP SIGNATURE----- --UPT3ojh+0CqEDtpF-- From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:55:35 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 162F0720 for ; Thu, 17 Jul 2014 20:55:35 +0000 (UTC) Received: from mail1.canodus2.canodus.be (mail1.canodus2.canodus.be [83.149.89.9]) by mx1.freebsd.org (Postfix) with ESMTP id C9539209E for ; Thu, 17 Jul 2014 20:55:34 +0000 (UTC) Received: by mail1.canodus2.canodus.be (Postfix, from userid 65534) id AACC332AD83; Thu, 17 Jul 2014 22:46:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.canodus2.canodus.be X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [192.168.1.131] (94-224-50-199.access.telenet.be [94.224.50.199]) by mail1.canodus2.canodus.be (Postfix) with ESMTPSA id 38B1932AC39; Thu, 17 Jul 2014 22:46:11 +0200 (CEST) Message-ID: <1405629960.2468.14.camel@debian.wout-t440s> Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Wout =?ISO-8859-1?Q?Decr=E9?= To: Adrian Chadd Date: Thu, 17 Jul 2014 22:46:00 +0200 In-Reply-To: References: <53C82EC4.8060304@gmail.com> Organization: Canodus Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports , Navdeep Parhar X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:55:35 -0000 On Thu, 2014-07-17 at 13:21 -0700, 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. > I see your point, and agree that there should be clear instructions after installing a port/package. Most ports I install already do a good job at this. But I would not like anything to autostart just because I install it. Prefer to enable rather than disable something, or worse, having it autostart without knowing. That's the kind of thing that turned me to FreeBSD :-) > > > -a > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:56:17 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1A97D7F7; Thu, 17 Jul 2014 20:56:17 +0000 (UTC) Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) (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 0AD2520A9; Thu, 17 Jul 2014 20:56:15 +0000 (UTC) Received: by mail-we0-f177.google.com with SMTP id w62so3685230wes.22 for ; Thu, 17 Jul 2014 13:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=9K3hT73XcHHusGoOuLvq9Sci35NCYXZ4EFucKDA11Hw=; b=fFQreMy64YZUrxM4+xd8KPd3SbwaTOj6zB9NX1EAbBMwAcPx4sUPKw2k7Gy1037Bsz LjteZEKLK0hGDi/QyVSlmUBdomNWSC2CpE3iByNBe4BZXnvh21L49bk6iwmr0l5hwfEm GytYF5J8bzE1ADn36uFNMV1vbNUNPJ4Yc9Xo4gdK4VjfdNjbXXaG4814JtnCKW7luFip VHqr/82DM652VHzcimjz3kkWVc86oR6JQk6XqUIg2bRR1Uj73G1AdaGwGJVfE8xF6psJ vb2a0rekDwdduXfLMEyiYn6wJ7KF176v/kG8necv1/YnOcf5VVgFdUxbLlXeEkXfe+fN PzKA== X-Received: by 10.194.219.70 with SMTP id pm6mr48087854wjc.53.1405630574351; Thu, 17 Jul 2014 13:56:14 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id go4sm8755321wjc.39.2014.07.17.13.56.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jul 2014 13:56:13 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 17 Jul 2014 22:56:11 +0200 From: Baptiste Daroussin To: Adrian Chadd Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140717205611.GD28314@ivaldir.etoilebsd.net> References: <53C82EC4.8060304@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TybLhxa8M7aNoW+V" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , Navdeep Parhar , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:56:17 -0000 --TybLhxa8M7aNoW+V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 17, 2014 at 01:21:32PM -0700, 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 wr= ote: > >>>> 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? >=20 > Yup, and if the default is going to be off, then you want the > instructions to be "type this in", not "edit this file." >=20 > 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. >=20 yes that is why xorg needs to have devd instead of hal support by default :) regards, Bapt --TybLhxa8M7aNoW+V Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPIOGsACgkQ8kTtMUmk6Ez4cACfYIpNaHaY4mrDyleryWRlWXhE fjAAnjmHqQUmgaViMFZfq2Cwo6U99+MX =5T8S -----END PGP SIGNATURE----- --TybLhxa8M7aNoW+V-- From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 20:57:54 2014 Return-Path: Delivered-To: freebsd-doc@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 303359DA; Thu, 17 Jul 2014 20:57:54 +0000 (UTC) Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::233]) (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 9A6E320C9; Thu, 17 Jul 2014 20:57:53 +0000 (UTC) Received: by mail-qg0-f51.google.com with SMTP id a108so2493825qge.10 for ; Thu, 17 Jul 2014 13:57:52 -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:date:message-id:subject :from:to:cc:content-type; bh=j8qQPvBAZm8h52Q2Jog21x/rIFiLQ8v/JdTwr8kqoug=; b=F1Ve7SmAaDqsU2JxoSqD00mk+hPRCd2XCNQGAC9AaIgHpJEFWjTV0yIH8t6jzAJcZ0 W3lWl4qpSjM2M8BtVn5famQMblkwEnf6einfhLRcSIJRYE+Df6ex5EuLH7K11HM/qEEc g2YZLeSncTcIgvVyy1ZNwLjCQgny9ge5aLxSCj6VbgYnx3/UVSUyst+Z1NOU7qfvrsx7 scsCYu5MySPel9W1MCzkVmap/3dZ8fU9wmWKxSSQ7RSLMswofeL0By3IF3FSy1mNnBPi S/ZbDN9phkdLJ33QznsLfe2qovxO/yQ5PIjZavR+VMg4VunsvxEPu+GEK3Bj9OL5cBeA 5V3w== MIME-Version: 1.0 X-Received: by 10.140.39.164 with SMTP id v33mr59086553qgv.99.1405630672667; Thu, 17 Jul 2014 13:57:52 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 13:57:52 -0700 (PDT) In-Reply-To: <20140717205445.GC28314@ivaldir.etoilebsd.net> References: <53C82EC4.8060304@gmail.com> <20140717205445.GC28314@ivaldir.etoilebsd.net> Date: Thu, 17 Jul 2014 13:57:52 -0700 X-Google-Sender-Auth: tFGoe2H9NjRJIzv4nFRer8J7XMY Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Adrian Chadd To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 Cc: Craig Rodrigues , ports , freebsd-doc@freebsd.org, freebsd-current Current , Andreas Nilsson , Navdeep Parhar X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:57:54 -0000 On 17 July 2014 13:54, Baptiste Daroussin wrote: > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: >> On Thu, Jul 17, 2014 at 10:15 PM, 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? >> > >> >> They sure are. >> >> Well, pkg install $service ; sysrc ${service}_enable="YES" would do. >> Although some services have different names than the packge, which is sort >> of annoying. > > Maybe service needs to be extended (seriously sysrc ${service}_enable="YES" is > not user friendly) we have service -l that list the services, maybe a service > ${service} on that create /etc/rc.conf.d/${service} with ${service}_enable="YES" > in it and service ${service} off to remove it > > maybe service -l could also be extended to show the current status (maybe with a > -v switch) > > but for sure having the service off by default is a good idea :) Yeah, maybe having it populate an entry of service_enable="NO" for now . It's even more unclear-ish - it's not obvious which options control services and which ones are configuration things. We don't call it service__enable, right? -a From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 21:07:45 2014 Return-Path: Delivered-To: freebsd-doc@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 3BEC0E16; Thu, 17 Jul 2014 21:07:45 +0000 (UTC) Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) (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 2E39821A6; Thu, 17 Jul 2014 21:07:43 +0000 (UTC) Received: by mail-we0-f177.google.com with SMTP id w62so3634674wes.8 for ; Thu, 17 Jul 2014 14:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=3zws4rD1JOMBcK02uNV3HsYaEBYKaIhOVHGucI3CDcA=; b=zzuWFbWBmJUoYnH2TF/ZcVYxgoD3/pABq1/+M/ra1mXtYaQpFQqnnD5+OGCJTOHQI3 ZQ4kJeGY30xcNm6OLYw3UAEL+oNlxjDiigsNNTn37jGh1XiJfuF+adyLWaYp53N1sIec f+J9ckfUGD9RZ5BqGBeP5Y9NuvyPTs0jm+shqEGiH2T87BzzRhlHFX3ECeFChg7hG7ci IDyAykXics0TJb978cxO1+4hQa1R42bFl7weQRfUuwDr4xqWPLJvasRVWJXoJxTKmnEp EgzjFpxtxeXtXDb+nJ4aIAYx3sH1qJfK8FPyis1oxcsiE3h6kPdKe6/izsNbbd3HnkQp 1nqA== X-Received: by 10.180.20.15 with SMTP id j15mr26122859wie.60.1405631262448; Thu, 17 Jul 2014 14:07:42 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id o9sm72458028wib.22.2014.07.17.14.07.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jul 2014 14:07:41 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 17 Jul 2014 23:07:39 +0200 From: Baptiste Daroussin To: Adrian Chadd Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140717210738.GE28314@ivaldir.etoilebsd.net> References: <53C82EC4.8060304@gmail.com> <20140717205445.GC28314@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="idY8LE8SD6/8DnRI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , ports , freebsd-doc@freebsd.org, freebsd-current Current , Andreas Nilsson , Navdeep Parhar X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 21:07:45 -0000 --idY8LE8SD6/8DnRI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 17, 2014 at 01:57:52PM -0700, Adrian Chadd wrote: > On 17 July 2014 13:54, Baptiste Daroussin wrote: > > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > >> On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar w= rote: > >> > >> > 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? > >> > > >> > >> They sure are. > >> > >> Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would do. > >> Although some services have different names than the packge, which is = sort > >> of annoying. > > > > Maybe service needs to be extended (seriously sysrc ${service}_enable= =3D"YES" is > > not user friendly) we have service -l that list the services, maybe a s= ervice > > ${service} on that create /etc/rc.conf.d/${service} with ${service}_ena= ble=3D"YES" > > in it and service ${service} off to remove it > > > > maybe service -l could also be extended to show the current status (may= be with a > > -v switch) > > > > but for sure having the service off by default is a good idea :) >=20 > Yeah, maybe having it populate an entry of service_enable=3D"NO" for now . then you need to extend rcng to support /usr/local/etc/rc.conf.d so the pac= kages can install them without touching base :) and we will need to wait for all supported FreeBSD version to have the said modification) >=20 > It's even more unclear-ish - it's not obvious which options control > services and which ones are configuration things. We don't call it > service__enable, right? >=20 imho this is obvious _enable =3D=3D control service. regards, Bapt --idY8LE8SD6/8DnRI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPIOxoACgkQ8kTtMUmk6EwhrACdE6ef7NyfN2uu1O6NBfpmE9Q7 z6UAnj/osU0iqaiBfJE2KME+Jk50zw7t =Di1K -----END PGP SIGNATURE----- --idY8LE8SD6/8DnRI-- From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 21:13:20 2014 Return-Path: Delivered-To: freebsd-doc@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 A2B45BD; Thu, 17 Jul 2014 21:13:20 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (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 99564223F; Thu, 17 Jul 2014 21:13:19 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id m15so2540443wgh.17 for ; Thu, 17 Jul 2014 14:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=dN26qToEZOOiPYkJdKXiOhQWiFXuk6UUK7VK2MINUoM=; b=0hr4Q+4cLzGglSF7oaBep/P3iXPtUzPloEl/YzsHP8xzHO+XOf4abNEgcV06NwMRre NNYLbcexkM6D4hse95PFhrdAUDVaWO0UmJLvOjRCQ+pcepxtgRA0nI88pA1tiXmo3NDd 1wALFxdGcr8E2OjJJZHnFbZUw3vwzhpcCTZHzElkNZ29BNTpNSqx15kzDbIFmg5cOD2X ocTZ3E1eC66KXvMSjzQgTA78ZHxnHGreXeWVYE5M3Ng7gMCN7NbTo2qMHMLak//Jjr2u az+tDcVkMGg2fXY4oFAgiq1rXU2Kg8sQ455yB7TQYlQp6JQp4KeVhuKqkNp1sL6/UpGH Q/Jw== X-Received: by 10.181.13.112 with SMTP id ex16mr25444517wid.58.1405631597746; Thu, 17 Jul 2014 14:13:17 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id di7sm8861163wjb.34.2014.07.17.14.13.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jul 2014 14:13:16 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 17 Jul 2014 23:13:14 +0200 From: Baptiste Daroussin To: Andreas Nilsson Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140717211314.GG28314@ivaldir.etoilebsd.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m972NQjnE83KvVa/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , Adrian Chadd , freebsd-current Current , freebsd-doc@freebsd.org, ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 21:13:20 -0000 --m972NQjnE83KvVa/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 17, 2014 at 09:57:44PM +0200, Andreas Nilsson wrote: > On Thu, Jul 17, 2014 at 9:28 PM, Adrian Chadd wrote: >=20 > > 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; > > > I disagree on this. For network services on linux ( apart from ssh ), I > want that started very seldom. But I do want the package installed so that > when I need it, it is there. Having it autostart as part of being install= ed > is breaking KISS and in some way unix philosophy: I asked for something to > be installed, not installed and autostarted. >=20 > > 5) .. and then we need examples of actually deploying useful > > scenarios, like "so here's what you type to get django working right", > > "here's how you get a default memcached that works well", "here's how > > you bring up node.js", etc. > > > Oh yes. I think that quite a few packages have default options that make > them unsuitable for out-of-box usage, ie some lack the sane default > dbi-stuff and so on. >=20 Reporting them is very much needed, we try to change this but without repor= t it is hard, as much as I can I use vanilla packages now, and I discovered that= they are now pretty much sane, a few example has been found and modified recently like nginx not supporting https by default, so do not hesitate to report any unsuitable options for out-of-box usage. regards, Bapt --m972NQjnE83KvVa/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPIPGoACgkQ8kTtMUmk6EwnGwCghpAb7hNsedG1Vq3nKxIpXsFn ausAn1PcYrU9sQrXC2LUnJM47PUA8tU+ =E4Du -----END PGP SIGNATURE----- --m972NQjnE83KvVa/-- From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 21:23:23 2014 Return-Path: Delivered-To: freebsd-doc@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 6FFBD5CD for ; Thu, 17 Jul 2014 21:23:23 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EF8B82346 for ; Thu, 17 Jul 2014 21:23:22 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s6HLN9Na024818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 17 Jul 2014 22:23:09 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s6HLN9Na024818 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1405632189; bh=BXaZItcX9Jrf5s088WPu9a2Ma7VkdccUXgfGvhnORDA=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Thu,=2017=20Jul=202014=2022:23:00=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-doc@fr eebsd.org|Subject:=20Re:=20HOWTO=20articles=20for=20migrating=20fr om=20Linux=20to=20FreeBSD,=20especially=0D=0A=20for=20pkg?|Referen ces:=20=20=20=20=20<53C82EC4.8060304@gmail.com>=20 |In-Reply-To:=20; b=EcEu4BboqVx6d3zfuWUxSvHiwjCNpH9TgEssHI/Sr1X5J3UfDBSfMB7Oao2xN8squ Dn2VLXzznyxxRqXTz90H3lZgX3KVfz6WjYN+EvLiyl7Ewd04wW3xlZlTdWnxFN+lNy t138OISfWqga78SoXGTeAzKUIquC/Zv4rvc9T6Xg= Message-ID: <53C83EB4.2060202@infracaninophile.co.uk> Date: Thu, 17 Jul 2014 22:23:00 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: <53C82EC4.8060304@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=E1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bCbX6de2FahsmorKEk6rRshjT4NRLplqG" X-Virus-Scanned: clamav-milter 0.98.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 21:23:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bCbX6de2FahsmorKEk6rRshjT4NRLplqG Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 17/07/2014 21:21, Andreas Nilsson wrote: >>>> No. Please NEVER do that! The user must be able to edit the files an= d >>>> > >> start the service by himself. >>> > > >>> > > Cool, so what's the single line command needed to type in to star= t a >>> > > given package service? >> > >> > Aren't sysrc(8) and service(8) for this kind of stuff? >> > > They sure are. >=20 > Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would do. > Although some services have different names than the packge, which is s= ort > of annoying. >=20 > I wouldn't mind though if pkg via dialog or some such mechanism asked i= f > wanted it enabled. Or via pkg-message told me howto enable it. I quite like the idea of having eg, an apache-config package, which when installed sets up httpd.conf in a way that allows adding phpMyAdmin-config or other similar application config packages on top. And enables everything in rc.conf, if not firing up apache on install[*].= *But* this should be separate from packages that install the software so if you want to write your own configuration you don't have to go through and unpick the pre-canned setup. Sometimes you just need to sling something on a box and have it working ASAP. Cheers, Matthew [*] Well, actually it go for nginx + php-fpm + webapp rather than apache, but the principle is the same. --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --bCbX6de2FahsmorKEk6rRshjT4NRLplqG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTyD68XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATtwgQAKvWygAccG+npxJjg9htkzho P0/lyQwwSmewPbmz+1tN7ZzmRyjCNA1WVhO6bywMr5Vtbv30ve5fpXV2FM+82nVz yjg2y5zhwQXE4MAzhqiEbYv2EqpI8w4SPfGzZw/XJcvc7xXPXaYyB7buOHwWD2AS vIOxWHyL8tEvEbe4Xat64VBfav4dBlNO7fMwdcUtY5ckPTiD9U1yilyGdAyVOiZ/ rvq/VWk+67lXxKLLzV5xBIrXxG46NywV1ddyGBkNreTERr2+IQLc2OnWSyi4um9j 88UaOdi4O6kVmfq6R1nA8axP2GYAAj6rFXGGAHDiLRaSNhEMtkdWTT4IoQPn4yn4 Z4sRY6Ckgy8dsB/H86+dL2YBPDTtiLPuYnrUG7OTHVm5WqcIzE3QYMNa6Pi+rJIj MlYn4+oqHlk6L35VeanaaDdQDNB8HlpM+NVjF7f8I4TnYh2XP3yBtjBK/3ZT92YN FRe+QxNQzDQn24xNTl6V9r1I+JJwMWJc6VNwZDj4BXxJOmJL5HsPnNAlNOyasfSl RNbgFW45V5YRq1F+YMQkxoQgYQj6sd2XBXdpn+Qo+4R9ne9kiLrPlXqV9YsN3zYq VDangTrOyPk165Lgb3yrb9xBkhsPbdNq5kDxN/YNMe47AiMUzJDVDbH8ZxqXUiWy 8xvKMORlZscKaZDY8N2/ =9s7o -----END PGP SIGNATURE----- --bCbX6de2FahsmorKEk6rRshjT4NRLplqG-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 02:40:09 2014 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 460CE65A for ; Fri, 18 Jul 2014 02:40:09 +0000 (UTC) Received: from build-web.stream.freebsd.org (build-web.stream.freebsd.org [IPv6:2001:1900:2254:206a::16:6504]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 333542B18 for ; Fri, 18 Jul 2014 02:40:09 +0000 (UTC) Received: from build-web.stream.freebsd.org ([127.0.1.2]) by build-web.stream.freebsd.org (8.14.8/8.14.8) with ESMTP id s6I2e8PJ048732 for ; Fri, 18 Jul 2014 02:40:08 GMT (envelope-from www-data@build-web.stream.freebsd.org) Received: (from www-data@localhost) by build-web.stream.freebsd.org (8.14.8/8.14.8/Submit) id s6I2e82G048716 for freebsd-doc@FreeBSD.org; Fri, 18 Jul 2014 02:40:08 GMT (envelope-from www-data) Date: Fri, 18 Jul 2014 02:40:08 GMT From: User Www-data Message-Id: <201407180240.s6I2e82G048716@build-web.stream.freebsd.org> To: freebsd-doc@FreeBSD.org Subject: FreeBSD web build failed on build-web.stream.freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 02:40:09 -0000 ===> releases/4.6.2R ===> releases/4.7R ===> releases/4.8R ===> releases/4.9R ===> releases/4.10R ===> releases/4.11R ===> releases/5.0R ===> releases/5.0R/DP1 ===> releases/5.0R/DP2 ===> releases/5.1R ===> releases/5.2R ===> releases/5.2.1R ===> releases/5.3R ===> releases/5.4R ===> releases/5.5R ===> releases/6.0R ===> releases/6.1R ===> releases/6.2R ===> releases/6.3R ===> releases/6.4R ===> releases/7.0R ===> releases/7.1R ===> releases/7.2R ===> releases/7.3R ===> releases/7.4R ===> releases/8.0R ===> releases/8.1R ===> releases/8.2R ===> releases/8.3R ===> releases/8.4R ===> releases/9.0R ===> releases/9.1R ===> releases/9.2R ===> releases/9.3R ===> releases/10.0R ===> releases/10.1R ===> releng ===> search ===> search/opensearch ===> security ===> security/advisories ===> security/patches ===> snapshots ===> support ===> cgi make: don't know how to make pds.cgi. Stop *** [all] Error code 2 Stop in /home/www/build/head/en_US.ISO8859-1/htdocs. 4.25 real 2.07 user 2.32 sys From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 07:08:24 2014 Return-Path: Delivered-To: doc@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 ABFB94F9 for ; Fri, 18 Jul 2014 07:08:24 +0000 (UTC) Received: from o1.newsletters.flashissue.com (o1.newsletters.flashissue.com [50.31.39.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 583CA2FEF for ; Fri, 18 Jul 2014 07:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=email1.flashissue.com; h=from:to:subject:mime-version:content-type:sender; s=smtpapi; bh=8fDQpcWZxOMiCdMP407nRNGR7XE=; b=i2Utc7/dIeVyBlz3pGLBaLARmCfH+ Mcvjov8rUpD1na+0HJY2Y27quYX6C7bb3/nB6mq24QkydfzpLXdqIsqs7fy+Zb85 U2IQ6FCpOYQp8oYMTEF9vueCb0HR+ulcmGRCYh4R8h1xy+p5+9Idn53SW5V1y2lA U7zXfTeKo+duVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=email1.flashissue.com; h=from:to:subject:mime-version:content-type:sender; q=dns; s=smtpapi; b=WPy0I2p6UM42YTY1xqy71slf4mdUEHhE3Ngz1qjArHMbRZQQbuJ hShrJBoPLtWoBpWebcZSl+964fMxx9/7CVcKTTjaVPROWArRswzFY8Iv4A+H99fB 1tlPWZtwvMRmHxzvUKjv2O1MBtPC4saRu7QofO9c5o7iiQUdjvCNXo5U= Received: by mf273.sendgrid.net with SMTP id mf273.13858.53C8C7E7E 2014-07-18 07:08:23.320705585 +0000 UTC Received: from ip-10-191-123-72.ec2.internal (ec2-23-21-128-144.compute-1.amazonaws.com [23.21.128.144]) by ismtpd-032.iad1.sendgrid.net (SG) with ESMTP id 147484cc2f2.6ee8.e3ebb for ; Fri, 18 Jul 2014 07:08:15 +0000 (GMT) From: "Abiconol Cosm." To: Message-ID: <2102261088.26006.1405667295993.JavaMail.root@ip-10-191-123-72> Subject: The best wart remover MIME-Version: 1.0 Date: Fri, 18 Jul 2014 07:08:23 +0000 (UTC) X-SG-EID: 1VJ063RUdnRWgMHYJydS1wRPM4fjfY9LODkOxj+6RkLoEvZ93RrI2AAAI5zKEhk18asAlx8Jr9igQO7pOrCoKLHMctWQVJHyvyWhDE4luaMSP7z2fzfr2MR5GMbdB9UNAYW6cBTTMZC6iMHLNIGDrA== X-SG-ID: abJri/z89ozyEJuJkS5UoDaB/x8mT16BRdU6pWHt6OxYThwsJ3IEaTZ5jsgbHZWCh0Z7W3vPiAsxgrZzV8GQrEG4n8K4J+z2/b36tjBTZ9blrYS4At++3TxifsGvvHdCG4g7K6RNnyUF4uTnboWFu+tEtg03k0uQhGUW5wIm/H5mZoHWtVZNwdVpt2mDJPN3KYT//b7E8tAb3mf4//eEFBOaM3qmO1aiDHESkbsfe+voadX43PiTHTjLZDfjS9/npxSpxTO7GaSvftMxQoXvtntVL47WD4H6q7B9XdfHAU6XegW+NZH0f7qcgLyb5qaZWvUkjcrF9wSuEBP7AsFxoqfziAsaoAwAcDXFTBuVTCU= Sender: Abiconol Cosm. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 07:08:24 -0000 - =C2=A0 =C2=A0 View in web browser =C2=A0 =C2=A0 ABICONOL Up to one in 10 = people will have a wart at some point in their life, most commonly in child= hood or adolescence. Warts and verrucas are usually harmless and go away by= themselves, with up to nine in 10 disappearing within two years in childre= n but often taking longer in adults. =C2=A0 =C2=A0 [continue...] =C2=A0 =C2= =A0 =C2=A0 =C2=A0 What is a wart ? Definition Warts are small, benign growt= hs caused by a viral infection of the skin or mucous membrane. The virus in= fects the surface layer. The viruses that cause warts are members of the hu= man papilloma virus (HPV) family. Warts are not cancerous but some strains = of HPV, usually not associated with warts, have been linked with... =C2=A0 = =C2=A0 [continue...] =C2=A0 =C2=A0 =C2=A0 Mailing address: Abiconol Cosm, A= ustralia, Sydney, 234 McConnel str., office 231, Sydney, Sydney, 2000, Aust= ralia Unsubscribe from future emails.= From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 07:08:41 2014 Return-Path: Delivered-To: www@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4BB3755 for ; Fri, 18 Jul 2014 07:08:41 +0000 (UTC) Received: from o1.newsletters.flashissue.com (o1.newsletters.flashissue.com [50.31.39.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E789209B for ; Fri, 18 Jul 2014 07:08:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=email1.flashissue.com; h=from:to:subject:mime-version:content-type:sender; s=smtpapi; bh=o+Scr291kwWapuw2XygH3j/fCXo=; b=R1DZ+Jy4gZg364r6Dm/LN0FH3c7vu Bf/aQ7M9JOhiv6lXI1RfX16hU8tdNGyRjtc/vWgn9xgSbRZ2ROixmSnJcx+XYKV7 cShrOHIEx6oakCeJSv9Gw12PLJ94Rvv0RRh+td2diBkSCt4cFh+pEOhfHJ1ACTXp VxipXHPfBRm6P4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=email1.flashissue.com; h=from:to:subject:mime-version:content-type:sender; q=dns; s=smtpapi; b=aWySPOUQDZfTFbJsvJo3SLslVrlC2AKAdKSYATBj48CC32NyAEb 0guK/TnLgyb300JUeiE2hkiPq2kkyrySwXhrc5CGGrrFx202RdlKOrswQzm16JGC OErsf3G14Iz2PKJUSy49fWlPSNcUfdr4Sbip1KIUTFtiI/twUbbBCLus= Received: by mf144.sendgrid.net with SMTP id mf144.22062.53C8C7F81A 2014-07-18 07:08:40.395206514 +0000 UTC Received: from ip-10-191-123-72.ec2.internal (ec2-23-21-128-144.compute-1.amazonaws.com [23.21.128.144]) by ismtpd-012.iad1.sendgrid.net (SG) with ESMTP id 147484d197c.7aef.10e89c for ; Fri, 18 Jul 2014 07:08:38 +0000 (GMT) From: "Abiconol Cosm." To: Message-ID: <86011748.27100.1405667318148.JavaMail.root@ip-10-191-123-72> Subject: The best wart remover MIME-Version: 1.0 Date: Fri, 18 Jul 2014 07:08:40 +0000 (UTC) X-SG-EID: 2CI6rEXrA9FLiwqu0YNfvkKI8B1cisDytcXxviHmKXVdaD+7mxWrlzeJdhroyRbDQpiSGLsGm6ZVaO8MCqca1jTUenHE4u/eMkD4SLx0zaM1bCnEl0tqSgApf2z58NHI+IuRaliWewLNLLisgnxtdUUnHbWznaUPzLtZpHLhMpo= X-SG-ID: abJri/z89ozyEJuJkS5UoDaB/x8mT16BRdU6pWHt6OxYThwsJ3IEaTZ5jsgbHZWCh0Z7W3vPiAsxgrZzV8GQrEG4n8K4J+z2/b36tjBTZ9blrYS4At++3TxifsGvvHdCG4g7K6RNnyUF4uTnboWFu+tEtg03k0uQhGUW5wIm/H5mZoHWtVZNwdVpt2mDJPN3KYT//b7E8tAb3mf4//eEFBOaM3qmO1aiDHESkbsfe+voadX43PiTHTjLZDfjS9/npxSpxTO7GaSvftMxQoXvtntVL47WD4H6q7B9XdfHAU6XegW+NZH0f7qcgLyb5qaZWvUkjcrF9wSuEBP7AsFxoqfziAsaoAwAcDXFTBuVTCU= Sender: Abiconol Cosm. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 07:08:41 -0000 - =C2=A0 =C2=A0 View in web browser =C2=A0 =C2=A0 ABICONOL Up to one in 10 = people will have a wart at some point in their life, most commonly in child= hood or adolescence. Warts and verrucas are usually harmless and go away by= themselves, with up to nine in 10 disappearing within two years in childre= n but often taking longer in adults. =C2=A0 =C2=A0 [continue...] =C2=A0 =C2= =A0 =C2=A0 =C2=A0 What is a wart ? Definition Warts are small, benign growt= hs caused by a viral infection of the skin or mucous membrane. The virus in= fects the surface layer. The viruses that cause warts are members of the hu= man papilloma virus (HPV) family. Warts are not cancerous but some strains = of HPV, usually not associated with warts, have been linked with... =C2=A0 = =C2=A0 [continue...] =C2=A0 =C2=A0 =C2=A0 Mailing address: Abiconol Cosm, A= ustralia, Sydney, 234 McConnel str., office 231, Sydney, Sydney, 2000, Aust= ralia Unsubscribe from future emails.= From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 07:22:47 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CCC9ED9 for ; Fri, 18 Jul 2014 07:22:47 +0000 (UTC) Received: from o1.newsletters.flashissue.com (o1.newsletters.flashissue.com [50.31.39.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0B9E230F for ; Fri, 18 Jul 2014 07:22:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=email1.flashissue.com; h=from:to:subject:mime-version:content-type:sender; s=smtpapi; bh=tVV84wtPXDlDlLFwG9/H+5hfHIQ=; b=Onjhu+Lv+vmfdi5hD6IbUI55bhUAM cFN9EZ3OWSkvklouEtpbLE+nm6GQoTzUQPdmnZ0WmaqXmMG3vjH/hnaI+Ix2FGYA c0yKT63oJCPhtgo8SfGRsQ6KiFrBO+6C4+w8H0cVoCmcsuXLrlexUvGdQ/KJJzR+ WH1ODrZ/oNx3gQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=email1.flashissue.com; h=from:to:subject:mime-version:content-type:sender; q=dns; s=smtpapi; b=Pudg8423HZNyPAxr0wK8gRtWuhkqkWf/kTW4pqGBMVLUNe7WPGM biw6cvdF9iVp387xRF16uBN6iugFsxOMo2jTqAes9Af9qj1kvoJCXUz5ZAFgE9A7 Wo704/d06ljmGdFZFwmGd/uHKxui3DGTwNuxKcHvxHWZONS8k8bwIiGA= Received: by mf193.sendgrid.net with SMTP id mf193.6897.53C8C7EC11 2014-07-18 07:08:28.308499966 +0000 UTC Received: from ip-10-191-123-72.ec2.internal (ec2-23-21-128-144.compute-1.amazonaws.com [23.21.128.144]) by ismtpd-009.iad1.sendgrid.net (SG) with ESMTP id 147484cf201.903.e37ab for ; Fri, 18 Jul 2014 02:08:28 -0500 (CST) From: "Abiconol Cosm." To: Message-ID: <1540471538.26614.1405667308043.JavaMail.root@ip-10-191-123-72> Subject: The best wart remover MIME-Version: 1.0 Date: Fri, 18 Jul 2014 07:08:28 +0000 (UTC) X-SG-EID: 2gBxnW1rbk5uT2ZHwhCdfk069ydCTK+g4Vv3LNJVZEkpC2ETOvBw+JhQyoxgVRGPbSh0O8HAbnH1eQxof4QPBUMcgK4Q4ihnpUIrYZd/bOz7WggH14Y7pHeRUksUOWC53wdU0dSu1kpSIDm7jE5QGgOacDErQlfW6csVCpWMUt0= X-SG-ID: abJri/z89ozyEJuJkS5UoDaB/x8mT16BRdU6pWHt6OxYThwsJ3IEaTZ5jsgbHZWCh0Z7W3vPiAsxgrZzV8GQrEG4n8K4J+z2/b36tjBTZ9blrYS4At++3TxifsGvvHdCG4g7K6RNnyUF4uTnboWFu+tEtg03k0uQhGUW5wIm/H5mZoHWtVZNwdVpt2mDJPN3KYT//b7E8tAb3mf4//eEFBOaM3qmO1aiDHESkbsfe+voadX43PiTHTjLZDfjS9/npxSpxTO7GaSvftMxQoXvtntVL47WD4H6q7B9XdfHAU6XegW+NZH0f7qcgLyb5qaZWvUkjcrF9wSuEBP7AsFxoqfziAsaoAwAcDXFTBuVTCU= Sender: Abiconol Cosm. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 07:22:47 -0000 - =C2=A0 =C2=A0 View in web browser =C2=A0 =C2=A0 ABICONOL Up to one in 10 = people will have a wart at some point in their life, most commonly in child= hood or adolescence. Warts and verrucas are usually harmless and go away by= themselves, with up to nine in 10 disappearing within two years in childre= n but often taking longer in adults. =C2=A0 =C2=A0 [continue...] =C2=A0 =C2= =A0 =C2=A0 =C2=A0 What is a wart ? Definition Warts are small, benign growt= hs caused by a viral infection of the skin or mucous membrane. The virus in= fects the surface layer. The viruses that cause warts are members of the hu= man papilloma virus (HPV) family. Warts are not cancerous but some strains = of HPV, usually not associated with warts, have been linked with... =C2=A0 = =C2=A0 [continue...] =C2=A0 =C2=A0 =C2=A0 Mailing address: Abiconol Cosm, A= ustralia, Sydney, 234 McConnel str., office 231, Sydney, Sydney, 2000, Aust= ralia Unsubscribe from future emails.= From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 12:10:31 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E39F0178; Fri, 18 Jul 2014 12:10:31 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (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 690A62C10; Fri, 18 Jul 2014 12:10:31 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 94EBE6A6032; Fri, 18 Jul 2014 14:10:26 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id s6ICAQWP044731; Fri, 18 Jul 2014 14:10:26 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id s6ICAP42043569; Fri, 18 Jul 2014 14:10:25 +0200 (CEST) (envelope-from lars) Date: Fri, 18 Jul 2014 14:10:25 +0200 From: Lars Engels To: Adrian Chadd Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140718121025.GD96250@e-new.0x20.net> Mail-Followup-To: Lars Engels , Adrian Chadd , Andreas Nilsson , Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="osDK9TLjxFScVI/L" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p4 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports , Andreas Nilsson X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 12:10:32 -0000 --osDK9TLjxFScVI/L Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 17, 2014 at 01:00:03PM -0700, Adrian Chadd wrote: > On 17 July 2014 12:57, Andreas Nilsson wrote: > > > > > > > > On Thu, Jul 17, 2014 at 9:28 PM, Adrian Chadd wrot= e: > >> > >> 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; > > > > I disagree on this. For network services on linux ( apart from ssh ), I= want > > that started very seldom. But I do want the package installed so that w= hen I > > need it, it is there. Having it autostart as part of being installed is > > breaking KISS and in some way unix philosophy: I asked for something to= be > > installed, not installed and autostarted. >=20 > That's cool. We can disagree on that. But the fact that you have to > edit a file to enable things and hope you get the right start entry in > /etc/rc.conf or /usr/local/etc/rc.conf, or wherever you put it is, is > a pain. No, Sir! No need to edit anything: root@testjail: # pkg install apache24 Updating repository catalogue The following 5 packages will be installed: Installing pcre: 8.33 Installing gdbm: 1.10 Installing db42: 4.2.52_5 Installing apr: 1.4.8.1.5.3 Installing apache24: 2.4.6_1 The installation will require 47 MB more space 5 MB to be downloaded Proceed with installing packages [y/N]: y gdbm-1.10.txz 100% 83KB 83.2KB/s 83.2KB/s 00:00 db42-4.2.52_5.txz 100% 1457KB 1.4MB/s 1.4MB/s 00:00 apr-1.4.8.1.5.3.txz 100% 390KB 389.5KB/s 389.5KB/s 00:00 apache24-2.4.6_1.txz 100% 3649KB 3.6MB/s 3.6MB/s 00:00 Checking integrity... done [1/5] Installing pcre-8.33... done [2/5] Installing gdbm-1.10... done [3/5] Installing db42-4.2.52_5... done [4/5] Installing apr-1.4.8.1.5.3... done [5/5] Installing apache24-2.4.6_1...=3D=3D=3D> Creating users and/or groups. Using existing group 'www'. Using existing user 'www'. /usr/local/share/examples/apache24/httpd.conf -> /usr/local/etc/apache24/httpd.conf done To run apache www server from startup, add apache24_enable=3D"yes" in your /etc/rc.conf. Extra options can be found in startup script. Your hostname must be resolvable using at least 1 mechanism in /etc/nsswitch.conf typically DNS or /etc/hosts or apache might have issues starting depending on the modules you are using. root@testjail: # sysrc apache24_enable=3Dyes apache24_enable: -> yes root@testjail: # service apache24 start Performing sanity check on apache24 configuration: AH00557: httpd: apr_sockaddr_info_get() failed for testjail AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Syntax OK Starting apache24. AH00557: httpd: apr_sockaddr_info_get() failed for testjail AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message root@testjail: # That's 3 commands to enter. Admittedly 2 more than on some OS that blindly starts any service you install, but 2 steps more logical and even a newbie can do this. What could be done is that pkg looks for rc scripts in a package, extracts the enable line and prints a message how to enable the script / daemon permanently. Like:=20 - To start the script "apache24" once run "service apache24 onestart". - To start the script "apache24" at boot time run "sysrc apache24_enable=3D= yes" - The script "apache24" has the following optional settings for /etc/rc.con= f: apache24_profiles (str): Set to "" by default. Define your profiles here. apache24limits_enable (bool):Set to "NO" by default. Set it to yes to run `limits $limits_args` just before apache starts. apache24_flags (str): Set to "" by default. Extra flags passed to start command. apache24limits_args (str): Default to "-e -C daemon" Arguments of pre-start limits run. apache24_http_accept_enable (bool): Set to "NO" by default. Set to yes to check for accf_http kernel module on start up and load if not loaded. apache24_fib (str): Set an altered default network view for apa= che --osDK9TLjxFScVI/L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJTyQ6xXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t0EkH/0Q+FCOMJjhCxNR9bIhKsYsT nKypfbl/5FEeR+6jXadtsrhMqXSl1H2ptduWCP5x7QwaP3UgEzc00AQfBh+18B+R SXPZHffUP55n8sorqCKzp5glW+vQmfuCjX4ap5N62Ch1AfI2T6H5FKLLWDCJxDJ2 YKuqJOXuRVonvAyHsix6ducjKwEiS1bJFNeyCWEfsLY+1x5vHzq/plOve8BoAjG7 0uwT2I3LqAZeg3Vtfk3qWbvJhfZk+UjVrY6jHTUu4jVVyuZ8mPcJS0vtaSbyYFxK Iw8u9rLOXslkgzAhZE07LEyh6lsDI0yPkNu1H5euD2zvDp4NBaLWQI3ytOcnXuY= =/umA -----END PGP SIGNATURE----- --osDK9TLjxFScVI/L-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 12:14:21 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 754B84ED; Fri, 18 Jul 2014 12:14:21 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (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 E7BBC2CBE; Fri, 18 Jul 2014 12:14:20 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 223936A6032; Fri, 18 Jul 2014 14:14:18 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id s6ICEHE2044071; Fri, 18 Jul 2014 14:14:17 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id s6ICEHjp042859; Fri, 18 Jul 2014 14:14:17 +0200 (CEST) (envelope-from lars) Date: Fri, 18 Jul 2014 14:14:17 +0200 From: Lars Engels To: Adrian Chadd , Andreas Nilsson , Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140718121417.GE96250@e-new.0x20.net> Mail-Followup-To: Lars Engels , Adrian Chadd , Andreas Nilsson , Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports References: <20140718121025.GD96250@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="X3gaHHMYHkYqP6yf" Content-Disposition: inline In-Reply-To: <20140718121025.GD96250@e-new.0x20.net> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p4 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 12:14:21 -0000 --X3gaHHMYHkYqP6yf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 18, 2014 at 02:10:25PM +0200, Lars Engels wrote: > On Thu, Jul 17, 2014 at 01:00:03PM -0700, Adrian Chadd wrote: > > On 17 July 2014 12:57, Andreas Nilsson wrote: > > > > > > > > > > > > On Thu, Jul 17, 2014 at 9:28 PM, Adrian Chadd wr= ote: > > >> > > >> 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; > > > > > > I disagree on this. For network services on linux ( apart from ssh ),= I want > > > that started very seldom. But I do want the package installed so that= when I > > > need it, it is there. Having it autostart as part of being installed = is > > > breaking KISS and in some way unix philosophy: I asked for something = to be > > > installed, not installed and autostarted. > >=20 > > That's cool. We can disagree on that. But the fact that you have to > > edit a file to enable things and hope you get the right start entry in > > /etc/rc.conf or /usr/local/etc/rc.conf, or wherever you put it is, is > > a pain. >=20 > No, Sir! No need to edit anything: >=20 > root@testjail: # pkg install apache24 > Updating repository catalogue > The following 5 packages will be installed: >=20 > Installing pcre: 8.33 > Installing gdbm: 1.10 > Installing db42: 4.2.52_5 > Installing apr: 1.4.8.1.5.3 > Installing apache24: 2.4.6_1 >=20 > The installation will require 47 MB more space >=20 > 5 MB to be downloaded >=20 > Proceed with installing packages [y/N]: y > gdbm-1.10.txz 100% 83KB 83.2KB/s 83.2KB/s 00:00 > db42-4.2.52_5.txz 100% 1457KB 1.4MB/s 1.4MB/s 00:00 > apr-1.4.8.1.5.3.txz 100% 390KB 389.5KB/s 389.5KB/s 00:00 > apache24-2.4.6_1.txz 100% 3649KB 3.6MB/s 3.6MB/s 00:00 > Checking integrity... done > [1/5] Installing pcre-8.33... done > [2/5] Installing gdbm-1.10... done > [3/5] Installing db42-4.2.52_5... done > [4/5] Installing apr-1.4.8.1.5.3... done > [5/5] Installing apache24-2.4.6_1...=3D=3D=3D> Creating users and/or grou= ps. > Using existing group 'www'. > Using existing user 'www'. > /usr/local/share/examples/apache24/httpd.conf -> > /usr/local/etc/apache24/httpd.conf > done > To run apache www server from startup, add apache24_enable=3D"yes" > in your /etc/rc.conf. Extra options can be found in startup script. >=20 > Your hostname must be resolvable using at least 1 mechanism in > /etc/nsswitch.conf typically DNS or /etc/hosts or apache might > have issues starting depending on the modules you are using. >=20 > root@testjail: # sysrc apache24_enable=3Dyes > apache24_enable: -> yes >=20 > root@testjail: # service apache24 start > Performing sanity check on apache24 configuration: > AH00557: httpd: apr_sockaddr_info_get() failed for testjail > AH00558: httpd: Could not reliably determine the server's fully > qualified domain name, using 127.0.0.1. Set the 'ServerName' directive > globally to suppress this message > Syntax OK > Starting apache24. > AH00557: httpd: apr_sockaddr_info_get() failed for testjail > AH00558: httpd: Could not reliably determine the server's fully > qualified domain name, using 127.0.0.1. Set the 'ServerName' directive > globally to suppress this message > root@testjail: # >=20 >=20 > That's 3 commands to enter. Admittedly 2 more than on some OS that > blindly starts any service you install, but 2 steps more logical and > even a newbie can do this. >=20 > What could be done is that pkg looks for rc scripts in a package, > extracts the enable line and prints a message how to enable the script / > daemon permanently. >=20 > Like:=20 > - To start the script "apache24" once run "service apache24 onestart". > - To start the script "apache24" at boot time run "sysrc apache24_enable= =3Dyes" > - The script "apache24" has the following optional settings for /etc/rc.c= onf: > apache24_profiles (str): Set to "" by default. > Define your profiles here. > apache24limits_enable (bool):Set to "NO" by default. > Set it to yes to run `limits $limits_args` > just before apache starts. > apache24_flags (str): Set to "" by default. > Extra flags passed to start command. > apache24limits_args (str): Default to "-e -C daemon" > Arguments of pre-start limits run. > apache24_http_accept_enable (bool): Set to "NO" by default. > Set to yes to check for accf_http kernel > module on start up and load if not loaded. > apache24_fib (str): Set an altered default network view for a= pache >=20 >=20 >=20 Sorry for no reading the whole thread first. This was already suggested in another part of the thread. --X3gaHHMYHkYqP6yf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF7BAEBCgBmBQJTyQ+ZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tYnQH92Fryi0AK/TnLdIfoYHluYJl TSDKYXMsq/DNhWQdTwDOLwU1GyUFnjvLm5RVvyODo6RIT4EnqH3hnOBJ9O/J5DFV T8/EiV863j+j6rKmwG/pzygM7JYy9T7cZEZBBj6tm8CSYZSOdbaCtSLeyof7z0EW NhNVISs5mqfGETTtnfLdRyRvYCqadpd691v2sgzus6ziCAo6f1DgA/PbM4sG7HRW 8DJW5xdSzV6kqZ24DbbvSiZVFzz1efpGbFKOgH27lpJglgqDzyK0gkxa6Dfg1xCd fkTc125cWCBdzI1dAeApfAhXsw3AL2RuY/KqdZLbsh+cXYmmT8JG7Ta+C/giLA== =UaRC -----END PGP SIGNATURE----- --X3gaHHMYHkYqP6yf-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 12:52:27 2014 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B15A1B0 for ; Fri, 18 Jul 2014 12:52:27 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 63639201E for ; Fri, 18 Jul 2014 12:52:27 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6ICqRI3059381 for ; Fri, 18 Jul 2014 12:52:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 191581] [patch] Fix typos in iscsictl.8 Date: Fri, 18 Jul 2014 12:52:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-doc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 12:52:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191581 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: gavin Date: Fri Jul 18 12:51:36 UTC 2014 New revision: 268842 URL: http://svnweb.freebsd.org/changeset/base/268842 Log: Fix two typos in iscsictl.8 PR: 191581 Submitted by: Jimmy Olgeni MFC after: 3 days Changes: head/usr.bin/iscsictl/iscsictl.8 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 12:54:37 2014 Return-Path: Delivered-To: freebsd-doc@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 6325E235 for ; Fri, 18 Jul 2014 12:54:37 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDC72039 for ; Fri, 18 Jul 2014 12:54:37 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6ICsb2d081013 for ; Fri, 18 Jul 2014 12:54:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 191581] [patch] Fix typos in iscsictl.8 Date: Fri, 18 Jul 2014 12:54:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gavin@FreeBSD.org X-Bugzilla-Status: Needs MFC X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gavin@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 12:54:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191581 Gavin Atkinson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Triage |Needs MFC Assignee|freebsd-doc@FreeBSD.org |gavin@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 13:34:58 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AACCCA93 for ; Fri, 18 Jul 2014 13:34:58 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 6AB1A24E1 for ; Fri, 18 Jul 2014 13:34:58 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 4FB0211484 for ; Fri, 18 Jul 2014 13:34:57 +0000 (UTC) Message-ID: <53C9229D.8090406@freebsd.org> Date: Fri, 18 Jul 2014 09:35:25 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: <53C82EC4.8060304@gmail.com> <53C83EB4.2060202@infracaninophile.co.uk> In-Reply-To: <53C83EB4.2060202@infracaninophile.co.uk> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="98GmvM4PqAJQ2RLdjHID2jgTbQp8rnoOx" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 13:34:58 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --98GmvM4PqAJQ2RLdjHID2jgTbQp8rnoOx Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-07-17 17:23, Matthew Seaman wrote: > On 17/07/2014 21:21, Andreas Nilsson wrote: >>>>> No. Please NEVER do that! The user must be able to edit the files a= nd >>>>>>>> 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? >>>> >> They sure are. >> >> Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would do.= >> Although some services have different names than the packge, which is = sort >> of annoying. >> >> I wouldn't mind though if pkg via dialog or some such mechanism asked = if >> wanted it enabled. Or via pkg-message told me howto enable it. >=20 > I quite like the idea of having eg, an apache-config package, which whe= n > installed sets up httpd.conf in a way that allows adding > phpMyAdmin-config or other similar application config packages on top. > And enables everything in rc.conf, if not firing up apache on install[*= ]. >=20 > *But* this should be separate from packages that install the software s= o > if you want to write your own configuration you don't have to go throug= h > and unpick the pre-canned setup. >=20 > Sometimes you just need to sling something on a box and have it working= > ASAP. >=20 > Cheers, >=20 > Matthew >=20 > [*] Well, actually it go for nginx + php-fpm + webapp rather than > apache, but the principle is the same. >=20 The apache package created /usr/local/etc/apache22/Includes/ But I think the default httpd.conf has the line that includes it commented out. We could obviously do the same for nginx, create an includes directory et= c. Then we'd have to teach the package infrastructure to understand which web server you are using, and each port would need a template for each web server. And again, we'd not want it on by default, so we'd install phpmyadmin.conf.sample, and the user would have to copy it to phpmyadmin.conf to enable it. As long as we give them the cp command in the pkg-message, this seems fairly easy for a beginner to do. --=20 Allan Jude --98GmvM4PqAJQ2RLdjHID2jgTbQp8rnoOx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTySKeAAoJEJrBFpNRJZKfb6YQAKh5AL6j4SeTaps0QMQsXUOM HFbvCSu6oDemFzWAE7k27M9tcOoLEwkK/Z13fbr/LZNelqFw8/lHy1elkXuNOfZ6 AKNks8+sJ1lL1kaHmdoflP+UHEsQgePXRe1FeqENkCDYaiInJxzkJapfFSHffZJO 0s3SOL/Rd16QTBUcRsXjC9NiQMo3Bu/S4O06R8JyRj5yanNYcND767MjF/ND/Sd3 JvhPOc6D4PE0FCoXrQfo9ARCWF542DfPs1JvOshw/Z+S1prKfyORBlqlGMq8LssW iXjLp7hvXvP+XgV8VU+LGqSEi6q9fMlK+gbsIuGCdEv0x4H6+YucyrKCJUHdU4lM 4A1TzQ+m0ar1KlbgZRuPNsnLdT16fA/G5pCcwwyFMwClQ1c3Fm7acWl1m+2EG9fD 4dgwx8rswGMoUqMPYs8wMGovyQFtItuja6G9/U0qGmzSavSSZvehYns7deAHacbK eTiV9RBwt6AHVonjUQwX+1KKioNSn1VqcGB9FIEk02yJyUxiPnIdTWT7wJ/1lJgU amBCdZ8ViWCAfmzYlL1HWV2m0imErcnWqVipGcZGEmLgZx+nvu5bNgv1eScSh0Cc DWDh5eYGuK6TQkZBCl6BQxQg+y4qHZjZbBwJonocNHdOgaIqAUVfy+9OKznuZ/6v LGI9A7ollGUa13ppMx24 =6qGN -----END PGP SIGNATURE----- --98GmvM4PqAJQ2RLdjHID2jgTbQp8rnoOx-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 13:43:16 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E721E5C; Fri, 18 Jul 2014 13:43:16 +0000 (UTC) Received: from mail-oa0-x22a.google.com (mail-oa0-x22a.google.com [IPv6:2607:f8b0:4003:c02::22a]) (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 30DA925D2; Fri, 18 Jul 2014 13:43:16 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id n16so3180505oag.15 for ; Fri, 18 Jul 2014 06:43:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=0+Q1MIqMtSq6ThZZ7cKoWN+RTluoj4wTAcPoaFAuVE0=; b=fmPOEvEGxAFwi0Nqut6o642DrfgLYJ34dBL8C0amjIrnpaAqVVPnMHlw4x0d5e+ufD mq84zhb3iR5jlr2a5R4jkmFlLOsGScUsfRXM28DzD1tab5QTTlNG7NR+Q+3i6MXyUQZ7 smQM5LyoILTbMC44p2rHxrMau82eKRJFVesWvd5t3P40PUSxX+ow3uKTu6Hwizjt4SoP tfCfEkCqKXSVaQzfxmejkWroBvA+VasgmS8F6vMQxmrp6XOkH4yE/5W26pselnigAW9F 6+aBFbeMbkHsTtohed0+yZycZEeV7kPmlJIpufIg4aBeG6GhfLBvlHRlkd8/vJHIermr HWRA== X-Received: by 10.182.243.132 with SMTP id wy4mr7219437obc.38.1405690995152; Fri, 18 Jul 2014 06:43:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.132.164 with HTTP; Fri, 18 Jul 2014 06:42:35 -0700 (PDT) In-Reply-To: References: From: Dreamcat4 Date: Fri, 18 Jul 2014 14:42:35 +0100 Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? To: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 13:43:16 -0000 On Thu, Jul 17, 2014 at 7:25 PM, Craig Rodrigues wrote: > Hi, > > I attend a lot of different Meetup groups in the San Francisco Bay Area / > Silicon Valley. > > What I am seeing is the following usage pattern for new developers, > especially for web apps and cloud applications. > > (1) On their desktop/laptop, they will generally be using > a Mac running OS X. This is their desktop Unix environment. > This seems to be true of almost 90% of the people that I meet. > The 10% of people who run a PC laptop, will mostly be running > Windows. Very few seem to run Linux on their laptops, but > if they do, it will likely be Ubuntu Linux. > > (2) For their deployed application, generally they will deploy to > a Linux environment on a server. These days, the server will > very likely be in a cloud environment: Amazon, Rackspace, > Heroku. > > > For (1), encouraging people to move away from a Mac to FreeBSD for their > desktop environment is a tough sell. Apple is a multi-billion dollar > company, and they make beautiful hardware, and software with > a fantastic end-user experience. The PC-BSD project is fighting the > good fight in terms of making a usable FreeBSD desktop, but its > a touch battle to fight. > > For (2), encouraging people to move away from Linux to FreeBSD > on the server, may be something where we can get more wins. > I think we can do this by having more HOWTO articles on > the FreeBSD web page that explain the following: > > > (1) We need a HOWTO article that explains for each command using apt > or yum for installing packages, > how can I do the same thing using "pkg". > Even if we have a web page with a table, contrasting the > apt/yum commands, and pkg commands, that would be super > useful. > > A lot of folks have moved away from FreeBSD, purely because > they are sick of pkg_add. We need to explain to folks that > we have something better, that is quite competitive to > apt/yum, and it is easy to use. > > (2) We need a HOWTO article that explains how to set up > a FreeBSD environment with some of the major cloud providers, > i.e. Amazon, Rackspace, Microsoft Azure, etc. > > > Do we have such articles today, or is anybody working on something > like that? > I haven't such specific articles. However I did create a project which lets people more easily install and 'try out' FreeBSD. It runs ontop of either FreeNAS, pfSense or NAS4Free. The idea is that because you can boot those distress off of a USB stick, (it's like a liveCD). However you can then install the full FreeBSD generic onto any suitably-formatted attached hard disk. (including PKGNG and ports tree). None of my documentation is aimed specifically at linux -> FreeBSD. However I can say that it's utterly true (if you have Mac OS X). The desktop experience is definately nicer (much less niggly / annoying problems). And on Macs we have "brew install"=E2=80=A6 which is "allright". But you ca= n't use Macs as effectively for server stuff. It doesn't really "feel right" for that purpose. And homebrew is like ports or gentoo (compiles everything, no binary packages). For me, the FreeBSD is what I decide to for server (more than linux) *not just only* for PKGNG. We are glad that is here now. But also (very important). If FreeBSD jails. Which isn't "as-good-as", but often superior to such linux equivalent (if any). In terms of both security, and efficiency. Here you can see my FreeBSD jails HowTo: http://dreamcat4.github.io/finch/jails-how-to/ Which is as simple as I could ever be able to make it. Sorry I don't have any other ideas in regards to how to address the overwhelming popularity of Linux over FreeBSD. It often isn't justified. However in some ways linux is like windows now. For example with overwhelming hardware support (that sometimes is not as good on FreeBSD). And Linux is more success on embedded because it can run on many different kinds of CPUs. Wheras FreeBSD isn't very much support for embedded CPU (unless they happen to be X86). I get the (maybe not justified) impression that even ARM isn't so well supported on FreeBSD. Some things you can't change with just only a better "How-To". Even if FreeBSD is super-great / rocks so well now. I think if we had these two HOWTO articles today, and we could > aggressively point people at them, this would be a huge win > for expanding the number of people who try out FreeBSD > for modern server applications. > > -- > Craig > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 14:01:41 2014 Return-Path: Delivered-To: freebsd-doc@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 E19B988B for ; Fri, 18 Jul 2014 14:01:40 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C88527D0 for ; Fri, 18 Jul 2014 14:01:40 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s6IE1VsX049753 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 18 Jul 2014 15:01:31 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s6IE1VsX049753 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1405692091; bh=I6MM6oZ5rRXadkfulDuEwtVqnj+Iqj3PbtbIK+JIwVU=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Fri,=2018=20Jul=202014=2015:01:23=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-doc@fr eebsd.org|Subject:=20Re:=20HOWTO=20articles=20for=20migrating=20fr om=20Linux=20to=20FreeBSD,=20especially=0D=0A=20for=20pkg?|Referen ces:=20=20=20=20=20<53C82EC4.8060304@gmail.com>=20 =20<53C83EB4.2060202@infracaninophile.co.uk>=20<53C9229D.80904 06@freebsd.org>|In-Reply-To:=20<53C9229D.8090406@freebsd.org>; b=zv/T1+T0jxXwQ6fyr64RQyCKjZfeSSd4k1gliNGBmMuAuEu5W0LHl25SuBjv0FYCE 4IbqK9YO8HwbfsI4skz2phY6/qnZUDxDEGtpbhFS3U2ClI0plOmY0SGZRWsNOCmb9W 9RjyURTRktisJZjriwO5XEyX0UVNesWh9PMD+Jx4= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <53C928B3.50004@infracaninophile.co.uk> Date: Fri, 18 Jul 2014 15:01:23 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: <53C82EC4.8060304@gmail.com> <53C83EB4.2060202@infracaninophile.co.uk> <53C9229D.8090406@freebsd.org> In-Reply-To: <53C9229D.8090406@freebsd.org> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9bWHXAOP29J68wOmcuvIJGluJFH4a1Nf1" X-Virus-Scanned: clamav-milter 0.98.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RDNS_NONE,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 14:01:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9bWHXAOP29J68wOmcuvIJGluJFH4a1Nf1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/18/14 14:35, Allan Jude wrote: > We could obviously do the same for nginx, create an includes directory = etc. >=20 > Then we'd have to teach the package infrastructure to understand which > web server you are using, and each port would need a template for each > web server. And again, we'd not want it on by default, so we'd install > phpmyadmin.conf.sample, and the user would have to copy it to > phpmyadmin.conf to enable it. As long as we give them the cp command in= > the pkg-message, this seems fairly easy for a beginner to do. >=20 Yes -- there's a significant amount of work to implement this. You're not really getting the idea about these packages. We don't want to install sample files or make the users go through any more hoops with these 'config' packages specifically. The whole point is instant gratification. Unlike the Linux setups where this sort of auto-enablement is standard, because we'd have standard packages -- exactly the same as the current apache or nginx packages -- which don't enable anything by default, you still have control. If you want the software installed but not enabled, don't install the packages with the pre-canned configuration stuff. Hmmm.... although these packages would need enough smarts to distinguish between an initial installation and an upgrade, and not change the activation status of the package in the latter case. (This is a problem with pkg_tools, since it's idea of 'upgrade' is 'delete and reinstall', but pkg(8) knows the difference. September 1st cannot come soon enough.)= Cheers, Matthew --9bWHXAOP29J68wOmcuvIJGluJFH4a1Nf1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTySi7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnMEwQAIFxX/okp/CZ7pl/nUD+g9Jv 0vJ2SvS8PYQfLJ9PUkTVtaVWn7gQtvVRGUH4+Ua1pO0Bfhz/3DtpQrRDzqldVLwQ UD1fvhda8MXDKkodjElXM0vlgXzb28XR/Ws7M+GGCtSBA2akNlBTOcljPt5iB3Bd TFqo5iMjcMgEf5cZl0uyd/3vGvXkNADoyogVenfzgu8BnLntiLWLiowtBfIa1KEV xv+H7mlfx2fwr+tWmC0SvAeVtAj20lr/OU13sblRypsGxwlDWjcbvDf+f2hg81fv vbJDtGCQkLAhZR6kogG2+DTUqKW071clSbpPacE4tAhO5632enxgVTHnXMUPvwEP iTcBOk86788G7ZLRI7lFjn8rQBW9eG8BuqrMh00UtM4RSxLttAKFCcSHGFBJte1z D4Zn42AEJubt9pP3zcdeqJjzniDA6t++cv5sI+Sq1Pj4PRyEJ/KneRMEoOMa55og 3g7AilHfusGAHroiF9KMr6plcYX2sC/Goa+3Qv4Nmy6juQqAt0BBmgBjNVFcUzIU iP8g+dCFW3UtvSTfLgpVr4KtyfDKtwDlzTdm4j7okFa7IzIX7MCbDTliTMQYyJvx JOoDiXVEKzpk4gsRdnr1FA3xEFGVkCWYkM7BkVrPY0oUrAU4Io2KL2KjF5I5Qmmu QkMjC022dQMrD0Dp/6Se =zpHV -----END PGP SIGNATURE----- --9bWHXAOP29J68wOmcuvIJGluJFH4a1Nf1-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 14:07:50 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52726E16; Fri, 18 Jul 2014 14:07:50 +0000 (UTC) Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (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 C9AD22846; Fri, 18 Jul 2014 14:07:49 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id eb12so3200110oac.3 for ; Fri, 18 Jul 2014 07:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SBbKnwKmcLNmVoEza3CFQ2nlbzC4XyUDM1pYnCdL8l4=; b=JvJjGssTAcLR1mF2zZLPurDubK4x2o9wONv6sLIXBLHa/9qCW7x7mW51O7XfV7x9Zg BbEDli2mkCZUMKiwPPepcfCpWvlF3QrSi1LH4T7dhcsKV62SDWlowHv4yyuM5LCWgs4L tedJRgEc4tLIZUHQFCauuM4Dc9vRd06yXzulqLEi9oz7+9amcMP2d2yiCYgjVLel7Tmp sdFDILRh0PQeEkTdgM9Km8wp0rFtC/uwCEHPK6L4uUVv/kltwNqkle764AA6FStkOqep XQJRfJ4JwUwh5n7Yf4eJdL1Y0DjcwXlMMOGOBWawQwLTTUVkngUe58y07hboUSKafG+I JWig== X-Received: by 10.60.123.66 with SMTP id ly2mr7219037oeb.19.1405692469072; Fri, 18 Jul 2014 07:07:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.132.164 with HTTP; Fri, 18 Jul 2014 07:07:09 -0700 (PDT) In-Reply-To: <20140717205445.GC28314@ivaldir.etoilebsd.net> References: <53C82EC4.8060304@gmail.com> <20140717205445.GC28314@ivaldir.etoilebsd.net> From: Dreamcat4 Date: Fri, 18 Jul 2014 15:07:09 +0100 Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Craig Rodrigues , Adrian Chadd , Navdeep Parhar , freebsd-doc@freebsd.org, freebsd-current Current , Andreas Nilsson , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 14:07:50 -0000 On Thu, Jul 17, 2014 at 9:54 PM, Baptiste Daroussin wrote: > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > > On Thu, Jul 17, 2014 at 10:15 PM, 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? > > > > > > > They sure are. > > > > Well, pkg install $service ; sysrc ${service}_enable="YES" would do. > > Although some services have different names than the packge, which is > sort > > of annoying. > > Maybe service needs to be extended (seriously sysrc > ${service}_enable="YES" is > not user friendly) we have service -l that list the services, maybe a > service > This might be a pretty good idea. (barring technical obstacles). > ${service} on that create /etc/rc.conf.d/${service} with > ${service}_enable="YES" > in it and service ${service} off to remove it > I think we should hope for an API / service interface that can try to avoid (as much as it can) to require specifically "rc.conf" file and no other possible way. Because FreeBSD may replace the current rc.d system in future with something else better / next generation. For example the on-going openlaunchd project. That question is more about "when" rather than "if". maybe service -l could also be extended to show the current status (maybe > with a > -v switch) > > but for sure having the service off by default is a good idea :) > It wouldn't hurt very much to have some optional flag to the "pkg install" command that allowed a user to do in 1 command. Then the global configuration of services being installed "off" by default would remain as always. Yet allowing that little extra switch would achieve the stated goal. And help towards FreeBSD being "a slightly more polished OS" that is more user-friendly. Since, you know do the math. It is 1 fewer total commands to type in. Such savings "all adds up". If enough such minor improvement can be made all across the board. Then it makes a difference. > > regards, > Bapt > From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 14:14:26 2014 Return-Path: Delivered-To: freebsd-doc@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 3904CAD for ; Fri, 18 Jul 2014 14:14:26 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id EDA92290F for ; Fri, 18 Jul 2014 14:14:25 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id E9B661157F for ; Fri, 18 Jul 2014 14:14:24 +0000 (UTC) Message-ID: <53C92BDB.1060503@freebsd.org> Date: Fri, 18 Jul 2014 10:14:51 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: <53C82EC4.8060304@gmail.com> <53C83EB4.2060202@infracaninophile.co.uk> <53C9229D.8090406@freebsd.org> <53C928B3.50004@infracaninophile.co.uk> In-Reply-To: <53C928B3.50004@infracaninophile.co.uk> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6D0xxrRhrIF5ef6WMOQBmi7XBR1qiJSWe" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 14:14:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6D0xxrRhrIF5ef6WMOQBmi7XBR1qiJSWe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2014-07-18 10:01, Matthew Seaman wrote: > On 07/18/14 14:35, Allan Jude wrote: >> We could obviously do the same for nginx, create an includes directory= etc. >> >> Then we'd have to teach the package infrastructure to understand which= >> web server you are using, and each port would need a template for each= >> web server. And again, we'd not want it on by default, so we'd install= >> phpmyadmin.conf.sample, and the user would have to copy it to >> phpmyadmin.conf to enable it. As long as we give them the cp command i= n >> the pkg-message, this seems fairly easy for a beginner to do. >> >=20 > Yes -- there's a significant amount of work to implement this. >=20 > You're not really getting the idea about these packages. We don't want= > to install sample files or make the users go through any more hoops wit= h > these 'config' packages specifically. The whole point is instant > gratification. Unlike the Linux setups where this sort of > auto-enablement is standard, because we'd have standard packages -- > exactly the same as the current apache or nginx packages -- which don't= > enable anything by default, you still have control. If you want the > software installed but not enabled, don't install the packages with the= > pre-canned configuration stuff. >=20 > Hmmm.... although these packages would need enough smarts to distinguis= h > between an initial installation and an upgrade, and not change the > activation status of the package in the latter case. (This is a proble= m > with pkg_tools, since it's idea of 'upgrade' is 'delete and reinstall',= > but pkg(8) knows the difference. September 1st cannot come soon enough= =2E) >=20 > Cheers, >=20 > Matthew >=20 >=20 >=20 So you mean like, a phpmyadmin-apache-config metapackage, that depends on apache and phpmyadmin, but installs an enabled, working config? --=20 Allan Jude --6D0xxrRhrIF5ef6WMOQBmi7XBR1qiJSWe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTySvdAAoJEJrBFpNRJZKfa7YQALTcdOZ9zkohZM5O7r83JntN 2+Rt2SKppTmZwRfj7uX/q0VRkAEHW7DPGvgt+Xl4qiejtHm3ax+qF+Pfh2Ybbf49 grJdYt7SA2NMthk6HaZxNQ80i1dD9jr8sXq8wUzQaphf5/QkNHwxrmHHgIBJhNfa hLTLyGHaSOajNo+hucZqasNV2bLeSmBLa3t05aRymMsUcW2MX4l9EzwT0xyjxg1Y sUSUJeBz8iMsBa4kYf4U/AjZI/Dx4lHMPWnZU8cdc9obcjUOxe2wHo5fLdsD6g9p qS5X/gw3B7F3O8076HpfGpgkzAal9d+RESwIKQSwSXzdSOd4CP6rpComSOhYcFyb ie8ov5ZEAGMDBqUTSgbUoQZBM754Zs0roI7IwE8dsKwNGWVXcPjvvNDPYkdHw2Ag za5UcFJAqxSQM0rPNtDplK1RTNjiMj7GQbpjY27OElZDrOY5+nUIgXb0SXX8J/mo qPz2JBSU4rYknIWO/sAS9JmE78yIMxToO9vjwCgshVthZEtmmrpf5eIkhy5VCYps gKKqXDtiiJQ1usX/LQkgg40cNeQbfazigVSWbv0pCMuktOqGdKR1OdICWFMlmv55 9Bm+GnHXF/eWvQL1I6gNZbRkDU8Q9WsA5YnjzQKHkXpWlhQL4JOUJ1anPOnZzGEQ 7rcmFNxJ/CiWUGHEPniR =WKsd -----END PGP SIGNATURE----- --6D0xxrRhrIF5ef6WMOQBmi7XBR1qiJSWe-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 14:17:04 2014 Return-Path: Delivered-To: freebsd-doc@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 7DCF713D for ; Fri, 18 Jul 2014 14:17:04 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 172B82940 for ; Fri, 18 Jul 2014 14:17:03 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s6IEGw7i050162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 18 Jul 2014 15:16:58 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s6IEGw7i050162 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1405693018; bh=Fjqcr7n2eik4Yhg5BL/Hw4R0/VTVdRE7DzDTFj3APrA=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Fri,=2018=20Jul=202014=2015:16:51=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-doc@fr eebsd.org|Subject:=20Re:=20HOWTO=20articles=20for=20migrating=20fr om=20Linux=20to=20FreeBSD,=20especially=0D=0A=20for=20pkg?|Referen ces:=20=20=20=20=20<53C82EC4.8060304@gmail.com>=20 =20<53C83EB4.2060202@infracaninophile.co.uk>=20<53C9229D.80904 06@freebsd.org>=20<53C928B3.50004@infracaninophile.co.uk>=20<53C92 BDB.1060503@freebsd.org>|In-Reply-To:=20<53C92BDB.1060503@freebsd. org>; b=wvZGQ2HHsufur3DGuIKgOVXn6zIePing3GME9lS6o9HphzHdurkpkr7ldD5m2Fg1w nRgsu/bAsO3pXZmTuNk+vjJ8SmXnxma2WDvLnFEynIxBqXvBnRme7VhsmOQK+g2P0l PjtlflAP6Hmmb8j1+kkfiKRL/63BjXZ7YyV+UaYY= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <53C92C53.9030509@infracaninophile.co.uk> Date: Fri, 18 Jul 2014 15:16:51 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: <53C82EC4.8060304@gmail.com> <53C83EB4.2060202@infracaninophile.co.uk> <53C9229D.8090406@freebsd.org> <53C928B3.50004@infracaninophile.co.uk> <53C92BDB.1060503@freebsd.org> In-Reply-To: <53C92BDB.1060503@freebsd.org> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R7SIj2LHcr2B6T0N5mbTT8CMd5MjlrSuK" X-Virus-Scanned: clamav-milter 0.98.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RDNS_NONE,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 14:17:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --R7SIj2LHcr2B6T0N5mbTT8CMd5MjlrSuK Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/18/14 15:14, Allan Jude wrote: > So you mean like, a phpmyadmin-apache-config metapackage, that depends > on apache and phpmyadmin, but installs an enabled, working config? Exactly. Cheers, Matthew --R7SIj2LHcr2B6T0N5mbTT8CMd5MjlrSuK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ7BAEBCgBmBQJTySxaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnRpEP+MO/mAALbwsSg14+tMGTQF7U sDMZtcTFDa3tHRPD+HeqwWNCwAe8S+bIFowvAzbopIizDs5EIFg9MBdwrfQgcbXe ux1IYvrg4/ciKg1jpT91nwv3N26cKhyS+3Ff21SsRduBdd2PoxeKZAjVogDEzJSI Aog6Y+YyXUqpsgXeAVXD/gZF6ZkYaOVcVym2GFUqGxUR8YByQ3P+D652CMezKRQH ft1jQF3nMnxUrVBnKRBf1tPguoXKAnfsR9dveLH3MixczoUxUjRGJEKCspEf+A2y hIhFWMaDpCNkiZVCFigoiQzLNZg/gi3vhYVXwIXRsM87Nxmvu4tCoYwg2IrI1oZR eK6V6GlJcPv96bpFW2BSJBcZf0tc9AAHakEuPPl70eSwVOJUHZekUoJ4UxVgKrqX qMcyVEYkoqDgC0NOXHNfsNGbIjsmKcwzDzGrEySBPwHSkIKxfjxu3NVCeG9elkzP QizldG9tLovVaXOlY9+N3VrjUMfFLata62kNa/fCjXFpjqkK6dNZIkBW+9m7OMcr oMb6vI4hx0LvS4txzQ9L5GPRuJE40d6B5976C8IhR+SOM6bCBjgGhlTjZfhPZ7op /qAbEMOVcP+qK0ko1pfAQdNWh1X0rQG5DII9AcT9JoW7QSLqLN/ytgU0PykhtkAq gLvJYBufqEo74JDLPPc= =uNaF -----END PGP SIGNATURE----- --R7SIj2LHcr2B6T0N5mbTT8CMd5MjlrSuK-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 14:28:39 2014 Return-Path: Delivered-To: freebsd-doc@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 781EA61E; Fri, 18 Jul 2014 14:28:39 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (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 1F8842A31; Fri, 18 Jul 2014 14:28:38 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id CE0B76A6032; Fri, 18 Jul 2014 16:28:35 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id s6IESZla006848; Fri, 18 Jul 2014 16:28:35 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id s6IESZpS006396; Fri, 18 Jul 2014 16:28:35 +0200 (CEST) (envelope-from lars) Date: Fri, 18 Jul 2014 16:28:35 +0200 From: Lars Engels To: Andreas Nilsson Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140718142835.GF96250@e-new.0x20.net> Mail-Followup-To: Lars Engels , Andreas Nilsson , Navdeep Parhar , Craig Rodrigues , Adrian Chadd , freebsd-doc@freebsd.org, Alberto Mijares , freebsd-current Current , ports References: <53C82EC4.8060304@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aPdhxNJGSeOG9wFI" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p4 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , Adrian Chadd , ports , freebsd-doc@freebsd.org, freebsd-current Current , Navdeep Parhar X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 14:28:39 -0000 --aPdhxNJGSeOG9wFI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar wrot= e: >=20 > > 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? > > >=20 > They sure are. >=20 > Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would do. > Although some services have different names than the packge, which is sort > of annoying. I hacked up a solution for service(8): http://bsd-geek.de/FreeBSD/service.sh.enable-disable.patch The patch adds the following directives to service(8): enable: Grabs an rc script's rcvar value and runs "sysrc foo_enable=3DYES" disable: The opposite of enable rcdelete: Deletes an rc script's rcvar value from /etc/rc.conf using "sysrc -x foo_enable" The nice thing about is that you can use one of the new directives on one line with the old ones, as long as the new are the first argument: # service syslogd enable # service apache24 disable stop # service apache24 rcdelete stop # service nginx enable start So after installing a package, to start and enable a daemon permanently all you have to run is # service foo enable start Lars P.S.: Thansk to Devin for his hard work on sysrc! --aPdhxNJGSeOG9wFI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJTyS8TXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tfowH/A9Q4mw598FoIhOWJ3lQ40W3 srBxvcIOLpr80N4Z65QRuuO+Xun3hmRQ9SWUpBPgs+reV0VDV+GgCfg4/9P1zoVT rPyXSgHA99v/sDcVgA4dTiKUXqlD8bm9fEI7JbvSv8RQzKgFirNb1IPe96S7Rsex nsGXZw33yS/SZoAqVreLenJ//+Hxfj4dIBZ8YrrAZLxvMR4WmiOTUDfxctUTWf3F eWm4c5Joj4M+1iN1fuc1DW8oPvFOgtuRTkLX1PBjNcBDpRFtVxrU4E+46SrAlgxl H+fsRUPtjfaDIyLXfjvsx/dkfCqwLXBDh80Zp77P9TBr71hjmR+Sozi38lGkAAY= =Q4Si -----END PGP SIGNATURE----- --aPdhxNJGSeOG9wFI-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 14:51:46 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8580E22C; Fri, 18 Jul 2014 14:51:46 +0000 (UTC) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) by mx1.freebsd.org (Postfix) with ESMTP id 564B42C95; Fri, 18 Jul 2014 14:51:46 +0000 (UTC) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id D60F75A9F0B; Fri, 18 Jul 2014 14:51:38 +0000 (UTC) Date: Fri, 18 Jul 2014 14:51:38 +0000 From: Brooks Davis To: Baptiste Daroussin Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140718145138.GB11456@spindle.one-eyed-alien.net> References: <53C82EC4.8060304@gmail.com> <20140717205445.GC28314@ivaldir.etoilebsd.net> <20140717210738.GE28314@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <20140717210738.GE28314@ivaldir.etoilebsd.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , Adrian Chadd , Navdeep Parhar , freebsd-doc@freebsd.org, freebsd-current Current , Andreas Nilsson , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 14:51:46 -0000 --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 17, 2014 at 11:07:39PM +0200, Baptiste Daroussin wrote: > On Thu, Jul 17, 2014 at 01:57:52PM -0700, Adrian Chadd wrote: > > On 17 July 2014 13:54, Baptiste Daroussin wrote: > > > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > > >> On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar = wrote: > > >> > > >> > On 07/17/14 13:12, Adrian Chadd wrote: > > >> > > On 17 July 2014 13:03, Alberto Mijares wro= te: > > >> > >> 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 b= it of a > > >> > >>> problem; > > >> > >> > > >> > >> > > >> > >> No. Please NEVER do that! The user must be able to edit the fil= es and > > >> > >> start the service by himself. > > >> > > > > >> > > Cool, so what's the single line command needed to type in to sta= rt a > > >> > > given package service? > > >> > > > >> > Aren't sysrc(8) and service(8) for this kind of stuff? > > >> > > > >> > > >> They sure are. > > >> > > >> Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would d= o. > > >> Although some services have different names than the packge, which i= s sort > > >> of annoying. > > > > > > Maybe service needs to be extended (seriously sysrc ${service}_enable= =3D"YES" is > > > not user friendly) we have service -l that list the services, maybe a= service > > > ${service} on that create /etc/rc.conf.d/${service} with ${service}_e= nable=3D"YES" > > > in it and service ${service} off to remove it > > > > > > maybe service -l could also be extended to show the current status (m= aybe with a > > > -v switch) > > > > > > but for sure having the service off by default is a good idea :) > >=20 > > Yeah, maybe having it populate an entry of service_enable=3D"NO" for no= w . >=20 > then you need to extend rcng to support /usr/local/etc/rc.conf.d so the p= ackages > can install them without touching base :) and we will need to wait for all > supported FreeBSD version to have the said modification) Here's a totally untested patch to do that. I was rather surprised that this wasn't configurable already. -- Brooks Index: defaults/rc.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- defaults/rc.conf (revision 268825) +++ defaults/rc.conf (working copy) @@ -56,6 +56,7 @@ local_startup=3D"/usr/local/etc/rc.d" # startup script dirs. script_name_sep=3D" " # Change if your startup scripts' names contain spac= es rc_conf_files=3D"/etc/rc.conf /etc/rc.conf.local" +rc_conf_dirs=3D"/etc/rc.conf.d /usr/local/etc/rc.conf.d" =20 # ZFS support zfs_enable=3D"NO" # Set to YES to automatically mount ZFS file systems Index: rc.subr =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- rc.subr (revision 268825) +++ rc.subr (working copy) @@ -1289,10 +1289,12 @@ fi _rc_conf_loaded=3Dtrue fi - if [ -f /etc/rc.conf.d/"$_name" ]; then - debug "Sourcing /etc/rc.conf.d/${_name}" - . /etc/rc.conf.d/"$_name" - fi + for _dir in ${rc_conf_dirs}; do + if [ -f "$_dir"/"$_name" ]; then + debug "Sourcing ${_dir}/${_name}" + . "$dir"/"$_name" + fi + done =20 # Set defaults if defined. for _var in $rcvar; do --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlPJNHoACgkQXY6L6fI4GtQtAgCgzH7lveN/16Obli4FeZgtOW4N ga4AoKw1zKsRvDeS7rvpO6aSfYajH7vZ =6S6v -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 19:10:36 2014 Return-Path: Delivered-To: freebsd-doc@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 134B8242; Fri, 18 Jul 2014 19:10:36 +0000 (UTC) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (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 8000A2517; Fri, 18 Jul 2014 19:10:35 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id c9so3727251qcz.32 for ; Fri, 18 Jul 2014 12:10:34 -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:date:message-id:subject :from:to:content-type; bh=f/8X3eL0dE3g742+QMVPzn/RTbXMNbwOa7SL+aa2NcM=; b=psyYu65Lhw/0ju7vdNdZ3mzAPyXeWCDL5EmvHJ0K9xCbrdMuiVa09yt6e/BK/ZOmnw PN8tjks8VVQ5WWN8YM2JeyQUodJzoewaQaLGfX3VssCJTF8hSxg2KZs4nbA26fgfuRWk s/vvt0H7vU2Wzot0Tr5/MnwKB9JEmhgVZZdoQ9k1SFyVZ4Xdf0xvE9l6fj8H6zeLhEx0 ZPrs3pOmyJogskAbi1FfhgJKm1p2svP6L760KKuGr7WCrn577bs50FOompmpeFt6rYe+ MXmTQ8DZODAvesXt59DMv+7FriwAXZn/cla0NCG8000WT7sD6ZsEEeELh/iop41+MJYU YvHQ== MIME-Version: 1.0 X-Received: by 10.224.223.135 with SMTP id ik7mr12052213qab.26.1405710634478; Fri, 18 Jul 2014 12:10:34 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Fri, 18 Jul 2014 12:10:34 -0700 (PDT) In-Reply-To: <20140718142835.GF96250@e-new.0x20.net> References: <53C82EC4.8060304@gmail.com> <20140718142835.GF96250@e-new.0x20.net> Date: Fri, 18 Jul 2014 12:10:34 -0700 X-Google-Sender-Auth: 8zAzm-YkCEOzOEoQ3xHlyMRFNTs Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Adrian Chadd To: Lars Engels , Andreas Nilsson , Navdeep Parhar , Craig Rodrigues , Adrian Chadd , freebsd-doc@freebsd.org, Alberto Mijares , freebsd-current Current , ports Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 19:10:36 -0000 Hi! On 18 July 2014 07:28, Lars Engels wrote: > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: >> On Thu, Jul 17, 2014 at 10:15 PM, 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? >> > >> >> They sure are. >> >> Well, pkg install $service ; sysrc ${service}_enable="YES" would do. >> Although some services have different names than the packge, which is sort >> of annoying. > > I hacked up a solution for service(8): > > http://bsd-geek.de/FreeBSD/service.sh.enable-disable.patch > > The patch adds the following directives to service(8): > > enable: Grabs an rc script's rcvar value and runs "sysrc foo_enable=YES" > disable: The opposite of enable > rcdelete: Deletes an rc script's rcvar value from /etc/rc.conf using > "sysrc -x foo_enable" > > The nice thing about is that you can use one of the new directives on > one line with the old ones, as long as the new are the first argument: > > # service syslogd enable > # service apache24 disable stop > # service apache24 rcdelete stop > # service nginx enable start > > > So after installing a package, to start and enable a daemon permanently > all you have to run is > # service foo enable start > > Lars > > P.S.: Thansk to Devin for his hard work on sysrc! Having a way for sysrc and service to know what particular options and services are exposed by a given package or installed "thing" would be nice. Right now the namespace is very flat and it's not obvious in all instances what needs to happen to make it useful and what the options are. "Oh, hm, I'd like to know what options there are for controlling the installed apache24 package, let's see"... I remember IRIX having that command to list services, stop them and start them, configure them enabled and disabled. Solaris grew something like that with Solaris 10 and after the initial learning curve it was great. Hving something like that would be 100% awesome. -a From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 19:16:33 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAF4A4AB for ; Fri, 18 Jul 2014 19:16:33 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 8E804255B for ; Fri, 18 Jul 2014 19:16:32 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id A6A66122EB for ; Fri, 18 Jul 2014 19:16:31 +0000 (UTC) Message-ID: <53C972AB.40300@freebsd.org> Date: Fri, 18 Jul 2014 15:16:59 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: <53C82EC4.8060304@gmail.com> <20140718142835.GF96250@e-new.0x20.net> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hnnfC3VvqdX4WmNFNliGPW6ON2sP21vI6" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 19:16:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hnnfC3VvqdX4WmNFNliGPW6ON2sP21vI6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-07-18 15:10, Adrian Chadd wrote: > Hi! >=20 >=20 > On 18 July 2014 07:28, Lars Engels wrote: >> On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: >>> On Thu, Jul 17, 2014 at 10:15 PM, 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? >>>> >>> >>> They sure are. >>> >>> Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would do= =2E >>> Although some services have different names than the packge, which is= sort >>> of annoying. >> >> I hacked up a solution for service(8): >> >> http://bsd-geek.de/FreeBSD/service.sh.enable-disable.patch >> >> The patch adds the following directives to service(8): >> >> enable: Grabs an rc script's rcvar value and runs "sysrc foo_enable=3D= YES" >> disable: The opposite of enable >> rcdelete: Deletes an rc script's rcvar value from /etc/rc.conf using >> "sysrc -x foo_enable" >> >> The nice thing about is that you can use one of the new directives on >> one line with the old ones, as long as the new are the first argument:= >> >> # service syslogd enable >> # service apache24 disable stop >> # service apache24 rcdelete stop >> # service nginx enable start >> >> >> So after installing a package, to start and enable a daemon permanentl= y >> all you have to run is >> # service foo enable start >> >> Lars >> >> P.S.: Thansk to Devin for his hard work on sysrc! >=20 > Having a way for sysrc and service to know what particular options and > services are exposed by a given package or installed "thing" would be > nice. Right now the namespace is very flat and it's not obvious in all > instances what needs to happen to make it useful and what the options > are. >=20 > "Oh, hm, I'd like to know what options there are for controlling the > installed apache24 package, let's see"... >=20 > I remember IRIX having that command to list services, stop them and > start them, configure them enabled and disabled. Solaris grew > something like that with Solaris 10 and after the initial learning > curve it was great. Hving something like that would be 100% awesome. >=20 >=20 > -a > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" >=20 This could be as simple as 'service apache24 help' Which would print out all of the possible config vars and guidance on how to use them --=20 Allan Jude --hnnfC3VvqdX4WmNFNliGPW6ON2sP21vI6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTyXKtAAoJEJrBFpNRJZKfkmkQAJN2H1SOAccrbMHEIojaDaao P7JwLjNwrV+zsk7Iue9NnII9DzWR9LAVJjO1ZhhCNTpjzW3MzLgvMCuQh4mkgyrI 8sXw64YaZGe16qc96+wewJKlBaU6SmzcNwhfrReYBA2KkYTOnKa6y8fTaFJAkq9H 60fsfs5u9NYcN3elfSaf+B7QKpLs46ZkuIAFfT0KyDammvMyoUY++VyFVYHdcTpF lcwzT/ODQUI5NUWHJBDfSOwt138UJLevBb6+Pzoju1ymloB+s7840xtrnfH+JeRM uYPXwLhGJZ4T3h+SRoXYobAn8BeV0vlmJ+3SBKxUE8FOWLRnzLU4msVHcTZKw4gL WOo6GqCYhQX/qlfAOX0KtcE4FmCD8OWxEEHTa1evR4xnxLauHGPPCZIelWkRwV+x ODh3ORIvaBSzaEdpaaNDjw8plzsFSvXhDT5Re4sW4LIJ9S3US4gdyczazwdS0oCd FXjoZgDbyGnN4xQauX4mvXmQgf5N4T2rZMSkaqvjn6vXmVXenTjju8r2p4PeBHcx 37kZKcjULeTvExK3nziT2vzE0o7HSBNkxpIgE0BMSxAxytzHYUCEAcu1Ytnjy9xN glq9Gc6l/I3UHTlhz5oqk0i3GBURpMOxSdLXCT6TmXH8P3AQBlUqnx4zzo+EJIH7 so8wgTKz5UVzMlD69QF4 =TYE5 -----END PGP SIGNATURE----- --hnnfC3VvqdX4WmNFNliGPW6ON2sP21vI6-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 21:21:55 2014 Return-Path: Delivered-To: freebsd-doc@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 295A0649; Fri, 18 Jul 2014 21:21:55 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (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 186D520A9; Fri, 18 Jul 2014 21:21:53 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id d1so1477833wiv.13 for ; Fri, 18 Jul 2014 14:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=N/VkkIaEpJpK/p0gk61pHvdNpop46N0RrQj9a+X5P84=; b=qdhUTJ1PtiQgFzI1ivrKJE8v4gOvCl8REAiFzODddcJFu2DQhJVqmhru0NhxiXcJXt HFUBHs4XoduKPhGpv3ICNeQ+bNtj+IgZ0Y4KW0Y/uR2gqcWQUrPAiuU8Z2kMOdbl4G0C a3lge54a0R8rxz9MEGO6haOrwNX8q+IyddD+SgWMRoGhYcRYoT0BN0Lr9BSa7OeosKKr W+/+LGFUXEju2VapEftGVbtM1kr/hz5ac7bY1gHpWSfHCb+kTBUIM7Xu4PqLTKs/jwZK mEGrQQj5dU0WmQ7ruD4onMDTnPUc0yQ+LuA7Ol4pzhZGmxUnUCRO/M3qy0tHjFh3YoY0 B55A== X-Received: by 10.180.20.206 with SMTP id p14mr11733872wie.26.1405718512442; Fri, 18 Jul 2014 14:21:52 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id fs17sm16982466wjc.6.2014.07.18.14.21.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jul 2014 14:21:51 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 18 Jul 2014 23:21:49 +0200 From: Baptiste Daroussin To: Adrian Chadd Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140718212148.GQ28314@ivaldir.etoilebsd.net> References: <53C82EC4.8060304@gmail.com> <20140718142835.GF96250@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xYeFQzU4VZLrHqxU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , Lars Engels , freebsd-doc@freebsd.org, freebsd-current Current , Andreas Nilsson , Navdeep Parhar , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 21:21:55 -0000 --xYeFQzU4VZLrHqxU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 18, 2014 at 12:10:34PM -0700, Adrian Chadd wrote: > Hi! >=20 >=20 > On 18 July 2014 07:28, Lars Engels wrote: > > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > >> On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar w= rote: > >> > >> > 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? > >> > > >> > >> They sure are. > >> > >> Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would do. > >> Although some services have different names than the packge, which is = sort > >> of annoying. > > > > I hacked up a solution for service(8): > > > > http://bsd-geek.de/FreeBSD/service.sh.enable-disable.patch > > > > The patch adds the following directives to service(8): > > > > enable: Grabs an rc script's rcvar value and runs "sysrc foo_enable=3DY= ES" > > disable: The opposite of enable > > rcdelete: Deletes an rc script's rcvar value from /etc/rc.conf using > > "sysrc -x foo_enable" > > > > The nice thing about is that you can use one of the new directives on > > one line with the old ones, as long as the new are the first argument: > > > > # service syslogd enable > > # service apache24 disable stop > > # service apache24 rcdelete stop > > # service nginx enable start > > > > > > So after installing a package, to start and enable a daemon permanently > > all you have to run is > > # service foo enable start > > > > Lars > > > > P.S.: Thansk to Devin for his hard work on sysrc! >=20 > Having a way for sysrc and service to know what particular options and > services are exposed by a given package or installed "thing" would be > nice. Right now the namespace is very flat and it's not obvious in all > instances what needs to happen to make it useful and what the options > are. >=20 > "Oh, hm, I'd like to know what options there are for controlling the > installed apache24 package, let's see"... >=20 > I remember IRIX having that command to list services, stop them and > start them, configure them enabled and disabled. Solaris grew > something like that with Solaris 10 and after the initial learning > curve it was great. Hving something like that would be 100% awesome. >=20 you are asking for rcng2 with a declarative init config rather the a script regards, Bapt --xYeFQzU4VZLrHqxU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPJj+wACgkQ8kTtMUmk6Ex4tACgwKYEzgQEnkf4EF+nQJCC/1aO 3rYAmgOybC0HkT5geVYIRrn0qst0HliY =Y8tG -----END PGP SIGNATURE----- --xYeFQzU4VZLrHqxU-- From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 21:45:25 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99AA9F29 for ; Fri, 18 Jul 2014 21:45:25 +0000 (UTC) Received: from dmz-mailsec-scanner-4.mit.edu (dmz-mailsec-scanner-4.mit.edu [18.9.25.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 327DF2290 for ; Fri, 18 Jul 2014 21:45:24 +0000 (UTC) X-AuditID: 1209190f-f79f86d0000061c8-eb-53c9956d464b Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP id 71.E9.25032.D6599C35; Fri, 18 Jul 2014 17:45:17 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id s6ILjGUd002021; Fri, 18 Jul 2014 17:45:17 -0400 Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s6ILjEi5025911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 18 Jul 2014 17:45:15 -0400 Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id s6ILjD8o018508; Fri, 18 Jul 2014 17:45:13 -0400 (EDT) Date: Fri, 18 Jul 2014 17:45:13 -0400 (EDT) From: Benjamin Kaduk To: Matthew Seaman Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? In-Reply-To: <53C92C53.9030509@infracaninophile.co.uk> Message-ID: References: <53C82EC4.8060304@gmail.com> <53C83EB4.2060202@infracaninophile.co.uk> <53C9229D.8090406@freebsd.org> <53C928B3.50004@infracaninophile.co.uk> <53C92BDB.1060503@freebsd.org> <53C92C53.9030509@infracaninophile.co.uk> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHIsWRmVeSWpSXmKPExsUixCmqrZs79WSwQe83cYtTZ7pYLb42rGRx YPKY8Wk+i8frlf/ZApiiuGxSUnMyy1KL9O0SuDJeL/jMXLCMteJ9yzX2BsblLF2MHBwSAiYS t34WdzFyApliEhfurWfrYuTiEBKYzSRx9uUcRghnI6PE3k0v2CGcQ0wS105uYIFwGhgl1hzp YgHpZxHQlpj+9BEjiM0moCIx881GNhBbBGjFxt0fwGqYBaQlGtZvZgKxhQXCJB5OWswKYnMK mEnMOv8KrJ5XwFFi3rq3UNv2s0icWDYVbKiogI7E6v1TWCCKBCVOznwCNdRS4tyf62wTGAVn IUnNQpJawMi0ilE2JbdKNzcxM6c4NVm3ODkxLy+1SNdELzezRC81pXQTIzhYJfl3MH47qHSI UYCDUYmHN0HjZLAQa2JZcWXuIUZJDiYlUd6UHqAQX1J+SmVGYnFGfFFpTmrxIUYJDmYlEd6c bqAcb0piZVVqUT5MSpqDRUmc9621VbCQQHpiSWp2ampBahFMVoaDQ0mCN2gKUKNgUWp6akVa Zk4JQpqJgxNkOA/Q8P+TQIYXFyTmFmemQ+RPMSpKifNWTwZKCIAkMkrz4HphyeQVozjQK8K8 TCAreICJCK77FdBgJqDB0uXHQQaXJCKkpBoYk6blzejmilPtP5ZivHh3yVXFxG17yjiadi69 YPTrD7vdNPmimEeHd2XM0j0itvzyvdC9j/Xu95ucFVGcGrEu9W72fjmHVdc38xhP67la5nOa fXLpxOx/++Y6nNU4aiAp9nyz3LuXB/Q3c9/zX/396RK195xZ+8oelrBz/L0wPU/t3XuhiR1u /5VYijMSDbWYi4oTAfbH1tABAwAA Cc: freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 21:45:25 -0000 On Fri, 18 Jul 2014, Matthew Seaman wrote: > On 07/18/14 15:14, Allan Jude wrote: >> So you mean like, a phpmyadmin-apache-config metapackage, that depends >> on apache and phpmyadmin, but installs an enabled, working config? > > Exactly. Here at MIT, our Athena systems have something like 40 different config packages to customize the configuration of our (Debian/Ubuntu-based) systems. Our Debathena project makes such heavy use of configuration packages that very early on, we wrote some infrastructure to make it easier to create and manage them: http://debathena.mit.edu/config-packages/ I would love to see a similar toolkit for FreeBSD. -Ben From owner-freebsd-doc@FreeBSD.ORG Sat Jul 19 00:31:28 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72A89A5A; Sat, 19 Jul 2014 00:31:28 +0000 (UTC) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) (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 DE5F120D6; Sat, 19 Jul 2014 00:31:27 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id k15so3563503qaq.10 for ; Fri, 18 Jul 2014 17:31:27 -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:date:message-id:subject :from:to:cc:content-type; bh=BBCKzrCPhal2XonLLPLlxcw0JjxUA869/laU5El57DI=; b=oRp/Y1fD1OnT+QtA760jXkfDHGqcDI5kTXoY2PG56UuwwSTngS2MaCYr4GktnfXfkq jb1wonGqZC13IgqTlqZPwg90RCw2wNsi7iDE6XZGzSUlGMH386w53HR05vcWZm69c/iL Ytmgb+MBG4/qM1TpIfhCx3dhLo0jq5c8a0e004O14PRKy/5nFbYj8EGbiAUjnlUJfVIF E3wjBfFxs5wkU2w0JfNIFRXF0FXW3B2zCzHmv7uBD6uqiZjJFmb+TZB6/NFrz77vFGfp nbanzzae8j3FZWKKsUcMcfBPJAGl9gz8uiLnapRWOmPxX9bkGGX6NRsKEbxz7w5ZveIz PkQg== MIME-Version: 1.0 X-Received: by 10.229.226.135 with SMTP id iw7mr13976530qcb.13.1405729887034; Fri, 18 Jul 2014 17:31:27 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Fri, 18 Jul 2014 17:31:26 -0700 (PDT) In-Reply-To: <20140718212148.GQ28314@ivaldir.etoilebsd.net> References: <53C82EC4.8060304@gmail.com> <20140718142835.GF96250@e-new.0x20.net> <20140718212148.GQ28314@ivaldir.etoilebsd.net> Date: Fri, 18 Jul 2014 17:31:26 -0700 X-Google-Sender-Auth: eK1PH_VkG9hmkvssz8TNhgCL6xY Message-ID: Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Adrian Chadd To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 Cc: Craig Rodrigues , Lars Engels , freebsd-doc@freebsd.org, freebsd-current Current , Andreas Nilsson , Navdeep Parhar , ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2014 00:31:28 -0000 On 18 July 2014 14:21, Baptiste Daroussin wrote: > On Fri, Jul 18, 2014 at 12:10:34PM -0700, Adrian Chadd wrote: >> Hi! >> >> >> On 18 July 2014 07:28, Lars Engels wrote: >> > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: >> >> On Thu, Jul 17, 2014 at 10:15 PM, 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? >> >> > >> >> >> >> They sure are. >> >> >> >> Well, pkg install $service ; sysrc ${service}_enable="YES" would do. >> >> Although some services have different names than the packge, which is sort >> >> of annoying. >> > >> > I hacked up a solution for service(8): >> > >> > http://bsd-geek.de/FreeBSD/service.sh.enable-disable.patch >> > >> > The patch adds the following directives to service(8): >> > >> > enable: Grabs an rc script's rcvar value and runs "sysrc foo_enable=YES" >> > disable: The opposite of enable >> > rcdelete: Deletes an rc script's rcvar value from /etc/rc.conf using >> > "sysrc -x foo_enable" >> > >> > The nice thing about is that you can use one of the new directives on >> > one line with the old ones, as long as the new are the first argument: >> > >> > # service syslogd enable >> > # service apache24 disable stop >> > # service apache24 rcdelete stop >> > # service nginx enable start >> > >> > >> > So after installing a package, to start and enable a daemon permanently >> > all you have to run is >> > # service foo enable start >> > >> > Lars >> > >> > P.S.: Thansk to Devin for his hard work on sysrc! >> >> Having a way for sysrc and service to know what particular options and >> services are exposed by a given package or installed "thing" would be >> nice. Right now the namespace is very flat and it's not obvious in all >> instances what needs to happen to make it useful and what the options >> are. >> >> "Oh, hm, I'd like to know what options there are for controlling the >> installed apache24 package, let's see"... >> >> I remember IRIX having that command to list services, stop them and >> start them, configure them enabled and disabled. Solaris grew >> something like that with Solaris 10 and after the initial learning >> curve it was great. Hving something like that would be 100% awesome. >> > you are asking for rcng2 with a declarative init config rather the a script It can be a series of scripts. The problem is that the namespace for options has nothing else attached, like "Hi I'm an option that starts/stops a service", "Hi I'm an option that's for this package", "Hi I'm an option that's for this class of things." Right now there's just a series of shell variables with educated guesses about what package they're related to and what they do, rather than anything that specifically says what they do. -a From owner-freebsd-doc@FreeBSD.ORG Sat Jul 19 02:36:46 2014 Return-Path: Delivered-To: freebsd-doc@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 9DAB9D3E; Sat, 19 Jul 2014 02:36:46 +0000 (UTC) Received: from felyko.com (felyko.com [IPv6:2001:470:1:2d5:26:3:1337:ca7]) by mx1.freebsd.org (Postfix) with ESMTP id 796532A46; Sat, 19 Jul 2014 02:36:46 +0000 (UTC) Received: from [IPv6:2601:9:8280:426:58ba:4b9:2104:88ed] (unknown [IPv6:2601:9:8280:426:58ba:4b9:2104:88ed]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by felyko.com (Postfix) with ESMTPSA id 19AF034A9E4; Fri, 18 Jul 2014 19:36:30 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Rui Paulo In-Reply-To: Date: Fri, 18 Jul 2014 19:36:30 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.1878.6) Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports , Andreas Nilsson X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2014 02:36:46 -0000 On Jul 17, 2014, at 13:00, Adrian Chadd wrote: > On 17 July 2014 12:57, Andreas Nilsson wrote: >>=20 >>=20 >>=20 >> On Thu, Jul 17, 2014 at 9:28 PM, Adrian Chadd = wrote: >>>=20 >>> Hi! >>>=20 >>> 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; >>=20 >> I disagree on this. For network services on linux ( apart from ssh ), = I want >> that started very seldom. But I do want the package installed so that = when I >> need it, it is there. Having it autostart as part of being installed = is >> breaking KISS and in some way unix philosophy: I asked for something = to be >> installed, not installed and autostarted. >=20 > That's cool. We can disagree on that. But the fact that you have to > edit a file to enable things and hope you get the right start entry in > /etc/rc.conf or /usr/local/etc/rc.conf, or wherever you put it is, is > a pain. In the context of the email thread, no one in their sane mind will = configure Amazon/Heroku/etc. VMs manually. They will use = ansible/puppet/chef/etc. to install packages and to start services after = they are installed and configured. =20 I honestly don't see what the big deal is. Most of the time you will = need to configure your apache server before you can start it. =20 -- Rui Paulo From owner-freebsd-doc@FreeBSD.ORG Sat Jul 19 16:08:15 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D4B1D0E; Sat, 19 Jul 2014 16:08:15 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (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 95F312753; Sat, 19 Jul 2014 16:08:14 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 9D5EC6A6005; Sat, 19 Jul 2014 18:08:10 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id s6JG8A6t024494; Sat, 19 Jul 2014 18:08:10 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id s6JG89x0023382; Sat, 19 Jul 2014 18:08:09 +0200 (CEST) (envelope-from lars) Date: Sat, 19 Jul 2014 18:08:09 +0200 From: Lars Engels To: Adrian Chadd Subject: [PATCHES] Extend service(8) and rc(8) was: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <20140719160809.GU96250@e-new.0x20.net> Mail-Followup-To: Lars Engels , Adrian Chadd , Andreas Nilsson , Navdeep Parhar , Craig Rodrigues , freebsd-doc@freebsd.org, Alberto Mijares , freebsd-current Current , ports , freebsd-rc@freebsd.org References: <53C82EC4.8060304@gmail.com> <20140718142835.GF96250@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ElEgulhWJDonIdTi" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p4 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Craig Rodrigues , freebsd-rc@freebsd.org, ports , freebsd-doc@freebsd.org, freebsd-current Current , Andreas Nilsson , Navdeep Parhar X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2014 16:08:15 -0000 --ElEgulhWJDonIdTi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 18, 2014 at 12:10:34PM -0700, Adrian Chadd wrote: > Hi! >=20 >=20 > On 18 July 2014 07:28, Lars Engels wrote: > > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > >> On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar w= rote: > >> > >> > 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? > >> > > >> > >> They sure are. > >> > >> Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would do. > >> Although some services have different names than the packge, which is = sort > >> of annoying. > > > > I hacked up a solution for service(8): > > > > http://bsd-geek.de/FreeBSD/service.sh.enable-disable.patch > > > > The patch adds the following directives to service(8): > > > > enable: Grabs an rc script's rcvar value and runs "sysrc foo_enable=3DY= ES" > > disable: The opposite of enable > > rcdelete: Deletes an rc script's rcvar value from /etc/rc.conf using > > "sysrc -x foo_enable" > > > > The nice thing about is that you can use one of the new directives on > > one line with the old ones, as long as the new are the first argument: > > > > # service syslogd enable > > # service apache24 disable stop > > # service apache24 rcdelete stop > > # service nginx enable start > > > > > > So after installing a package, to start and enable a daemon permanently > > all you have to run is > > # service foo enable start > > > > Lars > > > > P.S.: Thansk to Devin for his hard work on sysrc! >=20 > Having a way for sysrc and service to know what particular options and > services are exposed by a given package or installed "thing" would be > nice. Right now the namespace is very flat and it's not obvious in all > instances what needs to happen to make it useful and what the options > are. >=20 > "Oh, hm, I'd like to know what options there are for controlling the > installed apache24 package, let's see"... >=20 > I remember IRIX having that command to list services, stop them and > start them, configure them enabled and disabled. Solaris grew > something like that with Solaris 10 and after the initial learning > curve it was great. Hving something like that would be 100% awesome. I've updated the patch and extended it a little: https://phabric.freebsd.org/D451 It can now print the rc options for a service. It needs however to have the options listed as comments between the KEYWORDS section and the sourcing of /etc/rc.subr. And I've made some changes to rc.subr itself: https://phabric.freebsd.org/D452 So now you can use # service sshd describe Secure Shell Daemon and # service sshd extracommands configtest keygen reload Sorry for the mess in phabricator's SUMMARY. I will learn the markup syntax later... Lars --ElEgulhWJDonIdTi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJTypfpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1twRoH/jnqPDvSF3PxNhIqJPM9zmaa afViSj5ONY67Y1KsU39vZcM0eqfCSYWoPlZXB93Cj5mK01BcdaxDDMYOrNhx2rwT dq4ZRzYbtuCKNIrwkCqBrLHUmlzGoRP1txv9fpX/skAVN1Ftf9DcDZHsw+CoLbfI DrxeVu0OnTNqX6SjqeY/cEjgcmC2uUEpk4os7axaY5PDmGkmxfeHD0gWMazOqrJT /4G1C7WBBdyNJrGI9D1Llfk76IuVZicy9uj9BXpp6CeVL+sFt48F+DRzOpdx+sIM DwcEOItw6MI6cD4kV59+/3OhiB4dws2ZYI5mNl2jmXm9jVwAmrk/4Ip1nVytNFs= =ij8V -----END PGP SIGNATURE----- --ElEgulhWJDonIdTi-- From owner-freebsd-doc@FreeBSD.ORG Sat Jul 19 17:45:38 2014 Return-Path: Delivered-To: doc@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 E11F9F87 for ; Sat, 19 Jul 2014 17:45:37 +0000 (UTC) Received: from ups.com (magma5.ups.com [153.2.232.55]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "magma5.ups.com", Issuer "COMODO High-Assurance Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A6EF2EE3 for ; Sat, 19 Jul 2014 17:45:37 +0000 (UTC) Received: from ([153.2.242.85]) by magma5.ups.com with ESMTP id 5P829K1.208286615; Sat, 19 Jul 2014 13:45:25 -0400 From: 1185887178@qq.com To: doc@FreeBSD.org Subject: Thought you might be interested in this from UPS MIME-Version: 1.0 Date: Sat, 19 Jul 2014 13:45:25 -0400 (EDT) Message-ID: <450692629.4120717.1405791925438.JavaMail.beawl@austin-vip.ups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2014 17:45:38 -0000 Your colleague, MMMMMM本公司现有各y= cd;有各种国、地税单据= (增值专用,普通增&#x= 503c;,服务业,建筑业࿰= c;广告业点数优惠;可&= #x8ba4;证抵扣! 有需要= bf7;联系136 1283 3402李经理。QQ 118 588= 7178 希望长期合ӵ= c;!谢谢!<br> <br> &= lt;br>, has sent the following message: good luck Here's a link to the page MMMMMM本公司现有&#x= 5404;种有各种国、地税Ե= 5;据(增值专用,普通&= #x589e;值,服务业,建筑= e1a;,广告业点数优惠;= ;可认证抵扣! 有需&#= x8981;请联系136 1283 3402李经理。= QQ 118 588 7178 希望长期= 408;作!谢谢!<br> <br>&= #xd; <br> wanted you to see: Getting Started http://www.ups.com/content/us/en/bussol&= #x2f;browse/get_started/index.html?WT.svl=SubNav =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =EF=BF=BD 2011 United Parcel Service of America, Inc. UPS, the UPS brandmar= k, and the color brown are trademarks of United Parcel Service of America, = Inc. All rights reserved. For more information on UPS's privacy practices, refer to the UPS Privacy P= olicy. Please do not reply directly to this e-mail. UPS will not receive any reply= message. For questions or comments, Contact UPS. This communication contains proprietary information and may be confidential= . If you are not the intended recipient, the reading, copying, disclosure o= r other use of the contents of this e-mail is strictly prohibited and you a= re instructed to please delete this e-mail immediately. Privacy Policy: http://www.ups.com/content/us/en/resources/ship/terms/priva= cy.html Contact UPS: http://www.ups.com/content/us/en/contact/index.html UPS may remove any message or decline to transmit any email in its sole dis= cretion. Copyright (c) 2014 United Parcel Service of America, Inc. UPS, the UPS bran= dmark, and the color brown are trademarks of United Parcel Service of Ameri= ca, Inc. All rights reserved.=20 For more information on UPS's privacy practices, refer to the UPS Privacy P= olicy. Please do not reply directly to this e-mail. UPS will not receive any reply= message.=20 For questions or comments, visit Contact UPS. This communication contains proprietary information and may be confidential= . If you are not the intended recipient, the reading, copying, disclosure = or other use of the contents of this e-mail is strictly prohibited and you = are instructed to please delete this e-mail immediately. =20 Privacy Notice http://www.ups.com/content/us/en/resources/ship/terms/privacy.html =20 Contact UPS http://www.ups.com/content/us/en/contact/index.html From owner-freebsd-doc@FreeBSD.ORG Sat Jul 19 23:09:58 2014 Return-Path: Delivered-To: FreeBSD-doc@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 1AB79E91 for ; Sat, 19 Jul 2014 23:09:58 +0000 (UTC) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) (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 DD731275D for ; Sat, 19 Jul 2014 23:09:54 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id m1so5423706oag.7 for ; Sat, 19 Jul 2014 16:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+rQoLBxW15rZ/9M5vK4mB7DmI8Oi8IZlTvJzZeUVEkw=; b=K5ziLNBzXSw8eVSc9NPxOHHAz48ie8dBwyH5W0neD7x4IrwDG1LBDDyhWWLN4rQ8Tq JmFZcO5Ej9StQ9QKoRh0LEXfLiNvZ450eEJwkJwn5hYOkLoI21x5v+7jkAeorPVjfNTi 68NsrNe/zr1Z4Ddy8NeULCpwCMZR3kTvAgBlUXG7AlEVjc0j8HKZz5ug/qGlohlBvfTL 3n4g1miCl2e7s0RmuCujKtT0gWHqOFw9uZZLwNvYvTWEMPVig4K/TlY1VX4Je8O56mrg 4i3P/fiLGCpFRuNAwqqwfr0cYdPwzz9hIbbEDgjLhp7d5zrSIALdf7tNqPlR1XVVsohC 0TBg== MIME-Version: 1.0 X-Received: by 10.60.96.200 with SMTP id du8mr21615013oeb.74.1405811394262; Sat, 19 Jul 2014 16:09:54 -0700 (PDT) Received: by 10.182.177.8 with HTTP; Sat, 19 Jul 2014 16:09:54 -0700 (PDT) Date: Sun, 20 Jul 2014 03:39:54 +0430 Message-ID: Subject: collaborate to translate in persian From: sasa sasasa To: FreeBSD-doc@FreeBSD.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2014 23:09:58 -0000 i like freebsd and like to collaborate to translate freebsd in Persian . what should i do ?? what can i do ?? thank you bye . From owner-freebsd-doc@FreeBSD.ORG Sat Jul 19 19:56:44 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FDC6BAE; Sat, 19 Jul 2014 19:56:44 +0000 (UTC) Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) (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 3F8A72935; Sat, 19 Jul 2014 19:56:43 +0000 (UTC) Received: by mail-qa0-f45.google.com with SMTP id cm18so3909063qab.4 for ; Sat, 19 Jul 2014 12:56:42 -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:date:message-id:subject :from:to:content-type; bh=N9f9rWoHVKJDOpFI/JymFxXkffO4Xe3MkhRqycxthLI=; b=Wu7VIef+qaAJjPfGMmzMkJyJTNzwgTjVdueJpG4iJwPyHHINBY6NOSnO3NtWPfNseY hT4/QjZvKjF8L+mm+2xoMTR7mUSEAOc9q13AznS/aYwXfayRR7S/hNNmPxChwjvSg+kh EIn41Tq8GBSfy1Q9ovTEwYWYp+hBGNfsCPDot8T4yRbzfrrsjhP5KhOtErd+dJIQp7Ov Y3nJBFAc3hT12vsYklOg9EeoX32e1xF9d2tcg6GFU6cqYfc6syzbZufn/AbWaN3D4Sef BrmKv6pVMPo8u4PFaXxeU2VIWWnfBdKV1+CSA7HchrUQg6woqkzzLBL4K6KiXjCK2+VK D3Kg== MIME-Version: 1.0 X-Received: by 10.224.55.131 with SMTP id u3mr6888928qag.98.1405799802382; Sat, 19 Jul 2014 12:56:42 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Sat, 19 Jul 2014 12:56:42 -0700 (PDT) In-Reply-To: <20140719160809.GU96250@e-new.0x20.net> References: <53C82EC4.8060304@gmail.com> <20140718142835.GF96250@e-new.0x20.net> <20140719160809.GU96250@e-new.0x20.net> Date: Sat, 19 Jul 2014 12:56:42 -0700 X-Google-Sender-Auth: PDfK75sIuDebJ6pOReNsY4AUKBA Message-ID: Subject: Re: [PATCHES] Extend service(8) and rc(8) was: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? From: Adrian Chadd To: Lars Engels , Adrian Chadd , Andreas Nilsson , Navdeep Parhar , Craig Rodrigues , freebsd-doc@freebsd.org, Alberto Mijares , freebsd-current Current , ports , freebsd-rc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Sat, 19 Jul 2014 23:28:12 +0000 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2014 19:56:44 -0000 Hi! I like it! It's a useful command line API. Eventually people will realise there needs to be a more formal method for describing/controlling the underlying framework, but I leave that up to bapt to figure out and .. well, push people to do. :) Thanks! -a On 19 July 2014 09:08, Lars Engels wrote: > On Fri, Jul 18, 2014 at 12:10:34PM -0700, Adrian Chadd wrote: >> Hi! >> >> >> On 18 July 2014 07:28, Lars Engels wrote: >> > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: >> >> On Thu, Jul 17, 2014 at 10:15 PM, 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? >> >> > >> >> >> >> They sure are. >> >> >> >> Well, pkg install $service ; sysrc ${service}_enable="YES" would do. >> >> Although some services have different names than the packge, which is sort >> >> of annoying. >> > >> > I hacked up a solution for service(8): >> > >> > http://bsd-geek.de/FreeBSD/service.sh.enable-disable.patch >> > >> > The patch adds the following directives to service(8): >> > >> > enable: Grabs an rc script's rcvar value and runs "sysrc foo_enable=YES" >> > disable: The opposite of enable >> > rcdelete: Deletes an rc script's rcvar value from /etc/rc.conf using >> > "sysrc -x foo_enable" >> > >> > The nice thing about is that you can use one of the new directives on >> > one line with the old ones, as long as the new are the first argument: >> > >> > # service syslogd enable >> > # service apache24 disable stop >> > # service apache24 rcdelete stop >> > # service nginx enable start >> > >> > >> > So after installing a package, to start and enable a daemon permanently >> > all you have to run is >> > # service foo enable start >> > >> > Lars >> > >> > P.S.: Thansk to Devin for his hard work on sysrc! >> >> Having a way for sysrc and service to know what particular options and >> services are exposed by a given package or installed "thing" would be >> nice. Right now the namespace is very flat and it's not obvious in all >> instances what needs to happen to make it useful and what the options >> are. >> >> "Oh, hm, I'd like to know what options there are for controlling the >> installed apache24 package, let's see"... >> >> I remember IRIX having that command to list services, stop them and >> start them, configure them enabled and disabled. Solaris grew >> something like that with Solaris 10 and after the initial learning >> curve it was great. Hving something like that would be 100% awesome. > > I've updated the patch and extended it a little: > > https://phabric.freebsd.org/D451 > > It can now print the rc options for a service. > It needs however to have the options listed as comments between the > KEYWORDS section and the sourcing of /etc/rc.subr. > > > And I've made some changes to rc.subr itself: > > https://phabric.freebsd.org/D452 > > So now you can use > > # service sshd describe > Secure Shell Daemon > > and > > # service sshd extracommands > configtest keygen reload > > > Sorry for the mess in phabricator's SUMMARY. I will learn the markup > syntax later... > > > Lars