[pulseaudio-discuss] [PATCH] systemd: disable socket activation for root

Tanu Kaskinen tanuk at iki.fi
Thu Feb 9 18:51:06 UTC 2017


On Wed, 2017-02-08 at 12:41 -0500, Joe wrote:
> I'm completely out of my depth here - I program mostly in bash, but ...
> 
> If you want to know if you can do something, one way is to try to do it 
> and see if it fails.
> 
> What would happen if you just issued something harmless like a touch 
> command to something in the path?
> Wouldn't that give you a definitive answer without checking any flags or 
> settings?

How do you propose running the command? Should the command be specified
in ExecStartPre, or did you have something else in mind? And how would
using "touch" be better for figuring out whether we're root than using
"whoami"?

-- 
Tanu

https://www.patreon.com/tanuk


More information about the pulseaudio-discuss mailing list