[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-factory
Subject: Re: [opensuse-factory] Tumbleweed update to 20200201 removed /etc/services
From: Knurpht-openSUSE <knurpht () opensuse ! org>
Date: 2020-02-21 23:54:01
Message-ID: 17985019.fvU16GopQv () knurpht-hp
[Download RAW message or body]
Op zaterdag 22 februari 2020 00:25:44 CET schreef Bernard Lang:
> Hi,
>
> I am a new Tumbleweed user, and this update 20200201 removing /etc/services
> was a charming welcome, as I could not get my mail to work for several days.
> I actually had to create the /etc/services file from web info ... wondering
> what else was wrong (I still seem to have bugs), and spent significant time
> on this.
>
> Regarding your explanation as to what should be done :
>
> I have 3 nsswitch.conf:
> -rw-r--r-- 1 root root 1175 Aug 3 2019 nsswitch.conf
> -rw-r--r-- 1 root root 1144 Jul 16 2019 nsswitch.confbak
> -rw-r--r-- 1 root root 1189 Jan 24 14:14 nsswitch.conf.rpmnew
>
> # diff nsswitch.conf nsswitch.conf.rpmnew
> 29c29
> < hosts: files mdns_minimal [NOTFOUND=return] dns
> ---
>
> > hosts: files dns
>
> 32,35c32,35
> < services: files
> < protocols: files
> < rpc: files
> < ethers: files
> ---
>
> > services: files usrfiles
> > protocols: files usrfiles
> > rpc: files usrfiles
> > ethers: files usrfiles
>
> 42c42
> < aliases: files
> ---
>
> > aliases: files usrfiles
>
> I do not understand what you mean by "Merge the changes": changes with
> respect to what ? Does one just replace nsswitch.conf by
> nsswitch.conf.rpmnew when nsswitch.conf was never modified by the user?
>
> Or is nsswitch.confbak the reference, and I should modify
> nsswitch.conf.rpmnew in the same way nsswitch.conf is derived from
> nsswitch.confbak, which is the oldest version I have ... though I have no
> idea regarding the origin of the modification.
>
> # diff nsswitch.conf nsswitch.confbak
> 29c29
> < hosts: files mdns_minimal [NOTFOUND=return] dns
> ---
>
> > hosts: files dns
>
> So I have to keep the line
> hosts: files mdns_minimal [NOTFOUND=return] dns
>
> I tried to find more details in the archive, but without success ... it is
> hard to read all of it in one reading.
>
> And I suppose I have to keep a new reference file if more changes occur ...
> though I am not sure how that works. I know there is significant technical
> literature on merging code variants (the only name I still have in mind is
> Tom Reps), and sophisticated techniques ... but I am a bit worried by this
> solution. Unless I missed the point completely.
>
> Cheers
>
> Bernard
>
> * Dominique Leuenberger / DimStar <dimstar@opensuse.org>, le 04-02-20, a
écrit:
> > See this thread:
> > https://lists.opensuse.org/opensuse-factory/2020-02/msg00023.html
> >
> > in short: check /etc/nsswitch.conf; you very likely have a .rpmnew
> > lying next to it. Merge the changes.
> >
> > Cheers,
> >
> > Dominique
Looks like, like me, you never changed the packaged default file, in which
case it's safe to go:
cp /etc/nsswitch.conf /etc/nsswitch,.conf.`date +%F`
cp /etc/nsswitch.conf.rpmnew /etc/nsswitch.conf
--
Gertjan Lettink a.k.a. Knurpht
openSUSE Forums Team
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic