Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev-trigger added to sysinit but not started
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 369

PostPosted: Wed Jan 06, 2021 10:50 am    Post subject: udev-trigger added to sysinit but not started Reply with quote

I recently upgraded the kernel in my Gentoo system. Running xorg I had no mouse or keyboard until i noticed that udev-trigger didn't start on boot and that starting it manually solved the problem. Here's what I don't understand; udev-trigger seem to be added to sysinit but does not start.

Code:
$ rc-config show all

[...]

Status of init scripts in runlevel "sysinit"
  cgroups                   [stopped]
  devfs                     [started]
  dmesg                     [stopped]
  kmod-static-nodes         [stopped]
  opentmpfiles-dev          [stopped]
  sysfs                     [started]
  udev                      [started]
  udev-trigger              [stopped]


Code:
$ sudo rc-update add udev-trigger sysinit
Password:
 * rc-update: udev-trigger already installed in runlevel `sysinit'; skipping


Enabling debugging in /etc/rc.conf did not give any helpful output on udev-trigger.

Code:
rc_logger="YES"
rc_log_path="/var/log/rc.log"
rc_verbose=yes


How do I get udev-trigger to start on boot automatically when it already seems to be added to the sysinit runlevel but does running after booting up the system?
Back to top
View user's profile Send private message
alamahant
l33t
l33t


Joined: 23 Mar 2019
Posts: 807

PostPosted: Wed Jan 06, 2021 11:19 am    Post subject: Reply with quote

Hi
if you use
sys-kernel/gentoo-sources
maybe add
Code:

CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
CONFIG_GENTOO_LINUX_PORTAGE=y
CONFIG_GENTOO_LINUX_INIT_SCRIPT=y

to kernel .config and recompile.
Maybe it will solve the issue...
_________________
:)
Back to top
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 369

PostPosted: Wed Jan 06, 2021 11:49 am    Post subject: Reply with quote

Thanks for your reply alamahant!

These are already set in my current kernel. Do you think CONFIG_GENTOO_LINUX_INIT_SYSTEMD could make any difference?

Code:
$ grep GENTOO_LINUX .config
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
CONFIG_GENTOO_LINUX_PORTAGE=y
CONFIG_GENTOO_LINUX_INIT_SCRIPT=y
# CONFIG_GENTOO_LINUX_INIT_SYSTEMD is not set
Back to top
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 369

PostPosted: Sun Jan 10, 2021 8:26 pm    Post subject: Reply with quote

Any other ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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