• “Just being a mediocre driver has never been my ambition. That's not my style” ― Michael Schumacher
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Have a chance to win a copy of F1 2017 The Game (PC) by following RaceDepartment on Twitter, Facebook, Instagram, Twitch, Steam and / or YouTube.

"Cannot restore segment prot afet reloc" error

Discussion in 'Racer Problems & Fixes' started by ferrazrafael, Aug 28, 2010.

  1. ferrazrafael

    ferrazrafael

    Ratings:
    +0
    Im using fedora 13 and racer 0.5.4beta1-english (loki installer), and I cannot run the game. Im receiving this error message:
    Code:
    ./racer.bin: error while loading shared libraries:  /usr/local/games/racer/lib/libfmodex.so: cannot restore segment prot  after reloc: Permission denied
    
    SELinux is showing this error message:

    Code:
    Sumário:
    
    O SELinux está impedindo que o /usr/local/games/racer/racer.bin "execmod"
    acesse o /usr/local/games/racer/lib/libfmodex.so.
    
    Descrição detalhada:
    
    SELinux denied access requested by /usr/local/games/racer/racer.bin.
    /usr/local/games/racer/racer.bin is mislabeled. /usr/local/games/racer/racer.bin
    default SELinux type is usr_t, but its current type is usr_t. Changing this file
    back to the default type, may fix your problem.
    
    If you believe this is a bug, please file a bug report against this package.
    
    Permitindo acesso:
    
    You can restore the default system context to this file by executing the
    restorecon command. restorecon '/usr/local/games/racer/racer.bin'.
    
    Comando de correção:
    
    /sbin/restorecon '/usr/local/games/racer/racer.bin'
    
    Informações adicionais:
    
    Contexto de origem            unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                                  023
    Contexto de destino           unconfined_u:object_r:usr_t:s0
    Objetos de destino            /usr/local/games/racer/lib/libfmodex.so [ file ]
    Origem                        racer.bin
    Caminho da origem             /usr/local/games/racer/racer.bin
    Porta                         <Desconhecido>
    Máquina                      Louback-pc
    Pacotes RPM de origem         
    Pacotes RPM de destino        
    RPM da política              selinux-policy-3.7.19-49.fc13
    Selinux habilitado            True
    Tipo de política             targeted
    Modo reforçado               Enforcing
    Nome do plugin                restore_source_context
    Nome da máquina              Louback-pc
    Plataforma                    Linux Louback-pc 2.6.33.8-149.fc13.i686 #1 SMP Tue
                                  Aug 17 22:45:56 UTC 2010 i686 i686
    Contador de alertas           1
    Visto pela primeira vez em    Sáb 28 Ago 2010 12:38:49 BRT
    Visto pela última vez em     Sáb 28 Ago 2010 12:38:49 BRT
    ID local                      9b9a0489-3dec-466e-8b94-5e6db2180902
    Números de linha             
    
    Mensagens de auditoria não p 
    
    node=Louback-pc type=AVC msg=audit(1283009929.661:24057): avc:  denied  { execmod } for  pid=5635 comm="racer.bin" path="/usr/local/games/racer/lib/libfmodex.so" dev=dm-0 ino=528863 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:usr_t:s0 tclass=file
    
    node=Louback-pc type=SYSCALL msg=audit(1283009929.661:24057): arch=40000003 syscall=125 success=no exit=-13 a0=360000 a1=109000 a2=5 a3=bfb847c0 items=0 ppid=5629 pid=5635 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts0 ses=1 comm="racer.bin" exe="/usr/local/games/racer/racer.bin" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)
    
     
  2. KS95

    KS95
    RACER Moderator

    Messages:
    2,416
    Ratings:
    +196
    Errrrr....use wine. :)
     
  3. ferrazrafael

    ferrazrafael

    Ratings:
    +0
    Just trying to help debug the code....
     
  4. KS95

    KS95
    RACER Moderator

    Messages:
    2,416
    Ratings:
    +196
    It's a very outdated version.....
     
  5. ferrazrafael

    ferrazrafael

    Ratings:
    +0
    great... no descent support for linux, even source code isnt available...


    wine per wine I play live for speed..
     
  6. KS95

    KS95
    RACER Moderator

    Messages:
    2,416
    Ratings:
    +196
    There is no need for support for Linux currently. The game runs 100% perfectly with Wine, trust me, that's how I run it. And it's also not technically "open source", so that's hardly a shock..

    And also, LFS's graphics aren't very good, the content is limited, it's not free..........etc!
     
  7. RJARRRPCGP

    RJARRRPCGP

    Ratings:
    +0
    Looks like you need to check the permissions on the mentioned file.