Bug 1446782 - sddm doubles the user accounts
Summary: sddm doubles the user accounts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sddm
Version: 26
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Bříza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1445705 1455554 (view as bug list)
Depends On:
Blocks: F26FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2017-04-28 21:28 UTC by Giulio 'juliuxpigface'
Modified: 2017-06-19 11:36 UTC (History)
14 users (show)

Fixed In Version: sddm-0.14.0-10.fc26
Clone Of:
Environment:
Last Closed: 2017-06-16 13:19:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
sddm's screenshot (1.16 MB, image/png)
2017-04-28 21:28 UTC, Giulio 'juliuxpigface'
no flags Details
SDDM after PR#827 (167.60 KB, image/png)
2017-06-09 13:21 UTC, Palo Kisa
no flags Details
[PATCH] UserModel: Check for duplicates from getpwent() (299.44 KB, patch)
2017-06-11 15:29 UTC, Raphael Groner
no flags Details | Diff

Description Giulio 'juliuxpigface' 2017-04-28 21:28:15 UTC
Created attachment 1275015 [details]
sddm's screenshot

Description of problem:
sddm lists four user accounts, even if my system has only got two user accounts.
Also... After the first boot, I can't login to the first user account anymore (but perhaps that's another bug).

Version-Release number of selected component (if applicable):
sddm-0.14.0-8.fc26.x86_64

How reproducible:
I see the bug on every boot. I haven't tried to reproduce it to another system, yet.

Steps to Reproduce:
1. Create an user account


Actual results:
sddm lists two entries for a single user account.

Expected results:
sddm should list only one entry for a single user account.

Additional info:
- I'm testing on qemu-kvm
- System installed from "Fedora-KDE-Live-x86_64-26-20170420.n.0.iso"
- I created the first user account with the initial-setup utility
- I created the second user account with the KDE's utility

Comment 1 Tomas Toth 2017-05-09 09:39:16 UTC
I hit the same bug with just one account created during installation in Anaconda. I see the account twice on the SDDM login screen.

Comment 2 Saurav Sengupta 2017-05-25 14:03:33 UTC
*** Bug 1455554 has been marked as a duplicate of this bug. ***

Comment 3 Petr Schindler 2017-05-31 12:59:49 UTC
I hit this too.

I propose this as a Freeze exception. This could confuse users. All entries works so it's not a blocker.

Comment 4 Jia Yuan Lo 2017-06-01 15:59:53 UTC
LXQt is hit by this as well

https://bugzilla.redhat.com/show_bug.cgi?id=1445705

Can you check your users and groups also got duplicated entries?

I think that is a bigger problem on LXQt

Comment 5 Palo Kisa 2017-06-09 07:46:39 UTC
Source of this problem probably is the usage of getpwent() and configuration in /etc/nsswitch.conf -> see here https://github.com/lxde/lxqt/issues/1308#issuecomment-307309844

Comment 6 Palo Kisa 2017-06-09 13:21:43 UTC
Created attachment 1286417 [details]
SDDM after PR#827

Comment 7 Palo Kisa 2017-06-09 13:22:13 UTC
FYI https://github.com/sddm/sddm/pull/827

Comment 8 Raphael Groner 2017-06-11 15:27:03 UTC
Reproducible for me with latest updates applied. What's the state here?

Please apply the patch mentioned in comment #6 and comment #7:

https://github.com/sddm/sddm/commit/61fcb8b5d72875c2887702006dec32d95ab0aa9b.patch

Comment 9 Raphael Groner 2017-06-11 15:29:04 UTC
Created attachment 1286846 [details]
[PATCH] UserModel: Check for duplicates from getpwent()

Patch from upstream to avoid duplicated users in sddm.

Comment 10 Michal Schorm 2017-06-12 07:39:41 UTC
*** Bug 1445705 has been marked as a duplicate of this bug. ***

Comment 11 Fedora Update System 2017-06-13 15:00:17 UTC
sddm-0.14.0-9.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6589ba1731

Comment 12 Fedora Update System 2017-06-13 21:15:18 UTC
sddm-0.14.0-10.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6589ba1731

Comment 13 Saurav Sengupta 2017-06-15 08:08:25 UTC
With sddm-0.14.0-10.fc26, I no longer get a duplicate entry for my account. It seems to be working properly.

Comment 14 Fedora Update System 2017-06-15 13:56:57 UTC
sddm-0.14.0-10.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6589ba1731

Comment 15 Fedora Update System 2017-06-16 13:19:40 UTC
sddm-0.14.0-10.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Gurenko Alex 2017-06-18 08:36:52 UTC
Not sure if this is worth re-opening this defect or opening a new one, but if you go to System Settings -> Shutdown and Login -> Login Screen (SDDM) -> Advanced tab there is a list of users for auto login which is still showing double accounts.

Comment 17 Raphael Groner 2017-06-18 09:02:43 UTC
(In reply to Gurenko Alex from comment #16)
> Not sure if this is worth re-opening this defect or opening a new one, but
> if you go to System Settings -> Shutdown and Login -> Login Screen (SDDM) ->
> Advanced tab there is a list of users for auto login which is still showing
> double accounts.

You should definitely report to upstream, at least.

Comment 18 Raphael Groner 2017-06-18 09:05:28 UTC
Ad comment #17: TBH I can not reproduce the mentioned duplicates of users in advanced tab.

Comment 19 Gurenko Alex 2017-06-18 14:28:12 UTC
(In reply to Raphael Groner from comment #18)
> Ad comment #17: TBH I can not reproduce the mentioned duplicates of users in
> advanced tab.

I've opened a defect for SDDM right now, I'm not sure whether it's SDDM or Plasma's issue at this point.

Comment 20 Martin Bříza 2017-06-19 11:36:24 UTC
In case you experience this in system settings, too, it's a separate bug for the sddm-kcm package.


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