LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Udisks2: Another Loss For Linux (https://www.linuxquestions.org/questions/slackware-14/udisks2-another-loss-for-linux-4175418467/)

Pixxt 07-24-2012 04:38 PM

Udisks2: Another Loss For Linux
 
With Udisks2 being added to Slackware to I wanted to know what this new package brings. It looks like another gnome POS tainting my system.


Quote:

Udisks2 is emerging, and while this could have been good news for Linux, it is instead a prime example of how Linux is in decline.

Author David Zeuthen explains his reasons for rewriting udisks here. To put it simply, it’s all about Gnome. It appears that increasingly udisks is becoming an internal Gnome component and less a universal Linux tool, certainly not command-line friendly. That means there is no real replacement for hal without adopting almost complete desktop environments. This is not a good state of affairs for Linux development. I haven’t tried it yet, but it will be interesting to see what a mess udisks2 makes of systems which aren’t running Gnome, since the udisks2 author seems to barely consider such use, and even works against it. udisks v1 certainly proved difficult enough with many non-Gnome users having endless polkit and consolekit issues. Rather than addressing this, udisks v2 aims to worsen it.
Quote:

Want to write a quick script to mount a device? Forget it, according to David Zeuthen – that’s not to be done in Linux. While this update may make Gnome’s Disks utility prettier, it undermines the core philosophy of Linux, which is that programs interoperate using simple command line interfaces and text streams. Apparently, the vision here is to make it as closed and convoluted as Windows.

http://igurublog.wordpress.com/2012/...oss-for-linux/

Didier Spaier 07-24-2012 04:48 PM

Quote:

Originally Posted by Pixxt (Post 4737066)
I haven’t tried it yet, but it will be interesting to see what a mess udisks2 makes of systems which aren’t running Gnome

In short: I haven't tried it yet but it *should* be bad.

IMNSHO, it would be more constructive to try it yourself on a system which is not running Gnome, as for instance Slackware-current, and tell us about your own experience than quote people who didn't even dare to try it.

dugan 07-24-2012 05:27 PM

Alien Bob comments

ReaperX7 07-24-2012 06:10 PM

The focus has been mainly to get Gnome literally a required component of a Linux distribution since so many distributions have either eradicated it or have started using it as their primary desktop environment.

Not only that but to wipe out any traces of any ability to work with BSD based or UNIX based components and recreate all tools to be specifically Linux.

I wouldn't be surprised if Red Hat wants to takeover Linux and recreate it not as a kernel for GNU based distributions, but as a true Linux OS.

Patrick has however stated Slackware has some options to avoid the inevitable, but exactly what they are is still under lock and key, but it deals with BSD based system tools.

bassplayer69 07-24-2012 07:20 PM

Perhaps I'm a bit naive on this, but who died and made David Zeuthen god for this type of technology in Linux? Can there be another alternative than udisks2 that can be used for those that don't want gnome running on their system? Or is that exactly what the BSD system mentioned in another post will do?

volkerdi 07-24-2012 07:29 PM

Quote:

Originally Posted by ReaperX7 (Post 4737113)
Patrick has however stated Slackware has some options to avoid the inevitable, but exactly what they are is still under lock and key, but it deals with BSD based system tools.

That was simply an offhand comment after perhaps one too many Pabst Blue Ribbons. If I knew anything, I'd tell you. The plan is as it always has been -- try to keep forging a path ahead, and don't build bridges until we've arrived at a river.

ReaperX7 07-24-2012 08:53 PM

Let's just hope they didn't shorten the road on things. God forbid we take a good breath, turn around, and the inevitable nightmare is starring us in the face.

I've been reading on various package websites that hardly anyone is in favor of udisks2's implementation.

For those interested here's a good read into how bad things with udisks2 are:

http://www.pappp.net/?p=948

Always interesting to see how much Linux developers will screw around with simple and easy to use systems just to mess up as much as possible and over-complicate the system.

You'd think these guys worked for Microsoft or something.

55020 07-25-2012 02:36 AM

Wow! Did you catch the *next* post on Mr Zeuthen's blog? For his next trick -- get this -- he's now embedded Javascript into Polkit :eek:

ponce 07-25-2012 03:12 AM

Quote:

Originally Posted by bassplayer69 (Post 4737149)
Can there be another alternative than udisks2 that can be used for those that don't want gnome running on their system?

yes, there is one, from Ignorant Guru himself: it's called udevil and, besides being still in alpha stage, I'm using it happily together with Spacefm on my laptop. :)

GazL 07-25-2012 04:37 AM

Thanks Ponce, both of those look like they might go well with my dwm/dmenu setup. Will give 'em a try.

kikinovak 07-25-2012 04:39 AM

Quote:

Originally Posted by volkerdi (Post 4737157)
That was simply an offhand comment after perhaps one too many Pabst Blue Ribbons. If I knew anything, I'd tell you. The plan is as it always has been -- try to keep forging a path ahead, and don't build bridges until we've arrived at a river.

And they keep saying Slackware development process isn't transparent :D

BlackRider 07-25-2012 04:39 AM

I think the author of udevil does say his software is not an udisks replacement.

ponce 07-25-2012 04:56 AM

Quote:

Originally Posted by GazL (Post 4737476)
Thanks Ponce, both of those look like they might go well with my dwm/dmenu setup. Will give 'em a try.

To made things easier for anybody who wants to try it, I have the slackbuilds (also one for an updated spacefm) available on my repository for -current ;)

Quote:

Originally Posted by BlackRider (Post 4737480)
I think the author of udevil does say his software is not an udisks replacement.

I have understood exactly the opposite, even the syntax is compatible (also with udisks2).

commandlinegamer 07-25-2012 06:38 AM

To play devil's advocate, which is probably foolish given I don't really get what's happening under the hood, Zeuthen talks about problems with scripts:

Quote:

[1] : History lesson: before we had udevd(8), the kernel forked /sbin/hotplug for every hotplug event. And /sbin/hotplug, being a shell script and all, itself forked another ten shell scripts or so in /etc/hotplug.d/and these forked other shell-scripts and... the result was that hotplugging a USB hub full of devices could easily take minutes because tens of thousands of /bin/sh-instances were forked. Awesometown. Today udevd(8) does the same in less than a second without forking a lot of extraneous processes.
http://davidz25.blogspot.co.uk/2012/...in-polkit.html

H_TeXMeX_H 07-25-2012 07:48 AM

I think I'll just disable udisks if possible, just like I disabled polkit and consolekit, etc.

vdemuth 07-25-2012 08:31 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 4737614)
I think I'll just disable udisks if possible, just like I disabled polkit and consolekit, etc.

Now that's an interesting idea. But what is the effect of disabling them to the average end user?

H_TeXMeX_H 07-25-2012 08:36 AM

Quote:

Originally Posted by vdemuth (Post 4737655)
Now that's an interesting idea. But what is the effect of disabling them to the average end user?

I'm assuming it will just prevent auto-mounting, which I have no need of anyway. I use Rox-Filer and it will mount things in fstab when you click on the mount points. It's exactly what I need, because I don't always want it to auto-mount. Sometimes I want to read a disk raw without mounting it.

guanx 07-25-2012 10:22 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 4737657)
I'm assuming it will just prevent auto-mounting, which I have no need of anyway. I use Rox-Filer and it will mount things in fstab when you click on the mount points. It's exactly what I need, because I don't always want it to auto-mount. Sometimes I want to read a disk raw without mounting it.

So disabling all such things only affects auto-mounting, but not manual mounting as an unpriveleged user without write access to "/etc/fstab", nor other things like restart/hibernating the system as an unpriveleged user from the console ... Did I understand it right?

H_TeXMeX_H 07-25-2012 10:27 AM

I don't know about restarting or hibernating as I don't use these. I would have to test it. As long as you are in the power group I think you should be able to restart and hibernate as user.

guanx 07-25-2012 10:43 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 4737740)
I don't know about restarting or hibernating as I don't use these. I would have to test it. As long as you are in the power group I think you should be able to restart and hibernate as user.

Thank you! I didn't know of the power group before. -- Always thought I was able to shutdown because I was directly in front of the console; not even tried remotely.

H_TeXMeX_H 07-28-2012 08:13 AM

There's this article about GNOME losing relevance:
http://www.phoronix.com/scan.php?pag...tem&px=MTE0ODI

Maybe GNOME will disappear and spare us their bad code and dependency hell.

kabamaru 07-28-2012 04:46 PM

Quote:

Originally Posted by H_TeXMeX_H (Post 4739993)
Maybe GNOME will disappear and spare us their bad code and dependency hell.

It looks like they're planning to conquer the world instead.

BlackRider 07-28-2012 06:31 PM

From my limited perspective, I would say the World Domination Plan is actually wet paper.

H_TeXMeX_H 07-29-2012 01:50 PM

Quote:

Originally Posted by BlackRider (Post 4740270)
From my limited perspective, I would say the World Domination Plan is actually wet paper.

... wet and sticky.

ReaperX7 07-30-2012 08:56 PM

LMAO.

More traditional desktops like Xfce and KDE are really easier to migrate into from other operating systems. The problem of GNOME is, it's getting too heavy handed against it's own software and pulling further and further into the system rather than being modular.

Now GNOME's libraries and programs that can be used on non-GNOME environments work very well often even in KDE and Xfce and dependencies now are just a fact of life. I don't see the programs themselves going away per-say, but I do see a time when the actual GNOME desktop environment will not be around.

baldheaded-yeti 07-30-2012 09:15 PM

Quote:

Originally Posted by H_TeXMeX_H (Post 4737614)
I think I'll just disable udisks if possible, just like I disabled polkit and consolekit, etc.

In another part of LQ I suggested a vanilla linux sans KDE or GNOME libraries. That didn't fly well.

Looks like FVWM and mc for me.

ttk 07-30-2012 10:45 PM

Quote:

Originally Posted by baldheaded-yeti (Post 4741762)
In another part of LQ I suggested a vanilla linux sans KDE or GNOME libraries. That didn't fly well.

Looks like FVWM and mc for me.

Sure, why not? That's what I do (well, fvwm anyway .. never got in the habit of using mc, tend to use bash instead for file management).

Eschewing with the kdei and/or kde directories are a nice way to slim down an already slim distribution, though with how massive even thumbdrives have gotten there's not much point.

If all you need is a no-frills window manager with oodles of configurability and all the virtual desktops you can eat, with no need for a "desktop environment", fvwm is just fine. And unlike kde and gnome, fvwm is pretty much guaranteed to remain sane and solid forever.

ReaperX7 07-30-2012 10:50 PM

Xfce is still fairly lightweight compared to KDE and GNOME in spite of it's dependencies that keep getting added. I've installed Xfce onto systems and don't have anywhere near the same level of tools and software KDE and GNOME include.

I'll stick to Xfce anyways. Even if it's growing as a desktop environment and taking more stuff into it, it's still faster, more compact, and more featured as a complete environment.

baldheaded-yeti 07-31-2012 06:54 AM

Is udisks2 really necessary ?

Pixxt 08-01-2012 03:15 AM

Quote:

Originally Posted by baldheaded-yeti (Post 4742089)
Is udisks2 really necessary ?

For Xfce, then yes...

baldheaded-yeti 08-01-2012 06:42 AM

Quote:

Originally Posted by Pixxt (Post 4742918)
For Xfce, then yes...

LXDE also, for the file manager, I believe.

ponce 08-01-2012 07:27 AM

pcmanfm (the official LXDE file manager) uses udisks (not udisks2), but I'm planning to check if it works with udevil ;)

baldheaded-yeti 08-01-2012 10:29 AM

Quote:

Originally Posted by ponce (Post 4743124)
pcmanfm (the official LXDE file manager) uses udisks (not udisks2), but I'm planning to check if it works with udevil ;)

I used your LXDE install without a hitch on 13.37 vanilla and have been playing with spaceFM also. I've been following the IgnorantGuru to see
how udevil works out.

We could all ways go back to the CLI !

ponce 08-01-2012 10:34 AM

\o/


All times are GMT -5. The time now is 03:06 PM.