Opened 4 years ago

Last modified 8 months ago

#12307 accepted Bug Report - General

Implement newer media handling methods (udisks2, storaged)

Reported by: J.Pilk@… Owned by: Stuart Auchterlonie
Priority: minor Milestone: 30.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 (9)

comment:1 Changed 3 years ago by Stuart Auchterlonie

Milestone: unknown0.28
Owner: set to Stuart Auchterlonie
Status: newaccepted

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

comment:2 Changed 3 years ago by Stuart Auchterlonie

See also #12500, need to add support here for udisks2 dbus service

comment:3 Changed 2 years ago by Stuart Auchterlonie <stuarta@…>

In 8f6b99e45f3de1a8278ede7b0d3644901a034f28/mythtv:

Refs #12307 Check if UDisks2 is in use.

First check for the original UDisks service,
if we fail to find it, check for UDisks2.

If we find UDisks2 service, then this system
has moved to UDisks2, rather than UDisks1.

For now log a message and give up. This will
reduce the frontend startup time by the 5 seconds
the loop takes to complete and fail.

TODO: Implement the same support via UDisks2 interface

comment:4 Changed 2 years ago by Stuart Auchterlonie <stuarta@…>

In 71276fae30214310237b2dcffc1421379f148b5f/mythtv:

Refs #12307 Check if UDisks2 is in use.

First check for the original UDisks service,
if we fail to find it, check for UDisks2.

If we find UDisks2 service, then this system
has moved to UDisks2, rather than UDisks1.

For now log a message and give up. This will
reduce the frontend startup time by the 5 seconds
the loop takes to complete and fail.

TODO: Implement the same support via UDisks2 interface

comment:5 Changed 2 years ago by Stuart Auchterlonie

Milestone: 0.280.29

comment:6 Changed 2 years ago by Stuart Auchterlonie

Milestone: 0.2929.0

Milestone renamed

comment:7 Changed 9 months ago by Stuart Auchterlonie

Milestone: 29.029.1

comment:8 Changed 8 months ago by Stuart Auchterlonie

Milestone: 29.130.0
Summary: Complaints about UDisks on starting frontendImplement newer media handling methods (udisks2, storaged)

comment:9 Changed 8 months ago by Stuart Auchterlonie

Udisks2 has itself been replaced by storaged on newer Fedora releases.

https://fedoraproject.org/wiki/Changes/Replace_UDisks2_by_Storaged

Note: See TracTickets for help on using tickets.