Re: change Selinux context in %post?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/07/2014 02:18 PM, Richard Shaw wrote:
> Ok, after sleeping on it, I have a question.
> 
> Do I really need a full blown policy? I'm not creating anything new here.
> I'm just applying the existing context applied to /var/lib/mongod to 
> /var/lib/unifi/data, so can I just use semanage from %postrans?
> 
> Thanks, Richard
> 
> 
No you should be able to just set the file context.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlL6RNUACgkQrlYvE4MpobOGbACgx97bIWV5RqSemVuCJWukHZK2
8OUAoLZAU5MCttuwsLoV/6GtIeI8+QVj
=aJpU
-----END PGP SIGNATURE-----
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux