04.02.2020 20:51, Stefan Seyfried пишет:
Am 04.02.20 um 18:09 schrieb Thorsten Kukuk:
On Tue, Feb 04, Ludwig Nussel wrote:
services: files usrfiles protocols: files usrfiles ethers: files usrfiles
That's a pretty nasty trap. How about making "files" just do the right thing itself?
That's only a trap for people who don't care about their configuration files after an update.
It may come unexpectedly, but TW *is* used by mere mortals who do not have the slightest idea what /etc/protocols or /etc/nsswitch.conf is, nor understand how to interpret "Protocol not supported" from their NFS mount, nor are professional system administrators. If TW is for geeks only, you should remove it from www.opensuse.org entirely. At least, remove this elevator pitch Fast! Integrated! Stabilized! Tested! If you ... need a stable platform ... and replace it with clear explanation that TW is only for those who want to tinker with Linux daily instead of using Linux to do their actual job.
Probably you should also fix nsswitch to be in /usr/etc/ and have /etc/nsswitch only contain the changes that the user wants.
And in this case, a %post that inserts usrfiles after files would have been the minimal sensible thing to do, the obvious being just making "files" do the same as "files usrfiles"
Exactly. This would avoid this problem in the first place. This is what name service switch abstraction is for. What's the point in having "file" abstraction if every time file is relocated we need another abstraction for this specific case only? Unless intention is to support *both* "files" and "usrfiles" in any combination. Because this is the only reason to have "usrfiles" as separate NSS module. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org