[pve-devel] applied: [PATCH/RFC manager] pveceph: also install nvme-cli

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Jul 5 12:05:08 CEST 2021


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 at 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!





More information about the pve-devel mailing list