Re: [systemd-devel] [PATCH] systemctl: allow to change the default target without the --force switch

2014-04-22 Thread Djalal Harouni
On Tue, Apr 22, 2014 at 08:01:43AM +0200, Lennart Poettering wrote: > On Mon, 14.04.14 01:07, Djalal Harouni (tix...@opendz.org) wrote: > > > Currently "systemctl set-default" will fail to change the default target > > due to the 'default.target' being a symlink which is always the case. > > Humm

Re: [systemd-devel] [PATCH] systemctl: allow to change the default target without the --force switch

2014-04-21 Thread Lennart Poettering
On Mon, 14.04.14 01:07, Djalal Harouni (tix...@opendz.org) wrote: > Currently "systemctl set-default" will fail to change the default target > due to the 'default.target' being a symlink which is always the case. Humm, no? Normally default.target should not exist in /etc, only in /usr. This means

Re: [systemd-devel] [PATCH] systemctl: allow to change the default target without the --force switch

2014-04-16 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 14, 2014 at 01:07:52AM +0100, Djalal Harouni wrote: > Currently "systemctl set-default" will fail to change the default target > due to the 'default.target' being a symlink which is always the case. > > To work around this, the user must specify the "--force" switch to be > able to ove

Re: [systemd-devel] [PATCH] systemctl: allow to change the default target without the --force switch

2014-04-16 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 17, 2014 at 01:41:51AM +0100, Djalal Harouni wrote: > On Mon, Apr 14, 2014 at 01:07:52AM +0100, Djalal Harouni wrote: > > Currently "systemctl set-default" will fail to change the default target > > due to the 'default.target' being a symlink which is always the case. > > > > To work a

Re: [systemd-devel] [PATCH] systemctl: allow to change the default target without the --force switch

2014-04-16 Thread Djalal Harouni
On Mon, Apr 14, 2014 at 01:07:52AM +0100, Djalal Harouni wrote: > Currently "systemctl set-default" will fail to change the default target > due to the 'default.target' being a symlink which is always the case. > > To work around this, the user must specify the "--force" switch to be > able to ove

[systemd-devel] [PATCH] systemctl: allow to change the default target without the --force switch

2014-04-13 Thread Djalal Harouni
Currently "systemctl set-default" will fail to change the default target due to the 'default.target' being a symlink which is always the case. To work around this, the user must specify the "--force" switch to be able to overwrite the existing symlink. This is clearly a regression that was introd