------- Comment From [email protected] 2016-05-12 05:30 EDT-------
(In reply to comment #11)
> I'm sorry, but you have not addressed my question.  Detection of changes is
> handled via the udev rule.  The udev rule does not depend on the prior
> existence of this file; it simply does:

Ah! That's correct. I overlooked the issue.

>
> KERNELS=="*", ACTION=="*", DEVPATH=="/devices/*", RUN+="/bin/touch
> /var/lib/lsvpd/run.vpdupdate"
>
> If this udev rule is correct, its behavior can be simulated via the
> following:
> # apt-get install libvpd-2.2-2
> # ls -l /var/lib/lsvpd/
> total 0
> # apt-get install lsvpd
> # ls -l /var/lib/lsvpd/
> total 468
> -rw-r--r-- 1 root root 479232 Jan 22 21:27 vpd.db
> # /bin/touch /var/lib/lsvpd/run.vpdupdate
> # ls -l /var/lib/lsvpd/
> total 468
> -rw-r--r-- 1 root root      0 Jan 22 21:28 run.vpdupdate
> -rw-r--r-- 1 root root 479232 Jan 22 21:27 vpd.db
> # lsvpd > /dev/null
> # ls -l /var/lib/lsvpd/
> total 492
> -rw-r--r-- 1 root root      0 Jan 22 21:28 run.vpdupdate
> -rw-r--r-- 1 root root 479232 Jan 22 21:28 vpd.db
> -rw-r--r-- 1 root root  23917 Jan 22 21:28 vpd.db.2016.1.22.21.27.30.gz
> #
>
> None of this requires the stamp file to be shipped in the package.  And this
> also still doesn't address the problems, identified in my first reply, with
> shipping such a stamp file in a library package.

We use that file to figureout whether vpd.db needs to be updated or not.

>
> So please show what actually fails by not having this file in the package,
> because I don't see it.

I think we can close this bug.

-Vasant

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

Title:
  Ubuntu 14.04.03 Missing file - run.vpdupdate in libvpd package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvpd/+bug/1492895/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to