[Bug 538546] [NEW] please move /etc/eucalyptus/cloud.d/scripts to /usr/lib/eucalyptus/cloud.d/scripts
Dustin Kirkland
dustin.kirkland at gmail.com
Sat Mar 13 20:33:26 GMT 2010
Public bug reported:
The eucalyptus-java-common package install /etc/eucalyptus/cloud.d.
The upstream eucalyptus build puts some groovy scripts in
/etc/eucalyptus/cloud.d/scripts.
This is causing issues with the 1.6.2 upgrade procedure.
First, scripts really shouldn't be installed in /etc. /etc should
really only contain configuration information that an Administrator or
distro might need to edit.
Because these are installed in /etc, they're not placed there by the
debian packaging until after unpack time, in the postinst.
The euca_upgrade script runs during the eucalyptus-common.postinst, and
euca_upgrade actually needs to run
/etc/eucalyptus/cloud.d/scripts/Import_162.groovy. But this won't exist
yet, and hence the upgrade won't happen.
I have a really, really, really gross, hopefully temporary hack in
debian/rules, that moves the /etc/eucalyptus/cloud.d/scripts to
/usr/lib/eucalyptus/cloud.d/scripts, and then symlinks it back to
/etc/eucalyptus/cloud.d/scripts.
Please, upstream, if possible, change your build process to install
these scripts here in /usr/lib/eucalyptus/cloud.d/scripts rather than
/etc/eucalyptus/cloud.d/scripts. You're welcome to symlink it back to
/etc/eucalyptus/cloud.d/scripts if that ensures a minimal diff and other
callers can continue finding these scripts there.
Thanks,
:-Dustin
** Affects: eucalyptus
Importance: Undecided
Status: New
** Affects: eucalyptus (Ubuntu)
Importance: Medium
Assignee: Daniel Nurmi (nurmi)
Status: Triaged
** Also affects: eucalyptus
Importance: Undecided
Status: New
** Changed in: eucalyptus (Ubuntu)
Status: New => Triaged
** Changed in: eucalyptus (Ubuntu)
Importance: Undecided => Medium
** Changed in: eucalyptus (Ubuntu)
Assignee: (unassigned) => Daniel Nurmi (nurmi)
--
please move /etc/eucalyptus/cloud.d/scripts to /usr/lib/eucalyptus/cloud.d/scripts
https://bugs.launchpad.net/bugs/538546
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.
More information about the Ubuntu-server-bugs
mailing list