[systemd-devel] backlight service stopped at boot
Lennart Poettering
lennart at poettering.net
Tue Oct 20 03:19:03 PDT 2015
On Tue, 20.10.15 08:21, Vlad (vovan at vovan.nl) wrote:
> Hello,
>
> On my laptop the backlight service is stopped at boot instead of starting:
>
> # journalctl -a -b | grep backl
> Oct 20 08:13:09 *** systemd[1]: Stopped Load/Save Screen Backlight
> Brightness of backlight:intel_backlight.
> Oct 20 08:13:09 *** systemd[1]: Removed slice
> system-systemd\x2dbacklight.slice.
>
> However I can start/stop service manually and the backlight is properly
> restored/saved in /var/lib/systemd/backlight/pci...
>
> I'd appreciate any ideas (running systemd-226).
Most likely you have an rfkill device that appears and the disappears,
possibly because a firmware rfkill device is replaced by a
driver-level one.
Either way, in 227 the code around this has changed quite a bit, the
service is now a singleton and works quite differently. It's now
started each time an rfkill event happens, and then exits after a few
seconds. We precisely made this change to deal better with rfkill
devices that appear only temporarily.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list