Bug 639999
| Summary: | Generated kickstart file lacks %end tags | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Sandro Mathys <sandro> |
| Component: | WebUI | Assignee: | Justin Sherrill <jsherril> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | urgent | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.2 | CC: | erik-fedora, jpazdziora, jsherril |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-11-23 13:26:15 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 623772 | ||
|
Description
Sandro Mathys
2010-10-04 14:13:33 UTC
So plan is: Test RHEL 3/4/5 with %end tags. a) If it works, add it to everything b) if it doesn't work we'll have to wrap them in if (!isRHEL5orGreater()) Yuck! I quickly tested this with a minimal kickstart file and centos 3.9/4.8/5.5 in KVM and that's my results: CentOS 3.9/4.8 will try to execute %end in %pre/%post (which results in a warning that no job control is active). One would see this in the log but not in the install screen. But with %end in %packages you get one of those dialog boxes telling you package %end could not be found. CentOS 5.5 shows the same behaviour in %pre/%post but gets an traceback in %packages, i.e. %end in %packages seems to trigger a bug :) Since CentOS 5 (based on Fedora Core 6) didn't support %end but Fedora supported it for several years already I started to wonder when it has actually been introduced. So I started to bug the folks in #anaconda about when %end was actually introduced. A real quick look at some source code was all they needed for the answer: <clumens> introduced: Date: Fri Aug 24 15:41:44 2007 +0000 <clumens> required: Date: Thu Jun 10 13:35:05 2010 -0400 <clumens> that's F8 and F14, respectively I really hope there's a way to implement that in spacewalk or we have a major problem :) FYI: just confirmed with dlehman from #anaconda that RHEL6 will support but not require %end - NOT using %end is considered 'deprecated', though So I think %end should always be added for any Fedora (I think <=7 can be safely ignored as <=11 is EOL and even 12 is going EOL in 2-3 months) and RHEL >=6, i.e. %end should always be added unless it's RHEL <=5 Mass-moving to space13. Justin, I can see commit 3eeed6a9c7d247605bf010f81511675e091823fa (and 1699189bd61e8b9fa2b67d4d5de827ebd091f8db) which has this bugzilla number in commit message and which seems to address this issue. That would also make this fixed in Spacewalk 1.2. Does this sound correct? *** Bug 645493 has been marked as a duplicate of this bug. *** Hey Jan, Yes, this bugzilla should be fixed by that commit. I'm not sure why i didn't update the bugzilla though. Sorry about that. -Justin |