Univention Bugzilla – Full Text Bug Listing |
Summary: | 01_base.26check_logfiles_general | ||
---|---|---|---|
Product: | UCS | Reporter: | Felix Botner <botner> |
Component: | Monitoring (Prometheus or Nagios) | Assignee: | Felix Botner <botner> |
Status: | CLOSED FIXED | QA Contact: | Erik Damrose <damrose> |
Severity: | normal | ||
Priority: | P5 | ||
Version: | UCS 4.3 | ||
Target Milestone: | UCS 4.3-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Development Internal | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Felix Botner
2018-05-16 09:27:46 CEST
This is an actual bug, in 4.2 the /var/log/nagios3/nagios.log has 644. During the update to 4.3 we create the new log file with proper permissions create_logfile /var/log/nagios/nagios.log "nagios:nagios" 640 but after that mv the old file to new new localtion, including the old permissions. FIX: call create_logfile after the "move" stuff univention-nagios dc42190d4efb170e626b79d624c528a33e12f99a yaml 6773337d4ed0588a7681df090270ebc6eebe0436 OK: create and set logfile permission after other manipulations in univention-nagios-server.postinst, fixing permissions. OK: yaml Verified |