Failed to copy permissions from /etc/group to /etc/.#group1694ebb04197ad8b: Invalid argument

The problem starts when i try to update my system from a freash install the error comes out like this

 2/39) Enabling os-prober...
( 3/39) Creating system user accounts...
Failed to copy permissions from /etc/group to /etc/.#group1694ebb04197ad8b: Invalid argument
error: command failed to execute correctly

and because of this the reasult will come out like some streaming apps does’t detects the currently running apps like telegram and discord at first i thoyght it was some app bug but now i got this same bug on every arch based distro also vanilla arch included
so i thought i should make a fourm about it some one sayed its a flimwere issue and it was ficxed in this [arch fourm](some searches showed up this issue in arch stuff / systemd (not sure where): FS#79619 : [systemd] 20-systemd-sysusers.hook fails to execute on a fresh system How old is your iso? Is there maybe a newer one available?) but that is not worked for me can anyone help me how i fix this issue i was gettng a real pain because of this like this

there is no application window appeared in discord because its does’t have the proper permisson also other streaming apps included telegram but exeption is obs studio it just working
also because of this i unable to use x11 video bridge i will put the all logs down there

garuda-update logs

pacman logs

My system was

╰─λ sudo garuda-inxi
[sudo] password for alex:
0000Take a stress pill and think things over.
[sudo] password for alex:
System:
Kernel: 6.6.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc
v: 13.2.1 clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=22f162e7-ee55-483a-bd0a-997490ff5dce rw
rootflags=subvol=@ quiet loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12
wm: kwin_x11 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: A320M-S2H v: N/A
serial: N/A
Mobo: Gigabyte model: A320M-S2H-CF v: x.x serial: N/A
UEFI: American Megatrends v: F53 date: 01/05/2021
CPU:
Info: model: AMD Ryzen 3 2200G with Radeon Vega Graphics
socket: AM4 bits: 64 type: MCP arch: Zen level: v3 note: check
built: 2017-19 process: GF 14nm family: 0x17 (23)
model-id: 0x11 (17) stepping: 0 microcode: 0x8101016
Topology: cpus: 1x cores: 4 smt: <unsupported> cache:
L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB
desc: 4x512 KiB L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 2900 high: 3500 min/max: 1600/3500
boost: enabled base/boost: 3500/3700 scaling:
driver: acpi-cpufreq governor: schedutil volts: 1.4 V
ext-clock: 100 MHz cores: 1: 3500 2: 2300 3: 3500 4: 2300
bogomips: 27947
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2
sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Mobile
Series] vendor: Gigabyte driver: amdgpu v: kernel
arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie:
gen: 3 speed: 8 GT/s lanes: 16 ports: active: HDMI-A-1
empty: DP-1,DVI-D-1 bus-ID: 07:00.0 chip-ID: 1002:15dd
class-ID: 0300 temp: 34.0 C
Display: server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3
compositor: kwin_x11 driver: X: loaded: amdgpu
unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu 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-A-0 model: 24HC1QR
serial: <filter> built: 2020 res: 1920x1080 hz: 120 dpi: 82
gamma: 1.2 size: 598x336mm (23.54x13.23")
diag: 600mm (23.6") ratio: 16:9, 15:9 modes: max: 1920x1080
min: 720x400
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0
drv: radeonsi device: 1 drv: swrast surfaceless: drv: radeonsi
x11: drv: radeonsi inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa
v: 23.3.2-arch1.2 glx-v: 1.4 direct-render: yes renderer: AMD
Radeon Vega 8 Graphics (radeonsi raven LLVM 16.0.6 DRM 3.54
6.6.10-zen1-1-zen) device-ID: 1002:15dd memory: 1.95 GiB
unified: no
API: Vulkan v: 1.3.274 layers: 3 device: 0
type: integrated-gpu name: AMD Radeon Vega 8 Graphics (RADV
RAVEN) driver: mesa radv v: 23.3.2-arch1.2
device-ID: 1002:15dd surfaces: xcb,xlib device: 1 type: cpu
name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.3.2-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
surfaces: xcb,xlib
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 07:00.1 chip-ID: 1002:15de class-ID: 0403
Device-2: AMD Family 17h/19h HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 07:00.6 chip-ID: 1022:15e3 class-ID: 0403
Device-3: C-Media 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: 3-2:2
chip-ID: 0d8c:0012 class-ID: 0300
API: ALSA v: k6.6.10-zen1-1-zen status: kernel-api
tools: N/A
Server-1: PipeWire v: 1.0.0 status: n/a (root, process)
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 RTL8111/8168/8411 PCI Express Gigabit
Ethernet vendor: Gigabyte driver: r8169 v: kernel pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 06:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp6s0 state: up speed: 100 Mbps duplex: full
mac: <filter>
Drives:
Local Storage: total: 585 GiB used: 208.17 GiB (35.6%)
ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT3500SC
6 CTB5029G21Y034 size: 465.76 GiB block-size:
physical: 512 B logical: 512 B sata: 2.6 speed: 3.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: A52B temp: 30 C
scheme: GPT
SMART: yes state: enabled health: PASSED on: 248d 23h
cycles: 3215
ID-2: /dev/sdb maj-min: 8:16 model: SSD 128GB
size: 119.24 GiB block-size: physical: 512 B logical: 512 B
sata: 3.1 speed: 6.0 Gb/s tech: SSD serial: <filter>
fw-rev: XKR temp: 40 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 236d 1h
cycles: 2335 read: 6.7 MiB written: 8 MiB
Partition:
ID-1: / raw-size: 118.95 GiB size: 118.95 GiB (100.00%)
used: 21.68 GiB (18.2%) fs: btrfs block-size: 4096 B
dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/sdb1
maj-min: 8:17
ID-3: /home raw-size: 118.95 GiB size: 118.95 GiB (100.00%)
used: 21.68 GiB (18.2%) fs: btrfs block-size: 4096 B
dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 118.95 GiB
size: 118.95 GiB (100.00%) used: 21.68 GiB (18.2%) fs: btrfs
block-size: 4096 B dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 118.95 GiB
size: 118.95 GiB (100.00%) used: 21.68 GiB (18.2%) fs: btrfs
block-size: 4096 B dev: /dev/sdb2 maj-min: 8:18
Swap:
Kernel: swappiness: 133 (default 60)
cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 13.59 GiB
used: 2.9 GiB (21.3%) priority: 100 comp: zstd
avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 34.4 C mobo: 25.0 C gpu: amdgpu
temp: 34.0 C
Fan Speeds (rpm): N/A
Info:
Processes: 277 Uptime: 4h 29m wakeups: 0 Memory: total: 16 GiB
note: est. available: 13.59 GiB used: 9.59 GiB (70.6%)
Init: systemd v: 255 default: graphical tool: systemctl
Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: pm: pacman
pkgs: 1477 libs: 397 tools: octopi,paru
Shell: garuda-inxi (sudo) default: Bash v: 5.2.21
running-in: konsole inxi: 3.3.31
Garuda (2.6.22-1):
System install date:     2024-01-09
Last full system update: 2024-01-10 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

reboot the system

ya also reboot does’t fix that i tryed

please take a snapshot before make the following changes using(Snapper).

run this :
sudo rm -rf /etc/.#group*
then :
sudo chmod 644 /etc/group
sudo pacman -Syu --overwrite /etc/group
then reboot.
and please share the output of journalctl -xe | grep -i discord.

you can run this after the reboot to reinstall the apps :

sudo pacman -Rns discord
sudo pacman -Rns telegram-desktop
sudo pacman -Syu discord telegram-desktop # or run garuda-update

ok sir

╭─alex🙂@SoulHunter in ~
╰─λ sudo rm -rf /etc/.#group*
fish: No matches for wildcard '/etc/.#group*'. See `help wildcards-globbing`.
sudo rm -rf /etc/.#group*
^~~~~~~~~~~~^

╭─alex🙂@SoulHunter in ~
[🔴] × sudo chmod 644 /etc/group
[sudo] password for alex:

╭─alex🙂@SoulHunter in ~ as 🧙 took 1s
╰─λ sudo pacman -Syu --overwrite /etc/group
:: Synchronizing package databases...
garuda is up to date
core                                                  128.9 KiB   344 KiB/s 00:00 [-----------------------------------------------] 100%
extra                                                   8.3 MiB  3.43 MiB/s 00:02 [-----------------------------------------------] 100%
multilib                                              139.5 KiB   215 KiB/s 00:01 [-----------------------------------------------] 100%
chaotic-aur                                             2.6 MiB   896 KiB/s 00:03 [-----------------------------------------------] 100%
:: Starting full system upgrade...
warning: garuda-settings-manager: local (1.0.2-5) is newer than garuda (1.0.2-3)
warning: garuda-settings-manager-kcm: local (1.0.2-5) is newer than garuda (1.0.2-3)
resolving dependencies...
looking for conflicting packages...

Package (3)    Old Version  New Version  Net Change  Download Size

core/iproute2  6.6.0-2      6.7.0-1        0.01 MiB       1.09 MiB
extra/openxr   1.0.32-1     1.0.33-1       0.01 MiB       1.01 MiB
core/sudo      1.9.15.p4-1  1.9.15.p5-1    0.00 MiB       1.88 MiB

Total Download Size:    3.98 MiB
Total Installed Size:  15.59 MiB
Net Upgrade Size:       0.02 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
iproute2-6.7.0-1-x86_64                              1119.9 KiB  1366 KiB/s 00:01 [-----------------------------------------------] 100%
sudo-1.9.15.p5-1-x86_64                              1922.6 KiB  2.03 MiB/s 00:01 [-----------------------------------------------] 100%
openxr-1.0.33-1-x86_64                               1032.7 KiB  1116 KiB/s 00:01 [-----------------------------------------------] 100%
Total (3/3)                                             4.0 MiB  3.85 MiB/s 00:01 [-----------------------------------------------] 100%
(3/3) checking keys in keyring                                                     [-----------------------------------------------] 100%
(3/3) checking package integrity                                                   [-----------------------------------------------] 100%
(3/3) loading package files                                                        [-----------------------------------------------] 100%
(3/3) checking for file conflicts                                                  [-----------------------------------------------] 100%
(3/3) checking available disk space                                                [-----------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 34
:: Processing package changes...
(1/3) upgrading iproute2                                                           [-----------------------------------------------] 100%
(2/3) upgrading openxr                                                             [-----------------------------------------------] 100%
(3/3) upgrading sudo                                                               [-----------------------------------------------] 100%
:: Running post-transaction hooks...
(1/8) Reloading system manager configuration...
(2/8) Creating temporary files...
(3/8) Arming ConditionNeedsUpdate...
(4/8) Foreign/AUR package notification
=> No foreign/AUR packages found.
(5/8) Orphaned package notification...
kdsoap-ws-discovery-client 0.3.0-2
libinput-gestures-qt 0.4-1
wayland-protocols 1.32-1
(6/8) Checking for .pacnew and .pacsave files...
(7/8) Performing snapper post snapshots for the following configurations...
==> root: 35
(8/8) Syncing all file systems...

╭─alex🙂@SoulHunter in ~ as 🧙 took 12s
╰─λ sudo pacman -Rns discord
checking dependencies...

Package (1)  Old Version  Net Change

discord      0.0.40-1     -221.36 MiB

Total Removed Size:  221.36 MiB

:: Do you want to remove these packages? [Y/n] y
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 36
:: Processing package changes...
(1/1) removing discord                                                             [-----------------------------------------------] 100%
:: Running post-transaction hooks...
(1/8) Arming ConditionNeedsUpdate...
(2/8) Foreign/AUR package notification
=> No foreign/AUR packages found.
(3/8) Orphaned package notification...
kdsoap-ws-discovery-client 0.3.0-2
libinput-gestures-qt 0.4-1
wayland-protocols 1.32-1
(4/8) Checking for .pacnew and .pacsave files...
(5/8) Updating icon theme caches...
(6/8) Updating the desktop file MIME type cache...
(7/8) Performing snapper post snapshots for the following configurations...
==> root: 37
(8/8) Syncing all file systems...

╭─alex🙂@SoulHunter in ~ as 🧙 took 2s
╰─λ sudo pacman -Syu discord
:: Synchronizing package databases...
garuda is up to date
core is up to date
extra is up to date
multilib is up to date
chaotic-aur is up to date
:: Starting full system upgrade...
warning: garuda-settings-manager: local (1.0.2-5) is newer than garuda (1.0.2-3)
warning: garuda-settings-manager-kcm: local (1.0.2-5) is newer than garuda (1.0.2-3)
resolving dependencies...
looking for conflicting packages...

Package (1)    New Version  Net Change

extra/discord  0.0.40-1     221.36 MiB

Total Installed Size:  221.36 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                     [-----------------------------------------------] 100%
(1/1) checking package integrity                                                   [-----------------------------------------------] 100%
(1/1) loading package files                                                        [-----------------------------------------------] 100%
(1/1) checking for file conflicts                                                  [-----------------------------------------------] 100%
(1/1) checking available disk space                                                [-----------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 38
:: Processing package changes...
(1/1) installing discord                                                           [-----------------------------------------------] 100%
Optional dependencies for discord
libpulse: Pulseaudio support [installed]
libappindicator-gtk3: Systray indicator support [installed]
xdg-utils: Open files [installed]
:: Running post-transaction hooks...
(1/8) Arming ConditionNeedsUpdate...
(2/8) Foreign/AUR package notification
=> No foreign/AUR packages found.
(3/8) Orphaned package notification...
kdsoap-ws-discovery-client 0.3.0-2
libinput-gestures-qt 0.4-1
wayland-protocols 1.32-1
(4/8) Checking for .pacnew and .pacsave files...
(5/8) Updating icon theme caches...
(6/8) Updating the desktop file MIME type cache...
(7/8) Performing snapper post snapshots for the following configurations...
==> root: 39
(8/8) Syncing all file systems...

is everything looks fine ?
i think this part is not looks fine

λ sudo rm -rf /etc/.#group*
fish: No matches for wildcard '/etc/.#group*'. See `help wildcards-globbing`.
sudo rm -rf /etc/.#group*
journalctl -xe | grep -i discord
Jan 10 23:07:53 SoulHunter bash[11392]: Found snapshot: 2024-01-10 21:53:25 | @/.snapshots/39/snapshot | post   | discord                   |
Jan 10 23:07:54 SoulHunter bash[11392]: Found snapshot: 2024-01-10 21:53:24 | @/.snapshots/38/snapshot | pre    | pacman -Syu discord       |
Jan 10 23:07:54 SoulHunter bash[11392]: Found snapshot: 2024-01-10 21:53:03 | @/.snapshots/37/snapshot | post   | discord                   |
Jan 10 23:07:54 SoulHunter bash[11392]: Found snapshot: 2024-01-10 21:53:02 | @/.snapshots/36/snapshot | pre    | pacman -Rns discord       |
Jan 10 23:08:44 SoulHunter plasmashell[12109]: [YTMusic] Plugin discord::backend executed at 0.96ms
Jan 10 23:08:44 SoulHunter plasmashell[12109]: [YTMusic] Plugin "discord::menu" loaded
Jan 10 23:08:44 SoulHunter plasmashell[12109]: [YTMusic] Plugin "discord::menu" loaded
Jan 10 23:08:47 SoulHunter plasmashell[12109]: [YTMusic] Plugin "discord::menu" loaded

Still not fixed that prolem

Edit or use bash terminal.
I have not checked the instructions.

no sir the problem was still the same

hmmmm try this :

pkill discord
then

rm -rf ~/.config/discord
rm -rf ~/.config/discordptb
rm -rf ~/.config/discordcanary

then launch the app form terminal typing discord

please share again journalctl -xe | grep -i discord for the new logs generated
and actually i would recommend running Discord using a different method, for example, using flatpak or snap if its possible , (recommend flatpak as the best option here).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.