Re: [systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-30 Thread Francis Moreau
On Wed, Sep 30, 2015 at 11:06 PM, Lennart Poettering wrote: > On Tue, 22.09.15 15:52, Lennart Poettering (lenn...@poettering.net) wrote: > >> On Mon, 21.09.15 16:50, Francis Moreau (francis.m...@gmail.com) wrote: >> >> > Hi, >> > >> > If a unit depends on a slice, a

Re: [systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-24 Thread Francis Moreau
On 09/22/2015 03:52 PM, Lennart Poettering wrote: > On Mon, 21.09.15 16:50, Francis Moreau (francis.m...@gmail.com) wrote: > >> Hi, >> >> If a unit depends on a slice, a Wants=machine.slice is automatically >> added to the unit constraints. >> >> Why is "Requires=machine.slice" not prefered

Re: [systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-22 Thread Francis Moreau
Hello, On Mon, Sep 21, 2015 at 7:43 PM, David Herrmann wrote: > Hi > > On Mon, Sep 21, 2015 at 4:50 PM, Francis Moreau > wrote: >> Hi, >> >> If a unit depends on a slice, a Wants=machine.slice is automatically >> added to the unit constraints. >>

Re: [systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-22 Thread David Herrmann
Hi On Tue, Sep 22, 2015 at 10:58 AM, Francis Moreau wrote: > Hello, > > On Mon, Sep 21, 2015 at 7:43 PM, David Herrmann wrote: >> Hi >> >> On Mon, Sep 21, 2015 at 4:50 PM, Francis Moreau >> wrote: >>> Hi, >>> >>> If a unit

Re: [systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-22 Thread Francis Moreau
On Tue, Sep 22, 2015 at 2:18 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Sep 22, 2015 at 11:52:05AM +0200, Francis Moreau wrote: >> On Tue, Sep 22, 2015 at 11:14 AM, David Herrmann >> wrote: >> > Hi >> > >> > On Tue, Sep 22, 2015 at 10:58 AM,

Re: [systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-22 Thread Lennart Poettering
On Mon, 21.09.15 16:50, Francis Moreau (francis.m...@gmail.com) wrote: > Hi, > > If a unit depends on a slice, a Wants=machine.slice is automatically > added to the unit constraints. > > Why is "Requires=machine.slice" not prefered instead ? I think I agree, we should really make this a

Re: [systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-22 Thread Francis Moreau
On Tue, Sep 22, 2015 at 11:14 AM, David Herrmann wrote: > Hi > > On Tue, Sep 22, 2015 at 10:58 AM, Francis Moreau > wrote: [...] >>> >> >> But what if the slice fails to start ? >> >> Will the unit asking for a specific slice (which fails to start)

Re: [systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-22 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Sep 22, 2015 at 11:52:05AM +0200, Francis Moreau wrote: > On Tue, Sep 22, 2015 at 11:14 AM, David Herrmann > wrote: > > Hi > > > > On Tue, Sep 22, 2015 at 10:58 AM, Francis Moreau > > wrote: > [...] > >>> > >> > >> But what if the slice

[systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-21 Thread Francis Moreau
Hi, If a unit depends on a slice, a Wants=machine.slice is automatically added to the unit constraints. Why is "Requires=machine.slice" not prefered instead ? Thanks. -- Francis ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] Implicit unit dependency on slice might be too weak ?

2015-09-21 Thread David Herrmann
Hi On Mon, Sep 21, 2015 at 4:50 PM, Francis Moreau wrote: > Hi, > > If a unit depends on a slice, a Wants=machine.slice is automatically > added to the unit constraints. > > Why is "Requires=machine.slice" not prefered instead ? Usually "Wants=" is preferred as it makes