Summary: | gnome-base/gdm-43.0 61-gdm.rules wrongly assumes location of systemd's system-sleep dir and disables wayland on nvidia due to not finding a file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Scheiblauer <tom> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | anton.gubarkov, ionen, soap |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=873160 https://bugs.gentoo.org/show_bug.cgi?id=873172 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | changes gdm's udev rules to match systemd's path on gentoo |
Description
Thomas Scheiblauer
2022-09-27 08:57:41 UTC
Think this should be fixed from nvidia's end to install in /usr/lib given systemd is moving toward merged-usr (aka doesn't use /lib). I'll have a look soon. That aside, testing for that file to enable/disable wayland is a bit odd. It has no relation to wayland and installing this could even be optional (cc gdm for awareness) (In reply to Ionen Wolkens from comment #1) > That aside, testing for that file to enable/disable wayland is a bit odd. It > has no relation to wayland and installing this could even be optional (cc > gdm for awareness) On a side-note, this is new in gdm-43, 42 didn't do this. Hrm, upon closer look I don't think I should move this file at the moment given it's correct. $ pkg-config systemd --variable=systemd_sleep_dir /lib/systemd/system-sleep I could probably make it use pkg-config to futureproof the right location, but it doesn't help anything with gdm unless it's a merged-usr system. I think this need to be fixed in gdm after all. As I mentioned, checking for this file doesn't really make sense in the first place. Created attachment 815953 [details, diff]
changes gdm's udev rules to match systemd's path on gentoo
Like this? Or is that path actually configurable?
Maybe we should sed the location following split-usr USE flag. Like that, the setting will also be updated in the future when split-usr is going to be disabled in the future due to systemd dropping its support in the second half of 2023 (In reply to Pacho Ramos from comment #5) > Maybe we should sed the location following split-usr USE flag. Like that, > the setting will also be updated in the future when split-usr is going to be > disabled in the future due to systemd dropping its support in the second > half of 2023 And regarding if gdm should or not check for that file... well... that would be more like an upstream issue I think :/, I am also unsure about what they could do as an alternative to ensure the setup is ready to enable wayland (In reply to Pacho Ramos from comment #5) > Maybe we should sed the location following split-usr USE flag. Like that, > the setting will also be updated in the future when split-usr is going to be > disabled in the future due to systemd dropping its support in the second > half of 2023 As the /lib -> /usr/lib symlink will be there, we wouldn't be need to rely on the USE flag and simply rely on systemd_get_sleepdir getting updated in the future :) |