Setting SAMBA's file attribute on Selinux.

Michael Schwendt mschwendt at gmail.com
Thu Jan 12 09:35:50 UTC 2012


On Wed, 11 Jan 2012 22:19:52 -0500, LGDF (Lucélio) wrote:

> Trying to set extended attributes(samba_share_t ) to shared files on
> SAMBA for selinux to work, I decided to use
> policycoreutils-gui-2.1.4-3.fc16.x86_64 but:
> 
> ==============================================================
> [Lucelio at MAQ01 ~]$ sudo yum install policycoreutils-gui-2.1.4-3.fc16.x86_64

Normally, you would omit the version-release.arch and run just:

  sudo yum install policycoreutils-gui

> Error: Pacote: policycoreutils-gui-2.1.4-3.fc16.x86_64 (fedora)
>            Requer: policycoreutils-python = 2.1.4-3.fc16
>            Instalados: policycoreutils-python-2.1.4-13.fc16.x86_64
> (@updates)
>                policycoreutils-python = 2.1.4-13.fc16
>            Disponível: policycoreutils-python-2.1.4-3.fc16.x86_64 (fedora)
>                policycoreutils-python = 2.1.4-3.fc16
>  Você pode tentar usar o parâmetro --skip-broken para contornar o problema
>  Você pode tentar executar: rpm -Va --nofiles --nodigest
> [Lucelio at MAQ01 ~]$
> ==============================================================
> "--skip-broken" and "rpm" didn't work.
> 
> Ps. How to select 2.1.4-3fc16 insted of installed 2.1.4-13.fc16?

That's a strange question, because obviously you would need to downgrade
other packages (dependencies!) then.

Install the latest available package:

  sudo yum install policycoreutils-gui

And if that doesn't work, file a bug report.

# sudo yum list policycoreutils-gui
Loaded plugins: langpacks, presto, refresh-packagekit
Available Packages
policycoreutils-gui.x86_64                 2.1.4-13.fc16                 updates


More information about the users mailing list