public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Checking sanity of system...
@ 2010-04-04  5:18 meino.cramer
  2010-04-04  6:15 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: meino.cramer @ 2010-04-04  5:18 UTC (permalink / raw
  To: Gentoo


Hi,

this is no security issue in sense of attacks...it is related
to the consistency of the system.

Simple question (and may be complicate to answer... ;) )

How can I check, that my Gentoo system is uptodate, consistent 
and sane?

Best regards,
mcc


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Checking sanity of system...
  2010-04-04  5:18 [gentoo-user] Checking sanity of system meino.cramer
@ 2010-04-04  6:15 ` Dale
  2010-04-04  7:30   ` meino.cramer
  2010-04-04  6:23 ` [gentoo-user] " Nikos Chantziaras
  2010-04-04  9:37 ` [gentoo-user] " Norman Rieß
  2 siblings, 1 reply; 11+ messages in thread
From: Dale @ 2010-04-04  6:15 UTC (permalink / raw
  To: gentoo-user

meino.cramer@gmx.de wrote:
> Hi,
>
> this is no security issue in sense of attacks...it is related
> to the consistency of the system.
>
> Simple question (and may be complicate to answer... ;) )
>
> How can I check, that my Gentoo system is uptodate, consistent
> and sane?
>
> Best regards,
> mcc
>
>
>    

I think this is what you want.  man glsa-check  I don't use it so you 
will have to read or wait until someone who uses it comes along.  No 
real clue how it works.

I hope that helps and is what you are looking for.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: Checking sanity of system...
  2010-04-04  5:18 [gentoo-user] Checking sanity of system meino.cramer
  2010-04-04  6:15 ` Dale
@ 2010-04-04  6:23 ` Nikos Chantziaras
  2010-04-04  6:33   ` Dale
  2010-04-04  7:07   ` meino.cramer
  2010-04-04  9:37 ` [gentoo-user] " Norman Rieß
  2 siblings, 2 replies; 11+ messages in thread
From: Nikos Chantziaras @ 2010-04-04  6:23 UTC (permalink / raw
  To: gentoo-user

On 04/04/2010 08:18 AM, meino.cramer@gmx.de wrote:
>
> Hi,
>
> this is no security issue in sense of attacks...it is related
> to the consistency of the system.
>
> Simple question (and may be complicate to answer... ;) )
>
> How can I check, that my Gentoo system is uptodate

emerge --sync && emerge -uDN world


> consistent and sane?

Define "consistent" and "sane".  Those words don't say anything, really.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Checking sanity of system...
  2010-04-04  6:23 ` [gentoo-user] " Nikos Chantziaras
@ 2010-04-04  6:33   ` Dale
  2010-04-04  7:34     ` meino.cramer
  2010-04-04  7:07   ` meino.cramer
  1 sibling, 1 reply; 11+ messages in thread
From: Dale @ 2010-04-04  6:33 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 04/04/2010 08:18 AM, meino.cramer@gmx.de wrote:
>>
>> Hi,
>>
>> this is no security issue in sense of attacks...it is related
>> to the consistency of the system.
>>
>> Simple question (and may be complicate to answer... ;) )
>>
>> How can I check, that my Gentoo system is uptodate
>
> emerge --sync && emerge -uDN world
>
>
>> consistent and sane?
>
> Define "consistent" and "sane".  Those words don't say anything, really.
>
>
>

You may also want to run revdep-rebuild as well.  If you are talking 
about your packages being "sane".  That should catch anything that has 
broken links or something else that leads to a package needing to be 
recompiled.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Checking sanity of system...
  2010-04-04  6:23 ` [gentoo-user] " Nikos Chantziaras
  2010-04-04  6:33   ` Dale
@ 2010-04-04  7:07   ` meino.cramer
  2010-04-04  8:00     ` Nikos Chantziaras
  1 sibling, 1 reply; 11+ messages in thread
From: meino.cramer @ 2010-04-04  7:07 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras <realnc@arcor.de> [10-04-04 08:28]:
> On 04/04/2010 08:18 AM, meino.cramer@gmx.de wrote:
> >
> >Hi,
> >
> >this is no security issue in sense of attacks...it is related
> >to the consistency of the system.
> >
> >Simple question (and may be complicate to answer... ;) )
> >
> >How can I check, that my Gentoo system is uptodate
> 
> emerge --sync && emerge -uDN world
> 
> 
> >consistent and sane?
> 
> Define "consistent" and "sane".  Those words don't say anything, 
> really.
> 

Ok...

Consistency: Following each logical branch of each logical tree of control relationship,
which is for example but not only the tree of dependancies, will end in a
leave. These are the control paths.

Sane: Following each logical branch of each logical tree of data
relationships. which is for example but not only the interaction of scripts under
/etc, will end in a leave. These are the data paths.

HTH

Best regards,
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Checking sanity of system...
  2010-04-04  6:15 ` Dale
@ 2010-04-04  7:30   ` meino.cramer
  0 siblings, 0 replies; 11+ messages in thread
From: meino.cramer @ 2010-04-04  7:30 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967@gmail.com> [10-04-04 08:20]:
> meino.cramer@gmx.de wrote:
> >Hi,
> >
> >this is no security issue in sense of attacks...it is related
> >to the consistency of the system.
> >
> >Simple question (and may be complicate to answer... ;) )
> >
> >How can I check, that my Gentoo system is uptodate, consistent
> >and sane?
> >
> >Best regards,
> >mcc
> >
> >
> >   
> 
> I think this is what you want.  man glsa-check  I don't use it so you 
> will have to read or wait until someone who uses it comes along.  No 
> real clue how it works.
> 
> I hope that helps and is what you are looking for.
> 
> Dale
> 
> :-)  :-)
> 

Hi Dale,

As far as I can understand the man-page, glsa-check is a tool to check
security settings in the system: _G_entoo _L_inux _S_ecurity
_A_visory.
I didnt know of this tool before so it is a goog hint anyway, but for
the moment I want only check, whether the system is not cleanly
setup/installed/updated in the sense of "it is working well" ;)

Best regards,
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Checking sanity of system...
  2010-04-04  6:33   ` Dale
@ 2010-04-04  7:34     ` meino.cramer
  2010-04-04  8:01       ` Dale
  0 siblings, 1 reply; 11+ messages in thread
From: meino.cramer @ 2010-04-04  7:34 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967@gmail.com> [10-04-04 08:36]:
> Nikos Chantziaras wrote:
> >On 04/04/2010 08:18 AM, meino.cramer@gmx.de wrote:
> >>
> >>Hi,
> >>
> >>this is no security issue in sense of attacks...it is related
> >>to the consistency of the system.
> >>
> >>Simple question (and may be complicate to answer... ;) )
> >>
> >>How can I check, that my Gentoo system is uptodate
> >
> >emerge --sync && emerge -uDN world
> >
> >
> >>consistent and sane?
> >
> >Define "consistent" and "sane".  Those words don't say anything, 
> >really.
> >
> >
> >
> 
> You may also want to run revdep-rebuild as well.  If you are talking 
> about your packages being "sane".  That should catch anything that has 
> broken links or something else that leads to a package needing to be 
> recompiled.
> 
> Dale
> 
> :-)  :-)
> 

Hi Dale,

revdep-rebuild is currently running! :)

This was the only tool I knew before posting my question here :)

:)

Best regards,
mcc


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: Checking sanity of system...
  2010-04-04  7:07   ` meino.cramer
@ 2010-04-04  8:00     ` Nikos Chantziaras
  0 siblings, 0 replies; 11+ messages in thread
From: Nikos Chantziaras @ 2010-04-04  8:00 UTC (permalink / raw
  To: gentoo-user

On 04/04/2010 10:07 AM, meino.cramer@gmx.de wrote:
> Nikos Chantziaras<realnc@arcor.de>  [10-04-04 08:28]:
>> On 04/04/2010 08:18 AM, meino.cramer@gmx.de wrote:
>>>
>>> Hi,
>>>
>>> this is no security issue in sense of attacks...it is related
>>> to the consistency of the system.
>>>
>>> Simple question (and may be complicate to answer... ;) )
>>>
>>> How can I check, that my Gentoo system is uptodate
>>
>> emerge --sync&&  emerge -uDN world
>>
>>
>>> consistent and sane?
>>
>> Define "consistent" and "sane".  Those words don't say anything,
>> really.
>>
>
> Ok...
>
> Consistency: Following each logical branch of each logical tree of control relationship,
> which is for example but not only the tree of dependancies, will end in a
> leave. These are the control paths.
>
> Sane: Following each logical branch of each logical tree of data
> relationships. which is for example but not only the interaction of scripts under
> /etc, will end in a leave. These are the data paths.

These are very abstract things you speak of.  But I guess it boils down 
to "are there bugs in my system."

Yes, there are.  All software has bugs.  There is a tool to check 
whether there are bugs: you.  You use the software and check whether it 
works correctly or not.

For anything more specific, you also need to be more specific with your 
questions. :)




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Checking sanity of system...
  2010-04-04  7:34     ` meino.cramer
@ 2010-04-04  8:01       ` Dale
  0 siblings, 0 replies; 11+ messages in thread
From: Dale @ 2010-04-04  8:01 UTC (permalink / raw
  To: gentoo-user

meino.cramer@gmx.de wrote:
> Dale<rdalek1967@gmail.com>  [10-04-04 08:36]:
>    
>> Nikos Chantziaras wrote:
>>      
>>> On 04/04/2010 08:18 AM, meino.cramer@gmx.de wrote:
>>>        
>>>> Hi,
>>>>
>>>> this is no security issue in sense of attacks...it is related
>>>> to the consistency of the system.
>>>>
>>>> Simple question (and may be complicate to answer... ;) )
>>>>
>>>> How can I check, that my Gentoo system is uptodate
>>>>          
>>> emerge --sync&&  emerge -uDN world
>>>
>>>
>>>        
>>>> consistent and sane?
>>>>          
>>> Define "consistent" and "sane".  Those words don't say anything,
>>> really.
>>>
>>>
>>>
>>>        
>> You may also want to run revdep-rebuild as well.  If you are talking
>> about your packages being "sane".  That should catch anything that has
>> broken links or something else that leads to a package needing to be
>> recompiled.
>>
>> Dale
>>
>> :-)  :-)
>>
>>      
> Hi Dale,
>
> revdep-rebuild is currently running! :)
>
> This was the only tool I knew before posting my question here :)
>
> :)
>
> Best regards,
> mcc
>
>    

When I do my updates, I always do the following:

eix-sync   # This does my emerge --sync for me and updates eix since I 
use it sometimes for the FAST searches

emerge -uvDNa world   # My system is set up so that world includes 
system so this catches everything including deep dependencies (D) and 
changes of USE flags (N).

I then check USE flags and anything else that may be odd.  If I need to 
change something, I answer NO and repeat until I get it like it should 
be.  After emerge finishes:

emerge -p --depclean  # I run that about once a month or if I know 
something is unneeded and should be removed.  If it looks sane, I rerun 
without the -p.  You could use -a I guess.

revdep-rebuild -i  # This makes sure nothing is broken and I run it each 
time after the emerge world whether --depclean is ran or not.  It 
sometimes finds something broke and fixes it so I figure it is safer to 
run it and it do nothing than to not run it and something be broken.

One more optional thing to run, python-updater.  If I see python being 
updated, I run that too.  Note:  Python 3 should be popping its head up 
if it hasn't already.  If it does, do NOT switch the system to it.  A 
lot of packages do not work with it yet.  If you switch to it, you can 
keep the pieces if it breaks.  Sane thoughts did not prevail on -dev so 
you either have to mask it locally or it will be there basically doing 
nothing.  Don't ask me why they did it.  I was against the idea myself. 
< shrugs >

That's how I do it and my little rig runs pretty good.  I do have 
hiccups on occasion but everyone does eventually.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Checking sanity of system...
  2010-04-04  5:18 [gentoo-user] Checking sanity of system meino.cramer
  2010-04-04  6:15 ` Dale
  2010-04-04  6:23 ` [gentoo-user] " Nikos Chantziaras
@ 2010-04-04  9:37 ` Norman Rieß
  2010-04-04 19:03   ` u.schutz
  2 siblings, 1 reply; 11+ messages in thread
From: Norman Rieß @ 2010-04-04  9:37 UTC (permalink / raw
  To: gentoo-user

Am 04.04.2010 07:18, schrieb meino.cramer@gmx.de:
> Hi,
>
> this is no security issue in sense of attacks...it is related
> to the consistency of the system.
>
> Simple question (and may be complicate to answer... ;) )
>
> How can I check, that my Gentoo system is uptodate, consistent 
> and sane?
>
> Best regards,
> mcc
>
>
>   
Hi,

Every Update:
emerge --sync && emerge -uDN world
--> Read the Packagemessages for Instructions.
etc-update    # Merge new Configfiles
revdep-rebuild    # Identify broken libraries

From time to time:
emerge --deplcean (-p) && revdep-rebuild    # Delete old packages and
sort out the resulting broken packages
eclean distfiles    # Delete the old source-packages in your distfile repo.

Regards,
Norman




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Checking sanity of system...
  2010-04-04  9:37 ` [gentoo-user] " Norman Rieß
@ 2010-04-04 19:03   ` u.schutz
  0 siblings, 0 replies; 11+ messages in thread
From: u.schutz @ 2010-04-04 19:03 UTC (permalink / raw
  To: gentoo-user

>Von: norman@smash-net.org
>Datum: 04.04.2010 11:37
>An: <gentoo-user@lists.gentoo.org>
>Betreff: Re: [gentoo-user] 
Checking sanity of system...
>
>Am 04.04.2010 07:18, schrieb meino.cramer@gmx.de:
>> Hi,
>>
>> this is no security 
issue in sense of attacks...it is related
>> to the consistency of the system.
>>
>> Simple question (and may be 
complicate to answer... ;) )
>>
>> How can I check, that my Gentoo system is uptodate, consistent 
>> and sane?
>>
>> 
Best regards,
>> mcc
>>
>>
>>   
>Hi,
>
>Every Update:
>emerge --sync && emerge -uDN world
>--> Read the 
Packagemessages for Instructions.
>etc-update    # Merge new Configfiles
>revdep-rebuild    # Identify broken libraries

>
>From time to time:
>emerge --deplcean (-p) && revdep-rebuild    # Delete old packages and
>sort out the resulting 
broken packages
>eclean distfiles    # Delete the old source-packages in your distfile repo.
>
>Regards,
>Norman
>
>
>


and aditionally from time to time:

eix -u
(packages  which  have  at least one slotted version installed which is not 
the best version within that slot)

and 

eix-test-obsolete -d
(display missing packages or packages with obsolete 
entries in /etc/portage/package.* )

Check for viruses, lookout for SMART data, and filesystem inconsistencies, check 
temperatures, check log files, listen to fans... there are many levels where a system could fail.

Urs





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-04-04 19:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-04  5:18 [gentoo-user] Checking sanity of system meino.cramer
2010-04-04  6:15 ` Dale
2010-04-04  7:30   ` meino.cramer
2010-04-04  6:23 ` [gentoo-user] " Nikos Chantziaras
2010-04-04  6:33   ` Dale
2010-04-04  7:34     ` meino.cramer
2010-04-04  8:01       ` Dale
2010-04-04  7:07   ` meino.cramer
2010-04-04  8:00     ` Nikos Chantziaras
2010-04-04  9:37 ` [gentoo-user] " Norman Rieß
2010-04-04 19:03   ` u.schutz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox