[Bug 220851] New: iptables specfile enhancement
https://bugzilla.novell.com/show_bug.cgi?id=220851 Summary: iptables specfile enhancement Product: openSUSE 10.2 Version: Beta 2 plus Platform: x86 OS/Version: Linux Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de Attached is a patch to allow setting KERNEL_DIR from the command line without having to change the specfile to look somewhere else than /usr/src/linux (this directory may not point to the intended kernel - and cannot be removed as a normal user). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 ------- Comment #1 from jengelh@gmx.de 2006-11-14 09:49 MST ------- Created an attachment (id=105206) --> (https://bugzilla.novell.com/attachment.cgi?id=105206&action=view) Proposed patch -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 ------- Comment #2 from jengelh@gmx.de 2006-11-14 14:22 MST ------- Created an attachment (id=105278) --> (https://bugzilla.novell.com/attachment.cgi?id=105278&action=view) fix previous attachment -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 jengelh@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #105206|0 |1 is obsolete| | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kernel-maintainers@forge.provo.novell.com |screening@forge.provo.novell| |.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |bnc-team-screening@forge.provo.novell.com |maintainers@forge.provo.nove| |ll.com | ------- Comment #3 from gregkh@novell.com 2006-11-15 17:25 MST ------- Not a kernel issue, reassigning... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mjancar@novell.com |screening@forge.provo.novell| |.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 mjancar@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #4 from mjancar@novell.com 2006-11-16 03:25 MST ------- It is better to use build instead of rpmbuild when rebuilding rpms btw, to get exactly the same environment as the original rpm was built in, otherwise presence of aditonal packages could trigger compilation of untested and possibly buggy code paths. fixed -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 ------- Comment #5 from jengelh@gmx.de 2006-11-16 03:28 MST ------- rpmbuild - not having to set up a chroot - is soo much faster :) chroot also requires root which is not always a given. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 jengelh@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 jengelh@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |REOPENED Resolution|FIXED | ------- Comment #6 from jengelh@gmx.de 2006-12-26 18:24 MST ------- It was only added to the %build section of the specfile, but it is also needed in %install. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 nadvornik@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mjancar@novell.com |prusnak@novell.com Status|REOPENED |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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 prusnak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #7 from prusnak@novell.com 2007-01-17 02:39 MST ------- I have already modified %install section on 4.1.2007 update. Closing -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 jengelh@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|Basesystem |Basesystem Product|openSUSE 10.2 |openSUSE 10.3 Resolution|FIXED | Fixed in Milestone|--- |Alpha 3plus Version|Beta 2 plus |Alpha 1plus ------- Comment #8 from jengelh@gmx.de 2007-03-11 10:43 MST ------- iptables-1.3.7-8.src.rpm is missing it in the %install section! Some modules henceforth don't get installed into %buildroot and are not packaged. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 prusnak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |jengelh@gmx.de ------- Comment #9 from prusnak@novell.com 2007-03-13 03:06 MST ------- (In reply to comment #8)
iptables-1.3.7-8.src.rpm is missing it in the %install section! Some modules henceforth don't get installed into %buildroot and are not packaged.
Where did you get iptables-1.3.7-8.src.rpm from? Both iptables-1.3.7-8.src.rpm and iptables-1.3.7-9.src.rpm in FACTORY contains my modification in %install section. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 jengelh@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|jengelh@gmx.de | ------- Comment #10 from jengelh@gmx.de 2007-03-13 07:01 MST ------- Somehow it does not. 14:00 takeshi:/home/jengelh # cd /dev/shm/ 14:00 takeshi:/dev/shm # umount /mnt 14:00 takeshi:/dev/shm # umount /mnt 14:00 takeshi:/dev/shm # mount ftp5.gwdg.de:/pub/linux /mnt 14:00 takeshi:/dev/shm # cd /dev/shm/ 14:00 takeshi:/dev/shm # mount ftp5.gwdg.de:/pub /mnt 14:00 takeshi:/dev/shm # rpm2cpio /mnt/opensuse/distribution/SL-OSS-factory/inst-source/suse/src/iptables-1.3.7-9.src.rpm | cpio -di 530 blocks 14:01 takeshi:/dev/shm # grep 'z "$KERNEL_DIR' *spec -n 69:[ -z "$KERNEL_DIR" ] && KERNEL_DIR="/usr/src/linux"; -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 prusnak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #11 from prusnak@novell.com 2007-03-13 07:11 MST ------- Ah I misinterpreted your sentence in comment #6:
It was only added to the %build section of the specfile, but it is also needed in %install.
"It" is very generic, i thought you are referring to replacing KERNEL_DIR=/usr/src/linux with KERNEL_DIR="$KERNEL_DIR". Line [ -z "$KERNEL_DIR" ] && KERNEL_DIR="/usr/src/linux"; was indeed missing in %install section. Closing. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220851 jengelh@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com