Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TOOL] emesg (con lungo prologo)[DEPRECATED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Fri Oct 29, 2004 3:47 pm    Post subject: [TOOL] emesg (con lungo prologo)[DEPRECATED] Reply with quote

Il prologo: di solito sui server di produzione non faccio aggiornamenti selvaggi, preferisco testare prima le nuove release su altre macchine. Per cui, gli aggiornamenti sui server coinvolgono diversi pacchetti e non posso stare a guardare tutto quello che passa per lo schermo.

Fatto sta, che aggiornando il mail server ad un certo punto ha smesso di funzionare :evil:
Controllo i log, ci sono permission denied vari, lavoro come un dannato con la bava alla
bocca e il sudore che cola tra le ginocchia, ed alla fine riesco in qualche modo a ripristinare la situazione in tempi relativamente brevi ma con una soluzione un po' deficiente. :?

Con calma controllo il tutto e scopro che l'ebuild di qmail-scanner aveva un warning che spiegava il tutto e che non avevo letto perche' non attento alla compilazione di n pacchetti.

Da qui l'idea di emesg che esegue emerge con alcune opzioni che estrapolano dagli ebuild i vari warning e a seconda dell'opzione, invia questi warning via mail, li visualizza o li scrive in un file.

Lo trovate qui: http://www.gentoo.it/utility/emesg.py

Spero sia utile a qualcuno.

Buon fine settimana.
morellik
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30884
Location: here

PostPosted: Fri Oct 29, 2004 3:52 pm    Post subject: Reply with quote

Ottimo tool ne parlavamo giusto all'incontro del tilug di creare uno script del genere ma vedo con piacere che ci hai gia pensato. Si puo aggiungere alla prossima versione del gekit?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30884
Location: here

PostPosted: Fri Oct 29, 2004 3:56 pm    Post subject: Reply with quote

Aggiunto ai post utilissimi sezione tools. Grazie morellik
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Fri Oct 29, 2004 4:02 pm    Post subject: Reply with quote

É una delle features piú richieste vedi https://bugs.gentoo.org/show_bug.cgi?id=11359

ma non capisco perché non l'abbiano ancora implementato in portage.

comunque ottimo tool!!!
_________________
...
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Fri Oct 29, 2004 4:17 pm    Post subject: Reply with quote

molto comodo... un c'e' che dire :)
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
fat_penguin
Apprentice
Apprentice


Joined: 25 Jul 2004
Posts: 294
Location: sud side of Switzerland

PostPosted: Fri Oct 29, 2004 4:50 pm    Post subject: Reply with quote

grazie... sto gia fondendo una statuina in bronzo con le tue somiglianze!

Spero cmq che a breve la cosa venga integrata con l'emerge...

byebye
fat_penguin
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Fri Oct 29, 2004 4:54 pm    Post subject: Reply with quote

Ottimo tool direi :lol: :lol: L'ideale per chi vuol star sicuro di tutto ciò che emerge sul server e non. :wink:
Back to top
View user's profile Send private message
_sys/sid
Guru
Guru


Joined: 27 Aug 2004
Posts: 346
Location: Asola (Mantova)

PostPosted: Fri Oct 29, 2004 5:04 pm    Post subject: Reply with quote

Ottimo Tool... Grazie.
_________________
http://th30z.netsons.org/
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Oct 30, 2004 3:57 pm    Post subject: Reply with quote

Bel lavoro, se ne sentiva la mancanza :wink:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Sat Oct 30, 2004 7:51 pm    Post subject: Reply with quote

ok, saro' deficiente ma mi sfugge cosa faccia esattamente per singoli passi.. qualcuno me lo puo' spiegare?
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Oct 30, 2004 7:59 pm    Post subject: Reply with quote

FonderiaDigitale wrote:
ok, saro' deficiente ma mi sfugge cosa faccia esattamente per singoli passi.. qualcuno me lo puo' spiegare?


In pratica dovrebbere raccogliere e stampare tutte le stringhe passate alla funzione ewarn negli ebuild.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Sat Oct 30, 2004 8:03 pm    Post subject: Reply with quote

hm. c'e' gia un tool che fa questo nel forum.. si chiama portinfo.
cmq ho provato a lanciarlo e mi spara unemerge sync..per quale motivo?
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Tue Nov 02, 2004 8:42 am    Post subject: Reply with quote

FonderiaDigitale wrote:
hm. c'e' gia un tool che fa questo nel forum.. si chiama portinfo.
cmq ho provato a lanciarlo e mi spara unemerge sync..per quale motivo?


Il mio script non esegue alcun emerge sync.
Non capisco perche' ti faccia una cosa simile.

X Fedeli, per non ci sono problemi all'inclusione. Tutto per la comunità.

Ciauz
morellik
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Tue Nov 02, 2004 1:23 pm    Post subject: Reply with quote

saro' rincoglionito.. riprovero con piu calma
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30884
Location: here

PostPosted: Tue Nov 02, 2004 3:07 pm    Post subject: Reply with quote

morellik wrote:
X Fedeli, per non ci sono problemi all'inclusione. Tutto per la comunità.

Sempre meglio domandare :wink:
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
redsend
n00b
n00b


Joined: 21 Dec 2004
Posts: 5

PostPosted: Fri Jan 05, 2007 1:02 am    Post subject: Reply with quote

FANTASTICO!!! lo stavo pensando da mesi, ma non ho mai avuto il tempo di farlo, ormai mi ero abituato ad aggiornare il sistema ogni 3-4 giorni in modo da avere solo pochi pacchetti, ad eccezione dei grandi cambiamenti. Ora me la prederò con molta calma negli aggiornamenti non critici. :lol:

Comincio subito a testarlo, e spero che lo inseriscano presto in emerge.

morellik GRAZIE mille
_________________
RedSend

http://www.redsend.org
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Fri Jan 05, 2007 6:29 am    Post subject: Reply with quote

redsend wrote:
FANTASTICO!!! lo stavo pensando da mesi, ma non ho mai avuto il tempo di farlo, ormai mi ero abituato ad aggiornare il sistema ogni 3-4 giorni in modo da avere solo pochi pacchetti, ad eccezione dei grandi cambiamenti. Ora me la prederò con molta calma negli aggiornamenti non critici. :lol:

Comincio subito a testarlo, e spero che lo inseriscano presto in emerge.

morellik GRAZIE mille

Se avessi letto la GWN del 12/06/06 (o se avessi seguito con attenzione un etc-update) avresti scoperto che da tempo è possibile loggare tutte quelle info.
Strano che tu sia riuscito a trovare questa discussione del 2004 e non tutte quelle più recenti che parlano di questo argomento ...
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Fri Jan 05, 2007 8:47 am    Post subject: Reply with quote

Credo che questo howto di possa marcare deprecated.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
redsend
n00b
n00b


Joined: 21 Dec 2004
Posts: 5

PostPosted: Fri Jan 05, 2007 5:28 pm    Post subject: Reply with quote

gutter wrote:
Credo che questo howto di possa marcare deprecated.


Si è vero :( , purtroppo non ho il tempo di seguire il forum, e sai la cosa bella qual'è? è che non mi ero neanche accorto che il post risaliva al 2003...

sono grave lo sò.... mi scuso per il commento inutile
_________________
RedSend

http://www.redsend.org
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Fri Jan 05, 2007 7:44 pm    Post subject: Reply with quote

redsend wrote:

sono grave lo sò.... mi scuso per il commento inutile


Figurati, non devi scusarti ;)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum