Package: greetd
Version: 0.8.0-1+b1
Severity: critical
Hi,
installing the greetd package will log out the current user. When
attempting to log in again, the message "This account is currently not
available." is shown and the user is put back into the login prompt.
This happens independent of which user one tries to login with.
There are two problems here:
1. installing greetd should log out the current user. This prevents
editing /etc/greetd/config.toml to add the intended configuration.
Since the package cannot know the user's intention, maybe the
service should be disabled by default?
2. the default configuration reads:
command = "/usr/sbin/agreety --cmd $SHELL"
since greetd is run as the _greetd user and since the shell of the
_greetd is /usr/sbin/nologin, $SHELL will become /usr/sbin/nologin
and thus all login attempts will be made impossible.
I think to close this bug, both issues must be addressed:
1. do not start the greetd service by default installing a package
should not result into logging out the currently active user
2. provide a sensible default. Using $SHELL makes no sense when the
default shell of the user running greetd is /usr/sbin/nologin. Maybe
replace $SHELL with /bin/bash?
Thanks!
cheers, josch