Project

General

Profile

Actions

action #178240

closed

[security][opensuse] selinux: test fails in apache (port 85 not enabled by default)

Added by dimstar about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:

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

Actions

Also available in: Atom PDF