Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 514860

Summary: net-ftp/pure-ftpd - Runscript should drop "need net"
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: [OLD] ServerAssignee: 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: ---
Bug Depends on:    
Bug Blocks: 439092    

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(-)