Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd-udevd[461]: failed to execute
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
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 950
Location: halmstad

PostPosted: Mon Oct 07, 2019 5:53 pm    Post subject: systemd-udevd[461]: failed to execute Reply with quote

hi all
After a kernel update i have got an error:

Code:


hedmo@mya51 ~ $ dmesg
[    2.282284] systemd-udevd[523]: failed to execute '/lib64/elogind/elogind-uaccess-command' '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 ': No such file or directory
hedmo@mya51 ~ $


and

Code:


hedmo@mya51 ~ $ ls  /dev/dri/
by-path  card0  card1  renderD128  renderD129
hedmo@mya51 ~ $



regards hedmo
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1577
Location: Frankfurt, Germany

PostPosted: Mon Oct 07, 2019 6:23 pm    Post subject: Reply with quote

I'm surprised that the message contains a reference to elogind al well as to systemd.

Are BOTH systemd and elogind installed on your machine?

If that's the case: please check your configuration and remove one of them.

If only elogind is installed: where does the systemd-udevd message come from?

If only systemd is installed: where does the command '/lib64/elogind/elogind-uaccess-command' come from?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7170

PostPosted: Tue Oct 08, 2019 10:54 am    Post subject: Reply with quote

mike155 wrote:
If only elogind is installed: where does the systemd-udevd message come from?

when systemd has eaten udev, udev was rename systemd-udev

i think the actual problem might be logind is missing and it is looking for that, and the message is confusing because you think /dev/dri/card0 was missing, while i read it as
*i'm udev and i cannot execute that command '/lib64/elogind/elogind-uaccess-command'
*the full given command to udev was '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 '
*the error is 'No such file or directory '

but if elogind-uaccess-command was good and /dev/dri/card0 was missing, you would probably had an error from elogind-uaccess-command rather than udevd

Oh well, just don't ask me how you end up like that!
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 950
Location: halmstad

PostPosted: Tue Oct 08, 2019 4:14 pm    Post subject: Reply with quote

krinn wrote:
mike155 wrote:
If only elogind is installed: where does the systemd-udevd message come from?

when systemd has eaten udev, udev was rename systemd-udev

i think the actual problem might be logind is missing and it is looking for that, and the message is confusing because you think /dev/dri/card0 was missing, while i read it as
*i'm udev and i cannot execute that command '/lib64/elogind/elogind-uaccess-command'
*the full given command to udev was '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 '
*the error is 'No such file or directory '

but if elogind-uaccess-command was good and /dev/dri/card0 was missing, you would probably had an error from elogind-uaccess-command rather than udevd

Oh well, just don't ask me how you end up like that!


mike155

i am using elogind with openrc only as https://wiki.gentoo.org/wiki/Elogind

krinn

this happend after a kernel update from git-sources-5.3.0-rc8 to gentoo-sources-5.3.4

my commands is:

Code:


cd /usr/src/linux && make oldconfig && pump make -j41 CC="distcc gcc" && make modules_install && make install && dracut --force '' 5.3.4-gentoo-x86_64 && grub-mkconfig -o /boot/grub/grub.cfg
 


regards hedmo
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7170

PostPosted: Wed Oct 09, 2019 11:27 am    Post subject: Reply with quote

hedmo wrote:
krinn

this happend after a kernel update from git-sources-5.3.0-rc8 to gentoo-sources-5.3.4

I get this from start as you said After a kernel update i have got an error: , however i doubt a kernel upgrade would delete some elogind files
I don't use elogind myself, so i have no idea at all about anything for elogind.

So, as i still (yeah i'm bullhead) doubt a kernel would remove a file from a package, and as i know nothing about elogind, my conclusion remains : Oh well, just don't ask me how you end up like that! :D
I suppose you have tried re-emerge elogind without success?
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1562
Location: KUUSANKOSKI, Finland

PostPosted: Wed Oct 09, 2019 1:21 pm    Post subject: Reply with quote

There's something wrong...

You most likely have sys-fs/udev installed and for some reason it cannot run some elogind stuff it is told to run at some point.

I'd consider replacing sys-fs/udev with sys-fs/eudev.

Check which udev you have installed.
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 950
Location: halmstad

PostPosted: Wed Oct 09, 2019 3:47 pm    Post subject: Reply with quote

krinn

i did not mean to be rude :oops: .the kernel update has not removed any file or some thing like that:

Code:

hedmo@mya51 ~ $ dmesg | grep systemd-udevd
[    1.663585] systemd-udevd[299]: starting version 3.2.8
[    1.663668] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.663680] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    1.663685] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.163088] systemd-udevd[453]: failed to execute '/lib64/elogind/elogind-uaccess-command' '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 ': No such file or directory
[    2.163701] systemd-udevd[454]: failed to execute '/lib64/elogind/elogind-uaccess-command' '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 ': No such file or directory
[    2.164338] systemd-udevd[455]: failed to execute '/lib64/elogind/elogind-uaccess-command' '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 ': No such file or directory
[    2.164813] systemd-udevd[457]: failed to execute '/lib64/elogind/elogind-uaccess-command' '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 ': No such file or directory
[    2.165333] systemd-udevd[458]: failed to execute '/lib64/elogind/elogind-uaccess-command' '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 ': No such file or directory
[    2.165711] systemd-udevd[459]: failed to execute '/lib64/elogind/elogind-uaccess-command' '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 ': No such file or directory
[    2.288050] systemd-udevd[521]: failed to execute '/lib64/elogind/elogind-uaccess-command' '/lib64/elogind/elogind-uaccess-command /dev/dri/card0 ': No such file or directory
hedmo@mya51 ~ $ ls /lib64/elogind
elogind                elogind-uaccess-command     system-shutdown
elogind-cgroups-agent  libelogind-shared-241.3.so  system-sleep
hedmo@mya51 ~ $ ls /dev/dri
by-path  card0  card1  renderD128  renderD129
hedmo@mya51 ~ $


why i am saying it is a kernel update issue is because if i boot my 5.3.0-rc8 i do not have this error.may be a dracut issue.i dont know an need help with it.

Zucca

i am using eudev.

Code:


hedmo@mya51 ~ $ emerge -pv udev

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] virtual/udev-217::gentoo  USE="-systemd" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
hedmo@mya51 ~ $ emerge -pv eudev

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-fs/eudev-3.2.8::gentoo  USE="hwdb introspection kmod -rule-generator (-selinux) -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
hedmo@mya51 ~ $ emerge -pv sys-fs/udev

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] acct-group/kmem-0::gentoo  0 KiB
[ebuild  N     ] acct-group/tty-0::gentoo  0 KiB
[ebuild  N     ] acct-group/audio-0::gentoo  0 KiB
[ebuild  N     ] acct-group/cdrom-0::gentoo  0 KiB
[ebuild  N     ] acct-group/dialout-0::gentoo  0 KiB
[ebuild  N     ] acct-group/disk-0::gentoo  0 KiB
[ebuild  N     ] acct-group/tape-0::gentoo  0 KiB
[ebuild  N     ] acct-group/video-0::gentoo  0 KiB
[ebuild  N     ] sys-fs/udev-242::gentoo  USE="acl kmod (-selinux)" ABI_X86="32 (64) (-x32)" 7648 KiB
[uninstall     ] sys-fs/eudev-3.2.8::gentoo  USE="hwdb introspection kmod -rule-generator (-selinux) -static-libs -test" ABI_X86="32 (64) (-x32)"
[blocks b      ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-3.2.8)

Total: 9 packages (9 new, 1 uninstall), Size of downloads: 7648 KiB
Conflict: 1 block
hedmo@mya51 ~ $


regards hedmo
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