Bug 51647

Summary: cannot load such file -- rack/handler
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: pcsAssignee: majioa <majioa>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: antohami, cas, cow, evg, george, grenka, imz, kotopesutility, lav, led, majioa, mike, nbr, pav, qa_viy, rider, sem, shaba, sin, slev, stalker, toni, vitty, viy
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Alexander Makeenkov 2024-10-07 11:24:55 MSK
Версия пакета: pcs-0.11.6-alt1.x86_64

Шаги воспроизведения:

# apt-get install pcs
# systemctl start pcsd

Получаемый результат:

systemd[1]: Starting pcsd-ruby.service - PCS GUI and remote configuration interface (Ruby)...
pcsd[47179]: /usr/lib64/pcsd/bootstrap.rb:54: warning: already initialized constant PCSD_RESTART_AFTER_REQUESTS
pcsd[47179]: /usr/lib64/pcsd/settings.rb:8: warning: previous definition of PCSD_RESTART_AFTER_REQUESTS was here
pcsd[47179]: <internal:/usr/lib/ruby/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- rack/handler (LoadError)
pcsd[47179]:         from <internal:/usr/lib/ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
pcsd[47179]:         from /usr/lib64/pcsd/rserver.rb:62:in `<top (required)>'
pcsd[47179]:         from <internal:/usr/lib/ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
pcsd[47179]:         from <internal:/usr/lib/ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
pcsd[47179]:         from /usr/lib64/pcsd/pcsd:14:in `<main>'
systemd[1]: pcsd-ruby.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: pcsd-ruby.service: Failed with result 'exit-code'.
systemd[1]: Failed to start pcsd-ruby.service - PCS GUI and remote configuration interface (Ruby).
systemd[1]: Dependency failed for pcsd.service - PCS GUI and remote configuration interface.
systemd[1]: pcsd.service: Job pcsd.service/start failed with result 'dependency'.


# rpm -qa | grep rack
gem-rack-protection-4.0.0-alt1.noarch
gem-rack-session-2.0.0-alt1.noarch
gem-rack-3.0.10-alt2.noarch
Comment 1 Repository Robot 2024-10-08 21:25:24 MSK
pcs-1:0.11.6-alt2 -> sisyphus:

 Tue Oct 08 2024 Pavel Skrylev <majioa@altlinux> 1:0.11.6-alt2
 - ! fixed rack/handler for new rack 3.x (closes #51647)