[Cooker] different problems

2000-07-13 Thread Thierry SAURA


   Hello,

   A lot of GL packages came linked with libglide.so as
xmms-mesa-1.2.2-1mdk ... is it normal ?

   I have a big i18n problem with dia-0.85-1mdk and gftp-2.0.7-1mdk,
these programs crash (segmentation fault) when I'm in french but not in
english.

   sawfish configuration tool doesn't work well, capplet crashes
gnome-center when i try to configure workspaces (sawfish-0.30-1mdk).

 if somebody can help me ? thank a lot !

Thierry.




Re: [Cooker] Sticky bit

2000-07-13 Thread Till Kamppeter

Oi,

your explanation of the sticky bit is not correct. If it is set, only
the owner of the file can delete the file. See the following example:

btp333@btp5x14 ~  cd /usr/cd-image
Directory: /usr/cd-image
/usr/cd-image
btp333@btp5x14 /usr/cd-image  ls -al
total 6567
drwxrwxrwt   5 btp301   bt_p35120 Jul 11 19:39 .
drwxr-xr-x  25 root root 1024 Feb 24 21:10 ..
-rw-r--r--   1 root root 3614 Dec 30  1999 README.multi
drwxr-xr-x   2 root root 1024 Jan 12  2000 image
-rw-r--r--   1 btp434   bt_p4 6672384 Jul  3 14:12 image1.dat
drwxr-xr-x   2 root root12288 Jan  4  2000 lost+found
drwxr-xr-x   2 btp333   bt_p31024 Jun  8 15:37 mandrake
btp333@btp5x14 /usr/cd-image  

Here we se a directory where the sticky bit is set. The user logged in
is 'btp333' he could do a

  rm -rf mandrake

and the directory mandrake will be deleted (he would not do it, because
Mandrake is a nice distribution). But he cannot delete image1.dat
because it belongs to 'btp434'. 'btp301' as the owner of the directory
/usr/cd-image cannot delete anything inside it, because he does not own
any of the files. 'root' naturally can delete all files and the
directory /usr/cd-image itself (the directory is on a local disk of the
machine).

   Till



"Eric MC.D" wrote:
 
 To Till,
 For ex. if rwxrwxrwx is attributed to a file everyone can
 delete
 this file.
 The SUID and SGID bit are normaly applicable to prog. files.
 But this is also available for dirs.
 This is the Sticky bit for dirs.
 If the Sticky bit is set, only the prop. of the dir can
 delete a file in this dir. (also the root (0) of corse)
 To set this bit do:
 chmod u+t /dir
 or
 chmod 1777 /dir
 Now it becomes drwxrwxrwxt.





[Cooker] RPM Freshen Problem

2000-07-13 Thread Eugenio Diaz

When are we going to solve the problem with the -F feature of rpm saying
"package whatever is already installed", and refusing to "freshen" all
the other new packages given as arguments?

That is, if you do "rpm -Fvh x*" and at least one of the packages
begining with "x" is not new, the command will not update the others.

This makes it very hard to update system every night, making the
debugging of cooker much more cumbersome and problematic, not to say
"manual" also ;-).

I think this has been there for like two weeks now ... it this out of
your control?

--
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]






Re: Fwd: Re: [Cooker] Help...Someone..!

2000-07-13 Thread Guillaume Cottenceau

Peter Ruskin [EMAIL PROTECTED] writes:


 Thanks for that.  I await your menu editor.  I have read the contents of
 /usr/doc/menu-2.1.5, and I'm trying to live with it, but I *do* *not* like
 it at all.  If I wanted to be dictated to about how I do my everyday work
 then perhaps I would have chosen a distribution like Debian.

[...]

 Out of sheer bloody-mindness, I continue, carefully backing up
 /usr/share/applnk so I can restore *my* links when a new RPM has zapped
 them.  But I really don't need this and I'd appreciate it if you would
 consider whether the Debian Menu System really is "excellent software" or
 not.

Put your links as menu entries in /usr/lib/menu/ and you'll have no more
problems. :-)


We've been criticized a lot for that menu system. Of course mainly by KDE
or Gnome users, because on these desktops the menu system was standardly
quite usable, compared to the one in icewm and so on.

But, we (at least, "I") still believe that this is a good thing. Whatever
RPM you install from our install cd, you'll get the menu entry in a
uniform way, at the logical location, whatever WM you use. Now the menu is
full of many apps ;-).

Moreover, it's *very* good for the "newbie" users, for which this is a
pain to "guess" what binary they have to use to try the software they want
to. I often heard questions like "which is the *code* to launch that
program". That reflects the understanding of basic users, and we have to
make their life easier. Everyone has been a basic user once in his life.

And for me, who I believe is not a "basic" user, it's a very neat system,
once you know that you have to put the menu entries in the correct
location. Of course, the kde menu editor is for the moment perfectly
useless and this is a problem. I believe the menu editor soon to come
shall fix that.



-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/




Re: Fwd: Re: [Cooker] Help...Someone..!

2000-07-13 Thread Anton Graham

Submitted 13-Jul-00 by Guillaume Cottenceau:
 We've been criticized a lot for that menu system. Of course mainly by KDE
 or Gnome users, because on these desktops the menu system was standardly
 quite usable, compared to the one in icewm and so on.

I think that part of the problem is that not only do many apps come
with predefined menu entries for Gnome/KDE and not our menu system,
but when we use another variety (i.e. not mandrakeized) version of the
window managers we no longer get menu entries with newly installed
mandrakeized apps.
 
Perhaps a contrib package could be made available that has the
appropriate scripts from /etc/menu-methods so that those who run a
vanilla or Helix Gnome, compile KDE themselves, or what have you can
still benefit from the menu system.  This package would also make
"our" menu system available for users of other distros.  I'm sure we
all agree that if we want this system to become stndard it has to be
accessible.

One point that bugs me about the menu system is that the docs say that
I can put menu entries in ~/.menu, but in practice this does not seem
to work :/

-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / [EMAIL PROTECTED]
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!




Re: [Cooker] 3dfx voodoo3 with XFree4

2000-07-13 Thread Frederic Lepied

Guillaume Cottenceau [EMAIL PROTECTED] writes:

 "Hoyt" [EMAIL PROTECTED] writes:
 
  Isn't the newest 4.0.1 supposed to include the tdfx.0 driver now?
 
 supposed to, yes. i did not tested it so I don't know. fred?


yes :

$ rpm -qlp XFree86-server-4.0.1-2mdk.i586.rpm | grep tdfx
/usr/X11R6/lib/modules/drivers/tdfx_drv.o
-- 
Fred - May the source be with you




[Cooker] hackerkernel-source

2000-07-13 Thread Eugenio Diaz

The requires in "hackkernel-source-2.4.0-0.8mdk.i586.rpm" need to be
fixed.

[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#
rpm -ivh hackkernel-2.4.0-0.8mdk.i586.rpm
hackkernel-doc-2.4.0-0.8mdk.i586.rpm
hackkernel-headers-2.4.0-0.8mdk.i586.rpm
hackkernel
##
hackkernel-doc
##
hackkernel-headers
##
[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#
rpm -ivh hackkernel-
hackkernel-2.4.0-0.8mdk.i586.rpm
hackkernel-doc-2.4.0-0.8mdk.i586.rpm
hackkernel-headers-2.4.0-0.8mdk.i586.rpm
hackkernel-source-2.4.0-0.8mdk.i586.rpm
[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#
rpm -ivh hackkernel-source-2.4.0-0.8mdk.i586.rpm
error: failed dependencies:
 hackkernel-headers = 2.4.0-test3-0.8mdk is needed by
hackkernel-source-2.4.0-0.8mdk
[root@fulgore:/home/ftp/pub/linux/mandrake-devel/cooker/Mandrake/RPMS]#


--
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]






[Cooker] gnome-media and alsa

2000-07-13 Thread Guillaume Rousse

I installed latest gnome-media package, with nodeps as i don't use alsa.
Gmix is broken :
gmix: error in loading shared libraries: gmix: undefined symbol:
snd_card_load
I installed alsa-lib, it doesn't change anything.
Note also that alsa-lib doesn't provides alsa-lib, only libaudio.so.
--  :
Guillaume Rousse
Iremia - Université de la Réunion

Sleep doesn't exists. Just lack of cafeine.




Re: [Cooker] gnome-media and alsa

2000-07-13 Thread Anton Graham

Submitted 13-Jul-00 by Guillaume Rousse:
 Note also that alsa-lib doesn't provides alsa-lib, only libaudio.so.
 --  :

An rpm provides itself by definition.  For example,
kernel-2.2.xx-xxmdk does not explicitly provide kernel (as shown
below), but, because it is in the RPM database as an installed
package, anything that requires kernel will be satisfied.

/home/anton rpm -q --provides kernel
module-info
/home/anton

-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / [EMAIL PROTECTED]
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!




Re: [Cooker] RPM Freshen Problem

2000-07-13 Thread Jürgen Zimmermann

 When are we going to solve the problem with the -F feature of rpm saying
 "package whatever is already installed", and refusing to "freshen" all
 the other new packages given as arguments?

Good question. I still wait for a reply on my e-mail from last
tuesday...


 This makes it very hard to update system every night, making the
 debugging of cooker much more cumbersome and problematic, not to say
 "manual" also ;-).

Yes, confirmed. "Freshening" a running system is now a pain!!!


 I think this has been there for like two weeks now ... it this out of
 your control?

Seems to be a problem with the original rpm tars:
CHANGES under section "3.0.4 - 3.0.5"
- internalize --freshen (Gordon Messmer [EMAIL PROTECTED]).


E.g. in "depend.c" there is around line 631 the comment:
/* FIXME: handling upgrades like this is *almost* okay. It doesn't
   check to make sure we're upgrading to a newer version, and it
   makes it difficult to generate a return code based on the number
of
   packages which failed. */




Anyone who will fix this???


So long,
  Juergen




Re: [Cooker] Why so many corrupted rpms?

2000-07-13 Thread Thierry Vignaud

Quel Qun [EMAIL PROTECTED] writes:
 # rpm -U guile-1.4-1mdk.i586.rpm
 error: failed dependencies:
 libguile.so.6 is needed by gnome-games-1.2.0-1mdk
 libguile.so.6 is needed by g-wrap-0.9.4-1mdk
 libguile.so.6 is needed by gnucash-1.4.2-3mdk

well, this means you've to upgrade gnome-games, g-wrap  gnucash too ...




[Cooker] How to Disk Copy a full Installation?

2000-07-13 Thread Link World

I am a system OEM in Bangalore,India selling systems bundled with
Mandrake Linux. The problem is that with every system I sell, I need to
install  configure the system which takes HOURS!. Can I do a diskcopy
instead?

Please Help. This is a major bottleneck for  me.

SUNIL GUPTA
LinkWorld.




[Cooker] Hackkernel 2.4.0-0.9mdk

2000-07-13 Thread Alex Boag-Munroe

Hello

Further to my previous e-mail (Which went unanswered) I have a problem with
this kernel:

I have installed the kernel and amended grub accordingly.  (It is running as
the linux-up option)

I have the initrd image which preloads reiserfs (Which is my filing system)

I then get a VFS kernel panic, saying it is unable to mount root on sda5.
It then recommends that I ammend a root= somewhere.

Booting from 2.2.15 is fine.

Any ideas???

Ta

Alex




[Cooker] Go on, have a laugh at M$ expense

2000-07-13 Thread OS

But seriously

apparantly M$ are doing some market research (see
http://www.firm.no/wi/p10541658/i.asp?r=157s=LTUUUYYVl=0) in the UK. Needless
to say, having been forcefully removed from every list I had signed up to
following a less than complimentary posting about the way Win 98 had screwed up
my system, I answered the questions very honestly !!!

Owen




[Cooker] installkernel grub

2000-07-13 Thread Anton Graham

The installkernel script doesn't seem to play well with grub. Just for
fun I installed a -9mdk kernel and it added an entry to menu.lst:
(hd0,6)/boot/vmlinuz-2.2.16-9mdk.  /boot is a separate (ext2)
partition at /dev/hda1 (aka hd0,0) so this entry pointed nowhere.


-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / [EMAIL PROTECTED]
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!




Re: [Re: [Re: [Cooker] libgncengine.so.0?]]

2000-07-13 Thread Pixel

Quel Qun [EMAIL PROTECTED] writes:

 Yep, because it does not clear the old records.

? you mean, the noise in urpmi.cfg?

 I also have a file (urpmi.cfg) showing my ftp password in clear.

not a big deal, is it? 
do you have any solution?




Re: [Cooker] urpmi holds promise.

2000-07-13 Thread Pixel

David Walluck [EMAIL PROTECTED] writes:

 I know this list isn't tech support, but I have never been able t grasp
 urpmi. I can add an ftp sote, say rpmfind.net, and have it update me from
 there to cooker? The hdlists are very large aren't they? I'm living in the
 country now so I only get 28800 if it connects at all. And downloding a
 new hdlist every day would suck...

yeah :(




Re: [Cooker] urpmi holds promise.

2000-07-13 Thread Pixel

Bryan Paxton [EMAIL PROTECTED] writes:

 I've been playing around with urpmi a bit, wrote a little bash
 wrapper/shell  for it. I must say you've done a nice job pixel. The major
 thing it lacks is a 'dist upgrade'. If there was a way to cleanly say
 'rpm -qa | sort' then cut off the trailing version info(e.g.: -0.1.2-1mdk)

rpm -qa --queryformat "%{NAME}\n" would do it

 urpmi would become much more powerful.

i'm thinking about adding it. Not a big deal, and would be useful.

another big pb, is the handling of version constraints (eg: xxx-devel requires
xxx)


cu Pixel.




Re: [Cooker] a pure RMS compliant Linux-Mandrake distro (only GPLpackages)

2000-07-13 Thread Pixel

[EMAIL PROTECTED] writes:

 Pixel wrote:
  
  [EMAIL PROTECTED] writes:
  
   no Perl
  
  nope, perl is GPL *or* artistic, aka compatible with gpl...
 
 According to them, it's artistic, "a kinder and gentler" version of the
 GPL... It may be compatible, but it isn't the GPL, which was my point.

/*perl.c
 *
 *Copyright (c) 1987-2000 Larry Wall
 *
 *You may distribute under the terms of either the GNU General Public
 *License or the Artistic License, as specified in the README file.




Re: [Cooker] Sticky bit

2000-07-13 Thread Eric MC.D

Thomas SMETS wrote:
 
 Tx Eric,
 
 what did I do then when invoking chmod -Rv 6755 * ?
 
 Thomas,
 
There you setted the 'Set user ID' and the 'Set group ID' !!
BTW SUID and SGID.
So when a file is set with ex: -rw-r--r--
with chmod 6755 becomes -rwsr-sr-x 
Remarked the 's' ? The SUID (s) replace the 'x'.
See the description of chmod.
So you setted new access priv. = (named) EXTENDED priv.
 to the user and group to facilitate the concept 
of access priv. used by processes and files.
By this way you authorize other users to read and modif
your data but only when using a prog who's select and
control the plausibility on the modif in order to prevent
any error.
See also the EUID and RUID.
Eric 


 "Eric MC.D" wrote:
 
  Les SUID bit et SGID bit sont déterminants pour les droits
  d'accès des processus.
  Il ne sont normalement qu'applicables à des fichiers de
  programme.
  Mais il existe égal. des droits d'accès pour les rép.
  Si un utilisateur veut créer ou défaire un fichier dans un
  rép. où le droit d'accès est rwxrwxrwx il en est capable.
  Si tu veux que cela ne puisse être possible il existe donc
  ce qu'on appelle le Sticky bit pour les rép.
  Dans ce cas le signe t apparaît dans les droits
  attribués au reste du monde.
  Si le Sticky bit est appliqué seul le prop. peut
  supprimer un fichier du rép. Sauf le root biensur.(0)
  Il faut donc faire:
  chmod u+t /rép
  ou
  chmod 1777 /rép.
  Cela deviendra: drwxrwxrwxt ..
  C'est bien cela que tu veux ?
  Eric
  PS: la prochaine fois demande dans la liste debutant, comme
  cela il ne faut pas que se soit en Anglais.
 
  To Till,
  For ex. if rwxrwxrwx is attributed to a file everyone can
  delete
  this file.
  The SUID and SGID bit are normaly applicable to prog. files.
  But this is also available for dirs.
  This is the Sticky bit for dirs.
  If the Sticky bit is set, only the prop. of the dir can
  delete a file in this dir. (also the root (0) of corse)
  To set this bit do:
  chmod u+t /dir
  or
  chmod 1777 /dir
  Now it becomes drwxrwxrwxt.
 
  
   [EMAIL PROTECTED] wrote:
   
'lut,
   
Est-ce que qqn pourrait me dire comment je puis realiser la chose suivante :
   
/opt est un repertoire ou se trouve qq appli que je voudrais partager
p.e. jdk's / jre's / Weblogic / ... (Weblogic cela sera pr plus tard, je crois)
j'ai  ensuite applique :
  chown -Rv root.users * # pr permettre a tt le monde d'etre reconnu 
comme utilsateur
  chmod -Rv 755 *# pr permettre a tt le monde de compiler  
d'executer ses pgrm Java
  mkdir src  # Java source code
  mkdir Classes  # Java class files
   
Maintenant, je desire autoriser n'importe qui a creer des fichiers / 
repertoires / ... et les compiler,
mais ss permettre d'ecraser ceux des autres.
Je n'ai cependant pas reussi a utiliser le Sticky bit avec success.
Qqn pourrait-il me donner des renseignement sur ce que je dois faire ?
   
Merci,
   
thomas,
 
 --
 
 Thomas SMETS   Phone : +32 (0)2 742. 05. 94.
 Av. de la Brabançonne 133 / 3  e-mail : tsmets @altern.org
 1030 Bruxelles
 
  Quote of the day =
 Ignorance is when you don't know anything and somebody finds it out.
  === End of Quote =





Re: [Cooker] Sticky bit

2000-07-13 Thread Eric MC.D

Thomas SMETS wrote:
 
 I'd like to set my /opt directory as a king of shared environment.
 I downloaded jdk  jre 1.1.8 / 1.2.2 / 1.3  set up some script so one
 could work with the three in different shells whitout too many clashes.
 Now what I want is to lock the directories so every one can see other's
 work but cannot overwrite it. I thought doing this would give the answer
 but it doesn't !
 Every action is completed under the "root" account (su).

Here set the Sticky bit 1xxx to the dir.
Ex.: Thomas and Eric have acces to the /tmp dir.
So Thomas decided to create a dir /tmp/new.
Now Eric don't like Thomas, so he remove the /tmp/new
when Thomas is away.
Now, to protect his dir Thomas must set the Sticky bit
so Eric can't remove it.
The accesses however stay in place.

 
 # From /opt doing that would allow every member of the "users" group
 # to be part of the gid allowed for the files
 chown -Rv root.users * 
Here you setted (with shown) the SUID and SGID to '0'.
Because the owner and group changed.
Only chmod can change the extended acesses.
 
 #
 # Gives rx access to anyone (only root can modify)
 # Every one can access in full control every thing it creates (sticke
 bit)
 chmod -Rv 6755 *
 
This way not only the owner AND root can modify,
but EVEYONE !
If a SUID bit is placed say a prog, this prog obtain,
the time he's used, the nbr of the owner with
of corse all the priv. of the owner.
Ex. : if the SGID is placed on a prog where the owner
is 'root', then this prog obtain the '0' nbr = root
and the prog an be executed.
Do this with passwd and the user can change your passwd 
So know what you are doing.
Octal values of are:
Access priv.Value
DUID bit4000
SGID2000
Now add both = 6000 and 6000 + 755 = 6755.
Or chmod u+s filename for the SUID.
and chmod g+s filename for the SGID.
The SUID bit and SGID are only util if the exec
authorization
are defined in consequence.
If they aren't for the owner or the group of the file,
the identificator 's' is displayed as (S) majusc.

 Gives out :
 mode of jre118/lib/font.properties.ISO8859_15_FDIS changed to 6755
 (rwsr-sr-x)
 For every files
 
 # Creating the Src  destination directories.
  mkdir src
  mkdir Classes
  chmod -Rv 6755 *
 
 Now I though that as a normal user (su username) :
Normal users are 500 +
Su is for the root password to get the root priv. (0)

 1. Could create any file I wanted in the ./src  ./Classes without any
 troubles

What troubles do you mean ?

 2. Would receive the rxw priviledge while others would only get the rx.
 
???

 I doesn't seems to be that.
 Could one hint to a solution ?
 
 Tx,
 
 Thomas,
 

Did this respond on your question ? (Sorry about the
English)
Eric (see also the return on your next e-mail)


 [EMAIL PROTECTED] wrote:
 
  'lut,
 
  Est-ce que qqn pourrait me dire comment je puis realiser la chose
 suivante :
 
  /opt est un repertoire ou se trouve qq appli que je voudrais partager
  p.e. jdk's / jre's / Weblogic / ... (Weblogic cela sera pr plus tard, je crois)
  j'ai  ensuite applique :
chown -Rv root.users * # pr permettre a tt le monde d'etre reconnu comme 
utilsateur
chmod -Rv 6755 *# pr permettre a tt le monde de compiler  
d'executer ses pgrm Java
mkdir src  # Java source code
mkdir Classes  # Java class files
 
  Maintenant, je desire autoriser n'importe qui a creer des fichiers / repertoires / 
... et les compiler,
  mais ss permettre d'ecraser ceux des autres.
  Je n'ai cependant pas reussi a utiliser le Sticky bit avec success.
  Qqn pourrait-il me donner des renseignement sur ce que je dois faire ?
 
  Merci,
 
  thomas,
 
 --
 
 Thomas SMETS   Phone : +32 (0)2 742. 05. 94.
 Av. de la Brabançonne 133 / 3  e-mail : tsmets @altern.org
 1030 Bruxelles
 
  Quote of the day =
 Ignorance is when you don't know anything and somebody finds it out.
  === End of Quote =





Re: [Cooker] How to Disk Copy a full Installation?

2000-07-13 Thread Pixel

Link World [EMAIL PROTECTED] writes:

 I am a system OEM in Bangalore,India selling systems bundled with
 Mandrake Linux. The problem is that with every system I sell, I need to
 install  configure the system which takes HOURS!. Can I do a diskcopy
 instead?
 
 Please Help. This is a major bottleneck for  me.

many solutions:

- make an install on drive hdb, then either
   1. dd if=/dev/hdb of=/dev/hdc
   2. dd if=/dev/hdb of=/dev/hdc count=1 ; kernel_reread /dev/hdc ; 
  mke2fs /dev/hdc1 ; mount /dev/hdb1 /source ; mount /dev/hdc1 /dest ; cp -a 
/source /dest

- try the oem feature
   3. - burn a cd out of *latest* cooker
  - boot on it telling "oem" to syslinux
  !! it will destroy every data on the harddrive !!
  - you now have a very automated install matrix 
  (duplicate it with "dd if=/dev/hdb of=/dev/hdc bs=1M count=730")

put the harddrive in the oem box, the user will now have an *very* automated
install, just asking the root password and user password.

   4. (just like 3. without burning a cd, doing the first part by hand)
  have a look at the /etc/oem script on the rescue and do it by hand...


cu Pixel.


comments:
1. maybe copy unnecessary things - take too long
   solution - use bs=8k count= 
2. kernel_reread can be found on the new rescue, source is also at end of this
mail. This solution works with one partition. Can be easily enhanced to many
primary partitions... For extended partitions, more complicated, but not much :)
3. has just been added in latest cooker. It may still have some pb. The main
current limitation is IDE only, though it can be fixed easily for special cases.


#include stdio.h
#include sys/mount.h
#include fcntl.h

void die(char *msg)
{
  perror(msg);
  exit(1);
}

void kernel_read(char *dev)
{
  int fd;
  if ((fd = open(dev, O_RDONLY)) == -1) die("can't open device");
  ioctl(fd, BLKRRPART, 0);
  close(fd);
}

int main(int argc, char **argv) 
{
  if (argc != 2) {
fprintf(stderr, "usage: kernel_read_part hard drive device\n");
exit(1);
  }
  kernel_read(argv[1]);
}




Re: [Cooker] Sticky bit

2000-07-13 Thread Eric MC.D

Till Kamppeter wrote:
 
 Oi,
 
 your explanation of the sticky bit is not correct. If it is set, only
 the owner of the file can delete the file. See the following example:
 
 btp333@btp5x14 ~  cd /usr/cd-image
 Directory: /usr/cd-image
 /usr/cd-image
 btp333@btp5x14 /usr/cd-image  ls -al
 total 6567
 drwxrwxrwt   5 btp301   bt_p35120 Jul 11 19:39 .
 drwxr-xr-x  25 root root 1024 Feb 24 21:10 ..
 -rw-r--r--   1 root root 3614 Dec 30  1999 README.multi
 drwxr-xr-x   2 root root 1024 Jan 12  2000 image
 -rw-r--r--   1 btp434   bt_p4 6672384 Jul  3 14:12 image1.dat
 drwxr-xr-x   2 root root12288 Jan  4  2000 lost+found
 drwxr-xr-x   2 btp333   bt_p31024 Jun  8 15:37 mandrake
 btp333@btp5x14 /usr/cd-image 
 
 Here we se a directory where the sticky bit is set. The user logged in
 is 'btp333' he could do a
 
   rm -rf mandrake
 
 and the directory mandrake will be deleted (he would not do it, because
 Mandrake is a nice distribution).

Yes, he can. Because the Sticky bit is not set and the are
of 
the same group.

 But he cannot delete image1.dat
 because it belongs to 'btp434'. 'btp301' as the owner of the directory
 /usr/cd-image cannot delete anything inside it, because he does not own
 any of the files. 'root' naturally can delete all files and the
 directory /usr/cd-image itself (the directory is on a local disk of the
 machine).

That's a standard right. Have nothing todo for rights when
belong
to the same group.
Wrong explanation of me ?

 
Till
 
 "Eric MC.D" wrote:
 
  To Till,
  For ex. if rwxrwxrwx is attributed to a file everyone can
  delete
  this file.
  The SUID and SGID bit are normaly applicable to prog. files.
  But this is also available for dirs.
  This is the Sticky bit for dirs.
  If the Sticky bit is set, only the prop. of the dir can
  delete a file in this dir. (also the root (0) of corse)
  To set this bit do:
  chmod u+t /dir
  or
  chmod 1777 /dir
  Now it becomes drwxrwxrwxt.
 





Re: [Cooker] Sticky bit

2000-07-13 Thread Eric MC.D

Interresting subject, do it ?
Eric




Re: [Cooker] How to Disk Copy a full Installation?

2000-07-13 Thread Till Kamppeter

The best is Kickstart, but when it is not possible to use it (too
different machines, distro w/o Kickstart) I do more or less the
following:

Prepare the copying:

   - Install one machine completely and make a boot disk for it
   - Connect the installed machine to your local network

Do this for every copy copy:

   - Connect a second PC with blank HD to your network
   - Boot the machine with a rescue CD (CD of MDK 7.1, or SuSE, or some
 of these credit-card rescue CDs which you get on every Linux fair.
   - partition the harddisk with 'fdisk' and format it with 'mkfs' and
 'mkswap'.
   - Make it known for the first machine by entering it in roots
.rhosts,
 /etc/hosts and /etc/hosts.equiv
   - Get access to the network entering

hostname [your hostname]
ifconfig eth0 inet [your IP] netmask [your netmask]
route add default gw [your gateway IP]

   - Test the access with 'netstat -nr', 'ping [IP of first PC]'
   - Make mountpoints and mount all disk partitions, so that the later
 root directory will be /mnt.
   - Copy the 'root' partition

cd /mnt
rsh [IP of first PC] '(tar -cvplf - /)' | tar -xvpf -

   - Copy the other partitions

cd /mnt
rsh [IP of first PC] '(cd / ; tar -cvplf - usr)' | tar -xvpf -
cd /mnt/usr
rsh [IP of first PC] '(cd /usr ; tar -cvplf - local)' | tar
-xvpf -
cd ..

   - Adapt the configuration files (they are in /mnt/etc/... now) and
 edit /mnt/etc/inittab to start in a non-graphical run mode.
   - Boot the PC with the boot disk of the first PC, ignore all error
 messages.
   - Edit /etc/lilo.conf end enter 'lilo' to make the PC bootable.
   - Configure sound, graphics, network, printers, and so on with the
 Maandrake tools.
   - Boot the PC and all should work.


Link World wrote:
 
 I am a system OEM in Bangalore,India selling systems bundled with
 Mandrake Linux. The problem is that with every system I sell, I need to
 install  configure the system which takes HOURS!. Can I do a diskcopy
 instead?
 
 Please Help. This is a major bottleneck for  me.
 
 SUNIL GUPTA
 LinkWorld.




[Cooker] Re: [Contrib-Rpm] a2ps-4.13-2mdk

2000-07-13 Thread Anton Graham

Ugh.  We both goofed :(

Here's a specfile patch:

--- a2ps.spec   Wed Jul 12 09:46:37 2000
+++ a2ps.spec.fixed Thu Jul 13 04:57:54 2000
@@ -3,7 +3,7 @@

 %define name a2ps
 %define version 4.13
-%define release 2mdk
+%define release 3mdk

 Summary: Converts text and other types of files to PostScript(TM).
 Name: %{name}
@@ -55,17 +55,18 @@
 rm -rf $RPM_BUILD_ROOT

 %post
-/sbin/ldconfig
-%{_install_info} a2ps.info
-%{_install_info} ogonkify.info
-%{_install_info} regex.info
+%{_install_info a2ps.info}
+%{_install_info ogonkify.info}
+%{_install_info regex.info}
+
+%post devel -p /sbin/ldconfig

 %preun
-%{_remove_install_info} a2ps.info
-%{_remove_install_info} ogonkify.info
-%{_remove_install_info} regex.info
+%{_remove_install_info a2ps.info}
+%{_remove_install_info ogonkify.info}
+%{_remove_install_info regex.info}

-%postun -p /sbin/ldconfig
+%postun devel -p /sbin/ldconfig

 %files -f %{name}.lang
 %defattr(-,root,root)
@@ -89,6 +90,9 @@
 %{_includedir}/*

 %changelog
+* Thu Jul 13 2000 Anton Graham [EMAIL PROTECTED] 4.13-3mdk
+- Ugh.  Fix %post and %preun (my fault :( )
+- move ldconfig (%post and %postun) to -devel

 * Wed Jul 12 2000 Thierry Vignaud [EMAIL PROTECTED] 4.13-2mdk
 - split package in normal  -devel one
 
-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / [EMAIL PROTECTED]
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!




Re: [Cooker] How to Disk Copy a full Installation?

2000-07-13 Thread Christopher Molnar

What about chooisng expert install and allowing it to create an
autoinstall floppy? I have to re-format and re-install cooker every time I
want to do clean testing. I use the autoinstall floppy (in RH known as
kickstart) about 4-5 times per day.


-Chris

On Thu, 13 Jul 2000, Link World wrote:

 I am a system OEM in Bangalore,India selling systems bundled with
 Mandrake Linux. The problem is that with every system I sell, I need to
 install  configure the system which takes HOURS!. Can I do a diskcopy
 instead?
 
 Please Help. This is a major bottleneck for  me.
 
 SUNIL GUPTA
 LinkWorld.
 
 
 




Re: [Cooker] different problems

2000-07-13 Thread Guillaume Cottenceau

Thierry SAURA [EMAIL PROTECTED] writes:

Hello,
 
A lot of GL packages came linked with libglide.so as
 xmms-mesa-1.2.2-1mdk ... is it normal ?

No. For the moment Mesa is only running accelerated with 3dfx cards.

Giuseppe's gonna make separate things bu we need a good solution to have
acceleration to 3dfx and utah-glx-supported cards, which we don't have for
the moment, as the GL libs are different..
 
I have a big i18n problem with dia-0.85-1mdk and gftp-2.0.7-1mdk,
 these programs crash (segmentation fault) when I'm in french but not in
 english.
 
sawfish configuration tool doesn't work well, capplet crashes
 gnome-center when i try to configure workspaces (sawfish-0.30-1mdk).
 
if somebody can help me ? thank a lot !

Uh this is bleeding edge and the authors sometimes release bugged
software, that's why! :-)


-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/




[Cooker] ANNOUNCE: kde upgrade

2000-07-13 Thread Christopher Molnar

Hello,

We are in the process of the final rounds of some testing before we
upgrade kde in cooker to kde2. This is a full replacement to the kde1
desktop and a lot of the associated utilities.

KDE2 is a clean and pretty stable desktop with a lot of enhancements that
I think will be very nice to have. With this update comes koffice which is
the kde office platform.

for more information on kde2 please visit the web site at
http://us.mandrakesoft.com/kde/www


If you have any comments or questions please let me know.


-Chris




Re: [Cooker] How to Disk Copy a full Installation?

2000-07-13 Thread Guillaume Cottenceau

Link World [EMAIL PROTECTED] writes:

 I am a system OEM in Bangalore,India selling systems bundled with
 Mandrake Linux. The problem is that with every system I sell, I need to
 install  configure the system which takes HOURS!. Can I do a diskcopy
 instead?

You probably can take advantage of the auto_install stuff.

http://www.linux-mandrake.com/drakx/auto_inst.html

-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/




Re: [Cooker] How to Disk Copy a full Installation?

2000-07-13 Thread Eric MC.D

Link World wrote:
 
 I am a system OEM in Bangalore,India selling systems bundled with
 Mandrake Linux. The problem is that with every system I sell, I need to
 install  configure the system which takes HOURS!. Can I do a diskcopy
 instead?
 
 Please Help. This is a major bottleneck for  me.
 
 SUNIL GUPTA
 LinkWorld.
OMHO,
Norton Ghost.Suggested by NAQUIN Frédérick.
Eric





Re: [Cooker] Sticky bit

2000-07-13 Thread Eric MC.D

Another (maybe usefull) (restricted access):
If you are an exp. admin you know that users create files
they don't use anymore.
What create unused space.
The solution is to search the files who's are not accessed
a long time and to delete them.

But, as user to prevent this, at the point of user,
create a command in your .profile or .bashrc like:

find $HOME -type f -exec touch {} \; /dev/null 21 

Run it in the background. So the admin can't find them.

For the admin:
A process more radical is to use the command 'du' on
the dirs of the users.
This display the nbrs of blocs of 512 bytes of every dir and
the admin can calc the utilised diskspace.

Ok, and what if the admin can't convainc the user
to delete his files ? 

Eric




[Cooker] Hydrogen2 USparc: no networking?!?

2000-07-13 Thread Majewski, Bruno

Hello --

I have managed to install beta 2 of Mandrake 7.1 on this Ultra10 Creator3D
(P/N: 380-0196-01) that was scrounged up at work (no one knows what it was
used for, no S/W was with it, etc.) and after fighting a bit with X
configuration and with the partition table (seperate bugs that will have to
be reported seperatly), I now have a fast Linux box with a nice big screen.

But networking doesn't work -- it looks like the NIC was not even detected!

When I look into /dev, there doesn't seem to be any NIC detected. No "eth0",
"eth1", etc.  And the NIC Solaris IDs as "hme0" (or is it "hme1" ?) isn't
there either.

So how do I get networking to work -- or is it even possible with beta2?

p.s.: are there any VCs under 7.1/Sparc?  The "Wintel" key sequence doesn't
seem to work!


Bruno Majewski
Internetworking Specialist  /  Spécialiste d'Interéseautage
ATT Canada
tél.:   613.688.4712
fax.:   613.688.4535
e-mail / courriel:
[EMAIL PROTECTED]





Re: [Re: [Cooker] Why so many corrupted rpms?]

2000-07-13 Thread Quel Qun

I hope you are proud of this answer !-((
These are the latest version available, so this means that YOU have to upgrade
them.

Thierry Vignaud [EMAIL PROTECTED] wrote:
 Quel Qun [EMAIL PROTECTED] writes:
  # rpm -U guile-1.4-1mdk.i586.rpm
  error: failed dependencies:
  libguile.so.6 is needed by gnome-games-1.2.0-1mdk
  libguile.so.6 is needed by g-wrap-0.9.4-1mdk
  libguile.so.6 is needed by gnucash-1.4.2-3mdk
 
 well, this means you've to upgrade gnome-games, g-wrap  gnucash too ...


=-=
kk1


Get free email and a permanent address at http://www.netaddress.com/?N=1




RE: [Cooker] 3dfx voodoo3 with XFree4

2000-07-13 Thread José Luiz Barci Neves

Where i can take a XFREE 4.01 mdk of course ?

thanks a lot!

 --
 From: Frederic Lepied[SMTP:[EMAIL PROTECTED]]
 Reply To: [EMAIL PROTECTED]
 Sent: quinta-feira, 13 de julho de 2000 06:07
 To:   [EMAIL PROTECTED]
 Subject:  Re: [Cooker] 3dfx voodoo3 with XFree4
 
 Guillaume Cottenceau [EMAIL PROTECTED] writes:
 
  "Hoyt" [EMAIL PROTECTED] writes:
  
   Isn't the newest 4.0.1 supposed to include the tdfx.0 driver now?
  
  supposed to, yes. i did not tested it so I don't know. fred?
 
 
 yes :
 
 $ rpm -qlp XFree86-server-4.0.1-2mdk.i586.rpm | grep tdfx
 /usr/X11R6/lib/modules/drivers/tdfx_drv.o
 -- 
 Fred - May the source be with you
 




[Cooker] iostream.h missing in 7.1 ?

2000-07-13 Thread Bryan Paxton

I was helping someone today because they couldn't find iostream.h
libstdc++-devel isn't included in 7.1(neither is tcpd-devel for that
matter). Why is this ?

-- 
Bryan Paxton

"How should I know if it works? That's what beta testers are for. I
  only coded it."
 -- Linus Torvalds.

Public key can be found at http://speedbros.org/Bryan_Paxton.asc




[Cooker] IPMasqAdm

2000-07-13 Thread Don Head

Something I don't see in most distros is
IPMasqAdm, which I've seen mentioned over and
over in some documents.  I've found only a SuSE
RPM and a generic RPM, both on rpmfind.net.  Is
it not used anymore?  Is there something better?
Has anyone made a Mdk RPM?  Am I blind?

Don Head  [[EMAIL PROTECTED]]
Linux Mentor  [1 314 692-1942]
Wave Technologies, Inc. [1 800 826-4640 x1942]
[AIM - Don Wave][ICQ - 18804935][Yahoo - Don_Wave]
 




Re: [Cooker] IDE patches unstable?

2000-07-13 Thread Guy T. Rice

On Fri, 07 Jul 2000, Thierry Vignaud wrote:

 I don't think it's an eide driver bug : it's just that the new driver stress
 more hardware (if your eide hd and controller reports to support udma, you
 just want to use it). 

Huh.  According to hdparm, it's not using dma at all.

/dev/hdb:
 multcount= 16 (on)
 I/O support  =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 nowerr   =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 977/255/63, sectors = 15698592, start = 0

 the problem won't appear with kernel-linus because it's
 nicer with hardware (try hdparm -Tt on /dev/hda to compare).
 For me, it's a hardware bug (hd or cable; eg, for udma66, lots of read error
 were due to bad cables ...)

Alas, I don't have udma66, my motherboard is older than that...

As far as I'm concerned, if one piece of software can read a piece of
hardware perfectly, whereas another piece of software has difficulty with
it, that's an obvious software problem.  There may be hardware issues
involved, but what it boils down to is the second piece of software isn't
robust enough to support as much hardware as the first one does.  The
second piece of software is doing something with the hardware in question
that it shouldn't.  If there's no way to disable that feature (i.e. some
hdparm setting to make it work), the software's busted and needs to be
fixed.




[Cooker] another bad rpm :-((

2000-07-13 Thread Quel Qun

# rpm -U librep-0.12.3-2mdk.i586.rpm
unpacking of archive failed: cpio: Bad magic

I am loosing faith, above all with one update a day :-(


=-=
kk1


Get free email and a permanent address at http://www.netaddress.com/?N=1




[Cooker] Burners

2000-07-13 Thread root

Hi,

I'm going to be upgrading to a new ide burner...the HP 9300I and
need to know some information.
#1, how well does it work in Linux
#2, will I have to recompile the kernel to make it into an emulated
scsi device?

If the kernel must be recompiled, I have a recomendation for the
kernel crew:  Build the kernel so that atapi devices such as burners are
automatically setup as scsi emulation.  I know how to build the kernel,
but always end up pulling my hair out when I build a custom kernel.

B. K. Barley




Re: [Cooker] ANNOUNCE: kde upgrade

2000-07-13 Thread David Walluck

On Thu, 13 Jul 2000, Christopher Molnar wrote:

 If you have any comments or questions please let me know.
 
 
 -Chris

I hope you consider the problem I reported with nearly every app
segfaulting. This makes it very unusable, not even usable for simple
tasks. I am running cooker current as of today. I don't know of anything
that would be causing this problem aside from bad code on KDE's part. It
is an alpha after all... And an interesting note is that I stopped using
GNOME because 1.0.x would crash every day (almost as much as
Windows) whereas KDE 1.1.2 is nice and solid. I hope KDE2 will evenrtually
meet that standard as well.




Re: [Cooker] IPMasqAdm

2000-07-13 Thread Vincent Danen

On Thu, Jul 13, 2000 at 04:22:26PM -0500, Don Head wrote:

 Something I don't see in most distros is
 IPMasqAdm, which I've seen mentioned over and
 over in some documents.  I've found only a SuSE
 RPM and a generic RPM, both on rpmfind.net.  Is
 it not used anymore?  Is there something better?
 Has anyone made a Mdk RPM?  Am I blind?

What's ipmasqadm?  Do you want an rpm made?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 3 days 21 hours 24 minutes.




Re: [Cooker] another bad rpm :-((

2000-07-13 Thread Vincent Danen

On Thu, Jul 13, 2000 at 04:44:31PM -0700, Quel Qun wrote:

 # rpm -U librep-0.12.3-2mdk.i586.rpm
 unpacking of archive failed: cpio: Bad magic
 
 I am loosing faith, above all with one update a day :-(

I mirror cooker here every hour and it's perfectly fine.  The reason
for many new updates with librep was because of new versions and
because of a little oops in -1mdk.  If you'll notice, it went from
0.12.2 to 0.12.3 in a three day period, and from 0.12.3-1mdk to -2mdk
in one day so I'm not sure what you're talking about?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 3 days 21 hours 26 minutes.




[Cooker] MySQL Client Program Problems.

2000-07-13 Thread Russell \Elik\ Rademacher

Hello Guys.  I am not sure if you know about this but I use the
mysql_setpermission files quite often.  However...the RPMS that I have
gotten recently which is 3.22.32 version, it have client version of 9.38 or
something.  Now...here is the problem I came across when I tried to use it.

I type in the command to start and after giving the correct password, this
is what I get back.

[root@unixhost1 bin]# mysql_setpermission
Password for user  to connect to MySQL:
Can't make a connection to the mysql server.
 The error: Protocol mismatch. Server Version = 10 Client Version = 9 at
/usr/bin/mysql_setpermission line 65, STDIN chunk 1.
[root@unixhost1 bin]#

I cannot figure out how to solve this, but I really need this fixed ASAP,
since I use them to do the quick add of the mysql databases for our
customers and after this upgrade...well.. I am really up the creek here.
Any help is appreciated.




Re: [Cooker] urpmi holds promise.

2000-07-13 Thread Bryan Paxton

Yeah : ( Sadly this is just a part that will take long and boring time. 
I'm willing to put in time.  What would need to be done is a manual break down of 
every package of
it's requires and provides, put it all in a lovely list(via patch), write a parser for 
the list,
and update the file as needed. This would not only make for better dep handling but it 
would also
save time on updated your package/dep repository, as frowned on in another e-mail. 
So e.g.: urpmi --updatedb
Would then simply grab a patch from whatever mirror patch it to the package/dep list 
and yeah, well
you get it : P  It sounds kinda of kludgy the way I've explained it, but I'm sure 
could be done
cleanly. 

That or simply have an hdlist which can be patched with ease. 





 On Thu, 13 Jul 2000, you wrote:
 Bryan Paxton [EMAIL PROTECTED] writes:
 
  I've been playing around with urpmi a bit, wrote a little bash
  wrapper/shell  for it. I must say you've done a nice job pixel. The major
  thing it lacks is a 'dist upgrade'. If there was a way to cleanly say
  'rpm -qa | sort' then cut off the trailing version info(e.g.: -0.1.2-1mdk)
 
 rpm -qa --queryformat "%{NAME}\n" would do it
 
  urpmi would become much more powerful.
 
 i'm thinking about adding it. Not a big deal, and would be useful.
 
 another big pb, is the handling of version constraints (eg: xxx-devel requires
 xxx)
 
 
 cu Pixel.
-- 
Bryan Paxton

"How should I know if it works? That's what beta testers are for. I
  only coded it."
 -- Linus Torvalds.

Public key can be found at http://speedbros.org/Bryan_Paxton.asc




Re: [Cooker] Burners

2000-07-13 Thread Kevin Maciunas

root wrote:
 
 Hi,
 
 I'm going to be upgrading to a new ide burner...the HP 9300I and
 need to know some information.
 #1, how well does it work in Linux
 #2, will I have to recompile the kernel to make it into an emulated
 scsi device?
 
 If the kernel must be recompiled, I have a recomendation for the
 kernel crew:  Build the kernel so that atapi devices such as burners are
 automatically setup as scsi emulation.  I know how to build the kernel,
 but always end up pulling my hair out when I build a custom kernel.
 
 B. K. Barley

I have just installed the HP8250i as a backup device (they are basically
the same, but the 9300I is faster).  You don't need to do anything, just
add 
hda=ide-scsi
to the boot line in grub.  My menu.lst file has the lines:

title kernel-2.2.16-9mdksmp
kernel (hd0,0)/vmlinuz-2.2.16-9mdksmp root=/dev/sda5 vga=0x0f06
hda=ide-scsi
initrd (hd0,0)/initrd-2.2.16-9mdksmp.img

Which makes the writer (on /dev/hda normally) an IDE-SCSI device.  It
also makes the slave device an IDE-SCSI device, and if you don't want
this you need to add an ignore=
argument.  Since I use a SCSI system, I don't care.  Even if you do have
a slave device (I just happen to have a Zip drive there) it is still
available, it's just got a SCSI name.  This may be marginally less
efficient than directly accessing it, but I suspect this is pretty
marginal.

Make the edit and reboot.  Then "cdrecord -scanbus" will list it.
 
If you want to use it for backups, check out Fraser McCrossan's
excellent cddump program.  Really nice to be able to take a set of CDs
into work in the certain knowlege that if the house burns down, I'll
still be able to re-load everything on any machine anywhere (almost) :-)

/Kevin
--
Kevin J. Maciunas   [EMAIL PROTECTED]
Department of Computer Science  PH: +61-8-8303-5586
The University of Adelaide  FAX:+61-8-8303-4366
Adelaide 5005 South Australia




[Cooker] alsaplayer-0.99.32-3mdk

2000-07-13 Thread Anton Graham

We are apparently missing some files (/usr/lib/alsaplayer/output/*)
for this package:

/home/anton alsaplayer
AlsaPlayer 0.99.32
(C) 1999 Andy Lo A Foe [EMAIL PROTECTED] and others, see AUTHORS
file for details
ERROR: I could not find a suitable output module on your
   system. Make sure they're in "/usr/lib/alsaplayer/output/".
   Use the -o paræmeter to select one.
ERROR: failed to load output add-on. Exiting...

/home/anton rpm -ql alsaplayer
/usr/bin/alsaplayer
/usr/doc/alsaplayer-0.99.32
/usr/doc/alsaplayer-0.99.32/TODO
/usr/doc/alsaplayer-0.99.32/sockmon.txt
/usr/doc/alsaplayer-0.99.32/wishlist.txt
/usr/lib/alsaplayer
/usr/lib/alsaplayer/libalsa.la
/usr/lib/alsaplayer/libalsa.so
/usr/lib/alsaplayer/libbarfft.la
/usr/lib/alsaplayer/libbarfft.so
/usr/lib/alsaplayer/libcdda.la
/usr/lib/alsaplayer/libcdda.so
/usr/lib/alsaplayer/libfftscope.la
/usr/lib/alsaplayer/libfftscope.so
/usr/lib/alsaplayer/liblevelmeter.la
/usr/lib/alsaplayer/liblevelmeter.so
/usr/lib/alsaplayer/liblogbarfft.la
/usr/lib/alsaplayer/liblogbarfft.so
/usr/lib/alsaplayer/libmod.la
/usr/lib/alsaplayer/libmod.so
/usr/lib/alsaplayer/libmonoscope.la
/usr/lib/alsaplayer/libmonoscope.so
/usr/lib/alsaplayer/libmpg123.la
/usr/lib/alsaplayer/libmpg123.so
/usr/lib/alsaplayer/libnull.la
/usr/lib/alsaplayer/libnull.so
/usr/lib/alsaplayer/liboss.la
/usr/lib/alsaplayer/liboss.so
/usr/lib/alsaplayer/libspacescope.la
/usr/lib/alsaplayer/libspacescope.so
/usr/lib/alsaplayer/libsynaescope.la
/usr/lib/alsaplayer/libsynaescope.so
/usr/lib/alsaplayer/libwav.la
/usr/lib/alsaplayer/libwav.so
/usr/lib/menu/alsaplayer

-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / [EMAIL PROTECTED]
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!




Re: [Cooker] How to Disk Copy a full Installation?

2000-07-13 Thread Link World

Dear Mr. Christopher,

Your Solution appears fine as a re-installation aid. But How do I do a
DiskCopy? In Windows, I set up a secondary master, format it, and use Diskcopy
c: d: /e/c/q/h/r/y from command prompt. The resulting disk when installed in
the new system does not boot, so I set the bootable partition from Fdisk and
the system is fully replicated. All program files  settings work. Is there
any such DISKDUMP facility from hda to hdb in LINUX?

Sunil Gupta
LinkWorld.

Christopher Molnar wrote:

 What about chooisng expert install and allowing it to create an
 autoinstall floppy? I have to re-format and re-install cooker every time I
 want to do clean testing. I use the autoinstall floppy (in RH known as
 kickstart) about 4-5 times per day.

 -Chris

 On Thu, 13 Jul 2000, Link World wrote:

  I am a system OEM in Bangalore,India selling systems bundled with
  Mandrake Linux. The problem is that with every system I sell, I need to
  install  configure the system which takes HOURS!. Can I do a diskcopy
  instead?
 
  Please Help. This is a major bottleneck for  me.
 
  SUNIL GUPTA
  LinkWorld.
 
 
 






Re: [Cooker] How to Disk Copy a full Installation?

2000-07-13 Thread Link World

Dear Mr. Till Kamppeter,

Your Solution appears fine for a networked environment. But How do I do a
DiskCopy? In Windows, I set up a secondary master, format it, and use
Diskcopy c: d: /e/c/q/h/r/y from dos box. The resulting disk when installed
in the new system does not boot, so I set the bootable patron from Fdisk and
the system is fully replicated. All program files  settings work. Is there
any such DISKDUMP facility from hda to hdb in LINUX?

Sunil Gupta
LinkWorld.


Till Kamppeter wrote:

 The best is Kickstart, but when it is not possible to use it (too
 different machines, distro w/o Kickstart) I do more or less the
 following:

 Prepare the copying:

- Install one machine completely and make a boot disk for it
- Connect the installed machine to your local network

 Do this for every copy copy:

- Connect a second PC with blank HD to your network
- Boot the machine with a rescue CD (CD of MDK 7.1, or SuSE, or some
  of these credit-card rescue CDs which you get on every Linux fair.
- partition the harddisk with 'fdisk' and format it with 'mkfs' and
  'mkswap'.
- Make it known for the first machine by entering it in roots
 .rhosts,
  /etc/hosts and /etc/hosts.equiv
- Get access to the network entering

 hostname [your hostname]
 ifconfig eth0 inet [your IP] netmask [your netmask]
 route add default gw [your gateway IP]

- Test the access with 'netstat -nr', 'ping [IP of first PC]'
- Make mountpoints and mount all disk partitions, so that the later
  root directory will be /mnt.
- Copy the 'root' partition

 cd /mnt
 rsh [IP of first PC] '(tar -cvplf - /)' | tar -xvpf -

- Copy the other partitions

 cd /mnt
 rsh [IP of first PC] '(cd / ; tar -cvplf - usr)' | tar -xvpf -
 cd /mnt/usr
 rsh [IP of first PC] '(cd /usr ; tar -cvplf - local)' | tar
 -xvpf -
 cd ..

- Adapt the configuration files (they are in /mnt/etc/... now) and
  edit /mnt/etc/inittab to start in a non-graphical run mode.
- Boot the PC with the boot disk of the first PC, ignore all error
  messages.
- Edit /etc/lilo.conf end enter 'lilo' to make the PC bootable.
- Configure sound, graphics, network, printers, and so on with the
  Maandrake tools.
- Boot the PC and all should work.

 Link World wrote:
 
  I am a system OEM in Bangalore,India selling systems bundled with
  Mandrake Linux. The problem is that with every system I sell, I need to
  install  configure the system which takes HOURS!. Can I do a diskcopy
  instead?
 
  Please Help. This is a major bottleneck for  me.
 
  SUNIL GUPTA
  LinkWorld.