Bug 54154 - Ошибка uninitialized constant Rack::Handler при запуске pcsd
Summary: Ошибка uninitialized constant Rack::Handler при запуске pcsd
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: pcs (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: majioa@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-06 12:47 MSK by Alexander Makeenkov
Modified: 2025-10-18 07:25 MSK (History)
25 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2025-05-06 12:47:40 MSK
- Версия пакета:
pcs-0.11.6-alt2.x86_64

- Шаги воспроизведения:
# apt-get install pcs
# systemctl start pcsd

- Получаемый результат:
systemd[1]: Starting pcsd-ruby.service - PCS GUI and remote configuration interface (Ruby)...
pcsd[2679]: /usr/lib64/pcsd/bootstrap.rb:54: warning: already initialized constant PCSD_RESTART_AFTER_REQUESTS
pcsd[2679]: /usr/lib64/pcsd/settings.rb:8: warning: previous definition of PCSD_RESTART_AFTER_REQUESTS was here
pcsd[2679]: /usr/lib64/pcsd/rserver.rb:62:in `<top (required)>': uninitialized constant Rack::Handler (NameError)
pcsd[2679]: ::Rack::Handler.get('puma').run(
pcsd[2679]:       ^^^^^^^^^
pcsd[2679]:         from <internal:/usr/lib/ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
pcsd[2679]:         from <internal:/usr/lib/ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
pcsd[2679]:         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
Comment 1 Repository Robot 2025-10-18 07:25:04 MSK
pcs-1:0.11.6-alt3 -> sisyphus:

Mon May 19 2025 Pavel Skrylev <majioa@altlinux> 1:0.11.6-alt3
- > use webrick rackup handler for new rack 3.x (ALT #54154)