Bug 1074515 - Name Service Switch configuration is incorrect
Name Service Switch configuration is incorrect
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kubic
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Kubic Bugs
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-03 15:40 UTC by Martin Kravec
Modified: 2018-03-20 20:00 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kravec 2018-01-03 15:40:22 UTC
If a customer edits /etc/passwd, the edited version in the overlayfs
will shadow the original /etc/passwd and customers would never
see new system users.

Comparing nsswitch.conf on CaaSP and Kubic:

Kubic:
 passwd: compat
 group:  compat

CaaSP:
 passwd: files usrfiles
 group:  files usrfiles

Solution: libnss_usrfiles.so.2, which will look in /usr/etc/{group,passwd,shadow}
Comment 1 Thorsten Kukuk 2018-01-08 14:56:12 UTC
Adjusted libnss_usrfiles2 post install section to latest glibc changes.
Comment 2 Swamp Workflow Management 2018-01-08 15:30:05 UTC
This is an autogenerated message for OBS integration:
This bug (1074515) was mentioned in
https://build.opensuse.org/request/show/562559 Factory / libnss_usrfiles