Setting SAMBA's file attribute on Selinux.

Lucélio Gomes de Freitas aa.lucelio at gmail.com
Thu Jan 12 19:44:52 UTC 2012


Michael Schwendt,

Thank you for your reply.

Em 12-01-2012 04:35, Michael Schwendt escreveu:
> 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.
Yes, sorry, may be strange is my way of thinking: Where others see a
problem I see a chance/way of learning.
> Install the latest available package:
>
>   sudo yum install policycoreutils-gui
Worked fine.  I did not omit the version-release.arch because, after a
"man samba_selinux" I found the tool:
==========================================
[Lucelio at MAQ01 ~]$ yum whatprovides system-config-selinux
Plugins carregados: langpacks, presto, refresh-packagekit
policycoreutils-gui-2.1.4-3.fc16.x86_64 : SELinux configuration GUI
Repo        : fedora
Resultado a partir de:
Nome de arquivo    : /usr/bin/system-config-selinux
==========================================
I did a copy and paste of the packagename to the command line.

Do you think that it is still necessary to file a bug?
> 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
Thanks again.

-- 
Lucélio Gomes de Freitas
ETFCSF=> U.G.F.=> P.U.C.(RJ)
Engº, Analista Suporte(Free Mind).
Email: aa.lucelio at gmail.com
Tel: 55 0XX 21 85964911



More information about the users mailing list