Re: [gentoo-user] Security Updates and Portage Trees

2005-09-19 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jason Stubbs wrote:

On Monday 19 September 2005 13:16, gentuxx wrote:

If I update firefox with the --oneshot option, I know that it won't
update the world tree, but why? Why is that the recommended
procedure? Does that give me any benefit? Also, why would a package
be available as a --oneshot and NOT through a normal emerge -Dupv
world?


The package would be available through -Dupv as well, but not everybody
likes to update all packages (especially on servers).


Granted.  And while I run a server (a few actually), it's a home
system, not a production one.  And, since I run production gentoo
systems, I understand the difference.  For this, I'm asking from the
perspective of a home user.  So, that being said, does updating a
package for a security fix using the --oneshot option update the
same package that is housed in the world tree?  If so, can I
assume that the same package will be updated next time I update
world?  Meaning, if I run --oneshot for mozilla-firefox-1.0.6-r7
and mozilla-firefox-1.0.7-r1 comes out, will 1.0.6-r7 be upgraded to
1.0.7-r1?


I love how portage unifies the packaging system, and I feel like if I
run all of these --oneshot updates for security fixes, that I'll
have all of these stray programs running around on my system, that
won't get updated next time I emerge world.


--oneshot won't remove the package from world. It just prevents it from
being added. If the package is installed but not in world, it is presumably
there as a dependency from another package. Hence, updating world will
still grab the package. Using --oneshot just keeps the world file clean.

So what exactly does that mean if the package is already in world?
If every security fix comes out with --oneshot being recommended,
how do I know if it's a dependency of a package in world, or an entity
in world?  (This seems like an extension of the questioning above.)

I'm just trying to set all this straight mentally, so I know what's
going on with my system when I update it.  I typically run the
following to update my system 2 or 3 times a week (sometimes only once):

emerge -Du(p)v world
emerge -(p)v depclean
revdep-rebuild -(p)v
dispatch-conf

I put the p for --pretend in parentheses because depending on the
output of that step, I may skip it if there is nothing to do.

Also, for the most recent firefox update, I would run the command as
recommended with the -p flag, and it would see the package.  If I
run emerge -Dupv mozilla-firefox I only get a few of the (supposed)
dependencies, and not the package itself, while the package installed
(when I do emerge search mozilla-firefox) is 1.0.6-r5.


- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDLlQLLYGSSmmWCZMRAiBYAJ9m6Pl/IkG/mXFX6iZ90epVCTkuWQCfcVH+
25V6IF0g1dFHWCyLv1xlLIE=
=tOYB
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Security Updates and Portage Trees

2005-09-19 Thread Jason Stubbs
On Monday 19 September 2005 15:00, gentuxx wrote:
 does updating a package for a security fix using the --oneshot option 
 update the same package that is housed in the world tree?  

There is no world tree. There is only a list. --oneshot has no affect on 
this list.

 If so, can I assume that the same package will be updated next time I 
 update world?  Meaning, if I run --oneshot for 
 mozilla-firefox-1.0.6-r7 and mozilla-firefox-1.0.7-r1 comes out, will 
 1.0.6-r7 be upgraded to 1.0.7-r1? 

If it was in the world list prior to you running --oneshot, it'll still be 
in the world list afterward. Hence, it will be updated with world.

 If every security fix comes out with --oneshot being recommended,
 how do I know if it's a dependency of a package in world, or an entity
 in world?  (This seems like an extension of the questioning above.)

What does it matter in the context of a security update?

 Also, for the most recent firefox update, I would run the command as
 recommended with the -p flag, and it would see the package.  If I
 run emerge -Dupv mozilla-firefox I only get a few of the (supposed)
 dependencies, and not the package itself, while the package installed
 (when I do emerge search mozilla-firefox) is 1.0.6-r5.

If that is the case then 1.0.6-r5 is the latest version available for you 
with respect to your current snapshot of the tree.

-- 
Jason Stubbs


pgpgOHJHMeSrI.pgp
Description: PGP signature


Re: [gentoo-user] scp or sftp from another local machine in GENTOO_MIRRORS?

2005-09-19 Thread Nagatoro

Nagatoro wrote:
Try and search the wiki (gentoo-wiki) for http-mirror. It does a great 


Guess I got a brain fart... As Mark wrote it should be http-replicator 
and nothing else.


--
Naga
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] new gentoo installed but can't boot: Disk Boot Failure, Insert System Disk And Press Enter

2005-09-19 Thread michael

Thanks for the suggestion, Walter. Yes, I did have the jumper set to
master, as appropriate. But see my next post.

Michael


On Sun, 18 Sep 2005, Walter Dnes wrote:


On Sat, Sep 17, 2005 at 12:06:57AM -0700, [EMAIL PROTECTED] wrote


Thanks for the idea. As I've said, I've been using this computer pretty
solidly with no indication, but that's not to say it can't happen.

Your suggestion made me look at the BIOS boot stage and I notice that my
hard drive is not reported during the BIOS boot. I have no problems
running fdisk or mounting, but when booting the BIOS does not report it.
What could cause this? Perhaps as you suggest?


 Can you check the jumpers on the drive?  In the old days, there were
just master and slave.  Now there's a 3rd option cable select,
which may be abbreviated as CS.  It works automagically with Windows
but it does *NOT* work with linux.  If the jumper is set CS, set it to
master and try booting from it again.

--
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] new gentoo installed but can't boot: Disk Boot Failure, Insert System Disk And Press Enter

2005-09-19 Thread michael

Thanks John. None of your suggestions turned up the problem directly,
but they did get me thinking and I tried the same disk on different
connectors and at different settings. I found that I can boot from the
primary slave device and the secondary master device. I didn't try the
secondary slave device. The only one that reliable fails is the primary
master device.

I did try resetting my BIOS settings to the default.

Weird, huh?

Some day I'll come back and try to figure out why this is the case.
Meanwhile, though, I just reconfigured my grub settings and moved on.

Thanks everyone for your suggestions.

Michael


On Sat, 17 Sep 2005, John Myers wrote:


On Saturday 17 September 2005 21:47, Walter Dnes wrote:

  Can you check the jumpers on the drive?  In the old days, there were
just master and slave.  Now there's a 3rd option cable select,
which may be abbreviated as CS.  It works automagically with Windows
but it does *NOT* work with linux.  If the jumper is set CS, set it to
master and try booting from it again.

Good thinking, except that it's failing in the BIOS. Linux has nothing to do
with it.

I would suggest checking the jumpers (if it's a PATA disk), unplugging and
replugging the signal cable (at both ends), and unplugging and replugging the
power cable.

If you have access to one, try with a different signal cable, and try with a
different lead from your PSU

Also might check for bad a bad CMOS battery, and check the BIOS settings,
ensuring all your controller hasn't accidentally been turned off.

You might also try wiggling the block of connectors on the drive. I happen to
have a funky SATA Seagate Barracuda 7200.7 which stops my system booting if
the connector block is jostled the wrong way.


--
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge sync question

2005-09-19 Thread Paweł Madej

Hello,

i'm going to setup server machine on Gentoo Linux and my question is if 
it is possible to mask portage categories which i won't to update such 
as whole X apps games desktop utils and so on ... which I'll never 
install and use on this server.


This will make faster syncing and rebuilding portage cache.

Thanks in advance for any answer.

Paul
--
gentoo-user@gentoo.org mailing list



[gentoo-user] weird behaviour of x11-terms/aterm

2005-09-19 Thread Paweł Madej

When i start aterm i got below error on my console:

$ aterm
aterm has encountered a problem interacting with X Windows :
 Request: 2,Error: 3(BadWindow (invalid Window parameter))
 in resource: 0x0

Other weird behaviour is that Midnight Commander on aterm won't respect 
F1 - F4 keys and it returns such signs not do what i want him.


for example i want to view the file so i do F3 and i got this:

[EMAIL PROTECTED] ~ $ 13~

F1 gives
11~

F2:
12~

F4
14~

I've checked other terms and Xterm and Eterm work ok and i dont have 
such a problems on them.


Thanks in advance for any suggestions what could cause that.

Paul
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo 2005.1 and FTDI USB/serial adapter: device not created

2005-09-19 Thread Neil Bothwick
On Sun, 18 Sep 2005 20:23:30 -0700 (PDT), [EMAIL PROTECTED] wrote:

 To answer my own question, I just had to make the device using mknod.
 Now my FTDI device works!

Which device are you using? I may need one of these and it would be nice
to be able to buy one I know works.


-- 
Neil Bothwick

The facts, although interesting, are usually irrelevant.


pgpJXSBei7I0Y.pgp
Description: PGP signature


[gentoo-user] dev-lang/python vulnerability

2005-09-19 Thread Paweł Madej

I've done glsa-check -t new and i got that my python is vulnerable

i got in world only dev-lang/python-2.4.1-r1 but it says that vulnerable 
is 2.3.5-r2 so i've searched for any vulnerable version on my system 
and i've found python-2.3.5


My question is: Could I unmerge 2.3.5 version which is not in my world 
tree and use only 2.4.1 or is it some dependency which have to be on 
system and i should only update that port to unvulnerable version?


Thanks in advance for answers

Paul

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sync question

2005-09-19 Thread Oscar
I'm not sure about the games, but avoiding installing X is quite simple!
This is what I use on my gentoo server:
USE=-gpm ipv6 imap gd gd-external jpeg png -svga -X -gnome -kde -qt -gtk -gtk2 
xml xml2 apache2 tiff mysql offensive -samba

I think there is a way to choose what categories you want to sync in gentoo (or 
was that freebsd?)...

Good luck!

Oscar

 Hello,
 
 i'm going to setup server machine on Gentoo Linux and my question is if 
 it is possible to mask portage categories which i won't to update such 
 as whole X apps games desktop utils and so on ... which I'll never 
 install and use on this server.
 
 This will make faster syncing and rebuilding portage cache.
 
 Thanks in advance for any answer.
 
 Paul
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sync question

2005-09-19 Thread Paweł Madej

Oscar wrote:


I'm not sure about the games, but avoiding installing X is quite simple!
This is what I use on my gentoo server:
USE=-gpm ipv6 imap gd gd-external jpeg png -svga -X -gnome -kde -qt -gtk -gtk2 xml 
xml2 apache2 tiff mysql offensive -samba

I think there is a way to choose what categories you want to sync in gentoo (or 
was that freebsd?)...

Good luck!

Oscar
 

USE -xxx flags prevents only before compiling such deps but i look for 
solution like in FreeBSD as you said where you choose which ports 
categories you want to resync.


Greets

Paul
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dev-lang/python vulnerability

2005-09-19 Thread Jason Stubbs
On Monday 19 September 2005 18:35, Paweł Madej wrote:
 I've done glsa-check -t new and i got that my python is vulnerable

 i got in world only dev-lang/python-2.4.1-r1 but it says that vulnerable
 is 2.3.5-r2 so i've searched for any vulnerable version on my system
 and i've found python-2.3.5

 My question is: Could I unmerge 2.3.5 version which is not in my world
 tree and use only 2.4.1 or is it some dependency which have to be on
 system and i should only update that port to unvulnerable version?

If you've run python-updater, it should be safe to unmerge python-2.3.x.

-- 
Jason Stubbs


pgpa36Z4aVCrM.pgp
Description: PGP signature


Re: [gentoo-user] emerge sync question

2005-09-19 Thread Mike Williams
On Monday 19 September 2005 09:54, Paweł Madej wrote:
 i'm going to setup server machine on Gentoo Linux and my question is if
 it is possible to mask portage categories which i won't to update such
 as whole X apps games desktop utils and so on ... which I'll never
 install and use on this server.

 This will make faster syncing and rebuilding portage cache.

 Thanks in advance for any answer.

gimli ~ # grep RSYNC_EXCLUDE /etc/make.conf
# RSYNC_EXCLUDEFROM is a file that portage will pass to rsync when it updates
#RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sync question

2005-09-19 Thread Konst
On Mon, Sep 19, 2005 at 10:54:54AM +0200, Paweł Madej wrote:
 Hello,
 
 i'm going to setup server machine on Gentoo Linux and my question is if it is 
 possible to mask portage categories which i 
 won't to update such as whole X apps games desktop utils and so on ... which 
 I'll never install and use on this server.
 
 This will make faster syncing and rebuilding portage cache.
 
 Thanks in advance for any answer.
 
 Paul
 -- 
 gentoo-user@gentoo.org mailing list
 

http://gentoo-wiki.com/TIP_Exclude_categories_from_emerge_sync
-- 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Stewart Taylor

Hi all

Just about got Gentoo up and running as 
I want it. Taken a while with all the 
tweaking and re-tweaking but I've not 
had as much fun with a computer for 
years. I've got a couple of problems 
which, so far, have got me pulling my 
hair out as nothing I try fixes them. 
I've got a Microsoft Intellimouse (ps2) 
which seems to be detected correctly but 
the wheel will not work under KDE. Under 
KDE Control center  peripherals mouse 
I get the option to adjust the scroll 
rate, but this has no effect. The wheel 
seems to be working as a left button, if 
I click the wheel over an icon or file 
that item is selected. I've tried all 
the fixes I've found on the web (not 
many, most seem to relate to cordless 
mice) without success. I'll post the 
other problem as a separate posting.


TIA

Stewart
--
gentoo-user@gentoo.org mailing list



[gentoo-user] VMware 5.0 stopped working after last emerge

2005-09-19 Thread Jules Colding
Hi,

I am now getting:

Unable to change virtual machine power state: Failed to connect to peer
process.

when I try to boot any guest OS. I have added myself to the vmware
group, executed the vmware-config.pl script and even logged out and in
again.

Any ideas?

Thanks,
  jules


VMware version:
vmware-workstation-5.0.0.13124-r2 


VMware entries in /dev:
omc-2 dev # ll | grep vm
crw-rw  1 root vmware   10, 165 Sep 19 12:34 vmmon
crw---  1 root root119,   0 Jul 22 01:56 vmnet0
crw---  1 root root119,   1 Jul 22 01:56 vmnet1
crw---  1 root root119,   2 Jul 22 01:56 vmnet2
crw---  1 root root119,   3 Jul 22 01:56 vmnet3
crw---  1 root root119,   4 Jul 22 01:56 vmnet4
crw---  1 root root119,   5 Jul 22 01:56 vmnet5
crw---  1 root root119,   6 Jul 22 01:56 vmnet6
crw---  1 root root119,   7 Jul 22 01:56 vmnet7
crw---  1 root root119,   8 Jul 22 01:56 vmnet8
crw---  1 root root119,   9 Jul 22 01:56 vmnet9


emerge --info:
omc-2 ~ # emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12-gentoo-r10 x86_64)
=
System uname: 2.6.12-gentoo-r10 x86_64 AMD Opteron(tm) Processor 252
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2
sys-apps/sandbox:1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=amd64
AUTOCLEAN=yes
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=k8 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config 
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/texmf/xdvi/ /var/qmail/control
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d
CXXFLAGS=-march=k8 -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks sandbox sfperms strict
GENTOO_MIRRORS=http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://pandemonium.tiscali.de/pub/gentoo/ 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ 
http://gentoo.prz.rzeszow.pl http://ftp.du.se/pub/os/gentoo 
ftp://mirror.pudas.net/gentoo;
PKGDIR=/usr/portage/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=amd64 X aac aalib alsa avi berkdb bitmap-fonts browserplugin bzip2 cdr 
crypt cups curl dvd dvdr dvdread eds emacs emboss encode esd fam fbcon 
foomaticdb fortran gdbm gif gnome gstreamer gtk gtk2 hal iconv imlib ipv6 java 
jpeg ldap libwww lzw lzw-tiff mad motif mozilla mp3 mpeg ncurses nls nptl 
nptlonly nsplugin nvidia ogg opengl oss pam pdflib perl png python quicktime 
readline sdl slang spell ssl symlink tcltk tcpd tetex theora tiff 
truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml2 xmms xpm xv 
xvid zlib userland_GNU kernel_linux elibc_glibc
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, 
PORTDIR_OVERLAY




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Font sizes very small in KDE

2005-09-19 Thread Stewart Taylor

Hi All

I've got a problem with the display 
under KDE. I've just installed Gentoo 
for the first time. Under KDE the font 
sizes are very small compared with what 
they should be. Compared with the same 
hardware under Suse 8.0 all text 
displays a little over half the size. 
this affects KDE apps and non KDE apps 
the same. Firefox text on menus and the 
like is so small that it is unusable. On 
one of my own programs the 14 point text 
displays as if it were 8-9 point. I have 
a Matrox Millennium G400 graphics card. 
I've tried all the settings i can find 
and have tried different kernel modules 
settings without success. The info I 
found on the web left me confused as it 
seems that this card may have different 
names in the UK and US. I'm in the UK.


TIA

Stewart
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Peter Eis
Stewart Taylor wrote:

 I've got a Microsoft Intellimouse (ps2) which seems to be detected
 correctly but the wheel will not work under KDE. Under KDE Control
 center  peripherals mouse I get the option to adjust the scroll
 rate, but this has no effect. The wheel seems to be working as a left
 button, if I click the wheel over an icon or file that item is
 selected. I've tried all the fixes I've found on the web (not many,
 most seem to relate to cordless mice) without success.

Check your /etc/X11/xorg.conf
For a wheel mouse you need the following options in section InputDevice:
OptionProtocol IMPS/2
Option  ZAxisMapping 4 5

Peter
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VMware 5.0 stopped working after last emerge

2005-09-19 Thread Jules Colding
On Mon, 2005-09-19 at 12:53 +0200, Jules Colding wrote:
 Hi,
 
 I am now getting:
 
 Unable to change virtual machine power state: Failed to connect to peer
 process.

I found the fix here:

http://software.groupbrowser.com/nextthread51611.html

It seems that /opt/vmware/lib/bin/vmware-vmx must be setuid root and
someone filed this in bugzilla (#106291) already.

-- 
  jules




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Scott Brady
On Mon, 19 Sep 2005 08:46 pm, Stewart Taylor wrote:

 I've got a Microsoft Intellimouse (ps2)
 which seems to be detected correctly but
 the wheel will not work under KDE. 

When you edit the /etc/X11/xorg.conf you should have the something
similar to the following under the Input Device Section.

Section InputDevice 
 Identifier Mouse1 
 Driver mouse 
 Option Protocol PS/2 
 Option Device /dev/input/mice 
 Option Corepointer 
 Option  Emulate3Buttons  true 
 Option ZAxisMapping 6 7 
EndSection 

Hope this helps

Regards,

ScottyB
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Holly Bostick
Stewart Taylor schreef:
 Hi all
 
 Just about got Gentoo up and running as I want it. Taken a while with
  all the tweaking and re-tweaking but I've not had as much fun with a
  computer for years. I've got a couple of problems which, so far,
 have got me pulling my hair out as nothing I try fixes them. I've got
 a Microsoft Intellimouse (ps2) which seems to be detected correctly
 but the wheel will not work under KDE. Under KDE Control center  
 peripherals mouse I get the option to adjust the scroll rate, but
 this has no effect. The wheel seems to be working as a left button,
 if I click the wheel over an icon or file that item is selected. I've
 tried all the fixes I've found on the web (not many, most seem to
 relate to cordless mice) without success. I'll post the other problem
 as a separate posting.

I suspect your problem is twofold:

1) you may or may not have your mouse set up properly for multiple buttons;

2) you may have the wrong buttons defined as the scroll wheel.

Let me explain: I have a Typhoon Optical Wireless mouse which has 7
buttons (left, right, wheel up, wheel down, wheel press-as-a-button, and
two thumb-operated buttons on the left side). When I got it, I just used
the 'traditonal' wheelmouse settings in /etc/X11/xorg.conf:

Identifier  Mouse1
Driver mouse
Option Protocol   Auto
Option Buttons7
Option ZAxisMapping   4 5
Option Device /dev/input/mice

But this did not work properly-- what happened was that the wheel didn't
work, and the side buttons were being used as the wheel (which also
didn't work, because they aren't a wheel).

This was because the mouse itself lists the side buttons as 4 and 5, and
the wheel as buttons 6 and 7.

So I had to tell X this:

Identifier  Mouse1
Driver mouse
Option Protocol   Auto
Option Buttons7
Option ZAxisMapping   6 7
Option Device /dev/input/mice

And it works fine (previously used imwheel, but that's no longer
necessary, at least in my case).

You can run xev in a term and activate your various buttons to see which
one is which. That should help you set up the Mouse section of your X
config file correctly.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] alias

2005-09-19 Thread Matthias Langer

Recently i was woundering where gentoo stores the aliases i get by:

$ alias
alias d='ls --color'
alias ll='ls --color -l'
alias ls='ls --color=auto'
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'

The reason i want to know this is mainly because i want to add my own 
ones to this list without fooling around with /etc/conf.d/local.start.

Matthias Langer

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Font sizes very small in KDE

2005-09-19 Thread Holly Bostick
Stewart Taylor schreef:
 Hi All
 
 I've got a problem with the display under KDE. I've just installed 
 Gentoo for the first time. Under KDE the font sizes are very small 
 compared with what they should be. Compared with the same hardware 
 under Suse 8.0 all text displays a little over half the size. this 
 affects KDE apps and non KDE apps the same. Firefox text on menus and
  the like is so small that it is unusable. On one of my own programs
  the 14 point text displays as if it were 8-9 point. I have a Matrox
  Millennium G400 graphics card. I've tried all the settings i can
 find and have tried different kernel modules settings without
 success. The info I found on the web left me confused as it seems
 that this card may have different names in the UK and US. I'm in the
 UK.
 
 TIA
 
 Stewart

I find this situation a constant annoyance as well. You have,
unfortunately, several issues involved, none of which is completely
resolveable until everybody is on board with the freedesktop.org
standard, but you can get everything to a reasonably stable state that
you can deal with.

The problem (and I must regretfully point out that most of the problem
seems to be KDE, but we'll get to that):

You run KDE. Fine; KDE controls its fonts, you set your fonts to
whatever you like and they look OK (all right, yours don't, quite, but
you can obviously hack them into shape by running them at some
ridiculously high point size. I've also noticed that KDE seems to make
fonts look smaller than I would imagine they should, and I don't know
why, so I just hack them into useability). Then you open Firefox. Which is a
GTK program and whose font size (for menus and the like, not page
display which is controlled by the program) is controlled by the GNOME
control panel (or gtk2rc, but in any case GNOME/GTK, and not KDE).  So
GTK apps are now running essentially unconfigured fonts and font sizes,
so they look like sh*t. Plus KDE is (naturally) trying to control this
window (because it's a window on the KDE desktop), and is unable to
really do so, so that just makes things a bit worse (more on this later
as well). Furthermore you also have X trying to control the font size
for one or more reasons (maybe you have a font server running, maybe
you're running 'uncontrolled' programs which start with an 'X' rather
than a 'K' or a 'G', and of course X is ultimately responsible for
displaying all display elements anyway).

So the situation is that basically too many cooks spoil the soup. At
least, that's the *first* problem, which we'd have to clear away before
we could be sure that your video card is doing what it should (which I
think it probably is; I have a G400 Max which I used till about a year
or so ago under Linux, and it was really the most trouble-free card I've
used).

Here's what you want to do:

1. emerge x11-themes/gtk-engines-qt. This little GTK engine will add a
couple of entries to the KDE control center which will allow KDE to
control not only the color of GTK apps (which kcontrol already does
before the installation of this engine, check the Appearance and
Themes= Colors section for the checkbox), but the theme and the fonts
as well, so they can be conformed. Be aware, the themes will only be
conformed for GTK2 applications, and only those which do not theme
themselves (as Firefox does, for example). So any GTK1 apps you might
run will not look so much better (except that the colors will be right),
unless you do what I do, which is run a theme which is designed for all
three engines, GTK1, GTK2 and QT. A few can be found on KDE-look.org.

1a. emerge =x11-themes/gtk-theme-switch-1.0.1-r2 (specifically the 1.0
version which controls GTK1 themes, rather than the 2.0 version, which
controls GTK2 themes, which you don't need, as you're already doing this
with Kcontrol). If you use any GTK1 apps (sylpheed, gnotepad +,
multi-gnome-terminal, etc), this program can be useful for setting their
theme and fonts.

2. Try to stick to programs for one desktop environment wherever
possible. Yes, this sucks, but until KDE and GNOME (GTK) are a lot more
interoperable in this respect than they are now, the easiest way to
avoid them conflicting is to not bring them into conflict by using
programs from multiple DEs if it can be avoided. This is, btw, why I
complain that KDE is the problem; I don't run GNOME or KDE, but Openbox
and FVWM. I run mostly GNOME (GTK) apps, but there are a couple of KDE
apps I like that I use (k3b, krusader). It's hard not to notice that
when I open one of the KDE programs on my desktop which is already
running a bunch of GTK apps, *the font size changes for everything*.
Just a little, but I can see it. This may have been my mistake though--
I had set kcontrol to 'use my KDE fonts for GTK apps' (using
gtk-engines-qt). It's quite possible that, since kcontrol is not running
until I open Krusader or K3b, and because my KDE font size setting is
not quite the same as my GNOME font size setting (because I just 

Re: [gentoo-user] alias

2005-09-19 Thread Holly Bostick
Matthias Langer schreef:
 Recently i was woundering where gentoo stores the aliases i get by:
 
 $ alias
 alias d='ls --color'
 alias ll='ls --color -l'
 alias ls='ls --color=auto'
 alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
 
 The reason i want to know this is mainly because i want to add my own
 ones to this list without fooling around with /etc/conf.d/local.start.
 Matthias Langer
 

~/.bashrc

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alias

2005-09-19 Thread brettholcomb
You can put them in your ~/.bash_rc or _profile - I can't remember of the top 
of my head.  For host wide ones I created a /etc/bash.rc where I put stuff I 
want everybody to get - or at least start with as they can override it. I then 
source this in the ~/.bash?? and to make sure new users get it I modify what's 
in /etc/skel.  I used /etc/bash.rc because it was on a distro I was familiar 
with at the time.
 
 From: Matthias Langer [EMAIL PROTECTED]
 Date: 2005/09/19 Mon AM 08:24:45 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] alias
 
 Recently i was woundering where gentoo stores the aliases i get by:
 
 $ alias
 alias d='ls --color'
 alias ll='ls --color -l'
 alias ls='ls --color=auto'
 alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
 
 The reason i want to know this is mainly because i want to add my own 
 ones to this list without fooling around with /etc/conf.d/local.start.
 Matthias Langer
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] applets on gnome-2.12.0

2005-09-19 Thread Bruno Lustosa
On 9/19/05, Nagatoro [EMAIL PROTECTED] wrote:
Don't remember the bug number but the solution is in bugzilla (searchfor gnome 2.12 applet). If I recall correctly you need to reemerge acertain package. (btw Gnome 2.12 looks good! :) )

I did file a bug, and was marked as a duplicate of this one:

http://bugs.gentoo.org/show_bug.cgi?id=104820

Quoting the bug:
 --- Additional Comment
	#3 From 

		Simon Stelling
		2005-09-05 09:47 PDT
[reply]

  
  --- 




 looks like upgrading gtk+ to 2.8.3-r1 solved this issue too...

I'll upgrade gtk+ when I am at home, and will return in case it still doesn't work.
I don't know why, but I never make to find a bug on bugzilla based on
some keywords. For example, if I search now for 'gnome applet', this
bug doesn't appear in search results. However, numerous unrelated bugs
happen to be in the results. Very strange.
And yes, gnome-2.12 does look good!
-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|


Re: [gentoo-user] Font sizes very small in KDE

2005-09-19 Thread David Helstroom

Holly Bostick wrote:


Stewart Taylor schreef:
 


Hi All

I've got a problem with the display under KDE. I've just installed 
Gentoo for the first time. Under KDE the font sizes are very small 
compared with what they should be. Compared with the same hardware 
under Suse 8.0 all text displays a little over half the size. this 
affects KDE apps and non KDE apps the same. Firefox text on menus and

the like is so small that it is unusable. On one of my own programs
the 14 point text displays as if it were 8-9 point. I have a Matrox
Millennium G400 graphics card. I've tried all the settings i can
find and have tried different kernel modules settings without
success. The info I found on the web left me confused as it seems
that this card may have different names in the UK and US. I'm in the
UK.

TIA

Stewart
   



So the situation is that basically too many cooks spoil the soup. At
least, that's the *first* problem, which we'd have to clear away before
we could be sure that your video card is doing what it should (which I
think it probably is; I have a G400 Max which I used till about a year
or so ago under Linux, and it was really the most trouble-free card I've
used).

Hope this helps.
Holly
 



Hi Stewart,

If you are running KDE and Gnome together, I sometimes run into the same 
troubles as you. Generally, as Holly says, the problem is with Gnome/KDE 
not playing well together (assuming you have them both installed). 
However, the way I get around it is to:


a) start up gnome-font-properties and choose the fonts which look best.
b) edit your ~/.xprofile to contain:

#!/bin/sh
/usr/libexec/gnome-settings-daemon 

c) make sure the ~/.xprofile script is executable
 chmod u+x ~/.xprofile

d) now log back into X, fire up kcontrol and adjust the KDE fonts in 
Appearance  Themes-Fonts


Hopefully this will be of some help. It seems to work for me, so good luck!


   Dave.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] alias [RESOLVED]

2005-09-19 Thread Matthias Langer

[EMAIL PROTECTED] wrote:


You can put them in your ~/.bash_rc or _profile - I can't remember of the top 
of my head.  For host wide ones I created a /etc/bash.rc where I put stuff I 
want everybody to get - or at least start with as they can override it. I then 
source this in the ~/.bash?? and to make sure new users get it I modify what's 
in /etc/skel.  I used /etc/bash.rc because it was on a distro I was familiar 
with at the time.
 


From: Matthias Langer [EMAIL PROTECTED]
Date: 2005/09/19 Mon AM 08:24:45 EDT
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] alias

Recently i was woundering where gentoo stores the aliases i get by:

$ alias
alias d='ls --color'
alias ll='ls --color -l'
alias ls='ls --color=auto'
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'

The reason i want to know this is mainly because i want to add my own 
ones to this list without fooling around with /etc/conf.d/local.start.

Matthias Langer

--
gentoo-user@gentoo.org mailing list


   

Thank you all for your tipps - in fact the file ~/.bashrc was the first 
one i was looking for; however, i must have been blind because it 
appeard to me that there is no such file 

Matthias Langer

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Eclass 'portability' does not exist for 'gnome-base/gconf-2.10.1-r1'

2005-09-19 Thread Holly Bostick
Eric S. Johansson schreef:
 trying to upgrade the system and I'm getting this error.
 Eclass 'portability' does not exist for 'gnome-base/gconf-2.10.1-r1'
 
 suggestions for how to fix would be most welcome
 
 thanks in advance
 
 --- eric

I just had that error with howl; a sync fixed it.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Replacing main harddisk

2005-09-19 Thread Paul

Well I have carried out the procedure outlined in your message, but I have had 
some problems.
When booting the new disc it always failed with a reiserfs problem (I once 
rebuilt the tree), after 3 attempts I still had errors so I formated the 
partition with ext2, copied all the files and rebooted.  IT WORKED.

The only error I have detected is during boot I get a warning unable to open 
an initial console, the screen freezes until x is started.
This doesn't seem to be a big problem but I would like to fix it -- any 
ideas

thanks for all who helped
Paul

On Friday 16 Sep 2005 16:33, Michael Kintzios wrote:
  -Original Message-
  From: Paul [mailto:[EMAIL PROTECTED]
  Sent: 16 September 2005 15:23
  To: gentoo-user@lists.gentoo.org
  Subject: [gentoo-user] Replacing main harddisk
 
 
  Hi all,
 
  My main harddisk is starting to go, making awful noise and
  causing the
  computer to freeze.
  I have another spare disk and I wondered if somebody would
  list out the
  procedure I need to follow to create and format the
  partitions and to copy
  all of the faulty disk contents. Then how to boot from the new disk.
  The new disk will need the following partitions:-
  /boot   ext2
  /swap
  /   reiserfs

 1. Using the dd command or a cloning software derivative:
 If the new disk is *exactly* the same size like the old one, then using
 the dd command you can basically clone your failing disk, including MBR
 and all partitions, including swap!, bit by bit:
 =
 dd if=/dev/hda  of=/dev/hdb
 =

 On the other hand, if the new drive is larger then you will need to
 partition it, exactly like the old one.  On the new drive, create the
 same entries you find with fdisk for your old drive:  # fdisk -l
 /dev/hda

 Also, don't forget to clone the MBR:
 =
 dd if=/dev/hda of=/dev/hdb  bs=446 count=1
 =
 If you also want to clone the partition table (as opposed to writing one
 afresh with fdisk) then increase the bs=446 to 512.

 2. Using tar
 If at the same time you want to alter the partition sizes on the new
 drive then you can use the tar command, for each partition except for
 swap.  Besides creating partitions of a preferred size on the new drive,
 you will also need to mkfs for each partition.  Still have to use dd to
 clone the MBR.
 =
 # mkdir -p /mnt/new_boot
 # mount /dev/hdb1 /mnt/new_boot
 # cd /boot
 # tar lcpf - .|(cd /mnt/new_boot; tar xpvf -)
 =
 Repeat for / and also use tar -d (check $ man tar) to verify that the
 directories were copied over without any mishaps.  Personally I prefer
 tar because it is faster, it defragments the drive's contents and can
 verify that the new directory was not corrupted in the tarring/untarring
 process.

 3. There's a number of backup apps out there which can do more or less
 the same using a different front end; e.g. partimage.

 Good luck.
 --
 Regards,
 Mick

-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Analog acquisition

2005-09-19 Thread Tamas Sarga

On Sat, 10 Sep 2005, Luigi Pinna wrote:


 Hello!
 I have a lot of problems with my TV card
 I can see TV (but only with tvtime and not with xawtv or kdetv), but I
 can't use teletext (for example with alevt) or to select a external
 source like S-Video.
 How can I find the problem? Without xawtv I don't know other system
 from S-Video to record... (cinelerra find nothing and kino works only
 with digital cameras)
 I can't configure mplayer to use s-video because it doesn't see a
 tuner...
 Any suggestion?
 Thanks a lot,
 Luigi

Hi,

I realized it too, but in the past I was able to record with xawtv. I
haven't done it for a time, yesterday I tried to record, but I didn't
see anything in xawtv. I emerged kdetv, it found the channels with the
wizard, but didn't show anything after. Tvtime works well.
I tought it is my fault at some point, but if you has this problem also,
then maybe it isn't. How could we discover it? I searched forums, but
can't find anything related.

Cheers,
Tamas Sarga Sárga Tamás
--
Make the world confused!Zavard össze a világot!
Smile on monday morning!Mosolyogj hétfő reggel!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Eclass 'portability' does not exist for 'gnome-base/gconf-2.10.1-r1'

2005-09-19 Thread Eric S. Johansson

Holly Bostick wrote:


Eric S. Johansson schreef:
 


trying to upgrade the system and I'm getting this error.
Eclass 'portability' does not exist for 'gnome-base/gconf-2.10.1-r1'

suggestions for how to fix would be most welcome

thanks in advance

--- eric
   



I just had that error with howl; a sync fixed it.
 



weird.  I sync at 2-3 am every night to refresh my cache.  I'm trying 
the sync now and will let you know what happens


--- eric
--
gentoo-user@gentoo.org mailing list



[gentoo-user] how to backup kmail saved mails

2005-09-19 Thread Gentoo Shadow
hi!



friends, 



i want to get backup of my KMail saved mails. so pls help me to do this.

-- ...The future lies ahead. ___ Have you mooed today?  ---\^__^ \ (oo) \___
(__)
\
)\/\||--w|||
||Gentoo Linux 2.6.12-gentoo-r4-AIT-v3.3#


Re: [gentoo-user] Eclass 'portability' does not exist for 'gnome-base/gconf-2.10.1-r1'

2005-09-19 Thread Holly Bostick
Eric S. Johansson schreef:
 Holly Bostick wrote:
 
 Eric S. Johansson schreef:
 
 
 trying to upgrade the system and I'm getting this error. Eclass
 'portability' does not exist for 'gnome-base/gconf-2.10.1-r1'
 
 suggestions for how to fix would be most welcome
 
 
 I just had that error with howl; a sync fixed it.
 
 
 
 weird.  I sync at 2-3 am every night to refresh my cache.  I'm trying
  the sync now and will let you know what happens
 
Well, this was a weird situation for me as well; I had just started an
emerge -uaDtv world at around 2am, despite the fact that I have the
cronjob updating Portage at 3am.

When I got up, the emerge had stopped at package 4 of 10 (howl), with
the error you note. Fortunately, the reason I had started the emerge so
late--
the upgrade to xorg-- had at least completed. And since the emerge had
stopped, the cron job had run. I then ran emerge --resume (in the hopes
that the sync had fixed the error), and sure enough, howl emerged
without problems (as did the rest of the sync, except mc, which seems to
dislike the samba use flag all of a sudden. But that's a different
issue, and documented on b.g.o, so easily solved).

So I could only think that the sync fixed it-- maybe your mirrors take a
little longer to update than mine did.

Holly
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Replacing main harddisk

2005-09-19 Thread Michael Kintzios


 -Original Message-
 From: Paul [mailto:[EMAIL PROTECTED] 
 Sent: 19 September 2005 14:39
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Replacing main harddisk

 
 Well I have carried out the procedure outlined in your 
 message, but I have had 
 some problems.
 When booting the new disc it always failed with a reiserfs 
 problem (I once 
 rebuilt the tree), after 3 attempts I still had errors so I 
 formated the 
 partition with ext2, copied all the files and rebooted.  IT WORKED.

Which of the different procedures did you try.  Did you run
fsck.reiserfs from a LiveCD or your old disk to see if some corruption
occurred during the data transfer?  (I guess it's too late now).
 
 The only error I have detected is during boot I get a warning 
 unable to open 
 an initial console, the screen freezes until x is started.
 This doesn't seem to be a big problem but I would like to fix 
 it -- any 
 ideas

Not entirely sure - others may want to advise better - but are you
running devfs?  It seems that this is an error thrown up when devices
are not recognised.  This would make some sense, after all this is a new
device.  With udev all you should do is restart udev and the new device
parameters would be recognised.  That should happen during a reboot
unless you have configured your machine to cache the device db?  Can you
find your /dev/console and does it have the same sylinks and access
rights as your old disk installation?  I'm not at my Linux machine now
so I can't check myself.

Finally, reset your BIOS before a reboot if you have
disconnected/reconnected drives, to recognise the new devices and their
boot order.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to backup kmail saved mails

2005-09-19 Thread Volker Armin Hemmann
On Monday 19 September 2005 16:02, Gentoo Shadow wrote:
 hi!

 friends,

 i want to get backup of my KMail saved mails. so pls help me to do this.

tar up the Mail folder in your /home directorie and burn it onto a cd or tar 
it onto a tape.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to backup kmail saved mails

2005-09-19 Thread Gentoo Shadow
i have done this... but during restoration all other desktop files
are i getting restored except the mails on KMail. pls advice to
restore them correctly...

Thank You with AdvanceOn 9/19/05, Volker Armin Hemmann [EMAIL PROTECTED]
 wrote:On Monday 19 September 2005 16:02, Gentoo Shadow wrote: hi!
 friends, i want to get backup of my KMail saved mails. so pls help me to do this.tar up the Mail folder in your /home directorie and burn it onto a cd or tarit onto a tape.--
gentoo-user@gentoo.org mailing list-- ...The future lies ahead. ___ Have you mooed today? 
 ---\^__^ \ (oo) \___
(__)
\
)\/\||--w|||
||Gentoo Linux 2.6.12-gentoo-r4-AIT-v3.3#


Re: [gentoo-user] Replacing main harddisk

2005-09-19 Thread Paul
Thanks for the response, I do have an entry /dev/console, user root, group 
tty.  It has no symlinks.  I would have to reconnect the suspect disk to 
check if it is the same.

Thanks
Paul

On Monday 19 Sep 2005 15:23, Michael Kintzios wrote:
  -Original Message-
  From: Paul [mailto:[EMAIL PROTECTED]
  Sent: 19 September 2005 14:39
  To: gentoo-user@lists.gentoo.org
  Subject: Re: [gentoo-user] Replacing main harddisk
 
 
  Well I have carried out the procedure outlined in your
  message, but I have had
  some problems.
  When booting the new disc it always failed with a reiserfs
  problem (I once
  rebuilt the tree), after 3 attempts I still had errors so I
  formated the
  partition with ext2, copied all the files and rebooted.  IT WORKED.

 Which of the different procedures did you try.  Did you run
 fsck.reiserfs from a LiveCD or your old disk to see if some corruption
 occurred during the data transfer?  (I guess it's too late now).

  The only error I have detected is during boot I get a warning
  unable to open
  an initial console, the screen freezes until x is started.
  This doesn't seem to be a big problem but I would like to fix
  it -- any
  ideas

 Not entirely sure - others may want to advise better - but are you
 running devfs?  It seems that this is an error thrown up when devices
 are not recognised.  This would make some sense, after all this is a new
 device.  With udev all you should do is restart udev and the new device
 parameters would be recognised.  That should happen during a reboot
 unless you have configured your machine to cache the device db?  Can you
 find your /dev/console and does it have the same sylinks and access
 rights as your old disk installation?  I'm not at my Linux machine now
 so I can't check myself.

 Finally, reset your BIOS before a reboot if you have
 disconnected/reconnected drives, to recognise the new devices and their
 boot order.
 --
 Regards,
 Mick

-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdrdao woes

2005-09-19 Thread A. R.
Hello,

I am not sure if you have already tried the following:

replace 
 --device ATA:1,0,0 
with:
 --device /dev/your cd device node

For some reason that I do not understand, when I try --device ATA: etc.
cdrdao does not work for me, but when I use --device /dev/hdc it does
work. 
Maybe it will work for you too...

Good luck,

- AROn 9/11/05, David Busby [EMAIL PROTECTED] wrote:
Dave Nebinger wrote: My kernel was booted with this setting: hdc=ide-scsi, I read to do set Sure, remove the hdc=ide-scsi option, reboot, then use the device path directly for IDE burning.
 In your case it's probably something like:dev=/dev/hdc I do all of my burning using IDE directly, even though Schily's tools whine about it.Ok, so I removed that foolishness from my kernel bootline and rebooted.
When I run cdrdao with scanbus I get this:carbon ~ # cdrdao scanbusCdrdao version 1.2.0 - (C) Andreas Mueller [EMAIL PROTECTED] SCSI interface library - (C) Joerg Schilling
 Paranoia DAE library - (C) MontyCheck http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.Using libscg version 'schily-0.8
'ATA:1,0,0MATSHITA, DVD-RAM SW-9585 , B100But this:carbon ~ # cdrdao write --device ATA:1,0,0 --reload --force cp_csp.cdtocCdrdao version 1.2.0 - (C) Andreas Mueller 
[EMAIL PROTECTED] SCSI interface library - (C) Joerg Schilling Paranoia DAE library - (C) MontyCheck http://cdrdao.sourceforge.net/drives.html#dt
 for current driver tables.Still simply exits with a status of 1, what is going on?I've looked in the logs and don't see anything and I'm stillstuck :(/djb--
gentoo-user@gentoo.org mailing list-- The absence of war does not mean peace.


Re: [gentoo-user] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name

2005-09-19 Thread Christoph Gysin

Joseph wrote:

The (CN) of the certificate match out company name it doesn't match
localhost


I assume your apache is configured with hostname localhost.

What does your apache.conf look like? (snipped to the relevant parts, of course)

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Replacing main harddisk

2005-09-19 Thread S. ancelot

Hi,
Download linux sysrescue live cd on the web
and use dd_rescue
bye


Allan Spagnol Comar wrote:


You can make a precise copy of your disk with dd command
using dd if=/dev/hdaX of=backupfile.iso

and then on the disk you want to write the data with
dd if=backupfile.iso of=/dev/hdXX;

if bouth disk are in the same machine you can copy it directtly using

dd if=/dev/originpartition of=/dev/destinationpartition

holpe that helps, Allan

On 9/16/05, Paul [EMAIL PROTECTED] wrote:
 


Hi all,

My main harddisk is starting to go, making awful noise and causing the
computer to freeze.
I have another spare disk and I wondered if somebody would list out the
procedure I need to follow to create and format the partitions and to copy
all of the faulty disk contents. Then how to boot from the new disk.
The new disk will need the following partitions:-
/boot   ext2
/swap
/   reiserfs

Thanks for any help
Paul
--
This message has been sent using kmail with gentoo linux
--
gentoo-user@gentoo.org mailing list


   



 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to backup kmail saved mails

2005-09-19 Thread Volker Armin Hemmann
On Monday 19 September 2005 16:49, Gentoo Shadow wrote:
 i have done this... but during restoration all other desktop files are i
 getting restored except the mails on KMail. pls advice to restore them
 correctly...


hm, I don't know, what you did, but when I pack my backups (tar 
-cf /dev/st0 /home/), and restore it (tar -xf /dev/st0 
--preserve-permissions) my mails are all there - are you sure, that you 
packed everything?
Or are you using /var/spool as mail directory? 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Analog acquisition

2005-09-19 Thread Luigi Pinna
Alle 15:41, lunedì 19 settembre 2005, Tamas Sarga ha scritto:
 Hi,

 I realized it too, but in the past I was able to record with xawtv. I
 haven't done it for a time, yesterday I tried to record, but I didn't
 see anything in xawtv. I emerged kdetv, it found the channels with
 the wizard, but didn't show anything after. Tvtime works well.
 I tought it is my fault at some point, but if you has this problem
 also, then maybe it isn't. How could we discover it? I searched
 forums, but can't find anything related.

This is a good question!
I recorded a video from S-Video using xawtv, but it works only with 
capture off ( and only sometimes! Sometimes I can't see the video) but 
it records fine...
If I try to use the tuner I have no results, but scantv (the program to 
populate channels in xawtv) works fine!
Kdetv has the same tuner program (but it display the current channel in 
tuner)
This is mysterious
Luigi

-- 
Public key GPG(0x073A0960) on http://keyserver.linux.it/


pgpVnuurYKZNB.pgp
Description: PGP signature


Re: [gentoo-user] emerge -pv mplayer questions[ANSWERED]

2005-09-19 Thread maxim wexler
gentoo-wiki.com/HOWTO_Emerge_MPlayer

has the best explanation so far.

BTW, Mark, look at the gentoo doc Upgrading re
symlink to make.profile

--- Rumen Yotov [EMAIL PROTECTED] wrote:


  what about all those others?
  
 Look at gcc-home page, think there's plenty of info,
 also this theme is
 regularly discussed here (ML), search the archives.
 Shortly said, use -O2 -march.../-mtune... -pipe
 -fomit-frame-pointer
 is a safe choice. It (-O2) includes many of the
 other flags by default.

phew! That's what I've already got!

-mw

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Stewart Taylor

Hi

Thanks to Holly , Peter and Scotty for 
the fix. It now works a treat.


Stewart
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Replacing main harddisk

2005-09-19 Thread Paul
On Monday 19 Sep 2005 18:22, S. ancelot wrote:
 Hi,
 Download linux sysrescue live cd on the web
 and use dd_rescue
 bye

snip 
Do you mean the install-x86-universal-2005.1.iso?  I could not find any 
sysrescue live cd listed.
If I do a dd_rescue what would I do to get the initial console working?

Thanks
Paul

-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Replacing main harddisk

2005-09-19 Thread Noah Roberts
Paul wrote:

On Monday 19 Sep 2005 18:22, S. ancelot wrote:
  

Hi,
Download linux sysrescue live cd on the web
and use dd_rescue
bye



snip 
Do you mean the install-x86-universal-2005.1.iso?  I could not find any 
sysrescue live cd listed.
If I do a dd_rescue what would I do to get the initial console working?

Thanks
Paul

  

I think he is talking about this:

http://www.sysresccd.org/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stewart Taylor wrote:

 Hi

 Thanks to Holly , Peter and Scotty for the fix. It now works a treat.

 Stewart

Um, I have the same problem.  But (and I suspect this is why), I have
no /etc/X11/xorg.conf.  KDE runs great!  I've done a 'find / -name
xorg.conf' and only came up with files for vmware-tools
(/usr/portage/app-emulation/vmware-linux-tools/files/5.0.0/xorg.conf).

So, 4 questions

1)  Why wouldn't a default xorg.conf be installed?

2)  Is there possibly another config file that my system is using?

3)  Could the vmware-tools sample be sufficient to build one (xorg.conf)?

4)  Would it be used, if I'm not using one now?

Thanks.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDLxBFLYGSSmmWCZMRAi5wAKCf6d0rkrFrkfqqIN09z2GVB8jEWwCgl07G
gAMtKbhNri+9Aj1ZqaKFz3w=
=dFto
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Dave Nebinger
 1)  Why wouldn't a default xorg.conf be installed?

Xorg.conf contains detailed info about your installation, a default one
doesn't do you much good except for to use a vanilla x config.
 
 2)  Is there possibly another config file that my system is using?

I'm sure it defaults to a simple config that would work across most
installations but, as you've noticed things like the wheel are not part of
the vanilla config.
 
 3)  Could the vmware-tools sample be sufficient to build one (xorg.conf)?

Probably not as it would not be part of the normal path.
 
 4)  Would it be used, if I'm not using one now?

Nope.

See the gentoo wiki for how to build an initial xorg.conf file and extend it
for your wheel mouse support.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Holly Bostick
gentuxx schreef:
 Stewart Taylor wrote:
 
 
 Hi
 
 Thanks to Holly , Peter and Scotty for the fix. It now works a
 treat.
 
 Stewart
 
 
 Um, I have the same problem.  But (and I suspect this is why), I have
  no /etc/X11/xorg.conf.  KDE runs great!  I've done a 'find / -name 
 xorg.conf' and only came up with files for vmware-tools 
 (/usr/portage/app-emulation/vmware-linux-tools/files/5.0.0/xorg.conf).
 
 
 So, 4 questions
 
 1)  Why wouldn't a default xorg.conf be installed?

Because you upgraded from XFree86 (which uses a differently-named, but
exactly similarly-configured file)?
 
 2)  Is there possibly another config file that my system is using?

XF86Config (or XF86Config-4)? Xorg will use this if it finds it.
 
 3)  Could the vmware-tools sample be sufficient to build one
 (xorg.conf)?

Why would you bother? There is a configuration utility, you know. I
don't know what it's called though, as I've never used it (just renamed
my XF86Config to xorg.cfg and went on from there).

Oh, scratch that, it's called xorgcfg. Very logically found with a guess
and a 'which'.

 
 4)  Would it be used, if I'm not using one now?

Are you running Linux under VMWare in Windows or some such?  I know
nothing about that (but Dave says not, so I believe him :-) ).
 

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Sergio Polini
Holly Bostick:
  3)  Could the vmware-tools sample be sufficient to build one
  (xorg.conf)?

 Why would you bother? There is a configuration utility, you know. I
 don't know what it's called though, as I've never used it (just
 renamed my XF86Config to xorg.cfg and went on from there).

 Oh, scratch that, it's called xorgcfg. Very logically found with a
 guess and a 'which'.

You could also try Xorg -configure.
From man Xorg:
-configure
  When this option is specified, the Xorg server loads all video
  driver  modules, probes  for  available  hardware,  and  writes
  out an initial xorg.conf(5x) file based on what was detected.
  This option currently has  some  problems  on  some platforms,
  but  in  most  cases it is a good way to bootstrap the configuration
  process.  This option is only available when the server is  run  as
  root  (i.e, with real-uid 0).

HTH
Sergio

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Neil Bothwick
On Mon, 19 Sep 2005 12:23:50 -0700, gentuxx wrote:

 2)  Is there possibly another config file that my system is using?

Do you have a /etc/X11/XF86Config or /etc/X11/XF86Config. Xorg uses them
if it can't find its own config.


-- 
Neil Bothwick

DOOM , said Pooh, and Slaughtered Christopher Robin with a chainsaw


pgpSNit5UzqaR.pgp
Description: PGP signature


[gentoo-user] New apache layout

2005-09-19 Thread A. Khattri

Just went through the apache update on three servers. I duly removed
/etc/apache/conf/apache.conf and restarted apache successfully.

Question: can I safely remove /etc/apache/conf/* (after migrating any
settings to the new conf files of course).


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] recording sound from SPDIF port using KDE KRec

2005-09-19 Thread Joseph
Does anybody have a good link how to capture audio from SPDIF?
When I connect the audio to my SPDIF-IN I can hear the the voice on the
speakers but when I try to record using KDE KRec nothing is captured. 
I suppose the KRec is not configured correctly.
Anybody has good link how to do it.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recording sound from SPDIF port using KDE KRec

2005-09-19 Thread Christoph Eckert

 Does anybody have a good link how to capture audio from SPDIF?
 When I connect the audio to my SPDIF-IN I can hear the the voice on
 the speakers but when I try to record using KDE KRec nothing is
 captured. I suppose the KRec is not configured correctly.
 Anybody has good link how to do it.

if your SPDIF input is supported by ALSA, the following steps are 
necessary:

* Even if you hear the noise thru the speakers, this does *not* mean 
that the audio signal has left the card and went into RAM. This is 
called monitoring: incoming signal being routed back to the outputs 
immediately

* If your SPDIF input is supported, you have to select the SPDIF input 
of your card as capture source (use a mixer to do so, maybe alsamixer 
in console mode)

* If you have done so ensure the gain level for this source isn't muted 
and it is opened

* NOw signal should arrive at ALSA. Krec uses artsd, the KDE 
soundserver. So you should go to the control center and set up artsd to 
use the right device

Recommendation: Use qarecord in ALSA mode. It has a nice levelmeter so 
you immediately can see if there's audio coming in or not.


Best regards


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recording sound from SPDIF port using KDE KRec

2005-09-19 Thread Christoph Eckert

 Thank you for the pointers.
 Do I have to have SPDIF enable in kernel?  I don't see any PCM IN
 supports in arts or alsamiser.  

I use a cheap USB soundcard with the snd_usb_audio module and didn't 
need to add any additional kernel option.

In my alsamixer the SPDIF input appears as »Input 2«, not as SPDIF, in 
the section »PCM Capt«.


Best regards


ce


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recording sound from SPDIF port using KDE KRec

2005-09-19 Thread Joseph
On Tue, 2005-09-20 at 00:11 +0200, Christoph Eckert wrote:
  Thank you for the pointers.
  Do I have to have SPDIF enable in kernel?  I don't see any PCM IN
  supports in arts or alsamiser.  
 
 I use a cheap USB soundcard with the snd_usb_audio module and didn't 
 need to add any additional kernel option.
 
 In my alsamixer the SPDIF input appears as »Input 2«, not as SPDIF, in 
 the section »PCM Capt«.
 

Is alsamixer call KMix in KDE? That is all I see under Multimedia menu.
I have Alsa build into the kernel, so it starts at boot, my sound card
is some kind of Via-chipset on the motherboard. 

-- 
#Joseph

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recording sound from SPDIF port using KDE KRec

2005-09-19 Thread Christoph Eckert

 Is alsamixer call KMix in KDE? That is all I see under Multimedia
 menu. I have Alsa build into the kernel, so it starts at boot, my
 sound card is some kind of Via-chipset on the motherboard.

If this is the only card on your system, I guess that kmix will show you 
the same controls as alsamixer would.

But still alsamixer is the reference mixer.

The central problem is that ALSA tries to give you a generic frontend 
for any card. Great idea because we do not get mixer frontends 
contributed by the manufacturers and optimized for particular cards.

Disadvantage: Mixers are usually difficult to understand (even the OEM 
mixers on windows are difficult to understand because soundcard 
routings aren't the easiest thing on earth).


Best regards


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Random Kernel Crashes ... Need more info

2005-09-19 Thread Kris Kerwin
Dave,

Yup. Had a feeling that you might be right about that one.

It seems that the computer will still crash, but certainly not as often. My 
guess: there is a bigger problem that is aggravated when the computer is 
under more stress; ie: tracking excessive amounts of kernel complaints, etc. 
I've also noticed difficulties with the sound system and have had the 
computer crash a number of times when playing music (could be the media 
player or the sound system itself, but I still think that the problem is 
bigger yet).

Ideas for a next step? Is there more information that I can submit to 
hopefully throw out the possibility of a hardware problem, or to determine 
which piece of hardware is at fault?

Thanks again for all of your help.

Kris

On Sunday 18 September 2005 21:09, Dave Nebinger wrote:
  Before the crash, the following three lines appeared (in this order)
  nearly
 
  53,000 times for a total of 16MB of text:
  Sep 17 13:45:51 kerwin [4314362.567000] ip_local_deliver: bad skb:
 
  PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
 
  Sep 17 13:45:51 kerwin [4314362.567000] skb: pf=2 (unowned) dev=lo
  len=60 Sep 17 13:45:51 kerwin [4314362.567000] PROTO=6 127.0.0.1:34134
 
  127.0.0.1:111 L=60 S=0x00 I=15872 F=0x4000 T=64

 Don't assume this is your answer, Kris.  This was a known problem on one of
 the 2.6.12 kernels (2.6.12.4, I believe, but don't hold me to it).

 I had many of these in my logs also.  It was a partial network patch
 applied to the networking layer but missed some components.  It was fixed
 by the 2.6.13 kernel series.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] new gentoo installed but can't boot: Disk Boot Failure, Insert System Disk And Press Enter

2005-09-19 Thread michael

Hi gentuxx,

As you may have seen in my reply to another helpful person, same disk
worked on a different setting (primary slave instead of primary master).
perhaps the disk is going bad, although it's only a couple years old.

Thanks for your suggestion,
Michael


On Sat, 17 Sep 2005, gentuxx wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:


Hello,

I've been using my computer for awhile and decided to upgrade to gentoo
2005.1. Since there is nothing important on this system I decide to
install from scratch. I follow the quickinstall howto and reference the
installation manual for 2005.1 and my own notes, as I've installed
perhaps 8 or so gentoo systems.

I'm using the Universal 2005.1 live CDROM.

Everything proceeds well, including installing grub, setting up
grub.conf and running grub-install, and when I'm finished I exit the
chroot environment, umount my root and boot partitions, and reboot.

It fails, with the dreaded message  Disk Boot Failure, Insert System
Disk And Press Enter.

I boot the live CD again, double check my grub.conf file, run
grub-install again, check with fdisk that my boot partition is
bootable,
and try again. Same result.

I'm mystified. I've been using this computer for developing systems
over
the past few months and have rebooted it many, many times, with no
difficulty.

I figure it's failing very early if I'm not even getting into grub.

Any ideas? Any suggestions for what to test, inspect, try?

Thanks,
Michael


- From my experience, this is typical of a bad disk.  I have a system
that gives the exact same error.  Usually, for me, a reboot solves it,
and it loads the OS.  But I happen to know that my disk is on it's
last legs.  ;-)  If you have another disk lying around, or could get
another one, I would try the install, using the same method you used,
and see if you have the same problem.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDK8f4LYGSSmmWCZMRAuY9AKDoJAUp7VBtD+W4mYA6FdVP3uHLvQCgmmXS
X8hFXo6X3RLuFvsIeuFwysQ=
=B2/n
-END PGP SIGNATURE-

--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Random Kernel Crashes ... Need more info

2005-09-19 Thread Volker Armin Hemmann
On Tuesday 20 September 2005 00:56, Kris Kerwin wrote:
 Dave,

 Yup. Had a feeling that you might be right about that one.

 It seems that the computer will still crash, but certainly not as often. My
 guess: there is a bigger problem that is aggravated when the computer is
 under more stress; ie: tracking excessive amounts of kernel complaints,
 etc. I've also noticed difficulties with the sound system and have had the
 computer crash a number of times when playing music (could be the media
 player or the sound system itself, but I still think that the problem is
 bigger yet).

 Ideas for a next step? Is there more information that I can submit to
 hopefully throw out the possibility of a hardware problem, or to
 determine which piece of hardware is at fault?


well, at first, let memtest86(+) run for some hours.

second, check that your box does not get too hot. Crashes on stress are mostly 
overheating or PSU going bad.

third, try a different PSU - the manufacturers like to use the cheapest 
components for this almost most important part of a computer, if possible try 
another one.

fourth, check your board and cards for 'funny looking' condensators - like 
deformation, round tops, or even some brown 'dirt' at their base. 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name

2005-09-19 Thread Joseph
On Mon, 2005-09-19 at 17:14 +0200, Christoph Gysin wrote:
 Joseph wrote:
  The (CN) of the certificate match out company name it doesn't match
  localhost
 
 I assume your apache is configured with hostname localhost.
 
 What does your apache.conf look like? (snipped to the relevant parts, of 
 course)
 
 Christoph

In my /etc/conf.d/hostname I've:
HOSTNAME=syscon2

I would understand if it complain about host name syscon2 but it is
complaining about localhost .  Would it be taking it from
file: /etc/hosts ?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Nick Rout
/var/log/Xorg.log.0  (I think thats what it is named, its pretty easy to find 
in /var/log) will tell you what config file X is using.

X _may_ work without a config file _if_ everything is auto detected, but
I have never struck it (then again all my hardware is oldish).

More likely it is working with an XFree config file in the same
directory.

Anyway,  the log file will tell you.


On Mon, 19 Sep 2005 12:23:50 -0700
gentuxx wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Stewart Taylor wrote:
 
  Hi
 
  Thanks to Holly , Peter and Scotty for the fix. It now works a treat.
 
  Stewart
 
 Um, I have the same problem.  But (and I suspect this is why), I have
 no /etc/X11/xorg.conf.  KDE runs great!  I've done a 'find / -name
 xorg.conf' and only came up with files for vmware-tools
 (/usr/portage/app-emulation/vmware-linux-tools/files/5.0.0/xorg.conf).
 
 So, 4 questions
 
 1)  Why wouldn't a default xorg.conf be installed?
 
 2)  Is there possibly another config file that my system is using?
 
 3)  Could the vmware-tools sample be sufficient to build one (xorg.conf)?
 
 4)  Would it be used, if I'm not using one now?
 
 Thanks.
 
 - --
 gentux
 echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'
 
 gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
 6996 0993
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (GNU/Linux)
 
 iD8DBQFDLxBFLYGSSmmWCZMRAi5wAKCf6d0rkrFrkfqqIN09z2GVB8jEWwCgl07G
 gAMtKbhNri+9Aj1ZqaKFz3w=
 =dFto
 -END PGP SIGNATURE-
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Mail configuration problem

2005-09-19 Thread C. Beamer
Hi all,

Yesterday, I posted asking for a Gentoo equivalent of something I was
able to do in Fedora,  I got some answers which were of assistance, one
being to check my logwatch.conf file to see what the frequency was set
at.  This helped because it was set weekly and since I had just
installed logwatch the day before, I would have had to wait a week to
see if it was working, so I changed the frequency to daily.

As it turns out, logwatch is working.  However, what I want to be able
to do is to fire up Pine and be able to view the emails sent by logwatch
to '[EMAIL PROTECTED]' and this isn't working - I have a dead.letter file
in my /root directory.

I cat'ed the dead letter file and at the end, the following appears:

send-mail: RCPT TO:[EMAIL PROTECTED] (504 [EMAIL PROTECTED]:
Sender address rejected: need fully-qualified address)
Can't send mail: sendmail process failed with error code 1

My computer is stand alone except that it has a router which is
connected to my cable modem because my son connects wirelessly to the
internet through that.  However, his laptop and my PC have no network
attachment.

My resolve.conf file has proper ip information.  In my hosts file,
localhost is set to 127.0.0.1  My /etc/conf.d/domainname does not have a
FQDN set because when I installed Gentoo, I was under the impression
that I didn't need one because the computer is not networked and I
obtain my ip address using dhcp

Sorry, I know I'm a bit verbose here, but I have no idea where I'm going
wrong, so I figure that the more details that I can provide might better
enable someone to guide me in the right direction.

Any help would be appreciated.  Oh, and as far as I can tell, my
/etc/mail/aliases file looks okay.

Regards,

Colleen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Replacing main harddisk

2005-09-19 Thread Philip Webb
050919 Paul wrote:
 On Monday 19 Sep 2005 18:22, S. ancelot wrote:
 use dd_rescue
 I could not find any sysrescue live cd listed.

I got it from  www.garloff.de/kurt/linux/ddrescue/
 installed it in  /usr/local , but it appears to be in Portage :

  sys-fs/dd-rescue

I haven't had need to use it, but it seemed a useful emergency aid.

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



Re: [gentoo-user] recording sound from SPDIF port using KDE KRec

2005-09-19 Thread Nick Rout
Nice looking sound tools there (http://alsamodular.sourceforge.net/) -
is there an ebuild?


On Mon, 19 Sep 2005 23:09:49 +0200
Christoph Eckert wrote:

 Recommendation: Use qarecord in ALSA mode. It has a nice levelmeter so 
 you immediately can see if there's audio coming in or not.

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Security Updates and Portage Trees

2005-09-19 Thread W.Kenworthy
One point I have never seen mentioned is *why* would you *not* want a
package in the world file - especially if you want it to be managed by
the system?

BillK


On Tue, 2005-09-20 at 09:07 +0900, Jason Stubbs wrote:
 On Tuesday 20 September 2005 01:12, gentuxx wrote:
  If every security fix comes out with --oneshot being recommended,

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Security Updates and Portage Trees

2005-09-19 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

W.Kenworthy wrote:

One point I have never seen mentioned is *why* would you *not* want a
package in the world file - especially if you want it to be managed by
the system?

BillK


I guess maybe that's part of what I'm getting at.  ;-)


On Tue, 2005-09-20 at 09:07 +0900, Jason Stubbs wrote:

On Tuesday 20 September 2005 01:12, gentuxx wrote:

If every security fix comes out with --oneshot being recommended,




- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDL2RwLYGSSmmWCZMRAuIrAJ47hkkiSoWVraFAkY/9tP0VdtcLcwCgomXn
zI3pF31mlC0aUAlwC/2oaE0=
=PnvW
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails[SOLVED-Agn]

2005-09-19 Thread Ow Mun Heng
On Sun, 2005-09-18 at 22:36 -0500, John Jolet wrote:
 On Sunday 18 September 2005 22:11, A. Khattri wrote:
  On Mon, 19 Sep 2005, Ow Mun Heng wrote:
   Be that as it may, I'm not Perl person (picked up the book, but haven't
   really progressed anywhere hehe).
  
   But.. when push comes to shove
 
  Im assuming there is probably a CPAN module that does most of this for you
  - this is why I think Perl might be a better way to go.
 
 
  --
 there is...MIME::Entity...used thusly (from a perl program I use to email pdf 
 files, but you pass the mim-type on the command line, so it can send any mime 
 type):
 my $top = MIME::Entity-build(Type  = multipart/mixed,
   From  = [EMAIL PROTECTED],
   Bcc   = $address,
   Subject   = Mills Messenger by 
 e-Mail);
 
 $top-attach( Path  = $file_to_send,
   Type  = $mime_type,
   Encoding  = base64);
 
 my $message = Attached is your Mills Messenger for this week.  Enjoy!;
 $top-attach(Data=$message);
 
 open MAIL, |/usr/sbin/sendmail.postfix -t -oi -oem or die Error on 
 mail 
 o
 pen is: $!\n;
 $top-print(\*MAIL);
 close MAIL;

I did it, didn't have to go through perl. Just added a mail_header() to
my script.
mail_header()
{
echo MIME-Version:1.0
echo From:[EMAIL PROTECTED]
echo To:$RECIPIENT
echo Subject:Quotes $DATE
echo Content-Type: text/html
echo
}

and then I added a script for cron 
#!/bin/sh
#
TEMPFILE=/tmp/file.$$
PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh

$PORTFOLIO_SCRIPT --html  $TEMPFILE 2/dev/null1
 /usr/sbin/sendmail -t  $TEMPFILE  rm $TEMPFILE

Next, I think the above code can be enhanced by not using a tempfile.
perhaps a  EOF 



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 09:46:43 up 1 day, 4 min, 7 users, load average: 2.75, 2.30,
2.24 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Random Kernel Crashes ... Need more info

2005-09-19 Thread Dave Nebinger

well, at first, let memtest86(+) run for some hours.


Volker's got a good point here...

second, check that your box does not get too hot. Crashes on stress are 
mostly

overheating or PSU going bad.


Mentioned that to him about the heat... Kris, were you able to get 
lm_sensors running on the box?



third, try a different PSU - the manufacturers like to use the cheapest
components for this almost most important part of a computer, if possible 
try

another one.

fourth, check your board and cards for 'funny looking' condensators - like
deformation, round tops, or even some brown 'dirt' at their base.


This I think will be hard for him, Volker, as I believe he's running a 
laptop.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mail configuration problem

2005-09-19 Thread Dave Nebinger

I cat'ed the dead letter file and at the end, the following appears:

send-mail: RCPT TO:[EMAIL PROTECTED] (504 [EMAIL PROTECTED]:
Sender address rejected: need fully-qualified address)
Can't send mail: sendmail process failed with error code 1


What MTA are you using, Colleen?  That will be the first step to helping you 
to configure to allow deliveries to localhost.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Random Kernel Crashes ... Need more info

2005-09-19 Thread Volker Armin Hemmann
On Tuesday 20 September 2005 04:14, Dave Nebinger wrote:

  fourth, check your board and cards for 'funny looking' condensators -
  like deformation, round tops, or even some brown 'dirt' at their base.

 This I think will be hard for him, Volker, as I believe he's running a
 laptop.

In that case, just open, what can be opened and see if there is any suspicious 
capacitor. 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] GNU Time

2005-09-19 Thread Justin Hart
The version of time included doesn't seem to include the -o switch,
allowing the output to be put in a file.

Is there a way to get this?
-- 
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mail configuration problem

2005-09-19 Thread C. Beamer
Dave Nebinger wrote:

 I cat'ed the dead letter file and at the end, the following appears:

 send-mail: RCPT TO:[EMAIL PROTECTED] (504 [EMAIL PROTECTED]:
 Sender address rejected: need fully-qualified address)
 Can't send mail: sendmail process failed with error code 1


 What MTA are you using, Colleen?  That will be the first step to
 helping you to configure to allow deliveries to localhost.

I'm using the Gentoo default, ssmtp.  I tried to emerge sendmail, but it
is blocked by ssmtp.  I didn't know if I should go ahead and unmerge
ssmtp and emerge sendmail or not.  I only really need it for this one
function.

Take care,

Colleen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GNU Time

2005-09-19 Thread Michael Crute
On 9/19/05, Justin Hart [EMAIL PROTECTED] wrote:
The version of time included doesn't seem to include the -o switch,allowing the output to be put in a file.Is there a way to get this?
Not sure how `time -o` worked but perhaps `time  filename`

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates?


Re: [gentoo-user] Mail configuration problem

2005-09-19 Thread John Jolet
On Mon, 2005-09-19 at 23:09 -0400, C. Beamer wrote:
 Dave Nebinger wrote:
 
  I cat'ed the dead letter file and at the end, the following appears:
 
  send-mail: RCPT TO:[EMAIL PROTECTED] (504 [EMAIL PROTECTED]:
  Sender address rejected: need fully-qualified address)
  Can't send mail: sendmail process failed with error code 1
 
 
  What MTA are you using, Colleen?  That will be the first step to
  helping you to configure to allow deliveries to localhost.
 
 I'm using the Gentoo default, ssmtp.  I tried to emerge sendmail, but it
 is blocked by ssmtp.  I didn't know if I should go ahead and unmerge
 ssmtp and emerge sendmail or not.  I only really need it for this one
 function.
 
 Take care,
 
 Colleen
You could stay with ssmtp, just edit the config file (i think
it's /etc/ssmtp.conf or something).  It doesn't do aliases, but you can
set ONE alias for all destination uids under 1000.  

Alternatively, you can unmerge ssmtp and emerge sendmail (or better yet,
in my opionion, postfix).  ssmtp is just a real simple and basic mta for
forwarding to a mail relay host.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mail configuration problem

2005-09-19 Thread kashani

John Jolet wrote:

You could stay with ssmtp, just edit the config file (i think
it's /etc/ssmtp.conf or something).  It doesn't do aliases, but you can
set ONE alias for all destination uids under 1000.  


Alternatively, you can unmerge ssmtp and emerge sendmail (or better yet,
in my opionion, postfix).  ssmtp is just a real simple and basic mta for
forwarding to a mail relay host.


Actually you can't use ssmtp as it can not deliver mail locally and is 
not an MTA. It can only relay mail off the local box to a real mail server.


Remove ssmtp and install your favorite MTA. I'll recommend Postfix and 
also recommend aliasing root mail to an unprivileged account and reading 
the mail there. Or you'll have to use mbox format.


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv mplayer questions

2005-09-19 Thread Walter Dnes
On Sun, Sep 18, 2005 at 08:49:12PM -0700, maxim wexler wrote
 
 
 --- Mark Knecht [EMAIL PROTECTED] wrote:
 
  On 9/18/05, maxim wexler [EMAIL PROTECTED] wrote:
  SNIP
   flags   : fpu vme de pse tsc msr pae mce cx8
   apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr
   sse sse2 syscall nx mmxext 3dnowext 3dnow
  SNIP
  
  So Walter's point would be that you could add
  
  mmx mmxext sse sse2 3dnow 3dnowext
  
  to your use flags, either globally in your make.conf
 
 what about all those others?

  Only flags that are supported by the compiler are useful.  So you have
to do the following...

  1) find which compiler you're running
[m3000][root][~] gcc --version
gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

  2) Today, I'm running gcc 3.3.6.  Go to http://gcc.gnome.org and select
version 3.3.6 and dive into the X86+AMD cpu-specific options, which is...
 http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
The Sempron is basically an Athlon with less cache.  The thing I hate
is that it doesn't say *WHICH* Athlon.  Use the generic athlon cpu
type (you might be able to get away with Athlon-XP).  Compare your
flags line with the supported options.  3dnow, mmx, sse, and sse2 show
up in both lists, so you can use them in CFLAGS.  Your line will
probably be identical to mine (assuming you're running 32-bit mode)...

CFLAGS=-O2 -pipe -fomit-frame-pointer -march=athlon -m3dnow -mmmx -msse -msse2 
-mfpmath=sse

  3) Go to http://www.gentoo.org/dyn/use-index.xml for a list of global
USE flags.  Compare that with your flags line.  3dnow, mmx, and sse show
up both in that list and in the flags line of your /proc/cpuinfo output
so you can add them to USE in /etc/make.conf.

  4) Check /usr/portage/profiles/use.local.desc for any mplayer-specific
USE flags.  You could go through the file manually looking for mplayer
flags.  A quickie way to do that is to issue the command...

grep /mplayer /usr/portage/profiles/use.local.desc

3dnowext, mmxext, and sse2 show up in that list, so you can USE them.  I
would recommend entering them in /etc/portage/package.use.  Depending on
your video card, etc, you may want some of the other mplayer flags. 

  5) You asked about the other flags in the flags line.  While they
don't go into CFLAGS, they're nice to know about when you're building
your kernel.  E.g. it indicates support for apic and mtrr.  It also
indicates support for ancient MCA cards, but you most likely don't have
them, so you won't want to turn on MCA support in your kernel.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Dependency determination

2005-09-19 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there a way with emerge or equery to determine what other package a
given package is a dependency for?

As a clarification, I have the net-dialup/ subtree excluded from
portage as described by another thread on this list
(/etc/portage/rsyc_excludes).  But when I run emerge --ask --verbose
- --update --newuse --deep world, I get the net-dialup/ppp package as
one that is queued to be installed.  I can only guess that this means
that it's a dependency of another package that is already installed.
So, how would I found out what the root package is that is requiring
net-dialup/ppp as a dependency?

Thanks.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDL4mtLYGSSmmWCZMRAuX2AKCRQorgGh5aXf/p4sxyKC/lTlH/iwCfVaVX
pyOse+3PNa9AILWnsUCrGNg=
=6PSN
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GNU Time

2005-09-19 Thread Alexander Skwar
Michael Crute schrieb:

 Not sure how `time -o` worked but perhaps `time  filename`

And the latter does what?

Alexander Skwar
-- 
College:
The fountains of knowledge, where everyone goes to drink.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to backup kmail saved mails

2005-09-19 Thread Norberto Bensa
Gentoo Shadow wrote:
 i have done this... but during restoration all other desktop files are i
 getting restored except the mails on KMail. pls advice to restore them
 correctly...

you need to restore .kde/share/apps/kmail/

AND

.kde/share/config/kmailrc



-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GNU Time

2005-09-19 Thread Norberto Bensa
You want sys-process/time

Justin Hart wrote:
 The version of time included doesn't seem to include the -o switch,
 allowing the output to be put in a file.

 Is there a way to get this?
 --
 Justin W. Hart

-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] running mldonkey with umask 0002

2005-09-19 Thread Robert Persson
I would like to run mldonkey with umask 0002.  However I cannot work out how 
to do this.  The Gentoo version of /etc/init.d/mldonkey calls 
start-stop-daemon, but start-stop-daemon doesn't have a umask option.

As mldonkey is the only program that runs as user p2p, I would be happy if I 
could get all programs launched by p2p to run with umask 0002, but I can't 
work out how to do that either.

Can anyone help me with this?

Many thanks
Robert
-- 
Robert Persson

Don't use nuclear weapons to troubleshoot faults.
(US Air Force Instruction 91-111, 1 Oct 1997)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] apache upgrade to -r31

2005-09-19 Thread W.Kenworthy
Hi, I am looking the current apache upgrade to -r31.  There are a number
of MPM (Multi-Processing Module implementing a hybrid multi-threaded
multi-process web server) related use flags.  I have not seen any
discussions on these so is there anyone willing to comment on their
desirability - is this something that most apache servers (in my case
low load, static html) would benefit from/be harmed by?

Also, have there been any glitches with the apache -r31 major changes,
or has that gone off problem free, or is everyone being like me and
still waiting and for the first person to jump just in case!

BillK

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dependency determination

2005-09-19 Thread A. Khattri
On Mon, 19 Sep 2005, gentuxx wrote:

 As a clarification, I have the net-dialup/ subtree excluded from
 portage as described by another thread on this list
 (/etc/portage/rsyc_excludes).  But when I run emerge --ask --verbose
 - --update --newuse --deep world, I get the net-dialup/ppp package as
 one that is queued to be installed.  I can only guess that this means
 that it's a dependency of another package that is already installed.
 So, how would I found out what the root package is that is requiring
 net-dialup/ppp as a dependency?

If you add the --tree (or -t) flag to the emerge command it will show what
package (and/or USE flag) is pulling it in.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails[SOLVED-Agn]

2005-09-19 Thread A. Khattri
On Tue, 20 Sep 2005, Ow Mun Heng wrote:

 I did it, didn't have to go through perl. Just added a mail_header() to
 my script.
 mail_header()
 {
 echo MIME-Version:1.0
 echo From:[EMAIL PROTECTED]
 echo To:$RECIPIENT
 echo Subject:Quotes $DATE
 echo Content-Type: text/html
 echo
 }

 and then I added a script for cron
 #!/bin/sh
 #
 TEMPFILE=/tmp/file.$$
 PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh

 $PORTFOLIO_SCRIPT --html  $TEMPFILE 2/dev/null1
  /usr/sbin/sendmail -t  $TEMPFILE  rm $TEMPFILE

 Next, I think the above code can be enhanced by not using a tempfile.
 perhaps a  EOF


You could probably use a HERE document.

http://www.tldp.org/LDP/abs/html/here-docs.html

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails[SOLVED-Agn]

2005-09-19 Thread Ow Mun Heng
On Tue, 2005-09-20 at 01:23 -0400, A. Khattri wrote:
 On Tue, 20 Sep 2005, Ow Mun Heng wrote:
 
  I did it, didn't have to go through perl. Just added a mail_header() to
  my script.

  #!/bin/sh
  #
  TEMPFILE=/tmp/file.$$
  PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh
 
  $PORTFOLIO_SCRIPT --html  $TEMPFILE 2/dev/null1
   /usr/sbin/sendmail -t  $TEMPFILE  rm $TEMPFILE
 
  Next, I think the above code can be enhanced by not using a tempfile.
  perhaps a  EOF
 
 
 You could probably use a HERE document.
 
 http://www.tldp.org/LDP/abs/html/here-docs.html

Not sure what that is. No I-Net access currently.

Anyway, on the gentoo box, a simple 

$PORTFOLIO_SCRIPT --html 2/dev/null1 | /usr/sbin/sendmail -t

works. In Fedora, the system which will be sending it out, well, I
remember doing just that but it didn't work. Will try again.

-- 
gentoo-user@gentoo.org mailing list