Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jun 2014 19:14:13 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        freebsd-hackers@freebsd.org, Jordan Hubbard <jkh@mail.turbofuzz.com>
Subject:   Re: Upgrading an i386 machine from amd64.
Message-ID:  <538BDDF5.708@mu.org>
In-Reply-To: <7977A65A-5ABE-49DD-8E76-074B54943D64@mail.turbofuzz.com>
References:  <538B61EC.9000403@mu.org> <5B82C892-12A4-4251-B3D2-A6D3EAAF90F9@dataix.net> <538B6FCC.9090301@mu.org> <B007D0DE-EFC1-49D8-9E6A-F4A24B66DB8C@dataix.net> <538B761C.7060300@mu.org> <50E51CBE-7F7B-4093-86A5-320ACE81072E@dataix.net> <538B7937.2030104@mu.org> <098847BE-04B5-4E6F-98B8-87B5C7055C69@mail.turbofuzz.com> <538B8494.3040701@mu.org> <7977A65A-5ABE-49DD-8E76-074B54943D64@mail.turbofuzz.com>

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

On 6/1/14, 1:27 PM, Jordan Hubbard wrote:
> On Jun 1, 2014, at 12:52 PM, Alfred Perlstein <bright@mu.org> wrote:
>
>> On 6/1/14, 12:45 PM, Jordan Hubbard wrote:
>>> On Jun 1, 2014, at 12:04 PM, Alfred Perlstein <bright@mu.org> wrote:
>>>
>>>> Unfortunately I'm doing it over NFS and I don't think we support chflags over NFS (not even with an extension).
>>> Try the installworld with NO_FSCHG=yes
>>>
>>> I think that catches at least 7 of the 8 places that need to be conditionalized. :)
>>>
>>> - Jordan
>>>
>> Thanks Jordan,
>>
>> I did wind up using that, but NFS still was giving me:
>> install -C -o root -g wheel -m 444   libcrypt.a /usr/soekris/usr/lib
>> install -C -o root -g wheel -m 444   libcrypt_p.a /usr/soekris/usr/lib
>> install -s -o root -g wheel -m 444   -fschg  libcrypt.so.5 /usr/soekris/lib
>> install: /usr/soekris/lib/libcrypt.so.5: Input/output error
> Well, like I said, I think the NO_FSCHG implementation is incomplete.  That’s weird though - bsd.lib.mk (in -current at least) does have a NO_FSCHG check.  Are you sure that’s set in your environment?  Did that change not make it into whatever branch you’re using, perhaps?
OK you were right about me forgetting to set NO_FSCHG in that pass, 
however even when I set it:

/usr/src # NO_FSCHG=YES TARGET=i386 DESTDIR=/usr/soekris make installworld
....
===> lib/libcrypt (install)
install -C -o root -g wheel -m 444   libcrypt.a /usr/soekris/usr/lib
install -C -o root -g wheel -m 444   libcrypt_p.a /usr/soekris/usr/lib
install -s -o root -g wheel -m 444     libcrypt.so.5 /usr/soekris/lib
install: /usr/soekris/lib/libcrypt.so.5: Input/output error
*** Error code 71

Stop.
make[5]: stopped in /usr/trees/freebsd.git/lib/libcrypt

It appears it's that schg is set on it on the target host:

.(02:10:18)(alfred@soekris.local)
/lib % ls -lo libcrypt*
-r--r--r--  1 root  wheel  schg   81988 Aug 16  2013 libcrypt.so.5
-r--r--r--  1 root  wheel  -    1468336 Aug 16  2013 libcrypto.so.6
-r--r--r--  1 root  wheel  -    1626140 Jun  1 11:15 libcrypto.so.7

Ugh, that was frustrating... but now fixed sorta...

Is there a post-processing step i can do on the target install host to 
get my schg bits set on the right things?

-Alfred





> - Jordan
>
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538BDDF5.708>