Re: [Cooker] Key-map problem solved?

2002-02-20 Thread Chmouel Boudjnah


That really not possible even if it's *could* be an easy move.

-- 
http://www.chmouel.org/




Re: [Cooker] Key-map problem solved?

2002-02-19 Thread Guillaume Cottenceau

Chmouel Boudjnah [EMAIL PROTECTED] writes:

 Borsenkow Andrej [EMAIL PROTECTED] writes:
 
  Unfortunately, there was already functions and mandrake_everytime and
  mandrake_firsttime so I just followed the suite... If you decide to move
  this, do not forget to update

Actually Webmin already ignores functions.

 There is plenty of files to update if we do this change will  not be
 done for this release thougt.

Agreed. I patch Webmin to ignore /^mandrake/.



-- 
Guillaume Cottenceau - http://www.frozen-bubble.org/




Re: [Cooker] Key-map problem solved?

2002-02-19 Thread Borsenkow Andrej

On ÷ÔÒ, 2002-02-19 at 19:59, Guillaume Cottenceau wrote:
 Chmouel Boudjnah [EMAIL PROTECTED] writes:
 
  Borsenkow Andrej [EMAIL PROTECTED] writes:
  
   Unfortunately, there was already functions and mandrake_everytime and
   mandrake_firsttime so I just followed the suite... If you decide to move
   this, do not forget to update
 
 Actually Webmin already ignores functions.
 
  There is plenty of files to update if we do this change will  not be
  done for this release thougt.
 
 Agreed. I patch Webmin to ignore /^mandrake/.
 

Moving all mandrake_* is pretty trivial and requires minor update.
Moving functions is almost impossible as it means update of _every_ RPM
that includes service.

I suggest scheduling of moving mandrake_* from /etc/rc.d/init.d  into
/etc/rc.d for post 8.2. They actually belong there.

-andrej




Re: [Cooker] Key-map problem solved?

2002-02-18 Thread Chmouel Boudjnah

Borsenkow Andrej [EMAIL PROTECTED] writes:

 On , 2002-02-16 at 18:07, guran wrote:
 Hi
 
 I used webmin to try to check for services running and found 
 mandrake_consmap  and tried to start it - but got:
 
  Executing /etc/rc.d/init.d/mandrake_consmap start ..
 
 /bin/sh: /etc/rc.d/init.d/mandrake_consmap: bad interpreter: Permission denied
 ***
 There was a mandrake_consmap.lock file and the script was not executable.
 

 mandrake_consmap is not a service and is not even executable (it is
 sourced) and /etc/init.d is probably very bad place for it (OTOH there
 is /etc/init.d/functions that has the same features).

Gc you patch webmin to don't display mandrake_* script ?

-- 
http://www.chmouel.org/




Re: [Cooker] Key-map problem solved?

2002-02-18 Thread Guillaume Cottenceau

Chmouel Boudjnah [EMAIL PROTECTED] writes:

 Borsenkow Andrej [EMAIL PROTECTED] writes:
 
  On ÁÑâ, 2002-02-16 at 18:07, guran wrote:
  Hi
  
  I used webmin to try to check for services running and found 
  mandrake_consmap  and tried to start it - but got:
  
   Executing /etc/rc.d/init.d/mandrake_consmap start ..
  
  /bin/sh: /etc/rc.d/init.d/mandrake_consmap: bad interpreter: Permission denied
  ***
  There was a mandrake_consmap.lock file and the script was not executable.
  
 
  mandrake_consmap is not a service and is not even executable (it is
  sourced) and /etc/init.d is probably very bad place for it (OTOH there
  is /etc/init.d/functions that has the same features).
 
 Gc you patch webmin to don't display mandrake_* script ?

I can do that, but I follow Andrej opinion - if a file is not a
service start/stop executable file, it should not go in
/etc/init.d/. I think they should go to /etc/rc.d/, where they
are called from anyway.


-- 
Guillaume Cottenceau - http://www.frozen-bubble.org/




Re: [Cooker] Key-map problem solved?

2002-02-18 Thread Chmouel Boudjnah

Borsenkow Andrej [EMAIL PROTECTED] writes:

 Unfortunately, there was already functions and mandrake_everytime and
 mandrake_firsttime so I just followed the suite... If you decide to move
 this, do not forget to update


There is plenty of files to update if we do this change will  not be
done for this release thougt.

-- 
http://www.chmouel.org/




Re: [Cooker] Key-map problem solved?

2002-02-18 Thread Chmouel Boudjnah

Guillaume Cottenceau [EMAIL PROTECTED] writes:

 I can do that, but I follow Andrej opinion - if a file is not a
 service start/stop executable file, it should not go in
 /etc/init.d/. I think they should go to /etc/rc.d/, where they
 are called from anyway.

So where do you want to put them ? I got no idea here where to put
this kind of files.. And it's way to dangerous to do it now.

-- 
http://www.chmouel.org/




Re: [Cooker] Key-map problem solved?

2002-02-16 Thread Borsenkow Andrej

On óÂÔ, 2002-02-16 at 18:07, guran wrote:
 Hi
 
 I used webmin to try to check for services running and found 
 mandrake_consmap  and tried to start it - but got:
 
  Executing /etc/rc.d/init.d/mandrake_consmap start ..
 
 /bin/sh: /etc/rc.d/init.d/mandrake_consmap: bad interpreter: Permission denied
 ***
 There was a mandrake_consmap.lock file and the script was not executable.
 

mandrake_consmap is not a service and is not even executable (it is
sourced) and /etc/init.d is probably very bad place for it (OTOH there
is /etc/init.d/functions that has the same features).


-andrej