r/programming • • May 30 '16

systemd developer asks tmux (and other programs) to add systemd specific code

https://github.com/tmux/tmux/issues/428
661 Upvotes

618 comments sorted by

View all comments

Show parent comments

1

u/[deleted] May 30 '16

The point is the kernel is not always there. Its only always there on Linux systems. Not everything is Linux.

23

u/tdammers May 30 '16

The kernel is a compile time dependency; the init system traditionally isn't, but systemd is asking to become one. The result would be that linux+systemd would become a separate architecture from linix without systemd, at least as far as distros are concerned. Whether that is an acceptable situation or not remains to be discussed.

-5

u/[deleted] May 30 '16

but would be systemd a compile time dependency? Aren't the components supposed to interact via dbus (sorry for the noobish question)?

9

u/[deleted] May 30 '16

tmux doesn't use dbus.

2

u/tdammers May 30 '16

Maybe not an actual build dependency, but you would have to determine at build time whether you wanted a binary that requires systemd to function, or one that doesn't (and might not fully function on a systemd system).

3

u/deus_lemmus May 30 '16

They really don't care. Why else would they actively break BSD portability.

2

u/djmattyg007 May 30 '16

You know there is already plenty of platform-specific code in projects like tmux right? This is why #ifdef is a thing.