LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-24-2014, 12:17 AM   #76
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619

Quote:
The Slackware dev team has kept udev-182 since Slackware 14.0 and it delivers. Could we keep it alive for a long time? what would be the roadblocks?
Roadblock(s) already here. I've experienced one software that won't compile because it uses features introduced since udev-182. I'm sure this will happen more and more with new software projects. I was able fix that problem locally by installing just the udev component from systemd-215 (should work for 216 too). However this makes that machine quite non-standard - not so attractive if you have a bunch of machines to maintain. I understand a "standalone-udev-from-systemd" proposal has been put to Pat - hopefully it has sufficient merit to be included soon.

Quote:
To do without systemd does require an alternative to udev
Maybe that will be true in the future but not at the moment. Based on minimal research suggesting udev could be built/installed separately from systemd, I tried it myself and it worked. In addition, the fact there is a separate proposal to Pat to do exactly the same thing indicates that at least one other person has gone through the same process and succeeded.

i.e. for some time at least, we don't need an alternative to udev; we could have 216 right now.

chris
 
Old 08-24-2014, 01:27 AM   #77
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I know a few experimental builds of eudev have been tried on Slackware. Someone did test a package of eudev-1.7 if memory serves. The post might still be lingering here.
 
Old 08-24-2014, 01:47 AM   #78
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
I think it's this post by Didier Spaier. Haven't tested it, though. (I also read that CRUX switched to eudev in 3.1.)
 
Old 08-24-2014, 03:36 AM   #79
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
A lot of smaller non-mainstream distributions have picked up eudev which is nice to see. Mostly, from looking into it, lots of these distributions still want a lighter weight system. A few even have been picking up other packages like perp, Runit, and other low level toolkits for not just device management but init and other services. I think there's even a few novelty distributions out there still sporting hotplugd, hald, and devfsd and lack udev completely that also are up-to-date in most software oddly.

Last edited by ReaperX7; 08-24-2014 at 03:48 AM.
 
Old 08-24-2014, 08:15 AM   #80
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by 55020 View Post
Thanks! (note that, for me, Firefox was unable to load that URL due to "Cannot communicate securely with peer: no common encryption algorithm(s)", but konqueror coped ok).
Oh, I did not experience this, I've used firefox 31.0 (via ruario's script) and had no problems accessing it. One can also check it out using git(1):
Code:
git clone git://uglyman.kremlin.cc/git/systembsd.git
Quote:
Originally Posted by ReaperX7 View Post
A lot of smaller non-mainstream distributions have picked up eudev which is nice to see. Mostly, from looking into it, lots of these distributions still want a lighter weight system. A few even have been picking up other packages like perp, Runit, and other low level toolkits for not just device management but init and other services. I think there's even a few novelty distributions out there still sporting hotplugd, hald, and devfsd and lack udev completely that also are up-to-date in most software oddly.
Yes, I already wrote on Alien BOB's blog that VoidLinux switched from systemd to runit. Nice to see indeed. As for distributions still using hald etc. but being up-to-date: I remember a while back that a user posted a link to a blog where someone complained about Mesa depending on libudev for DRM hardware support, so he wrote libudev-light. Seems as if more and more workarounds are needed.

Last edited by lems; 08-24-2014 at 08:32 AM. Reason: typo
 
Old 08-24-2014, 01:23 PM   #81
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by chris.willing View Post
I've experienced one software that won't compile because it uses features introduced since udev-182. I'm sure this will happen more and more with new software projects. I was able fix that problem locally by installing just the udev component from systemd-215 (should work for 216 too).
Could you say what software? and what features were missing?

TIA
 
Old 08-24-2014, 03:03 PM   #82
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I remember about libudev-light being written for that purpose. The thing is, regardless of all the changes that have gone on in GNU/Linux, all the old paths, libraries, and functionality is still there. Projects still have the hal fdi resources available, netlink isn't going anywhere, and as it was pointed out the kernel hotplug code is still alive too, and all of these were deprecated years ago, but they're still there because of the fact many low-level embedded systems still run the technology, because it's simpler and still works.

I'm not saying it can be done easily, but there are patches that allow hald to build, hotplugd scripts need updates, and devfsd still builds perfectly. All the classic methods to getting a system up and running just require some patches really. FreeBSD still uses hald with devd mostly because they don't use ConsoleKit and devd doesn't reproduce some of the udev functions required, but it works.

I think really all this rush to kdbus stems from nothing but FUD talk. If stuff from kernel 2.4.xx and even 2.2.xx still exists for whatever reason out there, then really there are no worries. And until kdbus is put into the kernel this FUD talk amounts to nothing but someone trying to blow smoke up another's rectal area, and possibly even after it is put in.
 
Old 08-24-2014, 03:49 PM   #83
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Some stuff still exists because nobody saw the need to remove it.

The word "bitrot" comes to mind.
 
Old 08-24-2014, 05:18 PM   #84
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by philanc View Post
Could you say what software? and what features were missing?
The software is colord version 1.2.1 (some earlier versions also failed). After configuring with --disable-bash-completion and --disable-systemd-login, make stops when linker can't find libudev.so.1. However there are also prior warnings about implicit declarations of some functions (udev_hwdb_new, udev_hwdb_get_properties_list_entry, udev_hwdb_unref) i.e. they're not declared in libudev.h (which has no hwdb related declarations at all). All was fixed with udev-215. I haven't tried eudev but it would probably work - looking through its github pages, I see the missing declarations are there.

chris
 
Old 08-24-2014, 06:32 PM   #85
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
udev-215 should be equal to eudev-1.9 in feature support. I've got colord-1.2.1 compiled again eudev-1.7. Didier had a build as posted above. Ask him. Eudev was his baby. He should know.
 
Old 08-24-2014, 07:20 PM   #86
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by chris.willing View Post
The software is colord version 1.2.1 (some earlier versions also failed). After configuring with --disable-bash-completion and --disable-systemd-login, make stops when linker can't find libudev.so.1. However there are also prior warnings about implicit declarations of some functions (udev_hwdb_new, udev_hwdb_get_properties_list_entry, udev_hwdb_unref) i.e. they're not declared in libudev.h (which has no hwdb related declarations at all). All was fixed with udev-215.
Thanks for the detailed info. It highlights a new issue I was not aware of: The systemd/udev team have added all the hwdb stuff in udev!! It is a new subsystem ('udevadm hwdb' command, /lib/udev/hwdb.d rules, udev_hwdb API in libudev-hwdb-def.h) for enumerating and getting textual description of hardware devices (PCI and USB).

This is bad news, because others upstream projects, such as colord for example, will start using this stuff. This will in turn make a udev fork even more difficult to maintain :-(

Regarding the specific colord issue, I think you could build it with our current udev-182 with .configure --disable-udev --disable-systemd-login. I tried to build it on my home PC but unfortunately I am running Slack 14.0 here, and colord's configure requires Glib>=2.36...
 
1 members found this post helpful.
Old 08-24-2014, 07:28 PM   #87
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
libudev.so.1 should be a symlink back to the main library libudev.so... unless something changed recently.

Try running a search for libudev and see what comes up. If the symlink is missing you may have to create it.

Last edited by ReaperX7; 08-24-2014 at 07:30 PM.
 
Old 08-24-2014, 07:37 PM   #88
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by ReaperX7 View Post
udev-215 should be equal to eudev-1.9 in feature support. I've got colord-1.2.1 compiled again eudev-1.7. Didier had a build as posted above. Ask him. Eudev was his baby. He should know.
How to build colord isn't the issue - I only mentioned it in response to a direct question.

The actual points of my original post were:
1. sticking with udev-182 does constitute a roadblock
2. doing without systemd does _not_ necessarily require an alternative to udev, just an up to date version of udev

The fact that eudev also does the job is great. Whether to use eudev or an up to date udev is a different matter - hopefully one or the other will go into -current soon so that the technical implications can be tested more widely and more thoroughly.

chris

Last edited by chris.willing; 08-24-2014 at 07:57 PM. Reason: typo (roadbloack)
 
Old 08-24-2014, 07:44 PM   #89
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by ReaperX7 View Post
udev-215 should be equal to eudev-1.9 in feature support. I've got colord-1.2.1 compiled again eudev-1.7.
Yes, I understand that eudev has more features and is closer to systemd-udev than our current udev-182.

Maybe I don't get it right, but for the moment I do not see eudev as a real udev fork (where both projects start having different and divergent lifes), but more as a continuous effort to unbundle the udev part from systemd. This effort is cool, but I am afraid that the more the udev source becomes tighly tied to other systemd parts, the more difficult it will be to unbundle it. So I am not optimistic that the eudev project is sustainable. Though I would love to be proven wrong.
 
Old 08-24-2014, 07:53 PM   #90
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by ReaperX7 View Post
libudev.so.1 should be a symlink back to the main library libudev.so... unless something changed recently.
Try running a search for libudev and see what comes up. If the symlink is missing you may have to create it.
If you run such a search yourself on a stock Slackware system, you'll find that libudev.so.1 does not exist - just libudev.so as a symlink to libudev.so.0.XX.XX (depending on Slackware/udev version). Therefore, creating a libudev.so.1 symlink was one of the first things I tried but of course it was doomed to fail since, as I mentioned earlier, the library doesn't contain the necessary functions.

chris
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Softpedia Linux Weekly, Issue 216 LXer Syndicated Linux News 0 09-08-2012 09:33 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM
LXer: Device Profile: Glyph/MGI GPM-216 personal monitor LXer Syndicated Linux News 0 04-27-2006 04:33 PM
Know what domains are at : 216.92.134.50 varzosu Linux - Networking 1 09-24-2004 05:10 PM
Compiling kernel 2.216-22 with Redhat 7.0 ronballard Linux - General 2 02-20-2001 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration