[gentoo-user] Have portage lost its memory?

2006-03-23 Thread Jules Colding
Hi,

Todays emerge --sync  emerge -vauDN world made me wonder a lot. 

A lot of packages should be updated according to portage, but a lot of
them seems to be wrong with regard to the reported version number. 

Take e.g. Evolution of which I have version 2.4.2.1 installed. Portage
is saying that I have version 2.2.3-r3 installed and that I should
update to 2.4.2.1:

[ebuild U ] mail-client/evolution-2.4.2.1 [2.2.3-r3] +crypt -dbus -debug 
-doc +gstreamer +ipv6 -kerberos -krb4 -ldap -mono -nntp -pda -profile +spell 
+ssl 11,233 kB

So what exactly is going on here?

Thanks,
  jules


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alps touchpad problem

2006-03-23 Thread scwang
AZixMapping doesn't work.
I think it's for mouse driver of x, not for synaptics drivers!


-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newbie question : specific software version no more available

2006-03-23 Thread sebastien Pastor
Thanks a bunch to you Iain and richard as well for pointing me into the 
right direction !

I ll have a look @ this PORTDIR_OVERLAY feature.

Cheers

seb

Iain Buchanan wrote:

On Wed, 2006-03-22 at 11:37 -0700, Richard Fish wrote:
  

On 3/22/06, sebastien Pastor [EMAIL PROTECTED] wrote:


1 Is there a way for me to be able to download somehow version 2.3.3
  


You can look in /usr/portage/media-sound/ecasound/ to see what versions
are available.  Unfortunately for you, there is only 2.4.3 :(

If version 2.3.3 still existed, you could install that specifically by
saying:

emerge =media-sound/ecasound-2.3.3

But since it's not there you'll either have to find the ebuild for it,
or upgrade to 2.4.3.

  

2 If not, anyone could tell me how long packages are kept in the
repository
  


Usually the latest stable ebuilds are kept.  When there is a security
update or bug fix, the affected ebuilds are usually deleted.  When a new
version becomes sufficiently tested and stable, older versions are
deleted if there are no dependencies on them.

  

 and what would be the process if i really need to stick with


one version which is no longer there?
  


If you _must_ have a particular version for ever, then use the
PORTDIR_OVERLAY in /etc/make.conf

HTH,
  


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mozplugger is masked

2006-03-23 Thread THUFIR HAWAT
On 3/22/06, Boris Fersing [EMAIL PROTECTED] wrote:
..
 Hi,

 ~x86 means that this package is marked as unstable because it needs
 some testing, if you want to test it (don't worry, I've my whole
 system in ~x86 and it's quite stable), just unmask it this way :

 echo net-www/mozplugger ~x86  /etc/portage/package.keywords

 You'll have to create /etc/portage/ if it's the first time you use the
 /etc/portage/* files ...

 regards,

 Boris.
..

I have acroread (adobe) and document viewer installed, either of
which can read PDF files.  prior to emerging mozplugger firefox would
launch acroread as a seperate application.  Currently,
edit=preferences=downloads in firefox doesn't show an action for
PDF files.  Yet, when clicking on a PDF file link from firefox, the
complete URL, ending with .pdf, loads--only it's a blank page.



localhost ~ #
localhost ~ #
localhost ~ #
localhost ~ # whoami
root
localhost ~ # ls -hal /home/thufir/.mozilla/
total 20K
drwxr-xr-x   4 thufir users 4.0K Mar 23 10:40 .
drwxr-xr-x  22 thufir users 4.0K Mar 23 10:57 ..
-rw-r--r--   1 thufir users  335 Mar 21 17:48 appreg
drwxr-xr-x   3 thufir users 4.0K Mar 23 10:54 firefox
drwxr-xr-x   2 thufir users 4.0K Mar 22 13:55 plugins
localhost ~ # ls -hal /home/thufir/.mozilla/firefox/
total 24K
drwxr-xr-x  3 thufir users 4.0K Mar 23 10:54 .
drwxr-xr-x  4 thufir users 4.0K Mar 23 10:40 ..
drwx--  5 thufir users 4.0K Mar 23 10:55 dif1d0z2.default
-rw---  1 thufir users 4.3K Mar 23 10:54 pluginreg.dat
-rw-r--r--  1 thufir users   94 Mar 21 17:47 profiles.ini
localhost ~ # rm /home/thufir/.mozilla/firefox/pluginreg.dat -v
removed `/home/thufir/.mozilla/firefox/pluginreg.dat'
localhost ~ # ls -hal /home/thufir/.mozilla/firefox/
total 16K
drwxr-xr-x  3 thufir users 4.0K Mar 23 10:58 .
drwxr-xr-x  4 thufir users 4.0K Mar 23 10:40 ..
drwx--  5 thufir users 4.0K Mar 23 10:55 dif1d0z2.default
-rw-r--r--  1 thufir users   94 Mar 21 17:47 profiles.ini
localhost ~ # exit
logout
[EMAIL PROTECTED] ~ $ whoami
thufir
[EMAIL PROTECTED] ~ $ firefox
No running windows found

Usage: /usr/bin/acroread [options] [list of files]

Options:
--display=DISPLAY
This option specifies the host and display to use.
--screen=SCREEN
X screen to use. Use this options to override the
screen part of the DISPLAY environment variable.
--sync
Make X calls synchronous. This slows down the program considerably.
-geometry [widthxheight][{+|-}x offset{+|-}y offset]
Size and/or location of the document windows.
Note: this option is position dependent, and can be
specified multiple times. The geometry specified only
affects the list of files following it.
-help
Prints the common command-line options.
-iconic
Launches in an iconic state on the desktop.
-setenv var=value
Tells the main application to perform the equivalent of
C-shell setenv var value.
-tempFile
Indicates files listed on the command line are temporary files
and should not be put in the recent file list.  The document
title will be the title in the pdf document, instead of the
filename.
-tempFileTitle title
Same as -tempFile, except the title is specified.
-toPostScript [options] pdf_file ... [ps_dir]
-toPostScript [options] -pairs pdf_file_1 ps_file_1 ...
-toPostScript [options]
Converts the given pdf_files to PostScript.

In the first form, if the last file specified is a directory,
then all preceding files will be converted to PostScript
and the generated PostScript files will be placed into ps_dir.
If a directory is not specified, then the PostScript files
will be placed in the same directory as the original file.

In the second form, the file list contains pairs, each
consisting of a PDF filename and a corresponding PostScript
filename.

The third form specifies a filter, reading a PDF file from
standard input and writing the PostScript file to standard
output.

Note: When using -toPostScript it must be the first argument
passed in on the command line.

The following are valid options for the conversion of PDF to
PostScript:

-binary - emit binary PostScript where possible
-start int - identify the first page in the document to be
   converted (default is the first page of the document)
-end int - identify the last page in the document to be
   converted (default is the last page of the document)
-optimizeForSpeed - emit PostScript such that all fonts are
   emitted once at the beginning of the document.  This
   results in faster transmission times and smaller
   PostScript documents but requires more PostScript printer
   virtual memory.
-landscape - rotate the pages to print landscape
-reverse - reverse 

Re: [gentoo-user] skype experiences: good/bad/etc

2006-03-23 Thread Frédéric Grosshans

 Question is, why other guys do not start a real open source project to
 make a phone application?

tou mean like ekiga http://www.ekiga.org ?

Fred

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Have portage lost its memory?

2006-03-23 Thread Jules Colding
On Thu, 2006-03-23 at 10:40 +0100, Jules Colding wrote:
 So what exactly is going on here?

Having an SSH session on another machine and forgetting ll about it.

Please forgive my stupidity here.

Sorry,
  jules



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Have portage lost its memory?

2006-03-23 Thread Teresa and Dale
Jules Colding wrote:

On Thu, 2006-03-23 at 10:40 +0100, Jules Colding wrote:
  

So what exactly is going on here?



Having an SSH session on another machine and forgetting ll about it.

Please forgive my stupidity here.

Sorry,
  jules



  

I thought only I could do that.  Funny ain't it?

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE version

2006-03-23 Thread Petr Kocmid
On Wednesday 22 March 2006 08:31, Hemmann, Volker Armin wrote:
 On Wednesday 22 March 2006 02:42, Boyd Stephen Smith Jr. wrote:
   But the times, that gentoo was pretty actual in the stable tree are
   over.
  You do realize the above sentence makes no freakin' sense, right?
 nope.
 If I had realized that, I would have not written it.
 Gentoo was once VERY up to date, but than the 'stable mania' started and
 since then, gentoo needs way to much time to get new versions into the
 stable tree.
 3.5.0 is out for ages.
 3.5.1 is out for ages
 Stable is 3.4.3...
 that is so sad.

I am already running 3.5.1 for ages. Perhaps ' so sadness' is no proper mental 
attitude to achieve the upgrade. package.keywords is my friend, 300+ packages 
at bleeding edge versions.

-- 

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



Re: [gentoo-user] Have portage lost its memory?

2006-03-23 Thread Jules Colding
On Thu, 2006-03-23 at 06:26 -0600, Teresa and Dale wrote:
 Jules Colding wrote:
 
 On Thu, 2006-03-23 at 10:40 +0100, Jules Colding wrote:
   
 
 So what exactly is going on here?
 
 
 
 Having an SSH session on another machine and forgetting ll about it.
 
 Please forgive my stupidity here.
 
 Sorry,
   jules
 
 I thought only I could do that.  Funny ain't it?

Not when you do it in public ;-)

-- 
  jules


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Sendmail virtusertable

2006-03-23 Thread Hiren Dave
Hi,
I am running sendmail 8.13 on RHELv4WS. Now I have configured this server1 as mailhub.I have enter below lines in the /etc/mail/virtusertable file.
##/etc/mail/virtusertable[EMAIL PROTECTED][EMAIL PROTECTED]@
yahoo.com[EMAIL PROTECTED]#
Then I run this command.
# m4 virtusertable  virtusertable.db# service sendmail restart# echo Nice to meet you. | mail -s Test [EMAIL PROTECTED]# echo Nice to meet you too. | mail -s Test 
[EMAIL PROTECTED]
But all two mails are in queue and delayed since last 5 hours.
Any idea whats wrong?
TnRHiren



Re: [gentoo-user] skype experiences: good/bad/etc

2006-03-23 Thread Pongracz Istvan
Looks fine.
thank you

Frédéric Grosshans wrote:
 Question is, why other guys do not start a real open source project to
 make a phone application?
 
 tou mean like ekiga http://www.ekiga.org ?
 
   Fred
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Have portage lost its memory?

2006-03-23 Thread Toby 'qubit' Cubitt
On Thu, Mar 23, 2006 at 01:43:15PM +0100, Jules Colding wrote:
 On Thu, 2006-03-23 at 06:26 -0600, Teresa and Dale wrote:
  Jules Colding wrote:
  
  On Thu, 2006-03-23 at 10:40 +0100, Jules Colding wrote:

  
  So what exactly is going on here?
  
  
  
  Having an SSH session on another machine and forgetting ll about it.
  
  Please forgive my stupidity here.
  
  Sorry,
jules
  
  I thought only I could do that.  Funny ain't it?
 
 Not when you do it in public ;-)

I used to give the shell prompts different colours on different
machines to help avoid this. Or rather, the local one would always be
the same colour, but shells under ssh sessions were colour-coded by
machine.

I've lost the script I wrote for this somewhere in the mists of time
(if I remember right, it was copied and hacked from a bash prompt
example that colour-coded according to the login type: ssh, telnet,
local, etc.)

Someday I might get round to recreating it...

Toby
-- 
PhD Student
Quantum Information Theory group
Max Planck Institute for Quantum Optics
Garching, Germany

email: [EMAIL PROTECTED]
web: www.dr-qubit.org
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Have portage lost its memory?

2006-03-23 Thread Jules Colding
On Thu, 2006-03-23 at 14:36 +0100, Toby 'qubit' Cubitt wrote:
   Having an SSH session on another machine and forgetting ll about it.
   
   Please forgive my stupidity here.
   
   Sorry,
 jules
   
   I thought only I could do that.  Funny ain't it?
  
  Not when you do it in public ;-)
 
 I used to give the shell prompts different colours on different
 machines to help avoid this. Or rather, the local one would always be
 the same colour, but shells under ssh sessions were colour-coded by
 machine.
 
 I've lost the script I wrote for this somewhere in the mists of time
 (if I remember right, it was copied and hacked from a bash prompt
 example that colour-coded according to the login type: ssh, telnet,
 local, etc.)
 
 Someday I might get round to recreating it...

That would be helpful.

Best regards,
  jules



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sendmail virtusertable

2006-03-23 Thread jarry
Hiren Dave [EMAIL PROTECTED] wrote:

 I have enter below lines in the /etc/mail/virtusertable file.
 [EMAIL PROTECTED]  [EMAIL PROTECTED]
 @yahoo.com  [EMAIL PROTECTED]
 
 Then I run this command.
 # m4 virtusertable  virtusertable.db
 # service sendmail restart
 # echo Nice to meet you. | mail -s Test [EMAIL PROTECTED]
 # echo Nice to meet you too. | mail -s Test [EMAIL PROTECTED]
 
 But all two mails are in queue and delayed since last 5 hours.

Do you have corresponding MX-record?
I mean, nameserver authorised for guru.com domain must have
MX record in guru.com zonefile, which says that server1.guru.com
is mailserver for guru.com domain, something like (for bind):

guru.com. IN MX 10 server1.guru.com.

Jarry

-- 
Feel free mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LG L1730P in 1280x1024 - solved

2006-03-23 Thread Stefán István
csütörtök 23 március 2006 08.30 dátummal Stefán István ezt írta:
 csütörtök 23 március 2006 07.30 dátummal Stefán István ezt írta:
  Hello again,
 
  I tried to execute xvidtune -show during my monitor is in big
  resolutions:
 
  # xvidtune -show
  800x600  49.50800  816  896 1056600  601  604  625 +hsync
  +vsync
 
  # xvidtune -show
  1024x768 78.80   1024 1040 1136 1312768  769  772  800 +hsync
  +vsync
 
  # xvidtune -show
  1280x1024   108.00   1280 1328 1440 1688   1024 1025 1028 1066 +hsync
  +vsync
 
  I dont't know exactly what does these numbers mean, but maybe it could
  help you to figure out what's the problem.

 I found out another thing:
 if I change my card type from mga to vesa, the monitor displays 1280x1024.
 Maybe it's not a refresh related problem at all???

I changed my Matrox G550 card to a Radeon 7500, executed the Xorg -configure 
command, and the created config file works perfectly. It seems that something 
was wrong with tha matrox card or with the matrox driver.

Thanks for the help!

Istvan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Have portage lost its memory?

2006-03-23 Thread Bo Andresen
On Thursday 23 March 2006 15:07, Jules Colding wrote:
  I used to give the shell prompts different colours on different
  machines to help avoid this. Or rather, the local one would always be
  the same colour, but shells under ssh sessions were colour-coded by
  machine.
 
  I've lost the script I wrote for this somewhere in the mists of time
  (if I remember right, it was copied and hacked from a bash prompt
  example that colour-coded according to the login type: ssh, telnet,
  local, etc.)
 
  Someday I might get round to recreating it...

 That would be helpful.

Here is an example that you could put in your .bashrc:

# Is this an ssh connection?
if [[ ! -z ${SSH_TTY} ]]; then
# Set prompt to \green([EMAIL PROTECTED]) \blue($PWD \$) green(..
PS1='\[\033[01;[EMAIL PROTECTED] \[\033[01;34m\]\w \$ \[\033[01;32m\]'
# Not an ssh connection
else
# Set prompt to \green([EMAIL PROTECTED]) \blue($PWD \$) black(..
PS1='\[\033[01;[EMAIL PROTECTED] \[\033[01;34m\]\w \$ \[\033[00m\]'
fi

If you want other colors or whatever refer to man console_codes.

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] ftp -- connection refused

2006-03-23 Thread maxim wexler
Hi everyone,

Can't get this thing to work on a crossover LAN. Pings
OK, route etc. I've edited the /etc/hosts file every
which way. Currently it's


127.0.0.1   sarawak localhost
192.168.0.2 xlan yeti  
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

The other PC is similar but with the address of the
present machine, natch. 

Turning on debug elicits the following:

Servname not supported for ai_socktype.

But it's not completely non-functional, iptraf reveals
a burst of activity when the connection is attempted.

This should work. It worked with the same PCs a few
months ago before I wiped the drives and started over.

-Maxim


__
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] Several problems of a newbie

2006-03-23 Thread maxim wexler


--- Meino Christian Cramer [EMAIL PROTECTED]
wrote:

 Hi,
 
  ...thanks a lot for all your helping answers to my
 previous
  questions!
  I opened a new thread, because I got some problems.
 
  In the meanwhile my gentoo system has grown fast.
 KDE is
  installed, X is installed and other nice things,
 too.
 
  But there are some little oddities:
  I installed a vanilla kernel, cause I dont like
 patched kernel
  sources that much. It is only a feeling and by no
 means a mistrust in
  the gentoo developpers...but...(sorry). 
 
 --
 
  First problem:
  I configured the kernel to accept the parameter 
 vga= and added 9
  for the mode, which I found working on my old
 system very well. I
  used the same config (same hardware, same PC) on my
 new system.
 
  What happens? The kernel boots and shows the tiny
 font I like so
  much. But suddenly while working on the
 bootscripts, the size of the
  fonts switched to a bigger (ugly, rectangle-shaped
 font). More
  mysterious: ALL BLUE letters were cancelled by a
 horizontal bar. Only
  the blue ones (I am NOT joking! ;O)
 
  Since the boot process was that fast, I couldn't
 realize, what stage
  of the boot was currently processed.
 
  --
 
  Second problem:
  I wanted to emerge gnome. After a while this fails
 with:
 
In file included from apmsleep.c:57:
/usr/include/time.h:160: error: redefinition of
 `struct itimerspec'
/usr/src/linux/include/asm/smp.h:37: warning:
 array 'cpu_sibling_map' assumed to
 have one element
/usr/src/linux/include/asm/smp.h:38: warning:
 array 'cpu_core_map' assumed to ha
ve one element
/usr/src/linux/include/asm/smp.h:46: warning:
 array 'x86_cpu_to_apicid' assumed
to have one element
/usr/src/linux/include/asm/hw_irq.h:30: error:
 storage size of `irq_vector' isn'
t known
/usr/src/linux/include/linux/irq.h:99: error:
 storage size of `irq_affinity' isn
't known
/usr/src/linux/include/linux/irq.h:115: error:
 storage size of `pending_irq_cpum
ask' isn't known
apmsleep.c:60: warning: 'rcsid' defined but not
 used
{standard input}: Assembler messages:
{standard input}:125: Warning: size of _sigpoll
 is already 8; not changing to
4
make: *** [apmsleep.o] Error 1
rm apm.o
!!! ERROR: sys-apps/apmd-3.2.1_p4 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build
 error, NOT this status message.
 
  I couldn't save more of this, since that was all I
 could see on the
  screen (big font problem...see above).
 
  --
 
  Third problem:
  While emerging something often there are messages
 displayed as fast
  as they are vanishing in the endless space of bits
 behind my monitor
  ;O)
 
  Is there any logfile of the emerging process
 written to somewhere ?
 

Yes if you emerged a file logger of some sort. Then
it'll be under /var/logs

 
  Kind regard and thank you very much for any helpful
 reply in advance
  ! :)
  mcc
 -- 
 gentoo-user@gentoo.org mailing list
 
 


__
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] Current state of the Gentoo installation process

2006-03-23 Thread Michael Kintzios


 -Original Message-
 From: Neil Bothwick [mailto:[EMAIL PROTECTED] 
 Sent: 23 March 2006 00:56
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Current state of the Gentoo 
 installation process
 
 
 On Wed, 22 Mar 2006 15:12:25 -0800, Grant wrote:
 
   Also, if you start with Stage3, you may not even need to 
 rebuild the
   installed packages, as if it's been a little while since 
 the Stage3
   image was created, there will be new versions of 
 everything, so you'd
   be rebuilding when you do a 'emerge -u system' anyways.
 
  Nice.  Is there a slick way to determine if there are any 
 pre-compiled
  packages left on the system after the first 'emerge -u system'?
 
 touch /tmp/firstupdate
 emerge --update --deep --newuse world
 find /var/db/pkg/ -maxdepth 2 -mindepth 2 -type d ! -newer 
 /tmp/firstupdate

In time you will end up rebuilding the lot anyway - assuming you emerge
-u world every now and then.  The problem with the stage1 was that it
left some cruft behind in the portage and system.  Hence, the build a
stage1 using a stage3 install series of howto's in the forums.
-- 
Regards,
Mick


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem

2006-03-23 Thread Joseph
A week ago I was posted a message when struggling trying to copy my
own DVD with:
dd if=/dev/dvd of=backup.iso  or
cat /dev/dvd backup.iso

After following several leads from Gentoo folks (including replacing DVD
cable) I've narrow it down to problem with dma resetting itself on
eject. 

When I boot the computer (amd64) the DVD DMA is ON 
[quote]using_dma = 1 (on) 

At this point I can make as many copies as I want using commands dd or
cat but I can not issue eject command 
eject /dev/hdc

As soon as I eject the CD (and reinsert it) the status of DMA is
changing on the DVD 
using_dma = 0 (off) 
And at this point make no difference if I change that status back to
ON or not every subsequent DVD copy fails.

I've run onto few posting on Google regarding DMA resetting itself but
no solution.
-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How to tar?

2006-03-23 Thread Michael Kintzios
I think I need to go back to basics here to get out of a hole:

I have move my /usr onto a different machine as part of a migration
exercise, but the partition in question will barely contain it.  Is
there a way of running tar so that:

1. Only part of /usr is untarred in a different partition (all of
/usr/*, except /usr/portage which I want to eventually untar it and keep
it in there).
2. Those directories which are untarred are also removed from the .tgz
file so that there is enough space left behind to untar the /usr/portage
directory.
3. Finally, /usr/portage is now untarred into the said partition and the
 tgz file is deleted thereafter.

Could you please help with the command/piping syntax?
-- 
Regards,
Mick


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to tar?

2006-03-23 Thread Michael Crute
On 3/23/06, Michael Kintzios [EMAIL PROTECTED] wrote:
 I think I need to go back to basics here to get out of a hole:

 I have move my /usr onto a different machine as part of a migration
 exercise, but the partition in question will barely contain it.  Is
 there a way of running tar so that:

 1. Only part of /usr is untarred in a different partition (all of
 /usr/*, except /usr/portage which I want to eventually untar it and keep
 it in there).
 2. Those directories which are untarred are also removed from the .tgz
 file so that there is enough space left behind to untar the /usr/portage
 directory.
 3. Finally, /usr/portage is now untarred into the said partition and the
  tgz file is deleted thereafter.

 Could you please help with the command/piping syntax?

Hmm... basics... I would start with `man tar` and see where that takes you.

-Mike

--

Michael E. Crute
http://mike.crute.org

It is a mistake to think you can solve any major problems just with potatoes.
--Douglas Adams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to tar?

2006-03-23 Thread Etaoin Shrdlu
On Thursday 23 March 2006 17:46, Michael Kintzios wrote:

 I think I need to go back to basics here to get out of a hole:

 I have move my /usr onto a different machine as part of a migration
 exercise, but the partition in question will barely contain it.  Is
 there a way of running tar so that:

 1. Only part of /usr is untarred in a different partition (all of
 /usr/*, except /usr/portage which I want to eventually untar it and
 keep it in there).
 2. Those directories which are untarred are also removed from the .tgz
 file so that there is enough space left behind to untar the
 /usr/portage directory.
 3. Finally, /usr/portage is now untarred into the said partition and
 the tgz file is deleted thereafter.

What about doing two separate tar files, one for /usr/portage and the 
other for the rest of /usr? Then untar each tar file into the 
appropriate partition.
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] How to tar?

2006-03-23 Thread Michael Kintzios


 -Original Message-
 From: Michael Crute [mailto:[EMAIL PROTECTED] 
 Sent: 23 March 2006 17:03
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] How to tar?
 
 
 On 3/23/06, Michael Kintzios [EMAIL PROTECTED] wrote:
  I think I need to go back to basics here to get out of a hole:
 
  I have move my /usr onto a different machine as part of a migration
  exercise, but the partition in question will barely contain it.  Is
  there a way of running tar so that:
 
  1. Only part of /usr is untarred in a different partition (all of
  /usr/*, except /usr/portage which I want to eventually 
 untar it and keep
  it in there).
  2. Those directories which are untarred are also removed 
 from the .tgz
  file so that there is enough space left behind to untar the 
 /usr/portage
  directory.
  3. Finally, /usr/portage is now untarred into the said 
 partition and the
   tgz file is deleted thereafter.
 
  Could you please help with the command/piping syntax?
 
 Hmm... basics... I would start with `man tar` and see where 
 that takes you.

Not very far.  ;-) That's why I'm asking for some quick help.  I also
need to add that I was seeking answers to the above questions in the
context of having access only to the new machine and three more
partitions on it, all of which are smaller than the total uncompressed
/usr directory.
-- 
Regards,
Mick


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] How to tar?

2006-03-23 Thread Michael Kintzios


 -Original Message-
 From: Etaoin Shrdlu [mailto:[EMAIL PROTECTED] 
 Sent: 23 March 2006 17:33
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] How to tar?
 
 
 What about doing two separate tar files, one for /usr/portage and the 
 other for the rest of /usr? Then untar each tar file into the 
 appropriate partition.

Thanks, but I won't be able to do that within the space confines of the
partitions available to me on the new machine.  They are all smaller
than the complete uncompressed /usr directory.  To have access to my old
box which has plenty of space to do that, I will have to wait until I
get back home in a couple of days.  I was just looking for a clever way
to do it all in the circumstances described.
-- 
Regards,
Mick


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: KDE version

2006-03-23 Thread Christopher O'Neill
I've been using 3.5.1 for a while also, imo it should stay in unstable
for now.  There are a few bugs with the desktop, Konqueror and
Kaffeine also has a habit of seg-faulting.  I am considering
rebuilding it with the debug flags to I can submit some useful bug
reports.

I think packages in stable should be stable as the name says, not
simply older than 30 days or whatever ;-)


- Chris

On 23/03/06, Petr Kocmid [EMAIL PROTECTED] wrote:
 On Wednesday 22 March 2006 08:31, Hemmann, Volker Armin wrote:
  On Wednesday 22 March 2006 02:42, Boyd Stephen Smith Jr. wrote:
But the times, that gentoo was pretty actual in the stable tree are
over.
   You do realize the above sentence makes no freakin' sense, right?
  nope.
  If I had realized that, I would have not written it.
  Gentoo was once VERY up to date, but than the 'stable mania' started and
  since then, gentoo needs way to much time to get new versions into the
  stable tree.
  3.5.0 is out for ages.
  3.5.1 is out for ages
  Stable is 3.4.3...
  that is so sad.

 I am already running 3.5.1 for ages. Perhaps ' so sadness' is no proper
 mental
 attitude to achieve the upgrade. package.keywords is my friend, 300+
 packages
 at bleeding edge versions.

 --

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




--

Chris

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to tar?

2006-03-23 Thread Michael Crute
On 3/23/06, Michael Kintzios [EMAIL PROTECTED] wrote:
  Hmm... basics... I would start with `man tar` and see where
  that takes you.

 Not very far.  ;-) That's why I'm asking for some quick help.  I also
 need to add that I was seeking answers to the above questions in the
 context of having access only to the new machine and three more
 partitions on it, all of which are smaller than the total uncompressed
 /usr directory.

In that case I would create /usr on one filesystem and /portage on
another partition then create /usr/portage and mount /portage to it
then untar your file. It should look like this:

/dev/hdx1 (/usr)
/dev/hdx2 (/portage)

/usr/portage - /portage

Seems to be the most straightforward way of doing it to me.

-Mike

--

Michael E. Crute
http://mike.crute.org

It is a mistake to think you can solve any major problems just with potatoes.
--Douglas Adams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: KDE version

2006-03-23 Thread Teresa and Dale
Christopher O'Neill wrote:

I've been using 3.5.1 for a while also, imo it should stay in unstable
for now.  There are a few bugs with the desktop, Konqueror and
Kaffeine also has a habit of seg-faulting.  I am considering
rebuilding it with the debug flags to I can submit some useful bug
reports.

I think packages in stable should be stable as the name says, not
simply older than 30 days or whatever ;-)


- Chris

  

Well, the only bug I have seen is when I try to change the permissions
with Konqueror and right clicking and selecting properties.  It gives me
a error and changes some of the changes but not all of them.  It takes
me a couple times to get them right.  I have not had any seg faulting
though.  Are you using good flags?  When I had some bad flags I had seg
faulting a lot, not just KDE either.

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Current state of the Gentoo installation process

2006-03-23 Thread Grant
Also, if you start with Stage3, you may not even need to
  rebuild the
installed packages, as if it's been a little while since
  the Stage3
image was created, there will be new versions of
  everything, so you'd
be rebuilding when you do a 'emerge -u system' anyways.
 
   Nice.  Is there a slick way to determine if there are any
  pre-compiled
   packages left on the system after the first 'emerge -u system'?
 
  touch /tmp/firstupdate
  emerge --update --deep --newuse world
  find /var/db/pkg/ -maxdepth 2 -mindepth 2 -type d ! -newer
  /tmp/firstupdate

 In time you will end up rebuilding the lot anyway - assuming you emerge
 -u world every now and then.  The problem with the stage1 was that it
 left some cruft behind in the portage and system.  Hence, the build a
 stage1 using a stage3 install series of howto's in the forums.
 --
 Regards,
 Mick

Alright, thanks guys.

- Grant

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Linewrap in vim

2006-03-23 Thread Michael Sullivan
Is there a way to turn off the line wrap function in vim/gvim?  I know
it doesn't actually wrap lines in the file - I just want to turn off the
visual line wrap in the editor.  Is that possible?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Linewrap in vim

2006-03-23 Thread Michael Crute
On 3/23/06, Michael Sullivan [EMAIL PROTECTED] wrote:
 Is there a way to turn off the line wrap function in vim/gvim?  I know
 it doesn't actually wrap lines in the file - I just want to turn off the
 visual line wrap in the editor.  Is that possible?

:set wrap!

You can add it to your .vimrc and .gvimrc if you like.

-Mike

--

Michael E. Crute
http://mike.crute.org

It is a mistake to think you can solve any major problems just with potatoes.
--Douglas Adams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Have portage lost its memory?

2006-03-23 Thread alain . didierjean
Selon Toby 'qubit' Cubitt [EMAIL PROTECTED]:


 I used to give the shell prompts different colours on different
 machines to help avoid this. Or rather, the local one would always be
 the same colour, but shells under ssh sessions were colour-coded by
 machine.

 I've lost the script I wrote for this somewhere in the mists of time
 (if I remember right, it was copied and hacked from a bash prompt
 example that colour-coded according to the login type: ssh, telnet,
 local, etc.)

Here's one I use to make a difference between root (red prompt) and user
(green).
As for other stations, their prompt stays white. Hope it can help :

[ $UID -eq 0 ]  PS1=\e[1;[EMAIL PROTECTED] : \W \! # \e[0m || 
PS1=\e[1;[EMAIL PROTECTED] :
\W \! $ \e[0m

More readable version
if test $UID = 0 ; then
PS1=\e[31m\h:\w # \e[0m
else
PS1=[EMAIL PROTECTED]:\w \!\e[0m 
fi

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file limit

2006-03-23 Thread JimD
On Wed, 22 Mar 2006 20:50:26 -0500
Bruce Therrien [EMAIL PROTECTED] wrote:

 Is there a limit to the files contained in a directory?

No.  Though the file system type can have an affect on performance if
there are a lot of files/directories.  For example, reiserfs is much
faster at handling a lot of files than ext[23].  What file system are
you using?

 we have over 19,000 in our store graphics directory
 and sometimes cannot acces it because the ftp 
 software says it's not a directory.
 It's on an IBM server running gentoo.

I would think it is the ftp software and not the file system or
server.  19,000 is not a huge number.  I have an AMD64 3200+ with 2 GB
of dual channel DDR 400 and a SATA II drive with reiserfs v3.  The
system is speedy but certainly nothing high end.  Here is a test I
just did:


# Touch 19,000 files
[EMAIL PROTECTED] $ mkdir /tmp/bigdir
[EMAIL PROTECTED] $ cd /tmp/bigdir
[EMAIL PROTECTED] $ time for i in $(seq 0 19000); do touch $i; done
real0m23.318s
user0m6.370s
sys 0m16.364s

# list 19,000 files
[EMAIL PROTECTED] $ time ls -l
real0m1.481s
user0m0.235s
sys 0m0.163s

# Remove 19,000 files
[EMAIL PROTECTED] $ time find . -exec rm {} \;
real0m12.555s
user0m3.834s
sys 0m8.545s

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



[gentoo-user] Re: dd if=/dev/dvd of=backup.iso - DMA related problem

2006-03-23 Thread Sven Köhler
 I've run onto few posting on Google regarding DMA resetting itself but
 no solution.

That is simply annoying, that the Linux-Kernel resets DMA.

You could try hdparm -k1 - but somethimes that doesn't help either.



signature.asc
Description: OpenPGP digital signature


[gentoo-user] USB TV / Video capture devices

2006-03-23 Thread Joseph
Are there any USB type TV / Video capture devices that works with Linux?

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



Re: [gentoo-user] Init sequence

2006-03-23 Thread Sergio Polini
Ryan Tandy:
 Try calling your favorite rc-script with 'help' as the argument (for
 example, /etc/init.d/net.eth0 help).  This gives a fairly detailed
 description of what you're asking.

Neil Bothwick:
 Run any init script with help instead of start/stop and you'll see
 a fairly comprehensive explanation.

Yes, at least I can understand what net means.
Thanks!

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



Re: [gentoo-user] Re: dd if=/dev/dvd of=backup.iso - DMA related problem

2006-03-23 Thread Joseph
On Thu, 2006-03-23 at 20:18 +0100, Sven Köhler wrote:
  I've run onto few posting on Google regarding DMA resetting itself but
  no solution.
 
 That is simply annoying, that the Linux-Kernel resets DMA.
 
 You could try hdparm -k1 - but somethimes that doesn't help either.

Yes, I've tried -k1 too, it doesn't help.
It seems like kernel bug, I was able to duplicate resetting CD/DVD DMA
on both machines:
amd64 with BenQ DVD writer and
x86 with Plextor CD writer

-- 
#Joseph

-- 
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] How to tar?

2006-03-23 Thread Michael Kintzios
 From:: Michael Crute [EMAIL PROTECTED]
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] How to tar?
 Date: Thu, 23 Mar 2006 12:32:55 -0500

 In that case I would create /usr on one filesystem and /portage on
 another partition then create /usr/portage and mount /portage to it
 then untar your file. It should look like this:
 
 /dev/hdx1 (/usr)
 /dev/hdx2 (/portage)
 
 /usr/portage - /portage
 
 Seems to be the most straightforward way of doing it to me.

Cool!  As things currently are gentoo_usr.tgz is in /dev/hda2, which is 
destined to house the /usr/portage directory.  /dev/hda2 is a 4.0G partition 
with only 74M available.  My /usr is more than 3.9G large.  /dev/hda3 will have 
the rest of the filesystem (and the remaining /usr directory).

What should I run to untar the rest of /usr (excluding /usr/portage) into 
/dev/hda3 and at the same time delete it from within the gentoo_usr.tgz 
archive, so that I get some space in /dev/hda2 to untar /usr/portage?  Really, 
what I think is needed here is untarring of the archive, while untarred data is 
dynamically deleted immediately after untarred to make space for more data to 
be untarred . . . do I make sense?
-- 
Regards,
Mick

Lycos iQ - show what you knoW: iq.lycos.co.uk

[gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Meino Christian Cramer
Hi,

 in general I like systems to be more secure.

 But in the current configuration'n'installing phase of my new linux
 my system is a little too secure:

 I can login as root at the text console.

 But as soon as I login as normal user, start X (startx) and try an
 su I'll get fired. No chance.

 I tried to remove /etc/securetty (by renaming it) and I read
 /etc/login.def but nothing helps.

 Where do I have to tweak to allow su from xterm, mrxvt or whatever
 owned by a normal user ?

 (background: k3b's k3bsetup needs root privileges to run
  successfully...)
 (background2: I am running some of kde's applikations, but only IceWM
  as environment. But this is not the reason for the behaviour
  described above...)

 Thank you very much for any helpful reply !

 Keep hacking!
 mcc
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Etaoin Shrdlu
On Thursday 23 March 2006 21:35, Meino Christian Cramer wrote:

  Where do I have to tweak to allow su from xterm, mrxvt or whatever
  owned by a normal user ?

I think you just need to add the user to the wheel group.
HTH
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB TV / Video capture devices

2006-03-23 Thread Renat Golubchyk
On Thu, 23 Mar 2006 12:22:00 -0700 Joseph [EMAIL PROTECTED] wrote:
 Are there any USB type TV / Video capture devices that works with
 Linux?

Check out http://www.linuxtv.org/


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


[gentoo-user] big trouble with emerge

2006-03-23 Thread Allan Spagnol Comar
Hi list wise guys, I am trying to run emerge --metadata on a fresh
installed gentoo box and all I am receiving is segmentation fault
What Can I do, I can not emerge the rest of the systems I have to use
because emerge stops with segmentation fault every time .. :(

--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] autofs, supermount, submount... which is best for Gentoo?

2006-03-23 Thread hawat . thufir

On Thu, 23 Mar 2006, [EMAIL PROTECTED] wrote:


From: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] autofs, supermount,
submount... which is best for  Gentoo?

On Wed, 13 Oct 2004, Jochen Schalanda wrote:


 From: Jochen Schalanda [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] autofs, supermount,
 submount... which is best for  Gentoo?
 Newsgroups: linux.gentoo.user

 On 10/13/2004 11:10 PM, Felix Tiede wrote:

   submount is supposed to supersede supermount as supermount is running
 in
   kernel-space, while submount is a user-space-tool.

 I think that is not quite correct. submount is a kernel module, hence it
 runs in kernel space. A userspace solution for automounting would be
 dbus+hal+ivman or gnome-volume-manager.

 I tried supermount, submount, and dbus+hal+ivman and at the moment I like
 submount best since it perfectly fits my needs. But as already said, all
 the programs (automount, supermount, submount, ivman) have a slightly
 different featureset, so one should really try them all and decide
 afterwards which one to choose.

 Jochen



Very informative, thanks.  I think I'll go with submount.


-Thufir







localhost ~ #
localhost ~ #
localhost ~ # emerge -vp submount

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] sys-fs/submount-0.9-r2  159 kB

Total size of downloads: 159 kB
localhost ~ # emerge  submount
Calculating dependencies ...done!

emerge (1 of 1) sys-fs/submount-0.9-r2 to /
Downloading 

http://distfiles.gentoo.org/distfiles/submount-2.4-0.9.tar.gz
--15:04:32-- 
http://distfiles.gentoo.org/distfiles/submount-2.4-0.9.tar.gz

   = `/usr/portage/distfiles/submount-2.4-0.9.tar.gz'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 
216.165.129.135, ...

Connecting to distfiles.gentoo.org|64.50.238.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88,203 (86K) [application/x-gzip]

100%[] 88,20326.49K/sETA 
00:00


15:04:36 (26.47 KB/s) - `/usr/portage/distfiles/submount-2.4-0.9.tar.gz' 
saved [88203/88203]



Downloading http://distfiles.gentoo.org/distfiles/submount-0.9.tar.gz

--15:04:36--  http://distfiles.gentoo.org/distfiles/submount-0.9.tar.gz
   = `/usr/portage/distfiles/submount-0.9.tar.gz'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 
216.165.129.135, ...

Connecting to distfiles.gentoo.org|64.50.238.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 75,476 (74K) [application/x-gzip]

100%[] 75,47664.24K/s

15:04:38 (64.11 KB/s) - `/usr/portage/distfiles/submount-0.9.tar.gz' saved 
[75476/75476]



md5 files   ;-) submount-0.9-r2.ebuild
md5 files   ;-) files/digest-submount-0.9-r2
md5 src_uri ;-) submount-2.4-0.9.tar.gz
md5 src_uri ;-) submount-0.9.tar.gz

 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux 
sources.

 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find 
.config.


!!! ERROR: sys-fs/submount-0.9-r2 failed.
!!! Function linux-info_pkg_setup, Line 537, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status 
message.


localhost ~ #
localhost ~ # date
Thu Mar 23 15:05:01 GMT 2006
localhost ~ #




I'm not sure what's meant by the topmost build error, but as it's not too 
large, I included everything.



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



Re: [gentoo-user] autofs, supermount, submount... which is best for Gentoo?

2006-03-23 Thread Neil Bothwick
On Thu, 23 Mar 2006 15:06:59 + (GMT), [EMAIL PROTECTED] wrote:

   * Determining the location of the kernel source code
   * Found kernel source directory:
   * /usr/src/linux
   * Could not find a usable .config in the kernel source directory.
   * Please ensure that /usr/src/linux points to a configured set of
 Linux sources.

As it says, make sure /usr/src/linux is a link to a kernel source you
have configured, usually the running kernel. It looks like it currently
points to newly-installed sources that you have not yet run make
menuconfig/xconfig on.


-- 
Neil Bothwick

WinErr 012: Window closed - Do not look inside


signature.asc
Description: PGP signature


[gentoo-user] Re: fstab

2006-03-23 Thread James
Keats neokeats at wanadoo.fr writes:


  I have set my /etc/fstab following the instractions of the Handbook. In the 
  example there is this entry:
  
  /dev/cdroms/cdrom0   /mnt/cdrom auto   noauto,user0  0

 you have to know the device of your cdrom 
 generaly it's a secondary master ide 
 /dev/hdc 
 so set fstab to : 
 /dev/hdc /mnt/cdrom auto   noauto,user0  0


Interest, I gues I missed this upgrading to udev, some time ago.
One one system I both  cd/DVDrom and a dvdrw dual layer. The NEC
3550A is a dual layer DVD RW which also support many CD  DVD 
formats.

grepping the dmesg file I see both devices:

ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:DMA
hdc: _NEC DVD_RW ND-3550A, ATAPI CD/DVD-ROM drive
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
and
  
hdd: CDU5211, ATAPI CD/DVD-ROM drive
hdd: ATAPI 52X CD-ROM drive, 120kB Cache, UDMA(33)


so I should make my /etc/fstab look like this?

/dev/hdc /mnt/?auto   noauto,user0  0
/dev/hdd /mnt/cdromauto   noauto,user0  0

I also have hal/ivman/dbus  installed.

sometimes ejecting media from the command line is a challege.


James





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] autofs, supermount, submount... which is best for Gentoo?

2006-03-23 Thread Holly Bostick
[EMAIL PROTECTED] schreef:
 
 Very informative, thanks.  I think I'll go with submount.

 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done! [ebuild  N] 
 sys-fs/submount-0.9-r2  159 kB
 
 Total size of downloads: 159 kB localhost ~ # emerge  submount 
 Calculating dependencies ...done!
 emerge (1 of 1) sys-fs/submount-0.9-r2 to /
 snip 15:04:38 (64.11 KB/s) - 
 `/usr/portage/distfiles/submount-0.9.tar.gz' saved [75476/75476]
 
 md5 files   ;-) submount-0.9-r2.ebuild md5 files   ;-) 
 files/digest-submount-0.9-r2 md5 src_uri ;-) 
 submount-2.4-0.9.tar.gz md5 src_uri ;-) submount-0.9.tar.gz
 * Determining the location of the kernel source code * Found kernel 
 source directory: * /usr/src/linux * Could not find a usable 
 .config in the kernel source directory. * Please ensure that 
 /usr/src/linux points to a configured set of Linux sources. * If you 
 are using KBUILD_OUTPUT, please set the environment var so that * it 
 points to the necessary object directory so that it might find 
 .config.
 
 !!! ERROR: sys-fs/submount-0.9-r2 failed. !!! Function 
 linux-info_pkg_setup, Line 537, Exitcode 1 !!! Unable to calculate 
 Linux Kernel version !!! If you need support, post the topmost build 
 error, NOT this status message.
 

 
 I'm not sure what's meant by the topmost build error, but as it's not
  too large, I included everything.
 

What is meant is the last output right before ERROR:; in this
case, it is

* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux
sources.

This package compiles against the kernel, as you can see from

  * Determining the location of the kernel source code
  * Found kernel source directory:
  * /usr/src/linux

However, the kernel source that the /usr/src/linux symlink points to has
not been configured using make (menu/x)config.

Therefore there is no .config file that the package can examine to
ensure that the kernel source in question has/will be built with the
support that the package requires.

You don't have to build or install this kernel source, but you do have
to configure it (properly for the submount package) before you attempt
to install the submount package. I'd think that the wiki entry will
detail the necessary kernel settings.

Hope this helps.
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: fstab

2006-03-23 Thread Keats
Le jeudi 23 mars 2006 à 21:08 +, James a écrit :

 so I should make my /etc/fstab look like this?
 
 /dev/hdc /mnt/?auto   noauto,user0  0
 /dev/hdd /mnt/cdromauto   noauto,user0  0

mkdir /mnt/cdrom2
/dev/hdc /mnt/cdrom2auto   noauto,user0  0
/dev/hdd /mnt/cdromauto   noauto,user0  0

:)


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread Holly Bostick
JimD schreef:
 I have been using Linux for a number of years and the one trick I 
 have never read how to do is something like:
 
 sudo echo app-portage/porthole ~*  /etc/portage/package.keywords

Well this one I do with a set of revised command nicked from the list,
entered into ~/.bashrc, and requiring that

1) su is one of the commands that you are allowed to execute via sudo

2) you are exempted from needing to enter a password for 'sudo su':

addkey(){
   sudo su -c echo $*  /etc/portage/package.keywords
 }

adduse(){
   sudo su -c echo $*  /etc/portage/package.use
 }

addmask(){
   sudo su -c echo $*  /etc/portage/package.mask
 }

addunmask(){
   sudo su -c echo $*  /etc/portage/package.unmask
 }

The general idea being that a) sudo seems to be a bit weird; even though
it allows you to perform operations as if you are root, it doesn't do so
by pretending that you _are_ root, so you still couldn't write to the
/etc/portage/package.* files; b) su does pretend you are root, but su
alone only just re-logs you in, rather than actually allowing you to
execute a command-- unless you use the -c switch. su -c then says,
whatever follows this switch is a command that you should execute as
root. But of course, since echo $* (where $* stands for what I typed
after addkey)  /etc/portage/package.* is a complex command,
containing spaces, the syntax of the command following sudo su -c needs
to be quoted.


 
 Another one I always wanted to know if it is possible is:
 
 sudo  /var/log/foo.log

I'm sure it is, with a bit of creativity, though I honestly don't know
what your intention is in any case, since this looks to me like you're
logging the output of the sudo command to foo.log (but since there is no
output really to typing 'sudo', I have no idea what result you might
expect).

Anyway, hope this is to some degree helpful; what you most likely want
to do is read up on bash scripting to understand how to chain the
commands that do what you want to get done with sudo. Depending on your
goals, you might also consider aliasing (alias etc-update=sudo
etc-update), and fine-tuning your visudo to allow you to run specific
apps with sudo, preferably without a password, since if you have to type
the password everytime you want to do sudo emerge, you might as well
just su, imo.

Good luck,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread Daniel da Veiga
On 3/23/06, JimD [EMAIL PROTECTED] wrote:
 I have been using Linux for a number of years and the one trick I
 have never read how to do is something like:

 sudo echo app-portage/porthole ~*  /etc/portage/package.keywords

if you do this, you'll execute sudo echo and try to redirect the
output as the normal user, because the shell doesn't know you're
sudoying ;)

Sudo takes a command as parameter, enclose the whole command in quotes
and try again, like this:

sudo echo app-portage/porthole ~*  /etc/portage/package.keywords


 Another one I always wanted to know if it is possible is:

 sudo  /var/log/foo.log

Same as above...


 Both give me error message.  Are either of these command possible?

 I used to always just use su, though now I like sudo better.  I just
 can't for the life of me get sudo echo or sudo  to work.  I can
 sudo su and then do the commands, however I am lazy and want to save
 having to exit out from su.

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




--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: dd if=/dev/dvd of=backup.iso - DMA related problem

2006-03-23 Thread Joseph
On Thu, 2006-03-23 at 16:15 -0500, JimD wrote:
 On Thu, 23 Mar 2006 12:54:44 -0700
 Joseph [EMAIL PROTECTED] wrote:
 
  Yes, I've tried -k1 too, it doesn't help.
  It seems like kernel bug, I was able to duplicate resetting CD/DVD DMA
  on both machines:
  amd64 with BenQ DVD writer and
  x86 with Plextor CD writer
 
 It might be a bug, though it probably is only for certain drives.  I
 have a LITE-ON DVDRW LDW-451S on amd64.  Here is a test I just ran:
 
 
 [EMAIL PROTECTED] $ sudo hdparm /dev/hdc
 /dev/hdc:
  IO_support   =  1 (32-bit)
  unmaskirq=  1 (on)
  using_dma=  1 (on)
  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead= 256 (on)
  HDIO_GETGEO failed: Invalid argument
 
 [EMAIL PROTECTED] $ sudo eject
 
 [EMAIL PROTECTED] $ sudo hdparm /dev/hdc
 /dev/hdc:
  IO_support   =  1 (32-bit)
  unmaskirq=  1 (on)
  using_dma=  1 (on)
  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead= 256 (on)
  HDIO_GETGEO failed: Invalid argument
 
 [EMAIL PROTECTED] $ sudo eject
 
 [EMAIL PROTECTED] $ sudo hdparm /dev/hdc
 /dev/hdc:
  IO_support   =  1 (32-bit)
  unmaskirq=  1 (on)
  using_dma=  1 (on)
  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead= 256 (on)
  HDIO_GETGEO failed: Invalid argument
 
 [EMAIL PROTECTED] $ eject  --version
 eject version 2.1.0 by Jeff Tranter ([EMAIL PROTECTED])
 
 Running eject as root or a regular user did not reset my DMA
 settings for my DVD-RW.
 
 Jim

Before ejecting put any CD / DVD disk IN and run:
dd if=/dev/hdc of=backup.iso  or
cat /dev/hdc backup.iso

When finished run eject ... 
and 
hdparm /dev/hdc

See if the parameter using_dma was reset.

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



Re: [gentoo-user] Re: dd if=/dev/dvd of=backup.iso - DMA related problem

2006-03-23 Thread Joseph
On Thu, 2006-03-23 at 14:26 -0700, Joseph wrote:
 Before ejecting put any CD / DVD disk IN and run:
 dd if=/dev/hdc of=backup.iso  or
 cat /dev/hdc backup.iso
 
 When finished run eject ... 

to be specific: eject /dev/hdc

 and 
 hdparm /dev/hdc
 
 See if the parameter using_dma was reset.
 
-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: dd if=/dev/dvd of=backup.iso - DMA related problem

2006-03-23 Thread Nick Rout

On Thu, 23 Mar 2006 12:54:44 -0700
Joseph wrote:

 On Thu, 2006-03-23 at 20:18 +0100, Sven Köhler wrote:
   I've run onto few posting on Google regarding DMA resetting itself but
   no solution.
  
  That is simply annoying, that the Linux-Kernel resets DMA.
  
  You could try hdparm -k1 - but somethimes that doesn't help either.
 
 Yes, I've tried -k1 too, it doesn't help.
 It seems like kernel bug, I was able to duplicate resetting CD/DVD DMA
 on both machines:
 amd64 with BenQ DVD writer and
 x86 with Plextor CD writer
 
 -- 
 #Joseph

do they both use the same kernel version?


-- 
Nick Rout [EMAIL PROTECTED]


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Nick Rout

On Thu, 23 Mar 2006 21:58:10 +0100
Etaoin Shrdlu wrote:

 On Thursday 23 March 2006 21:35, Meino Christian Cramer wrote:
 
   Where do I have to tweak to allow su from xterm, mrxvt or whatever
   owned by a normal user ?
 
 I think you just need to add the user to the wheel group.
 HTH

which you probably cannot do without logging in as root at a console as
once you log into X as user, you cannot su. chicken egg chicken egg.

Also i recommend sudo, but thats another whole story...

 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB TV / Video capture devices

2006-03-23 Thread Nick Rout

On Thu, 23 Mar 2006 12:22:00 -0700
Joseph wrote:

 Are there any USB type TV / Video capture devices that works with Linux?
 
 -- 
 #Joseph

From the mythtv docs:

USB Capture Devices.

The Plextor ConvertX PVR devices are supported through Linux drivers
available from http://www.plextor.com/english/support/LinuxSDK.htm.
MythTV uses the Plextor to capture hardware encoded MPEG-4, so the host
CPU requirements are low.


 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread Hans-Werner Hilse
Hi,

On Thu, 23 Mar 2006 16:03:08 -0500
JimD [EMAIL PROTECTED] wrote:

 I have been using Linux for a number of years and the one trick I
 have never read how to do is something like:
 
 sudo echo app-portage/porthole ~*  /etc/portage/package.keywords

That's because your _current_ shell interprets the . What you want
can be done with

sudo sh -c 'echo app-portage/porthole ~*  /etc/portage/package.keywords'

 Another one I always wanted to know if it is possible is:
 
 sudo  /var/log/foo.log

I guess you want to use

... | sudo sh -c 'cat  /var/log/foo.log'

You can create a short script that does both (nice idea, I currently wrote
them for me, too...):

---:suappend:---
#!/bin/sh
exec sudo sh -c cat  \$1\
---snip---

and you can do:

echo blah | suappend /var/log/blah.log

etc.pp.

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



Re: [gentoo-user] sudo echo

2006-03-23 Thread Alexander Skwar
JimD wrote:
 I have been using Linux for a number of years and the one trick I
 have never read how to do is something like:
 
 sudo echo app-portage/porthole ~*  /etc/portage/package.keywords

echo whatnot | sudo sh -c  foo

If you don't wish to append, the following can be used
as well:

echo whatever | sudo dd of=some-file

 Another one I always wanted to know if it is possible is:
 
 sudo  /var/log/foo.log

What's that supposed to do? Truncate the file?

sudo sh -c  foo.log

 Both give me error message.  Are either of these command possible?

See above.

Alexander Skwar
-- 
It is easier to fight for principles than to live up to them.
-- Alfred Adler
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] send mail to gentoo-user locally

2006-03-23 Thread stupendoussteve


There is a great tutorial for postfix/fetchmail and gmail at
http://souptonuts.sourceforge.net/postfix_tutorial.html

On Wed, 22 Mar 2006, [EMAIL PROTECTED] wrote:

 Stroller and Simon,

 Thank you so much for the helpful information.
 Finally, I changed the settings of postfix, and let all my emails relay
 through gmail server. It seems work.

 Best,
 Mingfeng

 On Wed, Mar 22, 2006 at 06:21:17AM +, Stroller wrote:
 
  On 20 Mar 2006, at 22:46, Mingfeng Yang wrote:
 
 
 
  ... Now my problem is: the mail
  sent out by postfix (sendmail) is always get rejected by the mailing
  lists, though I set my_hdr From: mfyang  [EMAIL PROTECTED] in 
  muttrc.
 
 
  I'm not familiar with Mutt, but it looks like've got a space between the  
  and
  the g. Is this correct / important / relevant?
 
 
  How can I cheat the mailing list and let my email go to everybody even
  if it's sent from my local sendmail program instead of gmail sever?
 
 
  This should surely work as you anticipate. A work-around might be to relay
  through Gmail's SMTP server, tho'.
 
  Stroller.
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to tar?

2006-03-23 Thread Bo Andresen
On Thursday 23 March 2006 21:24, Michael Kintzios wrote:
 What should I run to untar the rest of /usr (excluding /usr/portage) into
 /dev/hda3 and at the same time delete it from within the gentoo_usr.tgz
 archive, so that I get some space in /dev/hda2 to untar /usr/portage? 
 Really, what I think is needed here is untarring of the archive, while
 untarred data is dynamically deleted immediately after untarred to make
 space for more data to be untarred . . . do I make sense?

You don't have to scp the archieve to the machine before unpacking it.

http://gentoo-wiki.com/HOWTO_Backup#Securely_backing_up_a_filesystem_on_a_remote_machine

Also if you look at man tar you'll find tar --exclude PATTERN

HtH

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread Nick Rout

On Thu, 23 Mar 2006 16:03:08 -0500
JimD wrote:

 I have been using Linux for a number of years and the one trick I
 have never read how to do is something like:
 
 sudo echo app-portage/porthole ~*  /etc/portage/package.keywords
 
 Another one I always wanted to know if it is possible is:
 
 sudo  /var/log/foo.log
 
 Both give me error message.  Are either of these command possible?
 
 I used to always just use su, though now I like sudo better.  I just
 can't for the life of me get sudo echo or sudo  to work.  I can
 sudo su and then do the commands, however I am lazy and want to save
 having to exit out from su.
 
 Jim

man i have been wanting to know the answer to that for ages, but have
lived with it. 

the elevation of privilege does not seem to survive the redirection. I
suspect you need to know more than I do about the way redirection is
handled by the shell to explain it.

 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread Alexander Skwar
Holly Bostick wrote:
 JimD schreef:
 I have been using Linux for a number of years and the one trick I 
 have never read how to do is something like:
 
 sudo echo app-portage/porthole ~*  /etc/portage/package.keywords
 
 Well this one I do with a set of revised command nicked from the list,
 entered into ~/.bashrc, and requiring that
 
 1) su is one of the commands that you are allowed to execute via sudo
 
 2) you are exempted from needing to enter a password for 'sudo su':
 
 addkey(){
sudo su -c echo $*  /etc/portage/package.keywords
  }

What's the use of su here? I don't understand.

What's happening is, that a root process executes

su -c echo $*  /etc/portage/package.keywords

But why switch user from root to root to execute

echo $*  /etc/portage/package.keywords

I don't understand that. Please explain.

 The general idea being that a) sudo seems to be a bit weird; even though
 it allows you to perform operations as if you are root, it doesn't do so
 by pretending that you _are_ root,

Uh? What are you talking about? The command is run with root
rights. If you use sudo -H, even $HOME is set to ~root.

 so you still couldn't write to the
 /etc/portage/package.* files;

Yes, you can. The error is, that with

sudo echo blah  file

Here the NORMAL USER does  file, *NOT* the root
echo process!

Have a read in your shell manpage.

 b) su does pretend you are root,

What do you mean with that?


 Another one I always wanted to know if it is possible is:
 
 sudo  /var/log/foo.log
 
 I'm sure it is, with a bit of creativity, though I honestly don't know
 what your intention is in any case, since this looks to me like you're
 logging the output of the sudo command to foo.log (but since there is no
 output really to typing 'sudo', I have no idea what result you might
 expect).

A truncated file is to be expected, as that's what's happening
when you do

 filename

 Anyway, hope this is to some degree helpful; what you most likely want
 to do is read up on bash scripting to understand how to chain the
 commands that do what you want to get done with sudo.

Yep.

Alexander Skwar
-- 
Keep brain from freezing.

-- Homer Simpson
   Simpson and Delilah
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread b.n.

I think you just need to add the user to the wheel group.
HTH


which you probably cannot do without logging in as root at a console as
once you log into X as user, you cannot su. chicken egg chicken egg.


?!?
where's the problem?
logins as root at the tty -- adds user to wheel -- startx -- everyone 
is happy.


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



[gentoo-user] How to install iplimit?

2006-03-23 Thread Mariusz Zalewski
Hello

I would like to use iplimit in my firewall.

I use iptables-1.3.4 with extensions USE flag and
gentoo-sources-2.6.15-r1

I can't find iplimit module in that kernel:
# grep -i iplimit /usr/src/linux/.confg
{none}

How to install iplimit on my server? What should I do? Maybe there is
other module, that can restrict number of connections from define IP
address?


P.S. Sorry about crosspost - I've send this message few days ago to
gentoo-security mail list, but nobody reply.

-- 
Mariusz Zalewski [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Etaoin Shrdlu
On Thursday 23 March 2006 22:42, Nick Rout wrote:

 which you probably cannot do without logging in as root at a console
 as once you log into X as user, you cannot su. chicken egg chicken
 egg.

Not necessarily: if you use kde, konsole has a root shell feature.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Antoine
so that means log into root before you run X.
# vi groups (or whatever the correct way of doing it is)
add your user to wheel
you're done
Cheers
Antoine

On 23/03/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote:
 On Thursday 23 March 2006 21:35, Meino Christian Cramer wrote:

   Where do I have to tweak to allow su from xterm, mrxvt or whatever
   owned by a normal user ?

 I think you just need to add the user to the wheel group.
 HTH
 --
 gentoo-user@gentoo.org mailing list




--
This is where I should put some witty comment.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread Daniel da Veiga
On 3/23/06, Holly Bostick [EMAIL PROTECTED] wrote:
 JimD schreef:
  I have been using Linux for a number of years and the one trick I
  have never read how to do is something like:
 
  sudo echo app-portage/porthole ~*  /etc/portage/package.keywords

 Well this one I do with a set of revised command nicked from the list,
 entered into ~/.bashrc, and requiring that

 1) su is one of the commands that you are allowed to execute via sudo

 2) you are exempted from needing to enter a password for 'sudo su':

 addkey(){
sudo su -c echo $*  /etc/portage/package.keywords
  }

 adduse(){
sudo su -c echo $*  /etc/portage/package.use
  }

 addmask(){
sudo su -c echo $*  /etc/portage/package.mask
  }

 addunmask(){
sudo su -c echo $*  /etc/portage/package.unmask
  }

 The general idea being that a) sudo seems to be a bit weird; even though
 it allows you to perform operations as if you are root, it doesn't do so
 by pretending that you _are_ root, so you still couldn't write to the
 /etc/portage/package.* files; b) su does pretend you are root, but su
 alone only just re-logs you in, rather than actually allowing you to
 execute a command-- unless you use the -c switch. su -c then says,
 whatever follows this switch is a command that you should execute as
 root. But of course, since echo $* (where $* stands for what I typed
 after addkey)  /etc/portage/package.* is a complex command,
 containing spaces, the syntax of the command following sudo su -c needs
 to be quoted.


 
  Another one I always wanted to know if it is possible is:
 
  sudo  /var/log/foo.log

 I'm sure it is, with a bit of creativity, though I honestly don't know
 what your intention is in any case, since this looks to me like you're
 logging the output of the sudo command to foo.log (but since there is no
 output really to typing 'sudo', I have no idea what result you might
 expect).

 Anyway, hope this is to some degree helpful; what you most likely want
 to do is read up on bash scripting to understand how to chain the
 commands that do what you want to get done with sudo. Depending on your
 goals, you might also consider aliasing (alias etc-update=sudo
 etc-update), and fine-tuning your visudo to allow you to run specific
 apps with sudo, preferably without a password, since if you have to type
 the password everytime you want to do sudo emerge, you might as well
 just su, imo.

 Good luck,
 Holly
 --
 gentoo-user@gentoo.org mailing list



Holly is right, I had some scripts running the commands I said, heh,
what I didn't notice was an alias for sudo as sudo su -c... Sorry for
my fast and wrong response... :)

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] big trouble with emerge

2006-03-23 Thread Michael Crute
On 3/23/06, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
 Hi list wise guys, I am trying to run emerge --metadata on a fresh
 installed gentoo box and all I am receiving is segmentation fault
 What Can I do, I can not emerge the rest of the systems I have to use
 because emerge stops with segmentation fault every time .. :(

Just a silly question, but did you emerge --sync first?

-Mike

--

Michael E. Crute
http://mike.crute.org

It is a mistake to think you can solve any major problems just with potatoes.
--Douglas Adams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to tar?

2006-03-23 Thread Bo Andresen
On Thursday 23 March 2006 22:52, Bo Andresen wrote:
 On Thursday 23 March 2006 21:24, Michael Kintzios wrote:
  What should I run to untar the rest of /usr (excluding /usr/portage) into
  /dev/hda3 and at the same time delete it from within the gentoo_usr.tgz
  archive, so that I get some space in /dev/hda2 to untar /usr/portage?
  Really, what I think is needed here is untarring of the archive, while
  untarred data is dynamically deleted immediately after untarred to make
  space for more data to be untarred . . . do I make sense?

 You don't have to scp the archieve to the machine before unpacking it.

 http://gentoo-wiki.com/HOWTO_Backup#Securely_backing_up_a_filesystem_on_a_r
emote_machine


Perhaps that link wasn't as useful to you as I thought when I transmitted it. 
Here are a couple of other examples. I think it requires GNU tar.

This compacts data recursively from /from/path and using gzip, pipes it 
through ssh and extracts it into /to/path:
# tar -zcf - /from/path | ssh desktop.homelinux.com tar -C /to/path -xzf -

And this just pipes through ssh and extracts using bunzip2 to /to/path on 
remote machine
# cat file.tar.bz2 | ssh desktop.homelinux.com tar -C /to/path -xjf -

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread Renat Golubchyk
On Thu, 23 Mar 2006 18:27:46 -0300 Daniel da Veiga
[EMAIL PROTECTED] wrote:
 Sudo takes a command as parameter, enclose the whole command in quotes
 and try again, like this:
 
 sudo echo app-portage/porthole ~*  /etc/portage/package.keywords
   ^ ^   ^ ^

Careful with those quotation marks - you might want to escape them ;-)
I would use single quotes on the outside to avoid the confusion:

sudo 'echo app-portage/porthole ~*  /etc/portage/package.keywords'


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] sudo echo

2006-03-23 Thread Neil Bothwick
On Fri, 24 Mar 2006 09:45:16 +1200, Nick Rout wrote:

 the elevation of privilege does not seem to survive the redirection. I
 suspect you need to know more than I do about the way redirection is
 handled by the shell to explain it.

Redirection is applied before the command is executed, so you are
redirecting the output of sudo. It's the same as if you'd typed

sudo /some/file somecommand


-- 
Neil Bothwick

If you only have a hammer, you tend to see every problem as a nail. *
Maslow


signature.asc
Description: PGP signature


Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Gabriel Dain
  I think you just need to add the user to the wheel group.
  HTH

 which you probably cannot do without logging in as root at a console as
 once you log into X as user, you cannot su. chicken egg chicken egg.

Thats true... However:
 I can login as root at the text console.

useradd -G wheel *name* *password*

Gabriel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: dd if=/dev/dvd of=backup.iso - DMA related problem

2006-03-23 Thread Joseph
On Thu, 2006-03-23 at 17:25 -0500, JimD wrote:
 On Thu, 23 Mar 2006 14:26:20 -0700
 Joseph [EMAIL PROTECTED] wrote:
 
  Before ejecting put any CD / DVD disk IN and run:
  dd if=/dev/hdc of=backup.iso  or
  cat /dev/hdc backup.iso
  
  When finished run eject ... 
  and 
  hdparm /dev/hdc
  
  See if the parameter using_dma was reset.
 
 [EMAIL PROTECTED] # dd if=/dev/hdc of=backup.iso
 CTRL+C
 37824+0 records in
 37824+0 records out
 
 /tmp
 [EMAIL PROTECTED] # ls -l backup.iso
 -rw-r--r--  1 root root 19M Mar 23 17:20 backup.iso
 
 [EMAIL PROTECTED] # hdparm /dev/hdc
 /dev/hdc:
  IO_support   =  1 (32-bit)
  unmaskirq=  1 (on)
  using_dma=  1 (on)
  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead= 256 (on)
  HDIO_GETGEO failed: Invalid argument
 
 DMA is still on.  I don't know why I always get that HDIO_GETGEO
 failed error.
 
 Do you have another CD/DVD drive you can try?  Are you using SCSI
 emulation?
 
 I am using kernel 2.6.15-gentoo-r7
 
 Jim

Did you do eject /dev/hdc between dd and hdparm?

dd if=/dev/hdc of=backup.iso
eject dev/hdc
hdparm /dev/hdc

Yes, I've tried this combination on two different machines with two
different drives and DMA gests rest on both.
amd64 + BenQ DVD
x86 + Plexwriter

I'm using kernel 2.6-15

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



Re: [gentoo-user] sudo echo

2006-03-23 Thread Bo Andresen
On Thursday 23 March 2006 23:38, Renat Golubchyk wrote:
 On Thu, 23 Mar 2006 18:27:46 -0300 Daniel da Veiga

 [EMAIL PROTECTED] wrote:
  Sudo takes a command as parameter, enclose the whole command in quotes
  and try again, like this:
 
  sudo echo app-portage/porthole ~*  /etc/portage/package.keywords

^ ^   ^ ^

 Careful with those quotation marks - you might want to escape them ;-)
 I would use single quotes on the outside to avoid the confusion:

 sudo 'echo app-portage/porthole ~*  /etc/portage/package.keywords'

Yeah, and the neat thing ... it still doesn't work... ;) As Daniel admitted in 
reply to Hollys mail in this thread he had an alias for sudo.

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] autofs, supermount, submount... which is best for Gentoo?

2006-03-23 Thread hawat . thufir

On Wed, 13 Oct 2004, Jochen Schalanda wrote:


From: Jochen Schalanda [EMAIL PROTECTED]
Subject: Re: [gentoo-user] autofs, supermount,
submount... which is best for  Gentoo?
Newsgroups: linux.gentoo.user

On 10/13/2004 11:10 PM, Felix Tiede wrote:

 submount is supposed to supersede supermount as supermount is running 

in

 kernel-space, while submount is a user-space-tool.


I think that is not quite correct. submount is a kernel module, hence it runs 
in kernel space. A userspace solution for automounting would be 
dbus+hal+ivman or gnome-volume-manager.


I tried supermount, submount, and dbus+hal+ivman and at the moment I like 
submount best since it perfectly fits my needs. But as already said, all the 
programs (automount, supermount, submount, ivman) have a slightly different 
featureset, so one should really try them all and decide afterwards which one 
to choose.


Jochen



Very informative, thanks.  I think I'll go with submount.


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



Re: [gentoo-user] Re: fstab

2006-03-23 Thread Neil Bothwick
On Thu, 23 Mar 2006 21:08:33 + (UTC), James wrote:

 so I should make my /etc/fstab look like this?
 
 /dev/hdc /mnt/?auto   noauto,user0  0
 /dev/hdd /mnt/cdromauto   noauto,user0  0
 
 I also have hal/ivman/dbus  installed.

If you use ivman (or KDE's HAL-based media handling) you don't need
anything in fstab, unless you want to override the mount points used by
ivman.


-- 
Neil Bothwick

PROSTITUTE: Receiver of swollen goods.


signature.asc
Description: PGP signature


Re: [gentoo-user] Hosted server as distcc machine

2006-03-23 Thread Boyd Stephen Smith Jr.
On Wednesday 22 March 2006 17:10, Grant [EMAIL PROTECTED] wrote about 
'Re: [gentoo-user] Hosted server as distcc machine':
   Is there anything wrong with
   making a remote machine [a] distcc system?
 
  Not really, but you do need to realize that distcc doesn't guarantee
  that jobs will be sent to the remote machines and will not prevent
  jobs from being run locally.

 Good to know for sure.

I was kinda surprised at the behavior.  I was sort of hoping distcc would 
just sort of hold the job until a slot opened up.  It's not a big deal, 
but something that you should be aware of.

  Also, distccd is a wide-open security hole.

 Not good.  The remote machine I'm considering using distcc on is my
 business's server.  I can't have break-ins there.

Then I don't suggest distccd open to the internet (or any public network) 
-- it was never designed to be secure.  It's not a big target ATM for 
hackers AFAIK, but it's still a large vulnerability.

  It's probably better to use distcc over ssh, using an ssh-agent and
  PKI authentication.

 So using distcc along with ssh and PKI would be sufficient to prevent
 the rooted box mentioned above?

It won't /completely/ prevent it.  But, it will bring down the risk 
significantly.  Random attackers will no longer simply be able to spoof 
IPs, instead the attacker will have to have the username and private key 
of a user known to have shell access.  (Malicious users or a healthy dose 
of paranoia may force you to limit shell access anyway.)

 How would ssh and PKI be set up in
 the workflow?  It isn't mentioned here:
 http://www.gentoo.org/doc/en/distcc.xml

Yeah, I started with that document, too.  distcc/ssh/PKI is not covered, 
since it is moderately advanced.

1) On the server, set up the shell account that will use distcc via ssh.
2) On the client, generate the private key for that account and use 
ssh-copy-id to give the server the public key.  Please, please, give your 
private key a good passphrase -- I've seen some people use an empty 
passphrase!
3) On the server, if possible, disable password logins to force the use of 
the private key for that user.
4) On the client, add a line like [EMAIL PROTECTED] to your 
distcc_hosts.  You can leave out the shell_account part if you want to log 
in to the server as the user invoking distcc, but you must include the @ 
since that's how distcc knows the host is accessed via ssh.  You can add 
a :port section if the server runs ssh on a port other than 22; You can 
add a /limit section (after or in lieu of the :port section) to have the 
client limit the number of distcc jobs that will be sent to the server
5) Prior to invoking distcc on the client, start an ssh-agent (I prefer the 
keychain meta-agent.) and optionally add your private key to the agent.  
(If you don't start an agent, each compile that goes to an ssh host will 
ask for a password -- very troublesome with parallel make; If you don't 
add your private key to the agent, you'll get prompted for the passphrase 
the first time you need a key -- still moderately troublesome.)

There is no need to run distccd on the server at all.  You /will/ need 
sshd.

Remember, since these are standard ssh connections, you'll limit the number 
of simultaneous jobs on the server by limiting the number of simultaneous 
ssh logins -- not by using any distccd settings.

As far as compile jobs from cron, I just don't suggest them.  If you /have/ 
to use them, have them compile locally.  If they /have/ to use your distcc 
hosts, you'll have to figure out some way to give your cron jobs access to 
your private key without compromising it's security -- not an easy feat.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Nick Rout

On Thu, 23 Mar 2006 23:16:54 +0100
Etaoin Shrdlu wrote:

 On Thursday 23 March 2006 22:42, Nick Rout wrote:
 
  which you probably cannot do without logging in as root at a console
  as once you log into X as user, you cannot su. chicken egg chicken
  egg.
 
 Not necessarily: if you use kde, konsole has a root shell feature.

Which I suspect only works if you can use su, although i am not 100% on
that.

 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: KDE version

2006-03-23 Thread Boyd Stephen Smith Jr.
On Thursday 23 March 2006 11:22, Christopher O'Neill 
[EMAIL PROTECTED] wrote about '[gentoo-user] Re: KDE version':
 I've been using 3.5.1 for a while also, imo it should stay in unstable
 for now.  There are a few bugs with the desktop, Konqueror and
 Kaffeine also has a habit of seg-faulting.  I am considering
 rebuilding it with the debug flags to I can submit some useful bug
 reports.

 I think packages in stable should be stable as the name says, not
 simply older than 30 days or whatever ;-)

It's not /simply/ older than 30 days.  They have to be ~ARCH for /at least/ 
30 days, so that ~ARCH users have plenty of time to find and file bugs 
that exist.  It's rather hard to say a package is stable before it's gone 
through the ~ARCH users cleanly, so I'd say that stable implies older 
than 30 days therefore stable and older than 30 days == stable.

So, really, stable gentoo packages are stable as the name says. :)

(That said, I love my ~amd64 machine; but I regularly upgrade and have 
enough time to file most to all of the bugs I find.)

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to tar?

2006-03-23 Thread Boyd Stephen Smith Jr.
On Thursday 23 March 2006 16:31, Bo Andresen [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] How to tar?':
 Perhaps that link wasn't as useful to you as I thought when I
 transmitted it. Here are a couple of other examples. I think it requires
 GNU tar.

 This compacts data recursively from /from/path and using gzip, pipes it
 through ssh and extracts it into /to/path:
 # tar -zcf - /from/path | ssh desktop.homelinux.com tar -C /to/path
 -xzf -

Or, for non-GNU tar:
tar cf - /from/path | gzip -c | ssh desktop.homelinux.com 'cd /to/path; 
gunzip -c | tar xf -'
(Some non-gnu tars probably don't even need the 'f -' parts...)

 And this just pipes through ssh and extracts using bunzip2 to /to/path
 on remote machine
 # cat file.tar.bz2 | ssh desktop.homelinux.com tar -C /to/path -xjf -

Or for non-GNU tar without the unnecessarily spawned process:
ssh desktop.homelinux.com 'cd /to/path; bunzip2 -c | tar xf -'  
file.tar.bz2

(Each of my examples is meant to be a single line.)

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread Boyd Stephen Smith Jr.
On Thursday 23 March 2006 16:33, JimD [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] sudo echo':
 If you type something like the following:

  /tmp/myfile.foo

 It will truncate the file.  I use it when I want to clear out logs real
 quick.  I can sudo su and then just type (without the quotes):

  /var/log/mail/current

 and have a clean log.  However to do that I need to be root and the
 only thing I found is to sudo su and then type the command and then
 exit from root.

Try:
sudo /bin/bash -c ' /var/log/mail/current'
or, if that doesn't work:
sudo /bin/bash -c ':  /var/log/mail/current'

Shells handle redirection and pipes, sudo does not, AFAIK.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Boyd Stephen Smith Jr.
On Thursday 23 March 2006 17:08, Nick Rout [EMAIL PROTECTED] wrote about 
'Re: [gentoo-user] My Gentoo is too secure ... ;)':
 On Thu, 23 Mar 2006 23:16:54 +0100
 Etaoin Shrdlu wrote:
  Not necessarily: if you use kde, konsole has a root shell feature.

 Which I suspect only works if you can use su, although i am not 100% on
 that.

While KDE may do some autodetection re: this, my Root 
Shell (uncustomized) from Konsole runs 'su -'; which will be a problem if 
you want to use sudo instead. (Or can't su for some reason.)

If you do, you can edit the existing session or create a new session to run 
'sudo -s'.  I use this nice feature to have a session that runs su - -c 
'screen -x -R -s /bin/bash' (and a similar one for non-root).

I don't know show well (if at all) screen runs under sudo, but the 
equivalent should be something along the lines of 'sudo screen -x -R 
-s /bin/bash'

Hrm, after writing this I realize I'm not in the sudo thread anymore.  
*shrug*  Maybe this is useful information to someone.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Nick Rout

On Thu, 23 Mar 2006 23:08:36 +
b.n. wrote:

 I think you just need to add the user to the wheel group.
 HTH
  
  which you probably cannot do without logging in as root at a console as
  once you log into X as user, you cannot su. chicken egg chicken egg.
 
 ?!?
 where's the problem?
 logins as root at the tty -- adds user to wheel -- startx -- everyone 
 is happy.

Oh I agree, I only meant that trying to do it from within a user login 
(including X) created the chicken/egg problem.

Also of course you have to remember that you need to log in afresh after
being added to a new group!

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread David Morgan
On 23:38 Thu 23 Mar , Renat Golubchyk wrote:
 Careful with those quotation marks - you might want to escape them ;-)
 I would use single quotes on the outside to avoid the confusion:
 
 sudo 'echo app-portage/porthole ~*  /etc/portage/package.keywords'
 


Do that and it'll say

sudo: echo app-portage/porthole ~*  /etc/portage/package.keywords: command 
not found

This has been discussed on here before.

The problem is that if you do `sudo echo foo  bar`, the echo is being
run as root, but the writing to bar isn't.

In this case, you might like to look at app-portage/flagedit (it's less
typing for a start).

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



Re: [gentoo-user] alps touchpad problem

2006-03-23 Thread Richard Fish
On 3/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 AZixMapping doesn't work.
 I think it's for mouse driver of x, not for synaptics drivers!

Hmm, your other choice is xmodmap.  Something like:

xmodmap -e pointer = 1 2 3 5 4 might work.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re-caching dependency info (mtimes differ)...

2006-03-23 Thread Alexander Kirillov

Hi all,

I needed to restart sendmail more than once after upgrade
and noticed the script always produces these warnings:

# /etc/init.d/sendmail restart
 * Re-caching dependency info (mtimes differ)...
 * Stopping sendmail ... [ok]
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Starting sendmail ... [ok]

What might be wrong here?

TIA,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Gentoo is too secure ... ;)

2006-03-23 Thread Matt Richards

 On Thu, 23 Mar 2006 23:16:54 +0100
 Etaoin Shrdlu wrote:

 On Thursday 23 March 2006 22:42, Nick Rout wrote:

  which you probably cannot do without logging in as root at a console
  as once you log into X as user, you cannot su. chicken egg chicken
  egg.

 Not necessarily: if you use kde, konsole has a root shell feature.

 Which I suspect only works if you can use su, although i am not 100% on
 that.

dosn't su just have its own /etc/pam.d/su file that has pam_rootok.so in
it so root can just su without a passwd and it also has a module that
checks if they are in the wheel group.

 --
 gentoo-user@gentoo.org mailing list

 --
 Nick Rout [EMAIL PROTECTED]

 --
 gentoo-user@gentoo.org mailing list




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread Renat Golubchyk
On Thu, 23 Mar 2006 23:12:38 + David Morgan
[EMAIL PROTECTED] wrote:
 On 23:38 Thu 23 Mar , Renat Golubchyk wrote:
  Careful with those quotation marks - you might want to escape
  them ;-) I would use single quotes on the outside to avoid the
  confusion:
  
  sudo 'echo app-portage/porthole ~*
   /etc/portage/package.keywords'
  
 
 
 Do that and it'll say
 
 sudo: echo app-portage/porthole ~*
  /etc/portage/package.keywords: command not found
 
 This has been discussed on here before.
 
 The problem is that if you do `sudo echo foo  bar`, the echo is being
 run as root, but the writing to bar isn't.

Alright, then run
  sudo bash -c 'echo some_string  some_file'
No problem here :)


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] Have portage lost its memory?

2006-03-23 Thread Toby 'qubit' Cubitt
On Thu, Mar 23, 2006 at 03:07:08PM +0100, Jules Colding wrote:
 On Thu, 2006-03-23 at 14:36 +0100, Toby 'qubit' Cubitt wrote:
Having an SSH session on another machine and forgetting ll about it.

Please forgive my stupidity here.

Sorry,
  jules

I thought only I could do that.  Funny ain't it?
   
   Not when you do it in public ;-)
  
  I used to give the shell prompts different colours on different
  machines to help avoid this. Or rather, the local one would always be
  the same colour, but shells under ssh sessions were colour-coded by
  machine.
  
  I've lost the script I wrote for this somewhere in the mists of time
  (if I remember right, it was copied and hacked from a bash prompt
  example that colour-coded according to the login type: ssh, telnet,
  local, etc.)
  
  Someday I might get round to recreating it...
 
 That would be helpful.


Here you go. It also checks if you're root. Save it as something
suitable somewhere in your $PATH, (e.g. ~/bin/bash_prompt), modify to
suit your setup, then do:

  source ~/bin/bash_prompt
  colour_code_prompt
  unset colour_code_prompt

either from the shell or in your .bashrc to load it.

Use at your own risk, since I've only just written it, and haven't
tested it very heavily! (When I've used it a bit to check it works
properly, I might document it a bit and put it on my web site.)

Toby


--
 bash_prompt:
--

#!/bin/bash

function colour_code_prompt
{
# set up some colour escape variables
BLUE=\[\033[1;34m\]
GREEN=\[\033[1;32m\]
CYAN=\[\033[1;36m\]
RED=\[\033[1;31m\]
MAGENTA=\[\033[1;35m\]
YELLOW=\[\033[1;33m\]
WHITE=\[\033[1;37m\]
GREY=\[\033[00m\]


# if logged in via ssh, choose colours according to host and user
if [ -n $SSH_CLIENT ]; then
if [ $EUID == 0 ]; then
case $(hostname -f) in
box1.some.domain)
COLOUR1=$RED
COLOUR2=$GREEN
;;
box2*)
COLOUR1=$RED
COLOUR2=$YELLOW
;;
*)
COLOUR1=$RED
COLOUR2=$MAGENTA
;;
esac

else
case $(hostname -f) in
box1.some.domain)
COLOUR1=$GREEN
COLOUR2=$CYAN
;;
box2*)
COLOUR1=$YELLOW
COLOUR2=$BLUE
;;
*.some.other.domain)
COLOUR1=$CYAN
COLOUR2=$RED
;;
*)
COLOUR1=$MAGENTA
COLOUR2=$BLUE
;;
esac
fi

# if logged in locally as root, use different colours
elif [ $EUID == 0 ]; then
COLOUR1=$RED
COLOUR2=$BLUE

# otherwise, use default colours
else
COLOUR1=$GREEN
COLOUR2=$BLUE
fi

# set the prompt
export PS1=[EMAIL PROTECTED] $COLOUR2\w \$ $GREY
}


-- 
PhD Student
Quantum Information Theory group
Max Planck Institute for Quantum Optics
Garching, Germany

email: [EMAIL PROTECTED]
web: www.dr-qubit.org
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] pump - dhcp - reject: msgtyp: 6 ??

2006-03-23 Thread Dave Moore
Hello all

I am having a problem with pump apparently failing to renew leases. See logs..

Mar 23 07:11:03 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:11:03 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:11:08 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:11:15 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:11:27 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:11:34 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:11:34 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:11:37 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:11:44 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:11:57 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:12:04 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:12:04 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:12:06 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:12:12 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:12:24 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:12:33 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:12:33 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:12:36 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:12:42 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:12:53 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:13:03 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:13:03 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:13:07 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:13:14 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:13:28 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:13:33 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:13:33 arrakis pumpd[9212]: PUMP: sending discover
Mar 23 07:13:34 arrakis pumpd[9212]: got dhcp offer
Mar 23 07:13:34 arrakis pumpd[9212]: PUMP: sending second discover
Mar 23 07:13:35 arrakis pumpd[9212]: PUMP: got an offer
Mar 23 07:13:35 arrakis pumpd[9212]: PUMP: got lease
Mar 23 07:13:35 arrakis pumpd[9212]: intf: device: eth0
Mar 23 07:13:35 arrakis pumpd[9212]: intf: set: 416
Mar 23 07:13:35 arrakis pumpd[9212]: intf: bootServer: 192.168.1.1
Mar 23 07:13:35 arrakis pumpd[9212]: intf: reqLease: 43200
Mar 23 07:13:35 arrakis pumpd[9212]: intf: ip: 192.168.1.105
Mar 23 07:13:35 arrakis pumpd[9212]: intf: next server: 192.168.1.1
Mar 23 07:13:35 arrakis pumpd[9212]: intf: netmask: 255.255.255.0
Mar 23 07:13:35 arrakis pumpd[9212]: intf: gateways[0]: 192.168.1.1
Mar 23 07:13:35 arrakis pumpd[9212]: intf: numGateways: 1
Mar 23 07:13:35 arrakis pumpd[9212]: intf: dnsServers[0]: 68.87.72.130
Mar 23 07:13:35 arrakis pumpd[9212]: intf: dnsServers[1]: 68.87.77.130
Mar 23 07:13:35 arrakis pumpd[9212]: intf: numDns: 2
Mar 23 07:13:35 arrakis pumpd[9212]: intf: domain: hsd1.il.comcast.net.
Mar 23 07:13:35 arrakis pumpd[9212]: intf: broadcast: 192.168.1.255
Mar 23 07:13:35 arrakis pumpd[9212]: intf: network: 192.168.1.0
Mar 23 07:13:35 arrakis pumpd[9212]: configured interface eth0
Mar 23 07:13:39 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:13:46 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:13:59 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:14:05 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:14:35 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:14:39 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:14:45 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:14:56 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:15:05 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:15:35 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:15:40 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:15:47 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:15:59 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:16:06 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:16:36 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:16:39 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:16:44 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:16:56 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:17:06 arrakis pumpd[9212]: failed to renew lease for device eth0
Mar 23 07:17:36 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:17:39 arrakis pumpd[9212]: reject: msgtyp: 6
Mar 23 07:17:46 arrakis pumpd[9212]: reject: msgtyp: 6

This is just a small chunk. The 'reject: msgtyp: 6' continues for
hours prior as well. These errors always begin at certain times of the
day: 0600 and 1800 (6AM and 6PM) which makes me suspect that it is
something external to my system that is causing the errors. Also, as
you can see in the above example, I re-initialized pump at 07:13:33
and it very clearly states that it got a lease, though the errors
persist afterwards. Before I re-initialized pump, my applications were
behaving as though they had no internet connection (Gaim and Firefox),
and after I re-initialized, they found the net just fine, even though
those errors continued.

I've searched the Gentoo forums and Googled, for 'reject msgtyp 6' and
tried to find an error table of some sort for 

Re: [gentoo-user] Re: KDE version

2006-03-23 Thread Hemmann, Volker Armin
On Thursday 23 March 2006 18:22, Christopher O'Neill wrote:
 I've been using 3.5.1 for a while also, imo it should stay in unstable
 for now.  There are a few bugs with the desktop, Konqueror and
 Kaffeine also has a habit of seg-faulting.  I am considering
 rebuilding it with the debug flags to I can submit some useful bug
 reports.

 I think packages in stable should be stable as the name says, not
 simply older than 30 days or whatever ;-)


but it does not become 'better' by staying in unstable. And KDE 3.4.3 has its 
bugs too.. a lot of them fixed in the 3.5 releases.

3.5.1 is not in stable, and 3.5.2 is already looming around the corner
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to tar?

2006-03-23 Thread Benno Schulenberg
Michael Kintzios wrote:
 As things currently are gentoo_usr.tgz is in /dev/hda2,
 which is destined to house the /usr/portage directory.  /dev/hda2
 is a 4.0G partition with only 74M available.

How big is gentoo_usr.tgz?  What's the rest on /dev/hda2?

 /dev/hda3 will have the rest of the filesystem 
 (and the remaining /usr directory).

What's on /dev/hda3 now?  How big is it?  What's on /dev/hda1?  
Can't you move the gentoo_usr.tgz to another roomier partition?

If I get it right, /dev/hda3 is destined to become your /, 
and /dev/hda2 your /usr/portage.  Have you already upacked the rest 
of / on /dev/hda3?  How about retarring it and untarring it after 
gentoo_usr.tgz?

 what I think is needed
 here is untarring of the archive, while untarred data is
 dynamically deleted immediately after untarred to make space for
 more data to be untarred . . . do I make sense?

Yes, but GNU tar cannot do that, it can only do one command at a 
time, either --extract or --delete or ...

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



[gentoo-user] Splash livecd-2006.0 not working

2006-03-23 Thread Bo Andresen
I did follow this guide a long time ago and again yesterday. 
http://gentoo-wiki.com/HOWTO_fbsplash
When I use emergence as theme everything is working just like it is supposed 
to. But when I change to livecd-2005.1 or livecd-2006.0 (I think any theme 
that has activity instead of just a picture) I get this error during bootup:
=
Booting 'Gentoo Linux'

root (hd0,1)
 Filesystem type is reiserfs, partition type 0x83
kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:[EMAIL PROTECTED],mtrr,ywrap 
spla
sh=verbose,theme:live-cd-2006.0 quiet CONSOLE=/dev/tty1
   [Linux-bzImage, setup=0x1c00, size=0x19d4cd]
initrd /boot/fbsplash-livecd-2006.0-1400x1050
   [Linux-initrd @ 0x1ff68000, 0x87c57 bytes]

Uncompressing Linux... Ok, booting the kernel.
Can't open config file /etc/splash/live-cd-2006.0/1400x1050.cfg.
Failed to load image (null).
Failed to get verbose splash image.
=

From grub:
=
title  Gentoo Linux
root (hd0,1)
kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:[EMAIL PROTECTED],mtrr,ywrap 
splash=verbose,theme:live-cd-2006.0 quiet CONSOLE=/dev/tty1
initrd /boot/fbsplash-livecd-2006.0-1400x1050
=

=
 # ls -l /boot
[...]
-rw-r--r--  1 root root  556119 Mar 23 18:42 fbsplash-livecd-2006.0-1400x1050
lrwxrwxrwx  1 root root  26 Mar 23 00:03 vmlinuz - vmlinuz-2.6.15-suspend2-r8
-rw-r--r--  1 root root 1700557 Mar 23 00:03 vmlinuz-2.6.15-suspend2-r8
[...]
=

Until yesterday I was using gentoo-sources but that has not changed anything. 
I have had this problem for a long time. Obviously something is wrong with 
the initramfs. It was created by this command:
# splash_geninitramfs -g /boot/fbsplash-livecd-2006.0-1400x1050 -r 1400x1050 
-v livecd-2006.0

If while booted a type:
# splash_manager --theme livecd-2006.0 -c set
the splash theme is loaded successfully on tty1.

Any ideas?

-- 
Bo Andresen

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How about ieee 1394 was:USB TV / Video capture devices

2006-03-23 Thread Joseph
On Fri, 2006-03-24 at 09:40 +1200, Nick Rout wrote:
 On Thu, 23 Mar 2006 12:22:00 -0700
 Joseph wrote:
 
  Are there any USB type TV / Video capture devices that works with Linux?
  
  -- 
  #Joseph
 
 From the mythtv docs:
 
 USB Capture Devices.
 
 The Plextor ConvertX PVR devices are supported through Linux drivers
 available from http://www.plextor.com/english/support/LinuxSDK.htm.
 MythTV uses the Plextor to capture hardware encoded MPEG-4, so the host
 CPU requirements are low.

That would do it with a bit of tweaking.
All I want is to connect my Video Microscope (that has standard RCA
Rack) to TV IN Card to see a live picture and be able to capture a
frame.
I have a  ieee-1394 card and Kino application supports ieee-1394.
I have as well Analog to Digital S-VHS converter.

But is it possible to have a cable from S-VHS to FireWire 4 or 6pin; to
connect it to ieee-1394 card?

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



Re: [gentoo-user] sudo echo

2006-03-23 Thread Bo Andresen
On Thursday 23 March 2006 23:48, JimD wrote:
 addkey()
 {
 sudo sh -c echo $*  /etc/portage/package.keywords
 }

For keywording I prefer to use this script:
http://users.cybercity.dk/~dsl89966/keix

It allows me to do:

 $ eix porth
* app-portage/porthole 
 Available versions:  ~0.4.1 [M]0.5.0
 Installed:   none
 Homepage:http://porthole.sourceforge.net
 Description: A GTK+-based frontend to Portage


Found 1 matches
$ sudo keix porth
Do you wish to add '=app-portage/porthole-0.4* ~x86' to package.keywords? 
(Yes/no)

Adding '=app-portage/porthole-0.4* ~x86' to package.keywords

$

Of course it requires that app-portage/eix is installed and updated.

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE version

2006-03-23 Thread Rafael Fernández López
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Boyd Stephen Smith Jr. wrote:
 On Tuesday 21 March 2006 16:40, Hemmann, Volker Armin 
 [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] KDE 
 version':
 On Tuesday 21 March 2006 22:12, Thierry de Coulon wrote:
 On Tuesday 21 March 2006 21.13, [EMAIL PROTECTED] wrote:
 To-day I installed kdebase using emerge kdebase.
 But the installed version was 3.4.3.
 Is it right? Did not KDE reach 3.5 version?
 I did not sync recently but (on my amd64 machine) emerge --pretend
 =kde-3.5.0 shows the package are still masked with keyword.
 which is quite sad - KDE 3.5.1 is out for ages!
 
 The KDE team is a bunch of weenies. :P
 
 Seriously, I think they hold package releases (even point releases) in 
 package.mask and ~ARCH too long.  HOWEVER, they are provide (IIRC) both 
 split and monolithic ebuilds, which is quite a bit of work to get 
 completely right.
 
 But the times, that gentoo was pretty actual in the stable tree are
 over.
 
 You do realize the above sentence makes no freakin' sense, right?
 
 Is this so bad with gnome too?
 
 sarcasm
 What's gnome?
 /sarcasm
 

Just a note: KDE dev don't decide whenever it becomes to ARCH instead
of ~ARCH, that is an ARCH gentoo maintainers. They are supposed to be
the ARCH specialists. When they think some app is stable in their ARCH,
it will be moved to ARCH from ~ARCH.

But if you wanna have the latest packages, just ACCEPT_KEYWORDS=~ARCH
where ARCH is your computers' architecture. Maybe your system will be a
little more unstable, but from my point of view, it is still stable
using ~x86 (mine haven't broken yet).

Bye !!
Rafael Fernández López.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEI1Qc9RRlaicc3IERAt6vAJ4wk9jf6jFgzHTb9ZS1dXSLxxiWsQCcDVLJ
NGm98P+IE3BgyRIIP1JWjK0=
=SL08
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] resuming emerges

2006-03-23 Thread TN

Hi all,
I see that emerge has a resume option - but it only compiles from where 
the the previous emerge was stopped and when you issue a resume, it 
starts at the beginning of the next package to be emerged.


Is it possible to get emerge to continue from where the actual compile 
was broken (ie. not recompile from the package beginning, but rather 
from within the package itself ?)
I find a constant problem in that large packages take so long to 
compile, that I need to shutdown my laptop before an emerge is complete 
(to go home or whatever), and then I have to start from the beginning 
again.OO takes around 6 hours for me, and it seems that this would 
be reasonable to implement so that emerges could be resumed from the 
last source file where the compilation was halted ?
The option should be able to ask emerge to start compiling the package 
without un-compressing and cleaning up the last compile I'd assume.


thanks.
Trevor

Send instant messages to your online friends http://au.messenger.yahoo.com 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] big trouble with emerge

2006-03-23 Thread Allan Spagnol Comar
yes mike, I had, when it was rebuild the metadata after --sync it
crashs the first time.
now I am in trouble with my instalation.

On 3/23/06, Michael Crute [EMAIL PROTECTED] wrote:
 On 3/23/06, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
  Hi list wise guys, I am trying to run emerge --metadata on a fresh
  installed gentoo box and all I am receiving is segmentation fault
  What Can I do, I can not emerge the rest of the systems I have to use
  because emerge stops with segmentation fault every time .. :(

 Just a silly question, but did you emerge --sync first?

 -Mike

 --
 
 Michael E. Crute
 http://mike.crute.org

 It is a mistake to think you can solve any major problems just with potatoes.
 --Douglas Adams

 --
 gentoo-user@gentoo.org mailing list




--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: KDE version

2006-03-23 Thread Philip Webb
060324 Hemmann, Volker Armin wrote:
 KDE 3.4.3 has its bugs too.. a lot of them fixed in the 3.5 releases.
 3.5.1 is not in stable, and 3.5.2 is already looming around the corner

Isn't the solution to have  3  levels: 'testing', 'probation'  'stable' ?
'Testing' would be literally that, asking for feedback from users;
'probation' wb already tested for a defined period -- say  30 days  --
without any bugs appearing which are likely to affect typical users;
'stable' wb firmly believed to be free of any bugs.

KDE 3.5.1 would belong in 'probation' at present,
3.4.3 might be 'stable' depending on how many bugs it's known to have.

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



[gentoo-user] screen flickers/static

2006-03-23 Thread THUFIR HAWAT
I recently switched from fedora to gentoo, it's a dual boot system. 
Never in Fedora, not in windows, but in gentoo, I get screen
flickers/static.  It's not a hardware problem as just a little bit ago
I was in windows, no problem.  The connections to the monitor and so
forth are fine.

When I type in, for instance, this window (gmail in firefox) the
screen flickers with each keystroke.  Also, if I'm in the terminal
window, for gnome, and type, same thing.

Perhaps flicker is a bad description.  To the nake eye a series of
horizontal lines flash, about one or two per key stroke.  The system
monitor isn't showing anything out of the ordinary, low CPU usage and
low memory

[EMAIL PROTECTED] ~ $ top

top - 02:31:52 up  5:55,  2 users,  load average: 0.02, 0.16, 0.15
Tasks:  74 total,   1 running,  73 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.0% us,  1.0% sy,  0.0% ni, 95.0% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:223364k total,   208064k used,15300k free,11912k buffers
Swap:   441776k total,0k used,   441776k free,97228k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 9752 root  15   0 58736  20m 6328 S  2.7  9.5  28:35.53 X
10747 thufir15   0 24416  12m 8616 S  1.7  5.8   0:01.45 gnome-terminal
 9839 thufir15   0 17808 8984 6856 S  0.3  4.0   0:00.78 multiload-apple
10753 thufir16   0  2056 1056  816 R  0.3  0.5   0:00.02 top
1 root  16   0  1468  484  424 S  0.0  0.2   0:01.15 init
2 root  RT   0 000 S  0.0  0.0   0:00.00 migration/0
3 root  34  19 000 S  0.0  0.0   0:00.00 ksoftirqd/0
4 root  RT   0 000 S  0.0  0.0   0:00.00 watchdog/0
5 root  10  -5 000 S  0.0  0.0   0:00.14 events/0
6 root  10  -5 000 S  0.0  0.0   0:00.01 khelper
7 root  11  -5 000 S  0.0  0.0   0:00.01 kthread
9 root  10  -5 000 S  0.0  0.0   0:00.02 kblockd/0
   10 root  20  -5 000 S  0.0  0.0   0:00.00 kacpid
  121 root  20   0 000 S  0.0  0.0   0:00.00 pdflush
  122 root  15   0 000 S  0.0  0.0   0:00.00 pdflush
  124 root  17  -5 000 S  0.0  0.0   0:00.00 aio/0
  123 root  25   0 000 S  0.0  0.0   0:00.00 kswapd0
[EMAIL PROTECTED] ~ $ date
Fri Mar 24 02:31:56 GMT 2006
[EMAIL PROTECTED] ~ $




thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How about ieee 1394 was:USB TV / Video capture devices

2006-03-23 Thread Nick Rout

On Thu, 23 Mar 2006 18:10:14 -0700
Joseph wrote:

 I have a  ieee-1394 card and Kino application supports ieee-1394.
 I have as well Analog to Digital S-VHS converter.
 
 But is it possible to have a cable from S-VHS to FireWire 4 or 6pin; to
 connect it to ieee-1394 card?

I am unclear what you mean here. what is a Analog to Digital S-VHS
converter. I suspect it has RCA analog video in, but what comes out? is
it DV (like a DV camera format)?

If so I suspect you will ned up with a DV format file on your computer,
not sure if you can see that live but it might in kino.

emerge kino and try it. 

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to install iplimit?

2006-03-23 Thread Chad Feller

Hello,

I'm still using 2.6.11-r9, but, it appears to be in yours too.  From 
make menuconfig under the 2.6.11-r9 it is here:


Device Drivers ---
   Networking support --
   [*] Networking Support
   Networking options ---
   [*] Network packet filtering (replaces ipchains)
   IP: Netfilter Configuration ---
   m IP tables support (required for 
filtering/masq/NAT)

   m limit match support

From a 2.6.15-r7 kernel:

Networking ---
   Networking options ---
   [*] Network packet filtering (replaces ipchains)
   IP: Netfilter Configuration ---
   m IP tables support (required for 
filtering/masq/NAT)

   m limit match support

The kernel module would be called ipt_limit in both cases.

Mariusz Zalewski wrote:

Hello

I would like to use iplimit in my firewall.

I use iptables-1.3.4 with extensions USE flag and
gentoo-sources-2.6.15-r1

I can't find iplimit module in that kernel:
# grep -i iplimit /usr/src/linux/.confg
{none}

How to install iplimit on my server? What should I do? Maybe there is
other module, that can restrict number of connections from define IP
address?


P.S. Sorry about crosspost - I've send this message few days ago to
gentoo-security mail list, but nobody reply.

  



--
gentoo-user@gentoo.org mailing list



  1   2   >