Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev -> eudev migration => udev don't start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
OndraK
n00b
n00b


Joined: 28 Dec 2013
Posts: 3

PostPosted: Sat Dec 28, 2013 3:06 pm    Post subject: udev -> eudev migration => udev don't start Reply with quote

Hi, I tried to migrate to eudev, using paludis-1.4.2-r1 (using cave resolve --favour sys-fs/eudev --with virtual/udev --permit-uninstall sys-fs/udev world). Installation ran without errors, but when I restarted udev (/etc/init.d/udev --nodeps restart), I got error:
Code:
 * Stopping udev ...
udevadm: /lib/libudev.so.1: version `LIBUDEV_internal' not found (required by udevadm)
 * Failed to stop udev using udevadm                                                                              [ !! ]
 * Trying with start-stop-daemon ...                                                                              [ ok ]
 * Starting udev ...
/sbin/udevd: /lib/libudev.so.1: version `LIBUDEV_internal' not found (required by /sbin/udevd)
 * start-stop-daemon: failed to start `/sbin/udevd'
 * Failed to start udev

sys-fs/eudev and sys-fs/udev configuration (default ones, I didn't changed flags):
Code:
sys-fs/eudev-1.3.0:0
USE="-doc gudev hwdb introspection -keymap -kmod modutils openrc rule-generator -static-libs"

sys-fs/udev-204:0
USE="acl -doc firmware-loader gudev hwdb introspection -keymap kmod openrc -static-libs"

Cave fix-linkage (fixing broken library linkage) did not found any broken executables nor libs.
Returning to udev is a (kind of) resolution to this problem, at least udev is working. Are there any special steps required for using eudev, or is there a mistake between my chair and keyboard?

Thank you for any help.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Dec 28, 2013 8:08 pm    Post subject: Reply with quote

Sounds like you're trying to use old systemd's udevadm to stop new eudev's udevd.

I recommend a simpler, better method to stop the old udevd:
Code:
killall udevd

_________________
Improve your font rendering and ALSA sound
Back to top
View user's profile Send private message
OndraK
n00b
n00b


Joined: 28 Dec 2013
Posts: 3

PostPosted: Sat Dec 28, 2013 9:24 pm    Post subject: Reply with quote

No, the problem persists.. Maybe there were some clashes between old and new udev and their libs, but the new eudev does not start (same error as previously, LIBUDEV_internal not found)
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Dec 28, 2013 9:34 pm    Post subject: Re: udev -> eudev migration => udev don't start Reply with quote

OndraK wrote:
/lib/libudev.so.1

I'm guessing a bit (I use eudev but not Gentoo) - check the datestamp of that file, perhaps it's a stale file which should be deleted.

The ebuild suggests that it would be in /usr/lib/, which is where I have it.

Code:
--libdir=/usr/$(get_libdir)
Back to top
View user's profile Send private message
OndraK
n00b
n00b


Joined: 28 Dec 2013
Posts: 3

PostPosted: Sat Dec 28, 2013 9:50 pm    Post subject: Reply with quote

PaulBredbury, thank you a lot, you are right! I forget that paludis does not overwrite files installed by another package, and the /lib/libudev.so.1 symlink (created by sys-fs/udev) pointed to the original udev lib, not to new eudev one :) Now udev works, I am going to find old and obsolete libs on my system (there might be some). Maybe I should have uninstalled udev first, and then install eudev and thus avoid this file clash...
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
Page 1 of 1

 
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