Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765793 - udev-trigger added to sysinit but not started
Summary: udev-trigger added to sysinit but not started
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-17 19:47 UTC by Henrik Johansson
Modified: 2021-03-19 10:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Johansson 2021-01-17 19:47:51 UTC
I need to manually start udev-trigger every time i boot my Gentoo system for any mouse or keyboard to be detected by xorg. The script is added to the sysinit runlevel but not started on boot and I can't see any error messages when booting. 

$ 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]

$ rc-update add /etc/init.d/udev-trigger sysinit
 * rc-update: /etc/init.d/udev-trigger already installed in runlevel `sysinit'; skipping

Since rc-config shows that udev-trigger is added to the runlevel I would expect it to start automatically but it doesn't seem to do that.
Comment 1 Jonas Stein gentoo-dev 2021-01-19 23:43:58 UTC
which package do you think causes the problem?
Comment 2 Henrik Johansson 2021-01-20 19:08:28 UTC
I don't have an idea of what might cause this behavior. There are, as far as I can see, no errors when I boot. But I'd be happy to help out and troubleshoot if someone can point me in the right direction.
Comment 3 Jonas Stein gentoo-dev 2021-02-13 14:47:36 UTC
I see. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/
Comment 4 Ionen Wolkens gentoo-dev 2021-03-19 10:32:59 UTC
In case anyone come here with same issue, this was apparently caused by /run having wrong permissions (should be 0755, not like /tmp's 1777).

If in doubt, just don't set an fstab line for /run as most init systems handle it themselves.