Originally posted by Delgarde
View Post
Announcement
Collapse
No announcement yet.
Using Udev Without Systemd Is Going To Become Harder
Collapse
X
-
Last edited by Luke_Wolf; 08 July 2014, 08:12 PM.
-
Originally posted by Vim_User View PostWhat a weird world view. If in your country suddenly there is a political change towards theocracy or a dictatorial regime, would you ride it or stand in its way? What about climate change? Rather ride it then do what we can to prevent it?
That's the vibe I often get both online and in real-life... a lot of complaining, not a lot of action. It's actions that make a difference.
Comment
-
Originally posted by Luke_Wolf View PostIf you look at the trees and not the forest, yes. However you have simpler components with a better understood design which means that the total effective complexity has gone down, which means that maintenance and extension are also easier. Now I will grant you that for small projects where there is one clearly defined purpose that will never be extended, that modularity does increase complexity vs not doing so. Anything that is significantly complex or needs to be extended however, benefits from a more modular design. Guess which category most projects fall into?
Comment
-
systemd is glibc -only init system, uclibc and musl is now dead?
Some facts first:
- systemd is using glibc specific functions like secure_getenv() and is by design, for glibc only, and patches that would add uclibc or musl support, are actively rejected
- if it weren't for eudev, there wouldn't be other udev provider than systemd-udevd, and even if you build only systemd-udevd from systemd tree using the MinimalBuilds
wiki page systemd has for building certain components only, they made udev's logging use secure_getenv() too
So, anyone who wants to use uclibc or musl or some other libc, don't have anything else now than:
- devtmpfs + eudev
- devtmpfs + static /dev
- devtmpfs + mdev from busybox
- ???
And Gentoo is actively supporting development on alternative libc's. This is the main reason Gentoo people are unhappy. It's not about what Lennart or Kay or anyone has said,
it's not about politics, the problems boil down to technical facts, and to them only
I just wanted to clarify this, since it seems people are thinking Gentoo is doing this based on some political view, which isn't true...
Thanks,
Samuli
Comment
-
Originally posted by ssuominen View PostSome facts first:
- systemd is using glibc specific functions like secure_getenv() and is by design, for glibc only, and patches that would add uclibc or musl support, are actively rejected
- if it weren't for eudev, there wouldn't be other udev provider than systemd-udevd, and even if you build only systemd-udevd from systemd tree using the MinimalBuilds
wiki page systemd has for building certain components only, they made udev's logging use secure_getenv() too
[...]
I just wanted to clarify this, since it seems people are thinking Gentoo is doing this based on some political view, which isn't true...
Comment
-
Originally posted by ssuominen View PostSome facts first:
- systemd is using glibc specific functions like secure_getenv() and is by design, for glibc only, and patches that would add uclibc or musl support, are actively rejected
- if it weren't for eudev, there wouldn't be other udev provider than systemd-udevd, and even if you build only systemd-udevd from systemd tree using the MinimalBuilds
wiki page systemd has for building certain components only, they made udev's logging use secure_getenv() too
So, anyone who wants to use uclibc or musl or some other libc, don't have anything else now than:
- devtmpfs + eudev
- devtmpfs + static /dev
- devtmpfs + mdev from busybox
- ???
And Gentoo is actively supporting development on alternative libc's. This is the main reason Gentoo people are unhappy. It's not about what Lennart or Kay or anyone has said,
it's not about politics, the problems boil down to technical facts, and to them only
I just wanted to clarify this, since it seems people are thinking Gentoo is doing this based on some political view, which isn't true...
Thanks,
Samuli
Comment
-
It's possible to build uClibc without NLS support, but systemd forces NLS use
Originally posted by BlackStar View PostWhy not implement the missing interfaces in uclibc then, or even as a compatibility shim? I can certainly understand why systemd would not want to carry patches for alternative libc implementations.
because it's only for logging. We will see if it will go in as well later on.
However, even if we'd sent every function to uClibc head to imitate glibc, systemd maintainers have also refused to make locale_t and other NLS specific functions optional, even
though it would be trivial, and uClibc supports NLS-less builds, so that'll stay broken anyway. uClibc without NLS is often used by embedded platforms.
Comment
-
Originally posted by ssuominen View PostHowever, even if we'd sent every function to uClibc head to imitate glibc, systemd maintainers have also refused to make locale_t and other NLS specific functions optional, even
though it would be trivial, and uClibc supports NLS-less builds, so that'll stay broken anyway. uClibc without NLS is often used by embedded platforms.
Hating them for this? They're quite clear on this, so understand you dislike it, but IMO you're just noticing all the little things that you have to do to make modularity possible.
Comment
-
Originally posted by ssuominen View PostThat has happened already for some other functions that were missing, Gentoo's Mike Frysinger sent a patch to uClibc which got applied. The secure_getenv() didn't go in, at least yet,
because it's only for logging. We will see if it will go in as well later on.
However, even if we'd sent every function to uClibc head to imitate glibc, systemd maintainers have also refused to make locale_t and other NLS specific functions optional, even
though it would be trivial, and uClibc supports NLS-less builds, so that'll stay broken anyway. uClibc without NLS is often used by embedded platforms.
But then again linux is already too heavy for the DSPs I work with, so yeah. (Spending a year with SYS/BIOS 6 gives you some perspective on just how much nicer linux+systemd is...)
Comment
Comment