aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/system.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-09-24 13:44:42 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-09-24 13:44:42 +0900
commit1cb90c0840e6d2bdef9ed8b9cb5ae54fc1b6c91c (patch)
tree8a64b219600a83ce84333b3c7bf8a0956093ed7a /internal/app/system.go
parenta75229991c085b40f308ac58ad71aacadebcd9e0 (diff)
app: improve dbus proxy verbose messages
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/system.go')
-rw-r--r--internal/app/system.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/internal/app/system.go b/internal/app/system.go
index 36802ddb..86d97d9a 100644
--- a/internal/app/system.go
+++ b/internal/app/system.go
@@ -213,9 +213,9 @@ func (tx *appSealTx) commit() error {
if tx.dbus != nil {
// start dbus proxy
- verbose.Printf("starting session bus proxy on '%s' for upstream '%s'\n", tx.dbusAddr[0][1], tx.dbusAddr[0][0])
+ verbose.Printf("session bus proxy on '%s' for upstream '%s'\n", tx.dbusAddr[0][1], tx.dbusAddr[0][0])
if tx.dbusSystem {
- verbose.Printf("starting system bus proxy on '%s' for upstream '%s'\n", tx.dbusAddr[1][1], tx.dbusAddr[1][0])
+ verbose.Printf("system bus proxy on '%s' for upstream '%s'\n", tx.dbusAddr[1][1], tx.dbusAddr[1][0])
}
if err := tx.startDBus(); err != nil {
return (*DBusStartError)(wrapError(err, "cannot start message bus proxy:", err))
@@ -224,8 +224,6 @@ func (tx *appSealTx) commit() error {
txp.dbusAddr = tx.dbusAddr
txp.dbusSystem = tx.dbusSystem
txp.dbusWait = tx.dbusWait
-
- verbose.Println(xdgDBusProxy, "launch:", tx.dbus)
}
}
@@ -339,6 +337,7 @@ func (seal *appSeal) shareAll(bus [2]*dbus.Config) error {
if bus[1] != nil {
verbose.Println("sealed system proxy", bus[1].Args(seal.sys.dbusAddr[1]))
}
+ verbose.Println("message bus proxy final args:", seal.sys.dbus)
}
// workaround for launch method sudo