[mythtv-users] Incorrect "Realtime priority would require SUID as root" Error?
Tony Lill
ajlill at ajlc.waterloo.on.ca
Wed Apr 12 02:12:28 UTC 2006
"Robin Smith" <1canuck2 at gmail.com> writes:
> Hi,
>
> I am running the latest version of MythTV from Gentoo's portage (
> mythtv-0.19_p9163-r1) and when I start a recording I get:
> Realtime priority would require SUID as root
> The curious thing is mythfrontend is suid root (via: chmod +s
> /usr/bin/mythfrontend)
> Any ideas as to what's causing the warning to display if the frontend is
> already suid?
It displays that message when setting realtime mode fails for any
reason. Try this patch, it should print some clue about the real cause
for the failure.
Index: programs/mythfrontend/main.cpp
===================================================================
--- programs/mythfrontend/main.cpp (revision 9633)
+++ programs/mythfrontend/main.cpp (working copy)
@@ -697,7 +697,7 @@
if (status)
{
// perror("pthread_setschedparam");
- VERBOSE(VB_GENERAL, "Realtime priority would require SUID as root.");
+ VERBOSE(VB_GENERAL, QString("Setting realtime priority failed: %1.").arg(strerror(errno)));
}
else
VERBOSE(VB_GENERAL, "Using realtime priority.");
More information about the mythtv-users
mailing list