Ubuntu 16.04.03: hwinfo --save-config option fails to save the configuration.

Bug #1699490 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
Invalid
High
Sebastien Badia
hwinfo (Ubuntu)
Invalid
High
Ubuntu on IBM Power Systems Bug Triage

Bug Description

== Comment: #1 - MAMATHA INAMDAR <email address hidden> - 2017-06-15 00:41:47 ==
similar issue is fixed in 144331,
Chandani please look into this issue.

== Comment: #6 - Chandni Verma <email address hidden> - 2017-06-21 07:12:13 ==
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

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-155717 severity-high targetmilestone-inin---
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → hwinfo (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 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

Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
assignee: nobody → Sebastien Badia (sbadia)
Revision history for this message
Frank Heimes (fheimes) wrote :

The hwinfo package is part of the universe section of the Ubuntu archive. Universe packages are maintained by the community, and the maintainers do not necessarily work for Canonical, therefore these packages are not always supported directly by Canonical.

The existing process to update packages in the Universe archive with patches, is as follows:

1) Upstream: Upstream your fix to the appropriate upstream project.
2) Debian: once your patch is ack’ed and accepted upstream, you need to request a merge of this patch to the package in Debian stable.
https://www.debian.org/Bugs/Reporting use this link to report your issue and submit a fix.
3) Ubuntu: Once it is merged into Debian stable, request a merge of this package with Ubuntu.
https://wiki.ubuntu.com/Debian/Bugs will provide you an overview on how to handle bugs that are reported to Debian and subsequently to Ubuntu.

You will need to work with respective maintainers upstream, Debian and Ubuntu, during this process. For critical issues we can advise you as you go through this process and help push the patches through by chasing the appropriate project contributors.

Revision history for this message
Breno Leitão (breno-leitao) wrote :

Thanks Frank. I am rejecting this bug at our side for now.

Revision history for this message
Sebastien Badia (sbadia) wrote :

Hello!

This bug is a duplicate of https://bugs.launchpad.net/bugs/1657544
The fix was released in the 21.39-1 version of hwinfo (refs: http://metadata.ftp-master.debian.org/changelogs/main/h/hwinfo/hwinfo_21.46-1_changelog )

Regards,

Changed in ubuntu-power-systems:
status: New → Fix Committed
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-06-23 05:16 EDT-------
(In reply to comment #16)
> Hello!
>
> This bug is a duplicate of https://bugs.launchpad.net/bugs/1657544
> The fix was released in the 21.39-1 version of hwinfo (refs:
> http://metadata.ftp-master.debian.org/changelogs/main/h/hwinfo/hwinfo_21.46-
> 1_changelog )
>
> Regards,

That bug was regarding Ubuntu 16.10. And fix was made in Ubuntu package not in upstream master. This bug is about the same issue seen in Ubuntu 16.04.3.

Anyways, I'll close the bug for the reason mentioned in Comment#12 and ask the reporter to open a Community (Debian) bug for the issue.

Pavithra, can you please open a Community (Debian) bug for this issue?

Closing this one.

Thanks everyone.

bugproxy (bugproxy)
tags: added: targetmilestone-inin16043
removed: targetmilestone-inin---
Manoj Iyer (manjo)
Changed in ubuntu-power-systems:
importance: Undecided → High
Changed in hwinfo (Ubuntu):
importance: Undecided → High
Manoj Iyer (manjo)
tags: added: triage-a
Frank Heimes (fheimes)
Changed in hwinfo (Ubuntu):
status: New → Invalid
Changed in ubuntu-power-systems:
status: Fix Committed → Invalid
Manoj Iyer (manjo)
tags: added: triage-g
removed: triage-a
Frank Heimes (fheimes)
tags: added: universe
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.