Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions rust/agama-lib/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ impl Store {
if let Some(security) = &settings.security {
self.security.store(security).await?;
}
if let Some(user) = &settings.user {
self.users.store(user).await?;
}
// order is important here as network can be critical for connection
// to registration server and selecting product is important for rest
if let Some(product) = &settings.product {
Expand All @@ -199,12 +202,6 @@ impl Store {
Store::ensure_selected_product(is_product_selected)?;
self.localization.store(localization).await?;
}
// import the users (esp. the root password) before initializing software,
// if software fails the Web UI would be stuck in the root password dialog
if let Some(user) = &settings.user {
Store::ensure_selected_product(is_product_selected)?;
self.users.store(user).await?;
}
if let Some(software) = &settings.software {
Store::ensure_selected_product(is_product_selected)?;
self.software.store(software).await?;
Expand Down
6 changes: 6 additions & 0 deletions rust/package/agama.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 29 09:50:59 UTC 2025 - Imobach Gonzalez Sosa <[email protected]>

- Do not complain about missing a selected product when it is not
required (bsc#1247248).

-------------------------------------------------------------------
Mon Jul 28 08:18:09 UTC 2025 - Imobach Gonzalez Sosa <[email protected]>

Expand Down