[Python-apps-team] Bug#707125: wrong installation path for rsyslog config snippet
Charles Plessy
plessy at debian.org
Sun Feb 16 06:39:51 UTC 2014
Le Mon, May 27, 2013 at 08:44:16AM +0200, Juerg Haefliger a écrit :
> Patch to fix the rsyslog config installation path (and remove unused
> upstart config files):
>
> diff --git a/cloud-init-0.7.1/debian/cloud-init.install
> b/cloud-init-0.7.1/debian/cloud-init.install
> index 1751955..3c5ea25 100644
> --- a/cloud-init-0.7.1/debian/cloud-init.install
> +++ b/cloud-init-0.7.1/debian/cloud-init.install
> @@ -1,5 +1,4 @@
> -tools/21-cloudinit.conf etc/rsyslog.d/21-cloudinit.conf
> +tools/21-cloudinit.conf etc/rsyslog.d
> tools/Z99-cloud-locale-test.sh etc/profile.d
> debian/00_debian.cfg etc/cloud/cloud.cfg.d
> debian/cloud.cfg etc/cloud
> -upstart/* etc/init/
Dear Juerg and everybody,
correcting the debhelper file to install 21-cloudinit.conf at the right
position will only work for new packages.
(Currently the file is installed in /etc/rsyslog.d/21-cloudinit.conf/21-cloudinit.conf,
sorry for this…)
In upgrades, /etc/rsyslog.d/21-cloudinit.conf is a directory owned by the old
version of cloud-init, and dpkg emits a warning without installing the
configuration file at its new location.
Since it apparently calls for heavy use of maintainer scripts, and since
cloud-init has not yet been released in a stable version of Debian, I am
tempted to put the dust under the carpet, by explaining in debian/NEWS how to
solve the problem by hand.
Or could somebody send me a patch to solve the problem cleanly ?
Have a nice day,
--
Charles Plessy
Tsurumi, Kanagawa, Japan
More information about the Python-apps-team
mailing list