Page MenuHomeVyOS Platform

show system integrity broken in 1.3
Closed, ResolvedPublic


vyos@vyos:~$ sh system integrity
Traceback (most recent call last):

File "/usr/libexec/vyos/op_mode/", line 69, in <module>
  sys.exit( main() )
File "/usr/libexec/vyos/op_mode/", line 62, in main
  pkgs = check_pkgs(dt)
File "/usr/libexec/vyos/op_mode/", line 52, in check_pkgs
  if fdt > dt:

TypeError: '>' not supported between instances of 'datetime.datetime' and 'NoneType'


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

hagbard created this object in space S1 VyOS Public.
hagbard changed the task status from Open to In progress.Aug 28 2020, 5:53 PM

Fixing up the code, but it will suffer the same issue as in T2835. That build file should be the last thing in the build process, otherwise there is no other way to find out what pkg were installed during the build.

hagbard changed the task status from In progress to Needs testing.Aug 28 2020, 7:16 PM
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 1:16 PM
erkin removed a subscriber: Active contributors.