Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Dale
meino.cra...@gmx.de wrote:
 Joseph syscon...@gmail.com [15-01-31 18:12]:
 After recent upgrade my computer doesn't want to boot.  I did not do 
 anything with grub or kernel.
 I get a bios flash and next is message:

 Loading operating system ...
 GRUB loading stage2

 and computer goes back reboot cycle, flash bios and the same massage is 
 displayed.
 What went wrong during update?

 -- 
 Joseph

 Hi Joseph,

 may be only a accidental coincidence...
 One thing I can think of is an empty bios coin cell.

 If this is not the cause, check whether the stage2 grub
 got deleted.

 Good luck!

 Best regards,
 Meino



OP, if it were me, I'd chroot in, re-emerge grub, reinstall grub to the
drive and then try to reboot.  It doesn't seem to me that it is the OS
itself or the kernel since it doesn't seem to get that far either.  It's
either a BIOS or a grub issue.  I'm thinking along the same lines of
Meino myself.  Since chrooting in is a bit of a pain, I'd cover the
whole field while in it. 

Don't forget, you can use the -K option to install from binaries if you
save them.  That may save a little bit of time. 

Hope that helps.

Dale

:-)  :-) 




[gentoo-user] Computer does not boot

2015-01-31 Thread Joseph

After recent upgrade my computer doesn't want to boot.  I did not do anything 
with grub or kernel.
I get a bios flash and next is message:

Loading operating system ...
GRUB loading stage2

and computer goes back reboot cycle, flash bios and the same massage is 
displayed.
What went wrong during update?

--
Joseph



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Meino . Cramer
Joseph syscon...@gmail.com [15-01-31 18:12]:
 After recent upgrade my computer doesn't want to boot.  I did not do 
 anything with grub or kernel.
 I get a bios flash and next is message:
 
 Loading operating system ...
 GRUB loading stage2
 
 and computer goes back reboot cycle, flash bios and the same massage is 
 displayed.
 What went wrong during update?
 
 -- 
 Joseph
 

Hi Joseph,

may be only a accidental coincidence...
One thing I can think of is an empty bios coin cell.

If this is not the cause, check whether the stage2 grub
got deleted.

Good luck!

Best regards,
Meino





Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Joseph

On 01/31/15 11:59, Dale wrote:

meino.cra...@gmx.de wrote:

Joseph syscon...@gmail.com [15-01-31 18:12]:

After recent upgrade my computer doesn't want to boot.  I did not do
anything with grub or kernel.
I get a bios flash and next is message:

Loading operating system ...
GRUB loading stage2

and computer goes back reboot cycle, flash bios and the same massage is
displayed.
What went wrong during update?

--
Joseph


Hi Joseph,

may be only a accidental coincidence...
One thing I can think of is an empty bios coin cell.


What is an empty BIOS coin cell?




If this is not the cause, check whether the stage2 grub
got deleted.


How do I check if stage2 grub was deleted?
Thanks for your help


OP, if it were me, I'd chroot in, re-emerge grub, reinstall grub to the
drive and then try to reboot.  It doesn't seem to me that it is the OS
itself or the kernel since it doesn't seem to get that far either.  It's
either a BIOS or a grub issue.  I'm thinking along the same lines of
Meino myself.  Since chrooting in is a bit of a pain, I'd cover the
whole field while in it.

Don't forget, you can use the -K option to install from binaries if you
save them.  That may save a little bit of time.

Hope that helps.


I boot strap from a CD and /boot and grup.conf looks normal the way I install 
it.

...
title Gentoo Current Kernel
root (hd0,0)
kernel /boot/kernel-current root=/dev/sda3 vga=normal

--
Joseph



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Dale
Joseph wrote:
 On 01/31/15 11:59, Dale wrote:
 meino.cra...@gmx.de wrote:
 Joseph syscon...@gmail.com [15-01-31 18:12]:
 After recent upgrade my computer doesn't want to boot.  I did not do
 anything with grub or kernel.
 I get a bios flash and next is message:

 Loading operating system ...
 GRUB loading stage2

 and computer goes back reboot cycle, flash bios and the same
 massage is
 displayed.
 What went wrong during update?

 -- 
 Joseph

 Hi Joseph,

 may be only a accidental coincidence...
 One thing I can think of is an empty bios coin cell.

 What is an empty BIOS coin cell?

Basically, the battery on the mobo.  Some countries call them cells and
since it is about the size of a coin . . . . .





 If this is not the cause, check whether the stage2 grub
 got deleted.

 How do I check if stage2 grub was deleted?
 Thanks for your help


Try this command and yours should look something like this:

root@fireball / # ls -al /boot/grub/stage*
-rw-r--r-- 1 root root512 Jun  2  2012 /boot/grub/stage1
-rw-r--r-- 1 root root 128116 Jun  2  2012 /boot/grub/stage2
-rw-r--r-- 1 root root 128116 Jun  2  2012 /boot/grub/stage2_eltorito
-rw-r--r-- 1 root root 128116 Jun  2  2012 /boot/grub/stage2.old
root@fireball / #  




 OP, if it were me, I'd chroot in, re-emerge grub, reinstall grub to the
 drive and then try to reboot.  It doesn't seem to me that it is the OS
 itself or the kernel since it doesn't seem to get that far either.  It's
 either a BIOS or a grub issue.  I'm thinking along the same lines of
 Meino myself.  Since chrooting in is a bit of a pain, I'd cover the
 whole field while in it.

 Don't forget, you can use the -K option to install from binaries if you
 save them.  That may save a little bit of time.

 Hope that helps.

 I boot strap from a CD and /boot and grup.conf looks normal the way I
 install it.

 ...
 title Gentoo Current Kernel
 root (hd0,0)
 kernel /boot/kernel-current root=/dev/sda3 vga=normal


Interesting.  

Dale

:-) :-) 




Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Meino . Cramer
Joseph syscon...@gmail.com [15-01-31 19:32]:
 On 01/31/15 11:59, Dale wrote:
 meino.cra...@gmx.de wrote:
 Joseph syscon...@gmail.com [15-01-31 18:12]:
 After recent upgrade my computer doesn't want to boot.  I did not do
 anything with grub or kernel.
 I get a bios flash and next is message:
 
 Loading operating system ...
 GRUB loading stage2
 
 and computer goes back reboot cycle, flash bios and the same massage 
 is
 displayed.
 What went wrong during update?
 
 --
 Joseph
 
 Hi Joseph,
 
 may be only a accidental coincidence...
 One thing I can think of is an empty bios coin cell.
 
 What is an empty BIOS coin cell?
 
 
 
 If this is not the cause, check whether the stage2 grub
 got deleted.
 
 How do I check if stage2 grub was deleted?
 Thanks for your help
 
 OP, if it were me, I'd chroot in, re-emerge grub, reinstall grub to 
 the
 drive and then try to reboot.  It doesn't seem to me that it is the OS
 itself or the kernel since it doesn't seem to get that far either.  
 It's
 either a BIOS or a grub issue.  I'm thinking along the same lines of
 Meino myself.  Since chrooting in is a bit of a pain, I'd cover the
 whole field while in it.
 
 Don't forget, you can use the -K option to install from binaries if 
 you
 save them.  That may save a little bit of time.
 
 Hope that helps.
 
 I boot strap from a CD and /boot and grup.conf looks normal the way I 
 install it.
 
 ...
 title Gentoo Current Kernel
 root (hd0,0)
 kernel /boot/kernel-current root=/dev/sda3 vga=normal
 
 -- 
 Joseph
 

Hi,

(please read this completly before doing anything)

on the motherboard of your PC there is a Real Time Clock (RTC), which
keeps time and date correct while your PC is turned off. This RTC
needs power...only a little bit but more then nothing. For that there
is a battery holder (oh damn, I fear, this term is german English...
;) on the motherboard, which can easily be identified, because it
is about of the size of two Euro coin and an silvery coin is 
in there (visible from the outside). The similarity of the shape 
of a coin and and a coin cell gave the latter its name.

BUT!
Dont pull that out before you got a new one!
Most often these cells are lithium batteries, which name starts
with CR.. . On my motherboard there is a CR2032. But this
should be mentioned in the manual of your mitherboard (and if that
get lost you will find a pdf of that on the net somewhere).

If you got a new cell, shutdown the computer, remove the mains plug
from the back and switch the PC on again (no joke). This will empty
any capacitor in the mains adapter and on the board.

Touch the metal case of the PC (or if it is plastic touch the outer
shell of an USB jack (**NOT** the inside), where you can easily reach
it (in most cases on the back of the PC instead of the front).
This will discharge any static electricity. Otherwise grub and the
coin cell become a minor problem... ;)

Check the manual how to remove the BIOS coin cell. Do it carefully but
do it not excessive slow.
Insert the new battery (remove it from the package before you remove
the old cell) as described in the manual.

If you are quick enough chance are given that all settings of the BIOS
will survive the short no-power situation.

Boot the PC again. If you didnt configure ntp for your PC and the
time/date of the PC didn't survive the short power fail of the coin cell swap,
set the date by hand, emerge net-misc/ntp, configure it and run it by
hand to set time/date correctly.

If the PC does not boot: Install grub as Dale mentioned. A missing
stage2 bootloader may be the reason, why grub hangs while looking for
it. If the problem went away after installing grub (and with it a new
stage2 bootlaoder) the missing stage2 bootloader is the first
candidate for being the reason of the problem.

Good luck!
Best regards,
Meino















Re: [gentoo-user][SOLVED] Computer does not boot

2015-01-31 Thread Joseph

On 01/31/15 19:54, meino.cra...@gmx.de wrote:

Joseph syscon...@gmail.com [15-01-31 19:32]:

On 01/31/15 11:59, Dale wrote:
meino.cra...@gmx.de wrote:
Joseph syscon...@gmail.com [15-01-31 18:12]:
After recent upgrade my computer doesn't want to boot.  I did not do
anything with grub or kernel.
I get a bios flash and next is message:

Loading operating system ...
GRUB loading stage2

and computer goes back reboot cycle, flash bios and the same massage
is
displayed.
What went wrong during update?

--
Joseph

Hi Joseph,

may be only a accidental coincidence...
One thing I can think of is an empty bios coin cell.

What is an empty BIOS coin cell?



If this is not the cause, check whether the stage2 grub
got deleted.

How do I check if stage2 grub was deleted?
Thanks for your help

OP, if it were me, I'd chroot in, re-emerge grub, reinstall grub to
the
drive and then try to reboot.  It doesn't seem to me that it is the OS
itself or the kernel since it doesn't seem to get that far either.
It's
either a BIOS or a grub issue.  I'm thinking along the same lines of
Meino myself.  Since chrooting in is a bit of a pain, I'd cover the
whole field while in it.

Don't forget, you can use the -K option to install from binaries if
you
save them.  That may save a little bit of time.

Hope that helps.

I boot strap from a CD and /boot and grup.conf looks normal the way I
install it.

...
title Gentoo Current Kernel
root (hd0,0)
kernel /boot/kernel-current root=/dev/sda3 vga=normal

--
Joseph



Hi,

(please read this completly before doing anything)

on the motherboard of your PC there is a Real Time Clock (RTC), which
keeps time and date correct while your PC is turned off. This RTC
needs power...only a little bit but more then nothing. For that there
is a battery holder (oh damn, I fear, this term is german English...
;) on the motherboard, which can easily be identified, because it
is about of the size of two Euro coin and an silvery coin is
in there (visible from the outside). The similarity of the shape
of a coin and and a coin cell gave the latter its name.

BUT!
Dont pull that out before you got a new one!
Most often these cells are lithium batteries, which name starts
with CR.. . On my motherboard there is a CR2032. But this
should be mentioned in the manual of your mitherboard (and if that
get lost you will find a pdf of that on the net somewhere).

If you got a new cell, shutdown the computer, remove the mains plug
from the back and switch the PC on again (no joke). This will empty
any capacitor in the mains adapter and on the board.

Touch the metal case of the PC (or if it is plastic touch the outer
shell of an USB jack (**NOT** the inside), where you can easily reach
it (in most cases on the back of the PC instead of the front).
This will discharge any static electricity. Otherwise grub and the
coin cell become a minor problem... ;)

Check the manual how to remove the BIOS coin cell. Do it carefully but
do it not excessive slow.
Insert the new battery (remove it from the package before you remove
the old cell) as described in the manual.

If you are quick enough chance are given that all settings of the BIOS
will survive the short no-power situation.

Boot the PC again. If you didnt configure ntp for your PC and the
time/date of the PC didn't survive the short power fail of the coin cell swap,
set the date by hand, emerge net-misc/ntp, configure it and run it by
hand to set time/date correctly.

If the PC does not boot: Install grub as Dale mentioned. A missing
stage2 bootloader may be the reason, why grub hangs while looking for
it. If the problem went away after installing grub (and with it a new
stage2 bootlaoder) the missing stage2 bootloader is the first
candidate for being the reason of the problem.

Good luck!
Best regards,
Meino


SOLVED.

I bootstrap from Gentoo CD and run grub-install in change-root.
It fixed the problem, but it make me wonder why grub flipped on me.  I run 
upgrade on three other boxes and everything went smooth.
When I run upgrade on my main working server something happen and I can not 
figure it out.

--
Joseph



Re: [gentoo-user][SOLVED] Computer does not boot

2015-01-31 Thread Neil Bothwick
On Sat, 31 Jan 2015 12:53:41 -0700, Joseph wrote:

 I bootstrap from Gentoo CD and run grub-install in change-root.
 It fixed the problem, but it make me wonder why grub flipped on me.  I
 run upgrade on three other boxes and everything went smooth. When I run
 upgrade on my main working server something happen and I can not figure
 it out.

Now you're back in you can use qlop (or genlop) to see exactly what was
updated, which may give a clue.


-- 
Neil Bothwick

Never sleep with anyone crazier than yourself.


pgp7Z8PYYQdAD.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: Updating Gentoo

2015-01-31 Thread Grant Edwards
On 2015-01-30, Jc García jyo.gar...@gmail.com wrote:

 DON'T unmerge python, remember emerge runs on python, you will likely
 be unable to use the package manager if you do that.

Been there, done that. :/

Wasted about a half-day recovering.

-- 
Grant






Re: [gentoo-user] Computer does not boot

2015-01-31 Thread J. Roeleveld
On 1 February 2015 05:41:36 CET, meino.cra...@gmx.de wrote:
J.  Roeleveld jo...@antarean.org [15-02-01 05:40]:
 On 31 January 2015 18:50:19 CET, meino.cra...@gmx.de wrote:
 Joseph syscon...@gmail.com [15-01-31 18:12]:
  After recent upgrade my computer doesn't want to boot.  I did not
do 
  anything with grub or kernel.
  I get a bios flash and next is message:
  
  Loading operating system ...
  GRUB loading stage2
  
  and computer goes back reboot cycle, flash bios and the same
massage
 is 
  displayed.
  What went wrong during update?
  
  -- 
  Joseph
  
 
 Hi Joseph,
 
 may be only a accidental coincidence...
 One thing I can think of is an empty bios coin cell.
 
 If that battery is flat, the bios will complain settings are gone.
 Why would that cause grub to fail?

Dont know the reason...I only experienced it several times...

That the battery went flat?
Same here.

That a flat battery caused the bootloader to fail?
Never. And I doubt that is even possible.
At worst you would need to reconfigure the harddrive and boot order each time. 
(If the mainboard and Bios is from the previous century.)

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] meld - GConf Error: Client failed to connect to the D-BUS

2015-01-31 Thread Alec Ten Harmsel

On 01/31/2015 05:29 PM, Joseph wrote:
 When I run meld as root I get a strange errors:



what happens when you don't run as root?


 GConf Error: Client failed to connect to the D-BUS daemon:

 Did not receive a reply. Possible causes include: the remote
 application did not send a reply, the message bus security policy
 blocked the reply, the
 reply timeout expired, or the network connection was broken.







do you have DBus installed/running? I've been doing a fair amount of
coding with the DBus API for bossman, but sadly I feel no wiser on the
various errors that it throws. The other things I can think of are:

* GConf isn't installed/running
* meld is looking for the session bus of your user, which is not
accessible when running as root (maybe??? Not 100% sure on how session
busses work...)

If you run systemd, DBus is definitely running and I would imagine this
would be a GConf error of some sort. If you're using OpenRC, check to
make sure you have dbus and gconf enabled and running.

Alec



Re: [gentoo-user] meld - GConf Error: Client failed to connect to the D-BUS

2015-01-31 Thread Adam Carter
On Sun, Feb 1, 2015 at 9:29 AM, Joseph syscon...@gmail.com wrote:

 When I run meld as root I get a strange errors:

 GConf Error: Client failed to connect to the D-BUS daemon:
 Did not receive a reply. Possible causes include: the remote application
 did not send a reply, the message bus security policy blocked the reply,
 the reply timeout expired, or the network connection was broken.


If you've su'd to root, try 'su -' instead.


Re: [gentoo-user] Computer does not boot

2015-01-31 Thread J. Roeleveld
On 31 January 2015 18:50:19 CET, meino.cra...@gmx.de wrote:
Joseph syscon...@gmail.com [15-01-31 18:12]:
 After recent upgrade my computer doesn't want to boot.  I did not do 
 anything with grub or kernel.
 I get a bios flash and next is message:
 
 Loading operating system ...
 GRUB loading stage2
 
 and computer goes back reboot cycle, flash bios and the same massage
is 
 displayed.
 What went wrong during update?
 
 -- 
 Joseph
 

Hi Joseph,

may be only a accidental coincidence...
One thing I can think of is an empty bios coin cell.

If that battery is flat, the bios will complain settings are gone.
Why would that cause grub to fail?

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Dale
Joseph wrote:
 On 01/31/15 23:42, Dale wrote:

 [snip]

 Hi Joseph,

 may be only a accidental coincidence...
 One thing I can think of is an empty bios coin cell.
 If that battery is flat, the bios will complain settings are gone.
 Why would that cause grub to fail?
 Dont know the reason...I only experienced it several times...

 Regards
 Meino



 I've had it happen to me once too.  In my case, the BIOS just went back
 to default settings.  The only real change was the loss of the clock
 setting but it didn't complain, it just booted.  After I replaced the
 battery, I went back and changed my settings to what I remembered them
 being.

 Since then, I change that battery every few years, while the system is
 running so that I don't lose any settings at all.  ;-)  Be careful.

 Dale

 Is there a way to backup bios setting to a text file etc.; beside
 special Windows utility?


Not that I know of.  Now that you mentioned it, give it time and they
will have that too.  lol 

Dale

:-)  :-) 



Re: [gentoo-user] Re: Updating Gentoo

2015-01-31 Thread symack
On Sat, Jan 31, 2015 at 4:38 PM, Grant Edwards grant.b.edwa...@gmail.com
wrote:

 On 2015-01-30, Jc García jyo.gar...@gmail.com wrote:

  DON'T unmerge python, remember emerge runs on python, you will likely
  be unable to use the package manager if you do that.

 Been there, done that. :/

 Wasted about a half-day recovering.

 --
 Grant




I'm no linux expert However, I sure spent a lot of time messing things
up and found myself having to fix them ;).

Linux users ARE smarter!

Nick.


[gentoo-user] meld - GConf Error: Client failed to connect to the D-BUS

2015-01-31 Thread Joseph

When I run meld as root I get a strange errors:

GConf Error: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the 
reply timeout expired, or the network connection was broken.


--
Joseph



Re: [gentoo-user][SOLVED] Computer does not boot

2015-01-31 Thread symack
It sounded like a grub - grub2 issue. After running grub-install you
probably fixed a broken fs referece ie / /boot etc...
Fresh gentoo installs with manual kernel builds always feel like a warm
sweater that just came out of the drier. Ah so clean :)


N.
​


Re: [gentoo-user] meld - GConf Error: Client failed to connect to the D-BUS

2015-01-31 Thread Joseph

On 02/01/15 11:06, Adam Carter wrote:

  On Sun, Feb 1, 2015 at 9:29 AM, Joseph [1]syscon...@gmail.com wrote:

When I run meld as root I get a strange errors:
GConf Error: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network
connection was broken.

  If you've su'd to root, try 'su -' instead.


Thank you, that was it?
What difference does it make and why on some boxes it has to be su - and on others 
simple su works.

--
Joseph



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Dale
meino.cra...@gmx.de wrote:
 J.  Roeleveld jo...@antarean.org [15-02-01 05:40]:
 On 31 January 2015 18:50:19 CET, meino.cra...@gmx.de wrote:
 Joseph syscon...@gmail.com [15-01-31 18:12]:
 After recent upgrade my computer doesn't want to boot.  I did not do 
 anything with grub or kernel.
 I get a bios flash and next is message:

 Loading operating system ...
 GRUB loading stage2

 and computer goes back reboot cycle, flash bios and the same massage
 is 
 displayed.
 What went wrong during update?

 -- 
 Joseph

 Hi Joseph,

 may be only a accidental coincidence...
 One thing I can think of is an empty bios coin cell.
 If that battery is flat, the bios will complain settings are gone.
 Why would that cause grub to fail?
 Dont know the reason...I only experienced it several times...

 Regards
 Meino



I've had it happen to me once too.  In my case, the BIOS just went back
to default settings.  The only real change was the loss of the clock
setting but it didn't complain, it just booted.  After I replaced the
battery, I went back and changed my settings to what I remembered them
being. 

Since then, I change that battery every few years, while the system is
running so that I don't lose any settings at all.  ;-)  Be careful. 

Dale

:-)  :-)



Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Joseph

On 01/31/15 23:42, Dale wrote:

[snip]



Hi Joseph,

may be only a accidental coincidence...
One thing I can think of is an empty bios coin cell.

If that battery is flat, the bios will complain settings are gone.
Why would that cause grub to fail?

Dont know the reason...I only experienced it several times...

Regards
Meino




I've had it happen to me once too.  In my case, the BIOS just went back
to default settings.  The only real change was the loss of the clock
setting but it didn't complain, it just booted.  After I replaced the
battery, I went back and changed my settings to what I remembered them
being.

Since then, I change that battery every few years, while the system is
running so that I don't lose any settings at all.  ;-)  Be careful.

Dale


Is there a way to backup bios setting to a text file etc.; beside special 
Windows utility?

--
Joseph



Re: [gentoo-user][SOLVED] Computer does not boot

2015-01-31 Thread Joseph

On 01/31/15 21:00, Neil Bothwick wrote:

On Sat, 31 Jan 2015 12:53:41 -0700, Joseph wrote:


I bootstrap from Gentoo CD and run grub-install in change-root.
It fixed the problem, but it make me wonder why grub flipped on me.  I
run upgrade on three other boxes and everything went smooth. When I run
upgrade on my main working server something happen and I can not figure
it out.


Now you're back in you can use qlop (or genlop) to see exactly what was
updated, which may give a clue.


--
Neil Bothwick

Never sleep with anyone crazier than yourself.


Thank your.
Indeed grub was updated to grub-0.97-r14

genlop --list --date 3 days ago |grep grub
Fri Jan 30 23:37:03 2015  sys-boot/grub-0.97-r14
Sat Jan 31 00:28:04 2015  sys-boot/grub-2.02_beta2-r3

Though all my other system were updated as well, and it didn't cause any 
problem, nor did I run grub-install on any of them.
So I don't think emerging/updating grub package would cause any problem unless one run 
grub-install

--
Joseph



Re: [gentoo-user] meld - GConf Error: Client failed to connect to the D-BUS

2015-01-31 Thread Adam Carter
   If you've su'd to root, try 'su -' instead.


 Thank you, that was it?
 What difference does it make and why on some boxes it has to be su - and
 on others simple su works.


Read 'man su'. I dont really understand this stuff well enough, but a
'login shell', that is, one started by /bin/login, is setup with a
different environment to a shell that's started by su (or by, say, cron).
This is why a shell command or script may work for you when you're logged
in, but not if you run it from cron. I'm sure other's can explain it more
correctly and fully.


Re: [gentoo-user] Computer does not boot

2015-01-31 Thread Meino . Cramer
J.  Roeleveld jo...@antarean.org [15-02-01 05:40]:
 On 31 January 2015 18:50:19 CET, meino.cra...@gmx.de wrote:
 Joseph syscon...@gmail.com [15-01-31 18:12]:
  After recent upgrade my computer doesn't want to boot.  I did not do 
  anything with grub or kernel.
  I get a bios flash and next is message:
  
  Loading operating system ...
  GRUB loading stage2
  
  and computer goes back reboot cycle, flash bios and the same massage
 is 
  displayed.
  What went wrong during update?
  
  -- 
  Joseph
  
 
 Hi Joseph,
 
 may be only a accidental coincidence...
 One thing I can think of is an empty bios coin cell.
 
 If that battery is flat, the bios will complain settings are gone.
 Why would that cause grub to fail?

Dont know the reason...I only experienced it several times...

Regards
Meino


 
 --
 Joost
 
 -- 
 Sent from my Android device with K-9 Mail. Please excuse my brevity.
 



Re: [gentoo-user] Ghost cyber threat

2015-01-31 Thread shawn wilson
On Jan 31, 2015 11:57 PM, Adam Carter adamcart...@gmail.com wrote:


  Do they need telnet or ssh access,


Not telnet shell but this could be triggered with telnet/nc or even nmap,
hping, or tcpreplay - all of which could send an arbitrary payload to tcp
or udp ports.

 I don't understand this obsession with ssh or telnet. Remote code
 execution means that malicious party can execute any code on
 affected system.


 To elaborate, since exim is an SMTP server it will be listening on
TCP/25. All the attacker needs to do is run an SMTP command that will
prompt exim to perform a lookup on a very long FQDN. The first command an
SMTP client issues to an SMTP server is 'HELO some FQDN'. Exim can be
configured to check if that the FQDN is valid, as a way of trying to
distinguish spammers from valid mail servers. So here we have a situation
where a security control happens to make the server less secure, and we
have all that's required for exploitation in a nice package.

Afaik, all remote attacks pretty much work the same. The example I'm sure
most of us have seen is with http (especially since shellshock - right? -
if not look up an example). You send a command to the server and then do
something it isn't expecting. You can also see this all the time with php
apps and options to do stuff in the app that wasn't intended. Half the time
http stuff is base64 encoded - that's fine since the server natively
decodes that.

So here you have an api call that does something unexpected - IIRC it was a
bounds issue. So once you figure out what the problem is, you look for apps
that make the call in a way that could trigger the bug. Then you compile
the program with debug symbols, step through it and try to trigger your
exploit. After you get it working there locally you figure out how to to
get that same bit of code to fire with that same malformed bit remotely.
You keep in mind that if you're going at something at the tcp level, the
packet still needs to be routed or broadcasted, and if you're going at
something at the application layer (most remote code is here) you need to
conform to the protocol until you're ready to trigger your evil bit (ie,
you generally want to say hi to someone before you go into an explanation
of how messed up they are - right?). Most services will end the connection
or just sit there erroring until some timeout or whatever unless you start
with their hi or a proper command. After that, have fun - you're on
someone else's system - whether you do something evil or not, their system
is processing what you sent -- is the whole point of everything else I
wrote and something worth remembering. Think of a shell as a REPL
(Wikipedia) and every other protocol as an interpreter waiting to execute
whatever you give it (or error out as most unfinished programs do).

As for this, there's multiple places an email server *might* want to verify
different positions of a domain. In the hello line, From, domainkey, etc.
If that vulnerable part of exim code is executed trying to check something
and you give it some evil bits (0s with 3 or less dots (.)), you might own
a free server.

HTH


[gentoo-user] IPAM: phpipam ?

2015-01-31 Thread Stefan G. Weichinger

What do you gentoo-users prefer for doing IPAM ... ?

Learned about http://phpipam.net today ... no gentoo ebuild yet.

opinions? recommendations?

Stefan



Re: [gentoo-user] meld - GConf Error: Client failed to connect to the D-BUS

2015-01-31 Thread Joseph

On 01/31/15 17:57, Alec Ten Harmsel wrote:


On 01/31/2015 05:29 PM, Joseph wrote:

When I run meld as root I get a strange errors:




what happens when you don't run as root?



GConf Error: Client failed to connect to the D-BUS daemon:

Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security policy
blocked the reply, the
reply timeout expired, or the network connection was broken.



do you have DBus installed/running? I've been doing a fair amount of
coding with the DBus API for bossman, but sadly I feel no wiser on the
various errors that it throws. The other things I can think of are:

* GConf isn't installed/running
* meld is looking for the session bus of your user, which is not
accessible when running as root (maybe??? Not 100% sure on how session
busses work...)

If you run systemd, DBus is definitely running and I would imagine this
would be a GConf error of some sort. If you're using OpenRC, check to
make sure you have dbus and gconf enabled and running.


dbus status show it is running. I don't have gconf. I'm using Xfce and OpenRC

--
Joseph



Re: [gentoo-user] Ghost cyber threat

2015-01-31 Thread Adam Carter
  Do they need telnet or ssh access,

 I don't understand this obsession with ssh or telnet. Remote code
 execution means that malicious party can execute any code on
 affected system.


To elaborate, since exim is an SMTP server it will be listening on TCP/25.
All the attacker needs to do is run an SMTP command that will prompt exim
to perform a lookup on a very long FQDN. The first command an SMTP client
issues to an SMTP server is 'HELO some FQDN'. Exim can be configured to
check if that the FQDN is valid, as a way of trying to distinguish spammers
from valid mail servers. So here we have a situation where a security
control happens to make the server less secure, and we have all that's
required for exploitation in a nice package.


Re: [gentoo-user] Computer does not boot

2015-01-31 Thread wabenbau
Am Samstag, 31.01.2015 um 22:59
schrieb Joseph syscon...@gmail.com:

 Is there a way to backup bios setting to a text file etc.; beside
 special Windows utility?

At least none of my mainboards has such a feature. You could search in
your mainboard manual about that.

Another way to save your BIOS settings is to make a photo from every
BIOS page with a camera or phone. But don't forget to scroll through
the pages if they do not fit entirely on the screen.

It should not take more than a few minutes to restore the BIOS settings
with the help of these photos.

Regards
wabe



Re: [gentoo-user] grub - gummiboot: good

2015-01-31 Thread Mick
On Wednesday 28 Jan 2015 18:54:17 Tom H wrote:
 On Tue, Jan 27, 2015 at 5:31 PM, Mick michaelkintz...@gmail.com wrote:
  ... and if you have no need for multi-booting then the kernel efi stub is
  very simple to configure and still works reliably (with openrc and no
  initrd here). No need to install a separate boot manager.
 
 It's not just multi-booting that might need a boot manager or a boot
 loader.
 
 Using efibootmgr is OK but you then have to go to the firmware in
 order to choose to boot in single-user mode or with a non-default
 kernel.

Yes, you need to drop into EFI shell to pass options to the kernel; e.g.

 fs0: bzImage.efi console=ttyS0 root=/dev/sda4

but for regular booting (which is 99.99% of the time for me) the EFI stub 
works fine so far.  Undoubtedly, gummiboot, rEFInd and friends add much more 
flexibility and should be preferred when the user needs them.

-- 
Regards,
Mick


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


Re: [gentoo-user] Rkhunter now showing Warnings for two files: /bin/egrep fgrep

2015-01-31 Thread Mick
On Monday 26 Jan 2015 22:53:53 Neil Bothwick wrote:
 On Mon, 26 Jan 2015 11:27:05 -0500, Alec Ten Harmsel wrote:
# grep Warning /var/log/rkhunter.log
   
   [03:10:32] Info: Emailing warnings to 'root' using command
   '/bin/mail
   
   -s [rkhunter] Warnings found for ${HOST_NAME}'
   
   [03:10:45]   /bin/egrep
   [ Warning ] [03:10:45] Warning: The command '/bin/egrep' has been
   replaced by a
   
   script: /bin/egrep: POSIX shell script, ASCII text executable
   
   [03:10:45]   /bin/fgrep
   [ Warning ] [03:10:45] Warning: The command '/bin/fgrep' has been
   replaced by a
   
   script: /bin/fgrep: POSIX shell script, ASCII text executable
   
   Anyone know if this is due to something changing in Gentoo?
  
  Upstream changed egrep and fgrep from binaries to shell scripts.
 
 This happened a while ago on testing portage but the version with the
 change only hit stable at the weekend.
 
 You can tell rkhunter to ignore them.
 
 % grep grep /etc/rkhunter.conf.local
 SCRIPTWHITELIST=/bin/egrep
 SCRIPTWHITELIST=/bin/fgrep

I've also been getting the same warning for:

Warning: The command '/usr/bin/ldd' has been replaced by a script: 
/usr/bin/ldd: Bourne-Again shell script, ASCII text executable

Warning: The command '/usr/bin/whatis' has been replaced by a script: 
/usr/bin/whatis: POSIX shell script, ASCII text executable

Should I treat them the same?

-- 
Regards,
Mick


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


Re: [gentoo-user] Rkhunter now showing Warnings for two files: /bin/egrep fgrep

2015-01-31 Thread Neil Bothwick
On Sat, 31 Jan 2015 12:17:47 +, Mick wrote:

  You can tell rkhunter to ignore them.
  
  % grep grep /etc/rkhunter.conf.local
  SCRIPTWHITELIST=/bin/egrep
  SCRIPTWHITELIST=/bin/fgrep  
 
 I've also been getting the same warning for:
 
 Warning: The command '/usr/bin/ldd' has been replaced by a script: 
 /usr/bin/ldd: Bourne-Again shell script, ASCII text executable
 
 Warning: The command '/usr/bin/whatis' has been replaced by a script: 
 /usr/bin/whatis: POSIX shell script, ASCII text executable
 
 Should I treat them the same?

I do, here's my full list of whitelisted scripts

% grep SCRIPT /etc/rkhunter.conf.local
SCRIPTWHITELIST=/usr/bin/ldd
SCRIPTWHITELIST=/usr/bin/whatis
SCRIPTWHITELIST=/usr/bin/lwp-request
SCRIPTWHITELIST=/bin/egrep
SCRIPTWHITELIST=/bin/fgrep

Check that the files are as installed by portage, using something like
qcheck, before you whitelist anything.


-- 
Neil Bothwick

A wok is what you throw at a wabbit.


pgp2YDFHmx14X.pgp
Description: OpenPGP digital signature