[Pkg-zsh-devel] Bug#1011088: zsh: wrong $PATH for regular user under GNOME/Wayland
Jan Dittberner
jandd at debian.org
Mon May 16 18:49:09 BST 2022
Package: zsh
Version: 5.8.1-1+b1
Severity: normal
Dear Maintainer,
in a fresh Bookworm installation with GNOME I installed zsh and set users'
shell to /usr/bin/zsh using chsh -s /usr/bin/zsh $USER. Logout/login (via GDM)
select option 2 (copy default .zsh setup).
* What exactly did you do (or not do) that was effective (or
ineffective)?
I observed the effect on an upgraded Buster installation first. I did a fresh
testing installation in a KVM/QEMU VM and observed the same issue.
The problem does not occur in a GNOME/Xorg session, so it seems to be a
combination of GNOME/Wayland and zsh that triggers the issue.
I tested with a bash login shell which had $PATH set correctly.
* What was the outcome of this action?
% echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
* What outcome did you expect instead?
same behavior as with a bash login shell (or zsh in a GNOME/Xorg session):
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
-- Package-specific info:
Packages which provide vendor completions:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================-============-============-==========================================================
ii bubblewrap 0.6.1-1 amd64 utility for unprivileged chroot and namespace manipulation
ii pulseaudio-utils 15.0+dfsg1-4 amd64 Command line tools for the PulseAudio sound server
ii systemd 250.4-1 amd64 system and service manager
ii udev 250.4-1 amd64 /dev/ and hotplug management daemon
dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.17.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 zsh depends on:
ii libc6 2.33-7
ii libcap2 1:2.44-1
ii libtinfo6 6.3+20220423-2
ii zsh-common 5.8.1-1
Versions of packages zsh recommends:
ii libgdbm6 1.23-1
ii libncursesw6 6.3+20220423-2
ii libpcre3 2:8.39-14
Versions of packages zsh suggests:
pn zsh-doc <none>
-- no debconf information
More information about the Pkg-zsh-devel
mailing list