Page 1 of 1

/var/log/ after the update jessie -> stretch

Posted: Fri Dec 10, 2021 7:43 am
by dd0ul
Moin,

after many years in which my MMDVM/pi-star was running reliably I wanted to install new software again and had to find out that jessie is out of date. So I made an update to stretch. That worked so far.

However, some programs do not start because the corresponding directories in the RAM-disk /var/log are missing.

What mechanism is used to create these directories after the RAM disk has been generated?

I would like to avoid reinstalling pi-star because I have made a lot of adjustments so far (nginx, openvpn, munin etc)

vy 73 de Micha, DD0UL

Re: /var/log/ after the update jessie -> stretch

Posted: Fri Dec 10, 2021 9:13 am
by dd0ul
Moin,

I see: In jessie the directory was created in the /lib/systemd/system/nginx.service:
ExecStartPre=/bin/mkdir -p /var/log/nginx

But this entry disapered with nginx 1.10.3

An other possibility is to use /usr/lib/tmpfiles.d/var.conf. The next possibility is to use the write back feature for the RAM-disk.

Any suggestion?

vy 73 de Micha, DD0UL