This is an automated email from the ASF dual-hosted git repository. tuhaihe pushed a commit to branch REL_2_STABLE in repository https://gitbox.apache.org/repos/asf/cloudberry-pxf.git
commit 66349e85022c810c494fa1069fc3c167fdfcd865 Author: Dianjin Wang <[email protected]> AuthorDate: Fri Apr 3 10:28:50 2026 +0800 Add procps dependency to RPM/DEB for pxf stop command The pxf script uses the 'ps' command in the isRunning() function to check if the PXF process is running. However, minimal container images like Rocky Linux 9 do not include the 'ps' command by default. This causes the 'pxf stop' command to fail with: /usr/local/cloudberry-pxf/bin/pxf: line 162: ps: command not found Add explicit package dependencies to ensure the 'ps' command is available when PXF is installed: - RPM packages: procps-ng - DEB packages: procps The 'ps' command is used in: - server/pxf-service/src/scripts/pxf:162 (isRunning function) --- package/DEBIAN/control | 1 + package/cloudberry-pxf.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/package/DEBIAN/control b/package/DEBIAN/control index 4bb36f8b..c3e7fa71 100644 --- a/package/DEBIAN/control +++ b/package/DEBIAN/control @@ -2,4 +2,5 @@ Package: apache-cloudberry-pxf-incubating Version: %VERSION% Architecture: %ARCH% Maintainer: %MAINTAINER% +Depends: procps Description: Apache Cloudberry PXF (Platform Extension Framework) for advanced data access diff --git a/package/cloudberry-pxf.spec b/package/cloudberry-pxf.spec index b95507db..9631675b 100644 --- a/package/cloudberry-pxf.spec +++ b/package/cloudberry-pxf.spec @@ -41,6 +41,7 @@ Prefix: /usr/local/cloudberry-pxf-%{version} # management scripts Requires: bash +Requires: procps-ng # Require Apache Cloudberry - .so file makes sense only when # installing on Cloudberry node, so inherit Cloudberry's dependencies --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
