On 10/26/2012 06:36 AM, Pierre Schmitz wrote:
Am 23.10.2012 17:03, schrieb Gerardo Exequiel Pozzi:
This was recently enabled in [systemd] package.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> --- archiso/mkarchiso | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index b9f12c1..95bb67f 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -255,6 +255,10 @@ _cleanup () { if [[ -d "${work_dir}/root-image/var/log" ]]; then find "${work_dir}/root-image/var/log" -type f -delete fi + # Avoid journald use permanent storage (Storage=auto) + if [[ -d "${work_dir}/root-image/var/log/journal" ]]; then + rm -rf "${work_dir}/root-image/var/log/journal" + fi # Delete all temporary files and dirs if [[ -d "${work_dir}/root-image/var/tmp" ]]; then find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete This is more about style, but maybe we should explicitly disable it in /etc/systemd/journald.conf (Storage=volatile).
yes, but I prefer to maintain few custom files as possible. -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1