~ubuntu-branches/ubuntu/vivid/virtualbox/vivid

« back to all changes in this revision

Viewing changes to src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2013-03-31 23:25:01 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20130331232501-l72jhvixkeyyz6xc
Tags: 4.2.10-dfsg-0ubuntu1
* Start the virtualbox-guest-x11 init script earlier.
  The vboxvideo module needs to be loaded before X starts.
* Change runlevels of virtualbox-guest-x11 init script on upgrade.
* Fix build failure with the Debian wheezy kernel which backports the drm
  subsystem from Linux 3.4. (Closes: #703358)
* Drop build-dependency on bcc as it's not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
625
625
                        else
626
626
                            VBoxServiceError("ConsoleKit: unable to retrieve user for session '%s' (msg type=%d): %s",
627
627
                                             *ppszCurSession, dbus_message_get_type(pMsgUnixUser),
628
 
                                             dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available\n");
 
628
                                             dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available");
629
629
 
630
630
                        if (pMsgUnixUser)
631
631
                            dbus_message_unref(pMsgUnixUser);
637
637
                {
638
638
                    VBoxServiceError("ConsoleKit: unable to retrieve session parameters (msg type=%d): %s",
639
639
                                     dbus_message_get_type(pMsgSessions),
640
 
                                     dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available\n");
 
640
                                     dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available");
641
641
                }
642
642
                dbus_message_unref(pReplySessions);
643
643
            }
654
654
            if (s_iBitchedAboutConsoleKit++ < 3)
655
655
                VBoxServiceError("Unable to invoke ConsoleKit (%d/3) -- maybe not installed / used? Error: %s\n",
656
656
                                 s_iBitchedAboutConsoleKit,
657
 
                                 dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available\n");
 
657
                                 dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available");
658
658
        }
659
659
 
660
660
        if (pMsgSessions)
665
665
        static int s_iBitchedAboutDBus = 0;
666
666
        if (s_iBitchedAboutDBus++ < 3)
667
667
            VBoxServiceError("Unable to connect to system D-Bus (%d/3): %s\n", s_iBitchedAboutDBus,
668
 
                             dbus_error_is_set(&dbErr) ? dbErr.message : "D-Bus not installed\n");
 
668
                             pConnection && dbus_error_is_set(&dbErr) ? dbErr.message : "D-Bus not installed");
669
669
    }
670
670
 
671
 
    if (dbus_error_is_set(&dbErr))
 
671
    if (   pConnection 
 
672
        && dbus_error_is_set(&dbErr))
672
673
        dbus_error_free(&dbErr);
673
674
# endif /* RT_OS_LINUX */
674
675
#endif /* VBOX_WITH_DBUS */