6 Commits

Author SHA256 Message Date
a6168fd97b Accepting request 1320760 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1320760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flake-pilot?expand=0&rev=16
2025-12-02 12:19:45 +00:00
f76c5d7c2d - Bump version: 3.1.22 → 3.1.23
- Improve error handling
  Check for the presence of the main flake registration.
  Even though this should never happen because the file
  is the result of a successful flake-ctl registration we
  cannot prevent users from working with it outside
  flake-ctl. In addition explicitly match on potential
  parse errors from aml_rust::YamlLoader instead of looking
  at the error message as result from an Err unwrap.

- Better error handling for config_from_str()
  If the provided source data is empty this is not an error
  for YamlLoader and the empty data is just passed along as
  a None value. The unconditional unwrap of a None value
  however, let the application to panic into a stacktrace.
  This commit catches the condition and provides a better
  error message.

- Use derive statement for Writeback
  replaced the manual implementation with a derive attribute
  and marked the default variant instead of adding a default()
  implementation

- Add information about potential firewall conflicts
  Add a note about the NAT setup for firecracker guests to
  connect with the host.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=56
2025-11-24 14:13:16 +00:00
4128ade4a6 Accepting request 1304148 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1304148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flake-pilot?expand=0&rev=15
2025-09-12 19:09:51 +00:00
b6fcc7066f - Bump version: 3.1.21 → 3.1.22
- Fixes to use flakes as normal user
  Running a flake is a container based instance provisioning
  and startup. Some part of this process requires root permissions
  for example mounting the container instance store for the
  provisioning step. This commit fixes the required calls to
  be properly managed by sudo.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=54
2025-09-04 19:35:23 +00:00
345eb8c633 Accepting request 1300815 from Virtualization:Appliances:Builder
- Bump version: 3.1.20 → 3.1.21

- seed from entropy

- Fix assignment of random sequence number
  We should use a seed for the sequence as described in
  https://rust-random.github.io/book/guide-seeding.html#a-simple-number
  In addition the logic when a random sequence number should
  be used was wrong and needed a fix regarding resume and
  attach type flakes which must not use a random sequence

- Pass --init option for resume type flakes
  In resume mode a sleep command is used to keep the container
  open. However, without the --init option there is no signal
  handling available. This commit fixes it

- Revert "kill prior remove when using %remove flag"
  This reverts commit 06c7d4aa71f74865dfecba399fd08cc2fde2e1f2.
  no hard killing needed with the event loop entrypoint

- Fixed CVE-2025-55159 slab: incorrect bounds check
  Update to slab 0.4.11 to fix the mentioned CVE.
  This Fixes bsc#1248004

- Apply clippy fixes

- Create sequence number for the same invocation
  If a flake which is not a resume or attach flake is called twice
  with the same invocation arguments an error message is displayed
  to give this invocation a new name via the @NAME runtime option.

OBS-URL: https://build.opensuse.org/request/show/1300815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flake-pilot?expand=0&rev=14
2025-08-21 18:32:00 +00:00
c04fe718ea - Bump version: 3.1.20 → 3.1.21
- seed from entropy

- Fix assignment of random sequence number
  We should use a seed for the sequence as described in
  https://rust-random.github.io/book/guide-seeding.html#a-simple-number
  In addition the logic when a random sequence number should
  be used was wrong and needed a fix regarding resume and
  attach type flakes which must not use a random sequence

- Pass --init option for resume type flakes
  In resume mode a sleep command is used to keep the container
  open. However, without the --init option there is no signal
  handling available. This commit fixes it

- Revert "kill prior remove when using %remove flag"
  This reverts commit 06c7d4aa71f74865dfecba399fd08cc2fde2e1f2.
  no hard killing needed with the event loop entrypoint

- Fixed CVE-2025-55159 slab: incorrect bounds check
  Update to slab 0.4.11 to fix the mentioned CVE.
  This Fixes bsc#1248004

- Apply clippy fixes

- Create sequence number for the same invocation
  If a flake which is not a resume or attach flake is called twice
  with the same invocation arguments an error message is displayed
  to give this invocation a new name via the @NAME runtime option.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=52
2025-08-21 14:57:20 +00:00
3 changed files with 50 additions and 3 deletions

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Mon Nov 24 15:11:37 CET 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 3.1.22 → 3.1.23
-------------------------------------------------------------------
Mon Nov 24 13:00:47 CET 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Improve error handling
Check for the presence of the main flake registration.
Even though this should never happen because the file
is the result of a successful flake-ctl registration we
cannot prevent users from working with it outside
flake-ctl. In addition explicitly match on potential
parse errors from aml_rust::YamlLoader instead of looking
at the error message as result from an Err unwrap.
-------------------------------------------------------------------
Thu Nov 20 11:01:26 CET 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Better error handling for config_from_str()
If the provided source data is empty this is not an error
for YamlLoader and the empty data is just passed along as
a None value. The unconditional unwrap of a None value
however, let the application to panic into a stacktrace.
This commit catches the condition and provides a better
error message.
-------------------------------------------------------------------
Thu Nov 20 10:40:07 CET 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Use derive statement for Writeback
replaced the manual implementation with a derive attribute
and marked the default variant instead of adding a default()
implementation
-------------------------------------------------------------------
Mon Sep 29 15:24:14 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Add information about potential firewall conflicts
Add a note about the NAT setup for firecracker guests to
connect with the host.
-------------------------------------------------------------------
Thu Sep 04 21:33:20 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>

View File

@@ -23,7 +23,7 @@
# SOFTWARE.
#
Name: flake-pilot
Version: 3.1.22
Version: 3.1.23
Release: 0
Summary: Launcher for flake applications
License: MIT

Binary file not shown.