Bug#953557: gdm3: missing gdm-smartcard
J. Patrick Avery, Jr.
avery at lanl.gov
Tue Mar 10 14:54:37 GMT 2020
Package: gdm3
Version: 3.28.3-0ubuntu18.04.4
Severity: wishlist
Dear Maintainer,
gdm3 is missing /etc/pam.d/gdm-smartcard. I reported this to Ubuntu
originally, and we see the bug present in debian upstream.
UbuntuBug: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1865226
-- System Information:
Debian Release: buster/sid
APT prefers bionic-updates
APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500,
'bionic'), (100, 'bionic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.0-40-generic (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gdm3 depends on:
ii accountsservice 0.6.45-1ubuntu1
ii adduser 3.116ubuntu1
ii bash 4.4.18-2ubuntu1.2
ii compiz [x-window-manager]
1:0.9.13.1+18.04.20180302-0ubuntu1
ii dconf-cli 0.26.0-2ubuntu3
ii dconf-gsettings-backend 0.26.0-2ubuntu3
ii debconf [debconf-2.0] 1.5.66ubuntu1
ii gir1.2-gdm-1.0 3.28.3-0ubuntu18.04.4
ii gnome-session [x-session-manager] 3.28.1-0ubuntu3
ii gnome-session-bin 3.28.1-0ubuntu3
ii gnome-session-flashback [x-session-mana 1:3.28.0-1ubuntu1.4
ii gnome-settings-daemon 3.28.1-0ubuntu1.3
ii gnome-shell 3.28.4-0ubuntu18.04.3
ii gnome-terminal [x-terminal-emulator] 3.28.2-1ubuntu1~18.04.1
ii gsettings-desktop-schemas 3.28.0-1ubuntu1
ii libaccountsservice0 0.6.45-1ubuntu1
ii libaudit1 1:2.8.2-1ubuntu1
ii libc6 2.27-3ubuntu1
ii libcanberra-gtk3-0 0.30-5ubuntu1
ii libcanberra0 0.30-5ubuntu1
ii libgdk-pixbuf2.0-0 2.36.11-2
ii libgdm1 3.28.3-0ubuntu18.04.4
ii libglib2.0-0 2.56.4-0ubuntu0.18.04.4
ii libglib2.0-bin 2.56.4-0ubuntu0.18.04.4
ii libgtk-3-0 3.22.30-1ubuntu4
ii libkeyutils1 1.5.9-9.2ubuntu2
ii libpam-modules 1.1.8-3.6ubuntu2.18.04.1
ii libpam-runtime 1.1.8-3.6ubuntu2.18.04.1
ii libpam-systemd 237-3ubuntu10.39
ii libpam0g 1.1.8-3.6ubuntu2.18.04.1
ii librsvg2-common 2.40.20-2
ii libselinux1 2.7-2build2
ii libsystemd0 237-3ubuntu10.39
ii libwrap0 7.6.q-27
ii libx11-6 2:1.6.4-3ubuntu0.2
ii libxau6 1:1.0.8-1
ii libxcb1 1.13-2~ubuntu18.04
ii libxdmcp6 1:1.1.2-3
ii lsb-base 9.20170808ubuntu1
ii metacity [x-window-manager] 1:3.28.0-1ubuntu0.1
ii mutter [x-window-manager] 3.28.4-0ubuntu18.04.2
ii policykit-1 0.105-20ubuntu0.18.04.5
ii rxvt-unicode [x-terminal-emulator] 9.22-3
ii tilix [x-terminal-emulator] 1.7.7-1ubuntu2
ii ubuntu-session [x-session-manager] 3.28.1-0ubuntu3
ii ucf 3.0038
ii x11-common 1:7.7+19ubuntu7.1
ii x11-xserver-utils 7.7+7build1
ii xterm [x-terminal-emulator] 330-1ubuntu2
Versions of packages gdm3 recommends:
ii at-spi2-core 2.28.0-1
ii x11-xkb-utils 7.7+3ubuntu0.18.04.1
ii xserver-xephyr 2:1.19.6-1ubuntu4.4
ii xserver-xorg 1:7.7+19ubuntu7.1
ii zenity 3.28.1-1
Versions of packages gdm3 suggests:
ii gnome-orca 3.28.0-3ubuntu1
pn libpam-fprintd <none>
ii libpam-gnome-keyring 3.28.0.2-1ubuntu1.18.04.1
-- Configuration Files:
/etc/gdm3/Xsession changed:
command="$@"
echo "$0: Beginning session setup..."
ERR=$(mktemp --tmpdir config-err-XXXXXX)
source_with_error_check () {
CONFIG_FILE="$1"
. "$CONFIG_FILE" 2>"$ERR"
if [ -s "$ERR" ]; then
. /etc/gdm3/config-error-dialog.sh
fi
cat "$ERR" >&2
truncate -s 0 "$ERR"
}
for file in /etc/profile "$HOME/.profile"; do
if [ -f "$file" ]; then
source_with_error_check "$file"
fi
done
for file in /etc/xprofile "$HOME/.xprofile"; do
if [ -f "$file" ]; then
source_with_error_check "$file"
fi
done
if [ -x "/usr/lib/gdm3/gdmtranslate" ] ; then
gdmtranslate="/usr/lib/gdm3/gdmtranslate"
else
gdmtranslate=
fi
gettextfunc () {
if [ "x$gdmtranslate" != "x" ] ; then
"$gdmtranslate" --utf8 "$1"
else
echo "$1"
fi
}
OLD_IFS=$IFS
gdmwhich () {
COMMAND="$1"
OUTPUT=
IFS=:
for dir in $PATH
do
if test -x "$dir/$COMMAND" ; then
if test "x$OUTPUT" = "x" ; then
OUTPUT="$dir/$COMMAND"
fi
fi
done
IFS=$OLD_IFS
echo "$OUTPUT"
}
zenity=`gdmwhich zenity`
freetemp=`gdmwhich freetemp`
if [ -n "$freetemp" ] ; then
"$freetemp"
fi
userresources="$HOME/.Xresources"
usermodmap="$HOME/.Xmodmap"
userxkbmap="$HOME/.Xkbmap"
sysresources=/etc/X11/Xresources
sysmodmap=/etc/X11/Xmodmap
sysxkbmap=/etc/X11/Xkbmap
rh6sysresources=/etc/X11/xinit/Xresources
rh6sysmodmap=/etc/X11/xinit/Xmodmap
if [ -f "$rh6sysresources" ]; then
xrdb -merge "$rh6sysresources"
fi
if [ -f "$sysresources" ]; then
xrdb -merge "$sysresources"
elif [ -d "$sysresources" ]; then
# directory of Xresources files on Debian/Ubuntu
for i in `ls "$sysresources"` ; do
if [ -r "$sysresources/$i" -a -f "$sysresources/$i" ] && expr
"$i" : '^[[:alnum:]_-]\+$' > /dev/null; then
xrdb -merge "$sysresources/$i"
fi
done
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$sysxkbmap" ]; then
setxkbmap `cat "$sysxkbmap"`
XKB_IN_USE=yes
fi
if [ -f "$userxkbmap" ]; then
setxkbmap `cat "$userxkbmap"`
XKB_IN_USE=yes
fi
if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then
if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f
/etc/X11/XF86Config ]; then
xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[
]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config`
if [ -n "$xkbsymbols" ]; then
setxkbmap -symbols "$xkbsymbols"
XKB_IN_USE=yes
fi
fi
fi
if [ -z "$XKB_IN_USE" ]; then
if [ -f "$rh6sysmodmap" ]; then
xmodmap "$rh6sysmodmap"
fi
if [ -f "$sysmodmap" ]; then
xmodmap "$sysmodmap"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
fi
unset XKB_IN_USE
xhost +si:localuser:`id -un` || :
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for i in /etc/X11/xinit/xinitrc.d/* ; do
if [ -x "$i" -a ! -d "$i" ]; then
. "$i"
fi
done
fi
OPTIONFILE=/etc/X11/Xsession.options
USERXSESSION=$HOME/.xsession
USERXSESSIONRC=$HOME/.xsessionrc
ALTUSERXSESSION=$HOME/.Xsession
if [ -d /etc/X11/Xsession.d ]; then
for i in `ls /etc/X11/Xsession.d/` ; do
if [ -r "/etc/X11/Xsession.d/$i" -a -f "/etc/X11/Xsession.d/$i"
] && expr "$i" : '^[[:alnum:]_-]\+$' > /dev/null; then
. "/etc/X11/Xsession.d/$i"
fi
done
fi
if [ "x$command" = "xdefault" ] ; then
if [ -x "$HOME/.Xclients" ]; then
command="$HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
command="/etc/X11/xinit/Xclients"
elif [ -x /etc/X11/Xclients ]; then
command="/etc/X11/Xclients"
else
if [ -n "$zenity" ] ; then
disptext=`gettextfunc "System has no Xclients file, so starting a
failsafe xterm session. Windows will have focus only if the mouse
pointer is above them. To get out of this mode type 'exit' in the window."`
"$zenity" --info --text "$disptext"
else
echo "$0: Cannot find Xclients"
fi
exec xterm -geometry 80x24+0+0
fi
fi
sshagent="`gdmwhich ssh-agent`"
if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
command="$sshagent -- $command"
elif [ -z "$sshagent" ] ; then
echo "$0: ssh-agent not found!"
fi
echo "$0: Setup done, will execute: $command"
eval exec $command
echo "$0: Executing $command failed, will run xterm"
if [ -n "$zenity" ] ; then
disptext=`gettextfunc "Failed to start the session, so starting a
failsafe xterm session. Windows will have focus only if the mouse
pointer is above them. To get out of this mode type 'exit' in the window."`
"$zenity" --info --text "$disptext"
fi
exec xterm -geometry 80x24+0+0
-- debconf information:
gdm3/daemon_name: /usr/sbin/gdm3
* shared/default-x-display-manager: gdm3
More information about the pkg-gnome-maintainers
mailing list