https://bugzilla.redhat.com/show_bug.cgi?id=1975700
Bug ID: 1975700
Summary: start_server (or Server::Starter) should depend on
Net::Server::SS::PreFork
Product: Fedora
Version: 34
Status: NEW
Component: perl-Server-Starter
Severity: low
Assignee: rc040203(a)freenet.de
Reporter: kas(a)fi.muni.cz
QA Contact: extras-qa(a)fedoraproject.org
CC: perl-devel(a)lists.fedoraproject.org,
rc040203(a)freenet.de
Target Milestone: ---
Classification: Fedora
Description of problem:
The start_server script uses Net::Server::SS::PreFork personality of
Net::Server, so it should explicitly depend on it.
Version-Release number of selected component (if applicable):
perl-Server-Starter-0.35-5.fc34.noarch
perl-Server-Starter-start_server-0.35-5.fc34.noarch
How reproducible:
Steps to Reproduce:
1. yum -y install perl-Server-Starter-start_server perl-Starman
2. cat > app.psgi <<'EOF'
#!/usr/bin/perl
use strict;
my $app = sub {
my $env = shift;
return [
'200',
[ 'Content-Type' => 'text/plain' ],
[ "Hello World\n" ], # or IO::Handle-like object
];
};
EOF
3. start_server --port 0.0.0.0:5000 -- starman --workers 4 app.psgi
Actual results:
start_server (pid:5091) starting now...
starting new worker 5092
Can't locate Net/Server/SS/PreFork.pm in @INC (you may need to install the
Net::Server::SS::PreFork module) (@INC contains: /usr/local/lib64/perl5/5.32
/usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at
/usr/share/perl5/vendor_perl/Plack/Handler/Starman.pm line 14.
new worker 5092 seems to have failed to start, exit status:512
Expected results:
starman should be up and running
Additional info:
The dependency on Net::Server::SS::PreFork is described here:
https://metacpan.org/pod/Server::Starter
--
You are receiving this mail because:
You are on the CC list for the bug.