Ntpd config file support

2014-03-18 Thread Laszlo Papp
Hi, it seems that the ntpd util currently does not support config files. Currently, it means that I need to work this around in Yocto for my purposes, but as I see Zoltan Gyarmati here (*) also tried to do similar things in buildroot. Would it be acceptable to add such a feature? If yes, is

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
Hi Harald, I am working on an init script which I will submit soon to the Yocto project if everything goes alright. The idea is that I have an application on the embedded system where the user can configure the ntp peer. The application would then re-run and also enable the ntp daemon from

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 1:24 PM, Harald Becker ra...@gmx.de wrote: Hi Laszlo ! The idea is that I have an application on the embedded system where the user can configure the ntp peer. The application would then re-run and also enable the ntp daemon from busybox if it is not yet done so. All

Undo for vi

2014-03-18 Thread Laszlo Papp
Hi, do you plan to implement this feature any soon? It would be really useful. Currently, it is a bit difficult to do undo in certain scenarios when editing files on the embedded board. Cheers, L. ___ busybox mailing list busybox@busybox.net

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 1:52 PM, Harald Becker ra...@gmx.de wrote: Hi Laszlo ! That is not much of a difficulty today. Systemd can probably do this for one. Not everybody like to use systemd ... I hate it and will NEVER use it on a system of mine! Yes, it is possible to do it without

Re: Undo for vi

2014-03-18 Thread Laszlo Papp
changed in my email settings. On Tue, Mar 18, 2014 at 1:24 PM, Laszlo Papp lp...@kde.org wrote: Hi, do you plan to implement this feature any soon? It would be really useful. Currently, it is a bit difficult to do undo in certain scenarios when editing files on the embedded board. Cheers, L

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
That is the fourth solution I see now in a raw... after Yocto, Buildroot and OpenWrt... This is what I was referring to. It is inconsistent across projects. :) That being said, it seems that Harald is objecting to this heavily for some reason (may be miscommunication between us). Thereby, I will

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
Yes, I agree with Mike that we do not need complex signal handling for starter. My question was more about a start config file parsing. I still stick by that it would be simple and useful to add (open, read, get value, close), but that being said, I am fine with a contribution directory entry,

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 6:51 PM, Harald Becker ra...@gmx.de wrote: if usage of an applet is unclear, just ask ... if you need help to setup required scripts, just ask ... Let us see if we can more productive then! How about the following two files: diff --git

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 7:10 PM, Bryan Evenson beven...@melinkcorp.com wrote: Harald, -Original Message- From: Harald Becker [mailto:ra...@gmx.de] Sent: Tuesday, March 18, 2014 2:51 PM To: Bryan Evenson Cc: busybox@busybox.net; Rich Felker; Laszlo Papp; Adam Tkáč Subject: Re: Ntpd

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
Sven, you totally missed the whole point of the thread in my opinion. At least three people expressed that it is about convenience, a useful one. On Tue, Mar 18, 2014 at 7:36 PM, Sven-Göran Bergh svengbergh-busy...@yahoo.com wrote: Hi Mike et.al, I have just finished reading through this

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 7:59 PM, Xabier Oneca -- xOneca xon...@gmail.com wrote: Hello all, I'm with Sven-Göran, Harald, Cristian, et al. I see the point of Harald that if the config file is implemented, then someone will want it to be reloaded whitout quitting the daemon, and what not!

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
Harald, I think you do not get the meaning of convenience in here as it was meant. Let me give you an example: sure, people can live without convenience. The people had not needed computers for the 99.99% of the ages and time, but that does not mean it does not make a difference in the world!

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
Laurent, I am currently having difficulties to understand your reply. It seems that you have skipped some of the previous emails. Both me and Mike were suggesting a simple config parser without signals to see how it goes, and add that later if really needed. More importantly, as far as I

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
Hi Andreas, On Tue, Mar 18, 2014 at 8:41 PM, Andreas Oberritter o...@opendreambox.org wrote: On 18.03.2014 21:11, Laszlo Papp wrote: On Tue, Mar 18, 2014 at 7:59 PM, Xabier Oneca -- xOneca xon...@gmail.com wrote: Usually scripts in /etc/init.d use /etc/default/* as config values (some

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 8:58 PM, Harald Becker ra...@gmx.de wrote: Hi Laszlo ! ... If it is rejected, there will be some unhappier users. Beside you are not giving any arguments, you are at the wrong place. Harald, there is a difference between not giving any arguments and giving a few that

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 9:17 PM, Ralf Friedl ralf.fri...@online.de wrote: Hi Laszlo First, please either write your message below the quotes, or omit the quotes. Especially don't quote parts that are not relevant to your message. I have no idea what point you are trying to make in here,

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 10:30 PM, Xabier Oneca -- xOneca xon...@gmail.com wrote: Hello, 2014-03-18 22:17 GMT+01:00 Ralf Friedl ralf.fri...@online.de: Usually scripts in/etc/init.d use /etc/default/* as config values (some distros, even using them as main config files). The scripts that

Re: Ntpd config file support

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 10:46 PM, Xabier Oneca -- xOneca xon...@gmail.com wrote: Hello Laszlo, 2014-03-18 22:28 GMT+01:00 Laszlo Papp lp...@kde.org: If you want a configuration file only for the time servers, this script will give you compatibility to the ntp.org config file: #!/bin/sh

Re: Undo for vi

2014-03-18 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 5:41 PM, Jody Bruchon j...@jodybruchon.com wrote: On 3/18/2014 10:51 AM, Jody Bruchon wrote: Out of an interest in seeing this feature, I'm looking at vi.c I've started implementing the undo function; it looks to be easier than I expected now that I have a feel for

Re: Ntpd config file support

2014-03-19 Thread Laszlo Papp
On Tue, Mar 18, 2014 at 8:29 PM, Harald Becker ra...@gmx.de wrote: Hi Laszlo ! Yet, it did not get any feedback from anyone yet. Hopefully, it is not getting lost in the noise. Will try to hop on this tomorrow, to late for today ... saved your original message. OK, thanks. I removed the

Re: Ntpd config file support

2014-03-20 Thread Laszlo Papp
On Thu, Mar 20, 2014 at 10:47 AM, Denys Vlasenko vda.li...@googlemail.com wrote: With ntpd configuration file feature, in many cases you are likely to still need a script such as this to regenerate the config file. I would not need any script to do that and I am likely not alone. For the win,

Re: Ntpd config file support

2014-03-20 Thread Laszlo Papp
On Thu, Mar 20, 2014 at 10:53 AM, Denys Vlasenko vda.li...@googlemail.com wrote: On Thu, Mar 20, 2014 at 11:50 AM, Laszlo Papp lp...@kde.org wrote: On Thu, Mar 20, 2014 at 10:47 AM, Denys Vlasenko vda.li...@googlemail.com wrote: With ntpd configuration file feature, in many cases you

Re: Ntpd config file support

2014-03-20 Thread Laszlo Papp
On Thu, Mar 20, 2014 at 12:44 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Thu, Mar 20, 2014 at 12:02 PM, Laszlo Papp lp...@kde.org wrote: On Thu, Mar 20, 2014 at 10:53 AM, Denys Vlasenko vda.li...@googlemail.com wrote: On Thu, Mar 20, 2014 at 11:50 AM, Laszlo Papp lp...@kde.org wrote

Re: Unsubscibe

2014-03-20 Thread Laszlo Papp
You can do that here: http://lists.busybox.net/mailman/listinfo/busybox On Thu, Mar 20, 2014 at 1:04 PM, Hisham Abul Naga h_abuln...@hotmail.com wrote: Please I want to unsubscribe. Hisham Abul Naga Sent from my iPad ___ busybox mailing list

Re: Ntpd config file support

2014-03-20 Thread Laszlo Papp
Harald, you would not use the minimal config, so your workflow would not change anyway, and it is not like the complex use case you suggested with all the signals and all that. It is a reasonable compromise in my opinion. Parsing those two variables from a file is trivial, and would increase the

Changing the user name

2014-05-13 Thread Laszlo Papp
Hi, is this possible? I am looking for something like usermod -l on desktop. Alternatively, I have to look into the get/setpwent syscalls? Cheers, L. ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: Changing the user name

2014-05-14 Thread Laszlo Papp
On Wed, May 14, 2014 at 7:28 AM, Ralf Friedl ralf.fri...@online.de wrote: Laszlo Papp wrote: is this possible? I am looking for something like usermod -l on desktop. Alternatively, I have to look into the get/setpwent syscalls? You can also use sed to change /etc/passwd sed -i -e /s

Re: Changing the user name

2014-05-14 Thread Laszlo Papp
On Wed, May 14, 2014 at 7:40 AM, Ralf Friedl ralf.fri...@online.de wrote: Laszlo Papp wrote: On Wed, May 14, 2014 at 7:28 AM, Ralf Friedl ralf.fri...@online.de wrote: Laszlo Papp wrote: is this possible? I am looking for something like usermod -l on desktop. Alternatively, I have

Re: Changing the user name

2014-05-14 Thread Laszlo Papp
On Wed, May 14, 2014 at 9:18 AM, Tito farmat...@tiscali.it wrote: On Wednesday 14 May 2014 08:28:59 Ralf Friedl wrote: Laszlo Papp wrote: is this possible? I am looking for something like usermod -l on desktop. Alternatively, I have to look into the get/setpwent syscalls? You can also use

Re: Changing the user name

2014-05-14 Thread Laszlo Papp
On Tue, May 13, 2014 at 8:27 PM, Tito farmat...@tiscali.it wrote: On Tuesday 13 May 2014 19:01:41 Laszlo Papp wrote: Hi, is this possible? I am looking for something like usermod -l on desktop. This is actually not supported by busybox. So far we are able to add and delete users or groups

Re: Changing the user name

2014-05-14 Thread Laszlo Papp
On Wed, May 14, 2014 at 1:38 PM, Tito farmat...@tiscali.it wrote: On Wednesday 14 May 2014 12:33:45 you wrote: On Tue, May 13, 2014 at 8:27 PM, Tito farmat...@tiscali.it wrote: On Tuesday 13 May 2014 19:01:41 Laszlo Papp wrote: Hi, is this possible? I am looking for something like

Deluser: deleting the home folder

2014-07-02 Thread Laszlo Papp
Hi, is it currently possible to delete the user's home folder automatically when the user is removed by deluser? I cannot spot anything in the code right away, but I may be wrong therein. I hope this exists, but if it does not, would it be possible to add as an option similarly to the desktop

Build broken on Archlinux

2014-07-02 Thread Laszlo Papp
Hi, the commit below broke the build. Could you please provide a fix ASAP? ... util-linux/fatattr.c:37:58: error: ‘__u32’ undeclared (first use in this function) ... Cheers, L. commit d3633b7e9c5dae78343a8552f54b0efa61074380 Author: Pascal Bellard pascal.bell...@ads-lu.com Date: Mon Jun 30

Re: Build broken on Archlinux

2014-07-02 Thread Laszlo Papp
On Wed, Jul 2, 2014 at 10:43 PM, John Spencer maillist-busy...@barfooze.de wrote: Laszlo Papp wrote: +#include linux/types.h # define FAT_IOCTL_GET_ATTRIBUTES_IOR('r', 0x10, __u32) # define FAT_IOCTL_SET_ATTRIBUTES_IOW('r', 0x11, __u32) rather than pulling in known

Re: [PATCH] Use the standard libc types in fatattr

2014-07-02 Thread Laszlo Papp
Why do you submit another change? I already submitted one, and I am happy to update it if the maintainer requests any change? This feels a bit unwelcoming. ;) On Fri, Jul 4, 2014 at 2:55 PM, Isaac Dunham ibid...@gmail.com wrote: (rather than gratuitously copying every kernel-speific int type.)

Re: Deluser: deleting the home folder

2014-07-03 Thread Laszlo Papp
commit 761fd153e340a14abccc0af89f2f6617faf2077f Author: Laszlo Papp lp...@kde.org Date: Thu Jul 3 11:06:58 2014 +0100 Add optional home directory removal support to deluser diff --git a/loginutils/deluser.c b/loginutils/deluser.c index e39ac55..67b744b 100644 --- a/loginutils/deluser.c

Re: Deluser: deleting the home folder

2014-07-03 Thread Laszlo Papp
On Thu, Jul 3, 2014 at 11:10 AM, Laszlo Papp lp...@kde.org wrote: commit 761fd153e340a14abccc0af89f2f6617faf2077f Author: Laszlo Papp lp...@kde.org Date: Thu Jul 3 11:06:58 2014 +0100 Add optional home directory removal support to deluser diff --git a/loginutils/deluser.c b

Re: Deluser: deleting the home folder

2014-07-03 Thread Laszlo Papp
On Thu, Jul 3, 2014 at 12:59 PM, tito farmat...@tiscali.it wrote: On Thursday 03 July 2014 13:03:46 Laszlo Papp wrote: On Thu, Jul 3, 2014 at 11:10 AM, Laszlo Papp lp...@kde.org wrote: commit 761fd153e340a14abccc0af89f2f6617faf2077f Author: Laszlo Papp lp...@kde.org Date: Thu Jul

Re: [PATCH] Use the standard libc types in fatattr

2014-07-03 Thread Laszlo Papp
On Sat, Jul 5, 2014 at 8:31 AM, Isaac Dunham ibid...@gmail.com wrote: On Thu, Jul 03, 2014 at 06:21:03AM +0100, Laszlo Papp wrote: Why do you submit another change? I already submitted one, and I am happy to update it if the maintainer requests any change? I'd misread your response

Re: Deluser: deleting the home folder

2014-07-03 Thread Laszlo Papp
On Thu, Jul 3, 2014 at 8:31 PM, tito farmat...@tiscali.it wrote: On Thursday 03 July 2014 14:51:11 you wrote: On Thu, Jul 3, 2014 at 12:59 PM, tito farmat...@tiscali.it wrote: On Thursday 03 July 2014 13:03:46 Laszlo Papp wrote: On Thu, Jul 3, 2014 at 11:10 AM, Laszlo Papp lp

Re: Deluser: deleting the home folder

2014-07-03 Thread Laszlo Papp
Laszlo Papp wrote: On Thu, Jul 3, 2014 at 11:10 AM, Laszlo Papp lp...@kde.org wrote: commit 761fd153e340a14abccc0af89f2f6617faf2077f Author: Laszlo Papp lp...@kde.org Date: Thu Jul 3 11:06:58 2014 +0100 Add optional home directory removal support

Re: Deluser: deleting the home folder

2014-07-04 Thread Laszlo Papp
: On Thursday 03 July 2014 13:03:46 Laszlo Papp wrote: On Thu, Jul 3, 2014 at 11:10 AM, Laszlo Papp lp...@kde.org wrote: commit 761fd153e340a14abccc0af89f2f6617faf2077f Author: Laszlo Papp lp...@kde.org Date: Thu Jul 3 11:06:58 2014 +0100

Re: [PATCH] Use the standard libc types in fatattr

2014-07-04 Thread Laszlo Papp
On Fri, Jul 4, 2014 at 2:17 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Fri, Jul 4, 2014 at 3:55 PM, Isaac Dunham ibid...@gmail.com wrote: (rather than gratuitously copying every kernel-speific int type.) --- util-linux/fatattr.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH] Use the standard libc types in fatattr

2014-07-04 Thread Laszlo Papp
On Fri, Jul 4, 2014 at 2:47 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Fri, Jul 4, 2014 at 3:26 PM, Laszlo Papp lp...@kde.org wrote: -# define FAT_IOCTL_GET_ATTRIBUTES_IOR('r', 0x10, __u32) -# define FAT_IOCTL_SET_ATTRIBUTES_IOW('r', 0x11, __u32) +# define

Re: [PATCH] Use the standard libc types in fatattr

2014-07-04 Thread Laszlo Papp
On Fri, Jul 4, 2014 at 3:25 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Fri, Jul 4, 2014 at 4:06 PM, Laszlo Papp lp...@kde.org wrote: On Fri, Jul 4, 2014 at 2:47 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Fri, Jul 4, 2014 at 3:26 PM, Laszlo Papp lp...@kde.org wrote

Re: [PATCH] Use the standard libc types in fatattr

2014-07-04 Thread Laszlo Papp
On Fri, Jul 4, 2014 at 4:27 PM, Laszlo Papp lp...@kde.org wrote: On Fri, Jul 4, 2014 at 3:25 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Fri, Jul 4, 2014 at 4:06 PM, Laszlo Papp lp...@kde.org wrote: On Fri, Jul 4, 2014 at 2:47 PM, Denys Vlasenko vda.li...@googlemail.com

Re: [PATCH] Use the standard libc types in fatattr

2014-07-05 Thread Laszlo Papp
On Sat, Jul 5, 2014 at 12:38 AM, Isaac Dunham ibid...@gmail.com wrote: On Fri, Jul 04, 2014 at 03:06:04PM +0100, Laszlo Papp wrote: On Fri, Jul 4, 2014 at 2:47 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Fri, Jul 4, 2014 at 3:26 PM, Laszlo Papp lp...@kde.org wrote

Re: [PATCH] Use the standard libc types in fatattr

2014-07-05 Thread Laszlo Papp
On Sat, Jul 5, 2014 at 1:51 PM, Rich Felker dal...@libc.org wrote: On Sat, Jul 05, 2014 at 12:20:51PM +0100, Laszlo Papp wrote: To be pedantic, uint32_t was introduced in the Open Group Base Specifications, Issue 5 (released in 1997, basis for UNIX98). At that point it was defined

Re: Deluser: deleting the home folder

2014-07-16 Thread Laszlo Papp
This patch was sent to the mailing list two weeks ago without further comment from the maintainer... On Fri, Jul 4, 2014 at 11:15 AM, Laszlo Papp lp...@kde.org wrote: On Thu, Jul 3, 2014 at 10:28 PM, tito farmat...@tiscali.it wrote: On Thursday 03 July 2014 22:38:23 you wrote: On Thu

adduser/passwd: too long username

2014-08-04 Thread Laszlo Papp
Hi, sudo busybox adduser f passwd: unknown user f Yet,

Re: Deluser: deleting the home folder

2014-08-04 Thread Laszlo Papp
Denys, could you please provide feedback here? 1) Do you appreciate the feature? 2) If yes, which option would you like to see for it? On Wed, Jul 16, 2014 at 1:28 PM, Laszlo Papp lp...@kde.org wrote: This patch was sent to the mailing list two weeks ago without further comment from

Re: Deluser: deleting the home folder

2014-08-04 Thread Laszlo Papp
04, 2014 at 06:10:40PM +0100, Laszlo Papp wrote: Denys, could you please provide feedback here? 1) Do you appreciate the feature? 2) If yes, which option would you like to see for it? On Wed, Jul 16, 2014 at 1:28 PM, Laszlo Papp lp...@kde.org wrote: This patch was sent

Re: [PATCH] nproc: new applet

2014-08-04 Thread Laszlo Papp
On Mon, Aug 4, 2014 at 9:45 PM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On 4 August 2014 21:44:09 CEST, Isaac Dunham ibid...@gmail.com wrote: On Mon, Aug 04, 2014 at 06:13:02PM +0100, Laszlo Papp wrote: On Mon, Aug 4, 2014 at 6:10 PM, Steven Honeyman stevenhoney...@gmail.com

Re: [PATCH] nproc: new applet

2014-08-04 Thread Laszlo Papp
On Mon, Aug 4, 2014 at 11:19 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Mon, Aug 04, 2014 at 09:51:50PM +0100, Laszlo Papp wrote: Glibc is out of the question, naturally. What would matter is eglibc if one can verify it. What you mean? According to EGLIBC home page: EGLIBC

Re: [PATCH] nproc: new applet

2014-08-04 Thread Laszlo Papp
On Mon, Aug 4, 2014 at 11:37 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Mon, Aug 04, 2014 at 11:22:13PM +0100, Laszlo Papp wrote: I am not sure what is unclear. eglibc is eglibc. Yes, they merged lately, yet, Yocto, et all uses eglibc out there. That would be the most

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
is loaded. Use the file command. (gdb) On Mon, Aug 4, 2014 at 10:40 PM, tito farmat...@tiscali.it wrote: On Monday 04 August 2014 19:06:39 Laszlo Papp wrote: Hi, sudo busybox adduser

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
Here is my tested fix without being to debug the busybox code, so only code reading and understanding were my friends: commit 9610650b6ce2a4c1904f78a2dcdb47cad3d2e3d1 Author: Laszlo Papp lp...@kde.org Date: Tue Aug 5 11:42:24 2014 +0100 Allow 256 bytes long usernames as per Unix standards

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
is my tested fix without being to debug the busybox code, so only code reading and understanding were my friends: commit 9610650b6ce2a4c1904f78a2dcdb47cad3d2e3d1 Author: Laszlo Papp lp...@kde.org Date: Tue Aug 5 11:42:24 2014 +0100 Allow 256 bytes long usernames as per Unix

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
9610650b6ce2a4c1904f78a2dcdb47cad3d2e3d1 Author: Laszlo Papp lp...@kde.org Date: Tue Aug 5 11:42:24 2014 +0100 Allow 256 bytes long usernames as per Unix standards (usually) diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index 2060d78..368c252 100644 --- a/libpwdgrp

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
: Here is my tested fix without being to debug the busybox code, so only code reading and understanding were my friends: commit 9610650b6ce2a4c1904f78a2dcdb47cad3d2e3d1 Author: Laszlo Papp lp...@kde.org Date: Tue Aug 5 11:42:24 2014 +0100 Allow

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
On Tue, Aug 5, 2014 at 2:14 PM, Laszlo Papp lp...@kde.org wrote: On Tue, Aug 5, 2014 at 2:06 PM, tito farmat...@tiscali.it wrote: On Tuesday 05 August 2014 14:47:53 you wrote: On Tue, Aug 5, 2014 at 1:42 PM, tito farmat...@tiscali.it wrote: On Tuesday 05 August 2014 14:27:57 you

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
On Tue, Aug 5, 2014 at 3:06 PM, tito farmat...@tiscali.it wrote: On Tuesday 05 August 2014 15:21:49 you wrote: On Tue, Aug 5, 2014 at 2:14 PM, Laszlo Papp lp...@kde.org wrote: On Tue, Aug 5, 2014 at 2:06 PM, tito farmat...@tiscali.it wrote: On Tuesday 05 August 2014 14:47

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
On Tue, Aug 5, 2014 at 3:13 PM, Laszlo Papp lp...@kde.org wrote: On Tue, Aug 5, 2014 at 3:06 PM, tito farmat...@tiscali.it wrote: On Tuesday 05 August 2014 15:21:49 you wrote: On Tue, Aug 5, 2014 at 2:14 PM, Laszlo Papp lp...@kde.org wrote: On Tue, Aug 5, 2014 at 2:06 PM

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
commit 980965767ef3ace983746ee25e92665b87d16755 Author: Laszlo Papp lp...@kde.org Date: Tue Aug 5 11:42:24 2014 +0100 Allow 256 bytes long usernames as per Unix standards (usually) diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index 2060d78..9e4424f 100644 --- a/libpwdgrp

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
scripts and console, let alone user interfaces like small touch screen. Although, that is probably an entirely UI design area... On Tue, Aug 5, 2014 at 4:15 PM, Laszlo Papp lp...@kde.org wrote: commit 980965767ef3ace983746ee25e92665b87d16755 Author: Laszlo Papp lp...@kde.org Date: Tue Aug 5

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
it will be / only in case the home dir does not exist at login time as the login program does chdir to the home That is what the linked page also says, yes. dir else you would be locked out of a broken system (damaged partition mounted to /home, /root folder corrupted on main file

Re: adduser/passwd: too long username

2014-08-05 Thread Laszlo Papp
, Laszlo Papp lp...@kde.org wrote: commit 980965767ef3ace983746ee25e92665b87d16755 Author: Laszlo Papp lp...@kde.org Date: Tue Aug 5 11:42:24 2014 +0100 Allow 256 bytes long usernames as per Unix standards (usually) diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c

Re: [PATCH] taskset: support more than 64 cores

2014-08-11 Thread Laszlo Papp
I wonder about the use case for this feature? I mean busybox is meant for small systems in general, and =64 cores are not that small embedded systems, at least not yet, yeah? On Mon, Aug 11, 2014 at 1:58 PM, Matthieu Ternisien d'Ouville matthieu@6wind.com wrote: This patch adds support of

Re: [PATCH] taskset: support more than 64 cores

2014-08-11 Thread Laszlo Papp
On Mon, Aug 11, 2014 at 10:15 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Mon, Aug 11, 2014 at 02:25:04PM +0100, Laszlo Papp wrote: I wonder about the use case for this feature? I mean busybox is meant for small systems in general, and =64 cores are not that small embedded

Re: [PATCH] taskset: support more than 64 cores

2014-08-11 Thread Laszlo Papp
On Mon, Aug 11, 2014 at 10:33 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Mon, Aug 11, 2014 at 10:27:12PM +0100, Laszlo Papp wrote: Show me one typical embedded system that is high-volume and has more than 64 cores. Even the full-fledged iphone tablets are not there and even

Re: [PATCH] taskset: support more than 64 cores

2014-08-11 Thread Laszlo Papp
On Mon, Aug 11, 2014 at 11:13 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Mon, Aug 11, 2014 at 10:35:46PM +0100, Laszlo Papp wrote: Not quite sure what you are trying to achieve, but you wrote embedded systems _word-by-word_, and I asked for one typical example with more than

Re: [PATCH] taskset: support more than 64 cores

2014-08-11 Thread Laszlo Papp
On Mon, Aug 11, 2014 at 11:26 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Mon, Aug 11, 2014 at 11:19:34PM +0100, Laszlo Papp wrote: Right, so you cannot bring up any valid and real use case for this, or do not want despite the explicit clarification request, I take it. I do

Fix the addgroup help output

2014-08-13 Thread Laszlo Papp
commit 55d6582d88470078cef09f52d1bc3c9c3f7fca6a Author: Laszlo Papp lp...@kde.org Date: Wed Aug 13 09:48:08 2014 +0100 Fix the addgroup help output Since the applet has two options, it is quite misleading to only mention one in the usage example. It should either use OPTIONS

Re: Fix the addgroup help output

2014-08-13 Thread Laszlo Papp
, Aug 13, 2014 at 10:55 AM, walter harms wha...@bfs.de wrote: Am 13.08.2014 10:52, schrieb Laszlo Papp: commit 55d6582d88470078cef09f52d1bc3c9c3f7fca6a Author: Laszlo Papp lp...@kde.org Date: Wed Aug 13 09:48:08 2014 +0100 Fix the addgroup help output Since the applet has

Re: Fix the addgroup help output

2014-08-13 Thread Laszlo Papp
On Wed, Aug 13, 2014 at 9:52 AM, Laszlo Papp lp...@kde.org wrote: commit 55d6582d88470078cef09f52d1bc3c9c3f7fca6a Author: Laszlo Papp lp...@kde.org Date: Wed Aug 13 09:48:08 2014 +0100 Fix the addgroup help output Since the applet has two options, it is quite misleading to only

Re: Fix the addgroup help output

2014-08-13 Thread Laszlo Papp
On Wed, Aug 13, 2014 at 12:54 PM, tito farmat...@tiscali.it wrote: On Wednesday 13 August 2014 12:13:10 Laszlo Papp wrote: On Wed, Aug 13, 2014 at 9:52 AM, Laszlo Papp lp...@kde.org wrote: commit 55d6582d88470078cef09f52d1bc3c9c3f7fca6a Author: Laszlo Papp lp...@kde.org Date: Wed

Re: Re: Re: missing format string in applets/usage_pod.c

2014-08-14 Thread Laszlo Papp
Sorry, the list was left out at some point due to my mistake ... See below. On Thu, Aug 14, 2014 at 2:28 PM, Laszlo Papp lp...@kde.org wrote: On Thu, Aug 14, 2014 at 2:04 PM, wald...@gmx.de wrote: Hi Laszlo, Cannot reproduce with -Wall -Wpedantic -Wextra. Did you notice: applets

Re: Re: Re: missing format string in applets/usage_pod.c

2014-08-14 Thread Laszlo Papp
On Thu, Aug 14, 2014 at 2:44 PM, Tanguy Pruvot tanguy.pru...@gmail.com wrote: its the same with bionic libc (arm) printf(test) is ok but not printf(buf) with char buf[] = test; printf(%s, buf) is ok Yeah, I guess it is about personal preference. I personally do not like the extended code

Re: Re: Re: Re: missing format string in applets/usage_pod.c

2014-08-14 Thread Laszlo Papp
On Thu, Aug 14, 2014 at 3:36 PM, wald...@gmx.de wrote: Hi Laszlo, Yeah, I guess it is about personal preference. I personally do not like the extended code just to make some smart option silent. ... Based on your arguing it seems that you have NEVER heard about format string exploits

Re: Re: Re: missing format string in applets/usage_pod.c

2014-08-14 Thread Laszlo Papp
On Thu, Aug 14, 2014 at 4:05 PM, Rich Felker dal...@libc.org wrote: On Thu, Aug 14, 2014 at 03:28:51PM +0100, Laszlo Papp wrote: On Thu, Aug 14, 2014 at 2:44 PM, Tanguy Pruvot tanguy.pru...@gmail.com wrote: its the same with bionic libc (arm) printf(test) is ok but not printf(buf

Re: Re: Re: missing format string in applets/usage_pod.c

2014-08-14 Thread Laszlo Papp
0m0.047s sys 0m0.007s Printf: real0m2.811s user0m0.097s sys 0m0.020s On Thu, Aug 14, 2014 at 4:15 PM, Laszlo Papp lp...@kde.org wrote: On Thu, Aug 14, 2014 at 4:05 PM, Rich Felker dal...@libc.org wrote: On Thu, Aug 14, 2014 at 03:28:51PM +0100, Laszlo Papp wrote: On Thu, Aug 14

Re: Fix the addgroup help output

2014-08-15 Thread Laszlo Papp
On Fri, Aug 15, 2014 at 1:31 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Wed, Aug 13, 2014 at 2:25 PM, Laszlo Papp lp...@kde.org wrote: On Wed, Aug 13, 2014 at 12:54 PM, tito farmat...@tiscali.it wrote: On Wednesday 13 August 2014 12:13:10 Laszlo Papp wrote: On Wed, Aug 13, 2014

Re: Fix the addgroup help output

2014-08-15 Thread Laszlo Papp
On Fri, Aug 15, 2014 at 5:12 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Fri, Aug 15, 2014 at 3:11 PM, lp...@archlinux.us wrote: Applets are defining the help display text on their own, and it is different for different applets. Also, it will be difficult to change at many

Re: Re: Re: missing format string in applets/usage_pod.c

2014-08-15 Thread Laszlo Papp
On Fri, Aug 15, 2014 at 6:31 PM, Rich Felker dal...@libc.org wrote: On Thu, Aug 14, 2014 at 11:58:56PM -0700, Isaac Dunham wrote: On Thu, Aug 14, 2014 at 04:15:50PM +0100, Laszlo Papp wrote: On Thu, Aug 14, 2014 at 4:05 PM, Rich Felker dal...@libc.org wrote: On Thu, Aug 14, 2014

Re: Fix the addgroup help output

2014-08-17 Thread Laszlo Papp
On Sun, Aug 17, 2014 at 10:22 AM, Denys Vlasenko vda.li...@googlemail.com wrote: On Fri, Aug 15, 2014 at 3:11 PM, lp...@archlinux.us wrote: Applets are defining the help display text on their own, and it is different for different applets. I don't see any obvious way to make it easier

Re: adduser/passwd: too long username

2014-08-17 Thread Laszlo Papp
On Tue, Aug 5, 2014 at 8:34 PM, Laszlo Papp lp...@kde.org wrote: On Tue, Aug 5, 2014 at 7:16 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Mon, Aug 4, 2014 at 7:06 PM, Laszlo Papp lp...@kde.org wrote: sudo busybox adduser

Re: Fix the addgroup help output

2014-08-18 Thread Laszlo Papp
On Mon, Aug 18, 2014 at 9:45 AM, walter harms wha...@bfs.de wrote: Am 17.08.2014 11:22, schrieb Denys Vlasenko: On Fri, Aug 15, 2014 at 3:11 PM, lp...@archlinux.us wrote: Applets are defining the help display text on their own, and it is different for different applets. I don't

Re: Fix the addgroup help output

2014-08-18 Thread Laszlo Papp
On Mon, Aug 18, 2014 at 1:07 PM, tito farmat...@tiscali.it wrote: On Monday 18 August 2014 10:50:18 Laszlo Papp wrote: On Mon, Aug 18, 2014 at 9:45 AM, walter harms wha...@bfs.de wrote: Am 17.08.2014 11:22, schrieb Denys Vlasenko: On Fri, Aug 15, 2014 at 3:11 PM, lp

Re: Fix the addgroup help output

2014-08-18 Thread Laszlo Papp
On Mon, Aug 18, 2014 at 1:11 PM, Laszlo Papp lp...@kde.org wrote: On Mon, Aug 18, 2014 at 1:07 PM, tito farmat...@tiscali.it wrote: On Monday 18 August 2014 10:50:18 Laszlo Papp wrote: On Mon, Aug 18, 2014 at 9:45 AM, walter harms wha...@bfs.de wrote: Am 17.08.2014 11:22

Re: Fix the addgroup help output

2014-08-18 Thread Laszlo Papp
On Mon, Aug 18, 2014 at 1:42 PM, tito farmat...@tiscali.it wrote: On Monday 18 August 2014 14:11:48 you wrote: On Mon, Aug 18, 2014 at 1:07 PM, tito farmat...@tiscali.it wrote: On Monday 18 August 2014 10:50:18 Laszlo Papp wrote: On Mon, Aug 18, 2014 at 9:45 AM, walter harms wha

Re: [PATCH] taskset: support more than 64 cores

2014-08-18 Thread Laszlo Papp
On Tue, Aug 12, 2014 at 9:46 AM, Matthieu Ternisien d'Ouville matthieu@6wind.com wrote: On Tue, Aug 12, 2014 at 4:32 AM, Isaac Dunham ibid...@gmail.com wrote: On Mon, Aug 11, 2014 at 10:35:46PM +0100, Laszlo Papp wrote: On Mon, Aug 11, 2014 at 10:33 PM, Aaro Koskinen aaro.koski

Re: [PATCH 1/2] vi: avoid spurious error if no filename is provided

2014-08-18 Thread Laszlo Papp
Do you know under which circumstances it happens? Is this a regression or does it require some special environment? (I cannot reproduce it here with v1.20.2) On Mon, Aug 18, 2014 at 1:59 PM, Ron Yorston r...@tigress.co.uk wrote: Since commit 32afd3a (vi: some simplifications) starting vi

Re: [PATCH 1/2] vi: avoid spurious error if no filename is provided

2014-08-18 Thread Laszlo Papp
On Mon, Aug 18, 2014 at 2:13 PM, Ron Yorston r...@tigress.co.uk wrote: Laszlo Papp wrote: Do you know under which circumstances it happens? Is this a regression or does it require some special environment? (I cannot reproduce it here with v1.20.2) It's a regression on the master branch

Re: adduser/passwd: too long username

2014-08-18 Thread Laszlo Papp
On Mon, Aug 18, 2014 at 2:12 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Sun, Aug 17, 2014 at 12:48 PM, Laszlo Papp lp...@kde.org wrote: On Tue, Aug 5, 2014 at 8:34 PM, Laszlo Papp lp...@kde.org wrote: On Tue, Aug 5, 2014 at 7:16 PM, Denys Vlasenko vda.li

Re: adduser/passwd: too long username

2014-08-18 Thread Laszlo Papp
On Mon, Aug 18, 2014 at 2:37 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Mon, Aug 18, 2014 at 3:17 PM, Laszlo Papp lp...@kde.org wrote: Denys, this fix was sent two weeks ago? Why have you not applied it until there is a better fix (if any)? This is still broken and results

Re: adduser/passwd: too long username

2014-08-18 Thread Laszlo Papp
On Mon, Aug 18, 2014 at 2:40 PM, Laszlo Papp lp...@kde.org wrote: On Mon, Aug 18, 2014 at 2:37 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Mon, Aug 18, 2014 at 3:17 PM, Laszlo Papp lp...@kde.org wrote: Denys, this fix was sent two weeks ago? Why have you not applied it until

Re: Fix the addgroup help output

2014-08-18 Thread Laszlo Papp
wrote: On Monday 18 August 2014 10:50:18 Laszlo Papp wrote: On Mon, Aug 18, 2014 at 9:45 AM, walter harms wha...@bfs.de wrote: Am 17.08.2014 11:22, schrieb Denys Vlasenko: On Fri, Aug 15, 2014 at 3:11 PM, lp...@archlinux.us wrote

Re: Re: Re: missing format string in applets/usage_pod.c

2014-08-18 Thread Laszlo Papp
, 2014 6:45 AM *To:* Laszlo Papp *Cc:* wald...@gmx.de; busybox *Subject:* Re: Re: Re: missing format string in applets/usage_pod.c its the same with bionic libc (arm) printf(test) is ok but not printf(buf) with char buf[] = test; printf(%s, buf) is ok 2014-08-14 15:29 GMT+02:00

Re: [PATCH] taskset: support more than 64 cores

2014-08-18 Thread Laszlo Papp
On Mon, Aug 18, 2014 at 8:20 PM, Cathey, Jim jcat...@ciena.com wrote: Embedded != consumer electronics. Indeed. Our products use Busybox, and with some of them it's not impossible to push the per-unit price into seven figures (USD). They are flash-based, not disk-based, and file space

  1   2   >