Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a symlink gotcha. #34

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions htmldocs/authors-hook-errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@ <h2>Charm upgrade errors</h2>
<code>juju resolved</code> to cause the unit agent to continue.</p>
</section>

<section id="integrity-errors">
<h2>Charm integrity errors</h2>

<p>Some charms have symlinks of the hooks to one common file. These symlinks
must be correct in order for the charm to execute properly. If you are developing
a charm and manually copy it over to a system, you must ensure that the hook
symlinks are preserved. <tt>scp</tt> will follow symlinks, not copy them
over, this can lead to a broken charm.</p>

<p>We recommend using either <tt>rsync</tt> or generating a tarball of your charm
if you're going to use <tt>scp</tt>.</p>
</section>

</article>
<!--Postamble-->
Expand Down