Commit Graph

194 Commits

Author SHA1 Message Date
kozorizki
47b48935b5 1.3.0-alt2
- Merged upstream fixes
2024-12-18 14:41:28 +03:00
kozorizki
c0928c6a2d cargo vendor 2024-12-18 14:40:37 +03:00
kozorizki
400c64a763 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	.cargo/config.toml
2024-12-18 14:39:29 +03:00
Wolfgang Bumiller
1a98063bd9 drop io_err_other in favor of std::io::Error::other
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-26 13:07:35 +02:00
Fabian Grünbichler
bc80a46b72 move .cargo/config to .cargo/config.toml
the old location has been deprecated for a while, and rustc 1.78 will start to warn about it.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-06-20 12:37:36 +02:00
Fabian Grünbichler
7fbad39f5c build: force debug symbols in release build
they then get stripped into their own package anyway, but without this we don't
get debug symbols at all with rustc >= 1.77

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-06-20 10:32:01 +02:00
Andrew A. Vasilyev
114739db0d 1.3.0-alt1
- 1.3.0
2024-02-29 18:28:09 +03:00
Andrew A. Vasilyev
a6268455b9 cargo vendor 2024-02-29 18:27:23 +03:00
Andrew A. Vasilyev
e8b153031a Merge 1.3.0 2024-02-29 18:26:40 +03:00
Wolfgang Bumiller
7ecf79161c fix id mapping code
this is only used in the quotactl syscall which is not currently
exposed in pve and only affected non-default mappings

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-11-14 09:04:31 +01:00
Wolfgang Bumiller
8a3c5add8c use OwnedFd for all remaining custom file descriptors
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-16 13:23:52 +02:00
Wolfgang Bumiller
9bd083764a clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-16 13:23:14 +02:00
Wolfgang Bumiller
e3501427d8 clippy: mutability fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-16 13:22:59 +02:00
Andrew A. Vasilyev
b8fd8306aa 1.2.2.1-alt4
- add copyright file
2023-05-25 19:47:12 +03:00
Wolfgang Bumiller
a14430f3e7 bump version to 1.3.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-24 14:10:42 +02:00
Wolfgang Bumiller
e0b6be1417 buildsys: cleanup, derive upload dist, drop debcargo usage
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-24 14:10:42 +02:00
Andrew A. Vasilyev
2f4540b1d2 1.2.2.1-alt3
- use %preun_systemd/%post_systemd_postponed
2023-05-03 19:37:02 +03:00
Fabian Grünbichler
b9db6c2e91 build: add libsystemd-dev to build-depends
pve-lxcsyscalld is linked with it..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-01-19 10:53:05 +01:00
Fabian Grünbichler
701a8fe74d update nix to 0.26
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-01-19 10:38:05 +01: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
Wolfgang Bumiller
d463e3b4ba clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-12-09 11:21:29 +01:00
Wolfgang Bumiller
160bdc64d5 drop custom 'ready' macro, require 1.64
In 1.64, std::task::ready was stabilized, use it.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-10-21 14:06:39 +02:00
Wolfgang Bumiller
caeb967524 replace custom Fd with std OwnedFd
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-10-21 14:03:30 +02:00
Wolfgang Bumiller
2c58f78507 prepare to drop Fd type for OwnedFd (std io_safety)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-10-21 13:59:28 +02:00
Wolfgang Bumiller
0bad4328cc cleanup fd macros
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-10-21 13:55:10 +02: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