Re: [gentoo-user] Re: KDE and HARD lock ups.

2011-07-08 Thread Mick
On Friday 08 Jul 2011 05:43:58 Dale wrote:
 walt wrote:
  On 07/05/2011 10:38 PM, Dale wrote:
  My current plan, finish this new install.  Test the ram and hope it is
  OK.
  
  I can feel your pain :(  This may not help, but I thought I'd mention it
  just because nothing else has helped so far.
  
  I started having random keyboard issues right after the most recent xorg
  update on my ~x86 and ~amd64 machines.
  
  Maybe just once/day or so I'll hit a key and the auto-repeat function
  starts repeating the keystroke ad infinitum until I hit Backspace.
  
  This is not a lockup like your problem, but it was striking that this
  random keyboard problem started right after the recent xorg update.
  (Yes, I recompiled all the drivers after the upgrade.)
  
  Since you are recompiling/reinstalling everything anyway, what about
  masking the most recent xorg-server/xorg-driver updates so you can test
  older versions?  You quad-core speed demon ;p
 
 I'm going to add this to the to try list.  That sort of makes sense.
 Most of the time it is a hard lock up.  It won't even let me ssh in from
 my old rig or use the SysReq keys.  Sometimes tho, it acts like things
 are still running but the GUI is locked up.  I didn't get to try to ssh
 in then tho.  I know once I had a compile running and I could see the
 hard drive light blinking as it compiled.  So something was working that
 time at least.   One thing I did learn, if the lights on the keyboard
 are blinking, it's locked up tight.  If they are not blinking, I can use
 the SysReq keys to reboot.
 
 I also thought about just booting Knoppix and seeing if it works.  Maybe
 it is just some weird code that Konsole and Firefox have in common
 somehow.  The only thing is, I'm sure they will use different version of
 all the software.  It may not make any difference except to rule out
 hardware.  I'm pretty sure hardware is OK but we know how hard those are
 to track down.
 
 One more thing on the try list if this doesn't work.
 
 Thanks.
 
 Dale

I'm stating the obvious here, but have you tried restoring from a back up that 
you made before these problems started?

-- 
Regards,
Mick


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


Re: [gentoo-user] gcc and glibc. Which unstable to pick?

2011-07-08 Thread justin
On 7/7/11 11:14 PM, Alan McKinnon wrote:
 On Thursday 07 July 2011 16:01:27 Dale did opine thusly:
 As the list knows, I been having random lock ups on my system.  I'm
 in the process of one last emerge -e world but I'm not holding my
 breath it will change anything.  So, I'm wanting to try a unstable
 version of both gcc and glibc.  This is the list available:
 
 gcc-4.5.2 works just fine here
 glibc-2.13-r3 no problems
 

this has multilpe issues, which I hit myself. But there should be a
revbump soon which gets that fixed.

justin



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Booting from SoftwareRaid 10 with metadata 1.0 possible?

2011-07-08 Thread Jens Reinemuth
Am Donnerstag, 7. Juli 2011, 17:23:15 schrieb Mark Knecht:
 Hi Jens,
I've never bothered with actually making the boot device RAID as
 it's pretty easy to recreate if it dies. I do mirror my /boot
 partition on three drives so that hopefully I can change what BIOS
 looks at to boot and get the machine back up that way if necessary. I
 know of one person who reported that he made /boot RAID1 but only
 boots from one of the drive to automatically shadow changes he makes
 to /boot, but I've not tried that myself.
 
As for /root, I'm using metadata=1.2 here, but it wasn't easy. It
 required an initramfs to figure out why it wasn't working, and then a
 _lot_ of care about RAID naming in both the physical RAID details as
 well as the mdadm.conf file to ensure it matched the eventual machine
 name. However it does work well for me.
 
 HTH,
 Mark

Hi Mark,

i really think it could be an issue of naming... As if i boot from the 
install-cd the raid-drives are named md124 - md127 and /dev/md/livecd:1 - 
/dev/md/livecd:4.

I installed a kernel with genkernel and its corresponding initramfs, but after 
booting i get the same errors. starting the busybox shows the /dev/md3 but i 
cant mount it in any way.

regards, 

Jens



Re: [gentoo-user] Re: KDE and HARD lock ups.

2011-07-08 Thread Dale

Mick wrote:

On Friday 08 Jul 2011 05:43:58 Dale wrote:
   

walt wrote:
 

On 07/05/2011 10:38 PM, Dale wrote:
   

My current plan, finish this new install.  Test the ram and hope it is
OK.
 

I can feel your pain :(  This may not help, but I thought I'd mention it
just because nothing else has helped so far.

I started having random keyboard issues right after the most recent xorg
update on my ~x86 and ~amd64 machines.

Maybe just once/day or so I'll hit a key and the auto-repeat function
starts repeating the keystroke ad infinitum until I hit Backspace.

This is not a lockup like your problem, but it was striking that this
random keyboard problem started right after the recent xorg update.
(Yes, I recompiled all the drivers after the upgrade.)

Since you are recompiling/reinstalling everything anyway, what about
masking the most recent xorg-server/xorg-driver updates so you can test
older versions?  You quad-core speed demon ;p
   

I'm going to add this to the to try list.  That sort of makes sense.
Most of the time it is a hard lock up.  It won't even let me ssh in from
my old rig or use the SysReq keys.  Sometimes tho, it acts like things
are still running but the GUI is locked up.  I didn't get to try to ssh
in then tho.  I know once I had a compile running and I could see the
hard drive light blinking as it compiled.  So something was working that
time at least.   One thing I did learn, if the lights on the keyboard
are blinking, it's locked up tight.  If they are not blinking, I can use
the SysReq keys to reboot.

I also thought about just booting Knoppix and seeing if it works.  Maybe
it is just some weird code that Konsole and Firefox have in common
somehow.  The only thing is, I'm sure they will use different version of
all the software.  It may not make any difference except to rule out
hardware.  I'm pretty sure hardware is OK but we know how hard those are
to track down.

One more thing on the try list if this doesn't work.

Thanks.

Dale
 

I'm stating the obvious here, but have you tried restoring from a back up that
you made before these problems started?

   


I usually have a backup but I got rid of it a month or so ago.  I was 
planning to take the drive out and use it for something else but never 
got around to it.  Before that I played with LVM a bit.


So far, I have upgraded gcc and glibc and the emerge -e world is almost 
finished.  If it still locks up, I'm going to try a different xorg and 
friends.  Someone else mentioned a bug that is pretty close to what I 
have going on.


I'm going to fix this even if I don't know for sure what caused it.  If 
after this emerge it works, it has to be either gcc or glibc.  If it 
still does it and I upgrade/downgrade xorg and friends then it works, 
then I know it was one of those.


I'm just hoping for a fix and glad I got Fluxbox on here.  Fluxbox ain't 
fancy but it works well for a backup..  I have to add, it is pretty 
snappy on a 4 core 3.2Ghz CPU with 16Gbs of ram too.  lol


Dale

:-)  :-)



Re: [gentoo-user] Re: KDE and HARD lock ups.

2011-07-08 Thread Dale

Dale wrote:

Mick wrote:
I'm stating the obvious here, but have you tried restoring from a 
back up that

you made before these problems started?



I usually have a backup but I got rid of it a month or so ago.  I was 
planning to take the drive out and use it for something else but never 
got around to it.  Before that I played with LVM a bit.


So far, I have upgraded gcc and glibc and the emerge -e world is 
almost finished.  If it still locks up, I'm going to try a different 
xorg and friends.  Someone else mentioned a bug that is pretty close 
to what I have going on.


I'm going to fix this even if I don't know for sure what caused it.  
If after this emerge it works, it has to be either gcc or glibc.  If 
it still does it and I upgrade/downgrade xorg and friends then it 
works, then I know it was one of those.


I'm just hoping for a fix and glad I got Fluxbox on here.  Fluxbox 
ain't fancy but it works well for a backup..  I have to add, it is 
pretty snappy on a 4 core 3.2Ghz CPU with 16Gbs of ram too.  lol


Dale

:-)  :-)



If you ever see me in person, kick me real hard.  I read your reply then 
had a thought.  I forgot to switch to the new compiler BEFORE I started 
the emerge.  So, I almost recompiled everything with the same gcc.  At 
least your reply made me think of it.  ;-)


 hangs head in shame and sighs 

Dale

:-)  :-)

P. S.  I feel like a idiot.  What a NOOB mistake.



Re: [gentoo-user] gcc and glibc. Which unstable to pick?

2011-07-08 Thread Dale

justin wrote:

On 7/7/11 11:14 PM, Alan McKinnon wrote:
   

On Thursday 07 July 2011 16:01:27 Dale did opine thusly:
 

As the list knows, I been having random lock ups on my system.  I'm
in the process of one last emerge -e world but I'm not holding my
breath it will change anything.  So, I'm wanting to try a unstable
version of both gcc and glibc.  This is the list available:
   

gcc-4.5.2 works just fine here
glibc-2.13-r3 no problems

 

this has multilpe issues, which I hit myself. But there should be a
revbump soon which gets that fixed.

justin

   


Is the issues worse than a hard lock up?

Dale

:-)  :-)



Re: [gentoo-user] Re: KDE and HARD lock ups.

2011-07-08 Thread Neil Bothwick
On Thu, 07 Jul 2011 23:43:58 -0500, Dale wrote:

 One thing I did learn, if the lights on the keyboard 
 are blinking, it's locked up tight.

That's a kernel panic. You can have the system reboot itself after a
panic by adding kernel.panic=N to /etc/sysctl.conf, where N is the number
of seconds to wait before rebooting.


-- 
Neil Bothwick

Synonym: a word you use when you can't spell the other one.


signature.asc
Description: PGP signature


Re: [gentoo-user] gcc and glibc. Which unstable to pick?

2011-07-08 Thread Alan McKinnon
On Friday 08 July 2011 08:14:00 justin did opine thusly:
 On 7/7/11 11:14 PM, Alan McKinnon wrote:
  On Thursday 07 July 2011 16:01:27 Dale did opine thusly:
  As the list knows, I been having random lock ups on my system.
   I'm in the process of one last emerge -e world but I'm not
  holding my breath it will change anything.  So, I'm wanting
  to try a unstable
  
  version of both gcc and glibc.  This is the list available:
  gcc-4.5.2 works just fine here
  glibc-2.13-r3 no problems
 
 this has multilpe issues, which I hit myself. But there should be a
 revbump soon which gets that fixed.

Are these issues documented somewhere?

I haven't seen any problems on either package on my stuff


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: KDE and HARD lock ups.

2011-07-08 Thread Dale

Neil Bothwick wrote:

On Thu, 07 Jul 2011 23:43:58 -0500, Dale wrote:

   

One thing I did learn, if the lights on the keyboard
are blinking, it's locked up tight.
 

That's a kernel panic. You can have the system reboot itself after a
panic by adding kernel.panic=N to /etc/sysctl.conf, where N is the number
of seconds to wait before rebooting.


   


Kewl !!!  I just saw that in the file but it is commented out.  Like this:

# When the kernel panics, automatically reboot in 3 seconds
#kernel.panic = 3

So, I uncomment this and the system will reboot in 3 seconds?  Does it 
sync and unmount or just do the same as me hitting the reset button?  
I'm going to uncomment this either way.  If it is locked up, does it 
matter if it is it or me that resets it?  lol


Is there a way to set this without rebooting?

Thanks.  Why wouldn't that be a default I wonder?

Dale

:-)  :-)



Re: [gentoo-user] gcc and glibc. Which unstable to pick?

2011-07-08 Thread Dale

Alan McKinnon wrote:

On Friday 08 July 2011 08:14:00 justin did opine thusly:
   

On 7/7/11 11:14 PM, Alan McKinnon wrote:
 

On Thursday 07 July 2011 16:01:27 Dale did opine thusly:
   

As the list knows, I been having random lock ups on my system.
  I'm in the process of one last emerge -e world but I'm not
holding my breath it will change anything.  So, I'm wanting
to try a unstable
 
   

version of both gcc and glibc.  This is the list available:
 

gcc-4.5.2 works just fine here
glibc-2.13-r3 no problems
   

this has multilpe issues, which I hit myself. But there should be a
revbump soon which gets that fixed.
 

Are these issues documented somewhere?

I haven't seen any problems on either package on my stuff


   


Alan, while you got a eye open.  Can you try to do a search for all bugs 
related to konsole and glibc?  When I go to BGO's search and try to 
search for that on ALL bugs including closed ones, I never get anything 
but the please stand by screen or a blank screen.  It acts like it is 
searching but never returns anything.  I go here:


https://bugs.gentoo.org/query.cgi

Make sure you select ALL for the status.  I was wanting to see if there 
was any problems reported but fixed in some way.


I'm just curious if it is me or a website problem.

Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Booting from SoftwareRaid 10 with metadata 1.0 possible?

2011-07-08 Thread Jens Reinemuth
Am Donnerstag, 7. Juli 2011, 16:18:46 schrieb Jens Reinemuth:
 Hi everybody,
 
 i'm totally stuck with an installation of a server using SoftwareRAIDs (10)
 with an adaptec aic79xx Controller...
 
 I thought that perhaps the drivers must be corrupted, but i found some
 (older) howtos that described you should be using metadata=0.9.0 at least
 on the boot and root partitions. Is this still an issue with actual
 kernels?
 
 regards,
 
 Jens

Omfg... Facepalm!!!

Totally ignorant i really did genkernel with initramfs, added dodmraid as 
parameter, ...

Should have simply done a genkernel --help, which showed up the mdadm 
parameter :-(

After doing this - and changing the mdadm.conf a litte bit - everything works 
as expected... Ok, not everything - should remove all the unneeded modules 
from kernel which i added to locate the error.

Thanx a lot to all,

Jens



Re: [gentoo-user] Re: KDE and HARD lock ups.

2011-07-08 Thread Neil Bothwick
On Fri, 08 Jul 2011 04:19:46 -0500, Dale wrote:

  That's a kernel panic. You can have the system reboot itself after a
  panic by adding kernel.panic=N to /etc/sysctl.conf, where N is the
  number of seconds to wait before rebooting.

 Kewl !!!  I just saw that in the file but it is commented out.  Like
 this:
 
 # When the kernel panics, automatically reboot in 3 seconds
 #kernel.panic = 3
 
 So, I uncomment this and the system will reboot in 3 seconds?  Does it 
 sync and unmount or just do the same as me hitting the reset button?  

The kernel is dead, it's all it can manage to reboot with it's last gasp.

 Is there a way to set this without rebooting?

You can set it with sysctl on the command line, or add it to the file and
reload the config with sysctl -p

 Thanks.  Why wouldn't that be a default I wonder?

Because it causes reboot loops if there's a basic error that causes a
panic when you boot.

You can also give it as a kernel option in GRUB, add panic=N to the
kernel options.


-- 
Neil Bothwick

Of all the people I've met you're certainly one of them.


signature.asc
Description: PGP signature


Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it?

2011-07-08 Thread Stroller

On 6 July 2011, at 17:35, Nikos Chantziaras wrote:

 Is there a secret plan in place to keep users from being able to use Gtk 2 in 
 packages that support both Gtk 2 and 3?  And if yes, why?  Is the user 
 considered too stupid to grasp the awesomeness of Gtk 3 so that the devs have 
 to force the choice upon them?
 
 I'm talking about this:
 
  http://bugs.gentoo.org/show_bug.cgi?id=374057
 
 So why should users not be able to choose Gtk 2 with a USE flag?  What is the 
 reason people use Gentoo?  Isn't one of them the ability of being able to 
 rebuild packages with different USE flags?

Taking a look at this bug today, is there any reason why the ebuild shouldn't 
simply RDEPEND=x11-libs/gtk+ (i.e. remove the explicit dep on gtk3), detect 
what version you have installed on your system and then either run 
--enable-gtk3 or --enable-gtk2 during src_configure(), depending upon which 
you're using?

Stroller.




Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it?

2011-07-08 Thread Albert Hopkins


On Friday, July 8 at 13:11 (+0100), Stroller said:

 Taking a look at this bug today, is there any reason why the ebuild
 shouldn't simply RDEPEND=x11-libs/gtk+ (i.e. remove the explicit dep
 on gtk3), detect what version you have installed on your system and
 then either run --enable-gtk3 or --enable-gtk2 during src_configure(),
 depending upon which you're using?
 
ebuilds generally don't do this, because it is bad.  What you have and
what you want aren't necessarily the same thing.  Consider:

  * You don't yet have any gtk installed
  * You have gtk2 but actually *want* the gtk3 version, so you want
the ebuild to pull in gtk3 (or vice versa)
  * You have both gtk2 and gtk3 installed.
  * You have gtk installed, but don't want gtk support for a
particular package (if gtk support is optional for that
package).






[gentoo-user] Re: Is Gentoo wiping out Gtk 2 support from packages that support it?

2011-07-08 Thread Nikos Chantziaras

On 07/08/2011 03:11 PM, Stroller wrote:


On 6 July 2011, at 17:35, Nikos Chantziaras wrote:


Is there a secret plan in place to keep users from being able to use Gtk 2 in 
packages that support both Gtk 2 and 3?  And if yes, why?  Is the user 
considered too stupid to grasp the awesomeness of Gtk 3 so that the devs have 
to force the choice upon them?

I'm talking about this:

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

So why should users not be able to choose Gtk 2 with a USE flag?  What is the 
reason people use Gentoo?  Isn't one of them the ability of being able to 
rebuild packages with different USE flags?


Taking a look at this bug today, is there any reason why the ebuild shouldn't simply 
RDEPEND=x11-libs/gtk+ (i.e. remove the explicit dep on gtk3), detect what 
version you have installed on your system and then either run --enable-gtk3 or 
--enable-gtk2 during src_configure(), depending upon which you're using?


Other than the dev believing that Gentoo is there to satisfy only his 
own needs and that portage is his own customized personal overlay?  No, 
I don't think so.





Re: [gentoo-user] gcc and glibc. Which unstable to pick?

2011-07-08 Thread Alan McKinnon
On Friday 08 July 2011 04:29:09 Dale did opine thusly:
 Alan McKinnon wrote:
  On Friday 08 July 2011 08:14:00 justin did opine thusly:
  On 7/7/11 11:14 PM, Alan McKinnon wrote:
  On Thursday 07 July 2011 16:01:27 Dale did opine thusly:
  As the list knows, I been having random lock ups on my
  system.
  
I'm in the process of one last emerge -e world but I'm
not
  
  holding my breath it will change anything.  So, I'm
  wanting
  to try a unstable
  
  version of both gcc and glibc.  This is the list available:
  gcc-4.5.2 works just fine here
  glibc-2.13-r3 no problems
  
  this has multilpe issues, which I hit myself. But there should
  be a revbump soon which gets that fixed.
  
  Are these issues documented somewhere?
  
  I haven't seen any problems on either package on my stuff
 
 Alan, while you got a eye open.  Can you try to do a search for all
 bugs related to konsole and glibc?  When I go to BGO's search and
 try to search for that on ALL bugs including closed ones, I never
 get anything but the please stand by screen or a blank screen. 
 It acts like it is searching but never returns anything.  I go
 here:
 
 https://bugs.gentoo.org/query.cgi
 
 Make sure you select ALL for the status.  I was wanting to see if
 there was any problems reported but fixed in some way.
 
 I'm just curious if it is me or a website problem.

I got hits:

https://bugs.gentoo.org/buglist.cgi?query_format=specificorder=relevance%20descbug_status=__open__content=ALL%20konsole%20glibclist_id=275295


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it?

2011-07-08 Thread Alan McKinnon
On Friday 08 July 2011 09:14:36 Albert Hopkins did opine thusly:
 On Friday, July 8 at 13:11 (+0100), Stroller said:
  Taking a look at this bug today, is there any reason why the
  ebuild shouldn't simply RDEPEND=x11-libs/gtk+ (i.e. remove
  the explicit dep on gtk3), detect what version you have
  installed on your system and then either run --enable-gtk3 or
  --enable-gtk2 during src_configure(), depending upon which
  you're using?
 
 ebuilds generally don't do this, because it is bad.  What you have
 and what you want aren't necessarily the same thing.  Consider:
 
   * You don't yet have any gtk installed
   * You have gtk2 but actually *want* the gtk3 version, so you
 want the ebuild to pull in gtk3 (or vice versa)
   * You have both gtk2 and gtk3 installed.
   * You have gtk installed, but don't want gtk support for a
 particular package (if gtk support is optional for that
 package).

easy.

Two USE flags: gtk2 and gtk3

in ebuild:

DEPEND=
gtk2? (x11-libs/gtk+:2)
gtk3? (x11-libs/gtk+:3)


in src-configure() write the code such that it establishes a 
precedence

If both flags are set, build against gtk+:3
If only one flag is set, build against that toolkit
If no flags are set, do something appropriate.

IIRC, it is frowned upon to have conditionals in DEPENDS based on USE 
flags so the above is best - take the small hit on disk space if both 
are set and gtk+:2 is used nowhere else (highly unlikely for quite a 
while still)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] gcc and glibc. Which unstable to pick?

2011-07-08 Thread pk
On 2011-07-08 11:29, Dale wrote:

 I'm just curious if it is me or a website problem.

I'm not Alan but...
konsole:
https://bugs.gentoo.org/buglist.cgi?order=Importanceshort_desc=konsoleresolution=---query_format=advancedbug_status=UNCONFIRMEDbug_status=CONFIRMEDbug_status=IN_PROGRESSbug_status=RESOLVEDbug_status=VERIFIEDshort_desc_type=allwordssubstr

glibc (you didn't mention any specific version so...109 bugs):
https://bugs.gentoo.org/buglist.cgi?order=Importanceshort_desc=glibcresolution=---query_format=advancedbug_status=UNCONFIRMEDbug_status=CONFIRMEDbug_status=IN_PROGRESSbug_status=RESOLVEDbug_status=VERIFIEDshort_desc_type=allwordssubstr

PS. I always use the advanced version of BGO; not sure if there's any
difference between simple  advanced...

HTH

Best regards

Peter K



Re: [gentoo-user] Re: KDE and HARD lock ups.

2011-07-08 Thread Dale

Neil Bothwick wrote:

On Fri, 08 Jul 2011 04:19:46 -0500, Dale wrote:

   

That's a kernel panic. You can have the system reboot itself after a
panic by adding kernel.panic=N to /etc/sysctl.conf, where N is the
number of seconds to wait before rebooting.
   
   

Kewl !!!  I just saw that in the file but it is commented out.  Like
this:

# When the kernel panics, automatically reboot in 3 seconds
#kernel.panic = 3

So, I uncomment this and the system will reboot in 3 seconds?  Does it
sync and unmount or just do the same as me hitting the reset button?
 

The kernel is dead, it's all it can manage to reboot with it's last gasp.

   

Is there a way to set this without rebooting?
 

You can set it with sysctl on the command line, or add it to the file and
reload the config with sysctl -p

   

Thanks.  Why wouldn't that be a default I wonder?
 

Because it causes reboot loops if there's a basic error that causes a
panic when you boot.

You can also give it as a kernel option in GRUB, add panic=N to the
kernel options.

   


Thanks.  I'm hoping not to need this feature anytime soon.  ;-)

Dale

:-)  :-)



[gentoo-user] [OT encfs] When encfs gets hungup

2011-07-08 Thread Harry Putnam
Sorry about the OT, I couldn't raise a stir on the encfs group in
several days... I'm hoping someone here is experienced with encfs.

Actually I'm somewhat experienced with it myself.  I've been keeping
encfs directory for yrs now for special stuff.

Somehow I managed to really hurt the installation ... here is what I
remember having done:

Some how I got mixed up when running as root, and attempted to mount a
users encfs directory.  (Its a single user machine so it my users
directory) 

That should just fail with some kind of permission error since no one,
even root, can mess with someone elses' encfs directory.

But once I'd done that I could no longer even `ls' the subject
directory.  Not as user, not as root.  A simple `ls' would totally
hang the terminal.

Of course I tried to umount but really it never actually mounted.

I started getting this error: `Transport endpoint is not connected'

I could see roots attempt to mount the darn thing in ps wwaux output
and killed that pid.

Eventually (after posting several days ago on encfs list.  I resorted
to umounting /home (after full backup of course) and reformatted it.

I was then able to deleted encfs_raw and encfs_mnt.

But here is the real kicker.  Even after all that, and in fact another
full round of mostly the same stuff, including another reformat.  So
two reformats and two reboots.  Even with that, I still cannot create a
new enc_raw and enc_mount of the same name as the old one.

I would like to, because I have several scripts that depend on that
name.  Not a huge deal... but what could still be causing trouble?

I can create any number of encfs directories with different names.
Just not the original.

What happens if I try is that after creation (using old name) I can
move files to the new (with old name) directory.

But if I once umount it like: fusermount -u /my/oldencfs, then when I
try next to mount it, it hangs terminally.  Takes over the terminal
and kills all further progress (in that terminal).  This happens at
the point where I answer the passwd prompt with the appropriate
passwd.

(No .. no chance I'm entering it wrong... its been in daily use for
yrs).

I'm kind of stumped at what else to try.  I've used encfs -v (verbose)
mode and -f (foreground) mode but after entering the passwd... it
all just goes south... nothing more can happen.

Maybe encfs keeps data somewhere that I can delete and make this go
away?  But a `qlist encfs', listing all that got installed doesn't show
anything like that.





Re: [gentoo-user] [OT encfs] When encfs gets hungup

2011-07-08 Thread Paul Hartman
On Fri, Jul 8, 2011 at 11:55 AM, Harry Putnam rea...@newsguy.com wrote:

 Maybe encfs keeps data somewhere that I can delete and make this go
 away?  But a `qlist encfs', listing all that got installed doesn't show
 anything like that.

I've never used encfs, but maybe strace will show you if it's
accessing files anywhere else around the time it goes belly-up.



Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it?

2011-07-08 Thread Stroller

On 8 July 2011, at 16:19, Alan McKinnon wrote:
 ...
 easy.
 
 Two USE flags: gtk2 and gtk3
 
 in ebuild:
 
 DEPEND=
gtk2? (x11-libs/gtk+:2)
gtk3? (x11-libs/gtk+:3)
 
 
 in src-configure() write the code such that it establishes a 
 precedence
 
 If both flags are set, build against gtk+:3
 If only one flag is set, build against that toolkit
 If no flags are set, do something appropriate.

This is the way it was done for gtk vs. gtk2, but the bug has been updated 
since I first read it (over 24 hours ago) and apparently the Gnome team don't 
want the two separate flags in the future.

I'm not really a gtk or Gnome (or X11) user, so I don't really know, but the 
two separate flags did strike me as a bit of an ugly / clumsy way of doing 
things.


[gentoo-user] Re: Is Gentoo wiping out Gtk 2 support from packages that support it?

2011-07-08 Thread Nikos Chantziaras

On 07/08/2011 06:19 PM, Alan McKinnon wrote:

On Friday 08 July 2011 09:14:36 Albert Hopkins did opine thusly:

On Friday, July 8 at 13:11 (+0100), Stroller said:

Taking a look at this bug today, is there any reason why the
ebuild shouldn't simply RDEPEND=x11-libs/gtk+ (i.e. remove
the explicit dep on gtk3), detect what version you have
installed on your system and then either run --enable-gtk3 or
--enable-gtk2 during src_configure(), depending upon which
you're using?


ebuilds generally don't do this, because it is bad.  What you have
and what you want aren't necessarily the same thing.  Consider:

   * You don't yet have any gtk installed
   * You have gtk2 but actually *want* the gtk3 version, so you
want the ebuild to pull in gtk3 (or vice versa)
   * You have both gtk2 and gtk3 installed.
   * You have gtk installed, but don't want gtk support for a
 particular package (if gtk support is optional for that
 package).


easy.

Two USE flags: gtk2 and gtk3

in ebuild:

DEPEND=
 gtk2? (x11-libs/gtk+:2)
 gtk3? (x11-libs/gtk+:3)



Actually, it's better to have gtk2 and gtk.  *Not* gtk3.  That 
would repeat the problems of the past (gtk1-gtk2.)


But the devs have gone into ego-mode by now, so there's no chance in 
hell they would accept help or suggestions about this.  It has reached 
the point where accepting a suggestion would mean losing the argument 
to them, so I doubt they'll do any of it as they don't want to lose to 
some n00b users.





Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it?

2011-07-08 Thread Stroller
I'm not expert enough on this subject to be *advocating* this approach, but 
this is how I would have expected it to behave:

On 8 July 2011, at 14:14, Albert Hopkins wrote:
 
 On Friday, July 8 at 13:11 (+0100), Stroller said:
 
 Taking a look at this bug today, is there any reason why the ebuild
 shouldn't simply RDEPEND=x11-libs/gtk+ (i.e. remove the explicit dep
 on gtk3), detect what version you have installed on your system and
 then either run --enable-gtk3 or --enable-gtk2 during src_configure(),
 depending upon which you're using?
 
 ebuilds generally don't do this, because it is bad.  What you have and
 what you want aren't necessarily the same thing.  Consider:
 
  * You don't yet have any gtk installed

Highest version of gtk in tree is pulled in as a dep (subject to masking, ARCH, 
~ARCH, c)

  * You have gtk2 but actually *want* the gtk3 version, so you want
the ebuild to pull in gtk3 (or vice versa)

emerge -u1 x11-libs/gtk+  (assuming gtk3 is now stable)
or
emerge -1 =x11-libs/gtk+-3.0.10

(but gtk3 will probably be pulled in by Gnome3 (??) automatically when the user 
upgrades to that)

  * You have both gtk2 and gtk3 installed.

Compile against the higher one

  * You have gtk installed, but don't want gtk support for a
particular package (if gtk support is optional for that
package).

This is when you should be using USE=-gtk, surely? Whether v2 /or v3 of gtk 
is supported is irrelevant. 

Stroller.





Re: [gentoo-user] [OT encfs] When encfs gets hungup

2011-07-08 Thread Albert Hopkins


On Friday, July 8 at 11:55 (-0500), Harry Putnam said:

[..]
 Somehow I managed to really hurt the installation ... here is what I
 remember having done:
 
 Some how I got mixed up when running as root, and attempted to mount a
 users encfs directory.  (Its a single user machine so it my users
 directory) 
 
 That should just fail with some kind of permission error since no one,
 even root, can mess with someone elses' encfs directory.
 
This is not entirely the case.  No one can enter an encfs mount
(destination) but the person that mounted it (by default), but anyone
can *mount* the encfs source (and thus become the owner of the mount).
All other Unix permissions are retained.

 But once I'd done that I could no longer even `ls' the subject
 directory.  Not as user, not as root.  A simple `ls' would totally
 hang the terminal.
 
 Of course I tried to umount but really it never actually mounted.
 
It probably *did* mount, but...

 I started getting this error: `Transport endpoint is not connected'
 
Usually that means the background process that actually handles the
enc/dec has died or is otherwise not responding.

 I could see roots attempt to mount the darn thing in ps wwaux output
 and killed that pid.
 
That's probably why you got the above error.  But technically if you
just kill the process, the kernel still thinks it's mounted.

 Eventually (after posting several days ago on encfs list.  I resorted
 to umounting /home (after full backup of course) and reformatted it.
 
That's seems a bit extreme...

 I was then able to deleted encfs_raw and encfs_mnt.
 
Did you try simply rebooting or manually unmounting?  That's probably
all that was needed.

 But here is the real kicker.  Even after all that, and in fact another
 full round of mostly the same stuff, including another reformat.  So
 two reformats and two reboots.  Even with that, I still cannot create a
 new enc_raw and enc_mount of the same name as the old one.
 
What do you mean by cannot?  Do you get an error?  Does dmesg tell you
anything?

 I would like to, because I have several scripts that depend on that
 name.  Not a huge deal... but what could still be causing trouble?
 
This is indicative possibly of another issue, that is being masked.  Try
reading dmesg or strace the encfs process in foreground mode.

 I can create any number of encfs directories with different names.
 Just not the original.
 
Again, seems indicative of another issue.  Perhaps the host fs is
currupt or something similar.

 What happens if I try is that after creation (using old name) I can
 move files to the new (with old name) directory.
 
 But if I once umount it like: fusermount -u /my/oldencfs, then when I
 try next to mount it, it hangs terminally.  Takes over the terminal
 and kills all further progress (in that terminal).  This happens at
 the point where I answer the passwd prompt with the appropriate
 passwd.
 
 (No .. no chance I'm entering it wrong... its been in daily use for
 yrs).
 
 I'm kind of stumped at what else to try.  I've used encfs -v (verbose)
 mode and -f (foreground) mode but after entering the passwd... it
 all just goes south... nothing more can happen.
 
 Maybe encfs keeps data somewhere that I can delete and make this go
 away?  But a `qlist encfs', listing all that got installed doesn't show
 anything like that.
 
If you totally remove the source and target directories, there is no
other information stored, which allows you to (e.g) encfs directory on a
vfat-formated USB stick and move it mount it on a different machine.
All that encfs knows about an encrypted directory is in *one* file on
the source directory (.encfs6.xml).  Once that file is gone, there is no
such thing as an encfs.

Having said that:
One of encfs's Achilles heel is its dependency on the boost C++ library
which is *very* sensitive wrt to API/ABI changes and the like.  It also
depends on OpenSSL which also shares this notoriety (although, in my
experience, less so).  So there is a possibility that an update to any
of those packages may have broken encfs and you need to rebuild the
package.






Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Grant
 I'm not able to ssh to any domain, although IPs work.  I get:

 $ ssh example.com
 ssh: Could not resolve hostname example.com: Name or service not known

 I can ping domains no problem, and web browsing works.  I've tried
 rebooting and re-emerging openssh.  I am connected to an unfamiliar
 wireless network (with no alternative right now) but I could ssh to
 domains no problem over this network before.  Does this make sense to
 anyone?

 I'd compare the output of strace ping host and strace ssh host. Anything
 in nsswitch.conf? It seems to be used by ssh, but not by the host command.
 Which is new to me.

nsswitch.conf looks straighforward and should be default.  I get a lot
of output from those straces.  Can you tell me what to look for?

 Any recent changes in ~/.ssh/config or /etc/ssh/ssh_config?

~/.ssh/config doesn't exist and /etc/ssh/ssh_config is all commented out.

 Normally I'd say this just can't happen...

If I remove the domain and nameserver declarations in /etc/resolv.conf
and add 'nameserver 8.8.8.8', it works properly.  Is this something I
should investigate, or more of a don't worry about it situation?  I
should be off of this wireless network very soon.

- Grant



Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Grant
 I'm not able to ssh to any domain, although IPs work.  I get:

 $ ssh example.com
 ssh: Could not resolve hostname example.com: Name or service not known

 I can ping domains no problem, and web browsing works.  I've tried
 rebooting and re-emerging openssh.  I am connected to an unfamiliar
 wireless network (with no alternative right now) but I could ssh to
 domains no problem over this network before.  Does this make sense to
 anyone?

 It does not :)

 So, if you do:

 host example.com

 it shows the correct IP address?

I get:

$ host google.com
google.com has address 74.125.224.83
google.com has address 74.125.224.84
google.com has address 74.125.224.80
google.com has address 74.125.224.81
google.com has address 74.125.224.82
google.com mail is handled by 50 alt4.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
$ ssh google.com
ssh: Could not resolve hostname google.com: Name or service not known

- Grant



Re: [gentoo-user] Re: Managing multiple Gentoo systems

2011-07-08 Thread Grant
 And now that I look more closely at KVM switches, it looks like they
 provide a method of controlling multiple computers via a single
 keyboard, monitor, and mouse.  I need sort of the inverse.  I'd like
 to control a single Gentoo computer via multiple sets of keyboards,
 monitors, and mice simultaneously.  It would basically be a way to
 have the functionality of multiple workstations but the administration
 hassle of only a single system.  Wireless communication between the
 computer and each keyboard-monitor-mouse would be most convenient, but
 that may not be possible so wired would be fine.  Does something like
 this exist?

 - Grant

Does this fantasy-arrangement of mine exist?  I guess what I'm after
is a series of dumb terminals to connect to a local Gentoo system so I
don't need to manage a series of Gentoo systems.

- Grant



Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it?

2011-07-08 Thread Albert Hopkins


On Friday, July 8 at 17:19 (+0200), Alan McKinnon said:

 On Friday 08 July 2011 09:14:36 Albert Hopkins did opine thusly:
  On Friday, July 8 at 13:11 (+0100), Stroller said:
   Taking a look at this bug today, is there any reason why the
   ebuild shouldn't simply RDEPEND=x11-libs/gtk+ (i.e. remove
   the explicit dep on gtk3), detect what version you have
   installed on your system and then either run --enable-gtk3 or
   --enable-gtk2 during src_configure(), depending upon which
   you're using?
  
  ebuilds generally don't do this, because it is bad.  What you have
  and what you want aren't necessarily the same thing.  Consider:
  
* You don't yet have any gtk installed
* You have gtk2 but actually *want* the gtk3 version, so you
  want the ebuild to pull in gtk3 (or vice versa)
* You have both gtk2 and gtk3 installed.
* You have gtk installed, but don't want gtk support for a
  particular package (if gtk support is optional for that
  package).
 
 easy.
 
 Two USE flags: gtk2 and gtk3
 
 in ebuild:
 
 DEPEND=
 gtk2? (x11-libs/gtk+:2)
 gtk3? (x11-libs/gtk+:3)
 
 
 in src-configure() write the code such that it establishes a 
 precedence
 
 If both flags are set, build against gtk+:3
 If only one flag is set, build against that toolkit
 If no flags are set, do something appropriate.
 

You mean like what they did with portage and python2/3?

Well, there was bugs in that (I reported 1 or 2 bugs myself).  It works
now (depending on your expectation of works but is very ugly.

 IIRC, it is frowned upon to have conditionals in DEPENDS based on USE 
 flags so the above is best - take the small hit on disk space if both 
 are set and gtk+:2 is used nowhere else (highly unlikely for quite a 
 while still)
 
They could do that.. I don't see it happening though.

I didn't want to comment on this thread (having been on both sides of
the fence).  But I will say this.  The best thing about Gentoo is it's a
meta-distribution.  It gives you more control and more ease to do
things your way.  I think people should learn to take more advantage
of the latter.  I do.





Re: [gentoo-user] Re: Managing multiple Gentoo systems

2011-07-08 Thread James Wall
On Fri, Jul 8, 2011 at 2:03 PM, Grant emailgr...@gmail.com wrote:
 And now that I look more closely at KVM switches, it looks like they
 provide a method of controlling multiple computers via a single
 keyboard, monitor, and mouse.  I need sort of the inverse.  I'd like
 to control a single Gentoo computer via multiple sets of keyboards,
 monitors, and mice simultaneously.  It would basically be a way to
 have the functionality of multiple workstations but the administration
 hassle of only a single system.  Wireless communication between the
 computer and each keyboard-monitor-mouse would be most convenient, but
 that may not be possible so wired would be fine.  Does something like
 this exist?

 - Grant

 Does this fantasy-arrangement of mine exist?  I guess what I'm after
 is a series of dumb terminals to connect to a local Gentoo system so I
 don't need to manage a series of Gentoo systems.

 - Grant

Have you considered using PXE to network boot your systems? you can
have various configurations set up based on mac addresses to address
different hardware issues. I recommend trying out SystemRescueCD to
experiment with PXE booting for the client and server.
--
No trees were harmed in the sending of this message. However, a large
number of electrons were terribly inconvenienced.



Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Alex Schuster
Grant writes:

  Anything in nsswitch.conf? It seems to be used by ssh, but not by the
  host command. Which is new to me.
 
 nsswitch.conf looks straighforward and should be default.  I get a lot
 of output from those straces.  Can you tell me what to look for?

For 'strange' things :)  Like config files being opened, which you could 
investigate.

Wonko



Re: [gentoo-user] Virt-manager

2011-07-08 Thread john
On Thu, 07 Jul 2011 21:17:12 -0400
Albert Hopkins mar...@letterboxes.org wrote:

 
 
 On Thursday, July 7 at 23:30 (+0100), john said:
 
  On Thu, 07 Jul 2011 17:26:18 -0400
 
  
  Have cleared up error messages using config as suggested.
  
  I still get the issue when starting /etc/init.d/libvirtd
   
* Starting libvirtd ...
   /usr/sbin/libvirtd: error: Unable to initialize network sockets.
   Check /var/log/messages or run without --daemon for more info.
* start-stop-daemon: failed to start
   `/usr/sbin/libvirtd'[ !! ]
* ERROR: libvirtd failed to start
 
 You'll have to turn up the logging level of libvirt (to find out
 exactly what it's trying to do and where it's erroring out).
 
  BUT when i start /usr/sbin/libvirtd from command line virt-manager
  now works. It lets me create vms (yippee)
  
  I was unaware that libvirtd was a separate package (thought it was
  part of virt-manager. After reading your hints it dawned on me that
  is was seaparate so have enabled more use flags. I should check
  more carefully the output of emerge -vp.
  
 
 libvirt (not libvirtd) is a seperate package, it (possibly) contains a
 number of things, including
 
 libvirt: the C library that allows you to manage many different types
 of virtualization platforms using a common API.
 Python bindings for the above
 A command-line and shell interface (called virsh)
 libvirtd, which is a daemon helper used to manage virtualization
 platforms which don't have their own management service (such as kvm).
 
 virt-manager, is a seperate product.  It is a GUI interface written in
 python that is used to talk to manage different types of
 virtualization platforms.  It uses libvirt (its python bindings) to
 do this.  Think of it as a GUI version of virsh.
 
 But you don't need virt-manager to use libvirt, and you don't even
 need libvirtd to use libvirt (e.g. you are interfacing with Xen or
 VMware hypervisors).
 
 That's why I was trying to say it's good for you to figure out what
 you are trying to do, before you go through the trouble of figuring
 out how to solve a problem that doesn't even pertain to you and could
 have been avoided altogether just by choosing the right combination
 of USE flags.
 
 If you are just wanting have a GUI for Xen, for example, you don't
 even need to worry about libvirtd.  If, for example, you are using
 KVM but you want the VMs to bridge off a physical interface and have
 no need for virtual networks, then you don't even need the virt-net
 USE flag. 
  Anyway I am up and running with a big thanks to yourself and will
  have a closer look at the service another day.
 
 Ok
 
 

LOL Well I was up and running but now when trying to create VMs I get
(have done upgrade of around 20 packages)
 
Uncaught error validating install parameters: Must pass a VirtualDevice
instance.

Traceback (most recent call last):
  File /usr/share/virt-manager/virtManager/create.py, line 1241, in
validate
return self.validate_final_page()
  File /usr/share/virt-manager/virtManager/create.py, line 1501, in
validate_final_page
self.guest.add_device(self.nic)
  File /usr/lib64/python2.7/site-packages/virtinst/Guest.py, line
666, in add_device
raise ValueError(_(Must pass a VirtualDevice instance.))
ValueError: Must pass a VirtualDevice instance.

dnsmasq installed. python-updater run. revdep-rebuild etc..

Are there any other GUIs to try for for virtualisation?

Or is it better sticking to CL to qemu-kvm?
Am I expecting too much for this just to work?



 
-- 
--
John D Maunder
j...@jdm.myzen.co.uk



Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it?

2011-07-08 Thread Stroller

On 8 July 2011, at 20:06, Albert Hopkins wrote:
 ...
 I didn't want to comment on this thread (having been on both sides of
 the fence).  But I will say this.  The best thing about Gentoo is it's a
 meta-distribution.  It gives you more control and more ease to do
 things your way.  I think people should learn to take more advantage
 of the latter.  I do.

Yeah, I hope I don't offend Nikos by saying this, but I think he's allowing 
himself (from his comments in the bug report) to get way too bent out of shape 
over this, considering he could stick a copy of the patched ebuild in his local 
overlay and just compile against that until gtk3 looks OK under KDE.

I have to do this fairly regularly, because all the packages that are important 
to me seem to be completely unimportant to anyone else, and my bugs languish in 
bugzilla for months at a time.

You have to pick your battles, and (whilst I'm not always able to follow this 
advice myself) it's not worth letting some asshole on the internet have a 
negative affect on you.

Nikos has now spent *way* more time arguing his case in the bug report than he 
would have done maintaining the ebuild himself.

Stroller.




Re: [gentoo-user] Virt-manager

2011-07-08 Thread john
On Fri, 8 Jul 2011 21:22:40 +0100
john j...@jdm.myzen.co.uk wrote:

 On Thu, 07 Jul 2011 21:17:12 -0400
 Albert Hopkins mar...@letterboxes.org wrote:
 
  
  
  On Thursday, July 7 at 23:30 (+0100), john said:
  
   On Thu, 07 Jul 2011 17:26:18 -0400
  
   
   Have cleared up error messages using config as suggested.
   
   I still get the issue when starting /etc/init.d/libvirtd

 * Starting libvirtd ...
/usr/sbin/libvirtd: error: Unable to initialize network sockets.
Check /var/log/messages or run without --daemon for more info.
 * start-stop-daemon: failed to start
`/usr/sbin/libvirtd'[ !! ]
 * ERROR: libvirtd failed to start
  
  You'll have to turn up the logging level of libvirt (to find out
  exactly what it's trying to do and where it's erroring out).
  
   BUT when i start /usr/sbin/libvirtd from command line virt-manager
   now works. It lets me create vms (yippee)
   
   I was unaware that libvirtd was a separate package (thought it was
   part of virt-manager. After reading your hints it dawned on me
   that is was seaparate so have enabled more use flags. I should
   check more carefully the output of emerge -vp.
   
  
  libvirt (not libvirtd) is a seperate package, it (possibly)
  contains a number of things, including
  
  libvirt: the C library that allows you to manage many different
  types of virtualization platforms using a common API.
  Python bindings for the above
  A command-line and shell interface (called virsh)
  libvirtd, which is a daemon helper used to manage virtualization
  platforms which don't have their own management service (such as
  kvm).
  
  virt-manager, is a seperate product.  It is a GUI interface written
  in python that is used to talk to manage different types of
  virtualization platforms.  It uses libvirt (its python bindings) to
  do this.  Think of it as a GUI version of virsh.
  
  But you don't need virt-manager to use libvirt, and you don't even
  need libvirtd to use libvirt (e.g. you are interfacing with Xen or
  VMware hypervisors).
  
  That's why I was trying to say it's good for you to figure out what
  you are trying to do, before you go through the trouble of figuring
  out how to solve a problem that doesn't even pertain to you and
  could have been avoided altogether just by choosing the right
  combination of USE flags.
  
  If you are just wanting have a GUI for Xen, for example, you don't
  even need to worry about libvirtd.  If, for example, you are using
  KVM but you want the VMs to bridge off a physical interface and have
  no need for virtual networks, then you don't even need the
  virt-net USE flag. 
   Anyway I am up and running with a big thanks to yourself and will
   have a closer look at the service another day.
  
  Ok
  
  
 
 LOL Well I was up and running but now when trying to create VMs I get
 (have done upgrade of around 20 packages)
  
 Uncaught error validating install parameters: Must pass a
 VirtualDevice instance.
 
 Traceback (most recent call last):
   File /usr/share/virt-manager/virtManager/create.py, line 1241, in
 validate
 return self.validate_final_page()
   File /usr/share/virt-manager/virtManager/create.py, line 1501, in
 validate_final_page
 self.guest.add_device(self.nic)
   File /usr/lib64/python2.7/site-packages/virtinst/Guest.py, line
 666, in add_device
 raise ValueError(_(Must pass a VirtualDevice instance.))
 ValueError: Must pass a VirtualDevice instance.
 
 dnsmasq installed. python-updater run. revdep-rebuild etc..
 
 Are there any other GUIs to try for for virtualisation?
 
 Or is it better sticking to CL to qemu-kvm?
 Am I expecting too much for this just to work?
 
 
 
  

ok I might be being dumb but found a way round this (through trial and
error) 

In advanced options in step 5 of 5 select Specify Shared Device Name

Please note you'll need to create a bridge as well but selecting the
above removes error message.

Caw this is tough but fun.




-- 
--
John D Maunder
j...@jdm.myzen.co.uk



Re: [gentoo-user] [OT encfs] When encfs gets hungup

2011-07-08 Thread Neil Bothwick
On Fri, 08 Jul 2011 14:35:55 -0400, Albert Hopkins wrote:

 Having said that:
 One of encfs's Achilles heel is its dependency on the boost C++ library
 which is *very* sensitive wrt to API/ABI changes and the like.  It also
 depends on OpenSSL which also shares this notoriety (although, in my
 experience, less so).  So there is a possibility that an update to any
 of those packages may have broken encfs and you need to rebuild the
 package.

Apart from the need to access legacy data, which Harry has resolved by
reformatting, is there any benefit in using encfs rather than the
in-kernel ecryptfs these days?


-- 
Neil Bothwick

Fine day for a good workout. Steal something heavy.


signature.asc
Description: PGP signature


Re: [gentoo-user] Virt-manager

2011-07-08 Thread Albert Hopkins


On Friday, July 8 at 21:22 (+0100), john said:

[...]
 LOL Well I was up and running but now when trying to create VMs I get
 (have done upgrade of around 20 packages)
  
 Uncaught error validating install parameters: Must pass a VirtualDevice
 instance.
 
 Traceback (most recent call last):
   File /usr/share/virt-manager/virtManager/create.py, line 1241, in
 validate
 return self.validate_final_page()
   File /usr/share/virt-manager/virtManager/create.py, line 1501, in
 validate_final_page
 self.guest.add_device(self.nic)
   File /usr/lib64/python2.7/site-packages/virtinst/Guest.py, line
 666, in add_device
 raise ValueError(_(Must pass a VirtualDevice instance.))
 ValueError: Must pass a VirtualDevice instance.
 
 dnsmasq installed. python-updater run. revdep-rebuild etc..
 

 Are there any other GUIs to try for for virtualisation?
 
 Or is it better sticking to CL to qemu-kvm?
 Am I expecting too much for this just to work?
 

I can honestly say that I haven't experienced so much pain working with
libvirt/virt-manger.  If I had I probably would have given up, but I've
been using it for years now.

What versions of packages are you using?  Are you mixing stable/unstable 
packages?

I can't really say.  I've never seen that error before.  What steps are
you taking to create the VM?

 





Re: [gentoo-user] Virt-manager

2011-07-08 Thread Albert Hopkins


On Friday, July 8 at 22:37 (+0100), john said:

 ok I might be being dumb but found a way round this (through trial and
 error) 
 
 In advanced options in step 5 of 5 select Specify Shared Device Name
 
 Please note you'll need to create a bridge as well but selecting the
 above removes error message.
 

Ok, the problem appears that you never really solved the first issue you
had.  So that's causing other issues down the pipe, which is often the
case.




Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Alex Schuster
Peter Ruskin writes:

 What package provides host?
 I'm amazed I don't have it.

net-dns/bind-tools

Wonko



Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Thanasis
on 07/09/2011 01:35 AM Peter Ruskin wrote the following:
 On Friday 08 July 2011 19:58:47 Grant wrote:
 host example.com

 What package provides host?
 I'm amazed I don't have it.
 

net-dns/bind-tools



Re: [gentoo-user] Virt-manager

2011-07-08 Thread john
On Fri, 08 Jul 2011 17:57:55 -0400
Albert Hopkins mar...@letterboxes.org wrote:

 
 
 On Friday, July 8 at 21:22 (+0100), john said:
 
 [...]
  LOL Well I was up and running but now when trying to create VMs I
  get (have done upgrade of around 20 packages)
   
  Uncaught error validating install parameters: Must pass a
  VirtualDevice instance.
  
  Traceback (most recent call last):
File /usr/share/virt-manager/virtManager/create.py, line 1241,
  in validate
  return self.validate_final_page()
File /usr/share/virt-manager/virtManager/create.py, line 1501,
  in validate_final_page
  self.guest.add_device(self.nic)
File /usr/lib64/python2.7/site-packages/virtinst/Guest.py, line
  666, in add_device
  raise ValueError(_(Must pass a VirtualDevice instance.))
  ValueError: Must pass a VirtualDevice instance.
  
  dnsmasq installed. python-updater run. revdep-rebuild etc..
  
 
  Are there any other GUIs to try for for virtualisation?
  
  Or is it better sticking to CL to qemu-kvm?
  Am I expecting too much for this just to work?
  
 
 I can honestly say that I haven't experienced so much pain working
 with libvirt/virt-manger.  If I had I probably would have given up,
 but I've been using it for years now.
 
 What versions of packages are you using?  Are you mixing
 stable/unstable packages?
 
 I can't really say.  I've never seen that error before.  What steps
 are you taking to create the VM?
 
  
 
 
 

Using latest stable versions of all packages regarding
virt-manager/libvirt and all associated but I am using 
.39-r2 kernel (which oddly cures a usb issue I have been having
with .38 

There is post on the forum regarding this issue as well (recent)
but looks like no fix was found.

Have tried a few vms now and seen to be running ok. Was trying to see
any differences with VirtualBox (better speed/usability).

Can't say there is much in it but only a home user so will not see too
much speed difference anyway.

Using gui to create images on hard disc and running isos from there.

I perhaps should read the documentation but like to try things first
before getting too involved. lxc next!!!


Thanks for your guidance. I don't think I would have got this far
without it.

-- 
--
John D Maunder
j...@jdm.myzen.co.uk



Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Mick
On Friday 08 Jul 2011 23:35:21 Peter Ruskin wrote:
 On Friday 08 July 2011 19:58:47 Grant wrote:
   host example.com
 
 What package provides host?
 I'm amazed I don't have it.

net-dns/bind-tools
-- 
Regards,
Mick


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


[gentoo-user] Re: DNS error with ssh

2011-07-08 Thread walt
On 07/08/2011 11:58 AM, Grant wrote:
 I'm not able to ssh to any domain, although IPs work.  I get:

 $ ssh example.com
 ssh: Could not resolve hostname example.com: Name or service not known

 I can ping domains no problem, and web browsing works.  I've tried
 rebooting and re-emerging openssh.  I am connected to an unfamiliar
 wireless network (with no alternative right now) but I could ssh to
 domains no problem over this network before.  Does this make sense to
 anyone?

 It does not :)

 So, if you do:

 host example.com

 it shows the correct IP address?
 
 I get:
 
 $ host google.com
 google.com has address 74.125.224.83

 $ ssh google.com
 ssh: Could not resolve hostname google.com: Name or service not known

When I do ssh google.com the process hangs until I kill it, but it does
find the right IP address.  Along the way it checks /etc/gai.conf, which
is installed by glibc and is used by the getaddrinfo(3) system call.

My gai.conf has only three uncommented lines:

scopev4 :::169.254.0.0/112  2
scopev4 :::127.0.0.0/1042
scopev4 :::0.0.0.0/96   14

Of course, lots of other files are consulted, as already mentioned in
this thread.  I mention gai.conf only because I'd never heard of it
until I ran strace on ssh just now.







Re: [gentoo-user] [OT encfs] When encfs gets hungup

2011-07-08 Thread Albert Hopkins


On Friday, July 8 at 22:50 (+0100), Neil Bothwick said:

 Apart from the need to access legacy data, which Harry has resolved by
 reformatting, is there any benefit in using encfs rather than the
 in-kernel ecryptfs these days?

Admittedly there isn't much difference, so if what you are using works
for you why not stick with it. I still prefer encfs, although I have
admittedly never tried ecryptfs, for the following reasons:

  * It's FUSE, completely userspace and requires no kernel support
(other than FUSE) and no special privileges to mount (other than
fusermount).
  * You can have multiple layers of encryption on on source
directory.  E.g. two different passwords can give you two
different views of the filesystem.
  * In the documentation at least, it says when you upgrade ecryptfs
you should first copy the files from the old ecryptfs to an
unencrypted filesystem, and then copy it to the new ecryptfs.
That seems like something some people won't want to do.