Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gmeinsamer Portage-Tree
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
sl0815
n00b
n00b


Joined: 30 Mar 2003
Posts: 38
Location: Germany

PostPosted: Tue Oct 07, 2003 11:50 pm    Post subject: Gmeinsamer Portage-Tree Reply with quote

Ich habe mehrere Rechner und den Portagetree (inkl. distfiles und packages) per NFS für alle Rechner freigegeben. Auf zwei (von fünf) Rechner kann ich ganz normal emergen. Auf den anderen drei kommt beim emerge der Fehler:

!!! No profile directory; system mode unavailable.

Die Einstellungen in der /etc/make.conf sind:

PORTDIR=/mnt/portage/portage
DISTDIR=/mnt/portage/distfiles
PKGDIR=/mnt/portage/packages

Die Verzeichnisse sind alle gemounted und ich sehe auch alle Dateien. Permissions sollten auch kein Problem sein, da ich nur al root merge. Ich habe auch auf allen Rechnern dieselbe Verison von portage (2.0.49-r7).

Muß ich noch andere Verzeichnisse (außer /usr/portage, /usr/portage/distfiles und /usr/portage/packages) freigeben? Wo ist der Fehler? Oder kann ich den Portage-Tree nicht per NFS freigeben?

Als ich nur die distfiles und packages freigegeben hatte (also portage-tree lokal) ging alles.

MfG
Back to top
View user's profile Send private message
reptile
Guru
Guru


Joined: 19 Nov 2002
Posts: 363

PostPosted: Wed Oct 08, 2003 4:25 am    Post subject: Reply with quote

hallo sl0815!

kann es sein, dass du evtl. noch einen symlink erstellen musst?

bei mir siehts nämlich in /etc (auszugsweise) so aus:

Code:

reptile $ ll /etc/make.* -l
-rw-r--r--    1 root     root        15030 Oct  7 20:59 /etc/make.conf
-rw-r--r--    1 root     root         2704 Oct  7 20:59 /etc/make.globals
lrwxrwxrwx    1 root     root           39 Sep 23 09:32 /etc/make.profile -> ../usr/portage/profiles/default-x86-1.4


die letzte zeile ist wichtig, pass die mal auf

Code:

lrwxrwxrwx    1 root     root           39 Sep 23 09:32 /etc/make.profile -> ../mnt/portage/profiles/default-x86-1.4


an. damit sollte es dann klappen...

hth, reptile
Back to top
View user's profile Send private message
sl0815
n00b
n00b


Joined: 30 Mar 2003
Posts: 38
Location: Germany

PostPosted: Wed Oct 08, 2003 11:38 am    Post subject: Reply with quote

Jo! Jetzt funktioniert alles


Danke!
Back to top
View user's profile Send private message
gerry
Apprentice
Apprentice


Joined: 01 Sep 2002
Posts: 249
Location: Bodensee

PostPosted: Wed Oct 08, 2003 11:57 am    Post subject: Reply with quote

muss ich bei dieser vorgehensweise immer alle updates auf allen maschinen einspielen?
Back to top
View user's profile Send private message
MIT_Service
Guru
Guru


Joined: 29 Nov 2002
Posts: 355

PostPosted: Wed Oct 08, 2003 12:08 pm    Post subject: Reply with quote

Wohl schon, aber das syncen und updates transferieren geht dann wenigstens gemeinsam.
Back to top
View user's profile Send private message
haceye
Apprentice
Apprentice


Joined: 22 May 2003
Posts: 187
Location: Stuttgart, Germany

PostPosted: Wed Oct 08, 2003 1:59 pm    Post subject: Reply with quote

Hi,

Man kann aber mit dieser emerge - Option arbeiten:

man emerge wrote:

--buildpkg (-b)
Tells emerge to build binary packages for all ebuilds processed
in addition to actually merging the packages. Useful for main-
tainers or if you administrate multiple Gentoo Linux systems
(build once, emerge tbz2s everywhere). The package will be cre-
ated in the ${PKGDIR}/All directory. An alternative for
already-merged packages is to use quickpkg which creates a tbz2
from the live filesystem.


David
_________________
faster 'emerge -s'? emerge esearch
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Wed Oct 08, 2003 2:19 pm    Post subject: Reply with quote

Macht afaik aber nur Sinn, wenn die Rechner hardwareseitig _größtenteils_ gleich bestückt sind; sonst musst du die Pakete für den kleinsten gemeinsamen Nenner bauen.

Tobias
_________________
Ganz frisch: Praxisbuch Nagios
Gentoo Linux - Die Metadistribution (2. Auflage)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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