Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Dave Jones

Hi Matt

Matt Harrison wrote on 23/04/08 07:05:
I've been running a gentoo system as my fileserver without problems for 
a while. Its using software raid (1+0) with lvm on top, and its been a 
dream until now.


The other day I did an emerge world and had a message about an sqlite 
ebuild missing from the repository. Well I had other things to do so I 
thought I'd leave that for now (sqlite isn't critical).


Now after a reboot I can't mount my LVM partitions, my raid is working 
fine, but nothing I can do will discover my lvm partitions or volumes. 
If i try to manually start the lvm service, I get the message about it 
being written for baselayout-2 and not being suitable for baselayout-1.


I've managed to find some info about the OpenRC and baselayout-2 change, 
however nothing seems to apply to my situation, and I certainly never 
meant to do an upgrade that would make such a serious change.


Is there some way I can recover my system without having to re-install? 
I've got a lot of data that I would cry if i lost, although I think the 
data is ok...I'm just really confused about this baselayout-2 change.


Because all my partitions (except root and boot) are on LVM, I can't get 
to see if i accidentally installed something wrong, and I can't even try 
to re-emerge lvm etc.


Any tips would be greately appreciated.


Add lvm to your boot run level for baselayout-2:

rc-update add lvm boot

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Dave Jones wrote:

Hi Matt

Matt Harrison wrote on 23/04/08 07:05:
I've been running a gentoo system as my fileserver without problems 
for a while. Its using software raid (1+0) with lvm on top, and its 
been a dream until now.


The other day I did an emerge world and had a message about an sqlite 
ebuild missing from the repository. Well I had other things to do so 
I thought I'd leave that for now (sqlite isn't critical).


Now after a reboot I can't mount my LVM partitions, my raid is 
working fine, but nothing I can do will discover my lvm partitions or 
volumes. If i try to manually start the lvm service, I get the 
message about it being written for baselayout-2 and not being 
suitable for baselayout-1.


I've managed to find some info about the OpenRC and baselayout-2 
change, however nothing seems to apply to my situation, and I 
certainly never meant to do an upgrade that would make such a serious 
change.


Is there some way I can recover my system without having to 
re-install? I've got a lot of data that I would cry if i lost, 
although I think the data is ok...I'm just really confused about this 
baselayout-2 change.


Because all my partitions (except root and boot) are on LVM, I can't 
get to see if i accidentally installed something wrong, and I can't 
even try to re-emerge lvm etc.


Any tips would be greately appreciated.


Add lvm to your boot run level for baselayout-2:

rc-update add lvm boot

Cheers, Dave

Hey Dave,

Thanks for the reply. I've just tried adding lvm to my boot runlevel. 
Unfortunately, its exactly the same. The LVM service does now start, but 
I'm still told that no volumes can be found.


I've verified that the raid arrays are all running ok, however LVM just 
seems to have lost all my partitions...which seems crazy.


I really, really hope that the upgrade doesn't mean i've lost data.

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Matt Harrison wrote:
 Thanks for the reply. I've just tried adding lvm to my boot runlevel.
 Unfortunately, its exactly the same. The LVM service does now start,
 but I'm still told that no volumes can be found.

 I've verified that the raid arrays are all running ok, however LVM
 just seems to have lost all my partitions...which seems crazy.

 I really, really hope that the upgrade doesn't mean i've lost data.

It's highly unlikely you lost data, as the upgrade would not have 
changed the on-disk metadata. If all else fails, you could boot off an 
LVM-enabled LiveCD and you'll find all your volumes present. But first 
we need to find out what's going on (my machine uses baselayout-2 and 
openrc  my lvm volumes were unaffected.

What output do you get from
pvscan
vgscan
lvscan
vgchange -a y

and what's in the various logs regarding lvm startup?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Dirk Heinrichs

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ext Matt Harrison schrieb:

| Thanks for the reply. I've just tried adding lvm to my boot runlevel.
| Unfortunately, its exactly the same. The LVM service does now start, but
| I'm still told that no volumes can be found.

Look into /etc/rc.conf and add the dependencies for LVM. I had to add
this (using EVMS):

rc_fsck_need=evms

This adds evms to the dependencies of fsck, so that all volumes are
available for fsck.

HTH...

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
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iD8DBQFIDuWA8NVtnsLkZ7sRAj68AJ92U4KBivibRLrwge87Qjqsi7EyggCgoHA5
86thLwb8Zvx5BOpObMpgkdQ=
=UZvP
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] confusing emerge output

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Allan Gottlieb wrote:
  # emerge --verbose --ask --deep --update --newuse --tree world

 gives just a few packages with dev-java/rhino the last one (first to
 be merged).

 But

   # emerge --oneshot --ask rhino

 Gives a bunch of packages with rhino the last one (last to build).

 Could someone explain?

snip

 [ebuild  N]  dev-java/rhino-1.5.5-r4  USE=doc -source 1,506 kB

snip

 [ebuild  N] dev-java/rhino-1.6.5  USE=doc -examples -source

See the difference? One is v1.5 the other is v1.6. The explanation is in 
the full output of what rhino is and the openoffice ebuild:

[EMAIL PROTECTED] ~ $ eix rhino
* dev-java/rhino
 Available versions:
(1.5)   1.5.5-r4
(1.6)   1.6.5
{doc elibc_FreeBSD examples source}
 Homepage:http://www.mozilla.org/rhino/
 Description: An open-source implementation of JavaScript 
written in Java.

From openoffice-2.4.0.ebuild:
COMMON_DEPEND=
java? ( =dev-java/bsh-2.0_beta4
=dev-java/xalan-2.7
=dev-java/xalan-serializer-2.7
=dev-java/xerces-2.7
=dev-java/xml-commons-external-1.3*
=dev-db/hsqldb-1.8.0.9
=dev-java/rhino-1.5* )

There are two SLOTs for rhino - 1.5 and 1.6

OpenOffice explicitly DEPENDS on the 1.5 SLOT for rhino if you 
have java in USE. You probably have that so a deep world emerge will 
pull rhino-1.5* in.

You don't currently have rhino installed so when you issue emerge 
rhino, portage will check for the latest one and install it. It just 
so happens that in this case, the latest is not the same SLOT that OOo 
wants.




-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] OT: Question re: UUID

2008-04-23 Thread Alan McKinnon
On Tuesday 22 April 2008, Mick wrote:
 On Monday 21 April 2008, Mark Knecht wrote:
  On Mon, Apr 21, 2008 at 2:22 PM, Neil Bothwick [EMAIL PROTECTED] 
wrote:
   On Mon, 21 Apr 2008 17:41:58 +0200, Dirk Heinrichs wrote:
 The other possible way would be to give your devices unique
 names, either via udev or by using LVM. Advantage over UUIDs:
 much easier to read.
  
Or you could use filesystem labels.
 
  I've used filesystem labels for a long time and generally it works
  really well. Only problem I've had is my Dad's machine has a Maxtor
  1-touch 1394 drive. It seems that often it doesn't get recognized
  by the 1394 subsystem fast enough to satisfy whatever requirements
  the Gentoo scripts have for the label being readable so it doesn't
  reliably get recognized every time.

 I have thought about using labels, but never really ventured into it
 (I think I tried it once on a server).  Can I do it retrospectively
 on ext2, reiserfs and xfs, or is it going to erase the contents of
 the partition?

No, it's safe. The various file system tools have a *label* or *tune* 
tool to add a label to the fs metadata. Then simply update fstab.

The fun starts in finding the tool for your filesystems. ext2/3 is 
easy - it's e2label. ReiserFS is a little more obscure :-) Finding this 
amazing Reiser tool is left as an exercise for the reader (i.e. I can 
never remember what it is myself and am too damn lazy to go and look 
right now)

Personally, I prefer labels over other disk id methods. I get to choose 
the label myself and can ensure they are unique in my world (but maybe 
not in the universe like UUIDs are). If I have to mkfs a volume from 
scratch for some reason, it's easier for me to to re-use the same label 
than to re-use or copy-paste those long UUID strings

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



RE: [gentoo-user] How Bad Is This...?

2008-04-23 Thread Bob Young


-Original Message-
From: Volker Armin Hemmann [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 16, 2008 8:22 AM
To: gentoo-user@lists.gentoo.org
Cc: Bob Young
Subject: Re: [gentoo-user] How Bad Is This...?

On Mittwoch, 16. April 2008, Bob Young wrote:
 I'm in the process of installing a new box, last night before going to 
 bed I started installing xorg server. This morning, I found the 82nd
 build(out of 162) had failed with the following error:


[snip]

the best alternative is to check what went wrong, but since Seagates are
known to die in the first couple of days - or almost never, this gentleman
here would bet on a defective harddisk.

Btw, you might want to read up on 'bathtub curve'. Stuff breaks early, or 
late.

Just wanted to let you know, it appears you were right, it was the HD itself
that was bad. I substituted in the other brand new Seagate, and reinstalled.

Luckily I was able to read all config files from the semi-bad drive. At this
point I'm finished installing xorg-server, and have begun installing KDE.

P.S. Next time I'll post the output of dmesg...g

Thanks for responding
Bob Young
San Jose, CA.


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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Alan McKinnon wrote:

It's highly unlikely you lost data, as the upgrade would not have
changed the on-disk metadata. If all else fails, you could boot off an 
LVM-enabled LiveCD and you'll find all your volumes present. But first 
we need to find out what's going on (my machine uses baselayout-2 and 
openrc  my lvm volumes were unaffected.


What output do you get from
pvscan
vgscan
lvscan
vgchange -a y

and what's in the various logs regarding lvm startup?

  

Ok,

pvscan says:
   No Matching physical volumes found

vgscan says:
   Reading all physical volumesThis make take a while
   No volume groups found

lvscan says:
   No volume groups found

vgchange -a y says:
   No volume groups found.

There's not much in the way of logs, seeing as syslog can't start (/var 
partition is on LVM too). running dmesg doesn't output anything relevant 
to LVM


And in reply to Dirk's email, I've added the line to my /etc/rc.conf, 
but it doesn't seem to have made any difference :(

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Dirk Heinrichs

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ext Matt Harrison schrieb:

| And in reply to Dirk's email, I've added the line to my /etc/rc.conf,
| but it doesn't seem to have made any difference :(

You wrote in your first mail that you use software raid. Did you also
add the dep for this, so that raid devices are setup before lvm runs?
Would be something like

rc_lvm_need=mdraid

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
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iD8DBQFIDuqD8NVtnsLkZ7sRAiHLAJ9u49X/VnVJqznVaBSWeSsZG+gWFACfXQGF
BvYJN3woLSSu7/plcDx8cgY=
=JzMp
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

On a side not, I'm not sure if this could the problem:

I've got one disk on one of my pairs failed. There's a replacement disk 
arriving tomorrow, but the stripe (thats built out of 3 mirrored pairs) 
won't start on its own, I have to manually rebuild the array after boot.


This shouldn't stop it detecting lvm partitions manually should it?
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Dirk Heinrichs wrote:

You wrote in your first mail that you use software raid. Did you also
add the dep for this, so that raid devices are setup before lvm runs?
Would be something like

rc_lvm_need=mdraid

No actually, I don't have that line either. I take it this is all new 
stuff...as its been working fine so far.

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Dirk Heinrichs

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ext Matt Harrison schrieb:
| Dirk Heinrichs wrote:
| You wrote in your first mail that you use software raid. Did you also
| add the dep for this, so that raid devices are setup before lvm runs?
| Would be something like
|
| rc_lvm_need=mdraid
|
| No actually, I don't have that line either. I take it this is all new
| stuff...as its been working fine so far.

Oh, BTW: I don't know if that script is really called mdraid, since I
don't use sw raid myself.

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
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iD8DBQFIDuvK8NVtnsLkZ7sRAuYhAJ9z64+BldPPjlrowQXF7j7vbv+D3wCeMXvz
/8Ubf7cz2TLYwoYe8I/2TxI=
=puIa
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Matt Harrison wrote:
 Alan McKinnon wrote:
  It's highly unlikely you lost data, as the upgrade would not have
  changed the on-disk metadata. If all else fails, you could boot off
  an LVM-enabled LiveCD and you'll find all your volumes present. But
  first we need to find out what's going on (my machine uses
  baselayout-2 and openrc  my lvm volumes were unaffected.
 
  What output do you get from
  pvscan
  vgscan
  lvscan
  vgchange -a y
 
  and what's in the various logs regarding lvm startup?
 
   

 Ok,

 pvscan says:
     No Matching physical volumes found

ouch. Looks like something is wrong with your lvm metadata. Could you 
confirm that your setup is lvm on top of local RAID, and that there 
isn't anything else involved (shared storage for example).

As a test, I would boot off an LVM enabled live cd and see if the 
volumes are accessible. That will determine if the problem lies with 
lvm, your volumes, or with how your gentoo is set up.

Last time I looked, the Sistina web site and redhat.com has loads of 
very useful info and FAQs. If you haven't already, I recommend you get 
onto those sites and start reading and doing non-destructive tests, as 
lvm errors can be varied and interesting when stuff goes wrong

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Alan McKinnon wrote:

On Wednesday 23 April 2008, Matt Harrison wrote:
  

Alan McKinnon wrote:


It's highly unlikely you lost data, as the upgrade would not have
changed the on-disk metadata. If all else fails, you could boot off
an LVM-enabled LiveCD and you'll find all your volumes present. But
first we need to find out what's going on (my machine uses
baselayout-2 and openrc  my lvm volumes were unaffected.

What output do you get from
pvscan
vgscan
lvscan
vgchange -a y

and what's in the various logs regarding lvm startup?

 
  

Ok,

pvscan says:
No Matching physical volumes found



ouch. Looks like something is wrong with your lvm metadata. Could you 
confirm that your setup is lvm on top of local RAID, and that there 
isn't anything else involved (shared storage for example).


As a test, I would boot off an LVM enabled live cd and see if the 
volumes are accessible. That will determine if the problem lies with 
lvm, your volumes, or with how your gentoo is set up.


Last time I looked, the Sistina web site and redhat.com has loads of 
very useful info and FAQs. If you haven't already, I recommend you get 
onto those sites and start reading and doing non-destructive tests, as 
lvm errors can be varied and interesting when stuff goes wrong


  
I can confirm its 6 local drives using md software raid, with lvm stuck 
on top. No shared storage is happening at all.


I'll have a look at everything I can find. I just pray I haven't lost 
anything.


I'm about to burn a live cd, and i'll see what it says about my 
partitions...fingers crossed

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 23, 2008 at 06:05:06AM +0100, Matt Harrison wrote:
 Now after a reboot I can't mount my LVM partitions, my raid is working 
 fine, but nothing I can do will discover my lvm partitions or volumes. If i 
 try to manually start the lvm service, I get the message about it being 
 written for baselayout-2 and not being suitable for baselayout-1.

Do I read correctly you have new version of LVM that needs baselayout 2,
but you have only baselayout 1?

(If so, then probably much of the parallel thread is solving completely
different problem)

-- 
Anything is possible, unless it's not.

Michal 'vorner' Vaner


pgp2vXJfWuDul.pgp
Description: PGP signature


Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Matt Harrison wrote:

Alan McKinnon wrote:

On Wednesday 23 April 2008, Matt Harrison wrote:
 

Alan McKinnon wrote:
   

It's highly unlikely you lost data, as the upgrade would not have
changed the on-disk metadata. If all else fails, you could boot off
an LVM-enabled LiveCD and you'll find all your volumes present. But
first we need to find out what's going on (my machine uses
baselayout-2 and openrc  my lvm volumes were unaffected.

What output do you get from
pvscan
vgscan
lvscan
vgchange -a y

and what's in the various logs regarding lvm startup?

 
  

Ok,

pvscan says:
No Matching physical volumes found



ouch. Looks like something is wrong with your lvm metadata. Could you 
confirm that your setup is lvm on top of local RAID, and that there 
isn't anything else involved (shared storage for example).


As a test, I would boot off an LVM enabled live cd and see if the 
volumes are accessible. That will determine if the problem lies with 
lvm, your volumes, or with how your gentoo is set up.


Last time I looked, the Sistina web site and redhat.com has loads of 
very useful info and FAQs. If you haven't already, I recommend you get 
onto those sites and start reading and doing non-destructive tests, as 
lvm errors can be varied and interesting when stuff goes wrong


  
I can confirm its 6 local drives using md software raid, with lvm stuck 
on top. No shared storage is happening at all.


I'll have a look at everything I can find. I just pray I haven't lost 
anything.


I'm about to burn a live cd, and i'll see what it says about my 
partitions...fingers crossed


Ok, some success. I've booted up with the install livecd, and I can 
still access the metadata for my LVM partitions. Everything shows up 
fine, the sizes and usage check out and things seem ok.


So it appears I've not lost my data, just the ability to access it with 
the on-disk install I have.


Now I guess I've gotta either fix it, or re-install and then watch all 
my emerge's really closely to figure out what happened to get into this 
state.


Again, all help very much welcomed and thanks for the support so far :)


With a big sigh of relief,

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Michal 'vorner' Vaner wrote:

Hello

On Wed, Apr 23, 2008 at 06:05:06AM +0100, Matt Harrison wrote:
Now after a reboot I can't mount my LVM partitions, my raid is working 
fine, but nothing I can do will discover my lvm partitions or volumes. If i 
try to manually start the lvm service, I get the message about it being 
written for baselayout-2 and not being suitable for baselayout-1.


Do I read correctly you have new version of LVM that needs baselayout 2,
but you have only baselayout 1?

(If so, then probably much of the parallel thread is solving completely
different problem)



Problem is, I wasn't watching the emerge, so I'm not sure what did 
happen. It would appear that some package, probably LVM, has gotten out 
of sync with another critical package.


I'm just not sure how to get things back in sync again
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 23, 2008 at 12:14:02PM +0100, Matt Harrison wrote:
 Michal 'vorner' Vaner wrote:
 Do I read correctly you have new version of LVM that needs baselayout 2,
 but you have only baselayout 1?
 (If so, then probably much of the parallel thread is solving completely
 different problem)

 Problem is, I wasn't watching the emerge, so I'm not sure what did happen. 
 It would appear that some package, probably LVM, has gotten out of sync 
 with another critical package.

 I'm just not sure how to get things back in sync again

You could try booting the life CD, mount anything like it should and
chroot to the installation. Then you can check out versions of
baselayout and the LVM packages and the too now one downgrade (or
upgrade the too old one, but it probably means getting into
baselayout-2, if you want it).

I hope it helps.

-- 
Fragile. Do not turn umop ap1sdn!

Michal 'vorner' Vaner


pgpVLhPC8IF6x.pgp
Description: PGP signature


Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Michal 'vorner' Vaner wrote:

Hello

On Wed, Apr 23, 2008 at 12:14:02PM +0100, Matt Harrison wrote:

Michal 'vorner' Vaner wrote:

Do I read correctly you have new version of LVM that needs baselayout 2,
but you have only baselayout 1?
(If so, then probably much of the parallel thread is solving completely
different problem)
Problem is, I wasn't watching the emerge, so I'm not sure what did happen. 
It would appear that some package, probably LVM, has gotten out of sync 
with another critical package.


I'm just not sure how to get things back in sync again


You could try booting the life CD, mount anything like it should and
chroot to the installation. Then you can check out versions of
baselayout and the LVM packages and the too now one downgrade (or
upgrade the too old one, but it probably means getting into
baselayout-2, if you want it).

I hope it helps.



Ok, I don't think I really want to deal with baselayout 2 unless i 
really have to, does anyone know what version of LVM is safe to regress 
to so I can get access to data again?


I will upgrade to baselayout 2 eventually, but I really have to have 
this operational this week

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Dirk Heinrichs

ext Matt Harrison schrieb:

Ok, I don't think I really want to deal with baselayout 2 unless i 
really have to, does anyone know what version of LVM is safe to regress 
to so I can get access to data again?


I will upgrade to baselayout 2 eventually, but I really have to have 
this operational this week


There is no eventually. You have OpenRC, you need BL2.

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: OpenPGP digital signature


Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Dirk Heinrichs wrote:

ext Matt Harrison schrieb:

Ok, I don't think I really want to deal with baselayout 2 unless i 
really have to, does anyone know what version of LVM is safe to 
regress to so I can get access to data again?


I will upgrade to baselayout 2 eventually, but I really have to have 
this operational this week


There is no eventually. You have OpenRC, you need BL2.

Bye...

Dirk


hmm ok. I'll mount up on livecd and emerge bl2. with any luck this will 
sort me out :)


Thanks for the help all
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] confusing emerge output

2008-04-23 Thread Allan Gottlieb
At Wed, 23 Apr 2008 09:33:05 +0200 Alan McKinnon [EMAIL PROTECTED] wrote:

 On Wednesday 23 April 2008, Allan Gottlieb wrote:
  # emerge --verbose --ask --deep --update --newuse --tree world

 gives just a few packages with dev-java/rhino the last one (first to
 be merged).

 But

   # emerge --oneshot --ask rhino

 Gives a bunch of packages with rhino the last one (last to build).

 Could someone explain?

 snip

 [ebuild  N]  dev-java/rhino-1.5.5-r4  USE=doc -source 1,506 kB

 snip

 [ebuild  N] dev-java/rhino-1.6.5  USE=doc -examples -source

 See the difference? One is v1.5 the other is v1.6. The explanation is in 
 the full output of what rhino is and the openoffice ebuild:

 [EMAIL PROTECTED] ~ $ eix rhino
 * dev-java/rhino
  Available versions:
 (1.5)   1.5.5-r4
 (1.6)   1.6.5
 {doc elibc_FreeBSD examples source}
  Homepage:http://www.mozilla.org/rhino/
  Description: An open-source implementation of JavaScript 
 written in Java.

 From openoffice-2.4.0.ebuild:
 COMMON_DEPEND=
 java? ( =dev-java/bsh-2.0_beta4
 =dev-java/xalan-2.7
 =dev-java/xalan-serializer-2.7
 =dev-java/xerces-2.7
 =dev-java/xml-commons-external-1.3*
 =dev-db/hsqldb-1.8.0.9
 =dev-java/rhino-1.5* )

 There are two SLOTs for rhino - 1.5 and 1.6

 OpenOffice explicitly DEPENDS on the 1.5 SLOT for rhino if you 
 have java in USE. You probably have that so a deep world emerge will 
 pull rhino-1.5* in.

 You don't currently have rhino installed so when you issue emerge 
 rhino, portage will check for the latest one and install it. It just 
 so happens that in this case, the latest is not the same SLOT that OOo 
 wants.

Crystal clear.  Thanks for the lucid and careful explanation.

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 12:14:02 +0100, Matt Harrison wrote:

 Problem is, I wasn't watching the emerge, so I'm not sure what did 
 happen.

If you can access the var filesystem from the live CD, you can read
emerge.log and see what you installed just before the problem hit.


-- 
Neil Bothwick

Any sufficiently advanced bug is indistinguishable from a feature.


signature.asc
Description: PGP signature


[gentoo-user] Re: [OT vmware] Networking Gentoo as guest on vista

2008-04-23 Thread reader
Etaoin Shrdlu [EMAIL PROTECTED] writes:

 On Tuesday 22 April 2008, 17:48, [EMAIL PROTECTED] wrote:


[...]

 Which version of vmware? Workstation of server? I assume server in the 
 following.

Your detailed explanation about bridged verses nat has answered my
questions in full.

I add this information to answer your questions:

Worstation 6.5

[...]

 What setting did you choose for guest networking when creating the 
 virtual machine? bridged or NAT?

I tried both but didn't really understand how NAT worked until I read
your detailed description.

My first try with bridged seems to have auto bridged to the wrong
device on the host (the ethernet adaptor instead of wireless
connection) and so the network I created using ifconfig and route
didn't work.

I see now that bridged is what I want and have insured that auto
bridging connects to the right connection on the host.

[...]

 Basically, NAT creates a private network . . . . . . . . . 
[...]

Thank for that thorough explanation.

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 12:22:25 +0100, Matt Harrison wrote:

 Ok, I don't think I really want to deal with baselayout 2 unless i 
 really have to, does anyone know what version of LVM is safe to regress 
 to so I can get access to data again?

You shouldn't need to change LVM versions, baselayout has nothing to do
with actually accessing the LVM data, it simply uses a slightly different
method of starting LVM. I last updated LVM two months ago but no changes
were needed when switching to baselayout2 recently beyond the adding of
the lvm init script to the boot runlevel, which the ebuild took care of.

% genlop lvm2
 * sys-fs/lvm2

[snip]
 Thu Feb  7 19:58:40 2008  sys-fs/lvm2-2.02.33
 Thu Feb 14 08:40:32 2008  sys-fs/lvm2-2.02.33-r1

% genlop baselayout
 * sys-apps/baselayout

[snip]
 Thu Jan 17 16:57:44 2008  sys-apps/baselayout-1.12.11.1
 Mon Mar 31 09:18:36 2008  sys-apps/baselayout-1.12.12
 Wed Apr 16 22:17:52 2008  sys-apps/baselayout-2.0.0

-- 
Neil Bothwick

Stupidity is NOT a handicap. You'll have to park elsewhere.


signature.asc
Description: PGP signature


Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Neil Bothwick wrote:

On Wed, 23 Apr 2008 12:14:02 +0100, Matt Harrison wrote:

Problem is, I wasn't watching the emerge, so I'm not sure what did 
happen.


If you can access the var filesystem from the live CD, you can read
emerge.log and see what you installed just before the problem hit.




The only thing I can see even remotely related to this that was upgraded 
is mdadm. the rest for the last month is just ruby and rails related stuff.


I've tried to upgrade to BL2, and found it is masked, along with 
openrc...so if those were masked..how did I end up with bits that rely 
on it, without unmasking them? strange.


I tried unmasking them and upgrading...but that just brings up a whole 
new series of problems, such as requiring that udev be removed, and thus 
I don't have access to /dev/hdi or /dev/hdk, so my raid now cannot start.


Looks like I've got no choice but to re-install, and never re-sync my 
portage ever again.


This is a silly problem that just doesn't make sense. The OpenRC 
migration guide doesn't describe anything that solves these problems.

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Neil Bothwick wrote:

On Wed, 23 Apr 2008 15:20:00 +0100, Matt Harrison wrote:

I've tried to upgrade to BL2, and found it is masked, along with 
openrc...so if those were masked..how did I end up with bits that rely 
on it, without unmasking them? strange.



Very strange. Baselayout-2 and openrc are both keyword masked and
shouldn't be installed on a stable system. Which bits of
testing/bl2/openrc have you ended up with?




I would appear that its part of lvm and/or mdadm...but I just don't 
know. Everything about BL2 is so hazy, its hard to tell. Basically I 
have a crapped up system and I have a presentation tomorrow :P


So I'm in the process of a partial over the top install. Once it's 
settled in, using the old portage tree that I know and love, I will be 
very wary about any upgrades...and I may just leave it as it is.


I don't see how BL2 has affected me, for as you say it's all masked.

Would be nice if a portage sync alerted me to the fact that the devil is 
now in control of the tree, and my system is likely to die at the 
slightest emerge.


I guess the old adage is true, if it ain't broke, don't fix it. So I 
won't be upgrading anything on my systems until this is a bit clearer.

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



Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 15:54:45 +0100, Matt Harrison wrote:

  Very strange. Baselayout-2 and openrc are both keyword masked and
  shouldn't be installed on a stable system. Which bits of
  testing/bl2/openrc have you ended up with?

 I would appear that its part of lvm and/or mdadm...but I just don't 
 know. Everything about BL2 is so hazy, its hard to tell. Basically I 
 have a crapped up system and I have a presentation tomorrow :P

Neither of those have anything to do with BL2 beyond init scripts that do
nothing but say don't run me under BL1. It sounds more like something
corrupted your LVM setup or metadata.


-- 
Neil Bothwick

Sex is better than logic. You can't prove it, but it is.


signature.asc
Description: PGP signature


[gentoo-user] net-setup package

2008-04-23 Thread Net Warrior
HI there guys.
I've already installed gentoo, and wanting to setup the ethernet , trying to
use net-setup seems not to be installed, which package do I nneed to install
in order to have this util?
It seems I missed something.

Thanks for your time and support.
Greets,


Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison

Neil Bothwick wrote:

On Wed, 23 Apr 2008 15:54:45 +0100, Matt Harrison wrote:


Very strange. Baselayout-2 and openrc are both keyword masked and
shouldn't be installed on a stable system. Which bits of
testing/bl2/openrc have you ended up with?


I would appear that its part of lvm and/or mdadm...but I just don't 
know. Everything about BL2 is so hazy, its hard to tell. Basically I 
have a crapped up system and I have a presentation tomorrow :P


Neither of those have anything to do with BL2 beyond init scripts that do
nothing but say don't run me under BL1. It sounds more like something
corrupted your LVM setup or metadata.




Well I would agree, except with my lvm working perfectly under the 
livecd, I just don't know what else to do.


I'm getting on well with the re-install, I've just got a kernel to 
compile and I hope i'll be back on track.


I would just keep booting from the livecd, except that it doesn't 
include iptables. Unless I get it reinstalled, its either data or 
network, but not both :P

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



[gentoo-user] Re: net-setup package

2008-04-23 Thread reader
Net Warrior [EMAIL PROTECTED] writes:

 HI there guys.
 I've already installed gentoo, and wanting to setup the ethernet , trying to
 use net-setup seems not to be installed, which package do I nneed to install
 in order to have this util?
 It seems I missed something.

 Thanks for your time and support.
 Greets,

The net-setup tool is on the install cd.  Not sure if its a separate
installable utility in portage.. but an `eix' search of the portage
database comes up empty.

The way I do is establish a network running the install image cd or
iso then transfer those settings to the actual install.

But if you've already moved to the fresh install you should be able to
setup the ethernet by hand with `ifconfig' and `route'.

Then put those setting into /etc/conf.d/net
/etc/conf.d/domainname
/etc/resolv.conf

For manual setup:
   (assuming eth0 is the device you are going to use)

ifconfig eth0 my.ip.address (in numeric notation like 192.168.0.2) up
route add default gw my.gateway.addr (in numeric notation)

(if /etc/resolv.conf does not already contain a nameserver to use)

   echo nameserver my.nameserver.address  /etc/resolv.conf

And finally, if all goes well.. complete the setup so that it starts
on bootup with rc-update
  
  rc-update add net.eth0 default  (to add it to the default run level)

See if that gets you going...

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



[gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Michael Higgins
I received a used laptop a week or so ago, wiped the tinker-toy OS
offered with it and proceeded to do the right thing. So far, I have got
a machine I can (manually) put to sleep and use on a wireless network.
So far, so good.

At home, I don't have a wireless AP, but a 50-ft. ethernet cable. When
I connect via wireless (at the office, say), then use my machine at
home, resolv.conf is toasted, where I use fixed IP and put my DNS
servers in there. DHCP is used everywhere else.

So, what overwrites it, when, how, and how to stop it? Is there a
definitive guide to the syntax of the various config files? Or, BETTER
YET, is there anyone who has a smoothly-functioning configuration to
switch between wireless DHCP and connected hard-wired net setups and
would like to share?

Cheers,

-- 
 |\  /||   |  ~ ~  
 | \/ ||---|  `|` ?
 ||ichael  |   |iggins\^ /
 michael.higgins[at]evolone[dot]org
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: net-setup package

2008-04-23 Thread Chris Brennan
The handbook tells you this as well.

On Wed, Apr 23, 2008 at 11:39 AM,  [EMAIL PROTECTED] wrote:

 Net Warrior [EMAIL PROTECTED] writes:

  HI there guys.
  I've already installed gentoo, and wanting to setup the ethernet , trying to
  use net-setup seems not to be installed, which package do I nneed to install
  in order to have this util?
  It seems I missed something.
 
  Thanks for your time and support.
  Greets,

 The net-setup tool is on the install cd.  Not sure if its a separate
 installable utility in portage.. but an `eix' search of the portage
 database comes up empty.

 The way I do is establish a network running the install image cd or
 iso then transfer those settings to the actual install.

 But if you've already moved to the fresh install you should be able to
 setup the ethernet by hand with `ifconfig' and `route'.

 Then put those setting into /etc/conf.d/net
/etc/conf.d/domainname
/etc/resolv.conf

 For manual setup:
   (assuming eth0 is the device you are going to use)

 ifconfig eth0 my.ip.address (in numeric notation like 192.168.0.2) up
 route add default gw my.gateway.addr (in numeric notation)

 (if /etc/resolv.conf does not already contain a nameserver to use)

   echo nameserver my.nameserver.address  /etc/resolv.conf

 And finally, if all goes well.. complete the setup so that it starts
 on bootup with rc-update

  rc-update add net.eth0 default  (to add it to the default run level)

 See if that gets you going...

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


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



Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Chris Brennan
add this to your /etc/conf.d/net



dns_servers_ESSID=( 192.168.0.1 192.168.0.2 )
dns_domain_ESSID=some.domain
dns_search_ESSID=search.this.domain search.that.domain

you can also swap-out ESSID for eth0/wlan0 respectivly if they settings differ.

This way, when you start the rspective device, /etc/resolv.conf will
get the right settings.

C-

On Wed, Apr 23, 2008 at 12:07 PM, Michael Higgins [EMAIL PROTECTED] wrote:
 I received a used laptop a week or so ago, wiped the tinker-toy OS
 offered with it and proceeded to do the right thing. So far, I have got
 a machine I can (manually) put to sleep and use on a wireless network.
 So far, so good.

 At home, I don't have a wireless AP, but a 50-ft. ethernet cable. When
 I connect via wireless (at the office, say), then use my machine at
 home, resolv.conf is toasted, where I use fixed IP and put my DNS
 servers in there. DHCP is used everywhere else.

 So, what overwrites it, when, how, and how to stop it? Is there a
 definitive guide to the syntax of the various config files? Or, BETTER
 YET, is there anyone who has a smoothly-functioning configuration to
 switch between wireless DHCP and connected hard-wired net setups and
 would like to share?

 Cheers,

 --
  |\  /||   |  ~ ~
  | \/ ||---|  `|` ?
  ||ichael  |   |iggins\^ /
  michael.higgins[at]evolone[dot]org
 --
 gentoo-user@lists.gentoo.org mailing list


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



Re: [gentoo-user] Re: net-setup package

2008-04-23 Thread Net Warrior
Yes, I did it manually as stated in the handbook, I'll take a look if I can
copy net-setup from the install CD.

Thank you very much.


2008/4/23, [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Net Warrior [EMAIL PROTECTED] writes:

  HI there guys.
  I've already installed gentoo, and wanting to setup the ethernet ,
 trying to
  use net-setup seems not to be installed, which package do I nneed to
 install
  in order to have this util?
  It seems I missed something.
 
  Thanks for your time and support.
  Greets,


 The net-setup tool is on the install cd.  Not sure if its a separate
 installable utility in portage.. but an `eix' search of the portage
 database comes up empty.

 The way I do is establish a network running the install image cd or
 iso then transfer those settings to the actual install.

 But if you've already moved to the fresh install you should be able to
 setup the ethernet by hand with `ifconfig' and `route'.

 Then put those setting into /etc/conf.d/net
 /etc/conf.d/domainname
 /etc/resolv.conf

 For manual setup:
(assuming eth0 is the device you are going to use)

 ifconfig eth0 my.ip.address (in numeric notation like 192.168.0.2) up
 route add default gw my.gateway.addr (in numeric notation)

 (if /etc/resolv.conf does not already contain a nameserver to use)

echo nameserver my.nameserver.address  /etc/resolv.conf

 And finally, if all goes well.. complete the setup so that it starts
 on bootup with rc-update

   rc-update add net.eth0 default  (to add it to the default run level)

 See if that gets you going...


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




[gentoo-user] root password on 2008.1-i686 minimal install

2008-04-23 Thread reader
I'm unable to log in as root on the installer OS  for 2008.1_beta iso.

I see nothing telling me what the root password is but the installer
prompts me for a username and password.   When logging in as root
fails I'm eventually logged in as user `gentoo' but can do none of the
things necessary to create an install.

This seem pretty ridiculous so I'm pretty sure I'm missing some note
or something.

Starting the install with or without framebuffer appears to make no
difference in the end result.

I get a sorry little xfce desktop with no way to get to a root
terminal.

How can I ditch the sorry little desktop and use text mode and get
logged in with the necessary root premissions?

There is a `help' option on the boot screen but when I select it I get
a very fast scroll thru a massive file then jumps back to login
screen.  Absolutely useless for any help.

This install is inside a vmware as guest so maybe some of this works
better in a normal install... I hope so.

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



[gentoo-user] Non-interactive bash help?

2008-04-23 Thread Benjamin Leggett
Alright guys, I'm a beginner in need of a little shell help.

What I want to do is make fbrun (the run dialog for fluxbox) aware of
my bashrc. Upon perusing the source, I found that fbrun execs the given
string with $SHELL if set, otherwise /bin/sh is used. My $SHELL is set
to bash so fbrun runs the command with a non-interactive bash shell
(the -c option.)

Checking the bash manpage, I found that bash apparently checks the
environment variable $BASH_ENV for an rc file if it's run with the -c
option. I sure that I should probably know this, but where should I set
this variable? I considered dropping something in /etc/env.d, but that
didn't work, and I don't know if that's the right way to do it.

Any help appreciated,

Ben Leggett


-- 
When in doubt, parenthesize.  At the very least it will let some
poor schmuck bounce on the % key in vi.
 -- Larry Wall in the perl man page


signature.asc
Description: PGP signature


RE: [gentoo-user] root password on 2008.1-i686 minimal install

2008-04-23 Thread Prado, Renato (R.)
Switch to another VTTY (Ctrl+Atl+F1 for instance), 'passwd', specify the
desired password, switch to Xorg again (Ctrl+Alt+F7 if I am not wrong), 'su'
and that's it.

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: quarta-feira, 23 de abril de 2008 13:50
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] root password on 2008.1-i686 minimal install

I'm unable to log in as root on the installer OS  for 2008.1_beta iso.

I see nothing telling me what the root password is but the installer
prompts me for a username and password.   When logging in as root
fails I'm eventually logged in as user `gentoo' but can do none of the
things necessary to create an install.

This seem pretty ridiculous so I'm pretty sure I'm missing some note
or something.

Starting the install with or without framebuffer appears to make no
difference in the end result.

I get a sorry little xfce desktop with no way to get to a root
terminal.

How can I ditch the sorry little desktop and use text mode and get
logged in with the necessary root premissions?

There is a `help' option on the boot screen but when I select it I get
a very fast scroll thru a massive file then jumps back to login
screen.  Absolutely useless for any help.

This install is inside a vmware as guest so maybe some of this works
better in a normal install... I hope so.

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



Re: [gentoo-user] root password on 2008.1-i686 minimal install

2008-04-23 Thread Chris Brennan
I haven't used 2008.1b1 yet so forgive me if I am a little off.

By default, 200X.X would give you a prompt whereby you type passwd
and set the root password to a known value.



On Wed, Apr 23, 2008 at 12:49 PM,  [EMAIL PROTECTED] wrote:
 I'm unable to log in as root on the installer OS  for 2008.1_beta iso.

 I see nothing telling me what the root password is but the installer
 prompts me for a username and password.   When logging in as root
 fails I'm eventually logged in as user `gentoo' but can do none of the
 things necessary to create an install.

 This seem pretty ridiculous so I'm pretty sure I'm missing some note
 or something.

 Starting the install with or without framebuffer appears to make no
 difference in the end result.

 I get a sorry little xfce desktop with no way to get to a root
 terminal.

 How can I ditch the sorry little desktop and use text mode and get
 logged in with the necessary root premissions?

 There is a `help' option on the boot screen but when I select it I get
 a very fast scroll thru a massive file then jumps back to login
 screen.  Absolutely useless for any help.

 This install is inside a vmware as guest so maybe some of this works
 better in a normal install... I hope so.

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


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



Re: [gentoo-user] Non-interactive bash help?

2008-04-23 Thread Albert Hopkins
On Wed, 2008-04-23 at 12:58 -0400, Benjamin Leggett wrote:
 Alright guys, I'm a beginner in need of a little shell help.
 
 What I want to do is make fbrun (the run dialog for fluxbox) aware of
 my bashrc. Upon perusing the source, I found that fbrun execs the
 given
 string with $SHELL if set, otherwise /bin/sh is used. My $SHELL is set
 to bash so fbrun runs the command with a non-interactive bash shell
 (the -c option.)
 
 Checking the bash manpage, I found that bash apparently checks the
 environment variable $BASH_ENV for an rc file if it's run with the -c
 option. I sure that I should probably know this, but where should I
 set
 this variable? I considered dropping something in /etc/env.d, but that
 didn't work, and I don't know if that's the right way to do it.
 
 Any help appreciated,

I guess my question would be why do you (think you) want to run
your .bashrc?  That's really designed for setting up interactive stuff.



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



Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Mike Edenfield

Michael Higgins wrote:


So, what overwrites it, when, how, and how to stop it? Is there a
definitive guide to the syntax of the various config files? Or, BETTER
YET, is there anyone who has a smoothly-functioning configuration to
switch between wireless DHCP and connected hard-wired net setups and
would like to share?


It's being overwritten by your DHCP client, which is the expected 
behavior.  As long as your setup is such that your wireless card always 
uses DHCP, and your wired card never uses DHCP, you can configure the 
Gentoo networking script to do the right thing depending on which 
interface you're starting up.


In your /etc/conf.d/net setup, add variables for:

config_eth0 = ( w.x.y.z/nn )
dns_servers_eth0 = ( w.x.y.z, w.x.y.z )
dns_domain_eth0 = my.domain

This will work as long as you manually stop and start the interfaces 
when you switch adapters.  The net.eth0 startup script will write out a 
new resolv.conf, etc.


--Mike

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



Re: [gentoo-user] root password on 2008.1-i686 minimal install

2008-04-23 Thread deface
the root pass is scrambled. but it appears you failed to follow the  
instructions posted at http://www.gentoo.org/doc/en/index.xml?catid=install

If you have network, use the minimal cd.


On Apr 23, 2008, at 11:49 AM, [EMAIL PROTECTED] wrote:


I'm unable to log in as root on the installer OS  for 2008.1_beta iso.

I see nothing telling me what the root password is but the installer
prompts me for a username and password.   When logging in as root
fails I'm eventually logged in as user `gentoo' but can do none of the
things necessary to create an install.

This seem pretty ridiculous so I'm pretty sure I'm missing some note
or something.

Starting the install with or without framebuffer appears to make no
difference in the end result.

I get a sorry little xfce desktop with no way to get to a root
terminal.

How can I ditch the sorry little desktop and use text mode and get
logged in with the necessary root premissions?

There is a `help' option on the boot screen but when I select it I get
a very fast scroll thru a massive file then jumps back to login
screen.  Absolutely useless for any help.

This install is inside a vmware as guest so maybe some of this works
better in a normal install... I hope so.

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



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



Re: [gentoo-user] Non-interactive bash help?

2008-04-23 Thread Benjamin Leggett
On Wed, 23 Apr 2008 12:01:24 -0500
Albert Hopkins [EMAIL PROTECTED] wrote:

 On Wed, 2008-04-23 at 12:58 -0400, Benjamin Leggett wrote:
  Alright guys, I'm a beginner in need of a little shell help.
  
  What I want to do is make fbrun (the run dialog for fluxbox) aware
  of my bashrc. Upon perusing the source, I found that fbrun execs the
  given
  string with $SHELL if set, otherwise /bin/sh is used. My $SHELL is
  set to bash so fbrun runs the command with a non-interactive bash
  shell (the -c option.)
  
  Checking the bash manpage, I found that bash apparently checks the
  environment variable $BASH_ENV for an rc file if it's run with the
  -c option. I sure that I should probably know this, but where
  should I set
  this variable? I considered dropping something in /etc/env.d, but
  that didn't work, and I don't know if that's the right way to do it.
  
  Any help appreciated,
 
 I guess my question would be why do you (think you) want to run
 your .bashrc?  That's really designed for setting up interactive
 stuff.
 

Well, I'd like to have fbrun use my aliases.
e.g., running foo instead of foo --bar --baz=noo



signature.asc
Description: PGP signature


Re: [gentoo-user] root password on 2008.1-i686 minimal install

2008-04-23 Thread deface
Hit Send too quick. The 'installer' is frowned upon on the actual  
'gentoo' scene. it lacks alot of customization that you can gain from  
doing it cli style. check out gentoo-install.com for a quick skinny  
guide.



On Apr 23, 2008, at 11:49 AM, [EMAIL PROTECTED] wrote:


I'm unable to log in as root on the installer OS  for 2008.1_beta iso.

I see nothing telling me what the root password is but the installer
prompts me for a username and password.   When logging in as root
fails I'm eventually logged in as user `gentoo' but can do none of the
things necessary to create an install.

This seem pretty ridiculous so I'm pretty sure I'm missing some note
or something.

Starting the install with or without framebuffer appears to make no
difference in the end result.

I get a sorry little xfce desktop with no way to get to a root
terminal.

How can I ditch the sorry little desktop and use text mode and get
logged in with the necessary root premissions?

There is a `help' option on the boot screen but when I select it I get
a very fast scroll thru a massive file then jumps back to login
screen.  Absolutely useless for any help.

This install is inside a vmware as guest so maybe some of this works
better in a normal install... I hope so.

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



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



Re: [gentoo-user] Re: net-setup package

2008-04-23 Thread Net Warrior
Yes, I could set up my ethernet manually :), just wondering if the
setup-eth0 utils was a part of a packages I missed to install, cuz after
loging in to the new installed system could not find it, but, is not matter
of death and life :)

Gentoo seems to be ( my humble opinion  withing my first 24 usage hours ) a
very robust system, I come from a freebsd land, and so, in my need to use a
linux distro ( tried ubuntu, a mess ) gentoo has all I have in freebsd, the
portage is what I like most, the way to be up to date with ports ans system,
emerge does a good job, like portsnap/pkg_tools does for freebsd.

The only think I found, how can I say, weird, is the installation, the need
to do all the stuff by hand, just a basic install like bsd does ( 100 MB )
and then install the rest fro  the network, would be nice, I'm too lazy to
do paritioning/swap/choot :)

I'll needto go deeper with the FLAGS features, still do not understand some
things, I have things by default by the moment, eventhough it's a powerfull
feature, I know that I can screw it up the howle system.

Anyway, I'm almost done, I'm still compiling my stuff, and I'm happy the way
it does things, great job.

Thank you for your time and support.


2008/4/23, Chris Brennan [EMAIL PROTECTED]:

 did you symlink net.lo to net.YOUR_ETH_DEVICE ?

 did you add said new symlink to the boot/default runtime?


 C-


 On Wed, Apr 23, 2008 at 12:39 PM, Net Warrior [EMAIL PROTECTED]
 wrote:
  Yes, I did it manually as stated in the handbook, I'll take a look if I
 can
  copy net-setup from the install CD.
 
  Thank you very much.
 
 
  2008/4/23, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 
   Net Warrior [EMAIL PROTECTED] writes:
  
HI there guys.
I've already installed gentoo, and wanting to setup the ethernet ,
  trying to
use net-setup seems not to be installed, which package do I nneed to
  install
in order to have this util?
It seems I missed something.
   
Thanks for your time and support.
Greets,
  
  
   The net-setup tool is on the install cd.  Not sure if its a separate
   installable utility in portage.. but an `eix' search of the portage
   database comes up empty.
  
   The way I do is establish a network running the install image cd or
   iso then transfer those settings to the actual install.
  
   But if you've already moved to the fresh install you should be able to
   setup the ethernet by hand with `ifconfig' and `route'.
  
   Then put those setting into /etc/conf.d/net
   /etc/conf.d/domainname
   /etc/resolv.conf
  
   For manual setup:
  (assuming eth0 is the device you are going to use)
  
   ifconfig eth0 my.ip.address (in numeric notation like 192.168.0.2) up
   route add default gw my.gateway.addr (in numeric notation)
  
   (if /etc/resolv.conf does not already contain a nameserver to use)
  
  echo nameserver my.nameserver.address  /etc/resolv.conf
  
   And finally, if all goes well.. complete the setup so that it starts
   on bootup with rc-update
  
 rc-update add net.eth0 default  (to add it to the default run level)
  
   See if that gets you going...
  
  
   --
   gentoo-user@lists.gentoo.org mailing list
  
  
 
 

 --

 gentoo-user@lists.gentoo.org mailing list




Re: [gentoo-user] Re: net-setup package

2008-04-23 Thread Chris Brennan
three place to keep in mind, they will be your best friend when in doubt


www.gentoo.org/doc
forums.gentoo.org
gentoo-wiki.com

These are a good first stop :D

Anyway, happy gentooing D

On Wed, Apr 23, 2008 at 1:32 PM, Net Warrior [EMAIL PROTECTED] wrote:
 Yes, I could set up my ethernet manually :), just wondering if the
 setup-eth0 utils was a part of a packages I missed to install, cuz after
 loging in to the new installed system could not find it, but, is not matter
 of death and life :)

 Gentoo seems to be ( my humble opinion  withing my first 24 usage hours ) a
 very robust system, I come from a freebsd land, and so, in my need to use a
 linux distro ( tried ubuntu, a mess ) gentoo has all I have in freebsd, the
 portage is what I like most, the way to be up to date with ports ans system,
 emerge does a good job, like portsnap/pkg_tools does for freebsd.

 The only think I found, how can I say, weird, is the installation, the need
 to do all the stuff by hand, just a basic install like bsd does ( 100 MB )
 and then install the rest fro  the network, would be nice, I'm too lazy to
 do paritioning/swap/choot :)

 I'll needto go deeper with the FLAGS features, still do not understand some
 things, I have things by default by the moment, eventhough it's a powerfull
 feature, I know that I can screw it up the howle system.

 Anyway, I'm almost done, I'm still compiling my stuff, and I'm happy the way
 it does things, great job.

 Thank you for your time and support.


 2008/4/23, Chris Brennan [EMAIL PROTECTED]:

  did you symlink net.lo to net.YOUR_ETH_DEVICE ?
 
  did you add said new symlink to the boot/default runtime?
 
 
  C-
 
 
  On Wed, Apr 23, 2008 at 12:39 PM, Net Warrior [EMAIL PROTECTED]
 wrote:
   Yes, I did it manually as stated in the handbook, I'll take a look if I
 can
   copy net-setup from the install CD.
  
   Thank you very much.
  
  
   2008/4/23, [EMAIL PROTECTED] [EMAIL PROTECTED]:
  
Net Warrior [EMAIL PROTECTED] writes:
   
 HI there guys.
 I've already installed gentoo, and wanting to setup the ethernet ,
   trying to
 use net-setup seems not to be installed, which package do I nneed to
   install
 in order to have this util?
 It seems I missed something.

 Thanks for your time and support.
 Greets,
   
   
The net-setup tool is on the install cd.  Not sure if its a separate
installable utility in portage.. but an `eix' search of the portage
database comes up empty.
   
The way I do is establish a network running the install image cd or
iso then transfer those settings to the actual install.
   
But if you've already moved to the fresh install you should be able to
setup the ethernet by hand with `ifconfig' and `route'.
   
Then put those setting into /etc/conf.d/net
/etc/conf.d/domainname
/etc/resolv.conf
   
For manual setup:
   (assuming eth0 is the device you are going to use)
   
ifconfig eth0 my.ip.address (in numeric notation like 192.168.0.2) up
route add default gw my.gateway.addr (in numeric notation)
   
(if /etc/resolv.conf does not already contain a nameserver to use)
   
   echo nameserver my.nameserver.address  /etc/resolv.conf
   
And finally, if all goes well.. complete the setup so that it starts
on bootup with rc-update
   
  rc-update add net.eth0 default  (to add it to the default run level)
   
See if that gets you going...
   
   
--
gentoo-user@lists.gentoo.org mailing list
   
   
  
  
 
  --
 
  gentoo-user@lists.gentoo.org mailing list
 
 


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



[gentoo-user] kolab questions

2008-04-23 Thread James
Hello,


I just found this page:

http://www.gentoo.org/proj/en/kolab/

Groupware is the general category. My questions are:

Has anyone installed this and if so how do you like it?


Would one run a traditionally sendmail/postfix server and
then serve mail/data to the this Kolab groupware server?
Being able to serve mail/data to a variety of client PC
would be great.


I'm not too familiar with groupware, but I've been asked to 
build a website/system for lots of coaches, kids and others to
use related to a particular sport. Maybe Kolab would be a good
communications/email system for them?


Comments and ideas are welcome.


James

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



Re: [gentoo-user] Re: net-setup package

2008-04-23 Thread Philip Webb
080423 Net Warrior wrote:
 Gentoo seems to be (my first 24 hours) a very robust system

Yes, it is very reliable  this list is usually helpful.

 tried ubuntu, a mess 

That was my own reaction on the  1  occasion I tried it (smile).

 I come from a freebsd land and gentoo has all I have in freebsd,
 portage is what I like most, the way to be upto date with ports,
 emerge does a good job, like portsnap/pkg_tools does for freebsd.

IIRC Gentoo was based on FreeBSD, though it has developed a lot since.

 The only thing I found weird is the installation,
 the need to do all the stuff by hand,
 just a basic install like bsd does ( 100 MB )
 and then install the rest fro  the network would be nice,
 I'm too lazy to do paritioning/swap/choot

Think of it as like joining the Freemasons:
the trial-by-fire of installing Gentoo keeps out the unfit (grin).
I made  5 pp  of notes when installing on my newly-built box 2007-10-xx ,
but now everything is working even better than after my 1st install 2003 .

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



Re: [gentoo-user] OT: Question re: UUID

2008-04-23 Thread Mark Knecht
On Wed, Apr 23, 2008 at 12:40 AM, Alan McKinnon [EMAIL PROTECTED] wrote:

 On Tuesday 22 April 2008, Mick wrote:
   On Monday 21 April 2008, Mark Knecht wrote:
On Mon, Apr 21, 2008 at 2:22 PM, Neil Bothwick [EMAIL PROTECTED]
  wrote:
 On Mon, 21 Apr 2008 17:41:58 +0200, Dirk Heinrichs wrote:
   The other possible way would be to give your devices unique
   names, either via udev or by using LVM. Advantage over UUIDs:
   much easier to read.

  Or you could use filesystem labels.
   
I've used filesystem labels for a long time and generally it works
really well. Only problem I've had is my Dad's machine has a Maxtor
1-touch 1394 drive. It seems that often it doesn't get recognized
by the 1394 subsystem fast enough to satisfy whatever requirements
the Gentoo scripts have for the label being readable so it doesn't
reliably get recognized every time.
  
   I have thought about using labels, but never really ventured into it
   (I think I tried it once on a server).  Can I do it retrospectively
   on ext2, reiserfs and xfs, or is it going to erase the contents of
   the partition?

  No, it's safe. The various file system tools have a *label* or *tune*
  tool to add a label to the fs metadata. Then simply update fstab.

  The fun starts in finding the tool for your filesystems. ext2/3 is
  easy - it's e2label. ReiserFS is a little more obscure :-) Finding this
  amazing Reiser tool is left as an exercise for the reader (i.e. I can
  never remember what it is myself and am too damn lazy to go and look
  right now)

  Personally, I prefer labels over other disk id methods. I get to choose
  the label myself and can ensure they are unique in my world (but maybe
  not in the universe like UUIDs are). If I have to mkfs a volume from
  scratch for some reason, it's easier for me to to re-use the same label
  than to re-use or copy-paste those long UUID strings

  --
  Alan McKinnon
  alan dot mckinnon at gmail dot com


I like labels also. I've had a couple of cases where I've taken a
drive out of an old system but kept the drive around. Later I put the
drive in a 1394 drive case.I checked the drive label and immediately
knew it was a drive with ripped music, sessions I've recorded in
Ardour, etc. Labels are human readable and I tend to make them quite
descriptive.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] kolab questions

2008-04-23 Thread Uwe Thiem
On Wednesday 23 April 2008, James wrote:
 Hello,


 I just found this page:

 http://www.gentoo.org/proj/en/kolab/

 Groupware is the general category. My questions are:

 Has anyone installed this and if so how do you like it?


Lng time ago. ;-)


 Would one run a traditionally sendmail/postfix server and
 then serve mail/data to the this Kolab groupware server?
 Being able to serve mail/data to a variety of client PC
 would be great.

Kolab is a full replacement for Outlook/Exchange based on IMAP and 
LDAP. Unfortunately, it can be a real bitch to set up. Once it works, 
it keeps working.

If you want Outlook to use all features like shared calendaring and 
such, you need a commercial plugin for each client. :-(

See also:
http://www.kolab.org/

Follow the link for kolab-client.

Disclaimer: My experience with it is very outdated. Things may have 
changed meanwhile.

Another not-so-far-away path to groupware in mixed environments: KDE 
4.1 (June/July 2008) will be released for Linux and other UNIX-like 
OSS systems *and* OSX and Windows. By the time it is released, 
install kmail/kontact on *all* clients regardless of the operating 
system, enable Groupware and voila - you have got it. Just a couple 
of months away. ;-)

Uwe 

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 23, 2008 at 09:07:29AM -0700, Michael Higgins wrote:
 So, what overwrites it, when, how, and how to stop it? Is there a
 definitive guide to the syntax of the various config files? Or, BETTER
 YET, is there anyone who has a smoothly-functioning configuration to
 switch between wireless DHCP and connected hard-wired net setups and
 would like to share?

I didn't like the way Gentoo handled network (wifi OK, but ethernet with
different locations was a pain somehow), so I wrote a little perl thing
I use as a network manager.

However, I think noone who did not read and understand its code is able
to use it to anything, since it has no documentation and completely
non-intuitive control.

You can find it here http://vorner.pretel.cz/en/netprofile.html, if you
feel brave enough. If anyone is interested, I can answer questions about
it off-list (not to scare others).

-- 
I left the ssh key under the doormat

Michal 'vorner' Vaner


pgpd102xAQmUD.pgp
Description: PGP signature


Re: [gentoo-user] OT: Question re: UUID

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Mark Knecht wrote:
 On Wed, Apr 23, 2008 at 12:40 AM, Alan McKinnon 

   Personally, I prefer labels over other disk id methods. I get to
  choose the label myself and can ensure they are unique in my world
  (but maybe not in the universe like UUIDs are). If I have to mkfs a
  volume from scratch for some reason, it's easier for me to to
  re-use the same label than to re-use or copy-paste those long UUID
  strings

 I like labels also. I've had a couple of cases where I've taken a
 drive out of an old system but kept the drive around. Later I put the
 drive in a 1394 drive case.I checked the drive label and immediately
 knew it was a drive with ripped music, sessions I've recorded in
 Ardour, etc. Labels are human readable and I tend to make them quite
 descriptive.

Just to expand a bit: UUIDs are guaranteed to be unique in the whole 
world, that's why distro installers use them - you can issue guarantees 
that the installer will get it right.

LABELs have no such guarantee and installers need the user to be clued 
up enough to pick decent ones. As we all know, average users often 
aren't up to that. The majority of Ubuntu's target market (just to pick 
a random example) certainly aren't. 

So the installer is between a rock and a hard place - use the method 
guaranteed to work today, but is not really human-readable, or use a 
lesser method with a few caveats (like a trained user). It's the old 
story all over again - use the one that works best for you as long as 
you know enough to be able to decide 

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Michael Higgins
On Wed, 23 Apr 2008 13:03:55 -0400
Mike Edenfield [EMAIL PROTECTED] wrote:

 Michael Higgins wrote:
 
  So, what overwrites it, when, how, and how to stop it? Is there a
  definitive guide to the syntax of the various config files? Or,
  BETTER YET, is there anyone who has a smoothly-functioning
  configuration to switch between wireless DHCP and connected
  hard-wired net setups and would like to share?
 

Thanks to all for your replies. I think I've got it now!

-- 
 |\  /||   |  ~ ~  
 | \/ ||---|  `|` ?
 ||ichael  |   |iggins\^ /
 michael.higgins[at]evolone[dot]org
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] kolab questions

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, James wrote:
 Hello,


 I just found this page:

 http://www.gentoo.org/proj/en/kolab/

 Groupware is the general category. My questions are:

 Has anyone installed this and if so how do you like it?

It sucks. It sucks so much I dare not describe how and why for fear of 
falling afoul of libel laws.

Impi tried to use it. Impi is a South African Ubuntu derivative owned by 
Canonical intended to be sold to governments and large corporates. 
Kolab is infested with super-secret proprietary stuff that is anything 
but free software, all due to the way the German government structured 
the Kolab tender process. Apparently it only really works with KMail.

If you are really interested in Kolab, I would advise you to do a proof 
of concept trial run for real and make up your own mind.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] Re: root password on 2008.1-i686 minimal install

2008-04-23 Thread reader
Chris Brennan [EMAIL PROTECTED] writes:

 I haven't used 2008.1b1 yet so forgive me if I am a little off.

 By default, 200X.X would give you a prompt whereby you type passwd
 and set the root password to a known value.

Not on the installer iso for i686 2008.1
But I think another poster has posted the answer 

From Renato P:
 Switch to another VTTY (Ctrl+Atl+F1 for instance), 'passwd', specify
 the desired password, switch to Xorg again (Ctrl+Alt+F7 if I am not
 wrong), 'su' and that's it.

I haven't actually tried it, I just went to the installer for x86
2008.1 which doesn't have that problem.

But let me apologize and say I see now what I did wrong.  What I was
calling an installer for i686-2008.1beta was actually the liveCD which
is different.  The installer for x86 2008.1 has not such problem and I
suspect the installer for i686-2008.1 doesn't either.

Far as the live cd goes:
It still needs to be made clear how to get to root right in the dialog
during startup not on some webpage.

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



Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Michael Higgins wrote:
 I received a used laptop a week or so ago, wiped the tinker-toy OS
 offered with it and proceeded to do the right thing. So far, I have
 got a machine I can (manually) put to sleep and use on a wireless
 network. So far, so good.

 At home, I don't have a wireless AP, but a 50-ft. ethernet cable.
 When I connect via wireless (at the office, say), then use my machine
 at home, resolv.conf is toasted, where I use fixed IP and put my DNS
 servers in there. DHCP is used everywhere else.

 So, what overwrites it, when, how, and how to stop it? Is there a
 definitive guide to the syntax of the various config files? Or,
 BETTER YET, is there anyone who has a smoothly-functioning
 configuration to switch between wireless DHCP and connected
 hard-wired net setups and would like to share?

Aaaah, the old obliterate-your-resolv.conf file problem :-)

It is possible to tell dhcp servers to not present a resolv.conf file to 
all (or specific) clients.

However, I always found this to be a major pain in the arse. My 
solution: don't use static ip's at home, set up a dhcp server with a 
permanent lease for your machine, then have it download the resolv.conf 
that you really do want at home.

Other locations might by broken but at least you know you are guaranteed 
to get what you want when at home


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] screen locks too frequently

2008-04-23 Thread John P. Burkett
Since doing emerge -D -uav system and emerge -D -uav world last 
Saturday, I have noticed that my x86 machine locks itself up whenever 
the keyboard and mouse are idle for about 10 minutes. Unlocking it is 
simply a matter of typing the user's password. However, the frequency 
with which I have to unlock the system is annoying. I would like to 
either deactivate the locking system or increase the period of 
inactivity allowed before the system locks.  Unfortunately, I don't know 
whether the locking is done by gentoo, x11, fluxbox, or some other 
component of my system.  My only clue is the appearance of the locked 
screen: In the center of the screen there is a rectangle, within which 
appear, from top to bottom, the user's name, the machine's name, a blank 
for the user's password, and finally three buttons labeled switch 
user, cancel, and unlock.  I would be very grateful for suggestions 
about how to discover what program is locking the system and how to 
change its behavior.


--
John P. Burkett
Department of Environmental and Natural Resource Economics
and Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] screen locks too frequently

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, John P. Burkett wrote:
 Since doing emerge -D -uav system and emerge -D -uav world last
 Saturday, I have noticed that my x86 machine locks itself up whenever
 the keyboard and mouse are idle for about 10 minutes. Unlocking it is
 simply a matter of typing the user's password. However, the frequency
 with which I have to unlock the system is annoying. I would like to
 either deactivate the locking system or increase the period of
 inactivity allowed before the system locks.  Unfortunately, I don't
 know whether the locking is done by gentoo, x11, fluxbox, or some
 other component of my system.  My only clue is the appearance of the
 locked screen: In the center of the screen there is a rectangle,
 within which appear, from top to bottom, the user's name, the
 machine's name, a blank for the user's password, and finally three
 buttons labeled switch user, cancel, and unlock.  I would be
 very grateful for suggestions about how to discover what program is
 locking the system and how to change its behavior.

I get something like this every so often with e17. Very annoying. A good 
start would be to find out what launched the password dialog. When it 
next happens, switch to a virtual console (Ctrl-Alt-F1) and log in as 
root. Run 'ps axf' and identify the offending process. It's 
likely 'gksudo' or such. The name of it's parent tells you where to 
start looking next


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] Error while compiling python

2008-04-23 Thread Net Warrior
Hi guys, does anywone know what could this be?
I'm intalling xfce4 port

cc1: out of memory allocating 4194304 bytes after a total of 3883008 bytes
make[2]: *** [_gtk_la-gtk.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/dev-python/pygtk-2.12.0/work/pygtk-2.12.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-python/pygtk-2.12.0/work/pygtk-2.12.0'
make: *** [all] Error 2
 *
 * ERROR: dev-python/pygtk-2.12.0 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2509:  Called die
 * The specific snippet of code:
 *   emake -j1 || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.


Thanks for your time..


Re: [gentoo-user] confusing emerge output

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Allan Gottlieb wrote:
  You don't currently have rhino installed so when you issue emerge
  rhino, portage will check for the latest one and install it. It
  just so happens that in this case, the latest is not the same SLOT
  that OOo wants.

 Crystal clear.  Thanks for the lucid and careful explanation.

You're very welcome - emerge output can be ... um ... less than obvious 
at times.

I figure that the three years of blood, sweat and tears I spent figuring 
it out isn't worth very much if it all stays in my head and never gets 
out. I'm also building up karma credits for the hundreds of questions 
I'll be unleashing on the paludis user community one fine day very 
soon :-)

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Error while compiling python

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Net Warrior wrote:
 Hi guys, does anywone know what could this be?
 I'm intalling xfce4 port

You cut off the useful stuff just before the error message - like what 
was being compiled at the time.

Could you report with at least 20 lines prior to this?



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Error while compiling python

2008-04-23 Thread Dirk Heinrichs
Am Mittwoch, 23. April 2008 schrieb Net Warrior:
 Hi guys, does anywone know what could this be?
 I'm intalling xfce4 port

 cc1: out of memory allocating 4194304 bytes after a total of 3883008 bytes

Doesn't this tell it all?

Bye...

Dirk


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


Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Matt Harrison wrote:
 On a side not, I'm not sure if this could the problem:

 I've got one disk on one of my pairs failed. There's a replacement
 disk arriving tomorrow, but the stripe (thats built out of 3 mirrored
 pairs) won't start on its own, I have to manually rebuild the array
 after boot.

 This shouldn't stop it detecting lvm partitions manually should it?

In my experience, no. As long as raid can present a consistent block 
device, lvm does what it should. RAID is designed to do that in a 
mirror configuration.


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Error while compiling python

2008-04-23 Thread Net Warrior
I think I found the problem, let me check it out first.. sorry for the
noise.
Tell you latter if I could solve it..

Thanks you very much..

2008/4/23, Alan McKinnon [EMAIL PROTECTED]:

 On Wednesday 23 April 2008, Net Warrior wrote:
  Hi guys, does anywone know what could this be?
  I'm intalling xfce4 port


 You cut off the useful stuff just before the error message - like what
 was being compiled at the time.

 Could you report with at least 20 lines prior to this?



 --
 Alan McKinnon
 alan dot mckinnon at gmail dot com


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




Re: [gentoo-user] Error while compiling python

2008-04-23 Thread Net Warrior
Hi.

My laptop has not too much memory,  but wat it worst I did not realize that
swap was not activated ?¿.
Well, the problem seems to be resolved after activating swap.

Thanks, sorry for the noise, my appologies..


2008/4/23, Dirk Heinrichs [EMAIL PROTECTED]:

 Am Mittwoch, 23. April 2008 schrieb Net Warrior:

  Hi guys, does anywone know what could this be?
  I'm intalling xfce4 port
 
  cc1: out of memory allocating 4194304 bytes after a total of 3883008
 bytes


 Doesn't this tell it all?

 Bye...


 Dirk




Re: [gentoo-user] Error while compiling python

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Dirk Heinrichs wrote:
 Am Mittwoch, 23. April 2008 schrieb Net Warrior:
  Hi guys, does anywone know what could this be?
  I'm intalling xfce4 port
 
  cc1: out of memory allocating 4194304 bytes after a total of
  3883008 bytes

 Doesn't this tell it all?


Silly me, I read the OP's post wrong. out of somehow got parsed 
as error in my head

Net Warrior, you can ignore my other request for more info. Seems like 
you need more memory or to free some used memory up

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] OT: Question re: UUID

2008-04-23 Thread Mick
On Wednesday 23 April 2008, Mark Knecht wrote:

 Yep. I use e2label. Works fine with ext2 and ext3 partitions. One
 command to read the label, another to write it. Easy.

So, mkreiserfs --label My_Home /dev/hda5 will not wipe out my partition, 
right?  I don't want to cause unnecessary harm to my machine . . .

-- 
Regards,
Mick


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


[gentoo-user] /etc/conf.d/net woes with baselayout2

2008-04-23 Thread Alan McKinnon
Hi all,

Does baselayout-2 use /etc/conf.d/net? It seems not from this:

[EMAIL PROTECTED] ~ $ sudo /etc/init.d/net.wlan0 restart
 * Bringing up interface wlan0
 *   Configuring wireless network for wlan0
 *   Scanning for access points
 * Found tania at 00:60:B3:30:8D:AB, managed, encrypted
 * Found belkin54g at 00:30:BD:99:D3:8B, managed
 *   Connecting to tania in managed mode (WEP enabled - open) ... 
  
[ ok ]
 * wlan0 connected to SSID tania at **
 * in managed mode (WEP enabled - open)
 *   No configuration specified; defaulting to DHCP
 *   dhcp ...
 * Running dhcpcd ...   
  
[ ok ]
 * received address 10.0.0.3/24 
  
[ ok ]

Note the no configuration specified. However:

[EMAIL PROTECTED] ~ $ egrep -v '^#|^$' /etc/conf.d/net
iface_eth0=dhcp
iface_wlan0=dhcp
dhcpcd_eth0=
dhcpcd_wlan0=
modules=( iwconfig )

Has the location of the net init scripts changed?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] OT: Question re: UUID

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Mick wrote:
 On Wednesday 23 April 2008, Mark Knecht wrote:
  Yep. I use e2label. Works fine with ext2 and ext3 partitions. One
  command to read the label, another to write it. Easy.

 So, mkreiserfs --label My_Home /dev/hda5 will not wipe out my
 partition, right?  I don't want to cause unnecessary harm to my
 machine . . .

mkreiserfs will in all likely-hood wipe out the file system on that 
partition, as it's job is to make filesystems. The label is a nice 
side-effect that it can do while making an fs

You want reiserfstune

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] OT: Question re: UUID

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 08:25:11 +0100, Mick wrote:

 So, mkreiserfs --label My_Home /dev/hda5 will not wipe out my
 partition, right?  I don't want to cause unnecessary harm to my
 machine . . .

Of course it will wipe the partition, that's what mkreiserfs does. The
--label option simply adds a label to your freshly wiped partition :(

To alter an existing filesystem, use reiserfstune.


-- 
Neil Bothwick

Grow your own dope, plant a politician!


signature.asc
Description: PGP signature


Re: [gentoo-user] /etc/conf.d/net woes with baselayout2

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 23:38:30 +0200, Alan McKinnon wrote:

 Does baselayout-2 use /etc/conf.d/net? It seems not from this:

Yes, and with no changes needed here apart from the removal of Bash
arrays.

 [EMAIL PROTECTED] ~ $ sudo /etc/init.d/net.wlan0 restart
  * Bringing up interface wlan0
  *   Configuring wireless network for wlan0
  *   Scanning for access points
  * Found tania at 00:60:B3:30:8D:AB, managed, encrypted
  * Found belkin54g at 00:30:BD:99:D3:8B, managed
  *   Connecting to tania in managed mode (WEP enabled -
 open) ... [ ok ]
  * wlan0 connected to SSID tania at **
  * in managed mode (WEP enabled - open)
  *   No configuration specified; defaulting to DHCP
  *   dhcp ...
  * Running
 dhcpcd ... [ ok ]
  * received address
 10.0.0.3/24 [ ok ]
 
 Note the no configuration specified. However:
 
 [EMAIL PROTECTED] ~ $ egrep -v '^#|^$' /etc/conf.d/net
 iface_eth0=dhcp
 iface_wlan0=dhcp

Those should be config_xxx=dhcp

 modules=( iwconfig )

And this should now be modules=iwconfig, although I inadvertently left
a couple of Bash arrays in mine and it still worked (and I think iwconfig
is the default for wireless anyway).

 Has the location of the net init scripts changed?

Not unless you count an earlier baselayout2 ebuild sometimes deleting 
/etc/conf.d/net when it shouldn't :(


-- 
Neil Bothwick

Programming just with goto's is like swatting flies with a sledgehammer.


signature.asc
Description: PGP signature


Re: [gentoo-user] OT: Question re: UUID

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 23:07:02 +0100, Neil Bothwick wrote:

  So, mkreiserfs --label My_Home /dev/hda5 will not wipe out my
  partition, right?  I don't want to cause unnecessary harm to my
  machine . . .  
 
 Of course it will wipe the partition, that's what mkreiserfs does.

Reading that back, it seems a little brusque (a polite word for arsey).
Sorry if anyone else took it that way, it wasn't intended.


-- 
Neil Bothwick

OS/2 = Half an Operating System


signature.asc
Description: PGP signature


[gentoo-user] Re: kolab questions

2008-04-23 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


  http://www.gentoo.org/proj/en/kolab/

 It sucks. 


OK, I think I going to wait on what Uwe suggested with KDE...


thanks,


James



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



[gentoo-user] somebody using x11-drm?

2008-04-23 Thread Sven Köhler

Hi,

is somebody using the package x11-base/x11-drm for intel's integrated 
graphics?
I'd like to see the output of dmesg |grep -i drm to see, of i actually 
have some advanatge of using it.


With the kernel's own 2.6.25, my dmesg|grep -i drm says:
Apr 23 17:43:08 bert kernel: [drm] Initialized drm 1.1.0 20060810
Apr 23 17:43:08 bert kernel: [drm] Initialized i915 1.6.0 20060119 on 
minor 0





signature.asc
Description: OpenPGP digital signature


[gentoo-user] Help with mounting an ISO file as non-root

2008-04-23 Thread Mike Mazur
Hi,

I'd like to mount an ISO image from the command line as non-root user.
Here are my attempts, each failing with the only root can do that
error message:

$ mount -o loop image.iso /mnt/
mount: only root can do that
$ mount -o user,loop image.iso /mnt/
mount: only root can do that
$ mount -o users,loop image.iso /mnt/
mount: only root can do that
$ mount -o user -o loop image.iso /mnt/
mount: only root can do that
$ mount -o users -o loop image.iso /mnt/
mount: only root can do that

I keep reading about how the mount and umount commands need the suid
bit set, which it already is:

$ ll /bin/mount /bin/umount
-rws--x--x 1 root root 51480 2008-04-10 14:11 /bin/mount
-rws--x--x 1 root root 34584 2008-04-10 14:11 /bin/umount

Furthermore, adding the following line to my /etc/fstab allows me to
mount the image as non-root:

/path/to/image.iso   /mnt/  udf,iso9660 user,loop   0 0

However, this is not an option for me as I work with different
images/mount points all the time.

What can I do to be able to mount an arbitrary ISO image to an
arbitrary mount point from the command line as non-root user?

Thanks!
Mike
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Help with mounting an ISO file as non-root

2008-04-23 Thread Norberto Bensa

Quoting Mike Mazur [EMAIL PROTECTED]:



What can I do to be able to mount an arbitrary ISO image to an
arbitrary mount point from the command line as non-root user?


fuse-iso ?



This message was sent using IMP, the Internet Messaging Program.


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



Re: [gentoo-user] Help with mounting an ISO file as non-root

2008-04-23 Thread Mike Mazur
Hi Norberto,

On Thu, Apr 24, 2008 at 11:22 AM, Norberto Bensa [EMAIL PROTECTED] wrote:
  What can I do to be able to mount an arbitrary ISO image to an
  arbitrary mount point from the command line as non-root user?

  fuse-iso ?

While fuse-iso would certainly do this for me, I was hoping it's
possible with the mount command directly.

The reason for this is that this mounting/unmounting is also in some
automated tests which will find their way onto machines of others who
may not have fuse-iso configured. Currently we simply require the
tests to be run as root. I won't be adding another dependency just to
get around this.

Thanks though,
Mike
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Help with mounting an ISO file as non-root

2008-04-23 Thread Roy Wright
Take a look at:

http://gentoo-wiki.com/TIP_Mounting_Iso_Files

HTH,
Roy
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] somebody using x11-drm?

2008-04-23 Thread Florian Philipp

On Thu, 2008-04-24 at 03:40 +0200, Sven Köhler wrote:
 Hi,
 
 is somebody using the package x11-base/x11-drm for intel's integrated 
 graphics?
 I'd like to see the output of dmesg |grep -i drm to see, of i actually 
 have some advanatge of using it.
 
 With the kernel's own 2.6.25, my dmesg|grep -i drm says:
 Apr 23 17:43:08 bert kernel: [drm] Initialized drm 1.1.0 20060810
 Apr 23 17:43:08 bert kernel: [drm] Initialized i915 1.6.0 20060119 on 
 minor 0
 
 

Yep, I'm using it (and the kernel module) and I get the same output of
dmesg | grep drm

If I remember correctly, only =x11-base/x11-drm-20071019 worked for me
(at least there was a reason for me to put it
in /etc/portage/package.keywords)




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


Re: [gentoo-user] Help with mounting an ISO file as non-root

2008-04-23 Thread Dirk Heinrichs

ext Mike Mazur schrieb:


While fuse-iso would certainly do this for me, I was hoping it's
possible with the mount command directly.


sudo mount ...

HTH...

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: OpenPGP digital signature