-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] intel_backlight is broken #247
Comments
Looks like this is coreos/fedora-coreos-tracker#488 that was supposed to be resolved in ostree-2020.3-4 - @jlebon @dustymabe any idea ? |
Not sure what's going on there. Do you have a separate partition for Actually, just the full journal for the boot would be helpful. |
I don't have a separate partition for /var, actually I used the default Fedora partitioning for an ancrypted install
How can I provide you this? |
Dne út 22. 3. 2022 18:55 uživatel Manuel Quarneti ***@***.***>
napsal:
Actually, just the full journal for the boot would be helpful.
How can I provide you this?
Attach the output of `journalctl -b` here.
… |
Hi, I've hit the same issue on a different PC that I installed Silverblue on a few days ago. It seems to me that /var/lib is r/o during system startup, or at least when the backlight systemd service tries to create the directories in it. sudo mkdir -p /var/lib/systemd/backlight The next time you reboot you will see the services no longer fail and start as expected. You can then change the screen brightness and the setting will be saved/restored as expected. EDIT: Also note this doesn't only affect |
This seems resolved as of fedora 36 |
Thank you @mq1 ! Let us know if it shows up again. |
Happening for me right now on Fedora 36:
systemctl status:
And logs from around that time:
Those were asked above, so sending as well:
Actually, looking at my logs, it looks like /var is mounted first as read only, which is probably why it's given a go to systemd-backlight to run. Problem is, the ostree-remount.service is delayed by the need of doing an fsck on my disk, so systemd-backlight ran before /var was remounted as rw. I believe the problem here is not that ostree-remount.service is running at the wrong time (it most likely shouldn't run before the fsck), but that systemd-backlight should wait for it to run for ostree-remount.service to run first. If it's really due to fsck, this might explain why the problem might appear fixed, as your system will likely not run a fsck every time. For reference, this is my ostree-remount.service right now:
Probably every other service that is marked on "Before" that needs /var rw is also broken. IMHO, there are two fixes: The one that will fix this for now would be to add a snippet to The other fix and the one that I think would be the true fix (although it would most likely require upstream changes to systemd) is the creation of a Also, btw, if you do implement any of the two fixes, please restore /sysroot ro. |
Fedora 36 is about to go EOL so I'll close this issue. Please provide updated information if this is still an issue. |
Describe the bug
systemd-backlight@backlight:intel_backlight.service fails to start and screen brightness is reset on reboot
To Reproduce
Boot up a clean install of Fedora Silverblue on an intel laptop
Expected behavior
The service starts and the screen brightness level doesn't reset on reboot
Screenshots
OS version:
The text was updated successfully, but these errors were encountered: