Inside init.rc, did you run chmod after mounting /system partition?
chmod 0777 /system/bin/trace_daemon.out

On Feb 25, 5:46 am, Deva R <[email protected]> wrote:
> btw,
>
> - the files are present with all permissions enabled.
> - manual invocation from android shell or busybox shell, throws same error..
>
> btw, i use codesourcery tool chain, to generate .out.
> will this be a problem,  and should i use
> mydroid/prebuilt/toolchain/linux-x86/.... ??
>
> Thanks,
> Deva
>
> On Thu, Feb 25, 2010 at 2:13 AM, Deva <[email protected]> wrote:
> > Hi,
>
> > When I try to start a daemon in init.rc, I get below error, despite
> > the files are present with all previleges..
> > init: cannot execve('/system/bin/trace_daemon.out'): No such file or
> > directory
>
> > any hint why .out will throw such error?? I've seen user side
> > processes like a.out were lauched in various platforms..
>
> > btw, Added below in init.rc
> > service trace_d /system/bin/trace_daemon.out
> >    user root
> >    group audio
> >    oneshot
>
> > Thanks,
> > Deva
>
> > --
> > unsubscribe: 
> > [email protected]<android-porting%[email protected]>
> > website:http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to