Re: [gentoo-user] trouble emerging R and tcltk

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, John P. Burkett wrote:
  eix reveals that the required USE flag is in fact tk

 Thanks, Alan!  Changing the USE flag from tcltk to tk, as you
 suggested, was the key to getting R to find tcltk. After making that
 change, doing emerge -C R and emerge R was enough to correct the
 problem.

Moving slightly off-topic, it would have been nice if portage had told 
you that you were trying to use an unsupported USE flag in a more 
obvious way than the simple yellow 'tcltk%' it currently gives. It's 
very easy to miss that in the huge mass of detail from emerge world.

I'd prefer a more verbose message at the end, where blockers and masking 
information goes. Such a thing would have saved you much effort.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, Neil Bothwick wrote:
 On Wed, 30 Apr 2008 22:17:34 +0200, Alan McKinnon wrote:
  [2] vi /var/lib/portage/world
   Edit at will with sense of abandon
  vi /etc/make.conf
   Edit where appropriate
  vi /etc/portage/*
   Fearlessly edit throwing caution to the winds
  loop_entry:
emerge -avuND world
   Resolve blockers
   emerge --resume --skipfirst (bonus points if you correctly
predict which packages will fail to build)
   emerge -av --depclean
goto loop_entry

 What a horrible suggestion, not only does it use vi - three time! -
 but it ends with a goto!

Here's a much more horrible thing: In which way does the suggestion, 
horrible as it is, depart from reality?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] trouble emerging R and tcltk

2008-05-01 Thread Neil Bothwick
On Thu, 1 May 2008 10:28:06 +0200, Alan McKinnon wrote:

 Moving slightly off-topic, it would have been nice if portage had told 
 you that you were trying to use an unsupported USE flag in a more 
 obvious way than the simple yellow 'tcltk%' it currently gives. It's 
 very easy to miss that in the huge mass of detail from emerge world.

You have to run it manually, but flagedit warns of any unsupported flags
in make.conf or package.use.


-- 
Neil Bothwick

... I dropped my toothpaste, Tom said, Crestfallen.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Neil Bothwick
On Thu, 1 May 2008 10:30:18 +0200, Alan McKinnon wrote:

  What a horrible suggestion, not only does it use vi - three times! -
  but it ends with a goto!  
 
 Here's a much more horrible thing: In which way does the suggestion, 
 horrible as it is, depart from reality?

Your reality must be bad if you have to use vi that often ;-)


-- 
Neil Bothwick

He's so cool, he could get frostbite from masturbating.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, [EMAIL PROTECTED] wrote:
 Alan McKinnon [EMAIL PROTECTED] writes:
  [2] vi /var/lib/portage/world

 What if I emerge -vC all I know I don't want.

 All kde all gnome all xorg for example, before update world.

It seems fine in theory, but every time I've done it in real life I get 
into deep dependency trees that take more time to sort out than simply 
emerging world first.

The trouble seems to be that it's easy to spot the high level packages 
that bring in all their DEPENDS - things like kde,gnome,xorg-x11. It's 
harder to spot the dependencies that want to bring everything back in 
again. kde is easy - the string 'kde' shows up in most of the names. 
gnome is harder as the names are much more randomly chosen.

Plus, emerge --depclean will refuse to run until emerge world returns 
nothing to do. So you first have to get all the gui stuff out of the 
world file, identify *all* installed gui packages not in world and 
emerge -C them, then run emerge world followed by emerge --depclean.

Like I said, I have found every time I've done it that it actually took 
longer and wasted more of my time and caused more frustration than just  
building kde. At least when building kde I could walk away and come 
back tomorrow. Fiddling world requires you to be there, watch the 
screen, decide, type next command, repeat.



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Kaffeine audio problem

2008-05-01 Thread Mick
On Wednesday 30 April 2008, Danis Petkakis wrote:
 hello there i try to play .mkv files with kaffeine but there is no
 sound...when i play some .avi files the sound is proper...also when i play
 .mkv files with vlc sound is also ok...what might be the problem and i
 don't have any sound in .mkv when using kaffeine?? this seems to happen
 only for .mkv files with vorbis sound embedded as i can play just fine .mkv
 files with aac sound embedded...thanks for your response...

Have you enabled the vorbis flag when emerging kaffeine?

-- 
Regards,
Mick


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


Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, Neil Bothwick wrote:
 On Thu, 1 May 2008 10:30:18 +0200, Alan McKinnon wrote:
   What a horrible suggestion, not only does it use vi - three
   times! - but it ends with a goto!
 
  Here's a much more horrible thing: In which way does the
  suggestion, horrible as it is, depart from reality?

 Your reality must be bad if you have to use vi that often ;-)

The last time my machine was (a) switch on for more than 5 minutes and 
(b) was not running vi either locally or in a remote screen session, 
was ... lemme think ... sometime around 2004??

vi is good
vi is TheOneTrueUnixWay(tm)
vi runs anywhere
vi works on keyboards from the '70s
vi was written by Bill Joy
Bill Joy wrote lots of good stuff in BSD
Our favourite OS owes a lot to BSD
using vi pays homage to those magnificent BSD'ers of old
If you hold up your hand with all fingers except the ring finger 
extended, it spells vi to others
Bram works at Google
I had a vi question two weeks ago. A colleague found a good friend at 
Google on IRC and asked him for help with the vi question. This good 
friend said Hang on a sec, I'll ask Bram, he sits two desks away (!!)

The universe does not drop obvious nano hints in our laps like it does 
with vi (see above). The universe's will in this regard is 
self-evident.

I rest my case.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] skype notworking

2008-05-01 Thread Gavin Seddon

Mick wrote:

2008/4/30 Gavin Seddon [EMAIL PROTECTED]:

 skype
 /opt/skype/skype: /usr/lib/gcc/i486-pc-linux-gnu/3.4.6/libstdc++.so.6:
version `CXXABI_1.3.1' not found (required by /opt/skype/skype)
 /opt/skype/skype: /usr/lib/gcc/i486-pc-linux-gnu/3.4.6/libstdc++.so.6:
version `GLIBCXX_3.4.4' not found (required by /opt/skype/skype)
 when I try skype I get the above.  Can anyone help pls?


Did you try revdep-rebuild -X -v -p ?


Yes, same.
thanks.
g

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



Re: [gentoo-user] skype notworking

2008-05-01 Thread Gavin Seddon

Hi,
I used revdep-rebuild --SEARCH_DIRS /opt
with no luck.  How do I check it to enable /opt?
thanks
g
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] skype notworking

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, Gavin Seddon wrote:
 Hi,
 I used revdep-rebuild --SEARCH_DIRS /opt
 with no luck.  How do I check it to enable /opt?
 thanks
 g

revdep-rebuild will not solve your problem. It only fixes problems where 
binaries used to link to other files that are no longer there. It 
cannot fix your incompatible CXXABI versions in libstdc++ as it doesn't 
know which gcc versions provide that.

Read this thread:
http://forums.gentoo.org/viewtopic-p-4107570.html?sid=8acb0d609d3259d3af0dd1c262c7d277
the last post on the page is especially informative.

Run this:
strings /usr/lib/gcc/i486-pc-linux-gnu/3.4.6/libstdc++.so.6 | grep ABI
to find out what version your gcc is providing. skype requires:

CXXABI_1.3.1
GLIBCXX_3.4.4

as per your original post. I recommend you upgrade gcc to version 4.1.2





-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] skype notworking

2008-05-01 Thread Gavin Seddon

Alan McKinnon wrote:

On Thursday 01 May 2008, Gavin Seddon wrote:

Hi,
I used revdep-rebuild --SEARCH_DIRS /opt
with no luck.  How do I check it to enable /opt?
thanks
g


revdep-rebuild will not solve your problem. It only fixes problems where 
binaries used to link to other files that are no longer there. It 
cannot fix your incompatible CXXABI versions in libstdc++ as it doesn't 
know which gcc versions provide that.


Read this thread:
http://forums.gentoo.org/viewtopic-p-4107570.html?sid=8acb0d609d3259d3af0dd1c262c7d277
the last post on the page is especially informative.

Run this:
strings /usr/lib/gcc/i486-pc-linux-gnu/3.4.6/libstdc++.so.6 | grep ABI
to find out what version your gcc is providing. skype requires:

CXXABI_1.3.1
GLIBCXX_3.4.4

as per your original post. I recommend you upgrade gcc to version 4.1.2






thanks,
However I need gcc 3~ for some critical software.  If I change to 4 'it' 
won't recompile.  I suppose I could alternate profiles as required.

g
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] skype notworking

2008-05-01 Thread Gavin Seddon

Alan McKinnon wrote:

On Thursday 01 May 2008, Gavin Seddon wrote:

Hi,
I used revdep-rebuild --SEARCH_DIRS /opt
with no luck.  How do I check it to enable /opt?
thanks
g


revdep-rebuild will not solve your problem. It only fixes problems where 
binaries used to link to other files that are no longer there. It 
cannot fix your incompatible CXXABI versions in libstdc++ as it doesn't 
know which gcc versions provide that.


Read this thread:
http://forums.gentoo.org/viewtopic-p-4107570.html?sid=8acb0d609d3259d3af0dd1c262c7d277
the last post on the page is especially informative.

Run this:
strings /usr/lib/gcc/i486-pc-linux-gnu/3.4.6/libstdc++.so.6 | grep ABI
to find out what version your gcc is providing. skype requires:

CXXABI_1.3.1
GLIBCXX_3.4.4
skype

Floating exception


as per your original post. I recommend you upgrade gcc to version 4.1.2






I've altered gcc to 4 now I get
'skype
Floating exception
'
thanks
g
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] skype notworking

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, Gavin Seddon wrote:
  as per your original post. I recommend you upgrade gcc to version
  4.1.2

 thanks,
 However I need gcc 3~ for some critical software.  If I change to 4
 'it' won't recompile.  I suppose I could alternate profiles as
 required.

I had that with qemu. It reduced me to tears...

Lucky for skype I think it will be easier as you don't build skype:

emerge gcc-4.something
set gcc-3 to the system compiler
make sure gcc-3 libs are earlier in LD_LIBRARY_PATH than gcc-4
run skype with
   LD_LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1 skype

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] skype notworking

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, Gavin Seddon wrote:
  as per your original post. I recommend you upgrade gcc to version
  4.1.2

 I've altered gcc to 4 now I get
 'skype
 Floating exception

did you run env-update and either source /etc/profile or log out/log in 
first?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] man pages not displaying right

2008-05-01 Thread Michael George
I noticed today that my man pages aren't displaying correctly.  Whenever
I view one, I see the ESC codes rather than seeing bold fonts, etc.

I don't remeber when I last used man and it displayed correctly, but I
can check back 2 weeks this evening.

I have tried several terminals (xterm, gnome-terminal, konsole) and all
have the problem.

Would this be a tercap problem?  Unicode issue, perhaps?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



Re: [gentoo-user] skype notworking

2008-05-01 Thread Gavin Seddon

Alan McKinnon wrote:

On Thursday 01 May 2008, Gavin Seddon wrote:

as per your original post. I recommend you upgrade gcc to version
4.1.2

thanks,
However I need gcc 3~ for some critical software.  If I change to 4
'it' won't recompile.  I suppose I could alternate profiles as
required.


I had that with qemu. It reduced me to tears...

Lucky for skype I think it will be easier as you don't build skype:

emerge gcc-4.something
set gcc-3 to the system compiler
make sure gcc-3 libs are earlier in LD_LIBRARY_PATH than gcc-4
run skype with
   LD_LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1 skype


samething, sorry.
g
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] man pages not displaying right - SOLVED

2008-05-01 Thread Michael George
On Thu, May 01, 2008 at 08:20:44AM -0400, Michael George wrote:
 I noticed today that my man pages aren't displaying correctly.  Whenever
 I view one, I see the ESC codes rather than seeing bold fonts, etc.
 
 I don't remeber when I last used man and it displayed correctly, but I
 can check back 2 weeks this evening.
 
 I have tried several terminals (xterm, gnome-terminal, konsole) and all
 have the problem.
 
 Would this be a tercap problem?  Unicode issue, perhaps?

It was /etc/man-conf.  A change in the NROFF definition caused the
problem.  Running dispatch-conf didn't prompt me for the config change,
so I ran etc-update this time and found it.

Hopefully this will be helpful for someone.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



Re: [gentoo-user] skype notworking ]SOLVED]

2008-05-01 Thread Gavin Seddon

Hi,I dl from skype.com and with gcc4~ IT WORKS!
thanks
g
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] 2008.0_beta2: no make.defaults in 2008.0 profile ?

2008-05-01 Thread de Almeida, Valmor F.


Hi,

I just gave 2008.0_beta2 Minimal a try and there is no make.defaults
file in the profile directory

/etc/make.profile - ../usr/portage/profiles/default/linux/x86/2008.0

However there is a make.defaults file inside
/usr/portage/profiles/default/linux

Is this how it should be?

Thanks,

--
Valmor de Almeida
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] 2008.0_beta2: no make.defaults in 2008.0 profile ?

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, de Almeida, Valmor F. wrote:
 Hi,

 I just gave 2008.0_beta2 Minimal a try and there is no make.defaults
 file in the profile directory

 /etc/make.profile - ../usr/portage/profiles/default/linux/x86/2008.0

 However there is a make.defaults file inside
 /usr/portage/profiles/default/linux

 Is this how it should be?

Yes. The directory contains one file - parent with these contents:

../../../../releases/2008.0

follow that and your will find the actual profile files

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] skype notworking ]SOLVED]

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, Gavin Seddon wrote:
 Hi,I dl from skype.com and with gcc4~ IT WORKS!
 thanks
 g

I seem to remember having something similar. I think it was one of the 
2.0.0 versions - 48? 63? Could never get it to work.

Eventually I just put an old ebuild in my overlay and used that instead. 
The latest skype also works for me. Did you download the qt-static or 
the qt version of skype?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread reader
Alan McKinnon [EMAIL PROTECTED] writes:

 vi was written by Bill Joy
 Bill Joy wrote lots of good stuff in BSD
  Our favourite OS owes a lot to BSD
 using vi pays homage to those magnificent BSD'ers of old

I second all the vi accolades.

I like the fact that Bill Joy was horribly drunk when he wrote the
bulk of vi.  vi is a very powerfull editor.

I'll probably cause Alan to never help me again but I will admit I
mostly use vim when the OS is pretty finished.

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



[gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread reader
Alan McKinnon [EMAIL PROTECTED] writes:

 All kde all gnome all xorg for example, before update world.

 It seems fine in theory, but every time I've done it in real life I get 
 into deep dependency trees that take more time to sort out than simply 
 emerging world first.

 The trouble seems to be that it's easy to spot the high level packages 
 that bring in all their DEPENDS - things like kde,gnome,xorg-x11. It's 
 harder to spot the dependencies that want to bring everything back in 
 again. kde is easy - the string 'kde' shows up in most of the names. 
 gnome is harder as the names are much more randomly chosen.

It is turning into a hefty time sink but I doubt it would take less
time to grind out update world.  And in this case I want to get rid of
all x related stuff for good.

I've found (just now) that using revdep-rebuild --pretend and then
going thru the list and emerge -vC parent packages or in some cases
emerge -v them will eventually get you a pretty clean start for build
world.

But in my case it was made a very lot easier by knowing in advance I
wanted no media related gnome, kde, xorg type stuff.

It meant I could run stuff like:

 for ii in $(eix -Ic |grep x11-|awk '/^\[/{print $2}' |sort)
 do 
   emerge  -avC $ii; done
 done

Insert media-app, plugin, kde, gnome in the grep part and walk thru
using `ask' in case something needs to be left alone.

Then following up with several runs at revdep-rebuild as cited above.

That has taken a while.. several hours... but wouldn't such big update
world have taken at least a day?

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



Re: [gentoo-user] man pages not displaying right - SOLVED

2008-05-01 Thread Wolf Canis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael George wrote:
|
| It was /etc/man-conf.  A change in the NROFF definition caused the
| problem.  Running dispatch-conf didn't prompt me for the config change,
| so I ran etc-update this time and found it.
|
| Hopefully this will be helpful for someone.
Hello,
yes it's helpful, but I used etc-update and was to fast and
can't remember what are the changes. Could you give me an idea of the
working NROFF definition?

For now, I solved it by changing the MANPAGER variable to less. I had
set MANPAGER to vimmanpager. Perhaps I have a additional  problem?

Thanks in advance.

W. Canis

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgZ69gACgkQKT9zBKF0twU2owCeIpC+MkeXvQ7CJYzA7zIBHifk
6RsAnAteCGq9NKoeH9+El/OzzzoX90XV
=o3kA
-END PGP SIGNATURE-

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



[gentoo-user] -fomit-frame-pointer switch

2008-05-01 Thread James
Hello,

On an amd64, If I want to add -fomit-frame-pointer to a system's
CFLAGS setting, I can just add it and eventually all of the
executables will be recompile (willing to wait)
or do I have to rebuild system (all packages) or such to switch?


James

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



[gentoo-user] Switch of profile messed up eix-test-obsolete

2008-05-01 Thread Dan Johansson
Today I made the mistake of upgrading my profile from 
default-linux/amd64/2007.0/desktop to default/linux/amd64/2008.0/desktop and 
it messed up eix  eix-test-obsolete.

Here's a part of the output from eix-test-obsolete:
--8
Installed packages with a version not in the database (or masked):

[D] app-admin/eselect ([EMAIL PROTECTED]/06/08 - *1.0.2 *1.0.7 ~*1.0.8 ~*1.0.9 
*1.0.10 ~*1.0.11 ~*1.0.11-r1 {bash-completion doc vim-syntax}): 
Modular -config replacement utility
[D] app-admin/eselect-ctags ([EMAIL PROTECTED]/23/08 - *1.3): Manages ctags 
implementations
[D] app-admin/eselect-esd ([EMAIL PROTECTED]/06/08 - *20060719): Manages 
configuration of ESounD implementation or PulseAudio wrapper
[D] app-admin/eselect-fontconfig ([EMAIL PROTECTED]/06/08 - *1.0): An eselect 
module to 
manage /etc/fonts/conf.d symlinks.
[D] app-admin/eselect-oodict ([EMAIL PROTECTED]/07/08 - *20060621 *20060706 
~*20060806 *20061117): Manages configuration of dictionaries for 
OpenOffice.Org.
[D] app-admin/eselect-opengl ([EMAIL PROTECTED]/06/08 - *1.0.5 ~*1.0.6 
~*1.0.6-r1): 
Utility to change the OpenGL interface being used
--8
Before the change of profile the output was clean.
Any suggestions?

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


smime.p7s
Description: S/MIME cryptographic signature


Re: [gentoo-user] -fomit-frame-pointer switch

2008-05-01 Thread Wolf Canis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James wrote:
| Hello,
|
| On an amd64, If I want to add -fomit-frame-pointer to a system's
| CFLAGS setting, I can just add it and eventually all of the
| executables will be recompile (willing to wait)
| or do I have to rebuild system (all packages) or such to switch?

Hello James,
you have to rebuild the entire system, if the new CFLAGS settings shall
have effect.

# emerge --emptytree system  emerge --emptytree world

That's the recommend procedure, according to the handbook, to do that.
But there are in the forums a big thread whether that is necessary or not.
Some argue - is not, it's sufficient to rebuild the toolchain and than
emerge -e world. Others say one should follow the recommend procedure.
I follow the recommend procedure.

Hope that helps.

W. Canis

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgZ9lwACgkQKT9zBKF0twU8hgCgmSyN7hTtp+FWizv/yVZXaTyL
2u8An0QMe2QaJUsxymGNTPo8QuDN+MUy
=BHyv
-END PGP SIGNATURE-

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



[gentoo-user] Wireshark won't run except as root

2008-05-01 Thread Bob Young

I've emerged wireshark, and made myself a member of both the wireshark
group, and the tcpdump group, but still wireshark refuses to capture packets
if executed as a non root user. The error message is: Couldn't run dumpcap
as a child process: Permission denied. 

A little research indicated that dumpcap should be installed suid root and
It appears that it is, but I still can't execute it as a non-root user:


[ 23:16:38 ]  Wed Apr 30  /usr/bin $ : ./dumpcap
bash: ./dumpcap: Permission denied
[ 09:29:50 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dump*
52 -r-sr-s--- 1 root wireshark 50876 Apr 27 15:49 /usr/bin/dumpcap
[ 09:29:52 ]  Wed Apr 30  /usr/bin $ : su
Password:
[ 09:29:55 ]  Thu May 01  /usr/bin $ : ./dumpcap
File: /tmp/etherJ8STmt
Packets: 7 Packets dropped: 0
[ 09:32:15 ]  Thu May 01  /usr/bin $ : chown root:root ./dumpcap
[ 09:32:19 ]  Thu May 01  /usr/bin $ : chmod g+s ./dumpcap
[ 09:32:29 ]  Thu May 01  /usr/bin $ : chmod u+s ./dumpcap
[ 09:32:38 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dump*
52 -r-sr-s--- 1 root root 50876 Apr 27 15:49 /usr/bin/dumpcap
[ 09:32:47 ]  Thu May 01  /usr/bin $ : exit
exit
[ 09:33:01 ]  Thu May 01  /usr/bin $ : whoami
Cyor
[ 09:33:06 ]  Thu May 01  /usr/bin $ : ./dumpcap
bash: ./dumpcap: Permission denied
[ 09:33:10 ]  Thu May 01  /usr/bin $ :  

I'm sure it's probably something simple that I'm unaware of or not seeing
for some reason. Can anybody point out what I'm doing wrong.

Thanks,
Bob Young
San Jose, CA.

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



Re: [gentoo-user] emerge virtual/emacs fails

2008-05-01 Thread Roger Mason
dany2a [EMAIL PROTECTED] writes:

 You've got to update portage first, looks like you have an older portage
 version, that cannot handle lzma. Had the same prob and updating portage was
 the fix (besides installing lzma-utils).
  emerge -a1 portage

That was it.

Thanks very much.

Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: -fomit-frame-pointer switch

2008-05-01 Thread James
Wolf Canis wolf.canis at googlemail.com writes:

 
 
 James wrote:
 | Hello,
 |
 | On an amd64, If I want to add -fomit-frame-pointer to a system's
 | CFLAGS setting, I can just add it and eventually all of the
 | executables will be recompile (willing to wait)
 | or do I have to rebuild system (all packages) or such to switch?
 
 Hello James,
 you have to rebuild the entire system, if the new CFLAGS settings shall
 have effect.
 

OK, I agree with that. BUT, if I do not then I do not get the benefits
of that compiler option, but wont the system still work fine? After a 
while, over time, everything get's rebuilt anyway; If can wait a few months
for everything to slowly be recompiled. I'm not asking if this is wise,
recommended or will result immediately with binaries that are a result 
of using -fomit-frame-pointer. 

I just want to know if the system will continue to function, albeit slower
that if I recompile the system and then world  (using the syntax 
you list below)?

 # emerge --emptytree system  emerge --emptytree world
 
 That's the recommend procedure, according to the handbook, to do that.
 But there are in the forums a big thread whether that is necessary or not.
 Some argue - is not, it's sufficient to rebuild the toolchain and than
 emerge -e world. Others say one should follow the recommend procedure.
 I follow the recommend procedure.


I do appreciate your answer, and agree with it from what I've read.

But in order to avoid recompiling all of those packages (for now)
I can just add it to my CFlags and wait a few months, as another option?

Or is there real peril with this approach to slowly converting a system?


James





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



Re: [gentoo-user] -fomit-frame-pointer switch

2008-05-01 Thread Uwe Thiem
On Thursday 01 May 2008, James wrote:
 Hello,

 On an amd64, If I want to add -fomit-frame-pointer to a system's
 CFLAGS setting, I can just add it and eventually all of the
 executables will be recompile (willing to wait)
 or do I have to rebuild system (all packages) or such to switch?

No need to rebuild the whole system. One-by-one is fine. A lot of 
packages set it anyway.

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Blocking package is not actually installed

2008-05-01 Thread Michael Sullivan
I'm trying to install a package that is being blocked by a package that
portage claims is not even installed:

catherine ~ # emerge -av =dev-util/gtk-doc-am-1.10-r1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] dev-util/gtk-doc-am-1.10-r1  395 kB 
[blocks B ] dev-util/gtk-doc-am (is blocking
dev-util/gtk-doc-1.8-r2)

Total: 1 package (1 new, 1 block), Size of downloads: 395 kB

!!! Error: The above package list contains packages which cannot be
installed
!!!at the same time on the same system.

For more information about Blocked Packages, please refer to the
following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

catherine ~ # emerge -pv dev-util/gtk-doc-am

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] dev-util/gtk-doc-am-1.10-r1  395 kB 
[blocks B ] dev-util/gtk-doc-am (is blocking
dev-util/gtk-doc-1.8-r2)

Total: 1 package (1 new, 1 block), Size of downloads: 395 kB

What should I do?

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



Re: [gentoo-user] man pages not displaying right - SOLVED

2008-05-01 Thread felix
On Thu, May 01, 2008 at 06:12:19PM +0200, Wolf Canis wrote:

 Michael George wrote:
 |
 | It was /etc/man-conf.  A change in the NROFF definition caused the
 | problem.  Running dispatch-conf didn't prompt me for the config change,
 | so I ran etc-update this time and found it.
 |
 | Hopefully this will be helpful for someone.
 Hello,
 yes it's helpful, but I used etc-update and was to fast and
 can't remember what are the changes. Could you give me an idea of the
 working NROFF definition?

 For now, I solved it by changing the MANPAGER variable to less. I had
 set MANPAGER to vimmanpager. Perhaps I have a additional  problem?

I searched for NROFF in /etc/man-conf and found a note saying to add
-c if something had a specific version.  I tried that and it works
now.  There may be otehr fixesm but that works for me.  Just edit it
and look for NROFF, it's in a comment.

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



[gentoo-user] origin of kernel module: scsi_wait_scan.mod ??

2008-05-01 Thread de Almeida, Valmor F.

Hello,

I am compiling a vanilla-sources 2.6.24.4 kernel (2008.0_beta2 minimal
install) and no matter what I do to disable scsi support I end up with a
scsi module (scsi_wait_scan.mod) after compilation. When looking at the
.config file I see

CONFIG_SCSI=y
CONFIG_SCSI_DMA=y

CONFIG_SCSI_WAIT_SCAN=m

CONFIG_SCSI_SPI_ATTRS=y

All of these should not be set because I did not enable them in
menuconfig. Something else is setting those. Would someone know what? I
turned off usb support completely in menuconfig. I don't need usb
support anyway since this is a virtualbox guest OS install.

Thank you for you help,

--
Valmor de Almeida

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



Re: [gentoo-user] Re: -fomit-frame-pointer switch

2008-05-01 Thread Wolf Canis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James wrote:
|
| But in order to avoid recompiling all of those packages (for now)
| I can just add it to my CFlags and wait a few months, as another option?
Yes, there shouldn't any problems appear.
|
| Or is there real peril with this approach to slowly converting a system?
I think no. But I'm not that Guru, I'm not sure whether there is package 
or dependency

which if new compiled failed or lead to any instability.

If you need that system for something important, I wouldn't recommend to 
experiment
with CFLAGS. I would do that in a time window where I would have a 
couple of days time.


That's what I would do. Because you can never know for sure whether it comes
to problems or not.  ;-)

W. Canis

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgaAz0ACgkQKT9zBKF0twXFHACfTBNKv0j9s6Bo3cPmChf72X4x
+5sAmwcqUWggUQhC98o1duN0r/ylXsBH
=93sI
-END PGP SIGNATURE-

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



Re: [gentoo-user] Switch of profile messed up eix-test-obsolete

2008-05-01 Thread Neil Bothwick
On Thu, 1 May 2008 18:52:20 +0200, Dan Johansson wrote:

 Today I made the mistake of upgrading my profile from 
 default-linux/amd64/2007.0/desktop to
 default/linux/amd64/2008.0/desktop and it messed up eix 
 eix-test-obsolete.

 Before the change of profile the output was clean.
 Any suggestions?

1) Update eix to 0.12.4

2) Read the mailing list, this one was asked and answered a day or two ago :(


-- 
Neil Bothwick

If ignorance is bliss, why aren't more people happy?


signature.asc
Description: PGP signature


[gentoo-user] Re: -fomit-frame-pointer switch

2008-05-01 Thread James
Justin justin at j-schmitz.net writes:


 As the wiki says

I cannot seem to find this reference in any of the wikis
I use for Gentoo, perhaps a url so I can read more?


 -fomit-frame-pointer tells gcc to omit frame pointers, freeing up an 
 additional register on the CPU. This is mainly useful on x86 as most 
 other arches, like AMD64, have it on by default at -O2 or greater


 you do not recompile anything, if you had -O2 or greater before.


WONDERFUL answer.


Thanks to all that responded.


James





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



Re: [gentoo-user] Re: -fomit-frame-pointer switch

2008-05-01 Thread Justin

James schrieb:

Justin justin at j-schmitz.net writes:


  

As the wiki says



I cannot seem to find this reference in any of the wikis
I use for Gentoo, perhaps a url so I can read more?


  

http://gentoo-wiki.com/CFLAGS#-fomit-frame-pointer



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Blocking package is not actually installed

2008-05-01 Thread John covici
on Thursday 05/01/2008 Michael Sullivan([EMAIL PROTECTED]) wrote
  I'm trying to install a package that is being blocked by a package that
  portage claims is not even installed:
  
  catherine ~ # emerge -av =dev-util/gtk-doc-am-1.10-r1
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild  N] dev-util/gtk-doc-am-1.10-r1  395 kB 
  [blocks B ] dev-util/gtk-doc-am (is blocking
  dev-util/gtk-doc-1.8-r2)
  
  Total: 1 package (1 new, 1 block), Size of downloads: 395 kB
  
  !!! Error: The above package list contains packages which cannot be
  installed
  !!!at the same time on the same system.
  
  For more information about Blocked Packages, please refer to the
  following
  section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
  
  http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
  
  catherine ~ # emerge -pv dev-util/gtk-doc-am
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild  N] dev-util/gtk-doc-am-1.10-r1  395 kB 
  [blocks B ] dev-util/gtk-doc-am (is blocking
  dev-util/gtk-doc-1.8-r2)
  
  Total: 1 package (1 new, 1 block), Size of downloads: 395 kB
  
  What should I do?

What I did was to unmerge dev-util/gtk-doc and that seemed to fix
things.  You might want to look at a previous thread of a couple of
days ago which I started and was quite informative.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Brandon Mintern
My cleanup routine pretty much involves running vim on
/var/lib/portage/world and going down the list. If I see something I
definitely don't need, I remove that line. If I see something that I
don't remember what it was, in another terminal (just an ALT-TAB away)
I run esearch package-name. After I'm done going through the file, I
run emerge -a --depclean followed by revdep-rebuild.

Call me old school, but that method never takes me more than a few
minutes to do. I am also someone in the vim camp. It fires up quickly
and is very efficient for moving around files, which is what editing
configuration files is all about. Not to mention that I use it for all
of my programming as well (except that I'm just now starting to learn
SLIME for Lisp, pretty much a necessity).

The other thing I do is to run emerge --sync and emerge -uDNav
once a week (followed by emerge --depclean and revdep-rebuild). I
check the USE flags of the updated/newly-installed packages to make
sure they are what I want, using euse -E, euse -D, or editing
/etc/portage/package.use appropriately.

That's my input,
Brandon
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread reader
Brandon Mintern [EMAIL PROTECTED] writes:

 Call me old school, but that method never takes me more than a few
 minutes to do. I am also someone in the vim camp. It fires up quickly

Unless you are updating a vmappliance built on old (even for 2006)
2006 pkgs to current 2008 pkgs.

I know this is a monster thread but making that big a jump is what is
being discussed.

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



[gentoo-user] checking for.....

2008-05-01 Thread reader
In the middle of doing a major upgrade from very old pkgs to current
2008 and compiling lots and lots of stuff.

Seeing that line `checking for WHATEVER' go by 486,211 times so far
makes me wonder if there wouldn't be someway to cache all those
answers somewhere so whatever test is done for each line could be
dispensed with for most of them.  Probably would need more than 2-3
compiles to have all but rare ones answered.

Some items really check a lot of things.

I think it would be a major time saver when discussing huge numbers
of compiles.


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



Re: [gentoo-user] Blocking package is not actually installed

2008-05-01 Thread Michael Sullivan
On Thu, 2008-05-01 at 14:25 -0400, John covici wrote:
 on Thursday 05/01/2008 Michael Sullivan([EMAIL PROTECTED]) wrote
   I'm trying to install a package that is being blocked by a package that
   portage claims is not even installed:
   
   catherine ~ # emerge -av =dev-util/gtk-doc-am-1.10-r1
   
   These are the packages that would be merged, in order:
   
   Calculating dependencies... done!
   [ebuild  N] dev-util/gtk-doc-am-1.10-r1  395 kB 
   [blocks B ] dev-util/gtk-doc-am (is blocking
   dev-util/gtk-doc-1.8-r2)
   
   Total: 1 package (1 new, 1 block), Size of downloads: 395 kB
   
   !!! Error: The above package list contains packages which cannot be
   installed
   !!!at the same time on the same system.
   
   For more information about Blocked Packages, please refer to the
   following
   section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
   
   http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
   
   catherine ~ # emerge -pv dev-util/gtk-doc-am
   
   These are the packages that would be merged, in order:
   
   Calculating dependencies... done!
   [ebuild  N] dev-util/gtk-doc-am-1.10-r1  395 kB 
   [blocks B ] dev-util/gtk-doc-am (is blocking
   dev-util/gtk-doc-1.8-r2)
   
   Total: 1 package (1 new, 1 block), Size of downloads: 395 kB
   
   What should I do?
 
 What I did was to unmerge dev-util/gtk-doc and that seemed to fix
 things.  You might want to look at a previous thread of a couple of
 days ago which I started and was quite informative.
 
 -- 
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?
 
  John Covici
  [EMAIL PROTECTED]

I unmerged gtk-doc and ran my command again.  Now it wants to install
gtk-doc, but it's still blocked:

catherine ~ # emerge -av =gtk+-2.12.9-r2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] dev-util/gtk-doc-1.8-r2  USE=debug doc -emacs 182 kB 
[ebuild  N] dev-util/gtk-doc-am-1.10-r1  395 kB 
[ebuild U ] x11-libs/gtk+-2.12.9-r2 [2.12.8] USE=X cups debug doc
jpeg tiff -vim-syntax -xinerama 15,652 kB 
[blocks B ] dev-util/gtk-doc-am (is blocking
dev-util/gtk-doc-1.8-r2)

Total: 3 packages (1 upgrade, 2 new, 1 block), Size of downloads: 16,229
kB

!!! Error: The above package list contains packages which cannot be
installed
!!!at the same time on the same system.

For more information about Blocked Packages, please refer to the
following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


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



Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Brandon Mintern
On Thu, May 1, 2008 at 3:06 PM,  [EMAIL PROTECTED] wrote:
 Brandon Mintern [EMAIL PROTECTED] writes:

   Call me old school, but that method never takes me more than a few
   minutes to do. I am also someone in the vim camp. It fires up quickly

  Unless you are updating a vmappliance built on old (even for 2006)
  2006 pkgs to current 2008 pkgs.

  I know this is a monster thread but making that big a jump is what is
  being discussed.

I can certainly understand and sympathize with that. My first
internship and first real exposure to Unix involved updating to a new
FreeBSD installation from one that had not been updated in several
years. I was mostly responding to Neil Bothwick's implication (even if
it was sarcastic) that using vim indicates bad things.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] compiling a module after the fact

2008-05-01 Thread reader
I thought I remembered someway to compile a single module after the
fact that didn't involve recompiling everthing... but just now I
entered the usr/src/linux directory and edited .config adding the
sshfs FUSE module.

when I ran `make'  I see it grinding thru the whole thing again.  Is
that normal?

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



Re: [gentoo-user] compiling a module after the fact

2008-05-01 Thread Jason Messerschmitt
yes

On Thu, May 1, 2008 at 2:14 PM, [EMAIL PROTECTED] wrote:

 I thought I remembered someway to compile a single module after the
 fact that didn't involve recompiling everthing... but just now I
 entered the usr/src/linux directory and edited .config adding the
 sshfs FUSE module.

 when I ran `make'  I see it grinding thru the whole thing again.  Is
 that normal?

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




Re: [gentoo-user] checking for.....

2008-05-01 Thread Brandon Mintern
On Thu, May 1, 2008 at 3:11 PM,  [EMAIL PROTECTED] wrote:
 In the middle of doing a major upgrade from very old pkgs to current
  2008 and compiling lots and lots of stuff.

  Seeing that line `checking for WHATEVER' go by 486,211 times so far
  makes me wonder if there wouldn't be someway to cache all those
  answers somewhere so whatever test is done for each line could be
  dispensed with for most of them.  Probably would need more than 2-3
  compiles to have all but rare ones answered.

  Some items really check a lot of things.

  I think it would be a major time saver when discussing huge numbers
  of compiles.


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

I had thought the same thing myself some time ago, and I discovered
that there had been work on a FEATURE called confcache. I believe it
was abandoned, though, due to major difficulties. This is merely a
guess, but I think some of the problems arise in that some of the
things that are checked for actually change as a package is installed
or updated (e.g. checking gcc version). This means that each package
being installed would have to somehow flag confcache and indicate that
it has changed, and confcache would have to keep a list of all these
cached values and their dependencies.

I think there might be potential, however, for something that cached
some of the more common system checks such as number of command line
arguments. Then again, if many of these configuration items are
discovered through a simple system call or by running a quick command,
I'm not sure how much faster something like confcache would actually
be.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Question about items on the main menu

2008-05-01 Thread Daniel Pielmeier
2008/5/1 Michael Sullivan [EMAIL PROTECTED]:
 In gnome-2.20.3, how would I find out what Main
  Menu-System-Administration-Printing tries to run?  And where would
  errors from attempting to run it be dumped to?  When I run it, it fails
  silently.

You can try to find out which desktop file belongs to this entry. They
are usually in /usr/share/applications. The exec key shows you which
program is executed. You can run it from the command line to see which
error happens!

Regards,

Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Neil Bothwick
On Thu, 1 May 2008 15:13:27 -0400, Brandon Mintern wrote:

 I was mostly responding to Neil Bothwick's implication (even if
 it was sarcastic) that using vim indicates bad things.

Implication? I obviously wasn't clear enough ;-)


-- 
Neil Bothwick

Just got a new car for my wifeGreat Trade!


signature.asc
Description: PGP signature


Re: [gentoo-user] Blocking package is not actually installed [SOLVED]

2008-05-01 Thread Michael Sullivan

On Thu, 2008-05-01 at 22:22 +0100, Neil Bothwick wrote:
 On Thu, 01 May 2008 14:12:38 -0500, Michael Sullivan wrote:
 
  I unmerged gtk-doc and ran my command again.  Now it wants to install
  gtk-doc, but it's still blocked:
  
  catherine ~ # emerge -av =gtk+-2.12.9-r2
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild  N] dev-util/gtk-doc-1.8-r2  USE=debug doc -emacs 182 kB 
  [ebuild  N] dev-util/gtk-doc-am-1.10-r1  395 kB 
  [ebuild U ] x11-libs/gtk+-2.12.9-r2 [2.12.8] USE=X cups debug doc
  jpeg tiff -vim-syntax -xinerama 15,652 kB 
  [blocks B ] dev-util/gtk-doc-am (is blocking
  dev-util/gtk-doc-1.8-r2)
 
 It looks like you are trying to mix testing and stable packages. On my
 amd64 setup, gtk+-2.12.9-r2 is ~amd64 but gtk-doc-1.8-r2 is amd64. If
 that's the case, adding gtk-doc to package.keywords should resolve this.
 
 

It did.

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



Re: [gentoo-user] Question about items on the main menu

2008-05-01 Thread Robert Bridge
On Thu, 2008-05-01 at 15:25 -0500, Michael Sullivan wrote:
 I looked it up and found the file.  The Exec line was
 gnome-cups-manager.  Should gnome-cups-manager have some visible GUI,
 because it doesn't.  When I run it at the terminal prompt, it just gives
 me a blinking cursor until I Cntrl+C it...

For me it opens a browser tab to the localhost cups admin page. Is cups
running on the computer in question?

Rob.



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


[gentoo-user] re-appearance of `waiting for lock' bug?

2008-05-01 Thread reader
updating from an old 2006 pkg based install to latest 2008 and have
gotten pretty far along... right now emerging udev in an
  emerge -vuDN system
command.

The emerge is hung at:

  Calculating dependencies... done!
  [ebuild U ] sys-fs/udev-120 [087-r1] USE=(-selinux) 0 kB
  
  Total: 1 package (1 upgrade), Size of downloads: 0 kB
  
   Verifying ebuild Manifests...
  
   Emerging (1 of 1) sys-fs/udev-120 to /
  waiting for lock on /var/tmp/portage/sys-fs/.udev-120.portage_lockfile

And has been there a good while.

Looking at the bugs I see it mentioned but says it was fixed quite
sometime ago.

Any suggestions of how to get past this item and on with updating world?

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



Re: [gentoo-user] re-appearance of `waiting for lock' bug?

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, [EMAIL PROTECTED] wrote:

   waiting for lock on
 /var/tmp/portage/sys-fs/.udev-120.portage_lockfile

 And has been there a good while.

 Looking at the bugs I see it mentioned but says it was fixed quite
 sometime ago.

 Any suggestions of how to get past this item and on with updating
 world?

Ctrl-C to kill the emerge and 
rm /var/tmp/portage/sys-fs/.udev-120.portage_lockfile

then try again

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] checking for.....

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, [EMAIL PROTECTED] wrote:
 In the middle of doing a major upgrade from very old pkgs to current
 2008 and compiling lots and lots of stuff.

 Seeing that line `checking for WHATEVER' go by 486,211 times so far
 makes me wonder if there wouldn't be someway to cache all those
 answers somewhere so whatever test is done for each line could be
 dispensed with for most of them.  Probably would need more than 2-3
 compiles to have all but rare ones answered.

 Some items really check a lot of things.

 I think it would be a major time saver when discussing huge numbers
 of compiles.

You are expecting autoconf to actually do something sane when it runs???

Har har.
You must be new here.

:-)

That problem has been discussed about 486,212 times and solved about 0 
times.


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] Re: re-appearance of `waiting for lock' bug?

2008-05-01 Thread reader
Alan McKinnon [EMAIL PROTECTED] writes:

 Ctrl-C to kill the emerge and 
 rm /var/tmp/portage/sys-fs/.udev-120.portage_lockfile

Egad and how many times have done that in other situations...

I tried emerge -vC udev followed by emerge -v udev

No help

Its just udev-120 that does this.

Before seeing your post I backed up to udev-119 and went right thru.
So must still be something a little off there.

However I emerged udev again and deleted the lock file as recommended
and 120 went right thru.

120 must be the first version that concerns itself with lock files.

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



Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, Brandon Mintern wrote:
 I was mostly responding to Neil Bothwick's implication (even if
 it was sarcastic) that using vim indicates bad things.

Hey Neil,

Looks like we caught one - a big fish this time :-) :-)


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, Neil Bothwick wrote:
 On Thu, 1 May 2008 15:13:27 -0400, Brandon Mintern wrote:
  I was mostly responding to Neil Bothwick's implication (even if
  it was sarcastic) that using vim indicates bad things.

 Implication? I obviously wasn't clear enough ;-)

Hey, watch it there bonzo, or I'll have to send Dirk Gently's friend 
Noddy and his lads around for a wee chat

:-) :-)

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] Re: checking for.....

2008-05-01 Thread reader
Alan McKinnon [EMAIL PROTECTED] writes:

 You are expecting autoconf to actually do something sane when it runs???

 Har har.
 You must be new here.

hehe... no not new... you'd never know it by the questions I ask but
I've been running linux since redhat 3 series circa 1995-6 or so.

I probably shouldn't admit it though..  It seems like there are
getting to be sharper and sharper newish users here.

Just a very slow learner... or as some have said... not the sharpest tool
in the shed.

But thinking it over a bit after the other response I can see where it
would be really difficult to cache that output I hadn't really
considered that packages may change the answers frequently.

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



Re: [gentoo-user] Re: re-appearance of `waiting for lock' bug?

2008-05-01 Thread Alan McKinnon
On Thursday 01 May 2008, [EMAIL PROTECTED] wrote:
 Alan McKinnon [EMAIL PROTECTED] writes:
  Ctrl-C to kill the emerge and
  rm /var/tmp/portage/sys-fs/.udev-120.portage_lockfile

 Egad and how many times have done that in other situations...

 I tried emerge -vC udev followed by emerge -v udev

 No help

 Its just udev-120 that does this.

 Before seeing your post I backed up to udev-119 and went right thru.
 So must still be something a little off there.

 However I emerged udev again and deleted the lock file as recommended
 and 120 went right thru.

 120 must be the first version that concerns itself with lock files.

I've seen similar messages a few times on my boxes recently, but each 
time the emerge got going again after a short while. So I never really 
bothered finding out exactly what is going on.

You mentioned a reported bug earlier, do you have a link that describes 
it more?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] checking for.....

2008-05-01 Thread Uwe Thiem
On Thursday 01 May 2008, Alan McKinnon wrote:
 On Thursday 01 May 2008, [EMAIL PROTECTED] wrote:
  In the middle of doing a major upgrade from very old pkgs to
  current 2008 and compiling lots and lots of stuff.
 
  Seeing that line `checking for WHATEVER' go by 486,211 times so
  far makes me wonder if there wouldn't be someway to cache all
  those answers somewhere so whatever test is done for each line
  could be dispensed with for most of them.  Probably would need
  more than 2-3 compiles to have all but rare ones answered.
 
  Some items really check a lot of things.
 
  I think it would be a major time saver when discussing huge
  numbers of compiles.

 You are expecting autoconf to actually do something sane when it
 runs???

 Har har.
 You must be new here.

 :-)

 That problem has been discussed about 486,212 times and solved
 about 0 times.

Fortunately, more packages go over to cmake. Just a matter of time.

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Uwe Thiem
On Thursday 01 May 2008, Neil Bothwick wrote:
 On Thu, 1 May 2008 15:13:27 -0400, Brandon Mintern wrote:
  I was mostly responding to Neil Bothwick's implication (even if
  it was sarcastic) that using vim indicates bad things.

 Implication? I obviously wasn't clear enough ;-)

You were very clear. Some time ago, I offered you a Hansa Draught for 
some help if you ever happened to come to Windhoek. That offer is 
void now, and I'll drink the pint myself. Traitor!

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] New eth.0/openrc setup - I'm confused

2008-05-01 Thread reader
After updating to 2008 pkgset after merging openrc  I lost the
net.eth0 link.. I see other have seen this and even at least 2 bug
reports but the cure is said to be recreating by hand.

I find that not to work... DETAILS:

First, net.lo is itself a symlink to /lib/rc/sh/net.sh, so I'm
creating a symlink to a symlink... ok so far.

once its created (net.eth0 as symlink to net.lo) the usual commands
for stopping or checking status etc don't work.

/etc/init.d/net.eth0 start/stop/status  gives me results that appear
not to have anything to do with reality.

 # /etc/init.d/net.eth0 restart
 * ERROR: net.eth0 has been stopped by something else

 # /etc/init.d/net.eth0 start
 * WARNING: net.eth0 has already been started

meantime netstat indicates no changes at all.. eth0 is up throughout.

So what is the correct procedure here?

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



Re: [gentoo-user] New eth.0/openrc setup - I'm confused

2008-05-01 Thread Albert Hopkins
On Thu, 2008-05-01 at 16:47 -0500, [EMAIL PROTECTED] wrote:
 After updating to 2008 pkgset after merging openrc  I lost the
 net.eth0 link.. I see other have seen this and even at least 2 bug
 reports but the cure is said to be recreating by hand.
 
 I find that not to work... DETAILS:
 
 First, net.lo is itself a symlink to /lib/rc/sh/net.sh, so I'm
 creating a symlink to a symlink... ok so far.
 
 once its created (net.eth0 as symlink to net.lo) the usual commands
 for stopping or checking status etc don't work.
 
 /etc/init.d/net.eth0 start/stop/status  gives me results that appear
 not to have anything to do with reality.
 
  # /etc/init.d/net.eth0 restart
  * ERROR: net.eth0 has been stopped by something else
 
  # /etc/init.d/net.eth0 start
  * WARNING: net.eth0 has already been started
 
 meantime netstat indicates no changes at all.. eth0 is up throughout.
 
 So what is the correct procedure here?

Did you try

# /etc/init.d/net.eth0 zap

?

 

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



Re: [gentoo-user] Re: re-appearance of `waiting for lock' bug?

2008-05-01 Thread Robert Bridge
On Thu, 2008-05-01 at 23:21 +0200, Alan McKinnon wrote:
 I've seen similar messages a few times on my boxes recently, but each 
 time the emerge got going again after a short while. So I never really 
 bothered finding out exactly what is going on.

I believe portage recently switched to using parallel-fetch by default,
which causes a similar message to appear if the build thread catches up
with the fetch thread. In this situation, it is, essentially, harmless,
and is just a message to say I haven't died.

Rob.


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


Re: [gentoo-user] Re: smoothest way to jump from 2006 to 2008

2008-05-01 Thread Neil Bothwick
On Thu, 1 May 2008 22:41:23 +0100, Uwe Thiem wrote:

  Implication? I obviously wasn't clear enough ;-)  
 
 You were very clear. Some time ago, I offered you a Hansa Draught for 
 some help if you ever happened to come to Windhoek. That offer is 
 void now, and I'll drink the pint myself. Traitor!

Oh, vi! I thought Alan was on about something else. I LOVE vi!!!


-- 
Neil Bothwick

EASY TO INSTALL = Difficult to install, but instruction manual has
pictures.


signature.asc
Description: PGP signature


Re: [gentoo-user] man pages not displaying right - SOLVED

2008-05-01 Thread Michael George
On Thu, May 01, 2008 at 06:12:19PM +0200, Wolf Canis wrote:
 Michael George wrote:
 |
 | It was /etc/man-conf.  A change in the NROFF definition caused the
 | problem.  Running dispatch-conf didn't prompt me for the config change,
 | so I ran etc-update this time and found it.
 |
 | Hopefully this will be helpful for someone.
 Hello,
 yes it's helpful, but I used etc-update and was to fast and
 can't remember what are the changes. Could you give me an idea of the
 working NROFF definition?
 
 For now, I solved it by changing the MANPAGER variable to less. I had
 set MANPAGER to vimmanpager. Perhaps I have a additional  problem?

Here is the NROFF definition which did *not* work:
NROFF/usr/bin/nroff -mandoc

This is my NROFF setting now, and from before I had the problem, which
*does* work:
NROFF/usr/bin/nroff -Tascii -c -mandoc

I hope this can be helpful to many of you out there.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



[gentoo-user] SMB protocol for Krusader

2008-05-01 Thread Abraham Gyorgy
Hello Gentoo users,

I'm trying to enable smb:// support for Krusader. Searching the net I got a
solution: I have to emerge kde-base/kdebase-kioslaves. (on Ubuntu I had to
install a very similarly named package to do this).

But unfortunately doing this isnt a good idea, because:

lapitopi gyuszk # emerge -pv kdebase-kioslaves

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] kde-base/kdialog-3.5.8  USE=-arts -debug -kdeenablefinal
-kdehiddenvisibility -xinerama 23,633 kB
[ebuild  N] kde-base/kdebase-kioslaves-3.5.8  USE=-arts -debug -hal
-kdeenablefinal -kdehiddenvisibility -ldap -openexr -samba -xinerama 20 kB
[blocks B ] =kde-base/kdebase-kioslaves-3.5* (is blocking
kde-base/kdebase-3.5.8-r6)
[blocks B ] =kde-base/kdebase-3.5* (is blocking
kde-base/kdebase-kioslaves-3.5.8, kde-base/kdialog-3.5.8)
[blocks B ] =kde-base/kdialog-3.5* (is blocking
kde-base/kdebase-3.5.8-r6)

Total: 2 packages (2 new, 3 blocks), Size of downloads: 23,653 kB


Maybe kdebase has a use flag for kioslaves...?

lapitopi gyuszk # emerge -pv kdebase

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdebase-3.5.8-r6  USE=cups pam xscreensaver -arts
-branding -debug -hal -ieee1394 -java -joystick -kdeenablefinal
-kdehiddenvisibility -ldap -lm_sensors -logitech-mouse -openexr -opengl
-samba -xcomposite -xinerama 23,671 kB


No. :(

Information: I'm running Gentoo amd64, everything up-to-date. Installed
monolythic kde (emerge kde).
Can anybody help? Thanks a lot.


Re: [gentoo-user] SMB protocol for Krusader

2008-05-01 Thread Sandro Hannemann
Just the samba USE flag when emerging kde.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] SMB protocol for Krusader

2008-05-01 Thread Sandro Hannemann
Sorry, I hit the send button by accident.
I think all you have to do is to enable the samba USE flag when emerging kde.

You can append the line:
kde-base/kdebase samba

to /etc/portage/package.use

to accomplish that
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] SMB protocol for Krusader

2008-05-01 Thread Volker Armin Hemmann
On Freitag, 2. Mai 2008, Abraham Gyorgy wrote:
 Hello Gentoo users,

 I'm trying to enable smb:// support for Krusader. Searching the net I got a
 solution: I have to emerge kde-base/kdebase-kioslaves. (on Ubuntu I had to
 install a very similarly named package to do this).

 But unfortunately doing this isnt a good idea, because:

 lapitopi gyuszk # emerge -pv kdebase-kioslaves

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild  N] kde-base/kdialog-3.5.8  USE=-arts -debug -kdeenablefinal
 -kdehiddenvisibility -xinerama 23,633 kB
 [ebuild  N] kde-base/kdebase-kioslaves-3.5.8  USE=-arts -debug -hal
 -kdeenablefinal -kdehiddenvisibility -ldap -openexr -samba -xinerama 20 kB
 [blocks B ] =kde-base/kdebase-kioslaves-3.5* (is blocking
 kde-base/kdebase-3.5.8-r6)
 [blocks B ] =kde-base/kdebase-3.5* (is blocking
 kde-base/kdebase-kioslaves-3.5.8, kde-base/kdialog-3.5.8)
 [blocks B ] =kde-base/kdialog-3.5* (is blocking
 kde-base/kdebase-3.5.8-r6)

 Total: 2 packages (2 new, 3 blocks), Size of downloads: 23,653 kB


 Maybe kdebase has a use flag for kioslaves...?

 lapitopi gyuszk # emerge -pv kdebase

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild   R   ] kde-base/kdebase-3.5.8-r6  USE=cups pam xscreensaver -arts
 -branding -debug -hal -ieee1394 -java -joystick -kdeenablefinal
 -kdehiddenvisibility -ldap -lm_sensors -logitech-mouse -openexr -opengl
 -samba -xcomposite -xinerama 23,671 kB


 No. :(

 Information: I'm running Gentoo amd64, everything up-to-date. Installed
 monolythic kde (emerge kde).
 Can anybody help? Thanks a lot.

there is no flag, because kio-slaves are an integral part of KDE and always 
installed with kdebase. So you don't need to install anything. 
BUT you need to re-emerge kdebase with the samba useflag. lmsensors, opengl, 
hal, java, kdehiddenvisibility, xcomposity would be good ideas too.


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



[gentoo-user] Re: New eth.0/openrc setup - I'm confused

2008-05-01 Thread reader
Albert Hopkins [EMAIL PROTECTED] writes:

 So what is the correct procedure here?

 Did you try

 # /etc/init.d/net.eth0 zap

It has no effect whatsoever:

  root # /etc/init.d/net.eth0 zap
  * Manually resetting net.eth0 to stopped state

(In fact it is not stopped I can ping www.gentoo)

  root # /etc/init.d/net.eth0 start
   * ERROR: net.eth0 has been started by something else

  root # /etc/init.d/net.eth0 stop
   * WARNING: net.eth0 is already stopped

(In fact it is not stopped... ping works)

All the while netstat and ifconfig report eth0 to be up and in fact a
viable connection is in place throughout.

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



RE: [gentoo-user] Wireshark won't run except as root (Solved but Why is this)

2008-05-01 Thread Bob Young


-Original Message-
From: Bob Young [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 01, 2008 10:03 AM
To: Gentoo-user List
Subject: [gentoo-user] Wireshark won't run except as root


 I've emerged wireshark, and made myself a member of both the wireshark
 group, and the tcpdump group, but still wireshark refuses to capture 
 packets if executed as a non root user. The error message is: Couldn't
 run dumpcap as a child process: Permission denied. 

 A little research indicated that dumpcap should be installed suid root and
 It appears that it is, but I still can't execute it as a non-root user:

 I'm sure it's probably something simple that I'm unaware of or not seeing
 for some reason. Can anybody point out what I'm doing wrong.

 Thanks,
 Bob Young
 San Jose, CA.

Well a little more experimentation proved that world has to have execute
permission:

[ 18:16:56 ]  Thu May 01  /home/Cyor $ : su
Password:
[ 18:25:38 ]  Thu May 01  /home/Cyor $ : cd /usr/bin/
[ 18:28:52 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dumpcap
52 -rwxr-x--- 1 root wireshark 50876 Apr 27 15:49 /usr/bin/dumpcap
[ 18:28:58 ]  Thu May 01  /usr/bin $ : chmod u+s  ./dumpcap
[ 18:29:26 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dumpcap
52 -rwsr-x--- 1 root wireshark 50876 Apr 27 15:49 /usr/bin/dumpcap
[ 18:29:30 ]  Thu May 01  /usr/bin $ : exit
exit
[ 18:29:44 ]  Thu May 01  /home/Cyor $ : whoami
Cyor
[ 18:30:11 ]  Thu May 01  /home/Cyor $ : cd /usr/bin/
[ 18:30:21 ]  Thu May 01  /usr/bin $ : ./dumpcap
bash: ./dumpcap: Permission denied
[ 18:30:24 ]  Thu May 01  /usr/bin $ : su
Password:
[ 18:31:18 ]  Thu May 01  /usr/bin $ : whoami
root
[ 18:32:03 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dumpcap
52 -rwsr-x--- 1 root wireshark 50876 Apr 27 15:49 /usr/bin/dumpcap
[ 18:32:14 ]  Thu May 01  /usr/bin $ : chmod o+x  ./dumpcap
[ 18:32:29 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dumpcap
52 -rwsr-x--x 1 root wireshark 50876 Apr 27 15:49 /usr/bin/dumpcap
[ 18:32:34 ]  Thu May 01  /usr/bin $ : exit
exit
[ 18:32:41 ]  Thu May 01  /usr/bin $ : whoami
Cyor
[ 18:32:49 ]  Thu May 01  /usr/bin $ : ./dumpcap
File: /tmp/ether1wMVki
^CPackets dropped: 0

My question is: If the wireshark GROUP has execute permission to dumpcap,
and user Cyor is a member of the wireshark group, why can't Cyor execute
dumpcap without the execute bit for everyone being set? 

Doesn't this mean that the entire world world (member of wireshark group or
not) can execute an an SUID root program?

If that's the case what's the purpose of having the wireshark group?

Note: Cyor is a member of wireshark group:

[ 18:32:55 ]  Thu May 01  /usr/bin $ : cat /etc/group

root::0:root
.
.
.[snip]

wheel::10:root,BYoung,Cyor
wireshark:x:446:BYoung,Cyor
ntp:x:123:
tcpdump:x:447:Byoung,Cyor
+::


Thanks,
Bob Young
San Jose, CA


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



[gentoo-user] Updated ebuild; bypassing manifest check

2008-05-01 Thread 7v5w7go9ub0o
Following the instructions here, I tried to create an updated ebuild for 
mozilla-thunderbird-bin. The newest version is 2.0.0.14; current ebuild 
is 2.0.0.12.


http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild

Everything worked fine until I tried to update the hashes in the manifest,

ebuild 
/usr/local/portage/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.14.ebuild 
digest


and it failed, being unable to download the '.14 file from Gentoo.something.

Well, this is to be expected, as Gentoo.something doesn't have the '.14 
file yet; and the ebuild downloads the source code from the author's 
site, not from gentoo.something.


So I ended up running the emerge 3 times, manually tweaking the 
Manifest's hashes with the newer hashes, 'til everything matched, and 
tbird 2.0.0.14 emerged normally.


So the question becomes, is there a way to bypass the manifest check? Or 
alternatively, build the manifest with the correct hashes based upon the 
source code's author's code.


TIA


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



[gentoo-user] Hooray for Gentoo CD developers

2008-05-01 Thread Mark Knecht
I must say once again I'm deeply impressed and thankful for the folks
at Gentoo. My Windows Vista laptop has taken a dump. I'm reasonably
sure the hardware is OK but like everything M$ you pile on driver
after driver, virus protection and firewalls, junk after junk after
junk, and finally the darn things just die. Mine did today.

I've always hated that this machine wasn't dual boot but for numerous
reasons it's been impossible for the last 10 months to rebuild the
whole machine. Now I get a chance.

Why do I love the Gentoo devs? Smart folks managed to give me a 2007.0
CD that reads NTFS file systems allowing me to get off the little bit
of stuff that wasn't backed up. Looks like absolutely nothing will be
lost.

Wonderful, wonderful people!

Cheers, thanks and a beer the next time you're in town,
Mark

P.S. - Sending to this list for the most coverage. I hope someone on
that team reads this list.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Wireshark won't run except as root (Solved but Why is this)

2008-05-01 Thread Brandon Mintern
Have you logged out and back in since becoming a member of the
wireshark group? A quick way to test without having to log out and
back in would be to Ctrl-Alt-F2 (or whatever) over to a virtual
terminal and log in there, and then try to run the command. If that
works, of course, you just need to log out of your current session
(desktop environment, screen session, etc.) and then log back in, and
it should work fine. If you are logged into a desktop environment, not
even a new X terminal session will have you in the new group yet.

On Thu, May 1, 2008 at 10:00 PM, Bob Young [EMAIL PROTECTED] wrote:


  -Original Message-
  From: Bob Young [mailto:[EMAIL PROTECTED]
  Sent: Thursday, May 01, 2008 10:03 AM
  To: Gentoo-user List
  Subject: [gentoo-user] Wireshark won't run except as root


   I've emerged wireshark, and made myself a member of both the wireshark
   group, and the tcpdump group, but still wireshark refuses to capture
   packets if executed as a non root user. The error message is: Couldn't
   run dumpcap as a child process: Permission denied.
  
   A little research indicated that dumpcap should be installed suid root and
   It appears that it is, but I still can't execute it as a non-root user:
  
   I'm sure it's probably something simple that I'm unaware of or not seeing
   for some reason. Can anybody point out what I'm doing wrong.
  
   Thanks,
   Bob Young
   San Jose, CA.

  Well a little more experimentation proved that world has to have execute
  permission:

  [ 18:16:56 ]  Thu May 01  /home/Cyor $ : su
  Password:
  [ 18:25:38 ]  Thu May 01  /home/Cyor $ : cd /usr/bin/
  [ 18:28:52 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dumpcap
  52 -rwxr-x--- 1 root wireshark 50876 Apr 27 15:49 /usr/bin/dumpcap
  [ 18:28:58 ]  Thu May 01  /usr/bin $ : chmod u+s  ./dumpcap
  [ 18:29:26 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dumpcap
  52 -rwsr-x--- 1 root wireshark 50876 Apr 27 15:49 /usr/bin/dumpcap
  [ 18:29:30 ]  Thu May 01  /usr/bin $ : exit
  exit
  [ 18:29:44 ]  Thu May 01  /home/Cyor $ : whoami
  Cyor
  [ 18:30:11 ]  Thu May 01  /home/Cyor $ : cd /usr/bin/
  [ 18:30:21 ]  Thu May 01  /usr/bin $ : ./dumpcap
  bash: ./dumpcap: Permission denied
  [ 18:30:24 ]  Thu May 01  /usr/bin $ : su
  Password:
  [ 18:31:18 ]  Thu May 01  /usr/bin $ : whoami
  root
  [ 18:32:03 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dumpcap
  52 -rwsr-x--- 1 root wireshark 50876 Apr 27 15:49 /usr/bin/dumpcap
  [ 18:32:14 ]  Thu May 01  /usr/bin $ : chmod o+x  ./dumpcap
  [ 18:32:29 ]  Thu May 01  /usr/bin $ : ls /usr/bin/dumpcap
  52 -rwsr-x--x 1 root wireshark 50876 Apr 27 15:49 /usr/bin/dumpcap
  [ 18:32:34 ]  Thu May 01  /usr/bin $ : exit
  exit
  [ 18:32:41 ]  Thu May 01  /usr/bin $ : whoami
  Cyor
  [ 18:32:49 ]  Thu May 01  /usr/bin $ : ./dumpcap
  File: /tmp/ether1wMVki
  ^CPackets dropped: 0

  My question is: If the wireshark GROUP has execute permission to dumpcap,
  and user Cyor is a member of the wireshark group, why can't Cyor execute
  dumpcap without the execute bit for everyone being set?

  Doesn't this mean that the entire world world (member of wireshark group or
  not) can execute an an SUID root program?

  If that's the case what's the purpose of having the wireshark group?

  Note: Cyor is a member of wireshark group:

  [ 18:32:55 ]  Thu May 01  /usr/bin $ : cat /etc/group

  root::0:root
  .
  .
  .[snip]

  wheel::10:root,BYoung,Cyor
  wireshark:x:446:BYoung,Cyor
  ntp:x:123:
  tcpdump:x:447:Byoung,Cyor
  +::


  Thanks,
  Bob Young
  San Jose, CA


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


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



RE: [gentoo-user] compiling a module after the fact

2008-05-01 Thread Adam Carter
 I thought I remembered someway to compile a single module after the
 fact that didn't involve recompiling everthing... but just now I
 entered the usr/src/linux directory and edited .config adding the
 sshfs FUSE module.

 when I ran `make'  I see it grinding thru the whole thing again.  Is
 that normal?

Yeah, its normal - I think you just need to run 'make modules', then 'make 
modules_install' if you're just adding another module.
--
gentoo-user@lists.gentoo.org mailing list



RE: [gentoo-user] New eth.0/openrc setup - I'm confused

2008-05-01 Thread Adam Carter

  # /etc/init.d/net.eth0 restart
  * ERROR: net.eth0 has been stopped by something else

  # /etc/init.d/net.eth0 start
  * WARNING: net.eth0 has already been started

 meantime netstat indicates no changes at all.. eth0 is up throughout.

Do this;
/etc/init.d/net.eth0 stop
- verify the interface is down, if its not maybe just 'ifconfig eth0 down' it
/etc/init.d/net.eth0 zap
/etc/init.d/net.eth0 start

FWIW, zap forces the status to down even if the service mgmt thingy thinks its 
up.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] origin of kernel module: scsi_wait_scan.mod ??

2008-05-01 Thread Dirk Heinrichs
Am Donnerstag, 1. Mai 2008 schrieb ext de Almeida, Valmor F.:
 Hello,

 I am compiling a vanilla-sources 2.6.24.4 kernel (2008.0_beta2 minimal
 install) and no matter what I do to disable scsi support I end up with a
 scsi module (scsi_wait_scan.mod) after compilation. When looking at the
 .config file I see

 CONFIG_SCSI=y
 CONFIG_SCSI_DMA=y
 
 CONFIG_SCSI_WAIT_SCAN=m
 
 CONFIG_SCSI_SPI_ATTRS=y

 All of these should not be set because I did not enable them in
 menuconfig. Something else is setting those. Would someone know what? I
 turned off usb support completely in menuconfig. I don't need usb
 support anyway since this is a virtualbox guest OS install.

The above are SCSI options, not USB.

You should post your complete .config, otherwise we end up guessing.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


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