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

Re: On the possibility of OpenRC for GNU/Hurd (gsoc2013)



Quoting heroxbd (2013-05-28 05:10:57)
> Our project is about to Debianize OpenRC[1], a candidate replacement for
> /etc/init.d/rc originated from Gentoo written in C and POSIX
> shell. OpenRC is created with portability in mind and it runs on FreeBSD
> port of Gentoo.

Right, so I gave OpenRC a quick spin. It fails to compile on Hurd, I
did some hacky patching, made up some .GNU.x files to make the build
system start doing it's job. All went fairly well until it hit
src/librc:

* Unconditional use of both PATH_MAX and MAXPATHLEN

* For some reason BSD is defined and so it expects some headers that
  are not available on the Hurd

* Afaics it assumes kvm to be available, at this point I stopped
  hacking around the issues.

So I think this would need some serious porting by someone who is more
familiar with OpenRC or has more time to conditionalize the code using
the various features that are not available on the Hurd.

Justus


Reply to: