View previous topic :: View next topic |
Author |
Message |
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1334 Location: sweden
|
Posted: Mon Oct 07, 2019 5:53 pm Post subject: systemd-udevd[461]: failed to execute |
|
|
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 |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Mon Oct 07, 2019 6:23 pm Post subject: |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Tue Oct 08, 2019 10:54 am Post subject: |
|
|
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 |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1334 Location: sweden
|
Posted: Tue Oct 08, 2019 4:14 pm Post subject: |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Wed Oct 09, 2019 11:27 am Post subject: |
|
|
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!
I suppose you have tried re-emerge elogind without success? |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3896 Location: Rasi, Finland
|
Posted: Wed Oct 09, 2019 1:21 pm Post subject: |
|
|
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 :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1334 Location: sweden
|
Posted: Wed Oct 09, 2019 3:47 pm Post subject: |
|
|
krinn
i did not mean to be rude .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 |
|
|
yuyuyak n00b
Joined: 23 Nov 2012 Posts: 61 Location: United States
|
Posted: Tue Dec 31, 2019 8:37 pm Post subject: |
|
|
Greetings Hedmo. I am still (for years) using standalone compiz desktop, thanks!
So I'm on Funtoo and I also have this same problem. I feel sure it's an issue with dracut because:
I got a new computer. Too lazy to mess with kernel at first, I used debian-sources the goto automated kernel build for Funtoo new users, etc. It's built with genkernel on emerge and genkernel creates the initramfs. None of the 3 kernels I used had a problem.
Now I'm a few weeks down the road, started compiling my own kernel. With debian-sources-5.4.6_p1 no issue. With vanilla-sources-5.4.6, very little change from debian-sources-5.4.6_p1 config to start (using as base), using dracut to generate initramfs suddenly there it is again. I maintain about 5-6 computers around here with Funtoo on them, all with dracut initramfs, all exhibit this same error. Works fine, just looks ugly on startup.
I'm on the hunt too, I think maybe dracut needs to put that elogind lib64 stuff in the initramfs, as krinn suggested. That's where I'm going to start. |
|
Back to top |
|
|
yuyuyak n00b
Joined: 23 Nov 2012 Posts: 61 Location: United States
|
Posted: Tue Dec 31, 2019 9:06 pm Post subject: |
|
|
That was it! Just added this to /etc/dracut.conf
Code: | install_items="/lib64/elogind/elogind-uaccess-command" |
Thanks to Hedmo and krinn |
|
Back to top |
|
|
NuLL3rr0r Tux's lil' helper
Joined: 13 Jul 2009 Posts: 96 Location: The Netherlands
|
Posted: Mon Jun 29, 2020 3:08 pm Post subject: |
|
|
yuyuyak wrote: | That was it! Just added this to /etc/dracut.conf
Code: | install_items="/lib64/elogind/elogind-uaccess-command" |
Thanks to Hedmo and krinn |
I believe I am facing the same issue. I am not using Dracut but fearedbliss/bliss-initramfs. Here is my kernel build command:
Code: |
cd /usr/src/linux/ \
&& eclean-kernel -n 2 && eclean-dist && eclean-pkg \
&& CCACHE_DIR="/var/cache/ccache" PATH="/usr/lib/ccache/bin:${PATH}" make -j9 \
&& CCACHE_DIR="/var/cache/ccache" PATH="/usr/lib/ccache/bin:${PATH}" make -j9 modules \
&& CCACHE_DIR="/var/cache/ccache" PATH="/usr/lib/ccache/bin:${PATH}" make modules_install \
&& CCACHE_DIR="/var/cache/ccache" PATH="/usr/lib/ccache/bin:${PATH}" make install \
&& CCACHE_DIR="/var/cache/ccache" PATH="/usr/lib/ccache/bin:${PATH}" make headers_install \
&& emerge --oneshot @module-rebuild \
&& bliss-initramfs zfs `git describe --tags | perl -pe '($_)=/([0-9]+([.][0-9]+)+)/'` \
&& cp -v initrd-`git describe --tags | perl -pe '($_)=/([0-9]+([.][0-9]+)+)/'` /boot/initrd
|
How can I add /lib64/elogind/elogind-uaccess-command to bliss-initramfs?
Last edited by NuLL3rr0r on Mon Jun 29, 2020 6:27 pm; edited 1 time in total |
|
Back to top |
|
|
NuLL3rr0r Tux's lil' helper
Joined: 13 Jul 2009 Posts: 96 Location: The Netherlands
|
|
Back to top |
|
|
|