[systemd-devel] [PATCH 03/11] Ensure that ask-password-wall starts after getty.target

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Jun 19 19:48:12 PDT 2014


On Fri, Jun 13, 2014 at 04:41:02PM +0200, Werner Fink wrote:
> From: Frederic Crozat <fcrozat at suse.com>
> 
> ---
>  units/systemd-ask-password-wall.service.in |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git units/systemd-ask-password-wall.service.in units/systemd-ask-password-wall.service.in
> index 0eaa274..179b010 100644
> --- units/systemd-ask-password-wall.service.in
> +++ units/systemd-ask-password-wall.service.in
> @@ -8,7 +8,8 @@
>  [Unit]
>  Description=Forward Password Requests to Wall
>  Documentation=man:systemd-ask-password-console.service(8)
> -After=systemd-user-sessions.service
> +Wants=getty.target
> +After=systemd-user-sessions.service getty.target

Why? It feels wrong to pull in getty.target from a password
service. Password entry mechanisms and user login machanisms should be
loosely coupled. One might e.g. use one manually configured getty to
login into the system and e.g. enter passwords...

Zbyszek

>  
>  [Service]
>  ExecStartPre=- at SYSTEMCTL@ stop systemd-ask-password-console.path systemd-ask-password-console.service systemd-ask-password-plymouth.path systemd-ask-password-plymouth.service
> -- 
> 1.7.9.2
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 


More information about the systemd-devel mailing list