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
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
╭─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
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).