Re: user-setup (1.24)

2009-05-24 Thread Christian Perrier
Quoting Otavio Salvador (ota...@ossystems.com.br): That's not what I call KISS. Main problem is that in ~2 years time someone will have to untangle what exactly is legacy and what is not. Yes, your version is easier to cleanup after squeeze goes out. Please go ahead and commit it. I'll

Re: user-setup (1.24)

2009-05-21 Thread Adeodato Simó
+ Frans Pop (Thu, 21 May 2009 00:12:59 +0200): + ... dpkg -s passwd | sed -n '/^Version:/s,^Version: ,,p') FWIW that can be written just as `sed -n 's/^Version: //p'`, since p will only print if a substitution was made, but what you probably want is `dpkg-query -W -f '${Version}\n' passwd`,

user-setup (1.24)

2009-05-20 Thread Frans Pop
+user-setup (1.24) unstable; urgency=low + [ Christian Perrier ] + * No longer use the -m switch of chpasswd. It uses PAM now and no +longer has this switch. The password will use settings from +libpam-runtime, so MD5 by default. Does this mean it is no longer possible to preseed using

Re: user-setup (1.24)

2009-05-20 Thread Frans Pop
On Wednesday 20 May 2009, Frans Pop wrote: +user-setup (1.24) unstable; urgency=low + [ Christian Perrier ] + * No longer use the -m switch of chpasswd. It uses PAM now and no +longer has this switch. The password will use settings from +libpam-runtime, so MD5 by default. Does

Re: user-setup (1.24)

2009-05-20 Thread Otavio Salvador
Hello Christian, On Wed, May 20, 2009 at 1:54 PM, Christian Perrier bubu...@debian.org wrote: - another solution proposed by otavio that I haven't been able to understand: he'll propose a patch soon I'm sending the attached patch for people to comment. My idea is that the lenny.sh script to be

Re: user-setup (1.24)

2009-05-20 Thread Christian Perrier
Quoting Frans Pop (elen...@planet.nl): On Wednesday 20 May 2009, Frans Pop wrote: +user-setup (1.24) unstable; urgency=low + [ Christian Perrier ] + * No longer use the -m switch of chpasswd. It uses PAM now and no +longer has this switch. The password will use settings from

Re: user-setup (1.24)

2009-05-20 Thread Frans Pop
On Wednesday 20 May 2009, Otavio Salvador wrote: Hello Christian, On Wed, May 20, 2009 at 1:54 PM, Christian Perrier bubu...@debian.org wrote: - another solution proposed by otavio that I haven't been able to understand: he'll propose a patch soon I'm sending the attached patch for

Re: user-setup (1.24)

2009-05-20 Thread Otavio Salvador
Hello, Here goes a fixed patch for review. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br From 607dc2fe724748617498d79f22be82816f95014e Mon Sep 17 00:00:00 2001 From:

Re: user-setup (1.24)

2009-05-20 Thread Frans Pop
On Wednesday 20 May 2009, Otavio Salvador wrote: I belive this does all right now. Patch attached. No, it's still broken. You're seriously underestimating the complexity here. KISS! Especially because the risk is huge that you will only find bugs in such code _after_ you've already released.

Re: user-setup (1.24)

2009-05-20 Thread Otavio Salvador
Hello Frans, On Wed, May 20, 2009 at 4:46 PM, Frans Pop elen...@planet.nl wrote: On Wednesday 20 May 2009, Otavio Salvador wrote: I belive this does all right now. Patch attached. No, it's still broken. You're seriously underestimating the complexity here. I'd love to know what I missed, if

Re: user-setup (1.24)

2009-05-20 Thread Otavio Salvador
Hello, On Wed, May 20, 2009 at 5:41 PM, Otavio Salvador ota...@ossystems.com.br wrote: I'd love to know what I missed, if you don't mind to explain. Anyway an alternative patch is attached. I've already added the missing $ROOT in dpkg --compare-versions call, locally. -- Otavio Salvador

Re: user-setup (1.24)

2009-05-20 Thread Frans Pop
On Wednesday 20 May 2009, Otavio Salvador wrote: On Wed, May 20, 2009 at 4:46 PM, Frans Pop elen...@planet.nl wrote: No, it's still broken. You're seriously underestimating the complexity here. I'd love to know what I missed, if you don't mind to explain. Try a grep for codename. It's a

Re: user-setup (1.24)

2009-05-20 Thread Frans Pop
On Wednesday 20 May 2009, Otavio Salvador wrote: I've already added the missing $ROOT in dpkg --compare-versions call, locally. Which means you're still missing it in the dpkg -s call? -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble?

Re: user-setup (1.24)

2009-05-20 Thread Otavio Salvador
Hello Frans, On Wed, May 20, 2009 at 7:12 PM, Frans Pop elen...@planet.nl wrote: On Wednesday 20 May 2009, Otavio Salvador wrote: On Wed, May 20, 2009 at 4:46 PM, Frans Pop elen...@planet.nl wrote: No, it's still broken. You're seriously underestimating the complexity here. I'd love to