[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#904698: sddm fails to login with user shell fish and bash completion installed



Control: tag -1 + pending

¡Hola Alf!

El 2018-07-26 a las 22:16 +0200, Alf Gaida escribió:
Package: sddm
Version: 0.18.0-1
Severity: normal

fish has some problems with the newly introduced sourcing of /etc/profile - esp
an installed bash-completion and /etc/profile.d/bash_completion.sh

Anyway, I've reverted the source of /etc/profile for fish after checking this:
https://github.com/fish-shell/fish-shell/issues/3665

fish gives syntax errors on things like &&, so I don't think that applying
https://github.com/sddm/sddm/commit/f749f1d65165de7ce7b9ae073b19f057b205ab35 was a good idea anymore.

A patch to make sourcing of files more fault tolerant for all shells is attached.

The "patch" is sourcing all the files in a different subshell, that means, no changes in the environment are in effect. This is not an acceptable "fix".

I just commented the /etc/profile line for fish.

Happy hacking,
--
"If a pickpocket meets a saint, he sees only his pockets."
-- Kegley's Law
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


Reply to: