Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] file di git nella cartella di root (/)
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
yayo
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2014
Posts: 119

PostPosted: Tue Apr 22, 2025 11:19 pm    Post subject: [Risolto] file di git nella cartella di root (/) Reply with quote

Ho notato già da diversi giorni una stranezza nel pacchetto git (che io peraltro normalmente non uso, probabilmente entra come dipendenza di altri pacchetti).
Mi ha messo 3 file nella cartella di root (nel senso di prima cartella del filesystem).

Posto un pezzetto dell'output di "equery f git":
Code:
yayo@acer22 ~ $ equery f git
 * Searching for git ...
 * Contents of dev-vcs/git-2.49.0-r2:
/etc
/etc/conf.d
/etc/conf.d/git-daemon
/etc/init.d
/etc/init.d/git-daemon
/git-citool
/git-gui
/git-gui--askpass
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/git-daemon.socket
/lib/systemd/system/git-daemon@.service
/usr
/usr/bin
/usr/bin/diff-highlight
/usr/bin/git -> ../libexec/git-core/git
/usr/bin/git-cvsserver -> ../libexec/git-core/git-cvsserver
/usr/bin/git-receive-pack -> ../libexec/git-core/git-receive-pack
/usr/bin/git-shell -> ../libexec/git-core/git-shell
/usr/bin/git-upload-archive -> ../libexec/git-core/git-upload-archive
[...]



Come si vede sono git-citool, git-gui e git-gui--askpass. Dato che non uso git non so che file siano.
Probabilmente sono comparsi con l'aggiornamento che ho fatto il 13.
Ho pensato a un semplice errore temporaneo che sarebbe stato corretto al successivo update con una patch o qualcosa del genere.
Ma ho aggiornato di nuovo sabato scorso (il 19) e non è cambiato nulla.
Ho dato un'occhiata alla lista di bug ma non ho trovato niente che corrispondesse.
Sono file regolari? Non dovrebbero stare in /usr/bin/ come gli altri?
: /


Last edited by yayo on Tue Apr 29, 2025 1:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31665
Location: here

PostPosted: Wed Apr 23, 2025 5:23 am    Post subject: Reply with quote

Quei file dovrebbero essere installati in /usr/libexec/git-core/ e solo se abilitata la use flag tk.
Code:
$ equery f git   
/usr/libexec/git-core/git-citool
...
/usr/libexec/git-core/git-gui
/usr/libexec/git-core/git-gui--askpass

_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
yayo
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2014
Posts: 119

PostPosted: Sat Apr 26, 2025 10:44 pm    Post subject: Reply with quote

Bene. Questo mi conferma che dove li ho io sono fuoriposto. Ma non mi aiuta a capire perché.

Non mi ricordo di averceli messi io. E anche fosse, il comando equery dovrebbe darmeli col percorso giusto. (O no?)

Ho fatto un ulteriore aggiornamento anche oggi, ma non c'era nessun fix.

Quindi perché a me sono finiti lì? : /
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31665
Location: here

PostPosted: Sun Apr 27, 2025 6:03 pm    Post subject: Reply with quote

Il comando equery b /git-gui--askpass cosa ritorna? Immagino dev-vcs/git visto che equery f lo lista.
Non so a cosa sia dovuto.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
yayo
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2014
Posts: 119

PostPosted: Sun Apr 27, 2025 8:39 pm    Post subject: Reply with quote

Si, mi restituisce proprio dev-vcs/git.
Code:
$ equery b /git-gui--askpass
 * Searching for /git-gui--askpass ...
dev-vcs/git-2.49.0-r2 (/git-gui--askpass)


Se non hai idee pazienza.
Non ho un account per sottoporlo ufficialmente come bug (ammesso che sia un bug).
Magari cercherò la email del mantainer di gentoo e gli manderò una segnalazione appena ho un attimo di tempo. Può darsi che lui abbia qualche spiegazione. :|
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31665
Location: here

PostPosted: Mon Apr 28, 2025 5:08 am    Post subject: Reply with quote

Ma se rimuovi git e fai di nuovo emerge -1 git i file sono al posto giusto?
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
yayo
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2014
Posts: 119

PostPosted: Mon Apr 28, 2025 2:10 pm    Post subject: Reply with quote

Aspetta. Se lo rimuovo... come? Lo disinstallo manualmente, dici? Con "emerge -C dev-vcs/git"?

Non crea problemi, considerando che è una dipendenza? :?
Non mi è mai capitato di doverlo fare. Ma se mi confermi che si può, provo subito.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31665
Location: here

PostPosted: Mon Apr 28, 2025 5:01 pm    Post subject: Reply with quote

yayo wrote:
Aspetta. Se lo rimuovo... come? Lo disinstallo manualmente, dici? Con "emerge -C dev-vcs/git"?
Esattamente.

Non crea problemi, considerando che è una dipendenza? :?

Non dovrebbe essere un problema ma comunque prova solo a ricompilarlo con emerge -1 dev-vcs/git.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
yayo
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2014
Posts: 119

PostPosted: Tue Apr 29, 2025 1:58 pm    Post subject: Reply with quote

Sembra che abbia funzionato.
Ripetendo equery sul file col percorso a radice non trova nulla, mentre facendolo solo col nome del file, senza percorso, lo trova e lo posiziona giusto.
Code:
yayo@acer22 ~ $ equery b /git-gui--askpass
 * Searching for /git-gui--askpass ...
yayo@acer22 ~ $ equery b git-gui--askpass
 * Searching for git-gui--askpass ...
dev-vcs/git-2.49.0-r2 (/usr/libexec/git-core/git-gui--askpass)
yayo@acer22 ~ $


Però è strano. Non mi era mai capitata una cosa del genere. :?
E probabilmente non saprò mai a cosa fosse dovuto...

Più tardi forse apro un altro thread: sembra ci sia un bug in curlftpfs.
Questo intanto lo segno come risolto.

Grazie! :)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31665
Location: here

PostPosted: Tue Apr 29, 2025 2:04 pm    Post subject: Reply with quote

Magari è stato rilasciato un ebuild che sbagliare l'installazione di quei file, sai quando hai installato git l'ultima volta prima di rifare il rebuild (puoi usare il comando qlop git)?
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
yayo
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2014
Posts: 119

PostPosted: Tue Apr 29, 2025 9:19 pm    Post subject: Reply with quote

Un aggiornamento fallato della sola ebuild? Non ci avevo pensato.
A parte che non so bene come funzionano le ebuild, ma sono talmente abituato a considerare gli aggiornamenti come qualcosa che riguarda i pacchetti...

Come dicevo nel primo post, il precedente update di git risulta fatto al 13 aprile:
Code:
yayo@acer22 ~ $ qlop git
2025-04-13T15:40:51 >>> dev-vcs/git: 45s
2025-04-29T02:43:44 >>> dev-vcs/git: 45s

Gli altri aggiornamenti nel mezzo se ricordo bene li ho fatti il 19 e il 26.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31665
Location: here

PostPosted: Wed Apr 30, 2025 5:22 am    Post subject: Reply with quote

No non trovo nulla nei commit che riguardano il problema.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
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