[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] [LTIB] Modifying rc.local
From: |
Douglas Peterson |
Subject: |
Re: [Ltib] [LTIB] Modifying rc.local |
Date: |
Mon, 19 Mar 2012 23:14:52 +0000 |
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: address@hidden [mailto:address@hidden On Behalf Of Peter Barada
Sent: Monday, March 19, 2012 12:47 PM
To: address@hidden
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
address@hidden
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/ltib
- [Ltib] [LTIB] Modifying rc.local, Douglas Peterson, 2012/03/19
- Re: [Ltib] [LTIB] Modifying rc.local, Peter Barada, 2012/03/19
- Re: [Ltib] [LTIB] Modifying rc.local, Peter Barada, 2012/03/20
- Re: [Ltib] [LTIB] Modifying rc.local, Stuart Hughes, 2012/03/21
- Re: [Ltib] [LTIB] Modifying rc.local, Stuart Hughes, 2012/03/24
- Re: [Ltib] [LTIB] Modifying rc.local, Peter Barada, 2012/03/25