action #178240
closed[security][opensuse] selinux: test fails in apache (port 85 not enabled by default)
100%
Description
Observation¶
in https://build.opensuse.org/request/show/1249884, selinux-policy has received a fix to properly confine apache2 - which so far was not the case.
This in turn results in the acpahe2 test module failing to start apache when using port 85
The default ports accepted by the policy are
semanage port -l | grep http_port_t
http_port_t tcp 80, 81, 443, 488, 8008, 8009, 8443, 9000
http_port_t udp 80, 443
If the test wants to use port 85, it needs to change the selinux policy (in case of selinux being used) prior to starting apache:
semanage port -a -t http_port_t -p tcp 85

openQA test in scenario opensuse-Staging:J-Staging-DVD-x86_64-textmode@64bit fails in
apache
Test suite description¶
Installation in textmode and selecting the textmode "desktop" during installation.
Reproducible¶
Fails since (at least) Build J.689.1
Expected result¶
Last good: J.688.1 (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by jlausuch about 2 months ago
- Project changed from openQA Tests (public) to 247
- Category changed from Bugs in existing tests to Bugs in existing tests
Updated by tjyrinki_suse about 2 months ago
- Tags set to selinux, fail
- Subject changed from selinux: test fails in apache (port 85 not enabled by default) to [security][opensuse] selinux: test fails in apache (port 85 not enabled by default)
- Status changed from New to Workable
- Start date deleted (
2025-03-04)
Updated by tjyrinki_suse about 2 months ago
- Project changed from 247 to openQA Tests (public)
- Category changed from Bugs in existing tests to Bugs in existing tests
Updated by emiler about 2 months ago
- Status changed from Workable to In Progress
Fix in development: https://github.com/realcharmer/os-autoinst-distri-opensuse/blob/apache/tests/console/apache.pm#
Running a VR now.
Updated by emiler about 2 months ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100