Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2013 19:20:21 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: /rescue/init wrong permissions
Message-ID:  <51193665.3070507@gmail.com>
In-Reply-To: <5118C2E5.8030005@gmail.com>
References:  <CAO%2BPfDdoLHDZfzgAUNEWEMSb5QHTtwSBOUNDoL-Fj9H9VjoMHg@mail.gmail.com> <5118C2E5.8030005@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/02/2013 11:07, Joshua Isom wrote:
> On 2/10/2013 3:22 PM, David Demelier wrote:
>> Hello
>>
>> I've just cross compiled FreeBSD 9.1-RELEASE i386 for an embedded device.
>> After some days and reboot, I just realized that the device does not boot
>> anymore, so I've plugged a serial cable and saw a panic with error :
>>
>> exec /rescue/init: error 13
>>
>> I checked the permissions and noticed that permissions are only set to
>> read
>> on this file :
>>
>> -r--r--r--  1 root  wheel  5576 10 Feb 2013 rescue/init
>>
>> On my laptop it's -r-xr-xr-x. I have installed it to my embedded device
>> with standard targets such as make installworld and make distribution,
>> which kind of steps set these permissions ?
>>
>> Cheers,
>>
> 
> Just a quick guess, the file system is mounted as noexec.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

Okay it seems I've totally mangled the files, my /rescue/* file were
plain C source file. I guess I've probably broke everything when I
misuse the -d and -D options from mergemaster.

Cheers,



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