Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364477 - net-ftp/pure-ftpd-1.0.30: /var/lib/run/pure-ftpd (unused) directory not created, so pure-ftpwho not working.
Summary: net-ftp/pure-ftpd-1.0.30: /var/lib/run/pure-ftpd (unused) directory not creat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-22 11:31 UTC by László Szalma
Modified: 2011-04-22 12:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description László Szalma 2011-04-22 11:31:07 UTC
/var/lib/run/pure-ftpd directory is checked on starting pure-ftpwho. If it doesn't exists, it exists, without any message. After creating the directory it works perfectly.

On some machines i DO have this directory, but i can't check if it was created by previous versions... (I think so)

Workaround: mkdir -p /var/lib/run/pure-ftpd

Suggested fix:

Fast: the ebuild should create this directory.
Ideal: patch the code not use this directory, because it isn't used.

Reproducible: Always

Steps to Reproduce:
Start pure-ftpwho

Actual Results:  
Nothing.

Expected Results:  
A list of connected users.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-04-22 12:06:55 UTC
+*pure-ftpd-1.0.30-r1 (22 Apr 2011)
+
+  22 Apr 2011; Lars Wendler <polynomial-c@gentoo.org>
+  pure-ftpd-1.0.29-r1.ebuild, -pure-ftpd-1.0.30.ebuild,
+  +pure-ftpd-1.0.30-r1.ebuild:
+  Create /var/lib/run/pure-ftpd or else pure-ftpwho doesn't work. Thanks to
+  László Szalma for reporting this in bug #364477. Committed straight to
+  stable.
+

Fast fix is the only one I can provide at the moment. It's up to upstream to decide whether /var/lib/run/pure-ftpd is still needed for pure-ftpwho or not.