From nobody Wed May 8 11:59:02 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=1642700461; cv=none; d=zohomail.com; s=zohoarc; b=NYmhZts2QNCNGe8/OrdrnxQ10Z7mGP3SzRdUZ0bN+AoYFk7taYiPeZ9r/bCBW/Z43yit55pSVyuj2B4uuBInmtoqa9SxULGN4Wg0+x5LOHnCBrjUiy8+xb0sg0oFtDEy5ekXTQjw6RMbamVEjr3i5Yqar3gyHRqRedvjBRObOOI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642700461; 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=ZVYN2heu/MkMX+Np5XL0LrZOdwf+jpo1lzFa0Td/ITI=; b=KhsL//pNYr/DRBSMAlWEs8Fg/0IvuXBjlh6atRUl4GRDADskMWwCXWLRxTr/oypjG1FDN5tfeb0HZj4gyW+7yG5bXb/eRXZVEu7/qDz1RN1BHsbxdrsRxARLMM0OosRwy/2cGn7/SSmJZD37prqjPGVmtGaqc4UiRb3jajf5bi4= 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 1642700461559501.78910708564797; Thu, 20 Jan 2022 09:41:01 -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-55-wb0NWzmUObqBTNBTeY4gWg-1; Thu, 20 Jan 2022 12:40:58 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6F54F1091DA3; Thu, 20 Jan 2022 17:40:53 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4A1943491F; Thu, 20 Jan 2022 17:40:53 +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 CAEAE4BB7C; Thu, 20 Jan 2022 17:40:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20KHLMSE003830 for ; Thu, 20 Jan 2022 12:21:22 -0500 Received: by smtp.corp.redhat.com (Postfix) id 012057DE38; Thu, 20 Jan 2022 17:21:22 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5DE7B7DE37 for ; Thu, 20 Jan 2022 17:21:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642700460; 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=ZVYN2heu/MkMX+Np5XL0LrZOdwf+jpo1lzFa0Td/ITI=; b=EMM2a+mOTVfe3ukwNN4l4CqMP6/VYiqh879QK3SQNIAcZb9nD1KQr2HSQpFyzKKlIxYiL8 QtIzWJcHdqbGkyJqrRbBDbm5ZFJZf2X5kjLQZ9BplpdpBHQfh1ZG/33USxk9LT3pwKQiFF YWyAv7vzN8/r7dro9h+mqmfIR8Bet7Q= X-MC-Unique: wb0NWzmUObqBTNBTeY4gWg-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH] man: virt-admin: Remove misleading paragraph about unix socket permissions Date: Thu, 20 Jan 2022 18:21:02 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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.84 on 10.5.11.23 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: 1642700461894100001 Content-Type: text/plain; charset="utf-8" The socket permissions are controlled by 'unix_sock_admin_perms', but regardless the code requires that 'geteuid() !=3D clientuid' to allow clients thus it doesn't make sense to make users aware of it. Signed-off-by: Peter Krempa Reviewed-by: Daniel P. Berrang=C3=A9 --- docs/manpages/virt-admin.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/manpages/virt-admin.rst b/docs/manpages/virt-admin.rst index 940a38bfce..fff65cf9a7 100644 --- a/docs/manpages/virt-admin.rst +++ b/docs/manpages/virt-admin.rst @@ -91,11 +91,7 @@ NOTES =3D=3D=3D=3D=3D Running ``virt-admin`` requires root privileges due to the -communications channels used to talk to the daemon. Consider changing the -*unix_sock_group* ownership setting to grant access to specific set of use= rs -or modifying *unix_sock_rw_perms* permissions. Daemon configuration file -provides more information about setting permissions. - +communications channels used to talk to the daemon. GENERIC COMMANDS =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.34.1