Bug#979752: nethack-qt: This process is currently running setuid or setgid. ... Refusing to initialize GTK+.

Paul Wise pabs at debian.org
Mon Jan 11 05:16:45 GMT 2021


Package: nethack-qt
Version: 3.6.6-2
Severity: normal
File: /usr/games/nethack-qt
Usertags: wayland

Under GNOME Wayland, nethack-qt seems to load something from GTK, which
does not like to be run setuid/setgid.

   $ nethack-qt
   Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
   
   (process:793182): Gtk-WARNING **: 12:58:50.267: This process is currently running setuid or setgid.
   This is not a supported use of GTK+. You must create a helper
   program instead. For further details, see:
   
       http://www.gtk.org/setuid.html
   
   Refusing to initialize GTK+.
   
   $ sh -x /usr/games/nethack-qt
   + set -e
   + HACKSTYLE=qt
   + [ -z  ]
   + [ -e /home/pabs/.nethackrc.qt ]
   + NETHACKOPTIONS=/home/pabs/.nethackrc.qt
   + export NETHACKOPTIONS
   + HACKDIR=/usr/lib/games/nethack
   + export HACKDIR
   + HACK=/usr/lib/games/nethack/nethack-qt
   + cd /usr/lib/games/nethack
   + export OVERRIDEWIN=qt
   + exec /usr/lib/games/nethack/nethack-qt
   Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
   
   (process:793211): Gtk-WARNING **: 12:58:54.743: This process is currently running setuid or setgid.
   This is not a supported use of GTK+. You must create a helper
   program instead. For further details, see:
   
       http://www.gtk.org/setuid.html
   
   Refusing to initialize GTK+.
   
   $ lddtree /usr/lib/games/nethack/nethack-qt | grep -i gtk
   
   $ ls -l /usr/lib/games/nethack/nethack-qt
   -rwxr-sr-x 1 root games 3.0M Jan  9 23:34 /usr/lib/games/nethack/nethack-qt*
   
-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nethack-qt depends on:
ii  libc6              2.31-9
ii  libgcc-s1          10.2.1-3
ii  libqt5core5a       5.15.2+dfsg-2
ii  libqt5gui5         5.15.2+dfsg-2
ii  libqt5multimedia5  5.15.2-2
ii  libqt5widgets5     5.15.2+dfsg-2
ii  libstdc++6         10.2.1-3
ii  nethack-common     3.6.6-2

nethack-qt recommends no packages.

nethack-qt suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20210111/6800e639/attachment-0001.sig>


More information about the Pkg-games-devel mailing list