Your message dated Fri, 03 Feb 2023 16:49:03 +0000
with message-id <e1pnzfh-001js7...@fasolo.debian.org>
and subject line Bug#1030253: fixed in accountsservice 22.08.8-2
has caused the Debian Bug report #1030253,
regarding gnome-control-center: Creating a user via "gnome-control-center 
user-accounts" results in a user with shell set to nologin
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1030253: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030253
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gnome-control-center
Version: 1:43.2-2
Severity: normal
X-Debbugs-Cc: timo.lindf...@iki.fi, timo.lindf...@iki.fi

Steps to reproduce:
1) Run "gnome-control-center user-accounts"
2) Click "Unlock..."
3) Enter root password
4) Click "Add User..."
5) Enter "demo2" as Name and Username and click "Add".
6) Select "Switch User..." from gnome power menu
7) Login as "demo2"
8) Enter new password when prompted
9) Start a browser
10) Start a terminal

Expected results:
9) Browser starts
10) Terminal starts

Actual results:
9) Browser starts
10) Terminal starts but immediately closes

More info:

This issue does not occur in Debian 11 so it is a
regression. /etc/passwd contains the following line:

demo2:x:1002:1002:demo2,,,:/home/demo2:/usr/sbin/nologin

It seems that gnome-control-center calls accounts-daemon over dbus to
create the user. It does not specify the shell in the dbus
call. accounts-daemon eventually ends up calling

adduser --quiet --disabled-login --gecos demo2 demo2

It seems that the behavior of adduser has changed. In Debian 11 this
creates a user with a shell but in adduser 3.130 it creates a user
with shell set to nologin.

Please reassign if you believe this issue should be assigned to
accounts-daemon or adduser.

best regards,
Timo Lindfors

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-control-center depends on:
ii  accountsservice               22.08.8-1+b1
ii  apg                           2.2.3.dfsg.1-5+b2
ii  colord                        1.4.6-2.1
ii  desktop-base                  12.0.2
ii  desktop-file-utils            0.26-1
ii  gnome-control-center-data     1:43.2-2
ii  gnome-desktop3-data           43.1-1
ii  gnome-settings-daemon         43.0-4
ii  gsettings-desktop-schemas     43.0-1
ii  libaccountsservice0           22.08.8-1+b1
ii  libadwaita-1-0                1.2.1-2
ii  libc6                         2.36-8
ii  libcairo2                     1.16.0-7
ii  libcolord-gtk4-1              0.3.0-3
ii  libcolord2                    1.4.6-2.1
ii  libcups2                      2.4.2-1+b2
ii  libepoxy0                     1.5.10-1
ii  libfontconfig1                2.14.1-3
ii  libgcr-base-3-1               3.41.1-1+b1
ii  libgdk-pixbuf-2.0-0           2.42.10+dfsg-1+b1
ii  libglib2.0-0                  2.74.5-1
ii  libgnome-bg-4-2               43.1-1
ii  libgnome-bluetooth-ui-3.0-13  42.5-2
ii  libgnome-desktop-4-2          43.1-1
ii  libgnome-rr-4-2               43.1-1
ii  libgnutls30                   3.7.8-4
ii  libgoa-1.0-0b                 3.46.0-1
ii  libgoa-backend-1.0-1          3.46.0-1
ii  libgsound0                    1.0.3-2
ii  libgtk-3-0                    3.24.36-2
ii  libgtk-4-1                    4.8.3+ds-1+b1
ii  libgtop-2.0-11                2.40.0-2
ii  libgudev-1.0-0                237-2
ii  libibus-1.0-5                 1.5.27-4
ii  libkrb5-3                     1.20.1-1
ii  libmalcontent-0-0             0.11.0-3
ii  libmm-glib0                   1.20.4-1
ii  libnm0                        1.40.10-1
ii  libnma-gtk4-0                 1.10.6-1
ii  libpango-1.0-0                1.50.12+ds-1
ii  libpangocairo-1.0-0           1.50.12+ds-1
ii  libpolkit-gobject-1-0         122-2
ii  libpulse-mainloop-glib0       16.1+dfsg1-2+b1
ii  libpulse0                     16.1+dfsg1-2+b1
ii  libpwquality1                 1.4.5-1+b1
ii  libsecret-1-0                 0.20.5-3
ii  libsmbclient                  2:4.17.5+dfsg-1
ii  libsnapd-glib-2-1             1.63-4
ii  libudisks2-0                  2.9.4-4
ii  libupower-glib3               0.99.20-2
ii  libwacom9                     2.5.0-1
ii  libx11-6                      2:1.8.3-3
ii  libxi6                        2:1.8-1+b1
ii  libxml2                       2.9.14+dfsg-1.1+b3
ii  webp-pixbuf-loader            0.0.5-5

Versions of packages gnome-control-center recommends:
ii  cracklib-runtime              2.9.6-5+b1
ii  cups-pk-helper                0.2.6-1+b1
ii  gkbd-capplet                  3.28.1-1
ii  gnome-bluetooth-sendto        42.5-2
ii  gnome-online-accounts         3.46.0-1
ii  gnome-remote-desktop          43.3-1
ii  gnome-user-docs               43.0-1
ii  gnome-user-share              43.0-1
ii  iso-codes                     4.12.0-1
ii  libcanberra-pulse             0.30-10
ii  libnss-myhostname             252.4-2
ii  libspa-0.2-bluetooth          0.3.65-1
ii  malcontent-gui                0.11.0-3
ii  network-manager-gnome         1.30.0-2
ii  polkitd                       122-2
ii  power-profiles-daemon         0.12-1+b1
ii  realmd                        0.17.1-1
ii  rygel                         0.42.0-2
ii  rygel-tracker                 0.42.0-2
ii  system-config-printer-common  1.5.18-1

Versions of packages gnome-control-center suggests:
ii  gnome-software           43.3-1
pn  gstreamer1.0-pulseaudio  <none>
ii  pkexec                   122-2
ii  x11-xserver-utils        7.7+9+b1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: accountsservice
Source-Version: 22.08.8-2
Done: Simon McVittie <s...@debian.org>

We believe that the bug you reported is fixed in the latest version of
accountsservice, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1030...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated accountsservice package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 03 Feb 2023 15:51:06 +0000
Source: accountsservice
Architecture: source
Version: 22.08.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian freedesktop.org maintainers 
<pkg-freedesktop-maintain...@lists.alioth.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Closes: 1025542 1030253 1030262
Changes:
 accountsservice (22.08.8-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Luca Boccassi ]
   * accountsservice: depend on default-dbus-system-bus | dbus-system-bus,
     instead of requiring a specific implementation
 .
   [ Simon McVittie ]
   * d/control: Build-depend on polkitd instead of transitional policykit-1
     (Closes: #1025542)
   * d/patches: Re-export patch series (no functional changes)
   * d/p/0002-create-and-manage-groups-like-on-a-debian-system.patch:
     Call adduser with --disabled-password instead of --disabled-login.
     These options did essentially the same thing in Debian 11, and probably
     older versions.
     Since adduser 3.130, --disabled-login has the additional effect of
     setting the user's shell to /usr/sbin/nologin, which is not the expected
     default when adding a user via an interface intended for managing
     human users' interactive login accounts. Switching to --disabled-password
     preserves previous functionality here.
     (Closes: #1030253)
   * d/p/daemon-Enumerate-all-users-in-etc-passwd-to-decide-which-.patch:
     Add proposed fix for local users sometimes being treated as remote,
     which results in a misleading UX in gnome-control-center
     (Closes: #1030262)
Checksums-Sha1:
 f115cca0fc14a3ea1e4358c654faa3443ac3b9e2 2898 accountsservice_22.08.8-2.dsc
 647355023df144c75e8453eb213d2ccd10fb801f 18544 
accountsservice_22.08.8-2.debian.tar.xz
 c3ed9fcca8dd3cfab24601070f0b80a919e37f3e 9547 
accountsservice_22.08.8-2_source.buildinfo
Checksums-Sha256:
 2d70e11ffc213c3d987be3ba5136259d8315f16096da72be1ca0ac1b5b3eb35e 2898 
accountsservice_22.08.8-2.dsc
 f18f07ef607b34cd6f1a05c207f33ef744ac0d4ebd9dcd7d835d80781ff01ab9 18544 
accountsservice_22.08.8-2.debian.tar.xz
 91bd80dae12780edafc5cdc73502aca7042250d1438220569815585567922483 9547 
accountsservice_22.08.8-2_source.buildinfo
Files:
 fe90d4ff44d8690f544bcf5e2427b621 2898 admin optional 
accountsservice_22.08.8-2.dsc
 8b1fe31b42c0c010acd885b247f7499e 18544 admin optional 
accountsservice_22.08.8-2.debian.tar.xz
 317125ad5cecc5d8995127a67061a434 9547 admin optional 
accountsservice_22.08.8-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmPdNtsACgkQ4FrhR4+B
TE+dSRAAjjQUscMbZaLus9AWPioas2zJDC5Kk/unxpfFsroOLnOksNttDITF2qa9
MvlAry7Fz7puQqDdkEbdrF2rjVFbYKjiZWolvwQKrh0sP5PUyml3HK/Nbs4Fdx3Z
wHmqVN6qpZqDTQnLKoE9xSzVrA5ceDVLB5yl0oOP6Odk6A12nMrj9TvuU+LLimCe
so2IjuFHWb2EVPNi/Gifzk46JFpFCQksVpgWgqgMVw8F2NdgLaXtRg+Stqb3a+aP
ITEyQzblbXlsc0ykJ4y9xquwqrjLL5YpddpMtOzLpjHXoYBbqfDU2snpyn9/Ayq/
Xa+X6YXKQiq7miEiVSGVfx5FDZC7be29kl/AuIzMd6/kFFsLiBJTL3buXawX0SdG
NBh6dUySmybPXg0JCXWoA+q9J6QR3uVuNJt5hq9NVtPQbegJ1KoPeY5UUmHud8DP
JnCciydwq8xJ23F+GXg+Beqb96Yd9AlsR+8pfNy1IqqrvDIfnAzela9Bp6W4DfEh
GPCRAQLdqB0EeUPjIyw1aab48w0bNQY5PwsVL9MCRbIavcGlygZnKSS7/DeLKBf+
fqn1saS9nOcEcgokLG/XP7PaqRlmAvJv2oayLGKod6lMM6qr03iFJzp4YAapsfDJ
E9LjrIMn5N/VFPFIh4mS886N/InWryielRfGjaSHWNAzxtUwBo0=
=SFjH
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to