Re: After= and Wants= doesn't seem to have an effect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> # /etc/systemd/system/iris-detection.service
> [Unit]
> Description=Iris detection
> PartOf=opticsd.service


How can you tell that it is a loop? iris-detection.service doesn't have any After= as you stated below. Is it due to the PartOf=opticsd.service?


Best Regards,

Christopher Wong


From: systemd-devel <systemd-devel-bounces@xxxxxxxxxxxxxxxxxxxxx> on behalf of Andrei Borzenkov <arvidjaar@xxxxxxxxx>
Sent: Monday, December 20, 2021 1:27:42 PM
To: systemd-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: After= and Wants= doesn't seem to have an effect
 
On 20.12.2021 15:06, Christopher Wong wrote:
> # /etc/systemd/system/iris-detection.service
> After=temperature-controller.service
>
> # /usr/lib/systemd/system/temperature-controller.service
> After=iris-detection.service

This is loop and systemd is free to break it by ignoring some dependency.

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux