yep, having up to 3 seconds worth of stale system data is too much time.
Also, I think the builtins can just validate themselves - for example
the kmod builtin can trivially call kmod_validate_resource(ctx) every
time it's asked to load a module, and I think the other builtins that
implement .validate probably also can self-validate too, and remove the
udev_builtin_validate() call entirely.

I have a small draft patch just to the kmod builtin that I'm testing:
https://code.launchpad.net/~ddstreet/+git/systemd/+ref/sf149300

I'll take another look next week to see if it can be expanded to cover
all the builtins that do validation, and submit something upstream for
discussion.

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

Title:
  systemd kmod builtin uses out of date kmod context

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1714505/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to