account set as SystemAccount=true and not listed after upgrade

Bug #1972129 reported by Kent Frazier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
accountsservice (Ubuntu)
New
Low
Unassigned

Bug Description

upgraded from 21.10 to 22.04. Upgrade seemed to require creating a new (admin) id, which I did. When I now login the new account name is displayed but I have to list other users to be able to login with my pre-upgrade account. Going to system settings -> User Accounts shows only the new account. Once logged in, invoking "Users & Groups" shows both new id and pre-upgrade user account.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.10
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: Unity:Unity7:ubuntu
Date: Sun May 8 16:30:27 2022
InstallationDate: Installed on 2020-07-18 (659 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to jammy on 2022-04-29 (9 days ago)
VarLogDistupgradeTermlog:

Revision history for this message
Kent Frazier (kentfrazier-u) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. It sounds a bit similar to bug #1971559

The reason it displayed the wizard to create a first user is because it didn't recognize your existing account.

Could you to do
# /usr/libexec/accounts-daemon --debug

and see what that does display about your account?

also does /var/lib/AccountsService/users/$USER includes a SystemAccount=true key?

affects: ubuntu-release-upgrader (Ubuntu) → accountsservice (Ubuntu)
Changed in accountsservice (Ubuntu):
status: New → Incomplete
Revision history for this message
Kent Frazier (kentfrazier-u) wrote : Re: [Bug 1972129] Re: user account show different users than "Users and Groups"
Download full text (4.8 KiB)

On 5/9/22 05:08, Sebastien Bacher wrote:
> /usr/libexec/accounts-daemon --debug
$ sudo /usr/libexec/accounts-daemon --debug
(py310)
[sudo] password for frazier:
(accounts-daemon:734852): DEBUG: entering main loop
(accounts-daemon:734852): DEBUG: Changing permission of
/var/lib/AccountsService/users/frazier to 0600
(accounts-daemon:734852): DEBUG: Changing permission of
/var/lib/AccountsService/users/gnome-initial-setup to 0600
(accounts-daemon:734852): DEBUG: Changing permission of
/var/lib/AccountsService/users/kfrazier to 0600
(accounts-daemon:734852): DEBUG: Changing permission of
/var/lib/AccountsService/users/gdm to 0600
(accounts-daemon:734852): DEBUG: skipping user: root
(accounts-daemon:734852): DEBUG: skipping user: daemon
(accounts-daemon:734852): DEBUG: skipping user: bin
(accounts-daemon:734852): DEBUG: skipping user: sys
(accounts-daemon:734852): DEBUG: skipping user: sync
(accounts-daemon:734852): DEBUG: skipping user: games
(accounts-daemon:734852): DEBUG: skipping user: man
(accounts-daemon:734852): DEBUG: skipping user: lp
(accounts-daemon:734852): DEBUG: skipping user: mail
(accounts-daemon:734852): DEBUG: skipping user: news
(accounts-daemon:734852): DEBUG: skipping user: uucp
(accounts-daemon:734852): DEBUG: skipping user: proxy
(accounts-daemon:734852): DEBUG: skipping user: www-data
(accounts-daemon:734852): DEBUG: skipping user: backup
(accounts-daemon:734852): DEBUG: skipping user: list
(accounts-daemon:734852): DEBUG: skipping user: irc
(accounts-daemon:734852): DEBUG: skipping user: gnats
(accounts-daemon:734852): DEBUG: skipping user: nobody
(accounts-daemon:734852): DEBUG: skipping user: systemd-network
(accounts-daemon:734852): DEBUG: skipping user: systemd-resolve
(accounts-daemon:734852): DEBUG: skipping user: systemd-timesync
(accounts-daemon:734852): DEBUG: skipping user: messagebus
(accounts-daemon:734852): DEBUG: skipping user: syslog
(accounts-daemon:734852): DEBUG: skipping user: _apt
(accounts-daemon:734852): DEBUG: skipping user: tss
(accounts-daemon:734852): DEBUG: skipping user: uuidd
(accounts-daemon:734852): DEBUG: skipping user: tcpdump
(accounts-daemon:734852): DEBUG: skipping user: avahi-autoipd
(accounts-daemon:734852): DEBUG: skipping user: usbmux
(accounts-daemon:734852): DEBUG: skipping user: rtkit
(accounts-daemon:734852): DEBUG: skipping user: dnsmasq
(accounts-daemon:734852): DEBUG: skipping user: cups-pk-helper
(accounts-daemon:734852): DEBUG: skipping user: speech-dispatcher
(accounts-daemon:734852): DEBUG: skipping user: avahi
(accounts-daemon:734852): DEBUG: skipping user: kernoops
(accounts-daemon:734852): DEBUG: skipping user: saned
(accounts-daemon:734852): DEBUG: skipping user: nm-openvpn
(accounts-daemon:734852): DEBUG: skipping user: hplip
(accounts-daemon:734852): DEBUG: skipping user: whoopsie
(accounts-daemon:734852): DEBUG: skipping user: colord
(accounts-daemon:734852): DEBUG: skipping user: geoclue
(accounts-daemon:734852): DEBUG: skipping user: pulse
(accounts-daemon:734852): DEBUG: skipping user: gnome-initial-setup
(accounts-daemon:734852): DEBUG: skipping user: gdm
(accounts-daemon:734852): DEBUG: loaded user: frazier
(accounts-daemon:734...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: user account show different users than "Users and Groups"

Great! Do you have any idea how the account ended up being marked as SystemAccount=true?

Revision history for this message
Kent Frazier (kentfrazier-u) wrote : Re: [Bug 1972129] Re: user account show different users than "Users and Groups"

Have no idea. The pre-upgrade account worked as expected in 21.10 before
upgrade, and I didn't make any manual changes that would have affected
anything that I know of. I wasn't even aware of the file that holds the
SystemAccount flag.

On 5/9/22 13:50, Sebastien Bacher wrote:
> Great! Do you have any idea how the account ended up being marked as
> SystemAccount=true?
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the reply. So somewhat the account got flagged as a system one which is the issue, I'm going to retitle the report to be about that but I'm unsure how we can determine why that was set...

Changed in accountsservice (Ubuntu):
status: Incomplete → New
summary: - user account show different users than "Users and Groups"
+ account set as SystemAccount=true and not listed after upgrade
Changed in accountsservice (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.