From nobody Mon May 13 21:24:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1644942446; cv=none; d=zohomail.com; s=zohoarc; b=T1n2oVolpVzOLUMZXig/49yO+KYUsXuJDCLqZZWoidGAyJoBl8ffo6hWy+M0s//5Qt0MbimORQnI49wUK/axZaahleFcYNKVF2lP6MmZ9a1rIkhgmmRnqSLwPA3sCPN5uckRtjgwAbuO+uwZAvivDwiGecuhc6CnhMaYIGs1yQU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644942446; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=10eXBJiU1MTJYw33T6Y8MWjWW5Jnb9QKOq9jh0iA+n0=; b=g8J3KWm2u9Tg4poXWQpCLDT7y0KUZetIoYy9ZcRzvr7mSMYuefQYeFzEAq/fKSHSL5KRF7cXm839R5qiWgoSgWvpOarwA4CPO24YFXfpuUQvoagySGi880nzxvg0YtS16PiQ5PD9SuS5WHLfQyXLjj/ydoICiNU66PP2MaiWCoU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1644942446784646.0960527184684; Tue, 15 Feb 2022 08:27:26 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-489-OCkpLP1uMOyT1I4zIKNBUw-1; Tue, 15 Feb 2022 11:27:23 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BBD9B1800D50; Tue, 15 Feb 2022 16:27:17 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7BE947DE4B; Tue, 15 Feb 2022 16:27:14 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id CA0B11809C88; Tue, 15 Feb 2022 16:27:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 21FGR81m009497 for ; Tue, 15 Feb 2022 11:27:08 -0500 Received: by smtp.corp.redhat.com (Postfix) id 150A770D44; Tue, 15 Feb 2022 16:27:08 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id 93E03753E8 for ; Tue, 15 Feb 2022 16:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644942445; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=10eXBJiU1MTJYw33T6Y8MWjWW5Jnb9QKOq9jh0iA+n0=; b=RMJ+4capalBFxHADwIbKlQPSchtkZQn4KCgXhg87JTfM0BpIjAwDlv1zG4DTYE3m3brmfl v/MqmR3StOOlxivABBb4gycUHpob6kDRDTHB6hDGstL85OfsR1GIq842CScMdwQ3OP3fTo I81Bs8RtTa6QDQvvbAMPSApyUvTE6gQ= X-MC-Unique: OCkpLP1uMOyT1I4zIKNBUw-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] openrc: Make init scripts executable on install Date: Tue, 15 Feb 2022 17:26:51 +0100 Message-Id: <287149738fc9709a53f67551e9210060aa06d79d.1644942411.git.mprivozn@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1644942447356100001 Content-Type: text/plain; charset="utf-8" When installing openrc init scripts, we take whatever mode the generated files are in an copy them under /etc/init.d/. This is not ideal, because those files are not executable and they should be. Resolves: https://gitlab.com/libvirt/libvirt/-/issues/250 Signed-off-by: Michal Privoznik Reviewed-by: Andrea Bolognani Reviewed-by: Ani Sinha --- src/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meson.build b/src/meson.build index 3890df7124..b2d951d36c 100644 --- a/src/meson.build +++ b/src/meson.build @@ -848,6 +848,7 @@ if conf.has('WITH_LIBVIRTD') install_data( init_file, install_dir: sysconfdir / 'init.d', + install_mode: 'rwxr-xr-x', rename: [ init['name'] ], ) =20 --=20 2.34.1