Logging out does not decrease the number of logged in users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm3 (Ubuntu) |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Bionic |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) |
Bug Description
Running GDM/GNOME 3.28 on Ubuntu 18.04.
1) Boot the system, login.
uptime shows 1 logged user.
2) Logout from GNOME and login again:
uptime shows 2 logged users, instead of 1.
3) Logout from GNOME and login again:
uptime shows 3 logged users, instead of 1.
And repeating the process shows the same results, incrementing the number by 1 each time.
=======
[ Impact ]
The number of logged users according to `uptime` grows and never goes down
[ Test case ]
1. Login with your user and launch `uptime` from a shell
-> It should show "1 user"
2. Logout, and login again, then launch `uptime` again
-> It should show "1 user" again
3. Repeating the process, uptime users number should match the actual
number of logged in users
[ Regression potential ]
Nothing known so far, the fix is already in upstream branches (both stable and unstable)
Changed in gdm3 (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in gdm3 (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
This bug was fixed in the package gdm3 - 3.28.2-3ubuntu1
---------------
gdm3 (3.28.2-3ubuntu1) cosmic; urgency=medium
* Merge with Debian. Remaining changes: config_ error_dialog. patch gdm-xsession to install upstream Xsession script postrm} : rename user and group back to gdm run_xsession. d.patch xresources_ is_a_dir. patch Xresources/ * nvidia_ prime.patch:
nvidia- prime is installed override_ LANG_with_ accountservices .patch: dont_set_ language_ env.patch: session_ language( ) function, since it config_ error_dialog. patch: gdm3.postinst
+ README.Debian: update for correct paths in Ubuntu
+ control.in:
- Don't recommend desktop-base
- Depend on bash for ubuntu_
- Update Vcs field
+ rules:
- Don't override default user/group
- --enable-
- override dh_installinit with --no-start to avoid session being killed
+ rules, README.Debian, gdm3.8.pod:
Use upstream custom.conf instead of daemon.conf
+ gdm3.{postinst,
+ gdm3.postinst: don't kill gdm on upgrade
+ gdm3.*.pam: Make pam_env read ~/.pam_environment
+ gdm3.install:
- Stop installing default.desktop. It adds unnecessary clutter
("System Default") to the session chooser.
- Don't install debian/Xsession
+ Add ubuntu_
+ Add ubuntu_
- Fix loading from /etc/X11/
+ Add ubuntu_
- Add hook to run prime-offload (as root) and prime-switch if
+ Add revert_
- On Ubuntu accountservices only stores the language and not the
full locale as needed by LANG.
+ Add ubuntu_
- Don't run the set_up_
overrides variable values set by ~/.pam_environment
+ Add ubuntu_
- Show warning dialog in case of error in ~/.profile etc. and
don't let a syntax error make the login fail
+ Add debian/default.pa
- Disable Bluetooth audio devices in PulseAudio from gdm3.
+ debian/gdm3.install
- Added details of the default.pa file
+ debian/
- Added installation of default.pa and creation of dir if it doesn't
exist.
gdm3 (3.28.2-3) unstable; urgency=medium
* debian/ patches/ daemon- gdm-session- record. c-open- close-the- utmp-database. patch:
- Keep the number of logged-in consistent with reality (LP: #1776487)
-- Marco Trevisan (Treviño) <email address hidden> Wed, 13 Jun 2018 12:56:13 +0100