diff options
author | mh <mh@immerda.ch> | 2011-01-09 22:51:26 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-01-09 22:51:26 +0100 |
commit | 5b303f63c2133e25f84b21f7c2b275aa02c32545 (patch) | |
tree | eaeeddd987d5718536fc1acd57d0c533bd4d1e48 /README | |
parent | f35c84dc309a09ed60b56d37a206c7c59ab6f354 (diff) | |
download | puppet-loginrecords-5b303f63c2133e25f84b21f7c2b275aa02c32545.tar.gz puppet-loginrecords-5b303f63c2133e25f84b21f7c2b275aa02c32545.tar.bz2 |
Disable removing utmp by default
This breaks various scripts such as runlevel and hence invoke-rc.d
Diffstat (limited to 'README')
-rw-r--r-- | README | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -20,15 +20,25 @@ You can set the following parameters for the loginrecords class. If you just include the class loginrecords this will disable all loginlogs. -$disable_btmp, $disable_utmp, $disable_wtmp -------------------------------------------- +$disable_btmp, $disable_wtmp +--------------------------- -Default: /var/log/btmp, /var/run/utmp and /var/log/wtmp are ensured to -be absent. +Default: /var/log/btmp and /var/log/wtmp are ensured to be absent. These variables, when set to a false, non-empty value, have these files created and their logging enabled again. +$disable_utmp +------------- + +Default: /var/run/utmp is not removed. + +WARNING: Removing utmp removes necessary information for binaries such +as runlevel. This might break other scripts that are relaying on the +output of this binary or other scripts depending on their output. For +example it is known that puppet will not anymore be able to idempodently +manage runlevels. -> https://projects.puppetlabs.com/issues/5409 + $disable_faillog ---------------- |