Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Seatd, Pipewire and Vivaldi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
BraniggansLaw
n00b
n00b


Joined: 17 Sep 2022
Posts: 10

PostPosted: Sat Dec 03, 2022 1:22 am    Post subject: Seatd, Pipewire and Vivaldi Reply with quote

So for autistic reasons I'm running a mostly systemd-less system (just udev). I use sway with seatd and pipewire with the sound-server and pipewire-alsa use flags set (no elogind/pulseaudio flag). Pulseaudio and elogind are not installed. The pipewire daemon is started the usual way in my Sway config. Audio works for mpv (built with pipewire suport) however it does not work for vivaldi. My asoundrc is correctly set up.

I suspected this was due to the lack of elogind with pipewire to allow vivaldi access to my audio devices (though I don't really have a good understanding of how such things work). So I altered the seatd init.d script to start it with the user owning the seatd socket rather than the video group (which is the default). Now sound works on vivaldi but I feel like this is probably a bad/insecure solution to the problem.

Any advice on whether or not I should continue to run my laptop like this? Is it safe? Or should I be able to have audio on vivaldi without having to jump through such hoops?
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2052
Location: San Jose, CA

PostPosted: Mon Dec 05, 2022 6:09 pm    Post subject: Reply with quote

Just a stab in the dark here.

Is your regular user in the audio group?

me@threads ~ $ groups
disk uucp audio dialout video netdev qemu kvm libvirt usb users portage plugdev vboxusers locate
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
BraniggansLaw
n00b
n00b


Joined: 17 Sep 2022
Posts: 10

PostPosted: Fri Dec 09, 2022 11:58 pm    Post subject: Reply with quote

Yes, though I'm not in the plugdev group.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Sat Dec 10, 2022 12:10 am    Post subject: Reply with quote

RayDude wrote:
me@threads ~ $ groups
disk
This is dangerous. Membership in the disk group allows users to bypass access controls and write to raw disk devices. This can be used to bypass security on unencrypted disks, by directly rewriting suid files.
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2052
Location: San Jose, CA

PostPosted: Sat Dec 10, 2022 5:06 pm    Post subject: Reply with quote

Hu wrote:
RayDude wrote:
me@threads ~ $ groups
disk
This is dangerous. Membership in the disk group allows users to bypass access controls and write to raw disk devices. This can be used to bypass security on unencrypted disks, by directly rewriting suid files.


Thanks.

I set that up because I was writing external drives used in ARM development.

I don't need it anymore and I'll remove it.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum