[Bug 421243] New: rpmlint: verifyscript verify_permissions misuse ( example xorg-x11)
https://bugzilla.novell.com/show_bug.cgi?id=421243 Summary: rpmlint: verifyscript verify_permissions misuse (example xorg-x11) Product: openSUSE.org Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: P5 - None Component: BuildService AssignedTo: dmueller@novell.com ReportedBy: crrodriguez@novell.com QAContact: adrian@novell.com CC: sndirsch@novell.com Found By: Development %verifyscript and %verify_permissions are sometimes misused, I just found that the package xorg-x11 calls those macros in the %clean section instead of %post (o_O) we have two issues here: a)xorg-x11 has to be fixed b) rpmlint or whatever can check this error, and abort the build. -- 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=421243 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421243#c1 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro@novell.com --- Comment #1 from Stefan Dirsch <sndirsch@novell.com> 2008-08-28 18:52:37 MDT --- (In reply to comment #0 from Cristian Rodriguez)
%verifyscript and %verify_permissions are sometimes misused, I just found that the package xorg-x11 calls those macros in the %clean section instead of %post (o_O)
I don't know. On SLES10 these macros were used in %install, not in %post either. I'm rather sure Rudi added them. I usually don't known such macros. What do you mean with "(o_O)"? -- 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=421243 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421243#c2 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |crrodriguez@novell.com --- Comment #2 from Stefan Dirsch <sndirsch@novell.com> 2008-08-29 12:09:45 MDT ---
What do you mean with "(o_O)"?
==> NEEDINFO -- 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=421243 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421243#c5 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|sndirsch@novell.com | --- Comment #5 from Stefan Dirsch <sndirsch@novell.com> 2008-08-29 12:44:31 MDT --- (In reply to comment #0 from Cristian Rodriguez)
%verifyscript and %verify_permissions are sometimes misused, I just found that the package xorg-x11 calls those macros in the %clean section instead of %post (o_O)
we have two issues here:
a)xorg-x11 has to be fixed
done. -- 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=421243 User ro@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421243#c6 --- Comment #6 from Ruediger Oertel <ro@novell.com> 2008-08-31 16:43:19 MDT --- sorry ... I think you are wrong. "%verifyscript" is a script of it's own and not part of %post/%check or whatever but defines it's own section. %verifyscript is a scriptlet that is called if you do an "rpm -V $PACKAGE" and not during %post or whatever. (and such: it does not really matter if %verifyscript is called in %clean or %post, it's not a macro but a section identifier in the specfile.) -- 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=421243 User dmueller@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421243#c7 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #7 from Dirk Mueller <dmueller@novell.com> 2008-09-02 11:19:48 MDT --- there is no error according to comment #6, resolving as invalid. Thanks for the bug report though, I learned something new :) -- 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