Bug#1029071: enable pam_umask usergroups by default

2023-01-17 Thread Tomas Senabre
Package: libpam-modules
Version: 1.4.0-9+deb11u1
Followup-For: Bug #583958

This bug has not yet been resolved and is still causing problems in 2023. The
setting for UMASK is not respected for logins on tty as well as via SSH or
SSHFS.  I have spent the last 10 years manually adding this configuration to
the file with every new Debian install:

echo "session optional pam_umask.so usergroups" >> /etc/pam.d/common-session

This line of code is present in most GNU/Linux distributions by default and
solves the problem.


-- System Information:
Debian Release: 11.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-20-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpam-modules depends on:
ii  debconf [debconf-2.0]  1.5.77
ii  libaudit1  1:3.0-2
ii  libc6  2.31-13+deb11u5
ii  libcrypt1  1:4.4.18-4
ii  libdb5.3   5.3.28+dfsg1-0.8
ii  libnsl21.3.0-2
ii  libpam-modules-bin 1.4.0-9+deb11u1
ii  libpam0g   1.4.0-9+deb11u1
ii  libselinux13.1-3
ii  libtirpc3  1.3.1-1+deb11u1

libpam-modules recommends no packages.



Bug#1000160: firmware: failed to load nouveau/nvc3_fuc084 and nvc3_fuc084d

2021-11-18 Thread Tomas Senabre
Package: xserver-xorg-video-nouveau
Version: 1:1.0.17-1
Severity: normal
Tags: upstream

I continually receive failure messages to load the firmware:

[ 4138.126756] nouveau :03:00.0: firmware: failed to load
nouveau/nvc3_fuc084 (-2)
[ 4138.126762] nouveau :03:00.0: Direct firmware load for
nouveau/nvc3_fuc084 failed with error -2
[ 4138.126771] nouveau :03:00.0: firmware: failed to load
nouveau/nvc3_fuc084d (-2)
[ 4138.126773] nouveau :03:00.0: Direct firmware load for
nouveau/nvc3_fuc084d failed with error -2
[ 4138.126774] nouveau :03:00.0: msvld: unable to load firmware data
[ 4138.126776] nouveau :03:00.0: msvld: init failed, -19


System description:

~$ dmesg | grep nvidia
[5.758958] audit: type=1400 audit(1637254492.947:7): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=737
comm="apparmor_parser"
[5.758962] audit: type=1400 audit(1637254492.947:8): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod"
pid=737 comm="apparmor_parser"

~$ lspci | grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GF106GL [Quadro 2000]
(rev a1)

OS: Debian GNU/Linux 11 (bullseye) x86_64
Host: 0606AD5 ThinkStation S30
Kernel: 5.10.0-9-amd64
Resolution: 1920x1200, 1680x1050 Twin Display
DE: Xfce 4.16
CPU: Intel Xeon E5-1607 0 (4) @ 3.000GHz
GPU: NVIDIA Quadro 2000
Memory: 3698MiB / 32064MiB

Thanks for your help
Tomas





-- Package-specific info:
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

VGA-compatible devices on PCI bus:
--
03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF106GL [Quadro 
2000] [10de:0dd8] (rev a1)

/etc/X11/xorg.conf does not exist.

Contents of /etc/X11/xorg.conf.d:
-
total 4
-rw-r--r-- 1 root root 673 Jul 17 18:33 72-wacom-options.conf

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 5.10.0-9-amd64 (debian-ker...@lists.debian.org) (gcc-10 (Debian 
10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP 
Debian 5.10.70-1 (2021-09-30)

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 77039 Nov 18 20:08 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[ 6.147] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 6.147] Build Operating System: linux Debian
[ 6.147] Current Operating System: Linux luna 5.10.0-9-amd64 #1 SMP Debian 
5.10.70-1 (2021-09-30) x86_64
[ 6.147] Kernel command line: BOOT_IMAGE=/vmlinuz-5.10.0-9-amd64 
root=UUID=d1e1a232-915b-4a5c-9f1b-1c03f1688679 ro quiet
[ 6.147] Build Date: 13 April 2021  04:07:31PM
[ 6.147] xorg-server 2:1.20.11-1 (https://www.debian.org/support) 
[ 6.147] Current version of pixman: 0.40.0
[ 6.147]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6.147] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6.147] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 18 17:54:53 
2021
[ 6.153] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 6.153] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 6.161] (==) No Layout section.  Using the first Screen section.
[ 6.161] (==) No screen section available. Using defaults.
[ 6.161] (**) |-->Screen "Default Screen Section" (0)
[ 6.161] (**) |   |-->Monitor ""
[ 6.162] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 6.162] (==) Automatically adding devices
[ 6.162] (==) Automatically enabling devices
[ 6.162] (==) Automatically adding GPU devices
[ 6.162] (==) Max clients allowed: 256, resource mask: 0x1f
[ 6.166] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 6.166]Entry deleted from font path.
[ 6.171] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 6.171] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 6.171] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[ 6.171] (II) Loader magic: 0x558b4f382e40
[ 6.171] (II) Module ABI versions:
[ 6.171]X.Org ANSI C Emulation: 0.4
[ 6.171]X.Org Video Driver: 24.1
[ 6.172]X.Org XInput 

Bug#999829: mayavi2: Mayavi 4.7.1-2+b2 do not start in GNU/Debian Bullseye with apt installation

2021-11-17 Thread Tomas Senabre
Package: mayavi2
Version: 4.7.1-2+b2
Severity: important
Tags: upstream




-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mayavi2 depends on:
ii  libc6   2.31-13+deb11u2
ii  libjs-jquery3.5.1+dfsg+~3.5.5-7
ii  python3 3.9.2-3
ii  python3-apptools4.5.0-1.1
ii  python3-configobj   5.0.6-4
ii  python3-envisage4.9.0-2.1
ii  python3-numpy [python3-numpy-abi9]  1:1.19.5-1
ii  python3-pkg-resources   52.0.0-4
ii  python3-pyface  6.1.2-2
ii  python3-pygments2.7.1+dfsg-2.1
ii  python3-traits  5.2.0-2+b3
ii  python3-traitsui6.1.3-3
ii  python3-vtk77.1.1+dfsg2-8

mayavi2 recommends no packages.

Versions of packages mayavi2 suggests:
ii  ipython3   7.20.0-1
ii  python3-scipy  1.6.0-2

Bug description:
I have a stable GNU / Debian 11 installation (Bullseye), and I have installed
Mayavi 4.7.1-2+b2 from the repositories but the software do not work from the
GUI. I get errors in the console like this:

~$ mayavi2
08:07:07: Debug: Adding duplicate image handler for 'Windows bitmap file'
08:07:07: Debug: Adding duplicate image handler for 'Windows bitmap file'
/usr/lib/python3/dist-packages/pyface/ui/wx/clipboard.py:25:
wxPyDeprecationWarning: Call to deprecated item. Use wx.DataFormat instead.
  PythonObjectFormat = wx.CustomDataFormat('PythonObject')
/usr/lib/python3/dist-packages/pyface/wx/drag_and_drop.py:99:
wxPyDeprecationWarning: Call to deprecated item. Use wx.DataFormat instead.
  PythonObject = wx.CustomDataFormat('PythonObject')
Exception occurred in traits notification handler.
Please check the log file for details.
Exception occurred in traits notification handler for object:
,
trait: application, old value: None, new value:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/traits/trait_notifiers.py", line 654, in
_dispatch_change_event
self.dispatch(handler, *args)
  File "/usr/lib/python3/dist-packages/traits/trait_notifiers.py", line 553, in
dispatch
handler(*args)
  File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 498, in
handle_simple
self.next.register(new)
  File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 464, in
register
value = getattr(self, type)(new, name, False)
  File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 738, in
_register_simple
return next.register(getattr(object, name))
  File "/usr/lib/python3/dist-
packages/envisage/ui/workbench/workbench_application.py", line 140, in
_gui_default
return GUI(splash_screen=self.splash_screen)
  File "/usr/lib/python3/dist-packages/pyface/ui/wx/gui.py", line 60, in
__init__
self._splash_screen.open()
  File "/usr/lib/python3/dist-packages/pyface/i_splash_screen.py", line 79, in
open
super(MSplashScreen, self).open()
  File "/usr/lib/python3/dist-packages/pyface/i_window.py", line 202, in open
self._create()
  File "/usr/lib/python3/dist-packages/pyface/i_widget.py", line 112, in
_create
self.control = self._create_control(self.parent)
  File "/usr/lib/python3/dist-packages/pyface/ui/wx/splash_screen.py", line 69,
in _create_control
splash_screen = wx.SplashScreen(
AttributeError: module 'wx' has no attribute 'SplashScreen'
Exception occurred in traits notification handler for object:
<__main__.MayaviApp object at 0x7f8e73098860>, trait: application, old value:
None, new value:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/traits/trait_notifiers.py", line 654, in
_dispatch_change_event
self.dispatch(handler, *args)
  File "/usr/lib/python3/dist-packages/traits/trait_notifiers.py", line 553, in
dispatch
handler(*args)
  File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 498, in
handle_simple
self.next.register(new)
  File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 464, in
register
value = getattr(self, type)(new, name, False)
  File "/usr/lib/python3/dist-packages/traits/traits_listener.py", line 738, in
_register_simple
return next.register(getattr(object, name))
  File "/usr/lib/python3/dist-
packages/envisage/ui/workbench/workbench_application.py", line 140, in
_gui_default
return GUI(splash_screen=self.splash_screen)
  File "/usr/lib/python3/dist-packages/pyface/ui/wx/gui.py", line 60, in
__init__

Bug#999828: grass-gui: Some tools (v.import; v.in.ogr; r.import) do not start on GUI

2021-11-17 Thread Tomas Senabre
Package: grass-gui
Version: 7.8.5-1
Severity: important
Tags: upstream




-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grass-gui depends on:
ii  grass-core7.8.5-1
ii  python3   3.9.2-3
ii  python3-numpy [python3-numpy-abi9]1:1.19.5-1
ii  python3-opengl3.1.5+dfsg-1
ii  python3-wxgtk4.0  4.0.7+dfsg-10
ii  terminator [x-terminal-emulator]  2.1.0-2
ii  xfce4-terminal [x-terminal-emulator]  0.8.10-1
ii  xterm [x-terminal-emulator]   366-1

Versions of packages grass-gui recommends:
ii  ghostscript 9.53.3~dfsg-7+deb11u1
ii  python3-matplotlib  3.3.4-1
ii  python3-pil 8.1.2+dfsg-0.3

Describe the bug
I have a stable GNU / Debian 11 installation (Bullseye), and I have installed
Grass from the repositories, version 7.8.5-1, but the layer import tools do not
work from the GUI.

To Reproduce
Just launch these tools (v.import; v.in.ogr; r.import) from the GUI or from
command console. I get errors in the console like this:

GRASS 7.8.5 (Almeria_ETRS89):/media/SIG/grassdata > v.in.ogr
Traceback (most recent call last):
  File "/usr/lib/grass78/gui/wxpython/gui_core/forms.py", line 3005, in OnInit
self.mf = TaskFrame(
  File "/usr/lib/grass78/gui/wxpython/gui_core/forms.py", line 546, in __init__
self.notebookpanel = CmdPanel(
  File "/usr/lib/grass78/gui/wxpython/gui_core/forms.py", line 2035, in
__init__
win = gselect.GdalSelect(parent=parent, panel=which_panel,
  File "/usr/lib/grass78/gui/wxpython/gui_core/gselect.py", line 1520, in
__init__
fileFormats = GetFormats(writableOnly=dest)[fType]['file']
  File "/usr/lib/grass78/gui/wxpython/core/utils.py", line 713, in GetFormats
gdalAll, gdalWritable = _getGDALFormats()
  File "/usr/lib/grass78/gui/wxpython/core/utils.py", line 645, in
_getGDALFormats
return _parseFormats(ret), _parseFormats(ret, writableOnly=True)
  File "/usr/lib/grass78/gui/wxpython/core/utils.py", line 675, in
_parseFormats
key, name = map(lambda x: x.strip(), line.strip().rsplit(':', -1))
ValueError: too many values to unpack (expected 2)
OnInit returned false, exiting...

System description:
I have tried on three different computers with the same operating system, and
the error is reproduced on all of them.

Details about further software components

GRASS 7.8.5 > g.version -rge
version=7.8.5
date=2020
revision=exported
build_date=2020-12-21
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=2020-12-21T21:08:55+00:00
libgis_date=2020-12-21T21:08:55+00:00
proj=7.2.0
gdal=3.2.0
geos=3.9.0
sqlite=3.34.0

$ python3 -c "import sys, wx; print(sys.version); print(wx.version())"
3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110]
4.0.7 gtk3 (phoenix) wxWidgets 3.0.5