Opened 11 years ago
Closed 3 years ago
#12307 closed Bug Report - General (Trac EOL)
Implement newer media handling methods (udisks2, storaged)
Reported by: | Owned by: | Stuart Auchterlonie | |
---|---|---|---|
Priority: | minor | Milestone: | 32.0 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | mythfrontend |
Cc: | Ticket locked: | no |
Description
I'm running a new home-brew of master under SL7 (el7). On starting mythfrontend I get a bunch of
MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files.
My repos apparently provide only udisk2 and the config file,
/etc/dbus-1/system.d/org.freedesktop.UDisks2.conf
looks for <allow own="org.freedesktop.UDisks2"/>
The source file is mythtv/libs/libmyth/mediamonitor-unix.cpp
Change History (15)
comment:1 by , 10 years ago
Milestone: | unknown → 0.28 |
---|---|
Owner: | set to |
Status: | new → accepted |
comment:5 by , 10 years ago
Milestone: | 0.28 → 0.29 |
---|
comment:7 by , 8 years ago
Milestone: | 29.0 → 29.1 |
---|
comment:8 by , 8 years ago
Milestone: | 29.1 → 30.0 |
---|---|
Summary: | Complaints about UDisks on starting frontend → Implement newer media handling methods (udisks2, storaged) |
comment:9 by , 8 years ago
Udisks2 has itself been replaced by storaged on newer Fedora releases.
https://fedoraproject.org/wiki/Changes/Replace_UDisks2_by_Storaged
comment:10 by , 7 years ago
Milestone: | 30.0 → 31.0 |
---|
comment:11 by , 7 years ago
I have media monitoring disabled (MonitorDrives=0), but still these UDisk messages appear and starting MythTV takes 5 seconds longer.
MythTV starts MediaMonitor::GetMediaMonitor() where the UDisk messages are generated and the delay happens.
In MediaMonitor::StartMonitoring() the decision is made if the user has "MonitorDrives" enabled and the monitoring thread is started.
The check for "MonitorDrives" has to be made earlier.
programs/mythfrontend/main.cpp MediaMonitor *mon = MediaMonitor::GetMediaMonitor(); if (mon) { mon->StartMonitoring(); mainWindow->installEventFilter(mon); }
libs/libmyth/mythmediamonitor.cpp void MediaMonitor::StartMonitoring(void) { // Sanity check if (m_Active) return; if (!gCoreContext->GetNumSetting("MonitorDrives", 0)) { LOG(VB_MEDIA, LOG_NOTICE, "MediaMonitor diasabled by user setting."); return; } if (!m_Thread) m_Thread = new MonitorThread(this, m_MonitorPollingInterval); qRegisterMetaType<MythMediaStatus>("MythMediaStatus"); LOG(VB_MEDIA, LOG_NOTICE, "Starting MediaMonitor"); m_Active = true; m_Thread->start(); }
comment:12 by , 6 years ago
Milestone: | 31.0 → 32.0 |
---|
comment:15 by , 3 years ago
Resolution: | → Trac EOL |
---|---|
Status: | accepted → closed |
We have moved all bug tracking to github [1]
If you continue to have this issue, please open a new issue at github, referencing this ticket.
This needs to be fixed, as well as the 10 seconds it spends trying to connect with the service before it gives up.
udisks2 is now common, udisks1 is quite old