8 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
f963cf4c81 Accepting request 1293445 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1293445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flake-pilot?expand=0&rev=13
2025-07-16 13:51:48 +00:00
60de9960aa - Bump version: 3.1.19 → 3.1.20
- Fix clippy hints
  variables can be used directly in the format! string

- Prune old images after load
  Make sure no <none> image references stay in the registry

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=50
2025-07-08 13:11:39 +00:00
3 changed files with 162 additions and 3 deletions

View File

@@ -1,3 +1,162 @@
-------------------------------------------------------------------
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>
- Bump version: 3.1.21 → 3.1.22
-------------------------------------------------------------------
Thu Sep 04 18:56:45 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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.
-------------------------------------------------------------------
Thu Aug 21 16:56:12 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 3.1.20 → 3.1.21
-------------------------------------------------------------------
Thu Aug 21 16:30:01 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- seed from entropy
-------------------------------------------------------------------
Thu Aug 21 15:58:13 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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
-------------------------------------------------------------------
Tue Aug 19 15:43:21 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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
-------------------------------------------------------------------
Tue Aug 19 15:12:40 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Revert "kill prior remove when using %remove flag"
This reverts commit 06c7d4aa71f74865dfecba399fd08cc2fde2e1f2.
no hard killing needed with the event loop entrypoint
-------------------------------------------------------------------
Tue Aug 19 15:04:47 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fixed CVE-2025-55159 slab: incorrect bounds check
Update to slab 0.4.11 to fix the mentioned CVE.
This Fixes bsc#1248004
-------------------------------------------------------------------
Tue Aug 19 12:49:28 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Apply clippy fixes
-------------------------------------------------------------------
Tue Aug 19 12:22:51 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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.
This commit makes this more comfortable and automatically assigns
a random sequence number for the call if no @NAME is given.
-------------------------------------------------------------------
Wed Jul 09 11:20:12 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- kill prior remove when using %remove flag
In case the container instance should be removed via the %remove
flag, send a kill first, followed by a force remove. The reason
for this is because we use a never ending sleep command as entry
point for resume type containers. If they should be removed the
standard signal send on podman rm will not stop the sleep and
after a period of 10 seconds podman sends a kill signal itself.
We can speedup this process as we know the entry point command
and send the kill signal first followed by the remove which
saves us some wait time spent in podman otherwise.
-------------------------------------------------------------------
Tue Jul 08 15:10:31 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 3.1.19 → 3.1.20
-------------------------------------------------------------------
Tue Jul 08 12:53:22 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix clippy hints
variables can be used directly in the format! string
-------------------------------------------------------------------
Tue Jul 08 12:44:44 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Prune old images after load
Make sure no <none> image references stay in the registry
-------------------------------------------------------------------
Wed Jun 25 14:49:48 CEST 2025 - Marcus Schäfer <marcus.schaefer@gmail.com>

View File

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

Binary file not shown.