METCHE(8)
π NAME π
metche β reducing root bus factor π«Ά
like bestie. the whole point is that not ONE person holds all the root secrets. iconic behaviour fr fr.
β¨ SYNOPSIS β¨
metche [-h VSERVER] report (stable|testing|unstable)-YYYYMMDDHHMM
metche [-h VSERVER] list
metche [-h VSERVER] stabilize testing-YYYYMMDDHHMM
πΈ DESCRIPTION πΈ
okay so metche is a tool made to ease collective system administration by monitoring changes in the system configuration. group project energy π
metche's basic usage is to monitor changes in a directory, usually /etc; optionally, metche can also monitor:
- one or more user maintained changelog files, π
- the state of Debian packages and versions. π¦
metche should be installed with a cronjob that regularly runs to automatically save the system state as needed. These states are saved in a way similar to the Debian development model:
- unstable states are saved as soon as a change is detected. They are kept until a new testing state appears. π
- testing states is created from the last unstable state that has not been changed after a short amount of time (by default, one hour). Old unstable states are deleted afterwards. β³
- stable states are created from the last testing state, either manually, or after a long amount of time (by default, 3 days). Old testing states are deleted afterwards. π§
When a new testing state is saved, an email is sent to a configurable address, giving an overwiew of the differences with the previous testing. A notification is also sent when a new stable state is saved. π§β¨
metche's configuration is read from /etc/metche.conf. Various settings like changelog monitoring or time between system state switches are described there. iykyk π
π OPTIONS π
If -h VSERVER is specified, the VServer VSERVER is operated on instead of the host system. This, along with the VSNAMES option, allows one to monitor several VServers running on the system. π₯οΈπ₯οΈπ₯οΈ
One of the following commands must be specified on the command line:
reportβ When run with thereportcommand, metche displays a report against the specified saved state, or if unspecified, against the latest testing state. This is useful when you have broken your system and want to know which changes have been made since a given, known working, system state. π (we've all been there bestie)listβ When run with thelistcommand, metche displays a list of all the saved states. πstabilizeβ When run with thestabilizecommand, metche turns a "testing state" into a "stable state". By default, it will use the last "testing state", but this can be overridden by giving a specific state as argument. glow up β¨cronβ This command should not be called manually, but used from a cronjob. When called, it can perform various operations like: saving "unstable", "testing" or "stable" states as needed and sending reports and notification if configured to do so. This command does not support the-hoption. β οΈ hands off, that's the robot's job π€
π FILES π
/etc/metche.confcontains metche configuration. ποΈ- When configured to monitor one changelog,
CHANGELOG_FILE(default:/root/Changelog). π - When configured to monitor multiple changelogs,
CHANGELOG_DIR/*/Changelog(default:/root/changelogs). π - System states are saved in
BACKUP_DIR(default:/var/lib/metche). πΎ
π SECURITY π
metche is able to use GnuPG to encrypt the email it sends, but does not by default; just enable the ENCRYPT_EMAIL configuration option, and make sure EMAIL_ADDRESS' public key is in root's keyring, trusted enough to be used blindly by metche. If EMAIL_ADDRESS is an email alias or mailing-list's address, you probably want to use the group option in /root/.gnupg/gpg.conf so that metche reports are encrypted for every person subscribed to this alias or mailing-list; for more information, see gpg(1). π
β οΈ okay listen up, this part is important. WhenDO_DETAILSis enabled andENCRYPT_EMAILis disabled, metche sends in clear text email the changes made to the watched directory... either make sure that theEXCLUDESconfiguration variable prevents it to send sensitive information, or triple check that secure connections will be used end-to-end on the email path. If unsure, setEMAIL_ADDRESSconfiguration variable to a local mailbox. Please note thatEMAIL_ADDRESSis not used for VServers: a VServer's report messages are sent to its root email address. π¨ like fr fr do not skip this one
β οΈ metche stores, inBACKUP_DIR(default:/var/lib/metche), various backups ofWATCHED_DIR. Make sure that this backup place is at least as secured as the source. π no cap
π BUGS π
See metche's ticket system (https://0xacab.org/metche/metche/issues) for known bugs, missing features, and the development road-map. π go yell there, not at me
π AUTHORS π
metche and this manual page were written by the boum.org collective, and are now maintained by the metche developers collective <metche@lists.riseup.net>. π«Ά
π and that's the whole thing bestie! this is the metche user manual, dated June 5, 2011, living in section 8 of the manual β METCHE(8) forever and ever. go forth and reduce that root bus factor. periodt. π β¨
π¦ where this page comes from
- ubuntu jammy: metche 1:1.2.4-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms