You are not logged in.
Hi,
I have a fresh install and after needing to fiddle with network connections during install everything is up and running and I am productive.
However I can't get sound working. I chose pipewire and followed the instructions put I kept getting the above error. I think I tracked it down to rtkit which wasn't (and still isn't) running. this is the error:
Jul 08 14:13:47 archlinux systemd[590]: Starting RealtimeKit Scheduling Policy Service...
Jul 08 14:13:47 archlinux systemd[56430]: rtkit-daemon.service: Failed at step CAPABILITIES spawning /usr/lib/rtkit-daemon: Operation not permitted
Jul 08 14:13:47 archlinux rtkit-daemon[56430]: rtkit-daemon.service: PrivateNetwork=yes is configured, but network namespace setup failed, ignoring: Operat>
Jul 08 14:13:47 archlinux rtkit-daemon[56430]: rtkit-daemon.service: Failed to drop capabilities: Operation not permitted
Jul 08 14:13:47 archlinux systemd[590]: rtkit-daemon.service: Main process exited, code=exited, status=218/CAPABILITIES
Jul 08 14:13:47 archlinux systemd[590]: rtkit-daemon.service: Failed with result 'exit-code'.
Jul 08 14:13:47 archlinux systemd[590]: Failed to start RealtimeKit Scheduling Policy Service.
This is where the trail led and I don't know how to proceed. I am a little concerned about the PrivateNetwork error b/c I commented out that line in /usr/lib/systemd/system/rtkit-daemon.service. I wonder why it thinks I didn't. Could there a caching issue?
Thanks in advance for any input.
Last edited by biscotty666 (2022-07-12 05:10:20)
Offline
Hi,
I have a fresh install and after needing to fiddle with network connections during install everything is up and running and I am productive.
However I can't get sound working. I chose pipewire and followed the instructions put I kept getting the above error. I think I tracked it down to rtkit which wasn't (and still isn't) running. this is the error:
Jul 08 14:13:47 archlinux systemd[590]: Starting RealtimeKit Scheduling Policy Service... Jul 08 14:13:47 archlinux systemd[56430]: rtkit-daemon.service: Failed at step CAPABILITIES spawning /usr/lib/rtkit-daemon: Operation not permitted Jul 08 14:13:47 archlinux rtkit-daemon[56430]: rtkit-daemon.service: PrivateNetwork=yes is configured, but network namespace setup failed, ignoring: Operat> Jul 08 14:13:47 archlinux rtkit-daemon[56430]: rtkit-daemon.service: Failed to drop capabilities: Operation not permitted Jul 08 14:13:47 archlinux systemd[590]: rtkit-daemon.service: Main process exited, code=exited, status=218/CAPABILITIES Jul 08 14:13:47 archlinux systemd[590]: rtkit-daemon.service: Failed with result 'exit-code'. Jul 08 14:13:47 archlinux systemd[590]: Failed to start RealtimeKit Scheduling Policy Service.
This is where the trail led and I don't know how to proceed. I am a little concerned about the PrivateNetwork error b/c I commented out that line in /usr/lib/systemd/system/rtkit-daemon.service. I wonder why it thinks I didn't. Could there a caching issue?
Thanks in advance for any input.
I maybe wrong but this seems like a permssions issue its trying to run something that needs roo or sudo. Look at the second line. Don't take my word for it though. What was the line? This is very important info.
Offline
archlinux doesn't read like a properly defined static hostname. Make sure you properly define one: https://wiki.archlinux.org/title/Networ … e_hostname post the output of hostnamectl in doubt.
Offline
This is what it shows. Is there something unusual/incorrect?
Static hostname: archlinux
Icon name: computer
Machine ID: 97f66972e8f54faebe47eecba9707da7
Boot ID: a4269eb085574ded9b8e8b9406f09453
Operating System: Arch Linux
Kernel: Linux 5.18.9-arch1-1
Architecture: x86-64
Hardware Vendor: Dell Inc.
Hardware Model: Vostro 3500
Firmware Version: 1.14.0
Offline
Reads normal, was this done with the archinstall script? how did you setup your networking? Did you install hidepid or some other "privacy" utility? Can you post a full
journalctl -b
? FWIW while the rtkit error is strange it's unlikely to be related to not working audio, as this would simply prevent increasing the priority which should not in and of itself cause sound to not work. What do you get from
aplay -l
pactl list cards
pactl list sinks
sudo dmesg | grep -iE 'snd|sof'
sudo fuser -v /dev/snd/*
Last edited by V1del (2022-07-10 20:13:29)
Offline
Thank you so much for your help. It turned out that I needed a firmware upgrade. Your questions really pointed me in the right direction. I'm a 30 year linux user, almost exclusively slackware so all the systemd stuff is strange to me still and so tracking down problems is a bit slower. I spent a year in Windows and when I came back to linux I decided to try Arch for a new experience. I'm really liking it so far but need to come to grips with the package manager and systemd. I was so distracted I didn't even do a dmesg!
Anyway thanks again.
Offline