ceph.git
3 years ago[PATCH] rgw/radosgw-admin clarify error when email address already in use
Matthew Vernon [Thu, 4 Feb 2021 11:41:14 +0000 (11:41 +0000)]
[PATCH] rgw/radosgw-admin clarify error when email address already in use

The error message if you try and create an S3 user with an email
address that is already associated with another S3 account is very
confusing; this patch makes it much clearer

To reproduce:

radosgw-admin user create --uid=foo --display-name="Foo test" --email=bar@domain.invalid
radosgw-admin user create --uid=test --display-name="AN test" --email=bar@domain.invalid
could not create user: unable to parse parameters, user id mismatch, operation id: foo does not match: test

With this patch:

radosgw-admin user create --uid=test --display-name="AN test" --email=bar@domain.invalid
could not create user: unable to create user test because user id foo already exists with email bar@domain.invalid

Fixes: https://tracker.ceph.com/issues/49137
Fixes: https://tracker.ceph.com/issues/19411
Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
(cherry picked from commit 05318d6f71e45a42a46518a0ef17047dfab83990)

Gbp-Pq: Name bug1914584.patch

3 years ago[PATCH] arch,cmake: compile ppc.c on all powerpc machines
Kefu Chai [Sun, 29 Aug 2021 14:24:30 +0000 (22:24 +0800)]
[PATCH] arch,cmake: compile ppc.c on all powerpc machines

* cmake/modules/SIMDExt.cmake: define HAVE_PPC for 32-bit PowerPC.
* src/arch/CMakeLists.txt: compile ppc.c for all PowerPC architectures,
  including powerpc (32-bit PowerPC), ppc64el (64-bit Little Endian
  PowerPC) and ppc64 (64-bit Big Endian PowerPC).

before this change, ppc.c is only compiled if HAVE_POWER8 is defined.
but Power8 is a 64-bit PowerPC architecture. while in src/arch/probe.cc,
we check for `defined(__powerpc__) || defined(__ppc__)`, if this is
true, ceph_arch_ppc_probe() is used to check for the support of
Altivec. but on non-power8 PowerPC machines, the linker fails to find the
symbols like ceph_arch_ppc_probe(), as ppc.c is not compiled on them.

in this change, ppc.c is compiled on all PowerPC architectures, so that
ceph_arch_ppc_probe() is also available on non-power8 machines. this
change does not impact the behavior of non-power8 machines. because
on them, the runtime check would fail to detect the existence of
PPC_FEATURE2_VEC_CRYPTO instructions.

Reported-by: Mattias Ellert <mattias.ellert@physics.uu.se>
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Gbp-Pq: Name compile-ppc.c-on-all-powerpc-machines.patch

3 years agoFix systemd ceph-osd.target
Thomas Goirand [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
Fix systemd ceph-osd.target

Forwarded: no
Last-Update: 2021-01-28

This helps when rebooting.

Gbp-Pq: Name fix-ceph-osd-systemd-target.patch

3 years agoLink with -pthread instead of -lpthread to fix FTBFS on riscv64
Ceph Packaging Team [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
Link with -pthread instead of -lpthread to fix FTBFS on riscv64

Forwarded: no
Last-Update: 2020-03-01

Gbp-Pq: Name riscv64-link-pthread.patch

3 years agoadd-option-to-disable-ceph-dencoder
Ceph Packaging Team [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
add-option-to-disable-ceph-dencoder

===================================================================

Gbp-Pq: Name add-option-to-disable-ceph-dencoder.patch

3 years agoMisc fixes for 32 bit architecture builds.
James Page [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
Misc fixes for 32 bit architecture builds.

Forwarded: no

Gbp-Pq: Name 32bit-fixes.patch

3 years agofix-bash-completion-location
Ceph Packaging Team [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
fix-bash-completion-location

Gbp-Pq: Name fix-bash-completion-location

3 years agodebian-armel-armhf-buildflags
Ceph Packaging Team [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
debian-armel-armhf-buildflags

Gbp-Pq: Name debian-armel-armhf-buildflags.patch

3 years agoAdds max_connections to test display.
Jesse Williamson [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
Adds max_connections to test display.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_test.patch

3 years agoMakes SOMAXCONN user-configurable.
Jesse Williamson [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
Makes SOMAXCONN user-configurable.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/febab7dc38c9671577603425c54c20f841e27f97
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable.patch

3 years agoAdds max_connections to reference configuration.
Jesse Williamson [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
Adds max_connections to reference configuration.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_conf.patch

3 years agodisable-crypto
Ceph Packaging Team [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
disable-crypto

===================================================================

Gbp-Pq: Name disable-crypto.patch

3 years agouse --release 7 instead of -source/-target
Tiago Stürmer Daitx [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
use --release 7 instead of -source/-target

Bug-Ubuntu: https://launchpad.net/bugs/1756854
Bug-Ubuntu: https://launchpad.net/bugs/1766998
Forwarded: no
Last-Update: 2018-04-24

Instead of -source/-target ceph should be build with --release for OpenJDK 9
or later so that the bootclasspath is also set, as per JEP-247, otherwise it
risks incurring into binary incompatibility when run with an earlier OpenJDK.
OpenJDK 11 minimum compatibility release has been updated to 7.
Last-Update: 2018-04-24
Gbp-Pq: Name update-java-source-target-flags.patch

3 years agoThis defines HAVE_REENTRANT_STRSIGNAL as sys_siglist no longer
Ceph Packaging Team [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
This defines HAVE_REENTRANT_STRSIGNAL as sys_siglist no longer

Forwarded: no
Last-Update: 2020-09-21

 exists with glibc 2.32 and all programs should use strsignal instead.

Gbp-Pq: Name enable-strsignal.patch

3 years agoceph (16.2.10+ds-4) unstable; urgency=high
Thomas Goirand [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
ceph (16.2.10+ds-4) unstable; urgency=high

  * CVE-2022-3650: ceph to root privilege escalation via ceph-crash.service.
    Add upstream patches (Closes: #1024932):
    - ceph-crash_drop_privleges_to_run_as_ceph_user_rather_than_root.patch
    - ceph-crash_fix_stderr_handling.patch

[dgit import unpatched ceph 16.2.10+ds-4]

3 years agoImport ceph_16.2.10+ds-4.debian.tar.xz
Thomas Goirand [Mon, 28 Nov 2022 11:02:57 +0000 (11:02 +0000)]
Import ceph_16.2.10+ds-4.debian.tar.xz

[dgit import tarball ceph 16.2.10+ds-4 ceph_16.2.10+ds-4.debian.tar.xz]

3 years agoImport ceph_16.2.10+ds.orig.tar.xz
Thomas Goirand [Wed, 27 Jul 2022 07:30:47 +0000 (08:30 +0100)]
Import ceph_16.2.10+ds.orig.tar.xz

[dgit import orig ceph_16.2.10+ds.orig.tar.xz]