Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Announce: just another one udev fork
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3 ... 12, 13, 14  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
consus
n00b
n00b


Joined: 27 Aug 2012
Posts: 38

PostPosted: Mon Aug 27, 2012 10:55 am    Post subject: Announce: just another one udev fork Reply with quote

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.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Mon Aug 27, 2012 5:44 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
consus
n00b
n00b


Joined: 27 Aug 2012
Posts: 38

PostPosted: Mon Aug 27, 2012 5:55 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Mon Aug 27, 2012 6:13 pm    Post subject: Reply with quote

Sounds good anyway!
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Mon Aug 27, 2012 6:31 pm    Post subject: Reply with quote

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 udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Mon Aug 27, 2012 7:03 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
grey_dot
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2012
Posts: 142

PostPosted: Mon Aug 27, 2012 7:35 pm    Post subject: Reply with quote

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.

Quote:
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.
Back to top
View user's profile Send private message
consus
n00b
n00b


Joined: 27 Aug 2012
Posts: 38

PostPosted: Mon Aug 27, 2012 7:50 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Mon Aug 27, 2012 8:07 pm    Post subject: Reply with quote

I'm all for it.

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

@mv: do you have a link? :)
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1118
Location: Rep. of Ireland

PostPosted: Mon Aug 27, 2012 9:26 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Aug 27, 2012 11:03 pm    Post subject: Reply with quote

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

Good luck with the project, sounds like people like it already.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Aug 27, 2012 11:07 pm    Post subject: Reply with quote

Like is understatement, try love. ;)
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Aug 28, 2012 12:48 am    Post subject: Re: Announce: just another one udev fork Reply with quote

consus wrote:
bugreports

I'm running it now :)

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

Code:
./src/udevd.c:        print_kmsg("starting version" VERSION "\n");
Back to top
View user's profile Send private message
grey_dot
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2012
Posts: 142

PostPosted: Tue Aug 28, 2012 5:31 am    Post subject: Re: Announce: just another one udev fork Reply with quote

PaulBredbury wrote:

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

Code:
./src/udevd.c:        print_kmsg("starting version" VERSION "\n");


Thanks, fixed now %)
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Aug 28, 2012 5:56 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Tue Aug 28, 2012 6:23 am    Post subject: Reply with quote

Apparently he said this:
Quote:
(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.)
Back to top
View user's profile Send private message
grey_dot
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2012
Posts: 142

PostPosted: Tue Aug 28, 2012 7:10 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Tue Aug 28, 2012 7:15 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Tue Aug 28, 2012 10:35 am    Post subject: Re: Announce: just another one udev fork Reply with quote

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:
# 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.
Back to top
View user's profile Send private message
grey_dot
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2012
Posts: 142

PostPosted: Tue Aug 28, 2012 11:35 am    Post subject: Re: Announce: just another one udev fork Reply with quote

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.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Tue Aug 28, 2012 1:55 pm    Post subject: Re: Announce: just another one udev fork Reply with quote

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
Back to top
View user's profile Send private message
McGruff
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2004
Posts: 148

PostPosted: Tue Aug 28, 2012 6:32 pm    Post subject: Reply with quote

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


"betterdev"

"udeviant"
Back to top
View user's profile Send private message
sitquietly
Tux's lil' helper
Tux's lil' helper


Joined: 23 Oct 2010
Posts: 143
Location: On the Wolf River, Tennessee

PostPosted: Tue Aug 28, 2012 9:55 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Tue Aug 28, 2012 10:45 pm    Post subject: Reply with quote

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.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Tue Aug 28, 2012 10:55 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2, 3 ... 12, 13, 14  Next
Page 1 of 14

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum