Bug 3667

Summary: contains bad requires
Product: Sisyphus Reporter: Sergey Bolshakov <sbolshakov>
Component: portsentryAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: blocker    
Priority: P2 CC: ldv
Version: unstable   
Hardware: all   
OS: Linux   

Description Sergey Bolshakov 2004-02-12 16:17:04 MSK
$ rpm -qp --requires portsentry-1.1-alt6.i586.rpm |grep network
/etc/sysconfig/network

which can't be satisfyed. This happens due this portsentry.init fragment:
--- 
# Source function library.
. /etc/init.d/functions
---
and should be replaced with
---
SourceIfNotEmpty /etc/sysconfig/network
---
Comment 1 Dmitry V. Levin 2004-02-12 16:40:20 MSK
Also, the "Check that networking is up" should be moved to start(), 
see /etc/init.d/xinetd for example. 
Comment 2 Aleksandr Blokhin 2004-02-12 18:05:28 MSK
fixed in portsentry-1.1-alt7