Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17529 - [pure-ftpd] rc.d handling errors

Attached to Project: Arch Linux
Opened by Pavel Šiška (punjab) - Wednesday, 16 December 2009, 15:15 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 08 September 2010, 14:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version 2009.08
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

In configuration file
/etc/pure-ftpd.conf

uncoment line:
TLS 1

Try start daemon:
/etc/rc.d/pure-ftpd start [DONE]

But isn't started.
In log files:
adin pure-ftpd: (?@?) [ERROR] Sorry, but that file doesn't exist: [/etc/ssl/private/pure-ftpd.pem]

Can be this handled with rc.d script and reported when somebody try start server instead DONE status?

Some works perfectly. For example uncomment line: MySQLConfigFile

Reporting FAIL with
421 Unknown authentication method: mysql:/etc/pureftpd-mysql.conf
In log file:
adin pure-ftpd: (?@?) [ERROR] Unknown authentication method: mysql:/etc/pureftpd-mysql.conf
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 08 September 2010, 14:43 GMT
Reason for closing:  Won't fix
Additional comments about closing:  see comments
Comment by Andrea Scarpino (BaSh) - Wednesday, 03 March 2010, 01:32 GMT
reading http://forums.cpanel.net/f5/pure-ftpd-tls-auth-working-so-far-18335.html seems that you must create that file, so IMHO this is not a bug.
Comment by Pavel Šiška (punjab) - Wednesday, 03 March 2010, 18:42 GMT
Yes. This file is needed. But if i configure pure-ftpd and don't know this, then is problem.
I start server with init script and no erros reported. Only "DONE" like in situations when server started correctly.

No matter what is needed or what is missing. Server just don't start. I should get error from init script correctly like in MySQLConfigFile option.

If we want intelligent init scripts, then this is IMHO bug. If we don't, close this.
Comment by Andrea Scarpino (BaSh) - Thursday, 04 March 2010, 13:37 GMT
what I mean is: if you want to use TLS, you must know what you are doing. (you must create that file)
We cannot edit the daemon script to works with every configuration
Comment by Pavel Šiška (punjab) - Thursday, 04 March 2010, 14:15 GMT
Yes, work with every configuration is crazy. I hope we don't need this.

Maybe just after daemon start check if process is running? If not, then instead DONE status report FAIL.
No matter what is wrong, but we correctly report this to user, which can go to logs look for error description.

I dont have arch right now, so i cant check if process go down in this wrong configuration situations.
If yes, maybe this can be solution?

Loading...