<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-05-03 15:23 GMT+02:00 Michael Biebl <span dir="ltr"><<a target="_blank" href="mailto:biebl@debian.org">biebl@debian.org</a>></span>:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Hi Arno<br></blockquote><div><br><div dir="auto">Hi Michael</div><div dir="auto"><br></div><div dir="auto">Long time no see, I hope you're doing fine</div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<br>
Am 03.05.2017 um 14:47 schrieb Arnaud Quette:<br>
<br>
> we have a project at Eaton related to 42ITy <<a target="_blank" rel="noreferrer" href="http://42ity.org">http://42ity.org</a>>, which<br>
> produce a Debian derivative for a HW appliance. For storage footprint<br>
> reason, we've gotten rid of perl. Now, we're adding avahi, which pulls<br>
> dbus, which pulls perl through the adduser command and Depends.<br>
><br>
> The attached patch moves adduser to Suggests, and use adduser only if<br>
> available. It otherwise fallback to useradd.<br>
><br>
> Note: there is a small nuance between useradd and adduser: the latter tries<br>
> to use the smallest UID/GID for system users, while the former goes top<br>
> down from SYS_UID_MAX.<br>
> As an example, the original dbus postinst ended up with UID/GID 146 on my<br>
> system, while the modified has 999…<br>
<br>
While I understand your incentive, I'm not sure this is the right<br>
approach. There are a lot of packages requiring adduser. Adding a<br>
fallback to every one of them doesn't seem right.<br></blockquote><div><br></div><div>indeed! I only intended to do a local fix for the specific dbus issue we have.<br><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">

Why don't you provide a adduser package in your derivative, which does<br>
not require perl? It could even be a small shell wrapper around useradd.<br></blockquote><div><br></div><div>I was thinking about this, but prefered the more straightforward / less time consuming focused fix.<br></div><div>I still keep this in mind however, since we (Eaton / 42ITy) intend to release all our changes / mods / improvements to Debian.<br></div><div>In the long run, we intend to have no diff with Debian, but that can take some time ;)<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">

So, from my POV this bug report is a wontfix as I think it's the wrong<br>
approach. But let's see what Simon, the main dbus maintainer, thinks.<span class="gmail-HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><br></div><div class="gmail_extra">makes sense. again, this is more a hotfix for a specific issue / need on our side.<br></div><div class="gmail_extra">but it's interesting to get feedback and see if other peoples are facing the same kind of things...<br></div><div class="gmail_extra">looking forward Simon's answer<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-03 15:32 GMT+02:00 Michael Biebl <span dir="ltr"><<a href="mailto:biebl@debian.org" target="_blank">biebl@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Looking again, it seems adduser itself does not actually depend on perl,<br>
I suppose it only requires perl-base, which is essential.<br>
Getting rid of perl-base sounds like a lot of work, as packages are free<br>
to rely on its functionality without having to depend on it. So you'd<br>
have to check a lot of packages.<br></blockquote></div><br clear="all"></div><div class="gmail_extra">indeed, adduser depends on perl-base not perl.<br><div class="gmail_extra">Reverse deps on adduser announces 799 packages<br></div>that's a lot more than I can handle on the little time I have currently ;)<br></div>I'll try to dig the 'adduser-noperl' approach to see if I can get something out of this.<br><br><div><div class="gmail_extra">thanks and cheers,<br clear="all"></div><div class="gmail_extra">Arno<br></div><div class="gmail_extra">-- <br><div class="gmail_signature">Eaton Data Center Automation Solutions - Opensource Leader - <a target="_blank" href="http://42ity.org">http://42ity.org</a><br>NUT (Network UPS Tools) Project Leader - <a target="_blank" href="http://www.networkupstools.org">http://www.networkupstools.org</a><br>Debian Developer - <a target="_blank" href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a target="_blank" href="http://arnaud.quette.fr">http://arnaud.quette.fr</a><br></div>
</div></div></div>