View previous topic :: View next topic |
Author |
Message |
IgaRyu Guru


Joined: 23 Jan 2003 Posts: 302 Location: Verona
|
Posted: Thu Apr 03, 2003 8:06 am Post subject: Misteriosi azzeramenti |
|
|
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 |
|
 |
Ginko Guru


Joined: 01 May 2002 Posts: 371 Location: nearby my linux laptop
|
Posted: Thu Apr 03, 2003 8:42 am Post subject: |
|
|
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 |
|
 |
IgaRyu Guru


Joined: 23 Jan 2003 Posts: 302 Location: Verona
|
Posted: Thu Apr 03, 2003 9:08 am Post subject: |
|
|
Fatto .. bug-ID 18680 |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Thu Apr 03, 2003 11:07 am Post subject: |
|
|
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 |
|
 |
IgaRyu Guru


Joined: 23 Jan 2003 Posts: 302 Location: Verona
|
Posted: Thu Apr 03, 2003 12:01 pm Post subject: |
|
|
Visto che e appena successo ho potuto verificare che mi hazera in relta il dile /etc/shadow non /etc/passwd |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Thu Apr 03, 2003 1:16 pm Post subject: |
|
|
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 |
|
 |
blaze_ n00b


Joined: 16 Mar 2003 Posts: 36 Location: Milan, Italy
|
Posted: Fri Apr 04, 2003 11:00 am Post subject: |
|
|
btw usa emerge sync, emerge rsync e' deprecato dagli sviluppatori stessi
perche' potrebbe significare emerge net-misc/rsync _________________ Lino |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Fri Apr 04, 2003 11:37 am Post subject: |
|
|
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 |
|
 |
blaze_ n00b


Joined: 16 Mar 2003 Posts: 36 Location: Milan, Italy
|
Posted: Fri Apr 04, 2003 12:00 pm Post subject: |
|
|
si infatti pero' penso che sia solo una questione di sintassi visto che rsync esiste come ebuild mentre sync no :) _________________ Lino |
|
Back to top |
|
 |
IgaRyu Guru


Joined: 23 Jan 2003 Posts: 302 Location: Verona
|
Posted: Sat Apr 05, 2003 7:08 am Post subject: |
|
|
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 |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Sat Apr 05, 2003 9:39 am Post subject: |
|
|
IgaRyu wrote: | allora ... non uso etc-update perche avevo settato la var CONFIG_PROTECT="-*" |
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 |
|
 |
|