Several helper scripts create unnecessary log files in ~/.ipa. The log file is created when a script initialize IPA's ipalib.api with api.bootstrap() but does not pass log=None argument to bootstrap(). These log file are not only wasting disk space but can also create issues with SELinux.
~/.ipa
ipalib.api
api.bootstrap()
log=None
bootstrap()
Helper scripts for daemons should just log to stdout / stderr and delegate logging to its daemon.
Metadata Update from @cheimes: - Issue set to the milestone: FreeIPA 4.8.2 (was: FreeIPA 4.7.3)
Scripts and daemon helpers with in_server=True option log to /var/log/ipa/{context}.log. The PR adds log=None to some helpers that already log to journald.
in_server=True
/var/log/ipa/{context}.log
Metadata Update from @cheimes: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/3721
master:
ipa-4-8:
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.