After upgrade an unusual behavior

So after another system update it happened again. This time I have intsalled the newest iso available on website. Bought another ssd drive -2 times larger than system partition (just for snapshots & backup purpose). What I have done differently this time - instead of manual creating partitions and seting up boot flags etc , allowed installer to handle that for me.
This way I'm expecting I've got subvolumes created properly.
Will keep posting regarding futher problems with upgrade.

It would seem to me you have a problem with your user’s ID and your group ID being different. IMO both should be 1000.

https://wiki.archlinux.org/index.php/Users_and_groups

For whatever reason, (my guess would be docker) somehow your gid has been altered. Are you using the guest account, or Multi-booting?

I suggest after reinstalling Garuda you refrain from installing timeshift and docker and then perform your updates. If you are using a more or less stock Garuda install this issue is unlikely to occur IMO, (or it would be commonly reported). It seems to me some misconfiguration on your part is causing this issue or there would be many similar reports, (if it was a Garuda configuration issue at fault).

If it doesn’t happen after a stock Garuda install and couple of update/reboot cycles then this would indicate a user initiated change is creating this problem. After installation only make one change at a time, then update and reboot to isolate the cause of your issue.

Edit:

If performing a new installation, be sure not to use autologin, and do not install the guest account package to limit the variables involved.

3 Likes

Alfter reinstalling what I see currently id looks pretty much the same according to groups:

id
uid=1000(zawier) gid=1001(zawier) groups=1001(zawier),50(games),971(realtime),972(libvirt),985(video),991(lp),992(kvm),994(input),998(wheel),1000(autologin)

Not many apps were installed yet, which is going to change soon. For my curiocity I have checked how it looks like in case of my Ubuntu system :

zawier@Brix-Ubuntu:~$ id
uid=1000(zawier) gid=1000(zawier) groups=1000(zawier),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),131(lxd),132(sambashare),136(docker)

So Ubuntu according to your opinion is correct. What’s more I have also docker and timeshift installed there :

zawier@Brix-Ubuntu:~$ docker --version
Docker version 20.10.12, build 20.10.12-0ubuntu4
Timeshift v21.09.1 by Tony George ([email protected])

Bying honest I don’t know why in case of garuda distro my gid and group id are different. During installation of fresh system there literally is nothing what you can change about it. Just simple insert name , host name etc. So there is no my fault the system assigned it that way.

Ok, I will hold on with docker and TS right now until a couples of upgrades. But I just can’t believe that our community doesn’t use that software :slight_smile: I have read post regarding snapper on our forum and some folks claimed to stick with TS like me.

Ok, that’s weird since autologin is one of the options during installation and I have check it because I’m the only user of that account, so why to bother with login on system start up? Guest account - don’t remember to change anything about. It just exists without my integration.

My first approach included multi booting (grub + linux + windows). But from around 1 year my Linux system is independent (standard grub + garuda). In case when want to select windows system then I turn on windows ssd and turn off garuda ssd (I’m able to achieve it because on my pc front panel has manual switches). So let’s assume I just don’t have a multibooting :wink:

You do you :hugs:

1 Like

Here’s an old post of mine explaining how to change the uid/gid to 1000:

1 Like

Thank you tgb, I'm going to change it, but here comes a questions:
-why on fresh install from newest iso those values are inccorrect while I didn't mess with them?
-do I need stil remove guest account? If yes , then why it's installing by default from installer?

I personally would remove the guest account and install it after you get your system straightened out if you really want it. It is installed by default in case you let others use your computer then they can’t snoop at your stuff. It is for extra security.

Just a complete guess, but I’d speculate it has something to do with Ubuntu being installed on your system.

Are you sharing directories or partitions with Ubuntu? Perhaps the installer detected there was already a user 1000 on the system, and therefore allocated the new user 1001.

Not at all. That’re 2 different machines. The only way they has could connect was either thru sshd or vnc. I wouln’d blame Ubuntu here while it has nothing common here. Faster KDE Connect where my phone is named “zawier” as well. But KDE Connect was set up after I have checked IDs. So the same story like with Ubuntu.

Just curious, what is gid 1000 being used for?

image

:point_up_2: Sorry to post a screenshot of the command; Discourse is giving me a 403 error if I type out the path. :man_shrugging:

1 Like

group between ~~~ seems the guilty. :smiley:

cat /etc/grou | grep 1000
3 Likes

I bet it's the web application firewall interfering :face_with_monocle:

1 Like

If you do a Whoogle search for "403 site:meta.discourse.org" you will get a ton of hits for discussions about why this happens or how to get around it. Certain words or word combinations appear to trigger 403 for some people but not others, or some forums and not others. I don't understand specifically what triggers it.

In a lot of cases it appears this happens on purpose (precautionary measures against malicious behavior perhaps), but in our example here with /etc/group it just seems strange and unhelpful.

2 Likes

You get the error by typing, not by hitting the Replay button.

The values are not incorrect, or wrong. It’s only a cosmetic thing, not practical problem. It’s an Admin related issue and you can learn more about it in relevant wiki and man pages.

The only issue you probably have (or had) is permissions to your $HOME folder, especially (if not just only) ~/.Xauthority permissions. This happens when you login your account with sudo from TTY. I don’t know what is exactly your case, but it looks similar.
So, I suggest you read about permissions and how to not break your user account, just for prevention :wink: .

1 Like

Ok, then I have to ask one more time - why on newest iso during installation you won’t change it while it’s easy? :slight_smile: Why system allows for a such situation on fresh instance? I have done this time nothing wrong. Just followed by installer…

What do you mean? Yep, in past I’ve logged into TTY but don’t understand here sudo option. You mean for executing commands after login, right?

Tried to follow and here what comes:

╭─zawier@zawier in ~
╰─λ sudo pacman -R systemd-guest-user
[sudo] password for zawier:
error: target not found: systemd-guest-user

In TTY tried as well:

usermod -u 1000 user
groupmod -g 1000 user

In my case output as root in TTY is the same as regular console :

╭─zawier@zawier in ~ as 🧙 took 4s
[🔴] × usermod -u 1000 zawier
usermod: no changes

╭─zawier@zawier in ~ as 🧙 took 2ms
╰─λ groupmod -g 1000 zawier
groupmod: GID '1000' already exists

I have 5 DE Garuda Linux systems here on different hardware installed and I do updates several times a day, not all have the guest user installed but none have your problems.

I have now started a live ISO and the guest user is not enabled by default, id also fits.

2 Likes

SGS I truly believe you :slight_smile: You don't have to prove it.
My installer also has proper values:

However something changed my values into:

╰─λ id
uid=1000(zawier) gid=1001(zawier) groups=1001(zawier),50(games),971(realtime),972(libvirt),985(video),991(lp),992(kvm),994(input),998(wheel),1000(autologin)

My current ixin:

╰─λ garuda-inxi 
System:
Kernel: 5.18.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=a4e38db2-4f05-4c75-b466-24ea6c7771c6 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=87deb984-f5c7-4128-bda8-ec44cdaa4809 loglevel=3
Desktop: KDE Plasma v: 5.25.2 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Gigabyte model: P55-US3L serial: <superuser required>
BIOS: Award v: FE date: 03/05/2010
CPU:
Info: model: Intel Core i5 750 bits: 64 type: MCP arch: Nehalem gen: core 1
built: 2008-10 process: Intel 45nm family: 6 model-id: 0x1E (30)
stepping: 5 microcode: 0xA
Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 8 MiB
desc: 1x8 MiB
Speed (MHz): avg: 2812 high: 2846 min/max: 1197/2661 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 2798 2: 2846
3: 2837 4: 2768 bogomips: 21318
Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds
status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Redwood XT [Radeon HD 5670/5690/5730] vendor: Gigabyte
driver: radeon v: kernel alternate: amdgpu arch: TeraScale 2
process: TSMC 32-40nm built: 2009-15 pcie: gen: 2 speed: 5 GT/s lanes: 16
ports: active: HDMI-A-1 empty: DVI-I-1,VGA-1 bus-ID: 01:00.0
chip-ID: 1002:68d8 class-ID: 0300
Device-2: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-1.2:3 chip-ID: 046d:0843 class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_x11 driver: X: loaded: radeon unloaded: modesetting
alternate: fbdev,vesa gpu: radeon display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: HDMI-A-1 mapped: HDMI-0 model: AOC 2757M serial: <filter>
built: 2012 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
OpenGL:
renderer: AMD REDWOOD (DRM 2.50.0 / 5.18.9-zen1-1-zen LLVM 14.0.6)
v: 3.3 Mesa 22.1.3 compat-v: 3.1 direct render: Yes
Audio:
Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus-ID: 1-1.2:3 chip-ID: 046d:0843
bus-ID: 00:1b.0 class-ID: 0102 chip-ID: 8086:3b56 class-ID: 0403
serial: <filter>
Device-2: AMD Redwood HDMI Audio [Radeon HD 5000 Series] vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 1002:aa60 class-ID: 0403
Device-3: Creative Labs CA0106/CA0111 [SB Live!/Audigy/X-Fi Series]
driver: snd_ca0106 v: kernel bus-ID: 06:04.0 chip-ID: 1102:0007
class-ID: 0401
Device-4: Philips s SAA7131/SAA7133/SAA7135 Video Broadcast Decoder
vendor: Avermedia DVB-T Super 007 driver: saa7134 v: 0, 2, 17
bus-ID: 06:05.0 chip-ID: 1131:7133 class-ID: 0480
Device-5: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo
Sound Server-1: ALSA v: k5.18.9-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.53 running: yes
Network:
Device-1: Realtek RTL8192EE PCIe Wireless Network Adapter driver: rtl8192ee
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: ee00 bus-ID: 02:00.0
chip-ID: 10ec:818b class-ID: 0280
IF: wlp2s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: ce00 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp5s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 1.37 TiB used: 39.59 GiB (2.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SSDPR-CX400-01T-G2
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
type: SSD serial: <filter> rev: 61.5 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: GOODRAM model: N/A size: 447.13 GiB
block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD
serial: <filter> rev: 01.7 scheme: MBR
Partition:
ID-1: / raw-size: 434.28 GiB size: 434.28 GiB (100.00%)
used: 32.41 GiB (7.5%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
ID-2: /home raw-size: 434.28 GiB size: 434.28 GiB (100.00%)
used: 32.41 GiB (7.5%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
ID-3: /var/log raw-size: 434.28 GiB size: 434.28 GiB (100.00%)
used: 32.41 GiB (7.5%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
ID-4: /var/tmp raw-size: 434.28 GiB size: 434.28 GiB (100.00%)
used: 32.41 GiB (7.5%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 11.68 GiB used: 1.5 MiB (0.0%)
priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 12.85 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sdb2 maj-min: 8:18
Sensors:
System Temperatures: cpu: 57.0 C mobo: N/A gpu: radeon temp: 57.5 C
Fan Speeds (RPM): N/A
Info:
Processes: 243 Uptime: 1h 15m wakeups: 0 Memory: 11.68 GiB
used: 3.4 GiB (29.1%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: pacman: 1775
lib: 515 Shell: fish v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.19
Garuda (2.6.4-2):
System install date:     2022-07-01
Last full system update: 2022-07-06
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       <superuser required>
Snapshots:               Snapper
Failed units:            bluetooth-autoconnect.service

My fish hisotry so far:

- cmd: hostnamectl
  when: 1656707470
- cmd: sudo hostnamectl set-hostname zawier-garuda
  when: 1656707518
- cmd: sudo nano /etc/hosts
  when: 1656707548
  paths:
    - /etc/hosts
- cmd: pacman -Ss chrome
  when: 1656707892
- cmd: sudo pacman -S chaotic-aur/google-chrome
  when: 1656707953
- cmd: kate
  when: 1656707998
- cmd: lsusb
  when: 1656708613
- cmd: pacman -Ss remmina
  when: 1657004198
- cmd: sudo pacman -S community/remmina
  when: 1657004239
- cmd: sudo pacman -S remmina-plugin-rdesktop
  when: 1657004772
- cmd: sudo pacman -Ss remmina-plugin-rdesktop
  when: 1657004782
- cmd: sudo pacman -Ss freerdp
  when: 1657004979
- cmd: sudo pacman -S community/freerdp
  when: 1657005075
- cmd: pacman -S signal
  when: 1657008218
- cmd: pacman -Ss signal
  when: 1657008224
- cmd: sudo pacman - S community/signal-desktop
  when: 1657008265
- cmd: sudo pacman -S community/signal-desktop
  when: 1657008279
- cmd: pacman -Ss onlyoffice
  when: 1657008418
- cmd: sudo pacman -S chaotic-aur/onlyoffice-bin
  when: 1657008472
- cmd: pacman -Ss ksnip
  when: 1657016783
- cmd: sudo pacman -S community/ksnip
  when: 1657016816
- cmd: git clone https://gitlab.com/bztsrc/usbimager.git
  when: 1657031120
- cmd: cd src/
  when: 1657031203
  paths:
    - src/
- cmd: make
  when: 1657031216
- cmd: make install
  when: 1657031239
- cmd: ./make install
  when: 1657031266
- cmd: sudo make install
  when: 1657031275
- cmd: usbimager
  when: 1657031308
- cmd: find $HOME ! -user $USER -type f
  when: 1657031445
  paths:
    - $HOME
- cmd: cat /etc/passwd -
  when: 1657031526
  paths:
    - /etc/passwd
- cmd: sudo pacman -Sy
  when: 1657057741
- cmd: garuda-update
  when: 1657057758
- cmd: sudo btrfs subvolume list
  when: 1657058271
- cmd: sudo btrfs subvolume list /
  when: 1657058278
  paths:
    - /
- cmd: sudo pacman -S htop
  when: 1657058978
- cmd: pacman -Ss snap
  when: 1657059460
- cmd: pacman -Ss snapd
  when: 1657059551
- cmd: cd /run/media/zawier/Dokumenty_BCK/Pobrane/
  when: 1657059614
  paths:
    - /run/media/zawier/Dokumenty_BCK/Pobrane/
- cmd: git clone https://aur.archlinux.org/snapd.git
  when: 1657059640
- cmd: cd snapd
  when: 1657059659
  paths:
    - snapd
- cmd: makepkg -si
  when: 1657059674
- cmd: snap --version
  when: 1657059947
- cmd: snapd --version
  when: 1657059995
- cmd: systemctl status snap
  when: 1657060012
- cmd: sudo systemctl enable --now snapd.socket
  when: 1657060043
- cmd: sudo systemctl start snapd.socket
  when: 1657060079
- cmd: sudo ln -s /var/lib/snapd/snap /snap
  when: 1657060128
  paths:
    - /var/lib/snapd/snap
- cmd: sudo snap install snap-store
  when: 1657060364
- cmd: systemctl status snapd
  when: 1657060424
- cmd: snap install TrackMania Nations Forever
  when: 1657060895
- cmd: snap find trackmania
  when: 1657060920
- cmd: snap install tmnationsforever
  when: 1657060987
- cmd: sudo snap install tmnationsforever
  when: 1657060993
  paths:
    - snap
- cmd: cut -d: -f1 /etc/passwd
  when: 1657120837
  paths:
    - /etc/passwd
- cmd: getent passwd
  when: 1657120883
- cmd: usermod -u 1000 zawier
  when: 1657120919
- cmd: groupmod -g 1000 zawier
  when: 1657120936
- cmd: id
  when: 1657120943
- cmd: sudo pacman -R systemd-guest-user
  when: 1657121371
- cmd: usermod -u 1000 zawier
  when: 1657121550
- cmd: groupmod -g 1000 zawier
  when: 1657121554
- cmd: id
  when: 1657137070
- cmd: garuda-inxi
  when: 1657137109

As you see I have done nothing what could posible change IDs.

I don't trust any statistic that I haven't faked myself :smiley: :wink:

:slight_smile:
But I don't have a reason to lie..
I just asking for help and that's why sending real data.