Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Announce: just another one udev fork

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
344 posts
  • Page 1 of 14
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 14
  • Next
Author
Message
consus
n00b
n00b
Posts: 38
Joined: Mon Aug 27, 2012 10:21 am

Announce: just another one udev fork

  • Quote

Post by consus » Mon Aug 27, 2012 10:55 am

Hello. I want to announce new udev fork (link). Not far ago we decided to make a standalone version, because of recent changes in project (udev <-> systemd integration) based on udev-182 and now we have backported all valuable patches from upstream udev's git (up to 10 august).

Main advantages (compared to mainstream) are:
  • separate /usr works just fine
  • we will not drop useful features like unix-socket support
  • we will not try to integrate with any init system, so if you want to use sysV-init you can do it without any hacks
Ebuild and patches for udev-initscripts can be found at "Downloads" page.
If anyone else is interested in this project bugreports, patches and other help are appreciated.
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Mon Aug 27, 2012 5:44 pm

Sounds pretty interesting indeed. Just one question: how can we deal with packages that depend directly upon systemd? Is it possible to have an abstraction layer to those packages that would proxy systemd calls to the appropriate packages? I'm really curious.
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
consus
n00b
n00b
Posts: 38
Joined: Mon Aug 27, 2012 10:21 am

  • Quote

Post by consus » Mon Aug 27, 2012 5:55 pm

We are not planning to write such abstraction layer by ourselves, but if someone will send us patches that won't break anything -- why not?
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Mon Aug 27, 2012 6:13 pm

Sounds good anyway!
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
Fitzcarraldo
Advocate
Advocate
User avatar
Posts: 2057
Joined: Sat Aug 30, 2008 9:49 pm
Location: United Kingdom
Contact:
Contact Fitzcarraldo
Website

  • Quote

Post by Fitzcarraldo » Mon Aug 27, 2012 6:31 pm

As I understand it, the Gentoo developers have committed to keeping OpenRC and not adopting systemd. If my understanding is correct, would it be better for the Gentoo developers to use this udev fork rather than the official udev which was merged into systemd in April?
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Mon Aug 27, 2012 7:03 pm

This is really the best news since sliced bread. :D
I was hoping for this since Lennart admitted that the originally claimed reasons for the merge were just marketing lies with the actual purpose to force users into systemd (which was of course not a surprising opening; only surprise was that Lennart admitted it in a sense.)
So far, I was able to dump systemd and all the *kit stuff from my systems, but I was afraid that udev could be the serious obstacle, because mdev is really only a poor man's replacement for udev, not really suitable for desktops.
Fitzcarraldo wrote:for the Gentoo developers to use this udev fork rather than the official udev which was merged into systemd in April?
I hope that they will make at least a virtual: There were already discussed plans for a virtual, but rejected because with actually only one upstream (at that time) it made no sense. Probably now they should change their mind.
For marketing reasons, it appears a bit unfortunate to me that the fork keeps the same name as original udev (but maybe this is necessary due to the license?) - maybe at least something like udev-ng or udev-standalone might be allowed?
Top
grey_dot
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Sun Jul 15, 2012 2:25 pm

  • Quote

Post by grey_dot » Mon Aug 27, 2012 7:35 pm

VinzC wrote:Sounds pretty interesting indeed. Just one question: how can we deal with packages that depend directly upon systemd? Is it possible to have an abstraction layer to those packages that would proxy systemd calls to the appropriate packages? I'm really curious.
As far as I know there are no packages depending on systemd except for those from the systemd framework (upstream udev, logind, journald, etc). Some of them might possibly be used without systemd running, though I doubt it.
For marketing reasons, it appears a bit unfortunate to me that the fork keeps the same name as original udev (but maybe this is necessary due to the license?) - maybe at least something like udev-ng or udev-standalone might be allowed?
Yeah, we already gave that a thought. I think udev-standalone would be nice.
Top
consus
n00b
n00b
Posts: 38
Joined: Mon Aug 27, 2012 10:21 am

  • Quote

Post by consus » Mon Aug 27, 2012 7:50 pm

About naming: we are thinking about udev-standalone too, just haven't got any time to rename it -- there are a lot of commits between 182 and 189 and not all of them were good enough :) It gonna be fixed soon.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Mon Aug 27, 2012 8:07 pm

I'm all for it.

we should have a poll on the name. what about 'moodev'?

@mv: do you have a link? :)
Top
aidanjt
Veteran
Veteran
User avatar
Posts: 1118
Joined: Sun Feb 20, 2005 2:44 pm
Location: Rep. of Ireland

  • Quote

Post by aidanjt » Mon Aug 27, 2012 9:26 pm

grey_dot wrote:As far as I know there are no packages depending on systemd except for those from the systemd framework (upstream udev, logind, journald, etc). Some of them might possibly be used without systemd running, though I doubt it.
That'll probably change as Poettering uses his Red Hat clout to contaminate other open source projects. All his crap has ruined Linux, though, and I'd see all his crap booted out of the ecosystem.
juniper wrote:you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault.
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Mon Aug 27, 2012 11:03 pm

I had a name ready in the event something like this happened: µdev.

Good luck with the project, sounds like people like it already.
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Mon Aug 27, 2012 11:07 pm

Like is understatement, try love. ;)
My Gentoo installation notes.
Please learn how to denote units correctly!
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

Re: Announce: just another one udev fork

  • Quote

Post by PaulBredbury » Tue Aug 28, 2012 12:48 am

consus wrote:bugreports
I'm running it now :)

Not exactly a huge issue - this is missing a space:

Code: Select all

./src/udevd.c:        print_kmsg("starting version" VERSION "\n");
Top
grey_dot
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Sun Jul 15, 2012 2:25 pm

Re: Announce: just another one udev fork

  • Quote

Post by grey_dot » Tue Aug 28, 2012 5:31 am

PaulBredbury wrote: Not exactly a huge issue - this is missing a space:

Code: Select all

./src/udevd.c:        print_kmsg("starting version" VERSION "\n");
Thanks, fixed now %)
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Tue Aug 28, 2012 5:56 am

mv wrote: I was hoping for this since Lennart admitted that the originally claimed reasons for the merge were just marketing lies with the actual purpose to force users into systemd (which was of course not a surprising opening; only surprise was that Lennart admitted it in a sense.)
link?
aidanjt wrote: That'll probably change as Poettering uses his Red Hat clout to contaminate other open source projects. All his crap has ruined Linux, though, and I'd see all his crap booted out of the ecosystem.
yep. ++ times a million

anecdotally, this disease has been so virulent and toxic I've gone back from a "modern" DE, to plain ole fluxbox. Doubt they'll be fucking that one up any time soon. I don't care how much of a pain it is, I'll go back to static /dev if I have to. That faildesktop/Gnome can hijack the entirety of linux is infuriating to the point it's completely killed any enthusiasm I might have had for contributing. I just use linux now, and no longer expect to enjoy myself doing so.
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Tue Aug 28, 2012 6:23 am

Apparently he said this:
(Yes, udev on non-systemd systems is in our eyes a dead end, in case you haven't noticed it yet. I am looking forward to the day when we can drop that support entirely.)
Top
grey_dot
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Sun Jul 15, 2012 2:25 pm

  • Quote

Post by grey_dot » Tue Aug 28, 2012 7:10 am

aidanjt wrote:That'll probably change as Poettering uses his Red Hat clout to contaminate other open source projects. All his crap has ruined Linux, though, and I'd see all his crap booted out of the ecosystem.
Mister Poettering is not a disease, he's merely a painful symptom like reactive diarrhea or something. The disease itself started a long time ago, when people started using quite useful and powerful things outside of the area of their applicability. Take a look at Bluez spoiled with dbus as an example of this. But this is not the subject of this thread.

P.S. By the way, there had been even more retarted attempts to get everything FUBAR. Back those days when DBus was not started GNOME had been using ORBit (CORBA implementation), which was attempted to be ported inside the linux kernel. Luckily, that attempt failed.
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Tue Aug 28, 2012 7:15 am

cach0rr0 wrote:That faildesktop/Gnome can hijack the entirety of linux is infuriating to the point it's completely killed any enthusiasm I might have had for contributing. I just use linux now, and no longer expect to enjoy myself doing so.
I don't want to bother you but it's the exact opposite that should be done. If you can contribute to your favourite branch then you'd probably work at making that other side better and more attractive. Giving up before the unwanted is making it the only one rising. Maybe your contributions will greatly help, don't you think?
Lennart Poettering @ http://lists.freedesktop.org/archives/systemd-devel/2012-August/006066.html wrote:(Yes, udev on non-systemd systems is in our eyes a dead end, in case you haven't noticed it yet. I am looking forward to the day when we can drop that support entirely.)
I'd be glad to be explained in details and understand why it would be a dead end [on non-systemd systems]. Indeed. My opinion is udev is somewhat cluttered and that rules system looks like a horrible spaghetti mess (though I love pasta). But it just needs some cleansing or rework, that's it.

What also pisses me off somehow is Gnome stuff ruling the rest of the system packages. *That* I really don't like. In the end, what will mostly distinguish distributions is only their package manager. One systemd to rule them all... just as if there were only one way to boot a machine, run services and manage hardware devices.
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

Re: Announce: just another one udev fork

  • Quote

Post by khayyam » Tue Aug 28, 2012 10:35 am

consus wrote:Ebuild and patches for udev-initscripts can be found at "Downloads" page. If anyone else is interested in this project bugreports, patches and other help are appreciated.
consus ...

here is a sys-fs/udev-init-scripts ebuild with the neccessary inclusions for the conf and init.d patches. Its untested as I have't as yet built 'udev-standalone', but the patches are applied, so it should work as expected.

udev-init-scripts-16.ebuild

Code: Select all

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit eutils

if [ "${PV}" = "9999" ]; then
	EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/udev-gentoo-scripts.git"
	inherit git-2
fi

DESCRIPTION="udev startup scripts for openrc"
HOMEPAGE="http://www.gentoo.org"

LICENSE="GPL-2"
SLOT="0"
IUSE=""

if [ "${PV}" != "9999" ]; then
	SRC_URI="mirror://gentoo/${P}.tar.bz2"
	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
fi

RESTRICT="test"

DEPEND=""
RDEPEND=">=sys-fs/udev-187
	sys-apps/openrc
	!<sys-fs/udev-186"

src_prepare() {
	epatch "${FILESDIR}"/udev-conf.diff || die "patch failed"
	epatch "${FILESDIR}"/udev-init.diff || die "patch failed"
}

pkg_postinst()
{
	# If we are building stages, add udev to the sysinit runlevel automatically.
	if use build
	then
		if [[ -x "${ROOT}"/etc/init.d/udev \
			&& -d "${ROOT}"/etc/runlevels/sysinit ]]
		then
			ln -s /etc/init.d/udev "${ROOT}"/etc/runlevels/sysinit/udev
		fi
	fi

	# migration to >=openrc-0.4
	if [[ -e "${ROOT}"/etc/runlevels/sysinit \
		&& ! -e "${ROOT}"/etc/runlevels/sysinit/udev ]]
	then
		ewarn
		ewarn "You need to add the udev init script to the runlevel sysinit,"
		ewarn "otherwise your system will not be able to boot"
		ewarn "after updating to >=openrc-0.4.0"
		ewarn "Run this to enable udev for >=openrc-0.4.0:"
		ewarn "\trc-update add udev sysinit"
		ewarn
	fi

	ewarn "The udev-postmount service has been removed because the reasons for"
	ewarn "its existance have been removed upstream."
	ewarn "Please remove it from your runlevels."
}
best ... khay

EDIT: for me the sys-fs/udev-9999 provided fails with automake: automake-1.11: cannot open < gtk-doc.make: No such file or directory. USE="-doc" is currently set.
Top
grey_dot
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Sun Jul 15, 2012 2:25 pm

Re: Announce: just another one udev fork

  • Quote

Post by grey_dot » Tue Aug 28, 2012 11:35 am

khayyam wrote:EDIT: for me the sys-fs/udev-9999 provided fails with automake: automake-1.11: cannot open < gtk-doc.make: No such file or directory. USE="-doc" is currently set.
As for now, udev needs gtkdocize from gtk-doc to be run before autoconf/automake, so you have to install gtk-doc. We are working on this issue, and gtk-doc will be optional in the near future.
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

Re: Announce: just another one udev fork

  • Quote

Post by khayyam » Tue Aug 28, 2012 1:55 pm

grey_dot wrote:As for now, udev needs gtkdocize from gtk-doc to be run before autoconf/automake, so you have to install gtk-doc. We are working on this issue, and gtk-doc will be optional in the near future.
grey_dot ...

OK, in which case I'll hold off until that time. I did take a quick look at sys-fs/udev-9999::gentoo which likewise has USE="doc", but I don't have the time right now to see what might be required to have it work without having the kitchen sink installed, seems they are just echoing 'EXTRA_DIST =' into ("${WORKDIR}/systemd-${PV}") docs/gtk-doc.make if USE="-doc" is set, and then running elibtoolize.

best ... khay
Top
McGruff
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Tue Dec 28, 2004 12:15 am

  • Quote

Post by McGruff » Tue Aug 28, 2012 6:32 pm

genstorm wrote:we should have a poll on the name. what about 'moodev'?
"betterdev"

"udeviant"
Top
sitquietly
Apprentice
Apprentice
User avatar
Posts: 153
Joined: Sat Oct 23, 2010 9:20 pm
Location: On the Wolf River, Tennessee

  • Quote

Post by sitquietly » Tue Aug 28, 2012 9:55 pm

mcgruff wrote:
genstorm wrote:we should have a poll on the name. what about 'moodev'?
"betterdev"

"udeviant"
udder (UDev DERivative) ?

I'm so glad to see support for a unix-style startup system and will be switching to udev-standalone, or udder, as soon as possible. systemd is infecting Archlinux, which brought me here to enjoy better engineering with openrc and udev. With a Debian 3.2 kernel compiled with real-time patches and without any initrd my Gentoo bootup takes about half the time of my mostly identical Archlinux system.
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Tue Aug 28, 2012 10:45 pm

Nothing to add at the moment as I'm at udev-171 and wasn't planning to upgrade to anything hooked into systemd.

Having said that, I'm glad to see someone step up and "scratch an itch".
This is how unix has worked all along. Kudos.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
GFCCAE6xF
Apprentice
Apprentice
Posts: 295
Joined: Mon Aug 06, 2012 7:44 am

  • Quote

Post by GFCCAE6xF » Tue Aug 28, 2012 10:55 pm

Very nice! I've been reading up on mdev and thinking about trying it out - I may just try this out soon instead 8)

@sitquietly
If you are who I think you are, welcome, have you finally left the makeworld manipulation behind too? :P
Top
Post Reply

344 posts
  • Page 1 of 14
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 14
  • Next

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic