[systemd-devel] After= and Wants= doesn't seem to have an effect

Christopher Wong Christopher.Wong at axis.com
Mon Dec 20 14:05:28 UTC 2021


> # /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 at lists.freedesktop.org> on behalf of Andrei Borzenkov <arvidjaar at gmail.com>
Sent: Monday, December 20, 2021 1:27:42 PM
To: systemd-devel at lists.freedesktop.org
Subject: Re: [systemd-devel] 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20211220/f004b47c/attachment.htm>


More information about the systemd-devel mailing list