[Fedora-livecd-list] chkconfig on doesn't work for init script in livecd

msacks ntwrkd at gmail.com
Fri Nov 19 19:56:23 UTC 2010


In /usr/share/spin-kickstarts/fedora-live-base.ks it shows chkconfig's
in the %post section.

I do see an additional section that says %post --nochroot, not sure if
putting it there would help.



On Fri, Nov 19, 2010 at 11:36 AM, Bruno Wolff III <bruno at wolff.to> wrote:
> On Fri, Nov 19, 2010 at 11:25:00 -0800,
>  msacks <ntwrkd at gmail.com> wrote:
>>
>> What is super-confusing is that my init script works with chkconfig if I run
>> /sbin/chkconfig --add custombinary
>> /sbin/chkconfig --level 35 custombinary on
>>
>> once my livecd is booted up, but for some reason it isn't getting
>> turned on by default during the livecd creation.
>
> I believe the post stuff runs in the chroot environment that the image
> build is run in, but not all of that makes it too the live image. For some
> stuff you need to put it in a file that will run at boot time. Take a
> look at what some of the ks files in the fedora-kickstarts do.
>


More information about the livecd mailing list