cinnamon-settings-users: User dialog holds if user creates a user that already exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cinnamon (Debian) |
Fix Released
|
Unknown
|
|||
cinnamon (Ubuntu) |
Fix Released
|
Low
|
Joshua Peisach | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* In the user creation dialog if you create a user that already exists (or try to), a GLib.Error is thrown and the dialog holds.
* While of course someone could see a user exists, it's better to maybe not have someone try to make a user named 'root', 'sudo', 'linux', 'etc' and watch Python mess up and think they screwed up their system.
* This patch checks that the user exists when the information changes and will adjust to not allow the user to be created (while giving a helpful warning
[Test Plan]
* Boot up Cinnamon < 5.0.0
* Run cinnamon-
* Try to create a user, type in a username, your own or another existing one, and see that when trying to add it the application hangs.
[Where problems could occur]
* Nothing too big except the normal fact that we are using Python. Python breakage to always happen (an update, syntax error, etc.)
* Another patch that plays with cinnamon-settings, cinnamon-
* Regression is unlikely, but still possible due to the world of Python, and definitely AccountsService in this GTK4/libraries world with Impish specifically
[Other Info]
* Two patches - one to fix and one for translations fixing
Affected:
Focal - Cinnamon 4.4.8
Impish - Cinnamon 4.8.6
Jammy - Fixed in the current unstable, 5.0.5. Check Debian #985138
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: cinnamon 4.6.7-1ubuntu1.1
ProcVersionSign
Uname: Linux 5.8.0-44-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Mar 13 09:14:42 2021
InstallationDate: Installed on 2020-10-23 (141 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cinnamon
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in cinnamon (Ubuntu): | |
importance: | Undecided → Low |
Changed in cinnamon (Debian): | |
status: | Unknown → New |
Changed in cinnamon (Debian): | |
status: | New → Fix Released |
description: | updated |
description: | updated |
description: | updated |
Changed in cinnamon (Ubuntu Impish): | |
status: | New → Incomplete |
For Debian: https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 985138