RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 829688 - k3b is trying to use deprecated HAL
Summary: k3b is trying to use deprecated HAL
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: k3b
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: alpha
: 7.0
Assignee: Radek Novacek
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-07 10:20 UTC by Martin
Modified: 2016-12-01 00:30 UTC (History)
4 users (show)

Fixed In Version: k3b-2.0.2-12.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-16 15:21:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Martin 2012-06-07 10:20:58 UTC
Description of problem:
k3b is trying to use deprecated HAL when probing optical drives.

Version-Release number of selected component (if applicable):
k3b-2.0.2-10.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. Run k3b
  
Actual results:
k3b show error after start:

No optical drive found.
K3b did not find any optical device in your system.
Solution: Make sure HAL daemon is running, it is used by K3b for finding devices.

Expected results:
no error

Additional info:
Adding device "/org/freedesktop/UDisks2/Manager" 
Adding device "/org/freedesktop/UDisks2/block_devices/dm_2d0" 
Adding device "/org/freedesktop/UDisks2/block_devices/dm_2d1" 
Adding device "/org/freedesktop/UDisks2/block_devices/dm_2d2" 
Adding device "/org/freedesktop/UDisks2/block_devices/dm_2d3" 
Adding device "/org/freedesktop/UDisks2/block_devices/dm_2d4" 
Adding device "/org/freedesktop/UDisks2/block_devices/dm_2d5" 
Adding device "/org/freedesktop/UDisks2/block_devices/dm_2d6" 
Adding device "/org/freedesktop/UDisks2/block_devices/dm_2d7" 
Adding device "/org/freedesktop/UDisks2/block_devices/dm_2d8" 
Adding device "/org/freedesktop/UDisks2/block_devices/loop0" 
Adding device "/org/freedesktop/UDisks2/block_devices/loop1" 
Adding device "/org/freedesktop/UDisks2/block_devices/loop2" 
Adding device "/org/freedesktop/UDisks2/block_devices/loop3" 
Adding device "/org/freedesktop/UDisks2/block_devices/loop4" 
Adding device "/org/freedesktop/UDisks2/block_devices/loop5" 
Adding device "/org/freedesktop/UDisks2/block_devices/loop6" 
Adding device "/org/freedesktop/UDisks2/block_devices/loop7" 
Adding device "/org/freedesktop/UDisks2/block_devices/sda" 
Adding device "/org/freedesktop/UDisks2/block_devices/sda1" 
Adding device "/org/freedesktop/UDisks2/block_devices/sda2" 
Adding device "/org/freedesktop/UDisks2/block_devices/sr0" 
Adding device "/org/freedesktop/UDisks2/drives/HITACHI_HTS723232A7A364_E3834563HJZB9N" 
Adding device "/org/freedesktop/UDisks2/drives/MATSHITADVD_RAM_UJ8A2_HK49_268806" 
k3b(2347)/kdeui (kdelibs): Attempt to use QAction "view_projects" with KXMLGUIFactory! 
k3b(2347)/kdeui (kdelibs): Attempt to use QAction "view_dir_tree" with KXMLGUIFactory! 
k3b(2347)/kdeui (kdelibs): Attempt to use QAction "view_contents" with KXMLGUIFactory! 
k3b(2347)/kdeui (kdelibs): Attempt to use QAction "location_bar" with KXMLGUIFactory! 
k3b(2347) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf! 
"/org/freedesktop/UDisks2/block_devices/sr0" has new interfaces: ("org.freedesktop.UDisks2.Filesystem") 
"/org/freedesktop/UDisks2/block_devices/sr0" 's interface "org.freedesktop.UDisks2.Block" changed props: 
         modified: "IdLabel" : QVariant(QString, "Personal Data, Jul 04, 2011") 
         modified: "IdType" : QVariant(QString, "iso9660") 
         modified: "IdUsage" : QVariant(QString, "filesystem") 
         modified: "IdVersion" : QVariant(QString, "Joliet Extension") 
         modified: "Size" : QVariant(qulonglong, 2084864) 
         modified: "Symlinks" : QVariant(QDBusArgument, ) 
MEDIA CHANGED in "/org/freedesktop/UDisks2/block_devices/sr0" ; size is: 2084864

Comment 1 Bill Nottingham 2012-06-08 15:58:40 UTC
If that 'Additional info' is corect, it seems like it's at least trying to use udisks2 properly, and the error message about HAL is a bogus error message.

Comment 2 Radek Novacek 2012-06-12 08:13:35 UTC
k3b only uses HAL for locking the devices and it won't fail if there is no HAL in the system. It can be disabled but I don't see any harm to let it enabled.

However, this error message is wrong because HAL is not used for device discovery. I'll remove the line "Make sure HAL daemon is running, it is used by K3b for finding devices." from the dialog.

Comment 3 Martin 2012-06-12 08:25:36 UTC
Why bother user with error (in GUI):

"No optical drive found.
K3b did not find any optical device in your system."

Could you remove whole message from dialog? It makes no sense on RHEL7 and latest Fedora.

Comment 4 Radek Novacek 2012-06-12 08:38:44 UTC
I think that this error is quite important, IMHO user wants to know that k3b won't be much functional without optical drive. You can suggest this change to upstream, I've created bug in upstream bugzilla:

https://bugs.kde.org/show_bug.cgi?id=301711

For now, I've removed only that one line and committed it to rawhide (k3b-2.0.2-11.fc18). It will be dragged to RHEL-7 automatically, right?

Comment 6 Radek Novacek 2012-06-12 15:03:02 UTC
Another change, I've disabled HAL support completely. The HAL package is not even in Fedora, so it has been doing superfluous D-Bus call.


Note You need to log in before you can comment on or make changes to this bug.