Re: [Server-devel] noisy service dhcpd status

2009-09-28 Thread Martin Langhoff
On Thu, Sep 24, 2009 at 10:26 AM, Daniel Drake d...@laptop.org wrote:
 Running XS-0.6d, service dhcpd status is unusually noisy. It looks
 like it is regenerating the config file every time I check its status.
 Is this intentional?

For now it is. Neither the 'make' based approach or the remember to
run domain_config approach are quite doing it for us at the moment.

So we are re-generating the files on each call to the init scripts of
some services. Awkward, and generates some pointless churn on disk.

But less awkward than things breaking, and working through all the
configs that need some level of dynamic updating takes some time
(mainly in testing).

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] noisy service dhcpd status

2009-09-24 Thread Daniel Drake
Running XS-0.6d, service dhcpd status is unusually noisy. It looks
like it is regenerating the config file every time I check its status.
Is this intentional?


# service dhcpd status
/etc /
xs-commitchanged -m 'Dirty state' dhcpd-xs.conf
#SERVERNUM := 1
#BASEDNSNAME := testxs.olenepal.org
cp /etc/sysconfig/olpc-scripts/dhcpd.conf.1 dhcpd-xs.conf.tmp
sed -i -e s/@@BASEDNSNAME@@/testxs.olenepal.org/ dhcpd-xs.conf.tmp
mv dhcpd-xs.conf.tmp dhcpd-xs.conf
xs-commitchanged -m Made from
/etc/sysconfig/olpc-scripts/dhcpd.conf. dhcpd-xs.conf
/
dhcpd (pid 3312) is running...


Daniel
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel