[Bug 1720304] Comment bridged from LTC Bugzilla

bugproxy bugproxy at us.ibm.com
Tue Oct 3 17:49:19 UTC 2017


------- Comment From hegdevasant at in.ibm.com 2017-10-03 13:41 EDT-------
(In reply to comment #4)
> Hi Vasant,
> does that mean that we don't need to run vpdupdate on both, installation of
> a new package, and upgrade of the package ?

Yes.

> If so, what is vpdupdate binary needed for ? Do we still need to keep it
> packaged ?

Yes. Let me try to make it clear. vpdupdate command collect system vpd
from various source and creates static sqlite db under /var/lib/lsvpd
and everytime when something changes we had to run this command
manually. Sometime back we added udev script to detect changes in sysfs
and run vpdupdate automatically next time whenever lscfg/lsvpd is ran.

Hence I'm thinking lets not run this command during install. Lets defer
until user calls lsvpd/lscfg first time.

-Vasant

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsvpd in Ubuntu.
https://bugs.launchpad.net/bugs/1720304

Title:
  lsvpd: Do not run vpdupdate during installation

Status in The Ubuntu-power-systems project:
  New
Status in lsvpd package in Ubuntu:
  New

Bug description:
  == Comment: #0 - VASANT HEGDE <hegdevasant at in.ibm.com> - 2017-09-28 23:59:41 ==
  ---Problem Description---
  Presently during installation we run `vpdupdate` command which generates vpd database. (see debian/postinst) .

  Its quite heavy weight process.  Also we have way to detect/rebuild
  database during runtime. Hence there is no need to run this command
  during installation.

  Lets remove it from installation script.

  Contact : Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

  -Vasant

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1720304/+subscriptions



More information about the foundations-bugs mailing list