Skocz do zawartości

[f8] Netbeans 6.0 + Java


MC'

Rekomendowane odpowiedzi

Witam,

 

Próbowałem zainstalować dziś NB6. Niestety ten: jedyny jak się wydaje sposób instalacji nb6 na fedorę zawiódł przez chyba SELinuxa... W momęcie odpalania dostaję ikonkę z tray'a (): Odmowa AVC SELinuxa i pojawia się ikonka gwiazdy... Po kliknięcu otwirea się setroubleshoot:

 

SELinux is preventing java from loading /tmp/nbi-22535.tmp which requires text relocation.
Szczegółowy opis
The java application attempted to load /tmp/nbi-22535.tmp which requires text relocation. This is a potential security problem. Most libraries do not need this permission. Libraries are sometimes coded incorrectly and request this permission. The SELinux Memory Protection Tests web page explains how to remove this requirement. You can configure SELinux temporarily to allow /tmp/nbi-22535.tmp to use relocation as a workaround, until the library is fixed. Please file a bug report against this package.

Zezwalanie na dostęp
If you trust /tmp/nbi-22535.tmp to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t /tmp/nbi-22535.tmp" You must also change the default file context files on the system in order to preserve them even on a full relabel. "semanage fcontext -a -t textrel_shlib_t /tmp/nbi-22535.tmp"Następujące polecenie pozwoli na ten dostęp:chcon -t textrel_shlib_t /tmp/nbi-22535.tmp
Dodatkowe informacje
Kontekst źródłowy:  system_u:system_r:java_t:s0
Kontekst docelowy:  system_u:object_r:tmp_t:s0
Obiekty docelowe:  /tmp/nbi-22535.tmp [ file ]
Pakiety RPM, których to dotyczy: 
RPM polityki:  selinux-policy-3.0.8-58.fc8
SELinux jest włączony:  TrueTyp polityki:  targetedMLS jest włączone:  TrueTryb wymuszania:  EnforcingNazwa wtyczki:  plugins.allow_execmodNazwa komputera:  localhost.localdomainPlatforma:  Linux localhost.localdomain 2.6.23.1-49.fc8 #1 SMP Thu Nov 8 21:41:26 EST 2007 i686 i686
Licznik alarmów:  1
Po raz pierwszy:  pon, 3 gru 2007, 16:24:25
Po raz ostatni:  pon, 3 gru 2007, 16:24:25
Lokalny ID:  a52ee732-97d2-4293-af94-bcf400d909c1
Liczba wierszy:  

Surowe komunikaty audytu :
avc: denied { execmod } for comm=java dev=sda1 path=/tmp/nbi-22535.tmp pid=24089 scontext=system_u:system_r:java_t:s0 tclass=file tcontext=system_u:object_r:tmp_t:s0 

 

 

Teraz problem nie leży w tym jednym pliku ale w tym że przy instalacji tych plików jest bardzo dużo ...

 

SOLVED:

 

Ustaw politykę aktualną na permissive a następnie przeprowadzić instalację. Po zakończeniu z

powrotem ustawić bieżący tryb SELinuxa na Enforcing

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...