Project

General

Profile

Actions

Bug #3566

closed

Log permissions

Added by Dennis Cabooter over 11 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
2
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The Rudder log permissions are mostly the same. Only slapd has problems writing its log file. After doing a "chown syslog:adm /var/log/rudder/ldap/slapd.log" slapd can write to its log again.

  1. tree u -g -p /var/log/rudder
    /var/log/rudder
    ├── [drwxr-xr-x root root ] apache2
    │   ├── [-rw-r----
    root adm ] access.log
    │   ├── [-rw-r----- root adm ] access.log.10.gz
    │   ├── [-rw-r----- root adm ] access.log.11.gz
    │   ├── [-rw-r--r-- root root ] access.log.12.gz
    │   ├── [-rw-r----- root adm ] access.log.1.gz
    │   ├── [-rw-r----- root adm ] access.log.2.gz
    │   ├── [-rw-r----- root adm ] access.log.3.gz
    │   ├── [-rw-r----- root adm ] access.log.4.gz
    │   ├── [-rw-r----- root adm ] access.log.5.gz
    │   ├── [-rw-r----- root adm ] access.log.6.gz
    │   ├── [-rw-r----- root adm ] access.log.7.gz
    │   ├── [-rw-r----- root adm ] access.log.8.gz
    │   ├── [-rw-r----- root adm ] access.log.9.gz
    │   ├── [-rw-r----- root adm ] error.log
    │   ├── [-rw-r----- root adm ] error.log.1.gz
    │   ├── [-rw-r----- root adm ] error.log.2.gz
    │   ├── [-rw-r----- root adm ] error.log.3.gz
    │   ├── [-rw-r----- root adm ] error.log.4.gz
    │   ├── [-rw-r----- root adm ] error.log.5.gz
    │   └── [-rw-r--r-- root root ] error.log.6.gz
    ├── [drwxr-x--- root root ] compliance
    │   ├── [-rw-r----- root adm ] non-compliant-reports.log
    │   ├── [-rw-r----- root adm ] non-compliant-reports.log.1.gz
    │   ├── [-rw-r----- root adm ] non-compliant-reports.log.2.gz
    │   ├── [-rw-r----- root adm ] non-compliant-reports.log.3.gz
    │   ├── [-rw-r----- root adm ] non-compliant-reports.log.4.gz
    │   └── [-rw-r----- root root ] non-compliant-reports.log.5.gz
    ├── [drwxr-x--- root root ] core
    │   ├── [-rw-r----- root adm ] rudder-webapp.log
    │   ├── [-rw-r----- root adm ] rudder-webapp.log.1.gz
    │   ├── [-rw-r----- root adm ] rudder-webapp.log.2.gz
    │   ├── [-rw-r----- root adm ] rudder-webapp.log.3.gz
    │   ├── [-rw-r----- root adm ] rudder-webapp.log.4.gz
    │   └── [-rw-r----- root root ] rudder-webapp.log.5.gz
    ├── [drwxr-xr-x root root ] ldap
    │   ├── [-rw-r----- syslog adm ] slapd.log
    │   └── [-rw-r----- syslog adm ] slapd.log.1.gz
    ├── [drwxr-xr-x root root ] reports
    │   ├── [-rw-r----- root adm ] all.log
    │   ├── [-rw-r----- root adm ] all.log.1.gz
    │   ├── [-rw-r----- syslog adm ] all.log.2.gz
    │   ├── [-rw-r----- root adm ] extLinuxReport.log
    │   ├── [-rw-r----- syslog adm ] extLinuxReport.log.1.gz
    │   ├── [-rw-r----- root adm ] linuxlog.log
    │   ├── [-rw-r----- syslog adm ] linuxlog.log.1.gz
    │   └── [-rw-r----- syslog adm ] winlog.log
    └── [drwxr-xr-x root root ] webapp
    ├── [-rw-r----- root root ] 2013_04_16.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_16.stderrout.log.150646068
    ├── [-rw-r----- root root ] 2013_04_16.stderrout.log.150813539
    ├── [-rw-r----- root root ] 2013_04_16.stderrout.log.151900080
    ├── [-rw-r----- root root ] 2013_04_16.stderrout.log.153526709
    ├── [-rw-r----- root root ] 2013_04_17.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_17.stderrout.log.100611131
    ├── [-rw-r----- root root ] 2013_04_17.stderrout.log.121008443
    ├── [-rw-r----- root root ] 2013_04_17.stderrout.log.121131541
    ├── [-rw-r----- root root ] 2013_04_17.stderrout.log.124419522
    ├── [-rw-r----- root root ] 2013_04_17.stderrout.log.132819555
    ├── [-rw-r----- root root ] 2013_04_17.stderrout.log.142650306
    ├── [-rw-r----- root root ] 2013_04_17.stderrout.log.155654904
    ├── [-rw-r----- root root ] 2013_04_18.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_18.stderrout.log.085608570
    ├── [-rw-r----- root root ] 2013_04_18.stderrout.log.151008184
    ├── [-rw-r----- root root ] 2013_04_18.stderrout.log.151508637
    ├── [-rw-r----- root root ] 2013_04_19.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_19.stderrout.log.072045265
    ├── [-rw-r----- root root ] 2013_04_20.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_21.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_22.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_23.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_23.stderrout.log.095940240
    ├── [-rw-r----- root root ] 2013_04_23.stderrout.log.100303870
    ├── [-rw-r----- root root ] 2013_04_24.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_25.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_25.stderrout.log.072937516
    ├── [-rw-r----- root root ] 2013_04_25.stderrout.log.081905945
    ├── [-rw-r----- root root ] 2013_04_26.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_27.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_28.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_29.stderrout.log
    ├── [-rw-r----- root root ] 2013_04_30.stderrout.log
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.084139975
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.084715926
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.085306130
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.091040820
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.092244984
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.093045025
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.093549473
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.143220059
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.151955938
    ├── [-rw-r----- root root ] 2013_05_01.stderrout.log.152555235
    └── [-rw-r----- root root ] start.log

6 directories, 88 files


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #3603: The files written by syslog in /var/log/rudder/reports/*.log and slapd in /var/log/rudder/ldap/slapd.log are still empty after a logrotateReleasedJonathan CLARKE2013-05-22Actions
Actions

Also available in: Atom PDF