[ClusterLabs] pcs-0.10.19 version try to build with ruby3.3 package unable to start pcsd-ruby service

S Sathish S s.s.sathish at ericsson.com
Fri Feb 7 06:27:52 UTC 2025


Hi Team,

I am trying to install/build pcs-0.10.19 version with ruby3.3 package to address security vulnerability reported in Ruby/Rexml Module. With Below step installed pcsd package and try to start pcsd service getting below error.
./autogen.sh
export RUBY=/usr/bin/ruby
./configure --enable-local-build
make
make install
[root at node1 pcs-0.10.19]# systemctl start pcsd
Failed to start pcsd.service: Unit pcsd-ruby.service not found.
[root at node1 pcs-0.10.19]# systemctl status pcsd
● pcsd.service - PCS GUI and remote configuration interface
   Loaded: loaded (/usr/lib/systemd/system/pcsd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:pcsd(8)
           man:pcs(8)

Feb 03 06:51:37 node1 systemd[1]: Started PCS GUI and remote configuration interface.
Feb 03 09:55:36 node1 systemd[1]: Stopping PCS GUI and remote configuration interface...
Feb 03 09:55:36 node1 systemd[1]: pcsd.service: Succeeded.
Feb 03 09:55:36 node1 systemd[1]: Stopped PCS GUI and remote configuration interface.
Feb 04 18:31:33 node1 systemd[1]: Dependency failed for PCS GUI and remote configuration interface.
Feb 04 18:31:33 node1 systemd[1]: pcsd.service: Job pcsd.service/start failed with result 'dependency'.
Feb 04 18:50:27 node1 systemd[1]: Dependency failed for PCS GUI and remote configuration interface.
Feb 04 18:50:27 node1 systemd[1]: pcsd.service: Job pcsd.service/start failed with result 'dependency'.
Feb 04 19:11:52 node1 systemd[1]: Dependency failed for PCS GUI and remote configuration interface.
Feb 04 19:11:52 node1 systemd[1]: pcsd.service: Job pcsd.service/start failed with result 'dependency'.
[root at node1 pcs-0.10.19]# systemctl status pcsd-ruby
● pcsd-ruby.service
   Loaded: not-found (Reason: Unit pcsd-ruby.service not found.)
   Active: failed (Result: exit-code) since Tue 2025-02-04 19:11:52 CET; 26min ago
Main PID: 999864 (code=exited, status=1/FAILURE)

Feb 04 19:11:52 node1 pcsd[999864]:         from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:136:in `require'
Feb 04 19:11:52 node1 pcsd[999864]:         from /usr/lib64/pcsd/pcsd:14:in `<main>'
Feb 04 19:11:52 node1 pcsd[999864]: <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- s>
Feb 04 19:11:52 node1 pcsd[999864]:         from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:136:in `require'
Feb 04 19:11:52 node1 pcsd[999864]:         from /usr/lib64/pcsd/rserver.rb:5:in `<top (required)>'
Feb 04 19:11:52 node1 pcsd[999864]:         from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:136:in `require'
Feb 04 19:11:52 node1 pcsd[999864]:         from /usr/lib64/pcsd/pcsd:14:in `<main>'
Feb 04 19:11:52 node1 systemd[1]: pcsd-ruby.service: Main process exited, code=exited, status=1/FAILURE
Feb 04 19:11:52 node1 systemd[1]: pcsd-ruby.service: Failed with result 'exit-code'.
Feb 04 19:11:52 node1 systemd[1]: Failed to start PCS GUI and remote configuration interface (Ruby).
[root at node1 pcs-0.10.19]#

As troubleshooting checked gem environment is available in the system but still pcsd package is not picked available gem path. Whether pcs 0.10.19 will support on ruby 3.3? can you confirm on this.
[root at node1 pcs-0.10.19]# gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 3.5.16
  - RUBY VERSION: 3.3.5 (2024-09-03 patchlevel 100) [x86_64-linux]
  - INSTALLATION DIRECTORY: /usr/local/share/gems
  - USER INSTALLATION DIRECTORY: /root/.local/share/gem/ruby
  - RUBY EXECUTABLE: /usr/bin/ruby
  - GIT EXECUTABLE: /bin/git
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - SPEC CACHE DIRECTORY: /root/.cache/gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-linux
  - GEM PATHS:
     - /usr/local/share/gems
     - /root/.local/share/gem/ruby
     - /usr/share/gems
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => true
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /usr/share/lehealthcheck/bin/
     - /usr/share/lecfengine/bin
     - /opt/LEBackupandRestore/bin/
     - /sbin
     - /bin
     - /usr/sbin
     - /usr/bin
Ruby 3.3 installed package details:
[root at node1 pcs-0.10.19]# rpm -qa | grep -i ruby
rubygem-bundler-2.5.16-3.module+el8.10.0+22271+6a48b0b9.noarch
ruby-devel-3.3.5-3.module+el8.10.0+22271+6a48b0b9.x86_64
rubygems-3.5.16-3.module+el8.10.0+22271+6a48b0b9.noarch
ruby-libs-3.3.5-3.module+el8.10.0+22271+6a48b0b9.x86_64
rubygem-json-2.7.1-3.module+el8.10.0+22271+6a48b0b9.x86_64
rubygem-bigdecimal-3.1.5-3.module+el8.10.0+22271+6a48b0b9.x86_64
ruby-doc-3.3.5-3.module+el8.10.0+22271+6a48b0b9.noarch
ruby-default-gems-3.3.5-3.module+el8.10.0+22271+6a48b0b9.noarch
rubygem-psych-5.1.2-3.module+el8.10.0+22271+6a48b0b9.x86_64
ruby-3.3.5-3.module+el8.10.0+22271+6a48b0b9.x86_64
rubygem-rdoc-6.6.3.1-3.module+el8.10.0+22271+6a48b0b9.noarch
rubygem-io-console-0.7.1-3.module+el8.10.0+22271+6a48b0b9.x86_64
rubygems-devel-3.5.16-3.module+el8.10.0+22271+6a48b0b9.noarch

Thanks and Regards,
S Sathish


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20250207/3e069d11/attachment-0001.htm>


More information about the Users mailing list