Garuda System Settings Shell Changes Point to Incorrect Locations

Hello,

I wasn’t sure where to report this bug, so I’m reporting it here.

First of all, I just installed Garuda Dr460nized and it’s an absolutely beautiful way to run Arch Linux, so props there.

I was checking out the System Maintenance app and I must say compared to OpenMandriva’s and OpenSuse’s, this one is by the far the nicest. However, I went to change my shell under System settings and discovered that all of the shells are pointed to /usr/sbin/, when they are actually located in /usr/bin/, or in the case of BASH, /bin/bash. The first time I made the change, I didn’t really read it (I know, my fault) and found myself unable to login as my user. Thankfully I was able to login as root and change the shell manually.

Output for BASH:

+ set -e
++ which bash
+ chsh -s /usr/sbin/bash nymusicman
chsh: Warning: "/usr/sbin/bash" is not listed in /etc/shells.
Changing shell for nymusicman.
Shell changed.
+ echo 'Shell changed.'
Shell changed.

Output for Fish:

+ set -e
++ which fish
+ chsh -s /usr/sbin/fish nymusicman
chsh: Warning: "/usr/sbin/fish" is not listed in /etc/shells.
Changing shell for nymusicman.
Shell changed.
+ echo 'Shell changed.'
Shell changed.

garuda-inxi

System:
Kernel: 6.14.4-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=a4ddf9e4-3bc7-4055-8b24-cad9e057f829 rw rootflags=subvol=@
quiet resume=UUID=701d964f-57d0-4c5f-9ae6-1930fa9efc43 loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.3.4 tk: Qt v: N/A info: frameworks v: 6.13.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Mini-pc System: AZW product: SER8 v: N/A serial: <superuser required>
Chassis: type: 35 serial: <superuser required>
Mobo: AZW model: SER8 v: V10 serial: <superuser required> part-nu: 75
uuid: <superuser required> UEFI: American Megatrends LLC.
v: HPT.8xxx.SER8.V029.P8C0M0C15.13.Link date: 02/21/2025
Battery:
Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: AMD Ryzen 7 8745HS w/ Radeon 780M Graphics bits: 64
type: MT MCP arch: Zen 4 gen: 4 level: v4 note: check built: 2022+
process: TSMC n5 (5nm) family: 0x19 (25) model-id: 0x75 (117) stepping: 2
microcode: 0xA705206
Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB
desc: 8x1024 KiB L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 1419 min/max: 400/4966 boost: enabled scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 1419 2: 1419 3: 1419
4: 1419 5: 1419 6: 1419 7: 1419 8: 1419 9: 1419 10: 1419 11: 1419 12: 1419
13: 1419 14: 1419 15: 1419 16: 1419 bogomips: 121370
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Phoenix3 driver: amdgpu v: kernel
arch: RDNA-3 code: Phoenix process: TSMC n4 (4nm) built: 2023+ pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: DP-1 off: HDMI-A-1 empty: DP-2,
DP-3, DP-4, DP-5, DP-6, Writeback-1 bus-ID: 65:00.0 chip-ID: 1002:1900
class-ID: 0300 temp: 30.0 C
Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
Monitor-1: DP-1 model: Acer R240HY serial: <filter> built: 2016 res:
mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 93 gamma: 1.2
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-2: HDMI-A-1 model: ARZOPA serial: <filter> built: 2016
res: 1920x1080 dpi: 82 gamma: 1.2 size: 597x336mm (23.5x13.23")
diag: 685mm (27") ratio: 16:9 modes: max: 1920x1080 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
wayland: drv: radeonsi x11: drv: radeonsi
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.4-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
phoenix LLVM 19.1.7 DRM 3.61 6.14.4-zen1-2-zen) device-ID: 1002:1900
memory: 3.91 GiB unified: no display-ID: :1.0
API: Vulkan v: 1.4.309 layers: 9 device: 0 type: integrated-gpu name: AMD
Radeon Graphics (RADV PHOENIX) driver: mesa radv v: 25.0.4-arch1.1
device-ID: 1002:1900 surfaces: xcb,xlib,wayland device: 1 type: cpu
name: llvmpipe (LLVM 19.1.7 256 bits) driver: mesa llvmpipe
v: 25.0.4-arch1.1 (LLVM 19.1.7) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor wl: wayland-info
x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
Audio driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 65:00.1 chip-ID: 1002:1640 class-ID: 0403
Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
driver: snd_pci_ps v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x,
snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
snd_sof_amd_acp63, snd_sof_amd_acp70 pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 65:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 65:00.6 chip-ID: 1022:15e3 class-ID: 0403
Device-4: Texas Instruments PCM2704 16-bit stereo audio DAC
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 5-1.4:5 chip-ID: 08bb:2704 class-ID: 0300
Device-5: Realtek USB Audio Device
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 7-1.1.4:11 chip-ID: 0bda:4009 class-ID: 0300
API: ALSA v: k6.14.4-zen1-2-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.4.2 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8125 2.5GbE driver: r8169 v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0 chip-ID: 10ec:8125
class-ID: 0200
IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp2s0 state: down mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:3 chip-ID: 8087:0029
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c0104
Device-2: Realtek driver: btusb v: 0.8 type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 5-1.1:3 chip-ID: 0bda:a729 class-ID: e001
serial: <filter>
Report: ID: hci2 rfk-id: 4 state: up address: <filter> bt-v: 5.1 lmp-v: 10
status: discoverable: no pairing: no class-ID: 6c0104
Drives:
Local Storage: total: 931.51 GiB used: 21.35 GiB (2.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT1000P3PSSD8
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: P9CR413 temp: 26.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 901.32 GiB size: 901.32 GiB (100.00%)
used: 21.35 GiB (2.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 608 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 901.32 GiB size: 901.32 GiB (100.00%)
used: 21.35 GiB (2.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 901.32 GiB size: 901.32 GiB (100.00%)
used: 21.35 GiB (2.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 901.32 GiB size: 901.32 GiB (100.00%)
used: 21.35 GiB (2.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: partition size: 29.9 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
ID-2: swap-2 type: zram size: 27.17 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 16
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 35.8 C mobo: 35.5 C gpu: amdgpu temp: 31.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 28 GiB available: 27.18 GiB used: 4.58 GiB (16.9%)
Processes: 406 Power: uptime: 16m states: freeze,mem,disk suspend: s2idle
wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
image: 10.86 GiB services: org_kde_powerdevil, power-profiles-daemon,
upowerd Init: systemd v: 257 default: graphical tool: systemctl
Packages: pm: pacman pkgs: 1547 libs: 395 tools: octopi,paru Compilers:
clang: 19.1.7 gcc: 15.1.1 Shell: garuda-inxi default: fish v: 4.0.2
running-in: konsole inxi: 3.3.38
Garuda (2.7.2-1):
System install date:     2025-04-30
Last full system update: 2025-05-01
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       Probably (Run as root to verify)
Failed units:
2 Likes

Huh…that’s an odd one. :thinking:

As far as I can tell, the application is not hardcoded to use /usr/sbin; it seems to use which just like the output says. I’m not sure, but I think this is where it is coming from: src/app/task-manager/os-interact.service.ts · main · Garuda Linux 🦅 / Applications / Reliable Assistant for Native Installations · GitLab

    const shell = this.shell();
    if (shell !== null && shell !== this.currentShell()) {
      script_services += `
            set -e
            chsh -s $(which ${shell.name}) ${this.configService.state().user}
            echo "Shell changed."
            `;
    }

The weird thing is, which doesn’t give me /usr/sbin if I just run it straight in the terminal.

❯ which bash
/usr/bin/bash

❯ which fish
/usr/bin/fish

There must be something specific to how Rani handles this causing which to come up with /usr/sbin. :face_with_monocle:

@dr460nf1r3, can you take a look when you have a chance? It may have to wait until after finals week though! :face_with_peeking_eye:

7 Likes

From a quick look, it must be PATH being different in Rani job executions. Which leads me to Tauri’s shell plugin maybe causing it (it is used to spawn the bash executions).
Can likely fix it by providing it explicitly without?

But yeah, I should be learning right now, ahaha. God-damn it, I’ve never been disciplined or good at that, I’m much better at learning by doing :sweat_smile:

I try to keep track of all the to-dos, but in case I forget about something, feel free to note this down so I can take a look at everything once the time arrives :slight_smile: thank you!

7 Likes

:speak_no_evil_monkey:

i booted live iso and fixed somehow few years ago nice one ;)(used xterm) :wink: