Re: [systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-12 Thread THomas HUMMEL
> On 9/9/22 18:09, Andrei Borzenkov wrote: Hello, maybe referring to https://lists.freedesktop.org/archives/systemd-devel/2022-January/047342.html would help clarify ? -- TH

Re: [systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Andrei Borzenkov
On 09.09.2022 16:19, Andrei Borzenkov wrote: > "Requires" means - submit additional start jobs for the listed units > and wait until these start jobs are completed before processing the > start job for the unit itself. Sorry, that was wrong. That is what everyone assumes it does. Requires means

Re: [systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Andrei Borzenkov
On Fri, Sep 9, 2022 at 4:12 PM Ulrich Windl wrote: > Thanks for the explanation! For me part of the problem is: Where is "pull in" > defined? ;-) In an English dictionary? > The phrase is used for Wants, but also for Requires. So is "pull in " a > synonym for "wants or requires"? Yes. "Pull

Re: [systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Michael Biebl
Am Fr., 9. Sept. 2022 um 14:12 Uhr schrieb Michael Biebl : > > Am Fr., 9. Sept. 2022 um 14:01 Uhr schrieb Ulrich Windl > : > > > > >>> Andrei Borzenkov schrieb am 09.09.2022 um 13:41 in > > Nachricht > > : > > > On Fri, Sep 9, 2022 at 2:13 PM Ulrich Windl > > > wrote: > > > ... > > >> > > > >> >

Re: [systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Michael Biebl
Am Fr., 9. Sept. 2022 um 14:01 Uhr schrieb Ulrich Windl : > > >>> Andrei Borzenkov schrieb am 09.09.2022 um 13:41 in > Nachricht > : > > On Fri, Sep 9, 2022 at 2:13 PM Ulrich Windl > > wrote: > > ... > >> > > >> > If you are interested in services that pull in e.g. time-sync.target > >> > via

Re: [systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Andrei Borzenkov
On Fri, Sep 9, 2022 at 2:13 PM Ulrich Windl wrote: ... > > > > If you are interested in services that pull in e.g. time-sync.target > > via Wants (or Requires) and order themselves before the target, you > > can use something like > > $ systemctl show time-sync.target -p WantedBy -p RequiredBy -p

[systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Ulrich Windl
>>> Michael Biebl schrieb am 09.09.2022 um 12:54 in Nachricht : > Am Fr., 9. Sept. 2022 um 12:31 Uhr schrieb Michael Biebl : >> >> Am Fr., 9. Sept. 2022 um 12:08 Uhr schrieb Ulrich Windl >> : >> > >> > >>> Michael Biebl schrieb am 09.09.2022 um 10:55 in >> > Nachricht >> > : >> > > Example:

[systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Ulrich Windl
>>> Michael Biebl schrieb am 09.09.2022 um 12:31 in Nachricht : > Am Fr., 9. Sept. 2022 um 12:08 Uhr schrieb Ulrich Windl > : >> >> >>> Michael Biebl schrieb am 09.09.2022 um 10:55 in >> Nachricht >> : >> > Example: syslog.service >> > >> > $ systemctl status syslog.service >> > ●