tree: 025add35985087b9c6d3262953b1091944b2e4aa [path history] [tgz]
  1. init/
  2. tmpfiles.d/
  3. BUILD.gn
  4. DIR_METADATA
  5. file_auto_lock.cc
  6. file_auto_lock.h
  7. machine_id_regen.cc
  8. machine_id_regen.h
  9. machine_id_regen_test.cc
  10. main.cc
  11. OWNERS
  12. README.md
  13. timestamp.cc
  14. timestamp.h
machine-id-regen/README.md

Machine ID Regen

Provides machine-id regeneration.

Usage

machine-id-regen --reason=REASON --minimum_age=AGE --machine_id_file=MACHINE_ID_PATH

  • REASON: This argument is mandatory. It can be either ‘network’ or ‘periodic’. This argument is mandatory.
  • AGE: Minimum time that should pass since last regeneration. If this condition is not met, regeneration will be skipped. (Default value: 0)
  • MACHINE_ID_PATH:Path to file in which regenerated machine-id should be stored.(Default value: /var/lib/dbus/machine-id)

Output

Application will log its output to /var/log/messages via syslog.

Logs are preceded with ‘machine-id-regen’.