Bugzilla – Bug 1218346
[Build 20231221] rsyncd: user config in /etc seems to be ignored
Last modified: 2023-12-22 10:57:14 UTC
## Observation The latest rsync change moved the dist config from /etc to /usr/etc (which sounds right) The test code installs an own conf file into /etc/rsyncd.conf plus a relevant secrets file - those files are supposed to take precedence over the files in /usr/etc if existing. Yet, the test fails to rsync from a such-configured rsync server in openQA openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-rsync-client@64bit fails in [rsync_client](https://openqa.opensuse.org/tests/3832319/modules/rsync_client/steps/14) ## Test suite description Maintainer: zluo@suse.de install and test rsync client ## Reproducible Fails since (at least) Build [20231221](https://openqa.opensuse.org/tests/3831845) ## Expected result Last good: [20231220](https://openqa.opensuse.org/tests/3828788) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=rsync-client&version=Tumbleweed)
the rsync.conf installed into /etc is https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/console/rsyncd.conf
This actually seems to be a test bug in the past, the package installed an /etc/rsyncd.secrets file with mode 0600; the test then adds credentials there using cat user:pass > /etc/rsyncd.secrets (preserving the mode of the file) as the file now does not exist in /etc, cat creates a new file with mode 644 - which in turn is denied by rsync s default config (strict modes on) This finding makes the bug INVALID (will file as a test issue in progress.o.o)
For reference: https://progress.opensuse.org/issues/152891