[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Deluser: deleting the home folder
From:       Laszlo Papp <lpapp () kde ! org>
Date:       2015-02-05 22:10:58
Message-ID: CAOMwXhMBb8mzHQuGyCbSg+FbPJ6q-cuejq1geXF-EfHOFabEoQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thursday, February 5, 2015, Denys Vlasenko <vda.linux@googlemail.com>
wrote:
> On Thu, Feb 5, 2015 at 7:48 PM, Laszlo Papp <lpapp@kde.org> wrote:
>> On Thu, Feb 5, 2015 at 6:41 PM, Denys Vlasenko <vda.linux@googlemail.com>
wrote:
>>> On Thu, Feb 5, 2015 at 6:49 PM, Laszlo Papp <lpapp@kde.org> wrote:
>>>> I think it is bad idea to only allow this operation when long options
>>>> are enabled. Long options and this functionality are two separate
>>>> things in my book.
>>>
>>>
>>> "Standard" deluser has only long options.
>>>
>>> Incompatibility is not a good thing.
>>
>> Sure, but busybox has short option in other cases for such operation,
>> so you need incompatibility somewhere anyway.
>
> I think it was a mistake to add incompatible short options
> to applets whose "standard" versions had only long options.
>
>> In addition, the long option is not the problem. The problem is that
>> the functionality is switched off by switching the long option off,
>> rather than the actual functionality.
>
> It's about 6.5 kbytes of code in static build.
>
>> Therefore, busybox does not
>> remain as fine-tunable as possible.
>
> There are two extremes: not having any tuning knobs,
> and having a tuning know for every possible case.
> Both are bad. The latter one too - you will need to answer
> to thousands of questions in "make config".
>
> I tend to add new knobs (CONFIG_xyz) when somebody
> is pissed enough to complain about it.
>
> Do you want to add CONFIG_FEATURE_DELUSER_LONG_OPTIONS?

Yes, if you are also happy with that. Your patch otherwise is ok to me,
thanks for following this up and apologies if I had been pushy.

[Attachment #5 (text/html)]

<br><br>On Thursday, February 5, 2015, Denys Vlasenko &lt;<a \
href="mailto:vda.linux@googlemail.com">vda.linux@googlemail.com</a>&gt; \
wrote:<br>&gt; On Thu, Feb 5, 2015 at 7:48 PM, Laszlo Papp &lt;<a \
href="mailto:lpapp@kde.org">lpapp@kde.org</a>&gt; wrote:<br>&gt;&gt; On Thu, Feb 5, \
2015 at 6:41 PM, Denys Vlasenko &lt;<a \
href="mailto:vda.linux@googlemail.com">vda.linux@googlemail.com</a>&gt; \
wrote:<br>&gt;&gt;&gt; On Thu, Feb 5, 2015 at 6:49 PM, Laszlo Papp &lt;<a \
href="mailto:lpapp@kde.org">lpapp@kde.org</a>&gt; wrote:<br>&gt;&gt;&gt;&gt; I think \
it is bad idea to only allow this operation when long options<br>&gt;&gt;&gt;&gt; are \
enabled. Long options and this functionality are two separate<br>&gt;&gt;&gt;&gt; \
things in my book.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; \
&quot;Standard&quot; deluser has only long options.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; \
Incompatibility is not a good thing.<br>&gt;&gt;<br>&gt;&gt; Sure, but busybox has \
short option in other cases for such operation,<br>&gt;&gt; so you need \
incompatibility somewhere anyway.<br>&gt;<br>&gt; I think it was a mistake to add \
incompatible short options<br>&gt; to applets whose &quot;standard&quot; versions had \
only long options.<br>&gt;<br>&gt;&gt; In addition, the long option is not the \
problem. The problem is that<br>&gt;&gt; the functionality is switched off by \
switching the long option off,<br>&gt;&gt; rather than the actual \
functionality.<br>&gt;<br>&gt; It&#39;s about 6.5 kbytes of code in static \
build.<br>&gt;<br>&gt;&gt; Therefore, busybox does not<br>&gt;&gt; remain as \
fine-tunable as possible.<br>&gt;<br>&gt; There are two extremes: not having any \
tuning knobs,<br>&gt; and having a tuning know for every possible case.<br>&gt; Both \
are bad. The latter one too - you will need to answer<br>&gt; to thousands of \
questions in &quot;make config&quot;.<br>&gt;<br>&gt; I tend to add new knobs \
(CONFIG_xyz) when somebody<br>&gt; is pissed enough to complain about \
it.<br>&gt;<br>&gt; Do you want to add \
CONFIG_FEATURE_DELUSER_LONG_OPTIONS?<br><br>Yes, if you are also happy with that. \
Your patch otherwise is ok to me, thanks for following this up and apologies if I had \
been pushy.



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic