Mailinglist Archive: opensuse-factory (607 mails)

< Previous Next >
Re: [opensuse-factory] New Tumbleweed snapshot 20200220 released! - hanging update of an older system!
24.02.2020 13:19, Dominique Leuenberger / DimStar пишет:

In order to address that, the %post script of aaa_base has actually
been enhanced to try to correct the nsswitch.conf for all users.

# Fix /etc/nsswitch.conf, either because admin ignored *.rpmnew,
# or because of YaST bug [bsc#1162916]
grep -q ^services.*usrfiles /etc/nsswitch.conf
if [ $? -eq 1 ]; then
cp /etc/nsswitch.conf /etc/nsswitch.conf.pre-usrfiles
sed -e 's|^\(services:.*[[:space:]]\)files\>([[:space:]].*\)*$|\1files
usrfiles\2|' /etc/nsswitch.conf > /etc/nsswitch.conf.usrfiles
mv /etc/nsswitch.conf.usrfiles /etc/nsswitch.conf
fi

This script has been in TW since snapshot 0206. Well possible that fix
is incomplete (@Thorsten: possibly it should be enhanced for
protocols/rpc/aliases?)


If protocol name cannot be resolved, mount.nfs fails.


< Previous Next >