[BRLTTY] Are changes needed for systemd 247.1?

Alexander Epaneshnikov aarnaarn2 at gmail.com
Tue Dec 8 15:35:31 EST 2020


08.12.2020 23:18, Alexander Epaneshnikov пишет:
> 08.12.2020 23:01, Alexander Epaneshnikov пишет:
>> 08.12.2020 22:40, Dave Mielke пишет:
>>> [quoted lines by Alexander Epaneshnikov on 2020/12/08 at 22:19 +0300]
>>>
>>>> apart from:
>>>> дек 08 22:15:26 alex-pc systemd[1]:
>>>> /usr/lib/systemd/system/brltty at .service:25: ConditionPathExists= path is not
>>>> absolute, ignoring: sys/devices/pci0000:00/0
>>> Please try adding a - between the @ and the % on the Requires= line in
>>> brltty-device at .service. So:
>>>
>>>     Requires=brltty at -%i.service
>>>
>> it isn't helped. maybe just remove: ConditionPathExists=%I
>> i think now it doesn't help.
>> -- 
>> Sincerely, Alexander.
>
> ok Dave pleas look at that. 
> https://github.com/systemd/systemd/issues/14246
> i think this explains meni of hour problems.
> -- 
> Sincerely, Alexander.
cano't believe! two days and finally. we don't need device unit.
i modified rule:
LABEL="brltty_systemd"
ACTION!="remove", GOTO="brltty_systemd_add"
ACTION=="remove", GOTO="brltty_systemd_remove"
GOTO="brltty_device_end"
LABEL="brltty_systemd_add"
ENV{SYSTEMD_WANTS}+="brltty at .service"
LABEL="brltty_systemd_remove"
TAG+="systemd"
GOTO="brltty_device_end"

[alex at alex-pc brltty]$ systemctl show 
brltty at sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service
BindsTo="sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.device"

[alex at alex-pc brltty]$ systemctl show sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.device
Wants="brltty-device at sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service"
BoundBy="brltty at sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service"

now I'm a little angry with myself. walking around for two days and not understanding simple things.
--
Sincerely, Alexander.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://brltty.app/pipermail/brltty/attachments/20201208/62fa4de9/attachment.html>


More information about the BRLTTY mailing list