[mythtv-users] MythArchive requires root?

Paul Harrison mythtv at dsl.pipex.com
Sat Nov 25 16:08:41 UTC 2006


Frank Riley wrote:
> On Nov 25, 2006, at 12:34 AM, Frank Riley wrote:
>
>   
>> Hello, I recently switched from running mythfrontend as root to
>> running as mythtv. Now when I go into the "Import Files" option of
>> MythArchive, mythfrontend seg faults. If I switch back to starting up
>> mythfrontend as root, it runs fine. The MythArchive working dirs are
>> all owned by mythtv. Any ideas why it won't run under mythtv user?
>>     
>
> So I found the culprit, but I still don't know why it's doing it.  
>  From strace:
>
> access("/", F_OK)                       = 0
> lstat64("/", {st_mode=S_IFDIR|S_ISVTX|0341, st_size=4096, ...}) = 0
> open("/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EACCES  
> (Permission denied)
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>
> Why would it be trying to access the root dir of my drive?
>
>   
The "Find Archive Files" allow you to navigate though your file system 
to look for archived files to import. It always starts from the '/' 
directory and uses QT to get the file list so no ideal why its failing. 
A BT would be useful so MythArchive could at least be made to not 
segfault assuming it is something in MythArchive and not in QT that is.

By the way what version are you using. You are aware that there was a 
nasty bug in earlier versions of the native inport/export stuff in 
MythArchive? 
http://www.gossamer-threads.com/lists/mythtv/users/224380#224380


Paul H.




More information about the mythtv-users mailing list