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 #1

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
Actions #2

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)
Actions #3

Updated by emiler about 2 months ago

  • Assignee set to emiler
Actions #4

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
Actions #5

Updated by emiler about 2 months ago

  • Status changed from Workable to In Progress
Actions #6

Updated by emiler about 2 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #7

Updated by emiler about 2 months ago

  • Status changed from Feedback to Resolved

Merged

Actions

Also available in: Atom PDF