From 8c41c96e4579af351988d6a8a9999299be1f6db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Wed, 12 Jun 2024 09:34:04 +0100 Subject: [PATCH 1/3] fix(dbus): fix users issues detection --- service/lib/agama/dbus/manager_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/lib/agama/dbus/manager_service.rb b/service/lib/agama/dbus/manager_service.rb index 6351ef4031..7a9c9bf432 100644 --- a/service/lib/agama/dbus/manager_service.rb +++ b/service/lib/agama/dbus/manager_service.rb @@ -125,7 +125,7 @@ def manager_dbus end def users_dbus - @users_dbus ||= Agama::DBus::Users.new(users, logger) + @users_dbus ||= Agama::DBus::Users.new(manager.users, logger) end end end From 1ab1d786b477b2654871a2bb8bf0438141aa4581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Wed, 12 Jun 2024 09:38:49 +0100 Subject: [PATCH 2/3] chore: make Rubocop happy --- service/lib/agama/users.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/lib/agama/users.rb b/service/lib/agama/users.rb index dd464a20c6..080ee30632 100644 --- a/service/lib/agama/users.rb +++ b/service/lib/agama/users.rb @@ -149,7 +149,7 @@ def update_issues unless root_password? || root_ssh_key? || first_user? new_issues << Issue.new( _("Defining a user, setting the root password or a SSH public key is required"), - source: Issue::Source::CONFIG, + source: Issue::Source::CONFIG, severity: Issue::Severity::ERROR ) end From b1961afa0c5c22c0d58de176938f71fad59ffea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Wed, 12 Jun 2024 10:01:54 +0100 Subject: [PATCH 3/3] doc(dbus): remove ServiceStatus for Users1 object --- .../org.opensuse.Agama1.ServiceStatus.bus.xml | 1 - .../org.opensuse.Agama1.ServiceStatus.doc.xml | 35 ------------------- 2 files changed, 36 deletions(-) delete mode 120000 doc/dbus/bus/org.opensuse.Agama1.ServiceStatus.bus.xml delete mode 100644 doc/dbus/org.opensuse.Agama1.ServiceStatus.doc.xml diff --git a/doc/dbus/bus/org.opensuse.Agama1.ServiceStatus.bus.xml b/doc/dbus/bus/org.opensuse.Agama1.ServiceStatus.bus.xml deleted file mode 120000 index 30d354ffd2..0000000000 --- a/doc/dbus/bus/org.opensuse.Agama1.ServiceStatus.bus.xml +++ /dev/null @@ -1 +0,0 @@ -org.opensuse.Agama.Users1.bus.xml \ No newline at end of file diff --git a/doc/dbus/org.opensuse.Agama1.ServiceStatus.doc.xml b/doc/dbus/org.opensuse.Agama1.ServiceStatus.doc.xml deleted file mode 100644 index 10840ebefc..0000000000 --- a/doc/dbus/org.opensuse.Agama1.ServiceStatus.doc.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - -