Hello, One person of the Brazilian Internet Steering Committee talked with me on event, because they have a new Stratum1 ntp servers and he spoken with all distributions with local versions to use them. I like this idea because is more quickly synchronize with one ntp server here in Brazil then one outside our country and i believe this will useful for our users.
One friend and I developed a way to do that with a post command in the Kickstart file, but in a talk with the another maintainer of Spin BrOffice.org, he told me than we can have problems with Spin Guidelines.
The solution than we propose is add this:
%post
if [ -f /etc/ntp.conf ]; then sed -i -e 's/^server 0.fedora.*$/server a.st1.ntp.br/g' \ -e 's/^server 1.fedora.*$/server c.st1.ntp.br/g' \ -e 's/^server 2.fedora.*$/server d.st1.ntp.br/g' /etc/ntp.conf else echo -en "server a.st1.ntp.br\nserver c.st1.ntp.br\nserver d.st1.ntp.br\n"
/etc/ntp.conf
fi
%end
At the end of our kickstart file.
So, i need your help to find a way to add this improvement in our Spin, even if we need to do it another way.
What do you think about it?
On Sun, Jul 25, 2010 at 16:47:32 -0300, Wolnei wolnei@fedoraproject.org wrote:
Hello, One person of the Brazilian Internet Steering Committee talked with me on event, because they have a new Stratum1 ntp servers and he spoken with all distributions with local versions to use them. I like this idea because is more quickly synchronize with one ntp server here in Brazil then one outside our country and i believe this will useful for our users.
They might want to join the ntp pool. You can specify servers in Brazil or South America when using it.
One friend and I developed a way to do that with a post command in the Kickstart file, but in a talk with the another maintainer of Spin BrOffice.org, he told me than we can have problems with Spin Guidelines.
The solution than we propose is add this:
%post
if [ -f /etc/ntp.conf ]; then sed -i -e 's/^server 0.fedora.*$/server a.st1.ntp.br/g' \ -e 's/^server 1.fedora.*$/server c.st1.ntp.br/g' \ -e 's/^server 2.fedora.*$/server d.st1.ntp.br/g' /etc/ntp.conf else echo -en "server a.st1.ntp.br\nserver c.st1.ntp.br\nserver d.st1.ntp.br\n"
/etc/ntp.conf
fi
%end
At the end of our kickstart file.
So, i need your help to find a way to add this improvement in our Spin, even if we need to do it another way.
What do you think about it?
It will need an exception to policy. Even though this particular spin is tightly coupled to Brazil, people may use it outside of Brazil.
As far as I can figure out, attempts to find your location are done before you are handed the ip address for an ntp server. So I think changing this is a bad idea. Rather having this group join the group providing ntp in Brazil is a better option.
Em Dom, 2010-07-25 às 22:56 -0500, Bruno Wolff III escreveu:
On Sun, Jul 25, 2010 at 16:47:32 -0300, Wolnei wolnei@fedoraproject.org wrote:
Hello, One person of the Brazilian Internet Steering Committee talked with me on event, because they have a new Stratum1 ntp servers and he spoken with all distributions with local versions to use them. I like this idea because is more quickly synchronize with one ntp server here in Brazil then one outside our country and i believe this will useful for our users.
What do you think about it?
It will need an exception to policy. Even though this particular spin is tightly coupled to Brazil, people may use it outside of Brazil.
As far as I can figure out, attempts to find your location are done before you are handed the ip address for an ntp server. So I think changing this is a bad idea. Rather having this group join the group providing ntp in Brazil is a better option.
As the maintainer of the BrOffice.org Spin I think that the "upstream" approach is the best solution. It seems to me that joining the ntp pool will be more appropriate than change it in the kickstart file.
Regards
On Mon, Jul 26, 2010 at 16:06:48 -0300, Igor Pires Soares igorsoares@gmail.com wrote:
As the maintainer of the BrOffice.org Spin I think that the "upstream" approach is the best solution. It seems to me that joining the ntp pool will be more appropriate than change it in the kickstart file.
The Spins SIG also recommended an upstream solution in today's meeting.