Bug 25133 - SDDM sometimes replaces _a in passwords with _A
Summary: SDDM sometimes replaces _a in passwords with _A
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 25168 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-07-15 18:33 CEST by Ricard Alfe
Modified: 2021-09-07 14:11 CEST (History)
5 users (show)

See Also:
Source RPM: sddm-0.18.1-3.mga7
CVE:
Status comment:


Attachments
log systemctl (911.31 KB, application/x-xz)
2019-08-04 14:12 CEST, Ricard Alfe
Details

Description Ricard Alfe 2019-07-15 18:33:21 CEST
Description of problem:
Translation from Spanish to English from Google pardon translation.

There is an error when entering the password at the start of the session or when leaving the screen saver. If the password is "aaaaaa_aa" the session manager writes "aaaaaa_Aa". It can be observed after putting it. When 2 or 3 attempts start session correctly

Version-Release number of selected component (if applicable):


How reproducible:
yes


Steps to Reproduce:
1.
just put the password in the login. It always happens
2.
3.
Comment 1 Lewis Smith 2019-07-18 21:36:36 CEST
Ricard
You need to give us some specific information, since the problem you describe would effect everybody - but clearly does not. You have said this is an installer problem - but is it? There is no login during installation or upgrade except to define it. You say that the password 'can be observed', but it is normally hidden.
Please say:
* Is the problem during, or after installation (reboot)?
* What ISO you are trying to install, or installed Mageia from.
* What display manager is involved (SDDM, GDM, LightDM, LXDM).
* Does this happen at login to the session from the DM?
* Does it happen when unlocking the screensaver?
* What keyboard layout you have, and is it correctly defined? [Mageia control centre - Hardware - Keyboard]

CC: (none) => lewyssmith
Whiteboard: (none) => NEEDINFO

Comment 2 Lewis Smith 2019-07-22 23:18:40 CEST
See also
 https://bugs.mageia.org/show_bug.cgi?id=25168
in case it is the same problem.
Comment 3 Ricard Alfe 2019-07-23 02:18:10 CEST
* Is the problem during, or after installation (reboot)?
	-occurs after installation, at each login or exit of the screen saver

* What ISO you are trying to install, or installed Mageia from.
	-iso mageia 7

* What display manager is involved (SDDM, GDM, LightDM, LXDM).
	Sddm 0.18.1-3.mga7
		-not installed
			GDM,  LightDM,  LXDM
* Does this happen at login to the session from the DM?
	- yes

* Does it happen when unlocking the screensaver?
	-yes

* What keyboard layout you have, and is it correctly defined? [Mageia control centre - Hardware â Keyboard]
	- yes everything in spanish
		Hardware â Keyboard: generic | pc 104 keys
						number block without changes

without problems in the programs kmail, libreoffice, kwrite, etc.


--------

Regarding the previous comment:

	I think so, it would be necessary to know if you put any "_" in the passwords
Comment 4 Ricard Alfe 2019-07-23 02:45:34 CEST
I have already tried several keyboard configurations, local configuration all in Spanish. There is no error in konsole or tty3-5. DM only.
Comment 5 Ricard Alfe 2019-07-23 13:55:27 CEST
Today I had a moment to update kernel and several more. Now I have not had any problem setting the password. I have activated the screen saver several times and have not had any problems. For now I will wait a couple of days and if everything works fine close the notice
Comment 6 Lewis Smith 2019-07-23 21:29:04 CEST
(In reply to Ricard Alfe from comment #5)
> Today I had a moment to update kernel and several more. Now I have not had
> any problem setting the password. I have activated the screen saver several
> times and have not had any problems. For now I will wait a couple of days
> and if everything works fine close the notice
Thank you for this encouraging news, from an unexpected direction!
If you are able to close the bug in a few days, please use WORKSFORME as the RESOLVED category.
TIA
Comment 7 Ricard Alfe 2019-07-25 09:20:35 CEST
ok, close bug

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Comment 8 Lewis Smith 2019-07-27 22:41:08 CEST
*** Bug 25168 has been marked as a duplicate of this bug. ***

CC: (none) => gerard.muratorio

Comment 9 Lewis Smith 2019-07-27 22:52:05 CEST
There is clearly a problem experienced by both MURATORIO bug 25168
and Ricard here, who also replied on the other bug
So I am re-opening this bug and marking the other as a duplicate (it can be re-opened if necessary).

Muratorio (32-bit) started with LightDM-Xfce, with automatic login, and describes the problem in:
 https://bugs.mageia.org/show_bug.cgi?id=25168#c9
C11 of that bug says that with SDDM-Plasma the problem has not yet shown.
> the keyboard is  a AT Translated Set 2   [language?]
Yet Ricard (Spanish k/b) reported this bug using SDDM, and no mention of automatic login. Despite comments 5 (23 July) and 7 (25 July), 
> To me the error has reappeared (27 July)
 https://bugs.mageia.org/show_bug.cgi?id=25168#c15
We need to think how to persue this.

Summary: login error by automatic correction => login password error
Whiteboard: NEEDINFO => (none)
Resolution: WORKSFORME => (none)
Status: RESOLVED => REOPENED

Comment 10 Ricard Alfe 2019-07-31 14:03:23 CEST
nobody has permission to autologin, the sessions are all with login, as well as screen savers. MSEC is configured as fileserver with analysis and accurate verifications. Keyboard mark hp sdm4700p, all the premises in Spanish, spelling correction settings activated in Spanish. There is no error in tty only in sddm. The mistake with Muratorio I think is different. Mine only affects if "_" lowercase for some reason becomes "_" uppercase giving password error
Comment 11 Marja Van Waes 2019-08-01 09:47:44 CEST

(In reply to Lewis Smith from comment #9)
> There is clearly a problem experienced by both MURATORIO bug 25168
> and Ricard here, who also replied on the other bug
> So I am re-opening this bug and marking the other as a duplicate (it can be
> re-opened if necessary).

If KDE team does not reassign this report to BugSquad, then the other report should be reopened.
> 
<snip>
> Yet Ricard (Spanish k/b) reported this bug using SDDM, and no mention of
> automatic login. Despite comments 5 (23 July) and 7 (25 July), 
> > To me the error has reappeared (27 July)
>  https://bugs.mageia.org/show_bug.cgi?id=25168#c15
> We need to think how to persue this.

(In reply to Ricard Alfe from comment #10)
> nobody has permission to autologin, the sessions are all with login, as well
> as screen savers. MSEC is configured as fileserver with analysis and
> accurate verifications. Keyboard mark hp sdm4700p, all the premises in
> Spanish, spelling correction settings activated in Spanish. There is no
> error in tty only in sddm. The mistake with Muratorio I think is different.
> Mine only affects if "_" lowercase for some reason becomes "_" uppercase
> giving password error

CC'ing KDE team.

Ricard, just in case there is some useful info in it, could you please attach log.txt that is the result of running, as root:
   
  journalctl -a --since="YYYY-MM-DD hh:mm" --until="YYYY-MM-DD hh:mm" > log.txt

and adjust the since and until times to before and right after you last hit this bug.

For the "before" time, maybe starting with the line in which "kernel: Linux version" appears, would be best

Source RPM: xdm 1.1.12-3.mga7 ???? => sddm-0.18.1-3.mga7
CC: (none) => marja11
Summary: login password error => SDDM sometimes replaces _a in passwords with _A
Assignee: bugsquad => kde

Comment 12 Ricard Alfe 2019-08-04 12:18:06 CEST
My log after cleaning firewall or msec errors with file names is 76 megabytes. Can I upload it to the network?

journalctl -a --since="2019-07-01 00:00" --until="2019-08-04 11:45" > log.txt
Comment 13 Morgan Leijström 2019-08-04 12:33:46 CEST
You can compress the file using the command xz; just enter:

 xz log.txt

and it will replace it with the compressed log.txt.xz , attach that.

CC: (none) => fri

Comment 14 Ricard Alfe 2019-08-04 12:40:45 CEST
ok. 2.2 M
forgives. how do i upload
Comment 15 Ricard Alfe 2019-08-04 13:00:10 CEST
I have seen where to upload it but it is limited to 1M, I divide it into 3 parts?
Comment 16 Marja Van Waes 2019-08-04 13:31:58 CEST
(In reply to Ricard Alfe from comment #12)
> My log after cleaning firewall or msec errors with file names is 76
> megabytes. Can I upload it to the network?
> 
> journalctl -a --since="2019-07-01 00:00" --until="2019-08-04 11:45" > log.txt

I wasn't clear enough, sorry :-(

For the --since time, please use the last time when the line which contains "kernel: Linux version" appears before the until time.
Comment 17 Ricard Alfe 2019-08-04 14:11:22 CEST
Sorry, I saw that the log had the data for 2 months. I cut it, I upload it
Comment 18 Ricard Alfe 2019-08-04 14:12:59 CEST
Created attachment 11236 [details]
log systemctl
Comment 19 Lewis Smith 2019-11-22 13:27:49 CET
The same comment in the two bugs concerned.

@Ricard     re bug 25133
@ MURATORIO re bug 25168
Please can you install the package 'ibus-gtk' and report back.

Without any known explanation, this has resolved obscure bugs (for example bug 25707, and others elsewhere) with a Spanish element.
Comment 20 Aurelien Oudelet 2020-08-07 18:27:58 CEST
*** Bug 25168 has been marked as a duplicate of this bug. ***
Comment 21 Aurelien Oudelet 2020-08-07 18:35:56 CEST
Did proposal fix provided above (by Lewis Comment#19) work some?

Does bug still affect you?

CC: (none) => ouaurelien
Keywords: (none) => NEEDINFO

Comment 22 Aurelien Oudelet 2020-09-20 17:45:02 CEST
Hi,
This bug is against our Installer DrakX.

@Developers/Packagers: Feel free to reassign to correct person.
Also, if you are working on this, please change the status of this bug to "Assigned".
Feel free to close this if already fixed.

@All
Thanks making DrakX even better.
Comment 23 Marja Van Waes 2021-09-07 14:11:07 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Status: REOPENED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.