[Bug 219972] Review Request: poker-network - A poker server, client and abstract user interface library

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: poker-network - A poker server, client and abstract user interface library
Alias: poker-network

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219972





------- Additional Comments From wart@xxxxxxxxxx  2007-01-23 23:12 EST -------
I finally got selinux policies building in Rawhide again, and started looking at
a policy for poker-server.  In the init script, you invoke the service by
invoking python with the script as an argument.  In order to make selinux work
with this, you should include a small wrapper script that does the same thing,
and invoke this wrapper script from the init script.  Something like:

$ cat /usr/bin/poker-server
#!/bin/sh

/usr/bin/python /usr/bin/twistd --python
/usr/lib/python2.5/site-packages/pokernetwork/pokerserver.py ${0+$@}

And then in the init script, invoke the script as:

/usr/bin/poker-server \
        --pidfile=${pidfile} \
        --logfile=${logfile} --quiet ${opt_args} \
        --reactor=${reactor}

This will allow the wrapper script to be labelled as pokerd_exec_t, whereas in
the current setup, python itself must be labelled as pokerd_exec_t in order to
execute in the proper domain.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]