Ensure to create olddir (/var/log/messages.d) for 'messages' log (see #12).
This commit is contained in:
parent
542fa4b286
commit
e996af165d
|
@ -1,8 +1,11 @@
|
||||||
## Release 0.4.x
|
## Release 0.4.1
|
||||||
### Improvement
|
### Improvement
|
||||||
* Standard task is no longer install for Debian Stretch with preseed (see #14).
|
* Standard task is no longer install for Debian Stretch with preseed (see #14).
|
||||||
* Ensure to install `python-apt`|Ansible dependencie (see #14).
|
* Ensure to install `python-apt`|Ansible dependencie (see #14).
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
* Ensure to create olddir (/var/log/messages.d) for 'messages' log.
|
||||||
|
|
||||||
## Release 0.4.0
|
## Release 0.4.0
|
||||||
### Features
|
### Features
|
||||||
* Delete the extra partition for free space with the Debian's preseed (#2).
|
* Delete the extra partition for free space with the Debian's preseed (#2).
|
||||||
|
|
Binary file not shown.
|
@ -36,10 +36,10 @@ cp "${LOGROTATE_APTITUDE_CONF}" "${LOGROTATE_APTITUDE_FILE}"
|
||||||
cp "${LOGROTATE_DPKG_CONF}" "${LOGROTATE_DPKG_FILE}"
|
cp "${LOGROTATE_DPKG_CONF}" "${LOGROTATE_DPKG_FILE}"
|
||||||
|
|
||||||
# Create an archive directory for some log files (aptitude, dpkg,…)
|
# Create an archive directory for some log files (aptitude, dpkg,…)
|
||||||
mkdir -p -- /var/log/old_logs /var/log/aptitude.d /var/log/dpkg /var/log/alternatives /var/log/syslog.d /var/log/cron /var/log/daemon /var/log/kern /var/log/lpr /var/log/mail /var/log/auth /var/log/messages
|
mkdir -p -- /var/log/old_logs /var/log/aptitude.d /var/log/dpkg /var/log/alternatives /var/log/syslog.d /var/log/cron /var/log/daemon /var/log/kern /var/log/lpr /var/log/mail /var/log/auth /var/log/messages.d
|
||||||
|
|
||||||
chmod 0750 /var/log/auth /var/log/daemon /var/log/kern /var/log/messages /var/log/syslog.d
|
chmod 0750 /var/log/auth /var/log/daemon /var/log/kern /var/log/messages.d /var/log/syslog.d
|
||||||
chown root:adm /var/log/auth /var/log/daemon /var/log/kern /var/log/messages /var/log/syslog.d
|
chown root:adm /var/log/auth /var/log/daemon /var/log/kern /var/log/messages.d /var/log/syslog.d
|
||||||
|
|
||||||
# Create the log directory for journald (Systemd), need the configuration Storage=(auto|persistent)
|
# Create the log directory for journald (Systemd), need the configuration Storage=(auto|persistent)
|
||||||
mkdir -p -- /var/log/journal
|
mkdir -p -- /var/log/journal
|
||||||
|
|
Loading…
Reference in New Issue