That shows two packages: skell-1.19-3 sysconfig-1.2-2 And sure enough, sysconfig.spec writes the rogue rc.local file.
So it appears that if we want to modify rc.local, we need to use our own sysconfig.spec. Thanks Peter, Douglas -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Peter Barada Sent: Monday, March 19, 2012 12:47 PM To: [email protected] Subject: Re: [Ltib] [LTIB] Modifying rc.local 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 [email protected] _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
