Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514860 - net-ftp/pure-ftpd - Runscript should drop "need net"
Summary: net-ftp/pure-ftpd - Runscript should drop "need net"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: need-net
  Show dependency tree
 
Reported: 2014-06-24 08:01 UTC by Thomas Deutschmann (RETIRED)
Modified: 2019-04-20 14:18 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 Thomas Deutschmann (RETIRED) gentoo-dev 2014-06-24 08:01:51 UTC
The pure-ftpd runscript from net-ftp/pure-ftpd seems to be misusing "need net":

Per default, pure-ftpd will bind to "0.0.0.0". Due to "need net", any restarting interface will cause pure-ftpd to restart, too.

When dropping "need net", maybe you should depend on "localmount" or "netmount"...

See https://blog.flameeyes.eu/2012/10/may-i-have-a-network-connection-please for more information.


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2019-04-20 14:18:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71358b809e7f83d15ccac961a52414d643efb6fe

commit 71358b809e7f83d15ccac961a52414d643efb6fe
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-04-20 14:17:47 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-04-20 14:18:03 +0000

    net-ftp/pure-ftpd: Drop "need net" dependency in openrc init script
    
    Closes: https://bugs.gentoo.org/514860
    Package-Manager: Portage-2.3.64, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-ftp/pure-ftpd/files/pure-ftpd.rc11 | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)