Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Dec 2014 14:30:07 +0100
From:      Thomas Krause <freebsd-stable@chef-ingenieur.de>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: freebsd-update 10.0 -> 10.1 segmentation fault (nsswitch.conf w mysql)
Message-ID:  <5484565F.4070201@chef-ingenieur.de>
In-Reply-To: <CACdU%2Bf9BwXhq%2BrWFG0zL7-ObVHTLoKf6jG5QUX_aioPvrYkjPg@mail.gmail.com>
References:  <1d89bae75778743583265187bc41a4ca@chef-ingenieur.de> <CACdU%2Bf9BwXhq%2BrWFG0zL7-ObVHTLoKf6jG5QUX_aioPvrYkjPg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Am 06.12.2014 20:31, schrieb Scot Hetzel:
> On Sat, Dec 6, 2014 at 4:35 AM, Thomas Krause
> <freebsd-stable@chef-ingenieur.de> wrote:
>> Hi,
>> binary update from Freebsd 10.0 to 10.1 Release fails after
>> 1st reboot with 10.1 kernel and running
>>
>> # freebsd-update install
>> Segmentation fault
>>
>> I found, removing the mysql entry from /etc/nsswitch.conf helps.
>> But running
>>
>> # freebsd-update install
>>
>> again, I get "Segmentation fault" again - the "old" nsswitch.conf
>> with mysql entries were installed.
>>
>> How can I fix that (where come the old nsswitch.conf from - a
>> find / doesn't help).
>>
> What port are you using to provide the MySQL support for nsswitch?

libnss-mysql-1.5_3             NSS module using a MySQL database for backend

>
> I checked the net/libnss-mysql port, and it doesn't touch nsswitch.conf.
>
> Did you check your ${PREFIX}/etc/rc.d scripts to see if a script is
> modifying /etc/nsswitch.conf?
>

no there is no rc-script that modifies nsswitch.conf.
I was able to upgrade to 10.1 by extracting the base.txz.
freebsd-upgrade doesn't work if you use a modified nsswitch.conf.

Regards,
Thomas.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5484565F.4070201>