public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Fabian Ebner <f.ebner@proxmox.com>
Subject: [pve-devel] applied: [PATCH/RFC manager] pveceph: also install nvme-cli
Date: Mon, 5 Jul 2021 12:05:08 +0200	[thread overview]
Message-ID: <26890e87-b38f-3e29-d079-1954a297ee58@proxmox.com> (raw)
In-Reply-To: <20210705095000.24403-1-f.ebner@proxmox.com>

On 05.07.21 11:50, Fabian Ebner wrote:
> The nvme-cli package is recommended by (our) Ceph packages, but here
> --no-install-recommends is used to avoid pulling in too much.
> 
> The issue with not installing nvme-cli is that a "security
> information" mail notification is triggered by sudo each time Ceph
> tries to get the device health metrics. While there is a sudoers
> rule for /usr/sbin/nvme, Ceph uses 'sudo nvme ...', so it does not
> apply when the package is not installed.
> 
> This didn't seem to happen with sudo in buster.
> 
> It's about 1 MiB of additional packages (nvme-cli + uuid-runtime).
> 
> Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
> ---
> 
> An alternative would be to patch Ceph to use the full /usr/sbin/nvme
> for its call (not tested).
> 
>  PVE/CLI/pveceph.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
>

applied, thanks!




      reply	other threads:[~2021-07-05 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-05  9:50 [pve-devel] " Fabian Ebner
2021-07-05 10:05 ` Thomas Lamprecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26890e87-b38f-3e29-d079-1954a297ee58@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal