[Bug 1720304] Comment bridged from LTC Bugzilla

bugproxy bugproxy at us.ibm.com
Tue Oct 10 18:19:31 UTC 2017


------- Comment From hegdevasant at in.ibm.com 2017-10-10 14:16 EDT-------
(In reply to comment #9)
> On Tue, Oct 03, 2017 at 05:49:19PM -0000, bugproxy wrote:
> > 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.
>
> Does this trade an install-time delay against a delay the first time the
> user runs the command?

Somewhat yes. It will definitely avoid install time delay.

On runtime whenever udev script trigger (like after reboot), we will
rerun vpdupdate and it will have delay... which is fine.

>
> Or, since the udev rule sets the flag each time it's run, will there always
> be a delay on the first run after each reboot, thus making the install-time
> generation pointless?

yes.

-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