aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'hst/config.go')
-rw-r--r--hst/config.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/hst/config.go b/hst/config.go
index 7c96874f..9f4ee2f7 100644
--- a/hst/config.go
+++ b/hst/config.go
@@ -140,6 +140,13 @@ func (config *Config) Validate() error {
Msg: "identity " + strconv.Itoa(config.Identity) + " out of range"}
}
+ if err := config.SessionBus.CheckInterfaces("session"); err != nil {
+ return err
+ }
+ if err := config.SystemBus.CheckInterfaces("system"); err != nil {
+ return err
+ }
+
if config.Container == nil {
return &AppError{Step: "validate configuration", Err: ErrConfigNull,
Msg: "configuration missing container state"}