RHEL4 Selinux mailinglist
Hi,
if I have problems with telnet in RHEL4, which mailing list should I write to?
Regards
Ulrich
Signature · 30 lines
------------------------------------------------------------------------------------------------- Ulrich Althaus TriaGnoSys GmbH Argelsrieder Feld 22 D-82234 Wessling-Oberpfaffenhofen Germany Tel: +49 8153 88678-218 Fax:+49 8153 88678-1 email: [email protected] www: http://www.triagnosys.com ------------------------------------ TriaGnoSys GmbH, Registergericht: München HRB 141647, Vat. :DE 813396184 Geschäftsführer: Matthias Holzbock, Dr. Axel Jahn, Dr. Markus Werner This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by replying to this e-mail and delete the material from any computer. Thank you for your cooperation. ------------------------------------------------------------------------------------------------- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 8 lines · Ulrich Althaus
Hi,
if I have problems with telnet in RHEL4, which mailing list should I write to?
Regards
Ulrich
Depends on what the problem is. The official response probably would be open a bugzilla. Or talk to your support person.
What is the problem you are seeing?
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Am 01.03.2010 17:08, schrieb Daniel J Walsh:
Quoted 6 lines · Ulrich Althaus
Quoted 5 lines
Hi,
if I have problems with telnet in RHEL4, which mailing list should I write to?
Quoted 8 lines
Quoted 3 lines
Regards
UlrichDepends on what the problem is. The official response probably would be open a bugzilla. Or talk to your support person.
What is the problem you are seeing?
I have a RHEL4 Server on which I cannot execute telnet when being in enforcing mode, while in permissive mode it works without any problems. Plus I don't get any avc denies.
Signature · 30 lines
------------------------------------------------------------------------------------------------- Ulrich Althaus TriaGnoSys GmbH Argelsrieder Feld 22 D-82234 Wessling-Oberpfaffenhofen Germany Tel: +49 8153 88678-218 Fax:+49 8153 88678-1 email: [email protected] www: http://www.triagnosys.com ------------------------------------ TriaGnoSys GmbH, Registergericht: München HRB 141647, Vat. :DE 813396184 Geschäftsführer: Matthias Holzbock, Dr. Axel Jahn, Dr. Markus Werner This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by replying to this e-mail and delete the material from any computer. Thank you for your cooperation. ------------------------------------------------------------------------------------------------- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 17 lines · Ulrich Althaus
Am 01.03.2010 17:08, schrieb Daniel J Walsh:
Quoted 14 lines · Ulrich Althaus
Quoted 10 lines
Hi,
if I have problems with telnet in RHEL4, which mailing list should I write to?
Regards
UlrichDepends on what the problem is. The official response probably would be open a bugzilla. Or talk to your support person.
Quoted 10 lines
Quoted 3 lines
What is the problem you are seeing?
I have a RHEL4 Server on which I cannot execute telnet when being in enforcing mode, while in permissive mode it works without any problems. Plus I don't get any avc denies.
id -Z
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 14 lines · Ulrich Althaus
Am 01.03.2010 17:08, schrieb Daniel J Walsh:
Quoted 12 lines · Ulrich Althaus
Quoted 8 lines
Hi,
if I have problems with telnet in RHEL4, which mailing list should I write to?
Regards
UlrichDepends on what the problem is. The official response probably would be open a bugzilla. Or talk to your support person.
Quoted 6 lines
Quoted 2 lines
What is the problem you are seeing?
I have a RHEL4 Server on which I cannot execute telnet when being in enforcing mode, while in permissive mode it works without any problems. Plus I don't get any avc denies.
avc denials may be suppressed by dontaudit rules in the policy (used to silence denials that may occur normally due to harmless application probing). Have you tried rebuilding your policy without dontaudit rules?
On RHEL4, that would look like:
# requires selinux-policy-targeted-sources to be installed cd /etc/selinux/targeted/src/policy make enableaudit load
Then retry the operation and check again for avc messages in /var/log/messages or dmesg output. There may be numerous unrelated avc messages that were previously silenced by dontaudit rules, so you need to look for ones that appear to be relevant to the operation in question.
When finished, restore your dontaudit rules via:
cd /etc/selinux/targeted/src/policy
make clean load
sestatus and pstree -Z output can often be helpful too when diagnosing problems.
References:
Fedora Core 3 SELinux FAQ (RHEL 4 SELinux was very similar to Fedora Core 3), http://docs.fedoraproject.org/selinux-faq-fc3/
RHEL 4 SELinux Guide, http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Am 01.03.2010 21:06, schrieb Stephen Smalley:
Quoted 42 lines · Ulrich Althaus
Quoted 14 lines
Am 01.03.2010 17:08, schrieb Daniel J Walsh:
Quoted 12 lines · Ulrich Althaus
Quoted 8 lines
Hi,
if I have problems with telnet in RHEL4, which mailing list should I write to?
Regards
UlrichDepends on what the problem is. The official response probably would be open a bugzilla. Or talk to your support person.
Quoted 6 lines
Quoted 2 lines
What is the problem you are seeing?
I have a RHEL4 Server on which I cannot execute telnet when being in enforcing mode, while in permissive mode it works without any problems. Plus I don't get any avc denies.
avc denials may be suppressed by dontaudit rules in the policy (used to silence denials that may occur normally due to harmless application probing). Have you tried rebuilding your policy without dontaudit rules?
On RHEL4, that would look like:
# requires selinux-policy-targeted-sources to be installed cd /etc/selinux/targeted/src/policy make enableaudit loadThen retry the operation and check again for avc messages in
/var/log/messagesor dmesg output. There may be numerous unrelated avc messages that were previously silenced by dontaudit rules, so you need to look for ones that appear to be relevant to the operation in question.When finished, restore your dontaudit rules via:
cd/etc/selinux/targeted/src/policy
make clean load
Quoted 7 lines
sestatus and pstree -Z output can often be helpful too when diagnosing problems.
References:
Fedora Core 3 SELinux FAQ (RHEL 4 SELinux was very similar to Fedora Core 3), http://docs.fedoraproject.org/selinux-faq-fc3/
RHEL 4 SELinux Guide, http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/
I solved the problem by looking at dontaudits. In my case the telnet was started from an expect script, which could not open a pty. So all I had to do was add the following rule:
allow agscm_t devpts_t:chr_file { read write };
But it took me some hours to understand what expect is doing. :)
Thanks for your quick answers.
Regards,
Ulrich
Signature · 30 lines
------------------------------------------------------------------------------------------------- Ulrich Althaus TriaGnoSys GmbH Argelsrieder Feld 22 D-82234 Wessling-Oberpfaffenhofen Germany Tel: +49 8153 88678-218 Fax:+49 8153 88678-1 email: [email protected] www: http://www.triagnosys.com ------------------------------------ TriaGnoSys GmbH, Registergericht: München HRB 141647, Vat. :DE 813396184 Geschäftsführer: Matthias Holzbock, Dr. Axel Jahn, Dr. Markus Werner This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by replying to this e-mail and delete the material from any computer. Thank you for your cooperation. ------------------------------------------------------------------------------------------------- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.