Re: Recently sound does not play as root

2023-03-20 Thread Joe Zeff
On 03/20/2023 10:13 PM, Eyal Lebedinsky wrote: My current solution is to run the affected script as my non-root user and in it run some parts with sudo (set up to run without a sudo password to avoid script interruption). Although I don't approve of habitually running as root, I have a

Re: Recently sound does not play as root

2023-03-20 Thread Jeffrey Walton
On Tue, Mar 21, 2023 at 12:38 AM Eyal Lebedinsky wrote: > [...] > > There used to be an environment variable that pointed to the pulseaudio > > socket, but that seems to have changed (at least in F37). Check that the > > XDG_RUNTIME_DIR variable is set. It wasn't when I tested going through

Re: Recently sound does not play as root

2023-03-20 Thread Samuel Sieb
On 3/20/23 21:37, Eyal Lebedinsky wrote: On 21/03/2023 15.29, Samuel Sieb wrote: On 3/20/23 21:13, Eyal Lebedinsky wrote: On 20/03/2023 17.22, Eyal Lebedinsky wrote: Fedora 36 up-to-date. $ uname -a Linux e4.eyal.emu.id.au 6.1.15-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar  3 17:22:46

Re: Recently sound does not play as root

2023-03-20 Thread Eyal Lebedinsky
On 21/03/2023 15.29, Samuel Sieb wrote: On 3/20/23 21:13, Eyal Lebedinsky wrote: On 20/03/2023 17.22, Eyal Lebedinsky wrote: Fedora 36 up-to-date. $ uname -a Linux e4.eyal.emu.id.au 6.1.15-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar  3 17:22:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux I

Re: Recently sound does not play as root

2023-03-20 Thread Samuel Sieb
On 3/20/23 21:13, Eyal Lebedinsky wrote: On 20/03/2023 17.22, Eyal Lebedinsky wrote: Fedora 36 up-to-date. $ uname -a Linux e4.eyal.emu.id.au 6.1.15-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar  3 17:22:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux I have a script running as root (using

Re: Recently sound does not play as root

2023-03-20 Thread Eyal Lebedinsky
On 20/03/2023 17.22, Eyal Lebedinsky wrote: Fedora 36 up-to-date. $ uname -a Linux e4.eyal.emu.id.au 6.1.15-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar  3 17:22:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux I have a script running as root (using sudo) and in it I play a sound paplay

Re: Recently sound does not play as root

2023-03-20 Thread Tim via users
On Mon, 2023-03-20 at 12:33 -0400, Felix Miata wrote: > Everyone who reports use of root user doesn't need yet another lecture > instead of > an answer to a question asked. Everyone who asks to do stupid things, and advises others to do stupid things, needs told otherwise. Your longevity at

Re: Recently sound does not play as root

2023-03-20 Thread Jeffrey Walton
On Mon, Mar 20, 2023 at 4:11 AM Felix Miata wrote: > > If the superuser can't do something, how can a mere mortal user be expected > to do > same? When the superuser determines *everything* works as expected is time > enough > to create the first regular user. This can actually happen under

Re: Recently sound does not play as root

2023-03-20 Thread Felix Miata
Tim via users composed on 2023-03-20 20:28 (UTC+1030): > Felix Miata: >> If the superuser can't do something, how can a mere mortal user be expected >> to do >> same? When the superuser determines *everything* works as expected is time >> enough >> to create the first regular user. ... > Set

Re: SELinux seciruty alert

2023-03-20 Thread Jon LaBadie
I get the following SELinux security alert which seems to be difficult to fix because of the number of things to do. I don't understand why you think two things to do is difficult. You can generate a local policy module to allow this access. Do allow this access for now by executing: #

Re: Recently sound does not play as root

2023-03-20 Thread stan via users
On Mon, 20 Mar 2023 17:22:57 +1100 Eyal Lebedinsky wrote: > Fedora 36 up-to-date. > > $ uname -a > Linux e4.eyal.emu.id.au 6.1.15-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC > Fri Mar 3 17:22:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux > > I have a script running as root (using sudo) and in it I

Re: Recently sound does not play as root

2023-03-20 Thread Tim via users
Samuel Sieb: >> You shouldn't. Why are you trying to do that? Felix Miata: > If the superuser can't do something, how can a mere mortal user be expected > to do > same? When the superuser determines *everything* works as expected is time > enough > to create the first regular user. That's

Re: Recently sound does not play as root

2023-03-20 Thread Roberto Ragusa
On 3/20/23 07:22, Eyal Lebedinsky wrote: Fedora 36 up-to-date. $ uname -a Linux e4.eyal.emu.id.au 6.1.15-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar  3 17:22:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux I have a script running as root (using sudo) and in it I play a sound paplay

Re: SELinux seciruty alert

2023-03-20 Thread Francis . Montagnac
Hi On Mon, 20 Mar 2023 10:28:35 +0100 Patrick Dupre wrote: > I did not get retuen about my request. There was. Please, see the archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/thread/NEDFHZEENU3YPWXCKENB2FDYL4YHYOW6/#5LDTZCEMCGHQHKSLJXRS3QIFVZ3IYE73 --

Re: SELinux seciruty alert

2023-03-20 Thread Patrick Dupre
Hello, I did not get retuen about my request. This alert is annoying because it pop up all the time, and because it prevents the screen lock. Is there any thing that I can make? Thank. === Patrick DUPRÉ

Re: Recently sound does not play as root

2023-03-20 Thread Felix Miata
Samuel Sieb composed on 2023-03-20 00:31 (UTC-0700): > You shouldn't. Why are you trying to do that? If the superuser can't do something, how can a mere mortal user be expected to do same? When the superuser determines *everything* works as expected is time enough to create the first regular

Re: Recently sound does not play as root

2023-03-20 Thread Samuel Sieb
On 3/19/23 23:22, Eyal Lebedinsky wrote: Fedora 36 up-to-date. $ uname -a Linux e4.eyal.emu.id.au 6.1.15-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar  3 17:22:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux I have a script running as root (using sudo) and in it I play a sound paplay

Recently sound does not play as root

2023-03-20 Thread Eyal Lebedinsky
Fedora 36 up-to-date. $ uname -a Linux e4.eyal.emu.id.au 6.1.15-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar 3 17:22:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux I have a script running as root (using sudo) and in it I play a sound paplay /audio/ogg/beginning.ogg and it always worked.