CVE-2022-3650: ceph-crash: drop privleges to run as "ceph" user, rather than root
Bug: https://tracker.ceph.com/issues/57967
Signed-off-by: Tim Serong <tserong@suse.com>
Origin: upstream, https://github.com/ceph/ceph/commit/
130c9626598bc3a75942161e6cce7c664c447382
Bug-Debian: https://bugs.debian.org/
1024932
Last-Update: 2022-11-28
If privileges cannot be dropped, log an error and exit. This commit
also catches and logs exceptions when scraping the crash path, without
which ceph-crash would just exit if it encountered an error.
Gbp-Pq: Name CVE-2022-3650_1_ceph-crash_drop_privleges_to_run_as_ceph_user_rather_than_root.patch