Bug 12579 - lsnetdrake crashed - missing Requires on nmap and samba-client (nmblookup)
Summary: lsnetdrake crashed - missing Requires on nmap and samba-client (nmblookup)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-04 20:11 CET by Florian Hubold
Modified: 2022-06-09 14:53 CEST (History)
2 users (show)

See Also:
Source RPM: drakxtools-backend-16.26.7-1.mga4
CVE:
Status comment:


Attachments

Description Florian Hubold 2014-02-04 20:11:08 CET
The "lsnetdrake" program crashed. Drakbug-16.26.7 caught it.

Trying to run /usr/bin/lsnetdrake

Could not perform nmap scan - No such file or directory at /usr/lib/libDrakX/fs/remote/nfs.pm line 56.
Perl's trace:
standalone::bug_handler() called from /usr/lib/libDrakX/fs/remote/nfs.pm:56
fs::remote::nfs::find_servers() called from /usr/bin/lsnetdrake:18

Theme name: oxygen-gtk
Kernel version = 3.12.8-desktop-2.mga4
Distribution=Mageia release 4 (Official) for x86_64
CPU=Intel(R) Core(TM)2 Duo CPU     P7450  @ 2.13GHz
Comment 1 Florian Hubold 2014-02-04 20:40:49 CET
Even after installing nmap still doesn't run:

[doktor5000@Mageia4 ~]$ LC_ALL=C /usr/bin/lsnetdrake
sh: nmblookup: command not found
sh: nmblookup: command not found

After installing samba-client, lsnetdrake runs successfully:

[doktor5000@Mageia4 ~]$ LC_ALL=C /usr/bin/lsnetdrake
//fritz-nas/FRITZ.NAS

I've commited http://svnweb.mageia.org/packages?view=revision&revision=582040 and if nobody objects would also commit that for 4.

Assignee: bugsquad => thierry.vignaud
CC: (none) => doktor5000

Florian Hubold 2014-02-04 20:41:34 CET

Summary: lsnetdrake crashed => lsnetdrake crashed - missing Requires on nmap and samba-client (nmblookup)

Comment 2 Florian Hubold 2014-02-05 22:08:07 CET
@tv: As you already submitted a new release, is it OK to commit this for 4 also? Can be submitted later if there are other changes piled up.
Comment 3 Luc Menut 2014-02-06 00:00:33 CET
(In reply to Florian Hubold from comment #1)
> 
> I've commited
> http://svnweb.mageia.org/packages?view=revision&revision=582040 and if
> nobody objects would also commit that for 4.

I'm not fond of this new requires. Many users never use lsnetdrake.
I would prefer that we try to install these 2 packages on demand, only when lsnetdrake is used.

@tv couldn't we use ensure_files_are_installed to install nmap and samba-client on demand, like for nfs tools
http://gitweb.mageia.org/software/drakx/commit/?id=7a82a8cc9970268f3c94ca1d74356a174e525a99

CC: (none) => lmenut

Comment 4 Florian Hubold 2014-02-06 20:22:01 CET
TBH, I've never seen it before, but it didn't work, so I've fixed it. If it's not used anywhere it may be a better option to drop it? But I don't know the use case for that standalone binary.

Maybe what you proposed could be documented somewhere obvious, e.g. in packaging guidelines? https://wiki.mageia.org/en/Packaging_guidelines
Would probably increase it's adoption/usage ;)
Comment 5 Olivier Blin 2014-03-06 23:20:57 CET
This change is quite intrusive, it pulls about 60 MB of samba client libs in a minimal installation!

CC: (none) => mageia

Comment 6 Florian Hubold 2014-03-07 22:00:46 CET
Well, I've only committed this and asked if there are objections.
tv submitted it together with a new release, but no feedback at all.

I've no problems at all if this is reverted completely, or replaced by the functionality proposed by Luc. Feel free to change it as you like.
Comment 7 Samuel Verschelde 2015-09-21 13:18:39 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 8 Florian Hubold 2015-09-24 01:49:40 CEST
Set version to cauldron as there have been objections on the previous change.

Hardware: x86_64 => All
Version: 4 => Cauldron

Luc Menut 2016-08-25 16:42:45 CEST

CC: lmenut => (none)

Comment 9 Thierry Vignaud 2022-06-09 14:53:59 CEST
(In reply to Luc Menut from comment #3)
(In reply to Olivier Blin from comment #5)
> This change is quite intrusive, it pulls about 60 MB of samba client libs in
> a minimal installation!

I've actually reverted this dep and fixed lsnetdrake not to crash if they're missing.
See https://wiki.mageia.org/en/Basesystem_Size_Evolution

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.