[Bug 1230448] New: For what is makedumpfile-R.pl good?
https://bugzilla.suse.com/show_bug.cgi?id=1230448 Bug ID: 1230448 Summary: For what is makedumpfile-R.pl good? Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: kukuk@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- makedumpfile ships a file called /usr/bin/makedumpfile-R.pl It's the only remaining perl script in the core base system. There is no documentation nor help text what this tools is doing and how to use it. It's not even starting: node122:~ # makedumpfile-R.pl --help Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module) (@INC entries checked: /usr/lib/perl5/site_perl/5.40.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.40.0 /usr/lib/perl5/vendor_perl/5.40.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.40.0 /usr/lib/perl5/5.40.0/x86_64-linux-thread-multi /usr/lib/perl5/5.40.0 /usr/lib/perl5/site_perl) at /usr/bin/makedumpfile-R.pl line 103. BEGIN failed--compilation aborted at /usr/bin/makedumpfile-R.pl line 103. I don't like to get perl installed only for a script which does not even start. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230448 https://bugzilla.suse.com/show_bug.cgi?id=1230448#c1 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |petr@tesarici.cz --- Comment #1 from Stefan Hundhammer <shundhammer@suse.com> --- % osc maintainer -e makedumpfile Defined in package: Kernel:kdump/makedumpfile bugowner of makedumpfile : petr@tesarici.cz maintainer of makedumpfile : petr@tesarici.cz Defined in project: Kernel:kdump bugowner of makedumpfile : petr@tesarici.cz maintainer of makedumpfile : tiwai@suse.com, trenn@suse.com, petr@tesarici.cz, jbohac@suse.com, db7532@qq.com, dmair@suse.com, - Defined in project: Kernel bugowner of makedumpfile : - maintainer of makedumpfile : jeffm@suse.com, jslaby@suse.com, msuchanek@suse.com, kernel-bugs@suse.de, -, kernel-maintainers@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230448 https://bugzilla.suse.com/show_bug.cgi?id=1230448#c2 Jiri Bohac <jbohac@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbohac@suse.com --- Comment #2 from Jiri Bohac <jbohac@suse.com> --- It used to be copied to the dump directory, alongside the vmcore, for potential users of a flattened-format vmcore that don't have makedumpfile installed. This is now mostly useless because the crash utility itself can use the flattened-format vmcore. Customers just copying the vmcore to us for analysis also don't need it. So kdump no longer copies it to the dump directory. And even if it did - it was not meant to be run on the system where it was installed, but on the system where the vmcore was analyzed. The system where it is installed also has the makedumpfile binary so it can be used instead. So there is no reason to keep perl because this script is installed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230448 https://bugzilla.suse.com/show_bug.cgi?id=1230448#c3 Thorsten Kukuk <kukuk@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(jbohac@suse.com) --- Comment #3 from Thorsten Kukuk <kukuk@suse.com> --- (In reply to Jiri Bohac from comment #2)
It used to be copied to the dump directory, alongside the vmcore, for potential users of a flattened-format vmcore that don't have makedumpfile installed. This is now mostly useless because the crash utility itself can use the flattened-format vmcore. Customers just copying the vmcore to us for analysis also don't need it. So kdump no longer copies it to the dump directory.
Ok, if I understand you correctly, we don't use this script anymore. Which means for me we could drop it?
And even if it did - it was not meant to be run on the system where it was installed, but on the system where the vmcore was analyzed. The system where it is installed also has the makedumpfile binary so it can be used instead.
If the script is not meant to be run on the system where it was installed, it should not be installed into /usr/bin but maybe /usr/share/makedumpfile/ or something similar.
So there is no reason to keep perl because this script is installed.
If the script is installed, RPM will generate a dependency on perl, so you cannot remove perl. I see two options here: 1. if the script is no longer needed, remove it 2. if the script should stay, move it to /usr/share/... and make mode 644, so that no perl dependency is created by RPM. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230448 https://bugzilla.suse.com/show_bug.cgi?id=1230448#c4 Jiri Bohac <jbohac@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jbohac@suse.com) | --- Comment #4 from Jiri Bohac <jbohac@suse.com> --- I agree. Petr, if you are not opposed to moving the script to /usr/share please accept this request: https://build.opensuse.org/request/show/1200785 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230448 https://bugzilla.suse.com/show_bug.cgi?id=1230448#c5 Petr Tesařík <ptesarik@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED CC| |ptesarik@suse.com --- Comment #5 from Petr Tesařík <ptesarik@suse.com> --- I was considering complete removal, but the script itself is tiny, so we can ship it in case anybody needs it (e.g. to rearrange the dump on a non-Linux box). -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com