Bug 147338
Summary: | initscripts-7.93.5-1.i386.rpm overwrites rc.local | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeroen Roodhart <j.r.roodhart> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | maurizio.antillon, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-03 20:50:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeroen Roodhart
2005-02-07 14:43:45 UTC
Was the previous one backed up as rpmsave/rpmnew? >Was the previous one backed up as rpmsave/rpmnew?
No it was not, that is what cost us a bit of time in the first place.
It took
a while to figure out that we got the default file from the RPM and
that it
wasn't our postinstall procedure that did this. I didn't have a look
at the
source rpm, but my guess is that something is amiss there.
If I can, I will do some more testing tommorow (I'm in the
Netherlands), but
it should be fairly simple to reproduce this.
Anyway, thanks for you interest.
~Jeroen
Are you *replacing* or adding, and are you doing this to /etc/rc.local or /etc/rc.d/rc.local? >Are you *replacing* or adding We're appending entries (thus "adding") to the original (first) file. Do you have any replacement logic scripted? (didn't see it with rpm -q --scripts --triggers...) Anyway, it remains why you would want to fuzz around with rc.local at all. >and are you doing this to /etc/rc.local or /etc/rc.d/rc.local /etc/rc.d/rc.local (ofcourse ;) ) As I said, I'll see if we can get some more debug information tommorow, but I really don't think it is the post-install code. (The entire install/install-check procedure takes about one and a half hour [we're using nfs over 100Mbit ethernet]), so naive debugging is a bit slow ;) ) Thanks, Jeroen rc.local is marked: %config(noreplace) /etc/rc.d/rc.local So, it *shouldn't* be getting replaced, and I'm somewhat confused as to how/why it would be. >So, it *shouldn't* be getting replaced, and I'm somewhat confused as
to how/why it would be.
Hmm, I was kind of hoping for a "silly me" reaction here ;)
OK, being as it is, I'll try to isolate this further (quadruple check our
scripting logic, and dump the files at certain points and then see
what is doing this.). I'll take a look at the source RPM as well (should
have done that in the first place)
I'll get back to you if I find the answer (or have an "easy"" and
deterministic test case)
Thanks again,
Jeroen
I just did a test FC3 install here, booted, and then did: 1) 'echo #blah blah blah' >> /etc/rc.d/rc.local 2) rpm -Fvh initscripts-7.93.5-1.i386.rpm It worked fine, and preserved my changes to rc.local. Closing this issue, as I was never able to reproduce this. If you can get a reliable reproduce, please reopen. |