From f2a67368837a10bfc2edb5bf84d10983065d16a4 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 28 Feb 2022 11:29:45 +0100 Subject: [PATCH] [libcalamares] More chatty when DBus fails --- src/libcalamares/partition/AutoMount.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libcalamares/partition/AutoMount.cpp b/src/libcalamares/partition/AutoMount.cpp index 35aa635d2..3ad4bf5f8 100644 --- a/src/libcalamares/partition/AutoMount.cpp +++ b/src/libcalamares/partition/AutoMount.cpp @@ -99,6 +99,10 @@ querySolidAutoMount( QDBusConnection& dbus, AutoMountInfo& info ) result = v.toBool(); } } + if ( !r.has_value() ) + { + cDebug() << "No viable response from Solid" << r.path(); + } } else { @@ -119,6 +123,7 @@ automountDisable( bool disable ) querySolidAutoMount( dbus, *info ); if ( info->hasSolid ) { + cDebug() << "Setting Solid automount to" << ( disable ? "disabled" : "enabled" ); enableSolidAutoMount( dbus, !disable ); }