[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upstart & kFreeBSD port for Debian

On 22 May 2013 01:16, Michael Biebl <biebl@debian.org> wrote:
> Am 22.05.2013 02:00, schrieb Dmitrijs Ledkovs:
>> On 21 May 2013 21:53, Lucas Nussbaum <lucas@debian.org> wrote:
>>> Hi,
>>> On 20/05/13 at 18:19 +0200, Michael Stapelberg wrote:
>>>> Hello,
>>> - Neither systemd nor upstart are likely to be ported to kfreebsd soon,
>>>   as they both rely on many Linux-specific features and interfaces.
>> Well, Colin Watson, Matthias Klose, Steve Langasek, James Hunt and I
>> have discussed the state of the kfreebsd possibility a few times over
>> the past year or so.
>> It boiled down to: if we have waitid & inotify it should be possible
>> to have a reasonable stab at doing a kfreebsd port for the system-wide
>> upstart init (with libnih and mountall). For session init we currently
>> do use prctl to set subreaper, but one can still have session upstart
>> init without that syscall.
>> Was there something else needed? Or can anyone else spot other "big
>> incompatible" chunks of code?
> https://lists.debian.org/debian-bsd/2009/07/msg00122.html

Going down the list:

 - inotify  -  internetz tell me kevents/kqueue is the way to go
 - waitid() - issue closed in FreeBSD in February 2013, is it usable?
 - epoll, eventfd, signalfd, timerfd - again internetz tell me
kevents/kqueue can do all of this, better yet there is libevent that
can do those portably across linux and bsd
 - ptrace - FreeBSD does have ptrace - differences in api/capabilities?

I didn't know about either of these =) looks awesome. Need to look
into how upstart is using those, to see how necessary those are and
how to implement them on FreeBSD.
 - netlink proc connector
 - netlink udev interface

> Nothing really happened since 2009, so I wouldn't hold my breath
> regarding a *BSD port.

Apart from FreeBSD folks implementing just recently waitid()?! =))) That's huge.



Reply to: