File: relax-env-logger-deps.diff

package info (click to toggle)
rust-virtiofsd 1.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,020 kB
  • sloc: sh: 79; makefile: 14
file content (24 lines) | stat: -rw-r--r-- 824 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Disable color in logs
 After the update to env_logger v0.11, virtiofsd started causing virtualized
 systems to hang at boot time. This was determined to be caused by env_logger
 issuing ioctl syscalls when the 'auto-color' feature is enabled, which in
 turn are blocked by virtiofsd's seccomp filter. While we determine if ioctl
 calls can be allowlisted we disable color in logs.
Author: NoisyCoil <noisycoil@tutanota.com>, Luca Boccassi <bluca@debian.org>
Forwarded: no
Last-Update: 2025-01-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -52,7 +52,9 @@
 features = ["derive"]
 
 [dependencies.env_logger]
-version = "0.8.4"
+version = "0.11"
+default-features = false
+features = ["humantime", "regex"]
 
 [dependencies.futures]
 version = "0.3"