Hacker News new | ask | show | jobs
by bkor 4528 days ago
Various features that systemd exposes have no equivalent in other kernels. This makes it impossible. He also explained various times why he refuses non-complete portability patches. This because you get more ifdefs and those are difficult to test/guarantee.

He and Kay claimed that kdbus couldn't be used for Binder as well. Greg thought it was possible. Only after writing kdbus he came to the conclusion that Lennart+Kay had it right.

Suggest to write a complete patch to make systemd work on FreeBSD. I assume you'll discover Lennart is right :-P

2 comments

Actually, feasible or not, I understand and somewhat agree with the fact that they don't want portability patches, it would probably force systemd to be limited to the lowest common denominator and add a lot of complexity to the project.

However, I was wondering if platform-specific forks are a sustainable solution.

You do not get portable code with ifdefs, you only get 2 non portable programs in the same file.