Re: [systemd-devel] Unwants

2015-01-28 Thread Dimitri John Ledkov
On 27 January 2015 at 21:35, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Jan 27, 2015 at 10:30:48PM +0100, Lennart Poettering wrote: >> On Tue, 27.01.15 15:45, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) >> wrote: >> >> > Yes, I think attempting any kind of dependency removal *from loaded >>

Re: [systemd-devel] Unwants

2015-01-27 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jan 27, 2015 at 10:30:48PM +0100, Lennart Poettering wrote: > On Tue, 27.01.15 15:45, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > Yes, I think attempting any kind of dependency removal *from loaded > > units* would be very complicated, and would require major surgery to >

Re: [systemd-devel] Unwants

2015-01-27 Thread Lennart Poettering
On Tue, 27.01.15 16:18, Christian Seiler (christ...@iwakd.de) wrote: > Or to put it this way: if you take the following things: > - the unit file itself > - all drop-ins > - all .requires.d/ > - all .wants.d/ > you could combine them (according to precedence rules) to a single large > unit fil

Re: [systemd-devel] Unwants

2015-01-27 Thread Lennart Poettering
On Tue, 27.01.15 15:45, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > Yes, I think attempting any kind of dependency removal *from loaded > units* would be very complicated, and would require major surgery to > current unit engine. And things would become conceptually more complicated,

Re: [systemd-devel] Unwants

2015-01-27 Thread Dimitri John Ledkov
On 27 January 2015 at 16:47, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Jan 27, 2015 at 03:50:49PM +, Dimitri John Ledkov wrote: >> On 27 January 2015 at 15:18, Christian Seiler wrote: >> > Am 27.01.2015 um 15:45 schrieb Zbigniew Jędrzejewski-Szmek: >> >> On Tue, Jan 27, 2015 at 01:36:41PM

Re: [systemd-devel] Unwants

2015-01-27 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jan 27, 2015 at 03:50:49PM +, Dimitri John Ledkov wrote: > On 27 January 2015 at 15:18, Christian Seiler wrote: > > Am 27.01.2015 um 15:45 schrieb Zbigniew Jędrzejewski-Szmek: > >> On Tue, Jan 27, 2015 at 01:36:41PM +0100, Lennart Poettering wrote: > >>> Dependencies are always additiv

Re: [systemd-devel] Unwants

2015-01-27 Thread Dimitri John Ledkov
On 27 January 2015 at 15:18, Christian Seiler wrote: > Am 27.01.2015 um 15:45 schrieb Zbigniew Jędrzejewski-Szmek: >> On Tue, Jan 27, 2015 at 01:36:41PM +0100, Lennart Poettering wrote: >>> Dependencies are always additive and coalescing currently. We don't >>> track which configuration file or au

Re: [systemd-devel] Unwants

2015-01-27 Thread Christian Seiler
Am 27.01.2015 um 15:45 schrieb Zbigniew Jędrzejewski-Szmek: > On Tue, Jan 27, 2015 at 01:36:41PM +0100, Lennart Poettering wrote: >> Dependencies are always additive and coalescing currently. We don't >> track which configuration file or automatic logic created which >> dependency, and hence it is

Re: [systemd-devel] Unwants

2015-01-27 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jan 27, 2015 at 01:36:41PM +0100, Lennart Poettering wrote: > On Thu, 22.01.15 13:54, Dimitri John Ledkov (dimitri.j.led...@intel.com) > wrote: > > > Is there a way to remove / override wants that are specified via > > .wants directory, .d snippet with "Wants=", or wants specified in the

Re: [systemd-devel] Unwants

2015-01-27 Thread Dimitri John Ledkov
On 27 January 2015 at 12:42, Lennart Poettering wrote: > On Thu, 22.01.15 15:16, Dimitri John Ledkov (dimitri.j.led...@intel.com) > wrote: > >> On 22 January 2015 at 14:46, Michael Biebl wrote: >> > 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov >> > : >> >> At the moment, I'm looking at packag

Re: [systemd-devel] Unwants

2015-01-27 Thread Dimitri John Ledkov
On 27 January 2015 at 12:38, Lennart Poettering wrote: > On Thu, 22.01.15 14:08, Dimitri John Ledkov (dimitri.j.led...@intel.com) > wrote: > >> > In any case, /etc overrides /run, so your example can never work. >> > >> >> Oh, ok. But any combination of the two. E.g. for /etc to unwant from >> /r

Re: [systemd-devel] Unwants

2015-01-27 Thread Lennart Poettering
On Thu, 22.01.15 15:16, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: > On 22 January 2015 at 14:46, Michael Biebl wrote: > > 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov : > >> At the moment, I'm looking at packaging symlinks in .wants directories > >> under /usr and then allow to un

Re: [systemd-devel] Unwants

2015-01-27 Thread Lennart Poettering
On Thu, 22.01.15 14:08, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: > > In any case, /etc overrides /run, so your example can never work. > > > > Oh, ok. But any combination of the two. E.g. for /etc to unwant from > /run then, or for /etc to unwant from /usr. > > At the moment, I'm

Re: [systemd-devel] Unwants

2015-01-27 Thread Lennart Poettering
On Thu, 22.01.15 13:54, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: > Is there a way to remove / override wants that are specified via > .wants directory, .d snippet with "Wants=", or wants specified in the > unit itself? Dependencies are always additive and coalescing currently. We d

Re: [systemd-devel] Unwants

2015-01-23 Thread Dimitri John Ledkov
On 23 January 2015 at 13:11, Dimitri John Ledkov wrote: > On 22 January 2015 at 16:32, Andrei Borzenkov wrote: >> В Thu, 22 Jan 2015 15:46:26 +0100 >> Michael Biebl пишет: >> >> There was long discussion on this just recently. >> >> http://lists.freedesktop.org/archives/systemd-devel/2014-Novemb

Re: [systemd-devel] Unwants

2015-01-23 Thread Dimitri John Ledkov
On 22 January 2015 at 16:32, Andrei Borzenkov wrote: > В Thu, 22 Jan 2015 15:46:26 +0100 > Michael Biebl пишет: > >> 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov : >> > At the moment, I'm looking at packaging symlinks in .wants directories >> > under /usr and then allow to uninstall such a pack

Re: [systemd-devel] Unwants

2015-01-22 Thread Andrei Borzenkov
В Thu, 22 Jan 2015 15:46:26 +0100 Michael Biebl пишет: > 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov : > > At the moment, I'm looking at packaging symlinks in .wants directories > > under /usr and then allow to uninstall such a package as a means to > > override the default config. Since I wou

Re: [systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
On 22 January 2015 at 14:46, Michael Biebl wrote: > 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov : >> At the moment, I'm looking at packaging symlinks in .wants directories >> under /usr and then allow to uninstall such a package as a means to >> override the default config. Since I would like t

Re: [systemd-devel] Unwants

2015-01-22 Thread Michael Biebl
2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov : > At the moment, I'm looking at packaging symlinks in .wants directories > under /usr and then allow to uninstall such a package as a means to > override the default config. Since I would like to update how the > default config is setup, without doin

Re: [systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
On 22 January 2015 at 14:00, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Jan 22, 2015 at 01:54:37PM +, Dimitri John Ledkov wrote: >> Is there a way to remove / override wants that are specified via >> .wants directory, .d snippet with "Wants=", or wants specified in the >> unit itself? >> >>

Re: [systemd-devel] Unwants

2015-01-22 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 22, 2015 at 01:54:37PM +, Dimitri John Ledkov wrote: > Is there a way to remove / override wants that are specified via > .wants directory, .d snippet with "Wants=", or wants specified in the > unit itself? > > I thought that creating a symlink to /dev/null from a higher up > direc

[systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
Is there a way to remove / override wants that are specified via .wants directory, .d snippet with "Wants=", or wants specified in the unit itself? I thought that creating a symlink to /dev/null from a higher up directory would disable wants dependency but it didn't: e.g.: I was expecting for /ru