Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Misteriosi azzeramenti
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)
View previous topic :: View next topic  
Author Message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Thu Apr 03, 2003 8:06 am    Post subject: Misteriosi azzeramenti Reply with quote

Vi è mai capitato che dopo un emerge rsync vi troviate con le passwd sputanate ? A me è giàla seconda volta e sta cosa me preoccupa !!!
Back to top
View user's profile Send private message
Ginko
Guru
Guru


Joined: 01 May 2002
Posts: 371
Location: nearby my linux laptop

PostPosted: Thu Apr 03, 2003 8:42 am    Post subject: Reply with quote

Non mi e' mai capitato e la cosa mi sembra a dir
poco incredibile. Segnala il problema a

https://bugs.gentoo.org/

--Gianluca
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Thu Apr 03, 2003 9:08 am    Post subject: Reply with quote

Fatto .. bug-ID 18680
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Apr 03, 2003 11:07 am    Post subject: Reply with quote

A me sembra impossibile.
Controllerei con strace quand'e' che emerge va a scrivere su passwd / shadow.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Thu Apr 03, 2003 12:01 pm    Post subject: Reply with quote

Visto che e appena successo ho potuto verificare che mi hazera in relta il dile /etc/shadow non /etc/passwd
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Thu Apr 03, 2003 1:16 pm    Post subject: Reply with quote

IgaRyu wrote:
Visto che e appena successo ho potuto verificare che mi hazera in relta il dile /etc/shadow non /etc/passwd

Dato che è appena successo, dai un occhio a /var/log/emerge.log e cerca di identificare il pacchetto colpevole. Magari postane un bel pezzo di coda.
Sospetto che tu abbia sovrascritto il file quando hai fatto etc-update, cosa ne pensi?

cmq anche a me successe una cosa simile ma il file sovrascritto era quello dei gruppi, quindi riuscivo ad usare solo root.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
blaze_
n00b
n00b


Joined: 16 Mar 2003
Posts: 36
Location: Milan, Italy

PostPosted: Fri Apr 04, 2003 11:00 am    Post subject: Reply with quote

btw usa emerge sync, emerge rsync e' deprecato dagli sviluppatori stessi
perche' potrebbe significare emerge net-misc/rsync
_________________
Lino
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Fri Apr 04, 2003 11:37 am    Post subject: Reply with quote

blaze_ wrote:
btw usa emerge sync, emerge rsync e' deprecato dagli sviluppatori stessi
perche' potrebbe significare emerge net-misc/rsync

Deprecato ma non dovrebbe emergere net-misc/rsync (almeno non ancora). Per il momento sync e rsync fanno la stessa medesima cosa.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
blaze_
n00b
n00b


Joined: 16 Mar 2003
Posts: 36
Location: Milan, Italy

PostPosted: Fri Apr 04, 2003 12:00 pm    Post subject: Reply with quote

si infatti pero' penso che sia solo una questione di sintassi visto che rsync esiste come ebuild mentre sync no :)
_________________
Lino
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Sat Apr 05, 2003 7:08 am    Post subject: Reply with quote

allora ... non uso etc-update perche avevo settato la var CONFIG_PROTECT="-*"

A detta dei debuggers di gentoo il problema era porprio li:
nella make.globals ls CONFIG_PROTECT punta tuta una seriie di dirs tra cui anche la /etc/

pare che sync (o rsync che sia) se non trova /etc puntata da quelal variabile tende a manipolare /etc come se fosse una installazione da zero.

Adesso ho risistemato la CONFIG_PROTECT, e vediamo se mi si ripresenta il probelma ai prossimi syncs

Bye e grazie a tutti comunque

Joe
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sat Apr 05, 2003 9:39 am    Post subject: Reply with quote

IgaRyu wrote:
allora ... non uso etc-update perche avevo settato la var CONFIG_PROTECT="-*"

:roll:
Non ha più senso dato che etc-update ora permette di mergiare automaticamente tutto una volta fatti a mano i pochi files che effettivamente necessitano una modifica, e mergia da solo ciò che ritiene "triviale"... (a parte che il mio ex docente di fisica diceva che "triviale" è qualcosa talmente semplice che é troppo difficile da spiegare...)
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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