IPROP-LOG(8)
π IPROP-LOG π
okay bestie, gather round, because we're about to get intimately acquainted with the iprop log file π¦ this little darling is the iprop-log command, living its best life in section 8 of the System Manager's Manual, and its whole job is to examine and maintain the iprop log file. yes. that's it. that's the gig. and it slays at it β¨
πΈ SYNOPSIS πΈ
the way you actually call this thing, verbatim, no edits:
iprop-log [--version] [-h | --help] command
iprop-log truncate [-c file | --config-file=file] [-r string |
--realm=string] [-K integer | --keep-entries=integer] [-B
integer | --max-bytes=integer] [-R | --reset] [-h | --help]
[log-file]
iprop-log dump [-c file | --config-file=file] [-r string |
--realm=string] [-n | --no-lock] [-R | --reverse]
[-h | --help] [log-file]
iprop-log replay [--start-version=version-number]
[--end-version=version-number] [-c file | --config-file=file]
[-r string | --realm=string] [-h | --help] [log-file]
iprop-log last-version [-c file | --config-file=file] [-r string |
--realm=string] [-n | --no-lock] [-h | --help] [log-files]
iprop-log signal [-c file | --config-file=file] [-r string |
--realm=string] [-h | --help]
β¨ DESCRIPTION β¨
so like, the options that are supported across the board, the universal ones, the main characters π
--versionβ shows you the version. iconic of it, honestly.-h,--helpβ help. your emotional support flag π«Ά
and then command can be one of the following, and each one comes with its own little entourage of flags. let's go π
π truncate
the β¨spring cleaningβ¨ command. flags first:
-c file,--config-file=fileβ configuration file-r string,--realm=stringβ realm-K integer,--keep-entries=integer-B integer,--max-bytes=integer-R,--reset
okay so here's the tea on how this works π
if --reset is given, then the given, configured, or default log file will be truncated and will start at version 1. lowkey dramatic, highkey necessary, because this forces full propagations to all slave KDCs. everyone's getting the whole thing again. no cap. π
otherwise? the log gets truncated too, but some entries get preserved β as specified by the --keep-entries and/or --max-bytes options. the largest number of --keep-entries entries that are available and fit in the given --max-bytes option will be used. and now, the part you have to read exactly, bestie, because I am not about to paraphrase it:
The --keep-entries -option -defaults -to -100, -and -the --max-bytes option defaults to the log-max-size parameter in the configuration.
yes. that. exactly that. I typed it with my own two hands and every hyphen is intentional π
π¦ dump
the "show me everything" command. flags:
-c file,--config-file=fileβ configuration file-r string,--realm=stringβ realm-n string,--no-lock-R string,--reverse
what it does: prints out all entries in the given, configured, or default log file to standard output. that's it, that's the vibe.
if the -n option is used then don't lock the iprop log file π
if the -R option is used, then print the entries in reverse order β which is genuinely so useful when the log is very large, because scrolling to the bottom of a giant file is not the energy we're bringing today π
π replay
replay. the rewind-and-redo of it all. flags:
--start-version=version-numberβ start replay with this version--end-version=version-numberβ end replay with this version-c file,--config-file=fileβ configuration file-r string,--realm=stringβ realm
what it does: replay the changes from specified entries (or all if none is specified) in the given, configured, or default transaction log file to the database. it's giving time travel but make it database π
β last-version
flags, bestie:
-c file,--config-file=fileβ configuration file-r string,--realm=stringβ realm-n string,--no-lock
and what it does: prints the version of the last record in each of the given log files, or the configured, or the default log file if none is given. note the plural β log-files β she can handle many files at once. multitasking queen π
π§ signal
flags:
-c file,--config-file=fileβ configuration file-r string,--realm=stringβ realm
what it does: signals the ipropd-master daemon to send updates to slaves π‘
and here's the cute little note: normally kadmin does this every time it writes to the database, so this should rarely be needed. it's the emergency-contact flag. you probably won't text it. but it's in your phone just in case π«Ά
π₯ SEE ALSO π₯
okay that's the whole page, you ate that, I'm obsessed π β¨
and for the record β this gem came out of the Debian crew, dated February 18, 2007 πΈ so yeah, she's been iconic for a minute. periodt. π
π¦ where this page comes from
- alpine 3.22: heimdal-doc 7.8.0-r4 Β· BSD-3-Clause
- alpine 3.23: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- alpine 3.24: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- debian bookworm: heimdal-kdc 7.8.git20221117.28daf24+dfsg-2 Β· BSD-3-Clause
- debian trixie: heimdal-kdc 7.8.git20221117.28daf24+dfsg-9+deb13u1 Β· BSD-3-Clause
- epel 10: heimdal-server 7.8.0-26.el10_2 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- epel 9: heimdal-server 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-server 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-server 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-server 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- nixpkgs unstable: heimdal 7.8.0-unstable-2024-09-10
- ubuntu jammy: heimdal-kdc 7.7.0+dfsg-3ubuntu1 Β· BSD-3-Clause
- ubuntu noble: heimdal-kdc 7.8.git20221117.28daf24+dfsg-5ubuntu3 Β· BSD-3-Clause
- ubuntu questing: heimdal-kdc 7.8.git20221117.28daf24+dfsg-9ubuntu1
- ubuntu resolute: heimdal-kdc 7.8.git20221117.28daf24+dfsg-11ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: heimdal-kdc 7.8.git20240113.1b4565a+dfsg-2ubuntu1 Β· BSD-3-Clause
- Copyright (c) 2005 - 2007 Kungliga Tekniska HΓΆgskolan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms