On Wed, 06.02.13 09:47, Colin Guthrie ([email protected]) wrote:

> The [email protected] used to specifically enable a [email protected]
> under getty.target when enabled.
> 
> Modern versions of systemd allow commands such as:
>  systemctl enable [email protected]
> which automatically create the correct symlink if the
> Install rule permits it.
> 
> This changes the default [email protected] to follow this
> now standard convension.
> 
> Note: Packagers may need to change their initial install
> rules due to this change (e.g. in rpm %post etc)

Hmm, but what happens then if people do run

systemctl enable [email protected]?

We really need to get the story right on this, I guess, so that
something useful happens in both cases?

> ---
>  units/[email protected] | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/units/[email protected] b/units/[email protected]
> index 083eb97..bd89a47 100644
> --- a/units/[email protected]
> +++ b/units/[email protected]
> @@ -48,4 +48,4 @@ Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= 
> LC_COLLATE= LC_MONETA
>  KillSignal=SIGHUP
>  
>  [Install]
> -Alias=getty.target.wants/[email protected]
> +WantedBy=getty.target


Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to