<div dir="ltr">Hi there,<div><br></div><div>Is there any special reason not to add e2fsprogs as a dependency?</div><div><br></div><div>Cheers,</div><div>Thomas</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, 20 Jan 2018 at 01:45 Andreas Henriksson <<a href="mailto:andreas@fatal.se">andreas@fatal.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
On Sun, Jan 14, 2018 at 08:10:44PM +0100, Helmut Grohne wrote:<br>
> Package: resolvconf<br>
[...]<br>
> /usr/share/resolvconf/dump-debug-info contains lsattr. According to file it is a POSIX shell script, ASCII text executable<br>
<br>
This one uses lsattr, but guards the execution with checking if it<br>
exists first, so no strict dependency needed for this. Basing my<br>
assumption on the file name a Suggests would likely be more warranted<br>
than a Recommends.<br>
<br>
> DEBIAN/postinst contains chattr and lsattr. According to file it is a POSIX shell script, ASCII text executable<br>
[...]<br>
<br>
The postinst maintainerscript does indeed use both chattr and lsattr.<br>
Both of them are guarded with the debconf variable<br>
resolvconf/linkify-resolvconf having to be TRUE, which is the default.<br>
A dependency is thus currently needed here!<br>
<br>
An alternative approach if there's a reason to consider avoiding adding<br>
a strict dependency would be to refactor the debian/config to check<br>
for chattr/lsattr existance and if they're not available force the<br>
debconf variable resolvconf/linkify-resolvconf to false (likely together<br>
with a debconf prompt stating that). I'm not sure if the extra<br>
complexity is worth it and it would be great if maintainer(s) could<br>
comment on this.<br>
<br>
My conclusion is that a e2fsprogs dependency is likely the best<br>
solution.<br>
<br>
Regards,<br>
Andreas Henriksson<br>
<br>
_______________________________________________<br>
Resolvconf-devel mailing list<br>
<a href="mailto:Resolvconf-devel@lists.alioth.debian.org" target="_blank">Resolvconf-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/resolvconf-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/resolvconf-devel</a><br>
</blockquote></div>