This file is indexed.

/usr/lib/kde4/libexec/DriverManager_DBus is in kubuntu-driver-manager 14.04ubuntu7.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python3
# Copyright (C) 2013 Rohan Garg <rohan@kde.org>
# Copyright (C) 2014 Harald Sitter <apachelogger@kubuntu.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License or (at your option) version 3 or any later version
# accepted by the membership of KDE e.V. (or its successor approved
# by the membership of KDE e.V.), which shall act as a proxy
# defined in Section 14 of version 3 of the license.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

import sys

import dbus
import dbus.service
import dbus.mainloop.qt
from UbuntuDrivers import detect
from PyQt4.QtCore import QCoreApplication, QTimer, Qt

BUS_NAME = "org.kubuntu.DriverManager"

class DriverManager(dbus.service.Object):

    __timer = None

    def __init__(self, session_bus, parent):
        dbus.service.Object.__init__(self, session_bus,'/DriverManager')
        self.__timer = QTimer(parent)
        self.__timer.timeout.connect(parent.quit, Qt.QueuedConnection)
	# Auto-terminate after 10 seconds in idle.
        self.__timer.setInterval(10*1000)
        self.__timer.start()

    @dbus.service.method(BUS_NAME,
                         in_signature='', out_signature='a{sa{sv}}')
    def devices(self):
        try:
            print("DriverManager_DBus::devices START")
            self.__timer.stop();
            ret = detect.system_device_drivers()
            return ret;
        finally:
            print("DriverManager_DBus::devices END")
            self.__timer.start();

if __name__ == '__main__':
    app = QCoreApplication(sys.argv)
    dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True)
    bus = dbus.SessionBus()
    name = dbus.service.BusName(BUS_NAME, bus)
    dbus_manager = DriverManager(session_bus=bus, parent=app)
    sys.exit(app.exec())