From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 30 14:57:08 2025 Received: (at submit) by debbugs.gnu.org; 30 Apr 2025 18:57:09 +0000 Received: from localhost ([127.0.0.1]:56900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uACcG-00032s-FC for submit@debbugs.gnu.org; Wed, 30 Apr 2025 14:57:08 -0400 Received: from lists.gnu.org ([2001:470:142::17]:36402) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uACcD-00031z-Fb for submit@debbugs.gnu.org; Wed, 30 Apr 2025 14:57:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uAAie-0000U4-0T for guix-patches@gnu.org; Wed, 30 Apr 2025 12:55:36 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::] helo=mail.ditigal.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1uAAib-0002pW-P5 for guix-patches@gnu.org; Wed, 30 Apr 2025 12:55:35 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 5133a1da (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 30 Apr 2025 16:55:28 +0000 (UTC) From: Rutherther To: guix-patches@gnu.org Subject: [PATCH] gnu: /etc/qemu/firmware: Produce only /etc/qemu/firmware instead of /etc/qemu Date: Wed, 30 Apr 2025 18:54:00 +0200 Message-ID: <0dbb359fe647517ad0d7cc40de6c4e644e32f004.1746032004.git.rutherther@ditigal.xyz> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner , Maxim Cournoyer Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1746032128; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=STlpq4rjASKhw3PT9rq4UHK/UP3xqJT+Vctj5BrQ/b4=; b=SNoBuJRwl7NdbcitHuzpTiT+nx8jjg7ZbdBiUNRM4l6mD7S6VCu3iZW+REaHcAx4RgRRZ n3N7mjMBCDLzNHXXtuODsVG9fvdggJNjHm7ur3bO6iijXAKdeTWLlgycZ+x/g3aQBg/JO6/ 6fUtV/mDyXBtSG1TUbjY/FeKb6OShIo= Received-SPF: pass client-ip=2a01:4f8:1c1b:6a1c::; envelope-from=rutherther@ditigal.xyz; helo=mail.ditigal.xyz X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.4 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The service unnecessarily populates /etc/qemu with a symlink, so it's not possible to write files like /etc/qemu/bridge.conf or /etc/qemu/host.conf anymore. Since etc-service-type uses file-union, it' [...] Content analysis details: (3.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=rutherther%40ditigal.xyz; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: submit Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.4 (/) The service unnecessarily populates /etc/qemu with a symlink, so it's not possible to write files like /etc/qemu/bridge.conf or /etc/qemu/host.conf anymore. Since etc-service-type uses file-union, it's possible to put files in subdirectories. This restores the behavior suggested by manual where user can extend etc-service-type with qemu/host.conf etc. * gnu/services/virtualization.scm (/etc/qemu/firmware): Extend with qemu/firmware instead of qemu Change-Id: I7c1ea790e5abf7ad05dce56b7901ac6eb90208fd --- gnu/services/virtualization.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm index 0836fe7d45..081093eab3 100644 --- a/gnu/services/virtualization.scm +++ b/gnu/services/virtualization.scm @@ -577,14 +577,13 @@ (define (libvirt-shepherd-service config) (define (/etc/qemu/firmware config) (let ((firmwares (libvirt-configuration-firmwares config))) - `(("qemu" + `(("qemu/firmware" ,(computed-file "etc-qemu-firmware" (with-imported-modules '((guix build union)) #~(begin (use-modules (guix build union) (srfi srfi-26)) - (mkdir #$output) - (union-build (string-append #$output "/firmware") + (union-build #$output (map (cut string-append <> "/share/qemu/firmware") (list #$@firmwares)))))))))) base-commit: 8a9f0a618e929289d8d13e9341349ca7fdd06d99 -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Fri May 16 09:04:47 2025 Received: (at 78165-done) by debbugs.gnu.org; 16 May 2025 13:04:47 +0000 Received: from localhost ([127.0.0.1]:37117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uFuk2-0004Lh-N2 for submit@debbugs.gnu.org; Fri, 16 May 2025 09:04:47 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:59743) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uFujz-0004LC-HX for 78165-done@debbugs.gnu.org; Fri, 16 May 2025 09:04:44 -0400 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-2302d90c7f7so25450635ad.3 for <78165-done@debbugs.gnu.org>; Fri, 16 May 2025 06:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747400677; x=1748005477; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=/t10rqx7D3rNx5wT21d5tVPI0EgIOmqljyyxtl/h9PY=; b=Aisup6gVkYI122XKayxVAdoHlWPlR+At7FjF2P5dyWW1mCveIx+NHTVosu6Yhua/o/ wV5iI6jBhKA+e+BR/GbswY0FjJlcSPcvLdPEaRhpNdNrkk85QAT3xXV94ededqQIohh+ qBvNki8d2/mvQzTZ5sDBawqQ0Koke5A//QnsN3RJRXnJXdSrikhRA+0H+pRpkcMFbV+L sQ0aHDKxxW+bVbPuWFfpocumYyuS0808RHdljUbYDfrreBxvEI1VwwoDrvlIAm+3H6ew sMPX0BSa5kRKwUVOwUSAFSk58Ihnsxm7I3nCCC0aMA0YHXMUa6Z4OsETMY5LT6n6K4PF o2ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747400677; x=1748005477; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/t10rqx7D3rNx5wT21d5tVPI0EgIOmqljyyxtl/h9PY=; b=tVc3/YOOPUG0HmSRhsjPjzeS8zZaCVns4vghUwTnJCIVW9iqTYZlBqfcsz109HN8Dm 1sTqajlplDPDG6ZROmm9UU6iAIqm2sY3zzG3le2kz6nKqDapGDJfKJ5Ojm5KMWFjR6tm alGH+8mGcrBDLuK+YQe7WeUYUOVWe7Xx+LzqHxjI0hPSfgIxbiFSwQX/j0YKw8Oq9nTe lDRGJ9JohQ7mAAAbfVeQDH3gzQy+/AXiYyjT7Sh+WuLgCbW5XZfIqAqqpULgK7ikSEEH MFH97730sObUgAAJVmsARYu3ZhQnWQfbUkyWB3c6+1oLfSp4IGP7mdhGL0M8NmYA3DYd 2HNA== X-Gm-Message-State: AOJu0YwhKBeA8d83RVUl7YiqO/MqDJcwbmiHWYbtf4y+1+TT00Pz3w4j +1bipyxovXnS5fgzltS5GoKakoeqJGMxUp2YlySAS03XqKFvDEjO68PdiBpHbw== X-Gm-Gg: ASbGncuj4jByTIhS4MB2IDnhowaZONS0Ed1owojmio0u0Z9IexMbjbgShlrXX13s5bD Gh7Xlcz78Hl0M2gU+nmjLsqQO7j1IZf8x8mdDK6/TgxHN7rOdFmTntxe4fJ7m0lcK68ZzztlGEx PQZWTwz/Yb84xoo7Buiw0YW9fSZpyCwHWNbdzC5M/oJ6EemMwFyZ93TZDqG/knCFBG6V9N27rwH TtsRTXjz7BL9uQF+Ts+GVohZETnoJ7JQlqW8CGdK4eElYZqR/ETF+9NZEjFs8X+6C+ahj6fZbBU IG+C3QMxNaTMM9/Bj/hJHdGqUfKWO6Sj/1sDoliYMpkElbm+Og== X-Google-Smtp-Source: AGHT+IEYogJUf+bFcbB84K+1Faj56vmRWuV51oBehyxyMKXiuNJuz0Pt+2N0fs4sawpxsEHI6piTuw== X-Received: by 2002:a17:903:2ec3:b0:231:d0dc:f2d4 with SMTP id d9443c01a7336-231d438b4efmr41857895ad.2.1747400677071; Fri, 16 May 2025 06:04:37 -0700 (PDT) Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-231d4adb71dsm13724515ad.62.2025.05.16.06.04.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 May 2025 06:04:36 -0700 (PDT) From: Maxim Cournoyer To: Rutherther Subject: Re: [bug#78165] [PATCH] gnu: /etc/qemu/firmware: Produce only /etc/qemu/firmware instead of /etc/qemu In-Reply-To: <0dbb359fe647517ad0d7cc40de6c4e644e32f004.1746032004.git.rutherther@ditigal.xyz> (rutherther@ditigal.xyz's message of "Wed, 30 Apr 2025 18:54:00 +0200") References: <0dbb359fe647517ad0d7cc40de6c4e644e32f004.1746032004.git.rutherther@ditigal.xyz> Date: Fri, 16 May 2025 22:04:34 +0900 Message-ID: <875xi0hfkt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Rutherther writes: > The service unnecessarily populates /etc/qemu with a symlink, so it's not > possible to write files like /etc/qemu/bridge.conf or /etc/qemu/host.conf > anymore. Since etc-service-type uses file-unio [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:634 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxim.cournoyer[at]gmail.com) X-Debbugs-Envelope-To: 78165-done Cc: Efraim Flashner , 78165-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi, Rutherther writes: > The service unnecessarily populates /etc/qemu with a symlink, so it's not > possible to write files like /etc/qemu/bridge.conf or /etc/qemu/host.conf > anymore. Since etc-service-type uses file-union, it's possible to put files in > subdirectories. This restores the behavior suggested by manual where user can > extend etc-service-type with qemu/host.conf etc. > > * gnu/services/virtualization.scm (/etc/qemu/firmware): Extend with > qemu/firmware instead of qemu Good idea! Pushed. -- Thanks, Maxim From unknown Sat Jun 21 10:46:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Jun 2025 11:24:16 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator