Re: [Cooker] Re: [CHRPM] drakxtools-9.3-5mdk

2003-11-19 Thread FACORAT Fabrice
Le mer 19/11/2003 à 16:57, Thierry Vignaud a écrit :
> FACORAT Fabrice <[EMAIL PROTECTED]> writes:
> 
> > Going to learn MakeCD and find a computer where I could be trying to
> > install cooker
> 
> you don't have to fight with mkcd to switch a box from mdk9.2 to
> cooker.
> 
> just add urpmi sources for cooker and its contribs and run "urpmi --auto-select"

lol. :D
The problem is using the ntp support from install and see if i have the
same problem, if not the problem comes from clock.pl or at least
somethings that is not shared by DrakX
If now everything is shared, I think I will have the problem then.

My cooker box is an upgrade from the 9.0 ( yeah, the 9.0 -> cooker ->
9.1cooker -> cooker -> 9.2cooker -> cooker ).




Re: [Cooker] Re: [CHRPM] drakxtools-9.3-5mdk

2003-11-19 Thread Thierry Vignaud
FACORAT Fabrice <[EMAIL PROTECTED]> writes:

> Going to learn MakeCD and find a computer where I could be trying to
> install cooker

you don't have to fight with mkcd to switch a box from mdk9.2 to
cooker.

just add urpmi sources for cooker and its contribs and run "urpmi --auto-select"




Re: [Cooker] Re: [CHRPM] drakxtools-9.3-5mdk

2003-11-19 Thread FACORAT Fabrice
Le mer 19/11/2003 à 14:57, Daouda LO a écrit :
> FACORAT Fabrice <[EMAIL PROTECTED]> writes:
> 
> > Le ven 14/11/2003 à 15:02, Thierry Vignaud a écrit :
> > > FACORAT Fabrice <[EMAIL PROTECTED]> writes:
> > > 
> > > > > Name: drakxtools   Relocations: (not relocateable)
> > > > > Version : 9.3   Vendor: MandrakeSoft
> > > > > Release : 5mdk  Build Date: Sat Nov  8 10:59:37 
> > > > > 2003
> > > > 
> > > > There's seems to have a problem with timedrake/draketime
> > > 
> > > thus, your problem is either with clock.pl from the drakconf package
> > > or with ntp wizard from the drakwizard package, but not with the
> > > drakxtools package
> > 
> > Note :
> > - I don't use ntp wizard but use ntp support in clock.pl
> 
> Do you have the same delay when installing cooker and choosing the ntp
> support in install ? 

hum, I never install cooker ... :D
I install some 9.2 computers and they are fine ( using ntp support from
install ).
Going to learn MakeCD and find a computer where I could be trying to
install cooker

--
Qu'est-il ecrit dans ce cadre ? 
+--+ 
I RIEN I 
+--+ 
P. Geluck




Re: [Cooker] Re: [CHRPM] drakxtools-9.3-5mdk

2003-11-19 Thread Daouda LO
FACORAT Fabrice <[EMAIL PROTECTED]> writes:

> Le ven 14/11/2003 à 15:02, Thierry Vignaud a écrit :
> > FACORAT Fabrice <[EMAIL PROTECTED]> writes:
> > 
> > > > Name: drakxtools   Relocations: (not relocateable)
> > > > Version : 9.3   Vendor: MandrakeSoft
> > > > Release : 5mdk  Build Date: Sat Nov  8 10:59:37 
> > > > 2003
> > > 
> > > There's seems to have a problem with timedrake/draketime
> > 
> > thus, your problem is either with clock.pl from the drakconf package
> > or with ntp wizard from the drakwizard package, but not with the
> > drakxtools package
> 
> Note :
> - I don't use ntp wizard but use ntp support in clock.pl

Do you have the same delay when installing cooker and choosing the ntp
support in install ? 




Re: [Cooker] Re: [CHRPM] drakxtools-9.3-5mdk

2003-11-14 Thread Thierry Vignaud
FACORAT Fabrice <[EMAIL PROTECTED]> writes:

> Le ven 14/11/2003 à 15:02, Thierry Vignaud a écrit :
> > FACORAT Fabrice <[EMAIL PROTECTED]> writes:
> > 
> > > > Name: drakxtools   Relocations: (not relocateable)
> > > > Version : 9.3   Vendor: MandrakeSoft
> > > > Release : 5mdk  Build Date: Sat Nov  8 10:59:37 
> > > > 2003
> > > 
> > > There's seems to have a problem with timedrake/draketime
> > 
> > thus, your problem is either with clock.pl from the drakconf package
> > or with ntp wizard from the drakwizard package, but not with the
> > drakxtools package
> 
> Note :
> - I don't use ntp wizard but use ntp support in clock.pl
> - I believed that clock.pl was part of drakxtools and so should be named
> timedrake 

it's not but i'll move it there




Re: [Cooker] Re: [CHRPM] drakxtools-9.3-5mdk

2003-11-14 Thread FACORAT Fabrice
Le ven 14/11/2003 à 15:02, Thierry Vignaud a écrit :
> FACORAT Fabrice <[EMAIL PROTECTED]> writes:
> 
> > > Name: drakxtools   Relocations: (not relocateable)
> > > Version : 9.3   Vendor: MandrakeSoft
> > > Release : 5mdk  Build Date: Sat Nov  8 10:59:37 2003
> > 
> > There's seems to have a problem with timedrake/draketime
> 
> thus, your problem is either with clock.pl from the drakconf package
> or with ntp wizard from the drakwizard package, but not with the
> drakxtools package

Note :
- I don't use ntp wizard but use ntp support in clock.pl
- I believed that clock.pl was part of drakxtools and so should be named
timedrake 

--- 
Il faut laisser le passe dans l'oubli et l'avenir a la Providence. --
Bossuet




Re: [Cooker] Re: [CHRPM] drakxtools-9.3-5mdk

2003-11-14 Thread Thierry Vignaud
FACORAT Fabrice <[EMAIL PROTECTED]> writes:

> > Name: drakxtools   Relocations: (not relocateable)
> > Version : 9.3   Vendor: MandrakeSoft
> > Release : 5mdk  Build Date: Sat Nov  8 10:59:37 2003
> 
> There's seems to have a problem with timedrake/draketime

thus, your problem is either with clock.pl from the drakconf package
or with ntp wizard from the drakwizard package, but not with the
drakxtools package

> Indeed, I set my cooker box to sync to my local ntp server. The
> problem is that my cooker box always want to have 1 hour less than
> my server.  All the others 9.1 box are synced correctly, only my
> cooker box remove one hour.

> I set timezone for Europe/Paris, but nothing, try to say that my
> system time was GMT ( and not ), and still nothing.
> 
> + Note 1 :
> - on my cooker box, date display this :
> [EMAIL PROTECTED] powerpack]$ date
> ven nov 14 12:37:15 UTC 2003
> [EMAIL PROTECTED] powerpack]$ LC_ALL=C date
> Fri Nov 14 12:37:32 UTC 2003
> 
> - on my server ( 9.1 ) and others clients ( 9.1 ), date display this :
> [EMAIL PROTECTED] root]# date
> ven nov 14 13:38:19 CET 2003
> [EMAIL PROTECTED] root]# LC_ALL=C date
> Fri Nov 14 13:38:25 CET 2003
> 
> 
> Notice the CET versus UTC
> 
> + Note 2 :
> - in my cooker box, /etc/sysconfig/clock contains this :
> [EMAIL PROTECTED] root]# more /etc/sysconfig/clock
> UTC=false
> ARC=false
> ZONE=Europe/Paris
> 
> - in my 9.1 box, I have :
> [EMAIL PROTECTED] root]# more /etc/sysconfig/clock
> UTC=true
> ZONE=Europe/Paris
> ARC=false
> 
> 
> + Note 3 :
> a diff -u between /usr/lib/libDrakX/timezone of 9.1 and cooker give me
> this ( I remove specific ntp lines ) :

does your problem go away when this patch is reversed ?




[Cooker] Re: [CHRPM] drakxtools-9.3-5mdk

2003-11-14 Thread FACORAT Fabrice
Le sam 08/11/2003 à 10:15, Thierry Vignaud a écrit :
> -=-=-=-
> Name: drakxtools   Relocations: (not relocateable)
> Version : 9.3   Vendor: MandrakeSoft
> Release : 5mdk  Build Date: Sat Nov  8 10:59:37 2003

There's seems to have a problem with timedrake/draketime

Indeed, I set my cooker box to sync to my local ntp server. The problem
is that my cooker box always want to have 1 hour less than my server.
All the others 9.1 box are synced correctly, only my cooker box remove
one hour.
I set timezone for Europe/Paris, but nothing, try to say that my system
time was GMT ( and not ), and still nothing.

+ Note 1 :
- on my cooker box, date display this :
[EMAIL PROTECTED] powerpack]$ date
ven nov 14 12:37:15 UTC 2003
[EMAIL PROTECTED] powerpack]$ LC_ALL=C date
Fri Nov 14 12:37:32 UTC 2003

- on my server ( 9.1 ) and others clients ( 9.1 ), date display this :
[EMAIL PROTECTED] root]# date
ven nov 14 13:38:19 CET 2003
[EMAIL PROTECTED] root]# LC_ALL=C date
Fri Nov 14 13:38:25 CET 2003


Notice the CET versus UTC

+ Note 2 :
- in my cooker box, /etc/sysconfig/clock contains this :
[EMAIL PROTECTED] root]# more /etc/sysconfig/clock
UTC=false
ARC=false
ZONE=Europe/Paris

- in my 9.1 box, I have :
[EMAIL PROTECTED] root]# more /etc/sysconfig/clock
UTC=true
ZONE=Europe/Paris
ARC=false


+ Note 3 :
a diff -u between /usr/lib/libDrakX/timezone of 9.1 and cooker give me
this ( I remove specific ntp lines ) :

[EMAIL PROTECTED] powerpack]$ diff -u /usr/lib/libDrakX/timezone.pm
~admin/timezone.pm
--- /usr/lib/libDrakX/timezone.pm   2003-11-08 10:06:24.0
+
+++ /home/techmodis/admin/timezone.pm   2003-11-14 12:39:44.0
+
@@ -1,4 +1,4 @@
-package timezone; # $Id: timezone.pm,v 1.51 2003/10/20 17:12:11
tvignaud Exp $
+package timezone; # $Id: timezone.pm,v 1.44 2003/02/23 20:26:28 prigaux
Exp $
  
  
  
@@ -11,24 +11,23 @@
 my ($prefix) = @_;
 $::testing and $prefix = '';
 open(my $F, "cd $prefix/usr/share/zoneinfo && find [A-Z]* -type f
|");
-my @l = difference2([ chomp_(<$F>) ], [ 'ROC', 'PRC' ]);
+my @l = chomp_(<$F>);
 close $F or die "cannot list the available zoneinfos";
 sort @l;
 }
  
-sub read() {
+sub read {
 my %t = getVarsFromSh("$::prefix/etc/sysconfig/clock") or return
{};
 { timezone => $t{ZONE}, UTC => text2bool($t{UTC}) };
 }
  
 sub ntp_server {
-my $setting = @_ > 1;
 my ($prefix, $server) = @_;
  
 my $f = "$prefix/etc/ntp.conf";
 -e $f or return;
  
-if ($setting) {
+if (@_ > 1) {
my $added = 0;
substInFile {
if (/^#?\s*server\s+(\S*)/ && $1 ne '127.127.1.0') {
@@ -127,129 +126,43 @@
 }
 sub bestTimezone { $c2t{fuzzyChoice($_[0])} || 'GMT' }