Bug 21118 - needless message: cannot get info for device * at /usr/lib/libDrakX/detect_devices.pm line 272
Summary: needless message: cannot get info for device * at /usr/lib/libDrakX/detect_de...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-20 23:25 CEST by Stig-Ørjan Smelror
Modified: 2017-06-21 12:49 CEST (History)
3 users (show)

See Also:
Source RPM: drakxtools
CVE:
Status comment:


Attachments
Output of lspcidrake -v (5.50 KB, text/plain)
2017-06-20 23:26 CEST, Stig-Ørjan Smelror
Details

Description Stig-Ørjan Smelror 2017-06-20 23:25:43 CEST
Hardware: Alienware M17x R2 (2010)

Message when upgrading kernel:
cannot get info for device (6:0:0:1) at /usr/lib/libDrakX/detect_devices.pm line 272.
Creating: target|kernel|dracut args|basicmodules
You should restart your computer for kernel-desktop-4.9.34-1.mga6


Nothing serious, but this message should be squashed IMHO.

Cheers,
Stig
Comment 1 Stig-Ørjan Smelror 2017-06-20 23:26:53 CEST
Created attachment 9435 [details]
Output of lspcidrake -v
Comment 2 Marja Van Waes 2017-06-21 12:49:21 CEST
On February 7 this year, joeghi and pterjan discussed the issue on IRC.... it seems they didn't commit the fix that pterjan suggested, which was to change this line
http://gitweb.mageia.org/software/drakx/tree/perl-install/detect_devices.pm#n272 :

   warn("cannot get info for device ($_)"), next if !$device;

into
 
   next if !$device;

Source RPM: (none) => drakxtools
Summary: /usr/lib/libDrakX/detect_devices.pm line 272 => needless message: cannot get info for device * at /usr/lib/libDrakX/detect_devices.pm line 272
CC: (none) => ghibomgx, marja11, pterjan
Assignee: bugsquad => mageiatools


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