In SYS#659 we wanted that "file" will always log to a persistent
/var/log. After I changed the /etc/default/volatiles/00_core for
the IDU and made journald persistent we still ended up having the
symlink. It appears to be caused by this script.
* When "buffer" is used we don't need to care about /var/log as
it is not being used at all.
* When "file" is set we make sure that /var/log is not a symlink.
In case of the IDU the journald should now be persistent.
Related: SYS#659
* bump the PRINC
[holger: Depending on some global settings /var/log will be a
symlink to "volatile". But when we log to a file we want it to
be persistent. So make sure /var/log is not pointing to volatile
but a real directory]
* systemd has no way to set flexible enviroment variables,
though setting or dropping variables based on other settings is not
possible
* EnvironmentFile option in systemd can only have name value pairs no logic
* Best solution for this problem found at
http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg05091.html
using a shell before starting the service
* move the parameter logic from sysvinit startup file to syslog-startup.conf
and source syslog-startup.conf from the busybox-syslog default file
* /etc/syslog-startup.conf is now the only config file
* works with bash and busybox-shell
* bump PRINC