Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/profile e aggiornamento baselayout
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
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sun Jun 22, 2003 2:49 pm    Post subject: /etc/profile e aggiornamento baselayout Reply with quote

Mi sono perso qualcosa o dopo l'aggiornamento a baselayout-1.8.6.8-r1 il file /etc/profile non viene più considerato?

E' come se mancasse un 'source /etc/profile' in qualche script all'avvio (ad esempio non mi setta più il prompt, nonostante in /etc/profile $PS1 venga correttamente impostata)...?!
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sun Jun 22, 2003 2:55 pm    Post subject: Reply with quote

Non ho capito il tuo problema, in quali casi non funziona? Per root, per gli utenti, quando fai su o su -l?
_________________
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
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sun Jun 22, 2003 3:20 pm    Post subject: Reply with quote

Ehm... in effetti le poche ore di sonno non donano chiarezza al mio pensiero... :(

Non ho più il prompt impostato nelle shell sotto X. Dando un 'source /etc/profile' torna (ovviamente) a posto. Al contrario nelle console virtuali (ctrl+alt+Fx, per intenderci) è impostato correttamente come specificato in /etc/profile.

Tutto ciò dopo aver aggiornato baselayout.


Last edited by MyZelF on Sun Jun 22, 2003 3:38 pm; edited 2 times in total
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Sun Jun 22, 2003 3:28 pm    Post subject: Reply with quote

Qualche problema in effetti c'è (non so se dipenda solo da /etc/profile, per me ignora anche altro, tipo /etc/rc.conf...). A me dopo l'aggiornamento non vuol più sapere di considerare la mia impostazione per la console, non mi accetta più la tastiera italiana ma solo quella inglese (poco male, ormai la conosco a memoria). Solo sotto X tutto ok.
Altri problemi per ora non ne ho riscontrati, per pigrizia aspetto che aggiornino il pacchetto :P (adesso non ho davvero tempo per cercare dove sta l'errore. A occhio sembrerebbe qualche linea mancante da qualche parte, come dicevi giustamente tu)
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Mon Jun 23, 2003 9:42 am    Post subject: Reply with quote

Dopo qualche prova ho scoperto che lo sputtanamento riguarda solo le "konsole" di kde, e non sono l'unico a lamentare il problema: https://forums.gentoo.org/viewtopic.php?t=62455.

Per ora ho risolto aggiungendo un 'source /etc/profile' in ~/.bashrc, ma ciò non è mai stato necessario prima degli ultimi aggiornamenti di ieri (come ho già detto, sospetto fortemente dell'upgrade di baselayout).
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Wed Jun 25, 2003 7:13 am    Post subject: Reply with quote

In alternativa, è possibile lanciare konsole come login shell attraverso il comando

Code:
konsole --ls


In questo modo viene effettuato in modo trasparente il source di /etc/profile.
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