Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387889 - net-ftp/proftpd: keeps dir /var/run/proftpd
Summary: net-ftp/proftpd: keeps dir /var/run/proftpd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Low trivial
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
: 510644 (view as bug list)
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2011-10-20 16:19 UTC by i.Dark_Templar
Modified: 2016-04-12 21:50 UTC (History)
3 users (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 i.Dark_Templar 2011-10-20 16:19:41 UTC
Unnecessary to keep that dir, because it's created in init script of proftpd. Blocks #332633.

Reproducible: Always

Steps to Reproduce:
1. emerge proftpd
Actual Results:  
keeps dir /var/run/proftpd

Expected Results:  
Shouldn't keep that dir.
Comment 1 Bernd Lommerzheim 2011-10-20 16:51:29 UTC
Thanks for your report! This issue does only affect the ProFTPD 1.3.3 series (proftpd-1.3.3e.ebuild and proftpd-1.3.3f.ebuild). If any Gentoo Developer reads this bug report: Feel free to remove the line "keepdir /var/run/proftpd" from both ebuilds. Thanks.
Comment 2 i.Dark_Templar 2011-10-20 16:56:55 UTC
I see. So this will be automatically fixed with stabilization of proftpd-1.3.4.
Comment 3 Bernd Lommerzheim 2011-10-20 17:15:10 UTC
(In reply to comment #2)
> I see. So this will be automatically fixed with stabilization of proftpd-1.3.4.
Yes. This issue was fixed in proftpd-1.3.4_rc1-r1.ebuild. But generally I do not backport such changes to the ProFTPD 1.3.3 ebuild series which is stable for a long time. In a few days I want to start the stabilization process of proftpd-1.3.3f.ebuild. And as long as there are just ProFTPD 1.3.4 release candidates and upstream releases bugfix and security releases of the ProFTPD 1.3.3 series I am not planing to stabilize any ProFTPD 1.3.4* ebuild. I believe that it will take some month until there will be a stable ProFTPD 1.3.4 release. Hence we should backport this change to ProFTPD 1.3.3* and drop this line in both ebuilds. There is no reason why it has to stay in those ebuilds because all (1.3.3* and 1.3.4*) ebuilds are using the same init script which creates this runtime directory.
Comment 4 Bernard Cafarelli gentoo-dev 2011-11-04 14:45:12 UTC
Fixed in 1.3.3{e,f} ebuilds, thanks Bernd!
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-18 16:23:16 UTC
It still uses /var/run all over the place.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-18 16:23:37 UTC
*** Bug 510644 has been marked as a duplicate of this bug. ***
Comment 7 Anthony Ryan 2014-12-10 06:46:23 UTC
Is anyone working on this, or shall I start on ebuild patches tomorrow? This looks to have been forgotten.
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2016-04-12 21:50:09 UTC
Current stable proftpd-1.3.5b does not install anything to /var/run


$ equery f proftpd | grep /var
  /usr/include/proftpd/var.h
  /var

Init system (and tools) assumes /var/run to be present (be it a symlink to /run or a separate directory). But that is fine.