Comment # 2 on bug 1226388 from Stefan Hundhammer
I can 100% reproduce this problem on the latest TW with all updates.

But it's not just that YaST module, it's the 'targetcli' command in general:


>> balrog-tw-dev:~ # rpm -qa "*targetcli*"
>> 
>> python311-targetcli-fb-2.1.57-2.3.noarch
>> targetcli-fb-common-2.1.57-2.3.noarch
>> 
>> balrog-tw-dev:~ # targetcli
>> 
>> name 'glob' is not defined
>> 
>> balrog-tw-dev:~ # echo $?
>> 
>> 255
>> 
>> balrog-tw-dev:~ # whoami
>> 
>> root

>> balrog-tw-dev:~ # cat /etc/os-release
>> 
>> NAME="openSUSE Tumbleweed"
>> # VERSION="20240613"
>> ID="opensuse-tumbleweed"
>> ID_LIKE="opensuse suse"
>> VERSION_ID="20240613"
>> PRETTY_NAME="openSUSE Tumbleweed"
>> ANSI_COLOR="0;32"
>> # CPE 2.3 format, boo#1217921
>> CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20240613:*:*:*:*:*:*:*"
>> #CPE 2.2 format
>> #CPE_NAME="cpe:/o:opensuse:tumbleweed:20240613"
>> BUG_REPORT_URL="https://bugzilla.opensuse.org"
>> SUPPORT_URL="https://bugs.opensuse.org"
>> HOME_URL="https://www.opensuse.org"
>> DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
>> LOGO="distributor-logo-Tumbleweed"

And despite my default python is still 2.7, it should work because
/usr/bin/targetcli is a symlink to /etc/alternatives/targetcli which in turn is
a symlink to /usr/bin/targetcli-3.11, which has a correct shell she-bang

  #!/usr/bin/python3.11

which is installed and works fine.


You are receiving this mail because: