Bug ID 1159982
Summary [Build 547.2] openQA test fails in first_boot - Cannot open virtual console 7 (Permission denied)
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.2
Hardware Other
URL https://openqa.opensuse.org/tests/1129413/modules/first_boot/steps/11
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component GNOME
Assignee gnome-bugs@suse.de
Reporter mlin@suse.com
QA Contact qa-bugs@suse.de
CC systemd-maintainers@suse.de
Found By ---
Blocker ---

On from upgrade_Leap_42.3_cryptlvm@uefi to Leap 15.2 scenario[1], GDM fails to
login, however looks like terminal 7 hasn't opened or unaccessible, maybe a
problem on logind. Note that, I didn't see the same issue on other upgrade
cases, only from cryptlvm@uefi to 15.2.

Some error message below, you can find full serial output[2] and journal log[3]
in the link:

[   47.497108] /usr/lib/gdm/gdm-x-session[2548]: (--) Log file renamed from
"/home/bernhard/.local/share/xorg/Xorg.pid-2550.log" to
"/home/bernhard/.local/share/xorg/Xorg.0.log"
[   47.498815] /usr/lib/gdm/gdm-x-session[2548]: X.Org X Server 1.20.3
[   47.499793] /usr/lib/gdm/gdm-x-session[2548]: X Protocol Version 11,
Revision 0
[   47.501016] /usr/lib/gdm/gdm-x-session[2548]: Build Operating System:
openSUSE SUSE LINUX
[   47.511702] /usr/lib/gdm/gdm-x-session[2548]: Current Operating System:
Linux susetest 5.3.16-lp152.1-default #1 SMP Fri Dec 20 22:46:02 UTC 2019
(5b68843) x86_64
[   47.513320] /usr/lib/gdm/gdm-x-session[2548]: Kernel command line:
BOOT_IMAGE=/vmlinuz-5.3.16-lp152.1-default root=/dev/mapper/system-root
video=1024x768-16 plymouth.ignore-serial-consoles console=ttyS0 console=tty
resume=/dev/system/swap splash=silent showopts splash=silent video=1024x768
plymouth.ignore-serial-consoles console=ttyS0 console=tty
resume=/dev/system/swap mitigations=auto quiet
[   47.524581] /usr/lib/gdm/gdm-x-session[2548]: Build Date: 18 January 2019 
12:00:00PM
[   47.525710] /usr/lib/gdm/gdm-x-session[2548]:  
[   47.526583] /usr/lib/gdm/gdm-x-session[2548]: Current version of pixman:
0.34.0
[   47.527676] /usr/lib/gdm/gdm-x-session[2548]:     Before reporting problems,
check http://wiki.x.org
[   47.528998] /usr/lib/gdm/gdm-x-session[2548]:     to make sure that you have
the latest version.
[   47.540214] /usr/lib/gdm/gdm-x-session[2548]: Markers: (--) probed, (**)
from config file, (==) default setting,
[   47.541478] /usr/lib/gdm/gdm-x-session[2548]:     (++) from command line,
(!!) notice, (II) informational,
[   47.542714] /usr/lib/gdm/gdm-x-session[2548]:     (WW) warning, (EE) error,
(NI) not implemented, (??) unknown.
[   47.543916] /usr/lib/gdm/gdm-x-session[2548]: (==) Log file:
"/home/bernhard/.local/share/xorg/Xorg.0.log", Time: Wed Jan  1 04:01:35 2020
[   47.545319] /usr/lib/gdm/gdm-x-session[2548]: (==) Using config directory:
"/etc/X11/xorg.conf.d"
[   47.546429] /usr/lib/gdm/gdm-x-session[2548]: (==) Using system config
directory "/usr/share/X11/xorg.conf.d"
[   47.547632] /usr/lib/gdm/gdm-x-session[2548]: (==) No Layout section.  Using
the first Screen section.
[   47.548778] /usr/lib/gdm/gdm-x-session[2548]: (==) No screen section
available. Using defaults.
[   47.556264] /usr/lib/gdm/gdm-x-session[2548]: (**) |-->Screen "Default
Screen Section" (0)
[   47.557455] /usr/lib/gdm/gdm-x-session[2548]: (**) |   |-->Monitor "<default
monitor>"
[   47.558627] /usr/lib/gdm/gdm-x-session[2548]: (==) No monitor specified for
screen "Default Screen Section".
[   47.559870] /usr/lib/gdm/gdm-x-session[2548]:     Using a default monitor
configuration.
[   47.561047] /usr/lib/gdm/gdm-x-session[2548]: (==) Automatically adding
devices
[   47.562120] /usr/lib/gdm/gdm-x-session[2548]: (==) Automatically enabling
devices
[   47.572954] /usr/lib/gdm/gdm-x-session[2548]: (==) Automatically adding GPU
devices
[   47.574164] /usr/lib/gdm/gdm-x-session[2548]: (==) Max clients allowed: 256,
resource mask: 0x1fffff
[   47.575414] /usr/lib/gdm/gdm-x-session[2548]: (WW) The directory
"/usr/share/fonts/misc/sgi" does not exist.
[   47.576740] /usr/lib/gdm/gdm-x-session[2548]:     Entry deleted from font
path.
[   47.580153] /usr/lib/gdm/gdm-x-session[2548]: (==) FontPath set to:
[   47.581142] /usr/lib/gdm/gdm-x-session[2548]:    
/usr/share/fonts/misc:unscaled,
[   47.582400] /usr/lib/gdm/gdm-x-session[2548]:     /usr/share/fonts/Type1/,
[   47.588151] /usr/lib/gdm/gdm-x-session[2548]:    
/usr/share/fonts/100dpi:unscaled,
[   47.589277] /usr/lib/gdm/gdm-x-session[2548]:    
/usr/share/fonts/75dpi:unscaled,
[   47.590351] /usr/lib/gdm/gdm-x-session[2548]:    
/usr/share/fonts/ghostscript/,
[   47.591417] /usr/lib/gdm/gdm-x-session[2548]:    
/usr/share/fonts/cyrillic:unscaled,
[   47.609332] systemd[2536]: Reached target Basic System.
[   47.610802] /usr/lib/gdm/gdm-x-session[2548]:    
/usr/share/fonts/truetype/,
[   47.611807] /usr/lib/gdm/gdm-x-session[2548]:     built-ins
[   47.612721] /usr/lib/gdm/gdm-x-session[2548]: (==) ModulePath set to
"/usr/lib64/xorg/modules"
[   47.618983] /usr/lib/gdm/gdm-x-session[2548]: (WW) Ignoring unrecognized
extension "XFree86-DGA"
[   47.620742] /usr/lib/gdm/gdm-x-session[2548]: (II) The server relies on udev
to provide the list of input devices.
[   47.622551] /usr/lib/gdm/gdm-x-session[2548]:     If no devices become
available, reconfigure udev or disable AutoAddDevices.
[   47.628698] /usr/lib/gdm/gdm-x-session[2548]: (II) Loader magic:
0x55d189dc1d20
[   47.630165] /usr/lib/gdm/gdm-x-session[2548]: (II) Module ABI versions:
[   47.631240] /usr/lib/gdm/gdm-x-session[2548]:     X.Org ANSI C Emulation:
0.4
[   47.638397] /usr/lib/gdm/gdm-x-session[2548]:     X.Org Video Driver: 24.0
[   47.639532] /usr/lib/gdm/gdm-x-session[2548]:     X.Org XInput driver : 24.1
[   47.640583] /usr/lib/gdm/gdm-x-session[2548]:     X.Org Server Extension :
10.0
[   47.648596] /usr/lib/gdm/gdm-x-session[2548]: (++) using VT number 7
[   47.649606] /usr/lib/gdm/gdm-x-session[2548]: (EE) systemd-logind: failed to
get session: PID 2550 does not belong to any known session
[   47.650914] /usr/lib/gdm/gdm-x-session[2548]: (II) xfree86: Adding drm
device (/dev/dri/card0)
[   47.652017] /usr/lib/gdm/gdm-x-session[2548]: (--) PCI:*(0@0:2:0)
1234:1111:1af4:1100 rev 2, Mem @ 0x80000000/16777216, 0x81009000/4096, BIOS @
0x????????/131072
[   47.653547] /usr/lib/gdm/gdm-x-session[2548]: (II) LoadModule: "glx"
[   47.655732] /usr/lib/gdm/gdm-x-session[2548]: (II) Loading
/usr/lib64/xorg/modules/extensions/libglx.so
[   47.659550] /usr/lib/gdm/gdm-x-session[2548]: (II) Module glx: vendor="X.Org
Foundation"
[   47.665026] /usr/lib/gdm/gdm-x-session[2548]:     compiled for 1.20.3,
module version = 1.0.0
[   47.666282] /usr/lib/gdm/gdm-x-session[2548]:     ABI class: X.Org Server
Extension, version 10.0
[   47.667584] /usr/lib/gdm/gdm-x-session[2548]: (II) Scanning
/etc/X11/xorg_pci_ids directory for additional PCI ID's supported by the
drivers
[   47.671981] /usr/lib/gdm/gdm-x-session[2548]: (II) Scanning
/etc/X11/xorg_pci_ids directory for additional PCI ID's supported by the
drivers
[   47.675671] /usr/lib/gdm/gdm-x-session[2548]: (==) Matched modesetting as
autoconfigured driver 0
[   47.679025] /usr/lib/gdm/gdm-x-session[2548]: (==) Matched fbdev as
autoconfigured driver 1
[   47.680610] /usr/lib/gdm/gdm-x-session[2548]: (==) Matched vesa as
autoconfigured driver 2
[   47.688427] /usr/lib/gdm/gdm-x-session[2548]: (==) Assigned the driver to
the xf86ConfigLayout
[   47.689646] /usr/lib/gdm/gdm-x-session[2548]: (II) LoadModule: "modesetting"
[   47.690688] /usr/lib/gdm/gdm-x-session[2548]: (II) Loading
/usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   47.692019] /usr/lib/gdm/gdm-x-session[2548]: (II) Module modesetting:
vendor="X.Org Foundation"
[   47.693164] /usr/lib/gdm/gdm-x-session[2548]:     compiled for 1.20.3,
module version = 1.20.3
[   47.694307] /usr/lib/gdm/gdm-x-session[2548]:     Module class: X.Org Video
Driver
[   47.700210] /usr/lib/gdm/gdm-x-session[2548]:     ABI class: X.Org Video
Driver, version 24.0
[   47.701348] /usr/lib/gdm/gdm-x-session[2548]: (II) LoadModule: "fbdev"
[   47.702659] /usr/lib/gdm/gdm-x-session[2548]: (II) Loading
/usr/lib64/xorg/modules/drivers/fbdev_drv.so
[   47.703822] /usr/lib/gdm/gdm-x-session[2548]: (II) Module fbdev:
vendor="X.Org Foundation"
[   47.708564] /usr/lib/gdm/gdm-x-session[2548]:     compiled for 1.20.3,
module version = 0.5.0
[   47.709847] /usr/lib/gdm/gdm-x-session[2548]:     Module class: X.Org Video
Driver
[   47.716202] /usr/lib/gdm/gdm-x-session[2548]:     ABI class: X.Org Video
Driver, version 24.0
[   47.717388] /usr/lib/gdm/gdm-x-session[2548]: (II) LoadModule: "vesa"
[   47.718381] /usr/lib/gdm/gdm-x-session[2548]: (II) Loading
/usr/lib64/xorg/modules/drivers/vesa_drv.so
[   47.719703] /usr/lib/gdm/gdm-x-session[2548]: (II) Module vesa:
vendor="X.Org Foundation"
[   47.720851] /usr/lib/gdm/gdm-x-session[2548]:     compiled for 1.20.3,
module version = 2.4.0
[   47.728441] gdm-launch-environment][2571]:
pam_unix(gdm-launch-environment:session): session opened for user gdm by
(uid=0)
[   47.730084] systemd[2536]: Reached target Default.
[   47.731543] /usr/lib/gdm/gdm-x-session[2548]:     Module class: X.Org Video
Driver
[   47.732840] /usr/lib/gdm/gdm-x-session[2548]:     ABI class: X.Org Video
Driver, version 24.0
[   47.740362] /usr/lib/gdm/gdm-x-session[2548]: (II) modesetting: Driver for
Modesetting Kernel Drivers: kms
[   47.741749] /usr/lib/gdm/gdm-x-session[2548]: (II) FBDEV: driver for
framebuffer: fbdev
[   47.743057] /usr/lib/gdm/gdm-x-session[2548]: (II) VESA: driver for VESA
chipsets: vesa
[   47.744238] /usr/lib/gdm/gdm-x-session[2548]: (EE)
[   47.745129] /usr/lib/gdm/gdm-x-session[2548]: Fatal server error:
[   47.747374] /usr/lib/gdm/gdm-x-session[2548]: (EE) xf86OpenConsole: Cannot
open virtual console 7 (Permission denied)
[   47.752405] /usr/lib/gdm/gdm-x-session[2548]: (EE)
[   47.753267] /usr/lib/gdm/gdm-x-session[2548]: (EE)
[   47.754161] /usr/lib/gdm/gdm-x-session[2548]: Please consult the The X.Org
Foundation support
[   47.762693] /usr/lib/gdm/gdm-x-session[2548]:      at http://wiki.x.org
[   47.763734] /usr/lib/gdm/gdm-x-session[2548]:  for help.
[   47.764647] /usr/lib/gdm/gdm-x-session[2548]: (EE) Please also check the log
file at "/home/bernhard/.local/share/xorg/Xorg.0.log" for additional
information.
[   47.766189] /usr/lib/gdm/gdm-x-session[2548]: (EE)
[   47.767689] /usr/lib/gdm/gdm-x-session[2548]: VGA Arbitration: Cannot
restore default device.
[   47.770871] /usr/lib/gdm/gdm-x-session[2548]: (WW) xf86CloseConsole:
KDSETMODE failed: Bad file descriptor
[   47.776997] /usr/lib/gdm/gdm-x-session[2548]: (WW) xf86CloseConsole:
VT_GETMODE failed: Bad file descriptor
[   47.778218] /usr/lib/gdm/gdm-x-session[2548]: (EE) Server terminated with
error (1). Closing log file.
[   47.779396] systemd[2536]: Startup finished in 159ms.
[   47.784119] /usr/lib/gdm/gdm-x-session[2548]: Unable to run X server

[1] https://openqa.opensuse.org/tests/1129413
[2] https://openqa.opensuse.org/tests/1129413/file/serial0.txt
[3] https://openqa.opensuse.org/tests/1129413/file/first_boot-journal.log


You are receiving this mail because: