portcon in a policy module?

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

 



hello-

i tried to assign a port type in a policy module like so:

portcon tcp 1521 system_u:object_r:oracle_port_t:s0;

which fails unless i rebuild as a monolithic policy.  should this fail
or have i got something wrong?

i have found that using "semanage port -a -t oracle_port_t -p tcp 1521"
in the rpm post install script works.  

what is the proper way to assign a port in a policy module?

thanks for any clues!

rob.


--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux