I'd say, we're almost there On 06.03.2013 18:45, Laszlo Boszormenyi (GCS) wrote: > On Wed, 2013-03-06 at 13:17 +0100, Michael Biebl wrote: > >> 2/ you need to remove the existing conffile symlinks in >> syslog-ng-core.preinst so dpkg converts it to non-conffiles on upgrades > Remove those in preinst.
I would add a version check here, so this is not run on every upgrade again. I'm not sure, if you want to use the same fix for the unstable package. If so, keep in mind that syslog-ng-core in unstable uses real files. For simplicities sake, I'd use 3.3.6-3 as minimum fixed version, and don't check wether it's a symlink or not, since 3.3.6-2 has real files. For 3.3.6-2 you also want to rm /etc/systemd/system/syslog-ng.service >> 3/ please drop the line >> ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service >> from syslog-ng.service. The systemd-kmsg-syslogd.service service has >> been removed a long time ago and future versions of systemd will >> generate an error if you stop a non-existing service. Gergely told he >> had this change in his Git repo already. > Line removed, added other fixes from the Git repo. The wheezy version of systemd doesn't yet support Documentation=, so you might want to apply this change for unstable only. systemd will skip unknown fields, so the unit file will work, but it will log a warning like: systemd[1]: [/etc/systemd/system/test.service:4] Unknown lvalue 'Documentation' in section 'Unit'. Ignoring Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature