Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2019 12:32:16 -0600
From:      Adam <amvandemore@gmail.com>
To:        Enji Cooper <yaneurabeya@gmail.com>
Cc:        Wojciech Puchar <wojtek@puchar.net>, Sidju <lists@sidju.se>,  "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Conrad Meyer <cem@freebsd.org>
Subject:   Re: nosh init system
Message-ID:  <CA%2BtpaK0_LjfxvzEE1_jN03Hp9JeRSag43xXDjcHjqajJnYgMLw@mail.gmail.com>
In-Reply-To: <CF8D2DCD-F63A-4E79-9CBC-CD45D5D596DD@gmail.com>
References:  <c8sxY3L8OrRosQ0UdftF6FrqHGRs_uJal0l7YlID7b_xwVG05yeU8DGoS78wo5089zww5pDdvbM_gwCkXxCVjaPYiDS-kNJLxN7b9iGwfxk=@sidju.se> <CAG6CVpXy4q16QhG1ycFnVZ8cgEfb%2BpS8tmPJykv8Wa-GthginQ@mail.gmail.com> <alpine.BSF.2.20.1902091830490.45199@puchar.net> <CF8D2DCD-F63A-4E79-9CBC-CD45D5D596DD@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 9, 2019 at 11:57 AM Enji Cooper <yaneurabeya@gmail.com> wrote:

> On Feb 9, 2019, at 09:32, Wojciech Puchar <wojtek@puchar.net> wrote:
>
> >> pid 2 and reap zombies.  We're missing a half-decent service
> >> management system.  On Linux, systemd performs both roles.  On
> >> FreeBSD, init(8) serves one role, and rc(8) is a tiny subset of a real
> >> service management system like systemd.
> >
> > systemd is overcomplex crap. And a reason many people migrated to
> FreeBSD from linux.
> >
> >>
> >> (I think the piece we would consider replacing or supplementing would
> >> be rc(8).  Part of that might be migrating some responsibilities from
> >> pid 1 to pid 2, such as spawning gettys.  I don't hold strong opinions
> >> about that.)
> >
> > this make sense but with spawning gettys left to init.
> >
> >
> > what do you want to improve in rc? starting services in parallel doesn'=
t
> seem to be major problem to make i think.
>
> Starting and stopping services based on logical events and =E2=80=9Crun l=
evels=E2=80=9D,
> apart from what devd handles with hardware events is what comes to mind f=
or
> me.
>
> rc(8) is also incredibly fragile when it comes to starting or stopping
> services beyond first boot, or when dealing with =E2=80=9Coptional=E2=80=
=9D services, like
> nis/yp. I tried to clean this up a few years ago, but it=E2=80=99s not cl=
ose to my
> ideal design (it feels like  a bubblegum and duct tape solution).
>

"incredibly fragile" indicates there is some common, easily triggered issue
with it.  Can you elaborate please?  I stop and restart base services and
others on a regular basis and don't see an issue there although I also
haven't use NIS for some time.
--=20
Adam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK0_LjfxvzEE1_jN03Hp9JeRSag43xXDjcHjqajJnYgMLw>