action #67987
closed[u] sssd test wants to modify /etc/nsswitch.conf (which no longer exists on TW)
0%
Description
Observation¶
The system default nsswitch file is in /usr/etc - only when an admin configures it himself will he write it to /etc. A default setup has oj /etc/nsswitch anymore.
The config file was edited via sed in https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/sssd-tests/testincl.sh#L14
Since the change in Tumbleweed about packages not installing anything under /etc, packages install default config files under /usr/etc/.
Users/Sysadmin should override those defaults manually creating config files under /etc/, how those config file should be created can vary depending on the package implementation. For nsswitch it may be as simple as creating /etc/nsswitch
Reproducible¶
Updated by okurz almost 4 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: extra_tests_in_textmode
https://openqa.opensuse.org/tests/1335955
To prevent further reminder comments one of the following options should be followed:
- The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
- The openQA job group is moved to "Released"
- The label in the openQA scenario is removed
Updated by okurz over 3 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: extra_tests_in_textmode
https://openqa.opensuse.org/tests/1350181
To prevent further reminder comments one of the following options should be followed:
- The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
- The openQA job group is moved to "Released"
- The label in the openQA scenario is removed
Updated by SLindoMansilla over 3 years ago
- Subject changed from sssd test wants to modify /etc/nsswitch.conf (which no longer exists on TW) to [u] sssd test wants to modify /etc/nsswitch.conf (which no longer exists on TW)
Updated by SLindoMansilla over 3 years ago
- Description updated (diff)
- Status changed from New to Workable
- Target version set to Milestone 30
- Estimated time set to 42.00 h
Updated by SLindoMansilla over 3 years ago
This ticket contains useful information about how nsswitch.conf
is expected to be handled: https://bugzilla.suse.com/show_bug.cgi?id=1175238
Updated by dimstar over 3 years ago
Proposal:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10941
Does basically the same as we expect the user to do: before modifying /etc/nsswitch, copy it from /usr/etc in order to deviate from the distro default.
with this, the sssd test module passed.
Updated by zluo over 3 years ago
- Status changed from In Progress to Workable
in progress, but not assigned! change to workable
Updated by zluo over 3 years ago
- Assignee set to SLindoMansilla
I think we need to check this again for more details how to handle this ticket. Let us talk about in next grooming session, thanks.
Updated by SLindoMansilla over 3 years ago
- Status changed from Workable to New
- Assignee deleted (
SLindoMansilla)
Updated by dimstar over 3 years ago
zluo wrote:
I think we need to check this again for more details how to handle this ticket. Let us talk about in next grooming session, thanks.
So you mean my PR is not the direction that you'd go, even though that is basically exactly what a user is supposed to do when modifting nsswitch.conf?
Updated by dimstar over 3 years ago
- Status changed from New to Resolved
dimstar wrote:
Proposal:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10941
Does basically the same as we expect the user to do: before modifying /etc/nsswitch, copy it from /usr/etc in order to deviate from the distro default.
with this, the sssd test module passed.
PR was merged, sssd test passed
https://openqa.opensuse.org/tests/1384427#step/sssd/83
Updated by SLindoMansilla over 3 years ago
- Assignee changed from dimstar to riafarov