[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] [LTIB] Modifying rc.local
From: |
Peter Barada |
Subject: |
Re: [Ltib] [LTIB] Modifying rc.local |
Date: |
Mon, 19 Mar 2012 15:46:59 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Lightning/1.0b2 Thunderbird/3.1.19 |
On 03/19/2012 03:20 PM, Douglas Peterson wrote:
> I've been having trouble modifying rc.local for our system.
>
> The problem is that changes to rc.local don't 'stick'.
>
> Originally I was using the merge directory and this worked.. sometimes. I
> usually wiped the entire rootfs prior to running LTIB as this guaranteed the
> rootfs would contain the one in our merge directory.
>
> We recently moved all of our /etc/rc.d changes from the merge method to a
> Skell package patch. I figured that would fix the rc.local stickiness issue,
> but it doesn't.
>
> Somehow a rogue copy of rc.local gets injected into the rootfs. Where is this
> coming from?
Once you have it built, (and your changes to etc/rc.d/rc.local got wiped
out), you can:
/opt/ltib/usr/bin/rpm --root `pwd`/rootfs --dbpath /var/lib/rpm/ -qf
/etc/rc.d/rc.local
To find out which package "owns" it. I'll be its owned by the skell
package...
--
Peter Barada
address@hidden