------- Comment From [email protected] 2017-06-21 08:39 EDT------- Exposing bug info to LaunchPad: --------------------------------------------- ---Problem Description---
Ubuntu 16.04.03: hwinfo --save-config option fails to save the configuration. ----Steps to Reproduce--- 1. Install hwinfo package. 2. Try to save the configuration using below command. hwinfo --<HARDWARE_ITEM> --save-config UID Logs: ===== root@ltc-boston27:/var/lib/lsvpd# hwinfo --disk --save-config R7kM.Xm7p8wTSTND 21: SCSI 20.0: 10600 Disk [Created at block.245] Unique ID: R7kM.Xm7p8wTSTND Parent ID: pbmW.zwwfKgs28SB SysFS ID: /class/block/sda SysFS BusID: 0:2:0:0 SysFS Device Link: /devices/pci0003:00/0003:00:00.0/0003:01:00.0/host0/target0:2:0/0:2:0:0 Hardware Class: disk Model: "SEAGATE ST2000NM0045" Vendor: "SEAGATE" Device: "ST2000NM0045" Revision: "N003" Serial ID: "ZC20J3TZ0000R72729UW" Driver: "aacraid", "sd" Driver Modules: "aacraid" Device File: /dev/sda (/dev/sg0) Device Files: /dev/sda, /dev/disk/by-id/scsi-35000c50086b03aaf, /dev/disk/by-id/wwn-0x5000c50086b03aaf, /dev/disk/by-path/pci-0003:01:00.0-scsi-0:2:0:0 Device Number: block 8:0-8:15 (char 21:0) Geometry (Logical): CHS 243201/255/63 Size: 3907029168 sectors a 512 bytes Capacity: 1863 GB (2000398934016 bytes) Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #15 (Serial Attached SCSI controller) Save Configuration: R7kM.Xm7p8wTSTND: failed --------------------------------------- Patch is available as a pull request: ------- I still feel that the ideal thing would have been that the patch was made a part of the hwinfo package to have the directories created automatically when the package is installed instead of requesting the distro-package maintainers to create the dirs. each time a fix is released. For this I re-approached the issue with a patch and pull request on hwinfo github repo.: https://github.com/openSUSE/hwinfo/pull/52 Hoping for the fix to be merged upstream soon. ~ Chandni -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1699490 Title: Ubuntu 16.04.03: hwinfo --save-config option fails to save the configuration. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hwinfo/+bug/1699490/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
