Bug 21118

Summary: needless message: cannot get info for device * at /usr/lib/libDrakX/detect_devices.pm line 272
Product: Mageia Reporter: Stig-Ørjan Smelror <smelror>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: ghibomgx, marja11, pterjan
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: drakxtools CVE:
Status comment:
Attachments: Output of lspcidrake -v

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