Bug 1223522
| Summary: | does not run rpm %pre | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Florian Ludwig <vierzigundzwei> |
| Component: | supermin | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | ptoscano, rjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-10-18 13:26:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Florian Ludwig
2015-05-20 18:23:13 UTC
This is understood, and not a bug. If you want commands to run at boot then you have to add them to your appliance's init script. It will never be possible, nor desirable, to run the %pre/%post sections during appliance builds. However it would be a desirable feature for supermin to be able to extract the %pre/%post scripts from RPMs, either for the user to examine them, or even to generate an init script automatically. (debootstrap has a similar feature to this) In general I have argued that Fedora should minimize the use of %pre/%post scripts. Almost all could be banished with only a little effort. This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 |