Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2014 22:29:23 +0200
From:      Andreas Nilsson <andrnils@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Craig Rodrigues <rodrigc@freebsd.org>, Navdeep Parhar <nparhar@gmail.com>, freebsd-doc@freebsd.org, Alberto Mijares <amijaresp@gmail.com>, freebsd-current Current <freebsd-current@freebsd.org>, ports <freebsd-ports@freebsd.org>
Subject:   Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?
Message-ID:  <CAPS9%2BSsZRsnzJuNFL1KzEhaN=mh424kJ3%2BJq7KXbfVSd_0e3Tg@mail.gmail.com>
In-Reply-To: <CAJ-VmokHbBq3hAYAr-cpUL92RstdXhrDMuTiVw=6strHK2nFMw@mail.gmail.com>
References:  <CAG=rPVcyqq2072%2BgF_X91BocxykJB6%2BU0cMhaNexxfVFpVqUbA@mail.gmail.com> <CAJ-Vmo=p6-7KCL8C09O4dPq04pitW5wDbtsDAyz-u4Qtr7rpRA@mail.gmail.com> <CAGZBXN8-Gq1=w8SBHCw26ZX4a29KHBx%2B4FV9XGK1HJiCOGuJ9A@mail.gmail.com> <CAJ-Vmo=8uAXqmX8D%2BoP%2B63dHWVKN6cn8wBH0HNsVmUciNRF1BA@mail.gmail.com> <53C82EC4.8060304@gmail.com> <CAJ-VmokHbBq3hAYAr-cpUL92RstdXhrDMuTiVw=6strHK2nFMw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 17, 2014 at 10:21 PM, Adrian Chadd <adrian@freebsd.org> wrote:

> On 17 July 2014 13:15, Navdeep Parhar <nparhar@gmail.com> wrote:
> > On 07/17/14 13:12, Adrian Chadd wrote:
> >> On 17 July 2014 13:03, Alberto Mijares <amijaresp@gmail.com> wrote:
> >>> On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd <adrian@freebsd.org>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSsZRsnzJuNFL1KzEhaN=mh424kJ3%2BJq7KXbfVSd_0e3Tg>