pve-manager/PVE/CLI
Christian Ebner 2bbf10d9ef pve7to8: fix broken pipe warning for dkms status invocation
The check for dkms kernel modules relies on the output of `dkms
status`. dkms command invocation will perform the following sanity
check:
```
if [ ! -e <(echo) ]; then
    warn $"dkms will not function properly if /proc is not mounted."
fi
```

This check will however throw the following warning when SIGPIPE is
set to be ignored:

```
sbin/dkms: line 2497: echo: write error: Broken pipe
```

While only cosmetic, this can be confusing. Therefore, temporarily
enable SIGPIPE before calling dkms, restoring the originally setting
afterwards.

Reported-by: Alexander Zeidler <a.zeidler@proxmox.com>
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2025-04-04 12:19:54 +02:00
..
Makefile drop outdated pve6to7 upgrade checker script for bookworm 2023-05-31 18:02:39 +02:00
pve7to8.pm pve7to8: fix broken pipe warning for dkms status invocation 2025-04-04 12:19:54 +02:00
pveam.pm fix #3961: pveam: error on 'list' if storage doesn't exist 2022-06-14 10:12:35 +02:00
pveceph.pm pveceph install: fix typos in error message 2024-10-30 10:03:16 +01:00
pvenode.pm fix #4497: cli/acme: detect eab and ask for credentials 2023-11-13 12:06:10 +01:00
pvesh.pm download handling: adapt to method schema field rename 2024-09-23 10:53:25 +02:00
pvesr.pm pvesr: prepare local job: remove stale replicated volumes immediately 2022-08-02 11:05:06 +02:00
pvesubscription.pm pvesubscription: add missing return statement 2024-02-02 19:16:49 +01:00
vzdump.pm cli tools: correctly handle warnings status 2021-06-24 08:50:38 +02:00