Project

General

Profile

Actions

action #152891

closed

test fails in rsync_client

Added by dimstar 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2023-12-22
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

Background:

  • the rsync package moved the default config from /etc to /usr/etc
  • Config in /etc is honored and meant to be written by the admin.

The test code copies a rsyncd.conf to /etc and adds credentials to /etc/rsyncd.secrets

Issue:
in the past, the package installed an /etc/rsyncd.secrets file with mode 0600; the test then adds credentials there using echo user:pass > /etc/rsyncd.secrets (preserving the mode of the file)

as the file now does not exist in /etc, echo creates a new file with mode 644 - which in turn is denied by rsync's default config (strict modes on)

The test needs to ensure proper permission on the secrets file

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-rsync-client@64bit fails in
rsync_client

Test suite description

Maintainer: zluo@suse.de install and test rsync client

Reproducible

Fails since (at least) Build 20231221

Expected result

Last good: 20231220 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #2

Updated by dimstar 4 months ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF