Bug#406911: user-setup: last set of bugfixes stops passwd/make-user=false from working

2007-01-16 Thread Joey Hess
Luke Kenneth Casson Leighton wrote: frans, why is functions.sh returning '1' if the file $ROOT/etc/passwd exists, in both the is_system_user and root_password functions? surely this should be 0 in both instances? Er, it's not: if ! [ -e $ROOT/etc/passwd ]; then

Bug#406911: user-setup: last set of bugfixes stops passwd/make-user=false from working

2007-01-16 Thread Luke Kenneth Casson Leighton
On Mon, Jan 15, 2007 at 08:55:02PM -0500, Joey Hess wrote: Luke Kenneth Casson Leighton wrote: frans, why is functions.sh returning '1' if the file $ROOT/etc/passwd exists, in both the is_system_user and root_password functions? surely this should be 0 in both instances? Er, it's

Bug#406911: user-setup: last set of bugfixes stops passwd/make-user=false from working

2007-01-14 Thread Luke Kenneth Casson Leighton
Package: user-setup Severity: normal the setup i'm endeavouring to create is one which uses oem-config, the ubuntu OEM package which, at first boot-time (after running oem-config-prepare, shutting the machine down and shipping it to the customer) will ask for a username and password, and THEN

Bug#406911: user-setup: last set of bugfixes stops passwd/make-user=false from working

2007-01-14 Thread Frans Pop
On Monday 15 January 2007 00:55, Luke Kenneth Casson Leighton wrote: this all worked happily, until about three days ago. I have absolutely no explanation for that. The last upload of user setup was: [2006-11-30] Accepted 1.8 in unstable (low) (Frans Pop) And I don't think there have been any

Bug#406911: user-setup: last set of bugfixes stops passwd/make-user=false from working

2007-01-14 Thread Luke Kenneth Casson Leighton
On Mon, Jan 15, 2007 at 01:53:41AM +0100, Frans Pop wrote: On Monday 15 January 2007 00:55, Luke Kenneth Casson Leighton wrote: this all worked happily, until about three days ago. I have absolutely no explanation for that. The last upload of user setup was: [2006-11-30] Accepted 1.8 in

Bug#406911: user-setup: last set of bugfixes stops passwd/make-user=false from working

2007-01-14 Thread Luke Kenneth Casson Leighton
frans, why is functions.sh returning '1' if the file $ROOT/etc/passwd exists, in both the is_system_user and root_password functions? surely this should be 0 in both instances? especially look at like 47 of user-setup-ask - it says if [ ! root_password] and of course, the /target/etc/passwd