[Bug 727790] New: rpmlint should warn about using shellscript in %pretrans phase
https://bugzilla.novell.com/show_bug.cgi?id=727790 https://bugzilla.novell.com/show_bug.cgi?id=727790#c0 Summary: rpmlint should warn about using shellscript in %pretrans phase Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem AssignedTo: lnussel@suse.com ReportedBy: prusnak@suse.com QAContact: qa@suse.de CC: dmueller@suse.com Found By: --- Blocker: --- rpmlint should warn (or maybe error?) about using shellscript in %pretrans phase. The reason is that when the package and bash are installed in the same transaction the %pretrans script of the package fails. This is the problem that was hit recently by Studio guys while installing mysql package. I also talked with Panu (upstream rpm maintainer) and he claims there is no way to express something like "Requires(pretrans): bash" and even if there was it does not make much sense. Thus I think we should introduce this warning/error and provide a link to documentation how to rewrite bash pretrans script into a lua one. (probably inspired by http://www.rpm.org/wiki/PackagerDocs/RpmLua#AvailableLuaextensionsinRPM) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727790 https://bugzilla.novell.com/show_bug.cgi?id=727790#c Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|dmueller@suse.com |lnussel@suse.com AssignedTo|lnussel@suse.com |dmueller@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727790 https://bugzilla.novell.com/show_bug.cgi?id=727790#c Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Basesystem Version|Factory |13.1 Beta 1 Product|openSUSE 12.1 |openSUSE Factory -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727790 https://bugzilla.novell.com/show_bug.cgi?id=727790#c Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com