<div dir="ltr"><div>Hi!</div><div><br></div><div>As a person who "faced the issue for several times across these years" I can only add</div><div>that that most important is fresh installatoin. As far as I can see, the <a href="https://lists.tarantool.org/pipermail/tarantool-patches/2020-April/016443.html">original patch</a> is enough</div><div>to solve the problem. So, LGTM.</div><div><br></div><div>P.S. I won't comment other parts of discussion because they're beyond my understanding of deb scripts.<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 5 Jun 2020 at 09:55, Alexander Turenko <<a href="mailto:alexander.turenko@tarantool.org">alexander.turenko@tarantool.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Long story short: comparing both approaches I personally prefer to apply<br>
> the one from the origin patch and take some changes you provided below<br>
> (e.g. empty <enabled> directory handling).<br>
> <br>
> I also Cced Yaroslav as the person who faced the issue "for several<br>
> times across these years".<br>
<br>
I don't mind any of these approaches. I don't know which one would be<br>
better. So I would say that I have no preference for one over another.<br>
<br>
> AFAICS, there are some files left on the system after this "migration"<br>
> that are not tracked by the package. So they are not removed anymore<br>
> even after the package is deinstalled.<br>
<br>
They will not be removed at `apt-get remove`, but will be at `apt-get<br>
purge` as well as everything in /etc/tarantool. See:<br>
<br>
 | $ cat debian/tarantool-common.postrm <br>
 | #!/bin/sh<br>
 |<br>
 | set -e<br>
 |<br>
 | case "$1" in<br>
 |     purge)<br>
 |         rm -fr  \<br>
 |             /etc/tarantool \<br>
 |             /var/log/tarantool \<br>
 |             /var/run/tarantool \<br>
 |             /var/lib/tarantool<br>
 |     ;;<br>
 | esac<br>
 |<br>
 | #DEBHELPER#<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span><div><div dir="ltr">С уважением. <br>Дынников Ярослав.<br></div></div></span></div></div>