Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-27 Thread Mick
On Tuesday 26 April 2011 23:27:06 Harry Putnam wrote:
 Mick michaelkintz...@gmail.com writes:
  After turning remote admin on, and setting a single IP address to be
  able to connect... I still cannot access it for remote admin on 8080.
  
  Did you try this from the Internet, or from within your LAN?
 
 Inside lan.  I guess you are saying that connection is expected be from
 outside?

Well, I don't really know what we're dealing with here.  If it were a pure 
Cisco machine (as opposed to a Linksys) then it may not have loopback 
configured and the remote admin would only be accessible from the WAN.  It 
would truly be remote access.


 Haven't had the opportunity for that yet.  The only remote machine I
 have access is to is a shell account on a gentoo machine, so lynx, and
 I've seen on home lan that the device responds to lynx telling me I
 need a newer browser, when I hit it by IP using lynx.
 
 Jumping up the thread a bit now, after Pauls excellent input.  I see
 that iptables cmd is known on the OS, but man I really had not wanted
 to pound my way thru iptables to the point of competency.

Count yourself lucky.  I'd rather have to deal with Linux IP Tables than IOS 
any time!

Once you access it via telnet, have a look for any log rules in IP Tables 
(/sbin/iptables -L -v -n) and perhaps all we need to do is modify those.
-- 
Regards,
Mick


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


Re: [gentoo-user] You have no world file

2011-04-27 Thread Alexey Mishustin
On Tue, Apr 26, 2011 at 07:00:01PM +0200, Dale wrote:
 Michael Orlitzky wrote:
 
  I'm not a doctor but it's probably perfectly safe.
 
 

 I'd copy my world file to my root directory just in case tho.  At least
 you got a starting point if something did get froggy.

 That's just me tho.  We all know how weird I am.  lol

 Dale

 :-)  :-)

I always use rsync to back up my entire system after updating and
keep 3 updates back, so when anything goes wrong I can just restore
the bit that went wrong or restore the whole system.
How's that for paranoid?
Murphy's taught me well...

Heh, I don't think that it's paranoid, I think it's normal. I always
use rsnapshot to back up entire system before updating and keep 10
updates back :-)

--
Regards,
Alex



[gentoo-user] gcc-config: Active gcc profile is invalid!

2011-04-27 Thread Alan Mackenzie
Hi, Gentoo.

I got the error message

gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'

whilst trying to emerge something.  Running gcc-config myself
# gcc-config -l, I get back this error message:

 * gcc-config: Active gcc profile is invalid!
 [1] x86_64-pc-linux-gnu-4.4.5

.  4.4.5 is indeed the version of my gcc package.  This got updated very
recently.

What is a gcc profile?  Where can I find it, and what do I need to do
to make it valid?

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] gcc-config: Active gcc profile is invalid!

2011-04-27 Thread justin
On 27/04/11 14:16, Alan Mackenzie wrote:
 Hi, Gentoo.
 
 I got the error message
 
 gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
 
 whilst trying to emerge something.  Running gcc-config myself
 # gcc-config -l, I get back this error message:
 
  * gcc-config: Active gcc profile is invalid!
  [1] x86_64-pc-linux-gnu-4.4.5
 
 .  4.4.5 is indeed the version of my gcc package.  This got updated very
 recently.
 
 What is a gcc profile?  Where can I find it, and what do I need to do
 to make it valid?
 

gcc-config 1



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] gcc-config: Active gcc profile is invalid!

2011-04-27 Thread Mike Edenfield
On 4/27/2011 8:16 AM, Alan Mackenzie wrote:
 Hi, Gentoo.
 
 I got the error message
 
 gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
 
 whilst trying to emerge something.  Running gcc-config myself
 # gcc-config -l, I get back this error message:
 
  * gcc-config: Active gcc profile is invalid!
  [1] x86_64-pc-linux-gnu-4.4.5
 
 .  4.4.5 is indeed the version of my gcc package.  This got updated very
 recently.
 
 What is a gcc profile?  Where can I find it, and what do I need to do
 to make it valid?

Your gcc profile is a set of gcc specs and symlinks to a specific gcc
version, since you can have more than one. The error just means
gcc-config didn't get run properly before uninstalling your previous
version of gcc.

Run gcc-config to set your profile to the one you have listed:

# gcc-config 1

You will get the error every time you run gcc-config until you set a
valid profile; after that it should go away and builds should work again.

--Mike



Re: [gentoo-user] trouble with libxcb (and others)

2011-04-27 Thread Allan Gottlieb
On Tue, Apr 26 2011, Todd Goodman wrote:

 * Allan Gottlieb gottl...@nyu.edu [110426 14:34]:
 On Tue, Apr 26 2011, Allan Gottlieb wrote:
 
  Starting last night several builds and programs are crashing due to
  problems in libxcb and others.
 
  My system is ~amd64.
 [SNIP]
  openoffice (picked up by revdep-rebuild) fails to build saying
 
  checking for pkg-config... /usr/bin/pkg-config
  checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the 
  pkg-config search path. Perhaps you should add the directory containing 
  `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 
  'libwpd-0.8' found
  configure: error: Library requirements (libwpd-0.8 ) not met; consider 
  adjusting the PKG_CONFIG_PATH environment variable if your libraries are 
  in a nonstandard prefix so pkg-config can find them.
 
  I looked (using locate) and I have libwpd-0.9.1 now.  Should I downgrade
  to lib0.8.14?

 For what it's worth I run ~x86 and I got the same error with libwpd
 until I made sure I had the 0.8 slot emerged as well (emerge
 libwpd:0.8)

It is worth a lot!

 It looks like it just became slotted (if I remember right.)

 Unfortunately I then had a problem with OpenOffice and libwpg.  And had
 to downgrade back to 1.1.3 (and mask 0.2.0.)  It looked like OpenOffice
 wasn't happy with a 2.0 version and still wanted a 1.0 version (but I
 didn't look too carefully.)

 However it looks like it's slotted now so you should be able to install
 libwpg:0.2 as well as libwpg:0.1 and OpenOffice will still work.

 However, I get file collisions when trying to install libwpg:0.2 with
 libwpg:0.1 installed right now.  It might still be in the process of being
 fully slotted?

 If you don't have the libwpd:0.8 and/or libwpg:0.1 slotted versions then
 just emerge them too.

I just now followed your advice and emerged both libwpd:0.8 and
libwpg:0.1.  I was a little surprised to see that
emerge -1 was insufficient (depclean wanted to remove them again).

If a certain slot is needed for another application, I had expected
depclean to leave it alone.  Anyway I then did an emerge -n to put them
into world and depclean is happy.

As it turns out now revdep-rebuild doesn't want to remerge anything,
but I am doing a reinstall of openoffice anyway just to confirm that it
is happy.

I wonder if the situation has now stabilized and forcing the old slots
to be present is no longer needed.  I will have more time after the
semester ends and I don't have to prepare lectures / grade exams.
I hope during the end of may to go through world and prune any that
don't appear to be necessary.

Thank you very much for your help.

allan



Re: [gentoo-user] trouble with libxcb (and others)

2011-04-27 Thread Allan Gottlieb
On Tue, Apr 26 2011, Philip Webb wrote:

 110426 Allan Gottlieb wrote:
 My system is ~amd64.
 For example evolution fails to start and says
   gottlieb@ajglap ~ $ evolution
   evolution: error while loading shared libraries: libxcb-aux.so.0: cannot 
 open shared object file: No such file or directory
 There is no libxcb-aux now on my system nor is there an libxcb-atom,
 which revdep rebuild mentioned.

 I have

   root:512 lib64 ls -l libxcb-aux.*
   -rw-r--r-- 1 root root  8362 Oct  3  2009 libxcb-aux.a
   -rw-r--r-- 1 root root   984 Jul  3  2010 libxcb-aux.la
   lrwxrwxrwx 1 root root19 Oct  3  2009 libxcb-aux.so - 
 libxcb-aux.so.0.0.0
   lrwxrwxrwx 1 root root19 Oct  3  2009 libxcb-aux.so.0 - 
 libxcb-aux.so.0.0.0
   -rwxr-xr-x 1 root root 14232 Oct  3  2009 libxcb-aux.so.0.0.0

 also  libxcb-atom.so.1.0.0 : both were installed by  x11-libs/xcb-util-0.3.6 .

 Something must have gone quite wrong in my last update world.

 It's always a bad idea to do 'emerge world' (without '-p'):
 I have always made a hand-written list of pkgs to be upgraded,
 then emerged them individually or in small groups.
 People are continually reporting problems which I have avoided since 2003 .

That is perhaps good advice but would not have helped here.  Very few
packages were specified and I would have done them in one bunch.
Also the problem seems to be that depclean was too aggressive in
removing old slots.  Indeed, it might be that both --syncs I did (1 day
apart) caught the mirror in an unstable state.

thanks for the advice,
allan



Re: [gentoo-user] trouble with libxcb (and others)

2011-04-27 Thread Todd Goodman
* Allan Gottlieb gottl...@nyu.edu [110427 10:54]:
 On Tue, Apr 26 2011, Todd Goodman wrote:
 
  * Allan Gottlieb gottl...@nyu.edu [110426 14:34]:
  On Tue, Apr 26 2011, Allan Gottlieb wrote:
  
   Starting last night several builds and programs are crashing due to
   problems in libxcb and others.
  
   My system is ~amd64.
  [SNIP]
   openoffice (picked up by revdep-rebuild) fails to build saying
  
   checking for pkg-config... /usr/bin/pkg-config
   checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the 
   pkg-config search path. Perhaps you should add the directory containing 
   `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 
   'libwpd-0.8' found
   configure: error: Library requirements (libwpd-0.8 ) not met; consider 
   adjusting the PKG_CONFIG_PATH environment variable if your libraries are 
   in a nonstandard prefix so pkg-config can find them.
  
   I looked (using locate) and I have libwpd-0.9.1 now.  Should I downgrade
   to lib0.8.14?
 
  For what it's worth I run ~x86 and I got the same error with libwpd
  until I made sure I had the 0.8 slot emerged as well (emerge
  libwpd:0.8)
 
 It is worth a lot!
 
  It looks like it just became slotted (if I remember right.)
 
  Unfortunately I then had a problem with OpenOffice and libwpg.  And had
  to downgrade back to 1.1.3 (and mask 0.2.0.)  It looked like OpenOffice
  wasn't happy with a 2.0 version and still wanted a 1.0 version (but I
  didn't look too carefully.)
 
  However it looks like it's slotted now so you should be able to install
  libwpg:0.2 as well as libwpg:0.1 and OpenOffice will still work.
 
  However, I get file collisions when trying to install libwpg:0.2 with
  libwpg:0.1 installed right now.  It might still be in the process of being
  fully slotted?
 
  If you don't have the libwpd:0.8 and/or libwpg:0.1 slotted versions then
  just emerge them too.
 
 I just now followed your advice and emerged both libwpd:0.8 and
 libwpg:0.1.  I was a little surprised to see that
 emerge -1 was insufficient (depclean wanted to remove them again).
 
 If a certain slot is needed for another application, I had expected
 depclean to leave it alone.  Anyway I then did an emerge -n to put them
 into world and depclean is happy.
 
 As it turns out now revdep-rebuild doesn't want to remerge anything,
 but I am doing a reinstall of openoffice anyway just to confirm that it
 is happy.
 
 I wonder if the situation has now stabilized and forcing the old slots
 to be present is no longer needed.  I will have more time after the
 semester ends and I don't have to prepare lectures / grade exams.
 I hope during the end of may to go through world and prune any that
 don't appear to be necessary.
 
 Thank you very much for your help.
 
 allan

Great!  You're welcome.

FWIW, if anyone else is having problems emerging both slotted versions
of libwpg, my problems with libwpg:0.1 and libwpg:0.2 having filename
conflicts was due to having the doc USE flag set.

It's bug http://bugs.gentoo.org/show_bug.cgi?id=364857

I know some have mentioned that in general it's not a good idea to have
the doc USE flag enabled globally.

Todd



Re: [gentoo-user] [OT] Script to crack gpg passphrase

2011-04-27 Thread felix
On Tue, Apr 26, 2011 at 09:24:44PM +0100, Mick wrote:
 Back to plan A.  Any ideas how I can improve my script?

Do you have any guesses as to your passphrase or is it a total shot in
the dark, could be anything from one word to a poem?

Unless you can narrow it down tremendously, you're wasting time and it
will never be recovered.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  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



Re: [gentoo-user] trouble with libxcb (and others)

2011-04-27 Thread Urs Schutz
On Tue, 26 Apr 2011 14:11:02 -0400
Allan Gottlieb gottl...@nyu.edu wrote:

 Starting last night several builds and programs are
 crashing due to problems in libxcb and others.
 
 My system is ~amd64.
 
 For example evolution fails to start and says
 
snipped
 
 Something must have gone quite wrong in my last update
 world.
 
 Advice would be appreciated.
 
 thanks,
 allan
 

Did you see the Gentoo libxcb 1.4 Upgrade Guide? 
http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml

Urs




Re: [gentoo-user] [OT] Script to crack gpg passphrase

2011-04-27 Thread Mick
On Wednesday 27 April 2011 19:15:46 fe...@crowfix.com wrote:
 On Tue, Apr 26, 2011 at 09:24:44PM +0100, Mick wrote:
  Back to plan A.  Any ideas how I can improve my script?
 
 Do you have any guesses as to your passphrase or is it a total shot in
 the dark, could be anything from one word to a poem?
 
 Unless you can narrow it down tremendously, you're wasting time and it
 will never be recovered.

There are some candidate passphrases.  I tried them all with rephrase and all 
the permutations that I could think of.

Now I am trying app-crypt/nasty, for brute force cracking, but I can't get it 
to work.  :-(

It keeps popping up my pinentry and asking me for my default key passphrase, 
not the key I am trying to feed to it.

Is there a way to change that script I posted so that it a)takes the 
passphrases from a file, or b)incrementally tries {a,b,...,z}, and/or capitals 
and/or numbers?
-- 
Regards,
Mick


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


Re: [gentoo-user] Headsup: bad breakage from today's xcb update

2011-04-27 Thread Volker Armin Hemmann
On Tuesday 26 April 2011 13:03:59 walt wrote:
 There is already a bug filed against xlibs/xcb*-0.3.8, and 0.3.6 has already
 been removed from portage (a very bad decision).
 
 The major problem is with libstartup-notification, which relies on a
 function defined in xcb-util-0.3.6 and no longer exists in 0.3.8.
 
 I'm going to try to recreate the ebuilds for 0.3.6, but meanwhile *don't*
 allow xcb* to update to 0.3.8 if you depend on libstartup-notification.

x11-libs/libxcb
 Available versions:  1.7{tbz2} [M](~)[1] {doc selinux static-libs}
 Installed versions:  1.7{tbz2}(06:17:00 13.03.2011)(-doc -selinux -
static-libs)

[I] x11-libs/startup-notification
 Available versions:  0.10{tbz2} (~)0.10_p20110426{tbz2} [M](~)[1] 
{static-libs}
 Installed versions:  0.10_p20110426{tbz2}(19:19:07 26.04.2011)(-static-
libs)

as you can see, no problems 



Re: [gentoo-user] Re: Headsup: bad breakage from today's xcb update [correction]

2011-04-27 Thread Volker Armin Hemmann
On Tuesday 26 April 2011 13:46:01 walt wrote:
 On 04/26/2011 01:03 PM, walt wrote:
  There is already a bug filed against xlibs/xcb*-0.3.8, and 0.3.6 has
  already been removed from portage (a very bad decision).
 
 Oops, my bad.  x11-libs/xcb-util has just been split into several packages
 with the update to 0.3.8.
 
 If, like me, you need to downgrade xcb-util back to 0.3.6 you must delete
 all of the xcb*0.3.8 packages first or you will get file collision errors.
 
 The real breakage is in the libstartup-notification package, which hasn't
 been fixed yet and still depends on xcb-util-0.3.6.

nope

behold:

[I] x11-libs/xcb-util
 Available versions:  0.3.6{tbz2} (~)0.3.8{tbz2} [M](~)[1] {debug doc 
static-libs test}
 Installed versions:  0.3.8{tbz2}(19:17:13 26.04.2011)(-doc -static-libs -
test)
 Homepage:http://xcb.freedesktop.org/
 Description: X C-language Bindings sample implementations

[I] x11-libs/xcb-util-image
 Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc static-libs test}
 Installed versions:  0.3.8{tbz2}(19:17:53 26.04.2011)(-doc -static-libs -
test)
 Homepage:http://xcb.freedesktop.org/
 Description: X C-language Bindings sample implementations

[I] x11-libs/xcb-util-keysyms
 Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc static-libs test}
 Installed versions:  0.3.8{tbz2}(19:17:32 26.04.2011)(-doc -static-libs -
test)
 Homepage:http://xcb.freedesktop.org/
 Description: X C-language Bindings sample implementations

[I] x11-libs/xcb-util-renderutil
 Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc static-libs test}
 Installed versions:  0.3.8{tbz2}(19:18:35 26.04.2011)(-doc -static-libs -
test)
 Homepage:http://xcb.freedesktop.org/
 Description: X C-language Bindings sample implementations

[I] x11-libs/xcb-util-wm
 Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc static-libs test}
 Installed versions:  0.3.8{tbz2}(19:18:14 26.04.2011)(-doc -static-libs -
test)




Re: [gentoo-user] trouble with libxcb (and others)

2011-04-27 Thread Allan Gottlieb
On Wed, Apr 27 2011, Urs Schutz wrote:

 Did you see the Gentoo libxcb 1.4 Upgrade Guide? 
 http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml

No I hadn't.  Thanks for the tip.

Results

1.  Ubgrading to libxcb 1.4: all was in order (no action needed)

2.  Fixing broken libtool archives: all was in order

3.  Fixing broken shared libraries:

3A. Rebuilding essential packages:  64(!) reinstalls, 1 new slot.   Wow!
All merged with no problems.

3B. Rebuilding remaining broken packages: all was in order

3C. Removing the now unused libraries: all was in order

Again, thanks for the pointer.

allan



[gentoo-user] Re: Headsup: bad breakage from today's xcb update [correction]

2011-04-27 Thread walt

On 04/27/2011 12:31 PM, Volker Armin Hemmann wrote:

On Tuesday 26 April 2011 13:46:01 walt wrote:

On 04/26/2011 01:03 PM, walt wrote:

There is already a bug filed against xlibs/xcb*-0.3.8, and 0.3.6 has
already been removed from portage (a very bad decision).


Oops, my bad.  x11-libs/xcb-util has just been split into several packages
with the update to 0.3.8.

If, like me, you need to downgrade xcb-util back to 0.3.6 you must delete
all of the xcb*0.3.8 packages first or you will get file collision errors.

The real breakage is in the libstartup-notification package, which hasn't
been fixed yet and still depends on xcb-util-0.3.6.


nope

behold:

[I] x11-libs/xcb-util
  Available versions:  0.3.6{tbz2} (~)0.3.8{tbz2} [M](~)[1] {debug doc
static-libs test}
  Installed versions:  0.3.8{tbz2}(19:17:13 26.04.2011)(-doc -static-libs -
test)
  Homepage:http://xcb.freedesktop.org/
  Description: X C-language Bindings sample implementations

[I] x11-libs/xcb-util-image
  Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc static-libs test}
  Installed versions:  0.3.8{tbz2}(19:17:53 26.04.2011)(-doc -static-libs -
test)
  Homepage:http://xcb.freedesktop.org/
  Description: X C-language Bindings sample implementations

[I] x11-libs/xcb-util-keysyms
  Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc static-libs test}
  Installed versions:  0.3.8{tbz2}(19:17:32 26.04.2011)(-doc -static-libs -
test)
  Homepage:http://xcb.freedesktop.org/
  Description: X C-language Bindings sample implementations

[I] x11-libs/xcb-util-renderutil
  Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc static-libs test}
  Installed versions:  0.3.8{tbz2}(19:18:35 26.04.2011)(-doc -static-libs -
test)
  Homepage:http://xcb.freedesktop.org/
  Description: X C-language Bindings sample implementations

[I] x11-libs/xcb-util-wm
  Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc static-libs test}
  Installed versions:  0.3.8{tbz2}(19:18:14 26.04.2011)(-doc -static-libs -
test)


Hi Volker.  I may be misunderstanding your post.  If I'm reading correctly,
you have all of the xcb-util-*-0.3.8 installed, as I did yesterday after the
routine update-world of my ~x86 and ~amd64 machines.

I had no problems building the xcb-util* updates, or even building the
libstartup-notification package.

The real problem is that libstartup-notification is expecting xcb-util to define
the function xcb-atom-get, which AFAICT was eliminated from xcb-util-*-0.3.8.

#readelf -s libxcb-atom.so.1.0.0 | grep xcb_atom_get
16: 19e0   137 FUNCGLOBAL DEFAULT   11 xcb_atom_get == THIS ONE
28: 1c9042 FUNCGLOBAL DEFAULT   11 xcb_atom_get_name_predefi
32: 1cc0   246 FUNCGLOBAL DEFAULT   11 xcb_atom_get_name
46: 1b80   155 FUNCGLOBAL DEFAULT   11 xcb_atom_get_fast
68: 1c20   107 FUNCGLOBAL DEFAULT   11 xcb_atom_get_fast_reply
83: 1a70   271 FUNCGLOBAL DEFAULT   11 xcb_atom_get_predefined

Can you find that symbol defined anywhere in xcb-util-*0.3.8?  I looked but I
couldn't find it and then deleted all of the xcb*-0.3.8 packages.

Thanks for any hints.




Re: [gentoo-user] Re: Headsup: bad breakage from today's xcb update [correction]

2011-04-27 Thread Volker Armin Hemmann
On Wednesday 27 April 2011 14:26:23 walt wrote:
 On 04/27/2011 12:31 PM, Volker Armin Hemmann wrote:
  On Tuesday 26 April 2011 13:46:01 walt wrote:
  On 04/26/2011 01:03 PM, walt wrote:
  There is already a bug filed against xlibs/xcb*-0.3.8, and 0.3.6 has
  already been removed from portage (a very bad decision).
  
  Oops, my bad.  x11-libs/xcb-util has just been split into several
  packages with the update to 0.3.8.
  
  If, like me, you need to downgrade xcb-util back to 0.3.6 you must
  delete all of the xcb*0.3.8 packages first or you will get file
  collision errors.
  
  The real breakage is in the libstartup-notification package, which
  hasn't been fixed yet and still depends on xcb-util-0.3.6.
  
  nope
  
  behold:
  
  [I] x11-libs/xcb-util
  
Available versions:  0.3.6{tbz2} (~)0.3.8{tbz2}
[M](~)[1] {debug doc
  
  static-libs test}
  
Installed versions:  0.3.8{tbz2}(19:17:13 26.04.2011)(-doc
-static-libs -
  
  test)
  
Homepage:http://xcb.freedesktop.org/
Description: X C-language Bindings sample
implementations
  
  [I] x11-libs/xcb-util-image
  
Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc
static-libs test} Installed versions:  0.3.8{tbz2}(19:17:53
26.04.2011)(-doc -static-libs -
  
  test)
  
Homepage:http://xcb.freedesktop.org/
Description: X C-language Bindings sample
implementations
  
  [I] x11-libs/xcb-util-keysyms
  
Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc
static-libs test} Installed versions:  0.3.8{tbz2}(19:17:32
26.04.2011)(-doc -static-libs -
  
  test)
  
Homepage:http://xcb.freedesktop.org/
Description: X C-language Bindings sample
implementations
  
  [I] x11-libs/xcb-util-renderutil
  
Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc
static-libs test} Installed versions:  0.3.8{tbz2}(19:18:35
26.04.2011)(-doc -static-libs -
  
  test)
  
Homepage:http://xcb.freedesktop.org/
Description: X C-language Bindings sample
implementations
  
  [I] x11-libs/xcb-util-wm
  
Available versions:  (~)0.3.8{tbz2} [M](~)[1] {doc
static-libs test} Installed versions:  0.3.8{tbz2}(19:18:14
26.04.2011)(-doc -static-libs -
  
  test)
 
 Hi Volker.  I may be misunderstanding your post.  If I'm reading correctly,
 you have all of the xcb-util-*-0.3.8 installed, as I did yesterday after the
 routine update-world of my ~x86 and ~amd64 machines.
 
 I had no problems building the xcb-util* updates, or even building the
 libstartup-notification package.
 
 The real problem is that libstartup-notification is expecting xcb-util to
 define the function xcb-atom-get, which AFAICT was eliminated from
 xcb-util-*-0.3.8.
 

and which symptoms are caused by this?

 #readelf -s libxcb-atom.so.1.0.0 | grep xcb_atom_get
don't have that lib.

only:
readelf -s /usr/lib64/libxcb-util.so.0.0.0| grep xcb_atom_get   
 
34: 2c6035 FUNCGLOBAL DEFAULT   11 
xcb_atom_get_name_predefi
55: 2b60   230 FUNCGLOBAL DEFAULT   11 
xcb_atom_get_predefined

and
equery belongs /usr/lib64/libxcb-util.so.0.0.0
 * Searching for /usr/lib64/libxcb-util.so.0.0.0 ... 
x11-libs/xcb-util-0.3.8 (/usr/lib64/libxcb-util.so.0.0.0)

no libxcb-atom




[gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-27 Thread Harry Putnam
Mick michaelkintz...@gmail.com writes:

 Jumping up the thread a bit now, after Pauls excellent input.  I see
 that iptables cmd is known on the OS, but man I really had not wanted
 to pound my way thru iptables to the point of competency.

 Count yourself lucky.  I'd rather have to deal with Linux IP Tables than IOS 
 any time!

Hehe

 Once you access it via telnet, have a look for any log rules in IP Tables 
 (/sbin/iptables -L -v -n) and perhaps all we need to do is modify those.

Yeah I had a look at the lines containing LOG and of course had no
idea of what they meant or how to alter them.

The entire iptables is inlined below... maybe you will know how to alter
them so that ports show up in logs.  That is, only if you are still
patient enough to continue so far, no one has complained about the
OT thread... but I fear I must be nearing the end of your patient
willingness to continue, if not the lists willingness to allow my OT
thread.

----   ---=---   -   
There only 4 instances of LOG in the tables.  But I wonder if it might
just be an increase in log level that is required.

I wanted to try that out, but was a bit chicken, thinking I'd destroy
whatever setup there is that invokes the iptable rules.

Chain INPUT (policy DROP)
target prot opt source   destination
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0  tcp dpt:23
ACCEPT esp  --  0.0.0.0/00.0.0.0/0
ACCEPT udp  --  0.0.0.0/00.0.0.0/0  udp dpt:4500
ACCEPT udp  --  0.0.0.0/00.0.0.0/0  udp dpt:500
DROP   tcp  --  0.0.0.0/00.0.0.0/0  state NEW tcp flags:
ACCEPT all  --  0.0.0.0/00.0.0.0/0  state RELATED,ESTABL
INPUT_UDP  udp  --  0.0.0.0/00.0.0.0/0
INPUT_TCP  tcp  --  0.0.0.0/00.0.0.0/0
DOSicmp --  0.0.0.0/00.0.0.0/0  icmp type 8
ACCEPT all  --  0.0.0.0/00.0.0.0/0  state NEW

Chain FORWARD (policy DROP)
target prot opt source   destination
ip_filter  all  --  0.0.0.0/00.0.0.0/0
POLICY icmp --  0.0.0.0/00.0.0.0/0
POLICY udp  --  0.0.0.0/00.0.0.0/0
TCPMSS tcp  --  0.0.0.0/00.0.0.0/0  tcp flags:0x06/0x02
POLICY tcp  --  0.0.0.0/00.0.0.0/0
TREND_MICRO  tcp  --  0.0.0.0/00.0.0.0/0  tcp dpt:80 http me
DMZ_PASS   all  --  0.0.0.0/00.0.0.0/0
ACCEPT all  --  0.0.0.0/00.0.0.0/0  state RELATED,ESTABL
ACCEPT all  --  0.0.0.0/00.0.0.0/0  state NEW
ACCEPT all  --  0.0.0.0/00.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT icmp --  0.0.0.0/00.0.0.0/0
DROP   icmp --  0.0.0.0/00.0.0.0/0  state INVALID

Chain BLOCK (0 references)
target prot opt source   destination
LOGall  --  0.0.0.0/00.0.0.0/0  LOG flags 0 level 4
DROP   all  --  0.0.0.0/00.0.0.0/0

Chain DMZ_PASS (1 references)
target prot opt source   destination

Chain DOS (6 references)
target prot opt source   destination
RETURN tcp  --  0.0.0.0/00.0.0.0/0  limit: avg 200/sec b
RETURN udp  --  0.0.0.0/00.0.0.0/0  state RELATED,ESTABL
RETURN udp  --  0.0.0.0/00.0.0.0/0  limit: avg 200/sec b
RETURN icmp --  0.0.0.0/00.0.0.0/0  icmp type 8 limit: a
LOGall  --  0.0.0.0/00.0.0.0/0  limit: avg 10/sec bu
DROP   all  --  0.0.0.0/00.0.0.0/0

Chain FORWARD_TCP (1 references)
target prot opt source   destination
DOStcp  --  0.0.0.0/00.0.0.0/0  state INVALID,NEW tc
RETURN tcp  --  0.0.0.0/00.0.0.0/0

Chain FORWARD_UDP (1 references)
target prot opt source   destination
DOSudp  --  0.0.0.0/00.0.0.0/0
RETURN udp  --  0.0.0.0/00.0.0.0/0

Chain HTTP (0 references)
target prot opt source   destination

Chain INPUT_TCP (1 references)
target prot opt source   destination
SCAN   all  --  0.0.0.0/00.0.0.0/0  psd weight-threshold
DOStcp  --  0.0.0.0/00.0.0.0/0  state INVALID,NEW tc
ACCEPT tcp  --  0.0.0.0/0192.168.0.20   tcp dpt:30443
DROP   tcp  --  0.0.0.0/00.0.0.0/0  multiport dports 23,
RETURN tcp  --  0.0.0.0/00.0.0.0/0

Chain INPUT_UDP (1 references)
target prot opt source   destination
SCAN   all  --  0.0.0.0/00.0.0.0/0  psd weight-threshold
DOSudp  --  0.0.0.0/00.0.0.0/0
ACCEPT udp  --  68.87.72.13  0.0.0.0/0  udp spt:67 

[gentoo-user] Scripts not working... HELP!

2011-04-27 Thread Walter Dnes
  This message is coming from my 32-bit hot backup gentoo machine.
For some reason, any script that I call on my 64-bit machine immediately
returns to the command prompt.  No warnings or error messages or
diagnostics.  Builtins and compiled executables work OK.  For instance,
if I have a script named xyz that goes like so...

#!/bin/bash
man bash

..., executing xyz or ~/bin/xyz results in bash immediately
returning to to the command prompt.  If I type man bash, it works OK.
On top of everything else, getmail seems to go into forkbomb mode,
generating a gazillion processes, and eventually locking up the machine,
if I type in...
/usr/bin/getmail -v -v -v --rcfile rc_cotse

  It looks like the script is being totally ignored, e.g...

waltdnes@i3 ~ $ emerge anyone home?
waltdnes@i3 ~ $

  Any ideas what gives?

-- 
Walter Dnes waltd...@waltdnes.org