probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
Posted Jun 23, 2025 15:42 UTC (Mon) by calvin (subscriber, #168398)Parent article: GNOME deepens systemd dependencies
I think the bigger insight is: the system layer is pretty important (see Benno Rice's talk); perhaps there should be an effort to make that kind of functionality available across OSes, and have an API for it. The POSIX of service management, if you will.
Posted Jun 23, 2025 15:56 UTC (Mon)
by wtarreau (subscriber, #51152)
[Link] (33 responses)
But IMHO there's already such an API, it's based on config files, /dev entries and reasonably portable commands like mount, ps, etc. It has worked for a very long time. Even 25 years ago, the CDE environment was very well integrated with multiple proprietary operating systems without having to require deep OS-level changes. You could perfectly well click on a CD icon to mount a CD for example, listen to wav files, or see notifications when you had mails.
I'm not really sure what is being attempted these days by making all this stuff so much complicated, brittle and resource hog, but it must be profitable to someone (maybe users?) or maybe it's self-feeding.
Posted Jun 23, 2025 16:44 UTC (Mon)
by Wol (subscriber, #4433)
[Link]
Ooh - new! shiny!
Unfortunately grey beards are not normally shiny.
As Ecclesiastes said, there's nothing new under the sun. Unfortunately the young turks keep re-inventing the wheel - isn't that part of what being a young turk is?
Cheers,
Posted Jun 23, 2025 17:39 UTC (Mon)
by calvin (subscriber, #168398)
[Link]
Your memories of CDE aren't also quite accurate - there was a ton of vendor customization of CDE. Solaris, for instance, had its own automounter that they had CDE integrate into. The other vendors had their own and they were all proprietary and different in their own ways. The current state of affairs with fd.o presenting a single interface for i.e. UDisks or whatever is much better than what we had in the 90s. A lot more complicated than mount(8)...
Posted Jun 23, 2025 17:48 UTC (Mon)
by jafd (subscriber, #129642)
[Link]
There are reasons every desktop environment in existence comes with its own "session manager" (one is that before systemd, there was nothing portable or uniform to manage the user session at all, and no, a 4,000-line bashrc ain't it). In my older days, playing audio used to be related to a wonderfully refreshing experience of using lsof to find who was holding up the sound hardware this time. Using removable media was invariably connected with a cornucopia of permission errors, then begrudgingly dropping to a root shell.
Sure, you could count on the commands to be "reasonably portable", for some values of "reasonable", but there are all sorts of hooks and crooks when it comes to actually using them all together and making assumptions about things. Look at the old sysvinit scripts for popular services — you can see how they grew in response to edge cases being discovered. They are very far from being simple. Knowing and understanding them could sure bring joy to someone fond of collecting arcane bits of knowledge.
Posted Jun 23, 2025 18:25 UTC (Mon)
by ballombe (subscriber, #9523)
[Link] (15 responses)
Posted Jun 23, 2025 18:52 UTC (Mon)
by joib (subscriber, #8541)
[Link] (14 responses)
Posted Jun 23, 2025 18:56 UTC (Mon)
by jzb (editor, #7867)
[Link] (13 responses)
Users can still theme Xfce to look like CDE if that happens to be their preference. Funny enough, I used to think CDE was hideous—but I have to admit, it's grown on me over the years. Probably just nostalgia...
Posted Jun 23, 2025 21:30 UTC (Mon)
by wtarreau (subscriber, #51152)
[Link]
I always found it hideous as well :-) And super slow. But it did work on a 64 MB machine at 300 MHz. Standards have changed!
Posted Jun 24, 2025 6:39 UTC (Tue)
by joib (subscriber, #8541)
[Link] (1 responses)
Not sure whether I should be happy or horrified that it's possible to recreate that look with modern xfce. ;-)
Posted Jun 24, 2025 12:26 UTC (Tue)
by dskoll (subscriber, #1630)
[Link]
Yes! I had a job on Solaris running CDE, and I discovered XFCE which at the time was very CDE-like.
I'm still happily using XFCE4 even though it's no longer particularly CDE-like. The XFCE developers are very conservative about changes to look and feel, and my muscle memory appreciates that.
Posted Jun 24, 2025 9:46 UTC (Tue)
by paulj (subscriber, #341)
[Link] (8 responses)
Posted Jun 24, 2025 11:34 UTC (Tue)
by joib (subscriber, #8541)
[Link] (7 responses)
Posted Jun 24, 2025 12:40 UTC (Tue)
by paulj (subscriber, #341)
[Link] (6 responses)
The Silicon Graphics "Indigo Magic Desktop" was also nice, with some nice widgets. Like a little thumbwheel for zooming in and out of views, and sliders that looked like sliders. Very nice. Motif based, so the later CDE didn't look /too/ different from it (indeed, CDE surely took a lot of cues from IMD).
University I went to had a lab full of SparcStation 1's and 1+'s with OpenLook, and another lab full of Silicon Graphics Indy's with IMD. Such amazing machines at the time (the Indy's particularly). Unix OSes and their desktops were just light years ahead of Win3.11 and Win95 PCs, and their underlying MSDOS.
Posted Jun 24, 2025 14:25 UTC (Tue)
by paulj (subscriber, #341)
[Link] (5 responses)
Posted Jun 24, 2025 14:53 UTC (Tue)
by wtarreau (subscriber, #51152)
[Link] (1 responses)
Not really sure what you mean, I *am* using it on a laptop and have dealt with screen size changes every time I connect it to an external projector. When the external size is larger than yours, the only thing is that if you stored your icons on the right, they stay at their absolute position (which can become 2/3 of the screen), but everything works fine for me.
Posted Jun 24, 2025 16:35 UTC (Tue)
by paulj (subscriber, #341)
[Link]
Posted Jun 26, 2025 19:04 UTC (Thu)
by jmalcolm (subscriber, #8876)
[Link] (2 responses)
Posted Jun 27, 2025 10:58 UTC (Fri)
by paulj (subscriber, #341)
[Link] (1 responses)
Thanks!
Posted Jun 27, 2025 12:42 UTC (Fri)
by smurf (subscriber, #17840)
[Link]
Not looking back.
Not looking forward to converting my laptop either, but that's a different topic.
Posted Jun 24, 2025 13:49 UTC (Tue)
by clump (subscriber, #27801)
[Link]
I can imagine the mouse pointer changing window colors when hovering, and the right click menu disappearing when you release the button.
Posted Jun 23, 2025 18:53 UTC (Mon)
by parametricpoly (subscriber, #143903)
[Link] (13 responses)
Yes, if you measure system's functionality by the fact that things somehow seem to work, mostly, and some graphics appears on the screen (if not, just reboot), then yes... quite ridiculous that many x11 based greeters still run as root (e.g. https://github.com/canonical/lightdm/issues/18), no proper isolation. Since Covid, many have had a flexible office. GECOS is such a stinking pile of garbage, no wonder most users doesn't use it at all.
Posted Jun 23, 2025 21:35 UTC (Mon)
by wtarreau (subscriber, #51152)
[Link] (12 responses)
And what's the next step ? Drop support for /etc/passwd and /etc/shadow and force users to use yet another GNOME mega-application to edit an entry from the local console ? Have them run an imitation of regedit to change their UID ? We're progressively but surely going away from the KISS principle that has made UNIX-based systems last 5 decades, and slowly turning them into a single megalith that nobody understands and that newcomers will denounce as the pest to combat like windows was pointed the finger at 25 years ago. We might reach a point where the stuff will have become so complex and boring that nobody will want to hack on it anymore and it will die by itself in boredom.
Posted Jun 23, 2025 23:39 UTC (Mon)
by parametricpoly (subscriber, #143903)
[Link]
Posted Jun 24, 2025 0:32 UTC (Tue)
by pizza (subscriber, #46)
[Link]
You say that as if it's a bad thing.
In the real world, requiring all processes performing authentication to (1) run as root and (2) work with plaintext credentials is both (i) a major security weakness (that has been exploited countless times) and (ii) severely limits the sorts of authentication mechanisms one can use.
> We're progressively but surely going away from the KISS principle that has made UNIX-based systems last 5 decades, and slowly turning them into a single megalith that nobody understands and that newcomers will denounce as the pest to combat like windows was pointed the finger at 25 years ago.
User info and authentication hasn't been obtained directly from /etc/passwd(etc) since Unix System V Release 4 in *1988*, instead proxying through the libc's NSS to allow for NIS and other directory services to be transparently used. This was later augmented by PAM (1996) and SSSD (mid-late 2000s), which in turn could be plugged into countless other user authentiction/directory services.
"KISS" ended nearly 40 years ago, out of the necessity of working in the real world.
Posted Jun 24, 2025 2:10 UTC (Tue)
by smurf (subscriber, #17840)
[Link]
Lots of places already did. Did you ever try to edit /etc/passwd when the name displayed by your company's Active Directory server was wrong?
systemd's user info server isn't yet another huge thing you need tooling for. It's mainly an aggregator. You can plug a parser for /etc/passwd+shadow into it, or AD, or whichever other service you want. It's a protocol, not an API or (worse) a file format from the 70s/90s that can't evolve and can't be extended. There's strict separation of concerns (in contrast to libpam and related ugliness).
Posted Jun 24, 2025 3:03 UTC (Tue)
by mjg59 (subscriber, #23239)
[Link] (5 responses)
Posted Jun 24, 2025 6:35 UTC (Tue)
by joib (subscriber, #8541)
[Link] (4 responses)
So now systemd is trying the same. Will it allow some unification and simplification, or the opposite if applications will need to support that in addition to classical NSS&PAM along with some ad-hoc kludge to provide more info if necessary, and the sssd thing if that was ever supported? I guess one can only try and hope it gains more or less universal adoption, but there's a risk this will just increase complexity rather than reduce it.
Posted Jun 24, 2025 7:43 UTC (Tue)
by smurf (subscriber, #17840)
[Link]
The problem with dbus is (a) its access rights model, which is surprisingly complex and a source of subtle security errors, (b) libdbus isn't exactly easy to integrate, (c) hey now your passwords pass through yet another daemon what could possibly go wrong.
systemd has a plugin for PAM, so your the legacy(-ish) tooling will continue to work. The other way 'round, there's the io.systemd.Machine provider.
Posted Jun 24, 2025 14:20 UTC (Tue)
by rjones (subscriber, #159862)
[Link] (2 responses)
This leverages nss and thus works regardless of what service is sourcing the id numbers for these things. This includes the systemd dynamic uids, which is also exposed via nss with the nss-systemd module.
Cat your /etc/nsswitch.conf to confirm. You should see 'systemd' listed there after files, etc
I don't think there is anything special that applications need to do to support anything at this point. Even if /etc/passwd was to magically disappear.
Posted Jun 24, 2025 14:53 UTC (Tue)
by joib (subscriber, #8541)
[Link] (1 responses)
Problem here seems to be a desire to associate additional info to a user, not possible in the NSS data model. Like a picture of the user, email address, fully qualified username (name@DOMAIN), etc. Sssd having a go at this failed, remains to be seen whether the systemd approach will turn out to be more successful.
Posted Jun 25, 2025 11:07 UTC (Wed)
by rjones (subscriber, #159862)
[Link]
Took a quick look at JSON Group Record and JSON User record from Systemd's documentation it all seems very reasonable and not any different then what people have already been doing for decades with LDAP.
It would be nice to have a nice way for users to set their picture, email address, timezone, default language, security keys, etc. in a saner manner. None of that seems crazy or undesirable.
And since systemd-userdb provides support for multiple backends then it can provide a unified interface for retrieving and interacting with LDAP and other sources of user information people already use and rely on while systemd-homed provides feature parity for people not using any of those services.
If it all works out then it should represent a nice improvement and simplification of the OS over the status quo.
Posted Jun 24, 2025 7:16 UTC (Tue)
by zdzichu (subscriber, #17118)
[Link] (2 responses)
I can't find it now, but Openwall's TCB (https://www.openwall.com/tcb/) looks similar. Or maybe that was something from GoboLinux? Or maybe T2 SDE? Nevertheless, life without /etc/{passwd,shadow} is possible and even quite pleasant.
Posted Jun 24, 2025 10:01 UTC (Tue)
by dottedmag (subscriber, #18590)
[Link]
Posted Jun 24, 2025 18:15 UTC (Tue)
by adobriyan (subscriber, #30858)
[Link]
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
Wol
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
CDE as XFCE gateway
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications