Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread Hex Star
Hello, you probably have a recent chipset (blanking on name currently) which
is recent such that support is not yet present in the linux kernel...


Re: [gentoo-user] linux-headers

2007-10-07 Thread Hex Star
There is no harm in doing so :)


Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread Chuanwen Wu
The chipset is ICH8.
So,is there anyway you see I can install gentoo on my machine?
I have install Red Flag.But it 's i686 but not x86_64,so I can't
chroot from the Red Flag to install Gentoo.

2007/10/7, Hex Star [EMAIL PROTECTED]:
 Hello, you probably have a recent chipset (blanking on name currently) which
 is recent such that support is not yet present in the linux kernel...



-- 
wcw
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread William Kenworthy
Hi had the smae problem on a dell with this chipset.  Its not so much
the chipset, but that the dell has a gap in the numbering of devices
attached to it that the livecd cant deal with.

The cure was to boot from a redhat 7 livecd and install from that.
Worked fine.  Also, dell has a legacy mode for the chip selectable in
the bios - install has to be done in legacy mode, which can then be
disabled when the new system is up and running on its own kernel.

google will help a lot with this one

BillK

 Chuanwen Wu wrote:
 The chipset is ICH8.
 So,is there anyway you see I can install gentoo on my machine?
 I have install Red Flag.But it 's i686 but not x86_64,so I can't
 chroot from the Red Flag to install Gentoo.
 
 2007/10/7, Hex Star [EMAIL PROTECTED]:
  Hello, you probably have a recent chipset (blanking on name currently) which
  is recent such that support is not yet present in the linux kernel...
 
 
 
 -- 
 wcw
-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Bug in /etc/init.d/netmount?

2007-10-07 Thread Matthias Fechner
Hi Dan,

Dan Farrell wrote:
 AFAIK you are correct, this is a bug in a few of the initscripts that
 don't behave sensibly if the root fs is network mounted.  

thx for your answer a raised a bug report with the number: 194967.


Bye
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread Philip Webb
071007 Chuanwen Wu wrote:
 The chipset is ICH8.
 So,is there anyway you see I can install gentoo on my machine?

You have an informed reply re your Dell, which I don't know,
but more generally you could try to install from Knoppix
-- that's what I used when I installed my current system 4 years ago --
or the simple but powerful System Rescue ( http://www.sysresccd.org/ ),
which I plan to use when I install Gentoo on my soon-to-be-built box
(it actually mentions installing Gentoo as a good use in its docs).
I made a Gentoo Live CD for 'amd64', but am not impressed:
unlike the other two, it couldn't use my full monitor resolution
 it also boots into a Gnome desktop (ugh  grin).

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread Florian Philipp

Philip Webb schrieb:

071007 Chuanwen Wu wrote:

The chipset is ICH8.
So,is there anyway you see I can install gentoo on my machine?


You have an informed reply re your Dell, which I don't know,
but more generally you could try to install from Knoppix
-- that's what I used when I installed my current system 4 years ago --
or the simple but powerful System Rescue ( http://www.sysresccd.org/ ),
which I plan to use when I install Gentoo on my soon-to-be-built box
(it actually mentions installing Gentoo as a good use in its docs).
I made a Gentoo Live CD for 'amd64', but am not impressed:
unlike the other two, it couldn't use my full monitor resolution
 it also boots into a Gnome desktop (ugh  grin).



Don't forget that you need a AMD64 livecd if you want to install an 
AMD64 system. There is no such thing like Knoppix64 but you should be 
fine with every other livecd, for example Ubuntu64 CDs.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Break In attempts

2007-10-07 Thread Mick
Hi All,

Can you please advise what I could do to block IP addresses that have 
repeatedly failed to log in?  I am looking here at a server which over the 
last week is being attacked daily with random usernames.  So the only 
constant in these repeated attempts is not the username, but the IP address.  
Occasionally, the odd service name (e.g. rpc, mysql, postgres, etc.) repeats 
itself, otherwise they seem to be randomly selected from a dictionary.

I have already disabled PAM authentication on sshd so that only users with a 
public key in their ~/.ssh can login.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Break In attempts

2007-10-07 Thread Elias Probst
Am Sonntag, 7. Oktober 2007 11:40:10 schrieb Mick:
 Hi All,

 Can you please advise what I could do to block IP addresses that have
 repeatedly failed to log in?

I think you're looking for: net-analyzer/fail2ban (http://www.fail2ban.org)

Regards, Elias P.

-- 
A really nice number:
09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0


signature.asc
Description: This is a digitally signed message part.


RE: [gentoo-user] Break In attempts

2007-10-07 Thread Joost van Surksum

If you have iptables available in your kernel, a quick manual step could be
to block all traffic incoming from that IP address. A statement like the
following could work:

iptables -I INPUT -s XXX.XXX.XXX.XXX -j DROP

(This drops all traffic coming from IP address XXX... effectively, it simply
looses the network packets and doesn't respond to it any more.)

Of course this is a one time only, manual thing. There may also be
processes/applications that automatically block unwanted IP traffic. Maybe
somebody else may suggest such a solution (I'm not that familiar with this).

Cheers,
Joost

 -Original Message-
 From: Mick [mailto:[EMAIL PROTECTED] 
 Sent: zondag 7 oktober 2007 11:40
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Break In attempts
 
 
 Hi All,
 
 Can you please advise what I could do to block IP addresses that have 
 repeatedly failed to log in?  I am looking here at a server 
 which over the 
 last week is being attacked daily with random usernames.  So the only 
 constant in these repeated attempts is not the username, but 
 the IP address.  
 Occasionally, the odd service name (e.g. rpc, mysql, 
 postgres, etc.) repeats 
 itself, otherwise they seem to be randomly selected from a dictionary.
 
 I have already disabled PAM authentication on sshd so that 
 only users with a 
 public key in their ~/.ssh can login.
 -- 
 Regards,
 Mick
 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread Philip Webb
071007 Florian Philipp wrote:
 Philip Webb schrieb:
 more generally you could try to install from Knoppix
 -- that's what I used when I installed my current system 4 years ago --
 or the simple but powerful System Rescue ( http://www.sysresccd.org/ ),
 which I plan to use when I install Gentoo on my soon-to-be-built box
 (it actually mentions installing Gentoo as a good use in its docs).
 I made a Gentoo Live CD for 'amd64', but am not impressed:
 unlike the other two, it couldn't use my full monitor resolution
  it also boots into a Gnome desktop (ugh  grin).
 Don't forget that you need a AMD64 livecd
 if you want to install an AMD64 system.
 There is no such thing like Knoppix64 but you should be fine
 with every other livecd, for example Ubuntu64 CDs.

You are probably correct that that mb a problem with Knoppix,
but System Rescue 0.4.0 has a 'rescue64' kernel for that purpose
(it came out the day after I wrote a CD using 0.3.8 ... ):
hopefully, the 0.4.0 wb sufficient to get the installation going.
I plan to use a USB stick to copy the necessary Gentoo files
from my existing machine, whose system wb reproduced
for 64 bits  dual-core CPU.  Further advice  comments are welcome.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] LVM : pros cons

2007-10-07 Thread Philip Webb
Does anyone have advice based on experience using LVM ?
I sb partitioning a new  320 GB  hard drive soon for a simple desktop box.
That is  8 times  the size of the HDD in my present machine,
which I haven't exhausted by any means.  LVM seems more professional
 allows flexibility for unforeseen storage needs,
but it adds a layer of complexity  potential problems arising therefrom.
I wonder whether LVM slows down disk access
 whether there's a disaster lurking unseen if anything goes wrong with LVM:
a bad package update, a damaged config file or file storing LVM's layout
would seem to risk losing everything on the HDD  require re-installation.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] linux-headers

2007-10-07 Thread Hans-Werner Hilse
Hi,

On Sat, 6 Oct 2007 23:38:33 -0700
Hex Star [EMAIL PROTECTED] wrote:

 There is no harm in doing so :)

If you say such things, please add a short explanation what makes you
think that. After all this isn't IRC.

In fact, I would not suggest doing that. While kernel developers do
their best not to break existing interfaces unless they have real urge,
the picture also might get bigger, i.e. more or different APIs. So I
would not suggest running a userland based on headers with higher
version than the actual kernel. Although I have to admit that I don't
know if there candidates for unexpected behaviour and what those might
be.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LVM : pros cons

2007-10-07 Thread Dan Johansson
On Sunday 07 October 2007, Philip Webb wrote:
 Does anyone have advice based on experience using LVM ?
 I sb partitioning a new  320 GB  hard drive soon for a simple desktop box.
 That is  8 times  the size of the HDD in my present machine,
 which I haven't exhausted by any means.  LVM seems more professional
  allows flexibility for unforeseen storage needs,
 but it adds a layer of complexity  potential problems arising therefrom.
 I wonder whether LVM slows down disk access
  whether there's a disaster lurking unseen if anything goes wrong with
 LVM: a bad package update, a damaged config file or file storing LVM's
 layout would seem to risk losing everything on the HDD  require
 re-installation.

I'm using LVM for all my (linux-)computers (Servers, Desktops and Notebooks). 
The only filesystems not on LVM are / and /boot (I know that I can put / on a 
LVOL as well but I don't like to use initrd if I can avoid it). This is for 
example how my desktop looks like:

/dev/hde1   /boot   30MB
/dev/hde2   swap4GB
/dev/hde3   /   500MB
/dev/hde4   LVM-vg00
/dev/vg00/lvol01/usr4GB
/dev/vg00/lvol02/var10GB
/dev/vg00/lvol03/opt2GB
/dev/vg00/lvol04/home/dan   4GB
/dev/vg00/lvol05/home/ulle  4GB
/dev/vg00/lvol06/tmp1GB
/dev/vg00/lvol07/var/vmware/WinXP   28GB
/dev/vg00/lvol08/usr/portage3GB

The main reason for me for using LVM is that I can easily extend a filesystem 
on the fly or add a new one if necessary.
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Break In attempts

2007-10-07 Thread Mick
On Sunday 07 October 2007, Elias Probst wrote:
 Am Sonntag, 7. Oktober 2007 11:40:10 schrieb Mick:
  Hi All,
 
  Can you please advise what I could do to block IP addresses that have
  repeatedly failed to log in?

 I think you're looking for: net-analyzer/fail2ban (http://www.fail2ban.org)

 Regards, Elias P.

This looks just like what I want.  Thanks!
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] LVM : pros cons

2007-10-07 Thread William Kenworthy
Never had a problem with LVM.

On a mythTV box with LVM, started with 80GB IDE, then added in a 300Gb
IDE, then a few months later another 300mb, sata this time.  Basicly
transparent to Myth

I have avoided LVM on laptops before now because its extra complexity
and I'll never add multiple disks.

But, on a sony laptop without LVM - I have discovered that when I
partitioned it in a rush ~18 months ago, I made the diagnostic partition
5 GBytes instead of 5 mbytes - and now I need the space.  My options are
to format it and symlink it into the tree, wipe and start again or
image, repartition and restore.  All have big disadvantages because this
is my primary, work, not owned by me laptop (!).  

It would have been so much easier if I had used LVM ...

On Sun, 2007-10-07 at 07:01 -0400, Philip Webb wrote:
 Does anyone have advice based on experience using LVM ?
 I sb partitioning a new  320 GB  hard drive soon for a simple desktop box.
 That is  8 times  the size of the HDD in my present machine,
 which I haven't exhausted by any means.  LVM seems more professional
  allows flexibility for unforeseen storage needs,
 but it adds a layer of complexity  potential problems arising therefrom.
 I wonder whether LVM slows down disk access
  whether there's a disaster lurking unseen if anything goes wrong with LVM:
 a bad package update, a damaged config file or file storing LVM's layout
 would seem to risk losing everything on the HDD  require re-installation.
 
 -- 
 ,,
 SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
 ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
 TRANSIT`-O--O---'  University of Toronto
-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread Chuanwen Wu
2007/10/7, William Kenworthy [EMAIL PROTECTED]:
 Hi had the smae problem on a dell with this chipset.  Its not so much
 the chipset, but that the dell has a gap in the numbering of devices
 attached to it that the livecd cant deal with.

 The cure was to boot from a redhat 7 livecd and install from that.
redhat7 is 32bit  os, is is right?So I suppose you install a 32bit os
in a 64bit machine.

 Worked fine.  Also, dell has a legacy mode for the chip selectable in
 the bios - install has to be done in legacy mode, which can then be
 disabled when the new system is up and running on its own kernel.

But in my dell1400,I can't find any legacy mode?

 google will help a lot with this one

 BillK

  Chuanwen Wu wrote:
  The chipset is ICH8.
  So,is there anyway you see I can install gentoo on my machine?
  I have install Red Flag.But it 's i686 but not x86_64,so I can't
  chroot from the Red Flag to install Gentoo.
 
  2007/10/7, Hex Star [EMAIL PROTECTED]:
   Hello, you probably have a recent chipset (blanking on name currently) 
   which
   is recent such that support is not yet present in the linux kernel...
  
 
 
  --
  wcw
 --
 William Kenworthy [EMAIL PROTECTED]
 Home in Perth!
 --
 [EMAIL PROTECTED] mailing list




-- 
wcw
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Break In attempts

2007-10-07 Thread Bertram Scharpf
Hi,

Am Sonntag, 07. Okt 2007, 10:40:10 +0100 schrieb Mick:
 Can you please advise what I could do to block IP addresses that have 
 repeatedly failed to log in?  I am looking here at a server which over the 
 last week is being attacked daily with random usernames.  So the only 
 constant in these repeated attempts is not the username, but the IP address.  
 Occasionally, the odd service name (e.g. rpc, mysql, postgres, etc.) repeats 
 itself, otherwise they seem to be randomly selected from a dictionary.

This is a _real_ nuisance. Besides that I doubt there is any
meaningful harvest.

 I have already disabled PAM authentication on sshd so that only users with a 
 public key in their ~/.ssh can login.

Host-based authentication is one possible solution. Fail2ban
was already mentioned, too.

A bit more difficult is the ban by iptables. This one is
working here successfully for quite some time:

  SSH_WHITELIST=192.168.0.0/16 11.22.33.44

  IPT='/sbin/iptables -v'

  iptsshdefence()
  {
  $IPT -N sshwhite
  for t in $SSH_WHITELIST
  do
  $IPT -A sshwhite -s $t -m recent --remove --name SSH -j ACCEPT
  done

  # $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -j LOG 
--log-prefix 'SSH request '
  $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set 
--name SSH
  $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -j sshwhite
  # $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update 
--seconds 60 --hitcount 4 --rttl --name SSH -j LOG --log-prefix 'SSH 
brute_force '
  $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update 
--seconds 60 --hitcount 4 --rttl --name SSH -j REJECT
  }

Of course you need a kernel with recent module and reject
target support compiled in.

Thanks a lot again to this list!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread William Kenworthy
On Sun, 2007-10-07 at 20:07 +0800, Chuanwen Wu wrote:
 2007/10/7, William Kenworthy [EMAIL PROTECTED]:
  Hi had the smae problem on a dell with this chipset.  Its not so much
  the chipset, but that the dell has a gap in the numbering of devices
  attached to it that the livecd cant deal with.
 
  The cure was to boot from a redhat 7 livecd and install from that.
 redhat7 is 32bit  os, is is right?So I suppose you install a 32bit os
 in a 64bit machine.
 
  Worked fine.  Also, dell has a legacy mode for the chip selectable in
  the bios - install has to be done in legacy mode, which can then be
  disabled when the new system is up and running on its own kernel.
 
 But in my dell1400,I can't find any legacy mode?
 
  google will help a lot with this one
 
  BillK
 

yes - there are (were?) a few incompatibilities still with 64 bit os'es
that dont exist with 32 bit.  Basicly, there still doesnt seem to be a
compelling reason to go 64bit for a desktop at the moment.  Servers are
a different matter.

I cant access the machine at the moment, so I cant get the bios links-
its somewhere in the disk area.

BillK


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] no sound with mplayer

2007-10-07 Thread pat
Hello,

Time to time I have problem with mplayer. The sound for some video files doesn't
work (mainly for DVDs). The problem is:
***
Requested audio codec family [a52] (afm=liba52) not available.
Enable it at compilation.
Requested audio codec family [ac3] (afm=libac3) not available.
Enable it at compilation.
Requested audio codec family [hwac3] (afm=hwac3) not available.
Enable it at compilation.
Cannot find codec for audio format 0x2000.
***

Please, could someone point me to the solution?

Thanks a lot.

Pat
-- 
[EMAIL PROTECTED] mailing list



Re: **SPAM** [gentoo-user] no sound with mplayer

2007-10-07 Thread Łukasz Dudek
Dnia 2007-10-07, o godz. 15:45:50
pat [EMAIL PROTECTED] napisał(a):

 Hello,
 
 Time to time I have problem with mplayer. The sound for some video
 files doesn't work (mainly for DVDs). The problem is:
 ***
 Requested audio codec family [a52] (afm=liba52) not available.
 Enable it at compilation.
 Requested audio codec family [ac3] (afm=libac3) not available.
 Enable it at compilation.
 Requested audio codec family [hwac3] (afm=hwac3) not available.
 Enable it at compilation.
 Cannot find codec for audio format 0x2000.
 ***
 
 Please, could someone point me to the solution?
 
 Thanks a lot.
 
   Pat

have you active a52 USE flag active ??


--
Jaros�aw Drob, Przyjdziemy i Spie***ymy - poznaj kandydata!
Kliknij  http://link.interia.pl/f1bef

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] linux-headers

2007-10-07 Thread Volker Armin Hemmann
On Sonntag, 7. Oktober 2007, Hans-Werner Hilse wrote:
 Hi,

 On Sat, 6 Oct 2007 23:38:33 -0700

 Hex Star [EMAIL PROTECTED] wrote:
  There is no harm in doing so :)

 If you say such things, please add a short explanation what makes you
 think that. After all this isn't IRC.

 In fact, I would not suggest doing that. While kernel developers do
 their best not to break existing interfaces unless they have real urge,
 the picture also might get bigger, i.e. more or different APIs. So I
 would not suggest running a userland based on headers with higher
 version than the actual kernel. Although I have to admit that I don't
 know if there candidates for unexpected behaviour and what those might
 be.

 -hwh

the linux-headers and the kernel are completly off -sync. There is no harm in 
using headers with a higher/lower version number.
But(!) you should not downgrade headers, this can cause very severe problems.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no sound with mplayer

2007-10-07 Thread pat
Daniel Pielmeier wrote:
 pat schrieb:
 Hello,

 Time to time I have problem with mplayer. The sound for some video files 
 doesn't
 work (mainly for DVDs). The problem is:
 ***
 Requested audio codec family [a52] (afm=liba52) not available.
 Enable it at compilation.
 Requested audio codec family [ac3] (afm=libac3) not available.
 Enable it at compilation.
 Requested audio codec family [hwac3] (afm=hwac3) not available.
 Enable it at compilation.
 Cannot find codec for audio format 0x2000.
 ***

 Please, could someone point me to the solution?

 Thanks a lot.

  Pat
 
 You probably need to build mplayer with the a52 USE flag.

YES that's it :-)

Thanks a lot !!!

Pat
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread Chuanwen Wu
2007/10/7, William Kenworthy [EMAIL PROTECTED]:
 On Sun, 2007-10-07 at 20:07 +0800, Chuanwen Wu wrote:
  2007/10/7, William Kenworthy [EMAIL PROTECTED]:
   Hi had the smae problem on a dell with this chipset.  Its not so much
   the chipset, but that the dell has a gap in the numbering of devices
   attached to it that the livecd cant deal with.
  
   The cure was to boot from a redhat 7 livecd and install from that.
  redhat7 is 32bit  os, is is right?So I suppose you install a 32bit os
  in a 64bit machine.
 
   Worked fine.  Also, dell has a legacy mode for the chip selectable in
   the bios - install has to be done in legacy mode, which can then be
   disabled when the new system is up and running on its own kernel.
  
  But in my dell1400,I can't find any legacy mode?
 
   google will help a lot with this one
  
   BillK
  

 yes - there are (were?) a few incompatibilities still with 64 bit os'es
 that dont exist with 32 bit.  Basicly, there still doesnt seem to be a
 compelling reason to go 64bit for a desktop at the moment.  Servers are
 a different matter.
I think a 64bit os in a 64bit machine  is faster than a 32bit os in
most conditions.Do you think so?

 I cant access the machine at the moment, so I cant get the bios links-
 its somewhere in the disk area.
Although I have checked the bios options  very *carefully*,I hope your link:).

 BillK


 --
 [EMAIL PROTECTED] mailing list




-- 
wcw
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread Neil Bothwick
Hello William Kenworthy,

 Basicly, there still doesnt seem to be a
 compelling reason to go 64bit for a desktop at the moment.

Doesn't that rather depend on your intended use of the desktop? Some apps
benefit greatly fro the 64 bit environment.


-- 
Neil Bothwick

The best antiques are old friends.


signature.asc
Description: PGP signature


Re: [gentoo-user] Can't boot from livecd

2007-10-07 Thread Dan Farrell
On Sun, 7 Oct 2007 23:13:21 +0800
Chuanwen Wu [EMAIL PROTECTED] wrote:

  yes - there are (were?) a few incompatibilities still with 64 bit
  os'es that dont exist with 32 bit.  Basicly, there still doesnt
  seem to be a compelling reason to go 64bit for a desktop at the
  moment.  Servers are a different matter.  
 I think a 64bit os in a 64bit machine  is faster than a 32bit os in
 most conditions.Do you think so?

I would like to agree, but I haven't seen compelling evidence, having
run both ways.  I guess it seems like 64 might be a little faster,
especially when it comes to swapping massive amounts of RAM and similar
heavy lifting.   32-bit certainly _isn't_ going to be faster. 32-bit
also means wasting half your cpu hardware.

on the other hand, 32bit means running the same arch. as most
everyone.  that makes it easier.  But i think in 'most conditions'
these two modes, run on the same chip, will perform nearly
identically.  

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LVM : pros cons

2007-10-07 Thread Florian Philipp

Philip Webb schrieb:

Does anyone have advice based on experience using LVM ?
I sb partitioning a new  320 GB  hard drive soon for a simple desktop box.
That is  8 times  the size of the HDD in my present machine,
which I haven't exhausted by any means.  LVM seems more professional
 allows flexibility for unforeseen storage needs,
but it adds a layer of complexity  potential problems arising therefrom.
I wonder whether LVM slows down disk access
 whether there's a disaster lurking unseen if anything goes wrong with LVM:
a bad package update, a damaged config file or file storing LVM's layout
would seem to risk losing everything on the HDD  require re-installation.




Simple pros and cons?

Pro:
More flexible, especially when using a special setup [1], can easily be 
expanded to RAID1 and/or RAID0 (even both at the same time!).


Cons:
- Can't be used with Windows. Even worse, Windows sees the partition as 
unformatted rather than unknown and therefore might have no problem 
formatting it without warning.
- Can't be used for /boot, usage for / needs initrd (my advice: keep 
/boot, /bin, /sbin and /etc on a normal partition).

- It's one more thing that can break.
- You can't use *parted to resize the underlying partitions.
- I had trouble mounting my lvm /home partition (mirrored) with Ubuntu, 
possibly a missing kernel module in the default kernel or missing use 
flag. I didn't try to fix it, though.
- You loose bit performance, but not much, you won't feel it without 
benchmarks.


[1]
Some simple advices: Create small logical volumes. It's easier to expand 
them than to shrink them (expanding reiserfs takes less than 5 minutes).
If you are not shure wether you might need more space on ordinary dos 
partitions later on, don't create one big partition for lvm but several 
smaller. That makes management a bit more complicated (especially when 
you are unfamiliar with the tools and/ or have several physical disks) 
but you can simply reformat one of them if the need arises (see man 
pvmove for more information).

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] linux-headers

2007-10-07 Thread Allan Gottlieb
At Sun, 07 Oct 2007 16:06:41 +0200 Volker Armin Hemmann [EMAIL PROTECTED] 
wrote:

 the linux-headers and the kernel are completly off -sync. There is no harm in 
 using headers with a higher/lower version number.
 But(!) you should not downgrade headers, this can cause very severe problems.

thanks,
allan
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Perl module problem

2007-10-07 Thread Moshe Kamensky
Hi,

Does /usr/lib/perl5/vendor_perl/5.8.8/Scalar/Util.pm exist? What is the 
output of

perl -le 'print foreach @INC'

By the way, I run urxvt fine with the Scalar::Util that comes with perl.  
do you have something like 
/usr/lib/perl5/5.8.8/i686-linux-thread-multi/auto/List/Util/Util.so

Moshe

* Naga Toro [EMAIL PROTECTED] [05/10/07 16:06]:
 Hi,
 
 I have two machines that uses x11-terms/rxvt-unicode-8.3. One is ~amd64 and 
 one is ~x86, both have the same version of perl and 
 perl-core/Scalar-List-Utils. One can use the perl extensions (~amd64 one) and 
 one gives this error on startup:
 
 urxvt: perl hook 0 evaluation error: Undefined subroutine 
 Scalar::Util::weaken called at /usr/lib/urxvt/urxvt.pm line 1191
 
 nonworking:
 $ strace urxvt 21 | egrep 'open.*perl'
 /usr/lib/perl5/5.8.8/Scalar/Util.pm
 /usr/lib/perl5/5.8.8/List/Util.pm
 
 working:
 $ strace urxvt 21 | egrep 'open.*perl'
 /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Scalar/Util.pm
 /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/List/Util.pm
 /usr/lib64/perl5/5.8.8/x86_64-linux/XSLoader.pm
 /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/List/Util/Util.so
 
 This indicates that the working uses perl-core/Scalar-List-Utils but the 
 nonworking uses dev-lang/perl, but why?
 
 Does anyone have an idea as to how I can debug this?
 
 -- 
 Naga
 -- 
 [EMAIL PROTECTED] mailing list
 


pgpW9OEbp6ztO.pgp
Description: PGP signature


[gentoo-user] Re: Break In attempts

2007-10-07 Thread Remy Blank
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mick wrote:
 I have already disabled PAM authentication on sshd so that only users with a 
 public key in their ~/.ssh can login.

This is the first and most important step. This means that the only real
problem is that your logs fill with failed log in attempts.

The easiest way I have found to avoid that is to change the port number
of the SSH daemon to something else than 22.

- -- Remy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHCSKRCeNfIyhvXjIRAgiBAKCNqpLd1XzZWcEm74DVbZyL9CpmCgCgmN5X
FJWRjHgHrwHlv9vYT8jz5tM=
=njTK
-END PGP SIGNATURE-

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LVM : pros cons

2007-10-07 Thread Alan McKinnon
On Sunday 07 October 2007, Florian Philipp wrote:
 Philip Webb schrieb:
  Does anyone have advice based on experience using LVM ?

snip

 Simple pros and cons?

 Pro:

snip

 - You loose bit performance, but not much, you won't feel it without
 benchmarks.

I very much doubt this. LVM is one extra layer between the filesystem 
and the physical disk and it basically consists of a mapping between 
the extents in the VG and exactly where they are on the volume. This is 
nothing more than an elementary lookup table; on a 500G VG using 32M 
extents this consists of precisely 15,625 entries, it can all be stored 
in RAM and can consist of one pointer plus precisely one calculation to 
determine the offset from the start of the table where the desired 
extent lies.

Considering that RAM runs at many orders of magnitude faster than the 
disk you are trying to get the data off of, the extra fraction of a % 
overhead is not even worth trying to measure, let alone benchmark it. 
Moving the heads just once more because of file fragmentation probably 
takes longer than the entire LVM lookup

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Break In attempts

2007-10-07 Thread Mick
On Sunday 07 October 2007, Remy Blank wrote:
 Mick wrote:
  I have already disabled PAM authentication on sshd so that only users
  with a public key in their ~/.ssh can login.

 This is the first and most important step. This means that the only real
 problem is that your logs fill with failed log in attempts.

 The easiest way I have found to avoid that is to change the port number
 of the SSH daemon to something else than 22.

That's right, my standard practice for this sort of problem is to disable root 
 passwd authentication in favour of public key and then move the ssh port 
away from the bots.  The problem is that on this occasion, this is not my 
server.  I'll have a word with the owner and see what he thinks.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] LVM : pros cons

2007-10-07 Thread Alan McKinnon
On Sunday 07 October 2007, Philip Webb wrote:
 Does anyone have advice based on experience using LVM ?

The majority of folks around here will have used LVM :-)

 I sb partitioning a new  320 GB  hard drive soon for a simple desktop
 box. That is  8 times  the size of the HDD in my present machine,
 which I haven't exhausted by any means.  LVM seems more professional
  allows flexibility for unforeseen storage needs,

this is it's main benefit on desktop class machines - the ability to 
resize volumes when you realize that you guessed wrong. There are 
others too :-)

 but it adds a layer of complexity  potential problems arising
 therefrom. 

A total non-issue in my experience. I've never had an LVM problem yet, 
but maybe I'm just lucky. The one thing you do need to be aware of it 
that you require LVM support at boot time or shortly thereafter. So 
either compile it into the kernel, or make sure it's in the initrd.

For a gentoo system using roll-your-own kernels, the consensus seems to 
be a regular / volume of 500M-1G is plenty and everything else is on 
LVM. That way you avoid the issues of not having the required support 
to be able to mount /. We don't build distro kernels that must boot on 
everything out there, we have the luxury of customizing everything

 I wonder whether LVM slows down disk access 

No. See my other mail.

  whether there's a disaster lurking unseen if anything goes wrong
 with LVM: a bad package update, a damaged config file or file storing
 LVM's layout would seem to risk losing everything on the HDD 
 require re-installation.

Not true. You *already* have many layers of software between user space 
and disk, any one of which can go wrong at any time. LVM metadata is 
stored in text files and it maintains many historical copies of 
previous configs and it's easy to fix if it ever goes wrong. I've never 
seen a *real* LVM error, but I have matched myself do some really dumb 
things and I could fix them every time.

Seriously, the problem LVM solves has been known about for decades and 
the method used was worked out about the same time. It's a mature 
technology that is *very* well understood, completely the opposite of 
drivers to support some latest new-fangled chipset. I would be much 
more worried about that code trashing your disk than LVM. Just to put 
it all into perspective...

Extra benefits of LVM: You won't need this right now for your simple 
desktop with one drive, but it's good to know what else LVM can do:

Snapshots. You can freeze the state of a filesystem at any time and 
LVM will track the changes since then until you release the snapshot. 
This is a lifesaver if your job is to perform backups of 4TB databases 
that can never be taken down for backups.

Huge volumes: LVM is the only way on Linux to be able to get local 
volumes bigger than any single disk. Again, on servers, 2TB+ databases 
are becoming commonplace.

If you need any more convincing, IBM mainframes and HP machines running 
HP-UX have required you to use LVM for years now - you can't get to the 
disks without using LVM. If it was risky, do you think those hardware 
vendors would have gone down that route?

alan




-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no sound with mplayer

2007-10-07 Thread Alan McKinnon
On Sunday 07 October 2007, pat wrote:
 Hello,

 Time to time I have problem with mplayer. The sound for some video
 files doesn't work (mainly for DVDs). The problem is:
 ***
 Requested audio codec family [a52] (afm=liba52) not available.
 Enable it at compilation.
 Requested audio codec family [ac3] (afm=libac3) not available.
 Enable it at compilation.
 Requested audio codec family [hwac3] (afm=hwac3) not available.
 Enable it at compilation.
 Cannot find codec for audio format 0x2000.
 ***

 Please, could someone point me to the solution?

You haven't supplied any real information about your system, so it's 
impossible to tell what the problem really is. Based on your error 
message the first thing I'd check is if you have the required codec 
support compiled into mplayer.

Please post the output of 'eix -e mplayer'

alan



-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Break In attempts

2007-10-07 Thread Hex Star
http://www.google.com/search?hl=enq=howto+secure+sshbtnG=Google+Search


Re: [gentoo-user] Break In attempts

2007-10-07 Thread Randy Barlow
Mick wrote:
 Can you please advise what I could do to block IP addresses that have 
 repeatedly failed to log in?

You can also have a look at denyhosts...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] linux-headers

2007-10-07 Thread Benno Schulenberg
Volker Armin Hemmann wrote:
 But(!) you should not downgrade headers, this can cause very
 severe problems.

Could you give an example?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] linux-headers

2007-10-07 Thread Volker Armin Hemmann
On Montag, 8. Oktober 2007, Benno Schulenberg wrote:
 Volker Armin Hemmann wrote:
  But(!) you should not downgrade headers, this can cause very
  severe problems.

 Could you give an example?

ok, example. I might be totally wrong, so don't believe me:
 The splice system call was added with 2.6.17 and corresponding headers. If 
you build an application that has optinal (on compile time) support for this, 
but downgrade the headers after that to say... 2.6.10 you might see funny 
stuff happening.

Headers are backward compatible, not forward compatible.

glibc is similar - just try to downgrade glibc. You can't, portage won't allow 
it.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LVM : pros cons

2007-10-07 Thread Mark Kirkwood

Alan McKinnon wrote:

On Sunday 07 October 2007, Florian Philipp wrote:
  


- You loose bit performance, but not much, you won't feel it without
benchmarks.



I very much doubt this. LVM is one extra layer between the filesystem 
and the physical disk and it basically consists of a mapping between 
the extents in the VG and exactly where they are on the volume. This is 
nothing more than an elementary lookup table; on a 500G VG using 32M 
extents this consists of precisely 15,625 entries, it can all be stored 
in RAM and can consist of one pointer plus precisely one calculation to 
determine the offset from the start of the table where the desired 
extent lies.


Considering that RAM runs at many orders of magnitude faster than the 
disk you are trying to get the data off of, the extra fraction of a % 
overhead is not even worth trying to measure, let alone benchmark it. 
Moving the heads just once more because of file fragmentation probably 
takes longer than the entire LVM lookup



  
A year or two ago it was possible to measure a performance hit - for 
instance we had some Supermicro PCI-X based machines with 3Ware RAID 
cards where we could get (quoting from memory here as it was a while 
ago) uncached sequential scan rates of about 1Gb/s without LVM and 
somewhere in the region of 800Mb/s with it.


However that was then, and this is now - LVM and hardware have no doubt 
improved , so it would be interesting to do the test again (if we do 
I'll let you know).


I would think that for the OP's use case (i.e 1 disk on a desktop box) 
there will be no measurable difference at all.


Cheers

Mark

--
[EMAIL PROTECTED] mailing list



[gentoo-user] metacity does not start

2007-10-07 Thread Matthias Langer
i'm wondering if anyone else has this problem, or even better, a
solution for it:

since i've upgraded to gnome-2.18.x i have to start metacity manually at
least sometimes after logging in. that is, in about 1 of 4 logins, i
don't have a usable desktop till i type metacity into some terminal.

apart from this annoying behavior, gnome seems to be fine.

here are some parts of my configuration:

$ emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2,
glibc-2.5-r4, 2.6.22-gentoo-r8 x86_64)
[...]
ACCEPT_KEYWORDS=amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=nocona -O2 -pipe
CHOST=x86_64-pc-linux-gnu
[...]
USE=3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb bitmap-fonts bzip2
cairo caps cddb cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread
eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif
gimp gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv icu ipod ipv6
isdnlog java jpeg jpeg2k lcms ldap libnotify lm_sensors mad matroska
midi mikmod mmap mmx mmxext mono mp3 mpeg mudflap ncurses nls nptl
nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png pppd
python qt3support quicktime readline reflection ruby sdl session spell
spl sse sse2 ssl ssse3 svg tcpd tetex theora threads tiff truetype
truetype-fonts type1-fonts unicode usb vcd vorbis xattr xml xorg xv xvid
zlib ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty
extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol CAMERAS=canon konica ptp2
kodak ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux
[...]


i'm using:

x11-wm/metacity-2.18.5  USE=-debug -xinerama
x11-libs/gtk+-2.10.14  USE=X jpeg tiff -debug -doc -xinerama
gnome-base/gnome-session-2.18.3  USE=ipv6 tcpd -branding -debug -esd
gnome-base/gnome-light-2.18.3

also note, that the system i'm using has been installed from scratch
just a bit more than a month ago and i'm having this problem ever since.

thanks,
matthias

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LVM : pros cons

2007-10-07 Thread felix
On Sun, Oct 07, 2007 at 09:26:33PM +0200, Alan McKinnon wrote:

 A total non-issue in my experience. I've never had an LVM problem yet, 
 but maybe I'm just lucky. The one thing you do need to be aware of it 
 that you require LVM support at boot time or shortly thereafter. So 
 either compile it into the kernel, or make sure it's in the initrd.

I had a problem once, scared me to pieces until I got past it.  An
emerge had removed a library which was still used by the lvm command.
ldd lvm showed not found.  Boot didn't like that.  I got lucky; a
rescue disk allowed me to create a bogus symlink to the old library so
that boot could proceed, at which point I remerged the broken command
and no longer needed the bogus symlink.

I have since written a perl program which looks for such broken libs.
I have no idea why gentoo's revdep-rebuild didn't find it.

I still use LVM and even gentoo, but I am also increasingly wary of
gentoo updates.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] metacity does not start

2007-10-07 Thread Hex Star
You should take note of the error message that occurs when you experience
this problem and paste the error msg here


Re: [gentoo-user] metacity does not start

2007-10-07 Thread Matthias Langer
On Sun, 2007-10-07 at 17:25 -0700, Hex Star wrote:
 You should take note of the error message that occurs when you
 experience this problem and paste the error msg here

well, that would be indeed a very good idea; however, i don't start
gnome from a terminal but from gdm and i don't know where to look for
error messages in this case...

maybe i can see if the problem can be reproduced by using startx and
maybe i get some error messages there... 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] metacity does not start

2007-10-07 Thread Michael Sullivan
On Mon, 2007-10-08 at 01:50 +0200, Matthias Langer wrote:
 i'm wondering if anyone else has this problem, or even better, a
 solution for it:
 
 since i've upgraded to gnome-2.18.x i have to start metacity manually at
 least sometimes after logging in. that is, in about 1 of 4 logins, i
 don't have a usable desktop till i type metacity into some terminal.
 
 apart from this annoying behavior, gnome seems to be fine.
 
 here are some parts of my configuration:
 
 $ emerge --info
 Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2,
 glibc-2.5-r4, 2.6.22-gentoo-r8 x86_64)
 [...]
 ACCEPT_KEYWORDS=amd64
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=nocona -O2 -pipe
 CHOST=x86_64-pc-linux-gnu
 [...]
 USE=3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb bitmap-fonts bzip2
 cairo caps cddb cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread
 eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif
 gimp gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv icu ipod ipv6
 isdnlog java jpeg jpeg2k lcms ldap libnotify lm_sensors mad matroska
 midi mikmod mmap mmx mmxext mono mp3 mpeg mudflap ncurses nls nptl
 nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png pppd
 python qt3support quicktime readline reflection ruby sdl session spell
 spl sse sse2 ssl ssse3 svg tcpd tetex theora threads tiff truetype
 truetype-fonts type1-fonts unicode usb vcd vorbis xattr xml xorg xv xvid
 zlib ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty
 extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
 null plug rate route share shm softvol CAMERAS=canon konica ptp2
 kodak ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux
 [...]
 
 
 i'm using:
 
 x11-wm/metacity-2.18.5  USE=-debug -xinerama
 x11-libs/gtk+-2.10.14  USE=X jpeg tiff -debug -doc -xinerama
 gnome-base/gnome-session-2.18.3  USE=ipv6 tcpd -branding -debug -esd
 gnome-base/gnome-light-2.18.3
 
 also note, that the system i'm using has been installed from scratch
 just a bit more than a month ago and i'm having this problem ever since.
 
 thanks,
 matthias
 
I had this problem and solved it by deleting ~/.gnome ~/.gnome2 and
~/.gnome2_private

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types

2007-10-07 Thread Randy Barlow
Hi!  I just upgraded from Apache 2.0.x to 2.2.6 and am working out
kinks.  Right now I see

 * Caching service dependencies ...   [ ok ]
 * Starting apache2 ...   [ !! ]

There is nothing in /var/log/messages and /var/log/apache2/error_log shows

[Sun Oct 07 22:51:36 2007] [error] (2)No such file or directory: could
not open mime types config file /etc/apache2/mime.types.

I admittedly don't have this file, but I also don't know if a) I am
supposed to have this file and am missing it for some reason, or if b) I
don't need the file but some config file somewhere thinks I do.

I see a package called mime-types, but it seems to install
/etc/mime.types and not /etc/apache2/mime.types...  Help?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types

2007-10-07 Thread Randy Barlow
Randy Barlow wrote:
 I see a package called mime-types, but it seems to install
 /etc/mime.types and not /etc/apache2/mime.types...  Help?

I found a temporary solution by symlinking /etc/apache2/mime.types to
/etc/mime.types, but that doesn't seem like the correct way to go...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types

2007-10-07 Thread Tim
Randy Barlow wrote:
 Randy Barlow wrote:
 I see a package called mime-types, but it seems to install
 /etc/mime.types and not /etc/apache2/mime.types...  Help?
 
 I found a temporary solution by symlinking /etc/apache2/mime.types to
 /etc/mime.types, but that doesn't seem like the correct way to go...
 
Change the TypesConfig directive in Apache2 to the location of your
mime.types file (in this case, /etc/mime.types). For example, my machine
does this:

mybox ~ # grep TypesConfig /etc/apache2/httpd.conf
# TypesConfig describes where the mime.types file (or equivalent) is
TypesConfig /etc/mime.types
-- 
[EMAIL PROTECTED] mailing list