Git Product home page Git Product logo

Comments (11)

 avatar commented on August 15, 2024

That file is unreadable. There is some interactive community support on irc://chat.freenode.net/selinux

from refpolicy.

 avatar commented on August 15, 2024

it is unreadable....

[kcinimod@brutus Downloads]$ cat __MAC*/._nginx_fc.txt
Mac OS X        	2ATTR$$com.apple.TextEncoding3com.apple.lastuseddate#PSCHcom.apple.maclY7com.apple.metadata:kMDLabel_gq7h5knoovvlajwwdrgtby56byutf-8;134217984`c,v}M
1z!h=vSy'RD'TZ@a Y5%di;Rt_\a	[kcinimod@brutus Downloads]$      Cj[7όH}7clt'ȡj?֛

from refpolicy.

 avatar commented on August 15, 2024

o never mind i think i figured it out ...

add this to nginx.te:

init_daemon_domain(nginx_t, nginx_exec_t)
role system_r types nginx_t;

from refpolicy.

sule01u avatar sule01u commented on August 15, 2024

This should be OK😥

nginx_fc.txt
nginx_te.txt
nginx_if.txt
chcon_sh.txt

from refpolicy.

 avatar commented on August 15, 2024

yes I managed to read it... See solution above

from refpolicy.

 avatar commented on August 15, 2024

You might even be able to omit the role system_r types nginx_t; line as its probably implied with init_daemon_domain(nginx_t, nginx_exec_t) line

from refpolicy.

sule01u avatar sule01u commented on August 15, 2024

This allows me to configure the ‘allow’ policy according to the AVC of the audit.log, and to configure the new tag for nginx and access it successfully.
Thank you very much!

from refpolicy.

sule01u avatar sule01u commented on August 15, 2024

I want to specify some ports for my nginx process , but the configuration of nginx_port_t doesn't seem to work. How do I configure the port label belonging to nginx

from refpolicy.

 avatar commented on August 15, 2024

from refpolicy.

sule01u avatar sule01u commented on August 15, 2024

Yes, I am missing corenet_port(nginx_port_t). Where can I find the complete documentation for the custom SELinux tag?Writing SELinux tags as a novice is difficult!

from refpolicy.

 avatar commented on August 15, 2024

from refpolicy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.