Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49639 - /etc/lisarc is missing & /etc/init.d/lisa script reports incorrect status.
Summary: /etc/lisarc is missing & /etc/init.d/lisa script reports incorrect status.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-01 12:22 UTC by bohne
Modified: 2005-02-18 11:02 UTC (History)
0 users

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 bohne 2004-05-01 12:22:13 UTC
lisa does not start because file /etc/lisarc is missing in 2004.1

Here is an example of /etc/lisarc from SuSE 9.0:
# default configuration for local networks only
# estimate the ip address from eth0 dynamic
PingAddresses = auto-eth0/255.255.0.0;
PingNames =
AllowedAddresses =  127.0.0.1/255.255.255.0;
# BroadcastNetwork = 127.0.0.1/255.255.255.255;
FirstWait = 30
SecondWait = -1
UpdatePeriod = 300
DeliverUnnamedHosts = 1
MaxPingsAtOnce = 64
SearchUsingNmblookup = 1


The startup script /etc/init.d/lisa reports a correct start although lisa exits without a the lisarc config file.

Reproducible: Always
Steps to Reproduce:
1./etc/init.d/lisa start
2.ps aux|grep lisa
Actual Results:  
 


Just add /etc/lisarc to lisa installation and check the lisa start script for 
return values/exit codes.
Comment 1 Olivier Fisette (RETIRED) gentoo-dev 2004-07-12 19:22:36 UTC
> Just add /etc/lisarc to lisa installation and check the lisa
> start script for return values/exit codes.

I don't think so. lisa returns 0 when exiting if the config file is missing. This should be fixed upstream.

Gentoo already includes a lisa ressource configuration (/etc/conf.d/lisa). The problem is that the init script does not specify it correctly (it should use 'lisa -q -c /etc/conf.d/lisa').
Comment 2 Dan Armak (RETIRED) gentoo-dev 2005-02-18 11:02:26 UTC
I don't remember when exactly this was fixed, but all kdenetwork ebuilds now
create an empty /etc/lisarc. (I think there was another bug about this.)