Commit Graph

171 Commits

Author SHA1 Message Date
Andrew A. Vasilyev
2f4540b1d2 1.2.2.1-alt3
- use %preun_systemd/%post_systemd_postponed
2023-05-03 19:37:02 +03:00
41fee3a76d 1.2.2.1-alt2
- Add tmpfiles config for create /run/pve.
- Delete RuntimeDirectory from service unit.
2022-12-22 18:28:29 +03:00
64d9228228 Not use RuntimeDirectory; pre-migrate to use tmpfiles 2022-12-22 18:14:27 +03:00
cd100b6c3e 1.2.2.1-alt1
- 1.2.2-1
2022-10-04 05:57:47 +03:00
3aa59274c4 import patch from srpm 2022-10-04 05:56:07 +03:00
f28169fb47 define LIBEXECDIR as /usr/libexec 2022-10-04 05:45:04 +03:00
c6cd109022 directories are not removed when the service is stopped 2022-10-04 05:38:21 +03:00
8d945c0fbf update Makefile 2022-10-04 05:28:31 +03:00
87e764cb69 import rpm spec from srpm 2022-10-04 05:09:51 +03:00
c3bbeb6297 update cargo config for offline build 2022-10-04 05:05:36 +03:00
f5dd6d5176 add rust modules with cargo vendor 2022-10-04 05:03:45 +03:00
e06d83ab68 gear-remotes-save 2022-10-04 04:59:28 +03:00
Wolfgang Bumiller
87ba060774 bump version to 1.2.2-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-18 12:15:47 +02:00
Wolfgang Bumiller
7d6927b680 drop EventedFd/PolledFd helpers
And use tokio's AsyncFd correctly.

And restore SOCK_NONBLOCK on the receiver.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-18 12:13:59 +02:00
Wolfgang Bumiller
7b1d2aa594 fix compiler compat issue (missing type annotation)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-18 12:13:42 +02:00
Wolfgang Bumiller
7d20b692df add track_caller to spawn
so the tokio console shows the caller instead

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-18 12:13:16 +02:00
Wolfgang Bumiller
a72f5d3342 Revert "Revert "seq_packet: set SOCK_NONBLOCK on accept""
This reverts commit 4275498bbc.
2022-07-18 11:26:31 +02:00
Wolfgang Bumiller
61eed599e4 bump version to 1.2.1-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-18 11:18:36 +02:00
Wolfgang Bumiller
4275498bbc Revert "seq_packet: set SOCK_NONBLOCK on accept"
This reverts commit ff22261dde.

This causes issues with lxc blocking on recvmsg.
2022-07-18 11:17:30 +02:00
Wolfgang Bumiller
bf111d7e15 bump version to 1.2.0-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-07 15:20:31 +02:00
Wolfgang Bumiller
ff22261dde seq_packet: set SOCK_NONBLOCK on accept
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-07 15:17:10 +02:00
Wolfgang Bumiller
a747328ef3 cleanup: explicitly use Arc::clone
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-21 10:35:20 +02:00
Wolfgang Bumiller
53d40ceeab rt: set worker thread count
use at least 2 but at most 4 worker threads

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-21 10:09:54 +02:00
Wolfgang Bumiller
b8cb8723bd update to nix 0.24
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 14:35:05 +02:00
Wolfgang Bumiller
bd5301dc58 drop IoVec/Mut in favor of std IoSlice/Mut
These used to not be Send + Sync, but they are now.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 14:26:13 +02:00
Wolfgang Bumiller
3715458fce clippy fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 09:52:29 +02:00
Wolfgang Bumiller
8bc22e3879 bump edition to 2021
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 09:51:23 +02:00
Wolfgang Bumiller
15c6eb2221 bump version to 1.1.1-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 09:46:08 +02:00
Wolfgang Bumiller
7564d55dad make clippy happy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-05-27 10:21:13 +02:00
Wolfgang Bumiller
9202081202 remove Todo.md
Just had 1 entry:

Fetching the notify fd isn't terribly useful right now, for
this optimization it's better to wait for the new 'handler'
approach once that's ready.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-10 16:18:25 +01:00
Wolfgang Bumiller
dc562b1121 remove rust-toolchain file
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-10 16:13:33 +01:00
Wolfgang Bumiller
96bc57d5f5 rework AT_FDCWD handling
this one's negative, actually

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 14:37:50 +01:00
Wolfgang Bumiller
9f86697d3b bump version to 1.1.0-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 14:21:16 +01:00
Wolfgang Bumiller
092824889d accept negative file descriptors
since for instance mknodat(-1, ...) may be used to
explicitly prevent relative paths we need to pass those
along instead of immediately failing with EINVAL

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 14:12:49 +01:00
Wolfgang Bumiller
4032c6699f deny unsafe_op_in_unsafe_fn
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 12:19:16 +01:00
Wolfgang Bumiller
cff598eb29 clippy fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 12:17:52 +01:00
Wolfgang Bumiller
8261331958 cargo fmt
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 11:51:48 +01:00
Wolfgang Bumiller
a03af34bb5 clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-11 10:55:47 +02:00
Wolfgang Bumiller
69eff2a1b2 add 'make upload' target
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-10 13:08:38 +02:00
Wolfgang Bumiller
fb2ec93c4f bump version to 1.0.0-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-10 12:05:43 +02:00
Wolfgang Bumiller
fe73c2fb92 support pure cgroupv2 environments
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-10 12:03:28 +02:00
Wolfgang Bumiller
b5019f1a23 fix Pipe ReadBuf usage
this wasn't advancing the ReadBuf state

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-10 12:01:55 +02:00
Thomas Lamprecht
a8a175ea0b bump version to 0.9.2-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 21:05:23 +02:00
Thomas Lamprecht
4b8278231b buildsys: add CARGO_BUILD_ARGS to test target to avoid full rebuild
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 21:03:24 +02:00
Fabian Grünbichler
7a1ab2b21e update to tokio 1.0
and switch from PollEvented to AsyncFd, dropping the direct mio
dependency in turn.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-02-17 11:57:21 +01:00
Fabian Grünbichler
29219349a6 debcargo: fix maintainer directive
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-02-01 11:24:07 +01:00
Fabian Grünbichler
c7db073eb9 update nix dependency
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-12-02 13:26:51 +01:00
Wolfgang Bumiller
ae19b9487c add a Todo file
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-08-20 09:38:59 +02:00
Wolfgang Bumiller
8150a43970 replace failure with anyhow
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-17 11:15:18 +02:00
Wolfgang Bumiller
cbd70f7799 bump version to 0.9.1-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-30 09:04:00 +01:00