Summary: | net-ftp/pure-ftpd / openrc - fails to start with UPLOADSCRIPT specified | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kilburn Abrahams <kilburna> |
Component: | New packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | net-ftp |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kilburn Abrahams
2011-05-10 14:00:44 UTC
Maybe it's also a good idea to wrap those three very long lines in the .rc10 script, while you're there. :) Can you please attach your uploadscript (without any confidental data of course)? Here is the script: #! /bin/sh /usr/bin/clamdscan --remove --quiet --no-summary "$1" +*pure-ftpd-1.0.32-r1 (16 May 2011) + + 16 May 2011; Lars Wendler <polynomial-c@gentoo.org> + -pure-ftpd-1.0.30-r1.ebuild, -pure-ftpd-1.0.31.ebuild, + +pure-ftpd-1.0.32-r1.ebuild, +files/pure-ftpd.conf_d-3, + +files/pure-ftpd.rc11: + Fixed startup of pure-ftpd with openrc when pure-uploadscript should be + started as well. Thanks to Kilburn Abrahams for reporting this in bug + #366761. Improved readability of the init script a bit (requested by jer). + Removed old (vulnerable) versions. + Seems like pure-ftpd doesn't create a pidfile when being invoked with the --uploadscript parameter. As we cannot rely on the ftp daemon creating the pidfile for us, start-stop-daemon from openrc is doing that job for us now. Please test pure-ftpd-1.0.32-r1 and report back if it works now. works fine now. Thanks |