Skip to content
Tim Hardeck edited this page Jan 19, 2016 · 9 revisions

Specialties of Ubuntu inspection

Config / Changed Managed file inspectors

  • Many packages do not provide checksums for every file - check /var/lib/dpkg/info/<packagename>.md5sums
  • Dpkg is not able to determine if a file size, owner or permission have changed

Thus machinery is only able to see content changes of files were the maintainer did provide a checksum.

Service inspector

  • Ubuntu uses upstart as init process
  • Not all services have been converted to upstart yet, some still are handled only with SysV tools

Thus machinery needs to query services using upstart and SysV tools for complete coverage. We set the value of the legacy_sysv field in the manifest to true to indicate the mixed state.

Pattern inspector

  • Patterns on debian like systems as ubuntu are called "tasks"
  • Tasks can be listed by a tool called tasksel, which not necessarily is installed on a Ubuntu system
  • If tasksel is not installed there is no simple way to determine the tasks installed

We do show a message telling the user that machinery can not inspect the patterns on a ubuntu system in the case of tasksel not being installed.