Permission bug after Upgrade
I recently updated my Fedora 26 system using the command sudo dnf update
.
After updating ~ 721 packages and rebooting, I faced different problem.
- After logging, my window manager (i3wm) takes a very long time to launch.
- The network applet doesn't work anymore, it is running, but nothing happens when i'm clicking on it.
- I can't access alsamixer through the console, it returns says "Permission denied"
- In nm-applet, can't disconnect from wlan0, I got "org.freedesktop.NetworkManager.network-control request failed: not authorized"
It seems the update messed up with my user permissions of hardware.
The command ls /dev/snd/
returns
drwxr-xr-x 2 root root 60 29 mai 15:18 by-id
drwxr-xr-x 2 root root 80 29 mai 15:18 by-path
crw-rw----+ 1 root audio 116, 2 28 mai 15:13 controlC0
crw-rw---- 1 root audio 116, 12 29 mai 15:18 controlC1
crw-rw----+ 1 root audio 116, 10 28 mai 15:13 hwC0D0
crw-rw----+ 1 root audio 116, 11 28 mai 15:13 hwC0D2
crw-rw----+ 1 root audio 116, 4 28 mai 15:13 pcmC0D0c
crw-rw----+ 1 root audio 116, 3 28 mai 15:13 pcmC0D0p
crw-rw----+ 1 root audio 116, 5 28 mai 15:13 pcmC0D3p
crw-rw----+ 1 root audio 116, 6 28 mai 15:13 pcmC0D7p
crw-rw----+ 1 root audio 116, 7 28 mai 15:13 pcmC0D8p
crw-rw----+ 1 root audio 116, 8 28 mai 15:13 pcmC0D9p
crw-rw----+ 1 root audio 116, 9 28 mai 15:13 pcmC0D10p
crw-rw---- 1 root audio 116, 14 29 mai 15:18 pcmC1D0c
crw-rw---- 1 root audio 116, 13 29 mai 15:18 pcmC1D0p
crw-rw---- 1 root audio 116, 15 29 mai 15:18 pcmC1D1p
crw-rw----+ 1 root audio 116, 1 28 mai 15:12 seq
crw-rw----+ 1 root audio 116, 33 28 mai 15:12 timer
I tried to rollback to the previous version of fedora using dnf
, but I obtain the error :
No package GeoIP-GeoLite-data-0:2018.01-1.fc26.noarch available.
ErrorĀ : A transaction cannot be undone
But running locate GeoIP-GeoLite-data
gives
$ locate GeoIP-GeoLite-data
/var/cache/PackageKit/26/metadata/updates/packages/GeoIP-GeoLite-data-2018.01-1.fc26.noarch.rpm
/var/cache/PackageKit/26/metadata/updates/packages/GeoIP-GeoLite-data-2018.04-1.fc26.noarch.rpm
/var/cache/PackageKit/28/metadata/fedora/packages/GeoIP-GeoLite-data-2018.04-1.fc28.noarch.rpm
How can I fix this permissions issue ?
The permission of the files in
/dev/snd
are all correct.I'd recommend following the post-upgrade clean up steps as detailed here to begin with: https://fedoraproject.org/wiki/DNFsystemupgrade#Optionalpost-upgradetasks
You cannot undo a distribution upgrade, I'm afraid. Well, you can, but it's a lot of work. A fresh install would be better, but I doubt that'll be needed.
I tried to postupgrade commands but it isn't working.
I noticed that my username wasn't in any groups in /etc/group. I added my username to the audio,adm,wheel groups and rebooted, but no changes, I still get the same behaviour.
Any advices ?