INIT: cannot execute "/etc/rc.d/rc.pl"

Help with booting MiniMyth

Moderator: Pablo

Post Reply
captainkrypto
New Member
Posts: 4
Joined: Sat Jan 16, 2010 8:35 pm

INIT: cannot execute "/etc/rc.d/rc.pl"

Post by captainkrypto » Sat Jan 23, 2010 6:56 pm

So, I just finished compiling my shiny new custom minimyth build. The only patch I included was one to force the monitor off when I set the sleep timer. The compile and the install completed successfully. However, when I boot the new system it loads the kernel and rootfs and then I immediately get the error:

Code: Select all

INIT: cannot execute "/etc/rc.d/rc.pl"
Minimyth version: gar-minimyth-0.22.0-72
Compile system: Fedora 12 64-bit (2.6.31.5-127.fc12.x86_64)

I'm not even sure where to start looking to fix this. Anyone have any suggestions as to where to start debugging?

tob
New Member
Posts: 9
Joined: Wed Jan 20, 2010 4:57 pm

Re: INIT: cannot execute "/etc/rc.d/rc.pl"

Post by tob » Thu Jan 28, 2010 11:27 am

Same here...

I'm pretty sure something is wrong with the perl stuff.
after replacing the contents of rc.pl with

Code: Select all

#!/bin/ash
/bin/ash
I was abel to crawl through the filesystem... but

Code: Select all

find / -name perl* 
found only a bunch of llicence and version files related to perl...

I also get

Code: Select all

[...]
stripping perl
find: `/var/lib/mythtv/zeug/gar-minimyth-0.22.0-72/script/meta/minimyth/work/main.d/minimyth-trunk.23313-72/build/image/rootfs~/usr/lib/perl5': No such file or directory
[..]
during 'make install'
so i think this is where we should search a solution... Any ideas?
I already run 'make clean' and 'make build' in script/perl/ and it built ust fine... but didn't make any difference :-(
Is there a way to make 'make install' a little more verbose?

tob
New Member
Posts: 9
Joined: Wed Jan 20, 2010 4:57 pm

Re: INIT: cannot execute "/etc/rc.d/rc.pl"

Post by tob » Fri Jan 29, 2010 9:12 am

we both are pretty stupid :oops:
all you need to do is, add 'perl' to mm_SOFTWARE

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: INIT: cannot execute "/etc/rc.d/rc.pl"

Post by Pablo » Fri Jan 29, 2010 6:44 pm

Oops. I should make perl no longer selectable as it is required by init.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

captainkrypto
New Member
Posts: 4
Joined: Sat Jan 16, 2010 8:35 pm

Re: INIT: cannot execute "/etc/rc.d/rc.pl"

Post by captainkrypto » Fri Jan 29, 2010 7:54 pm

tob wrote:we both are pretty stupid :oops:
all you need to do is, add 'perl' to mm_SOFTWARE
Good catch!
Pablo wrote:Oops. I should make perl no longer selectable as it is required by init.
Heh. I was actually thinking about that because I used the same ~/minimyth.conf.mk for my last successful build.

With that said, I've added 'perl' to mm_SOFTWARE in my ~/minimyth.conf.mk file. Is there an easy way to rebuild the rootfs? Do I have to run 'make clean && make install' in meta/minimyth? Wouldn't that cause me to have to re-run 'make build'?

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: INIT: cannot execute "/etc/rc.d/rc.pl"

Post by Pablo » Fri Jan 29, 2010 8:00 pm

captainkrypto wrote:Is there an easy way to rebuild the rootfs? Do I have to run 'make clean && make install' in meta/minimyth? Wouldn't that cause me to have to re-run 'make build'?
Yes, run 'make clean', 'make build' and 'make install'. As all the packages are already build, 'make build' will not cause them to rebuild.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply