Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-08 Thread Michael Tautschnig
Hi Michael, [...] It's the latest 'isc-dhcp-client' version 4.1.1-P1-15+squeeze3 from Squeeze (6.0.2) on AMD64. I guess it's not sufficient to just install isc-dhcp-client-dbg and gdb into the NFSROOT and modify the call of dhclient somewhere. [...] Hmm, actually that might do. It would

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-08 Thread Michael Tautschnig
Hi Michael, [...] It's the latest 'isc-dhcp-client' version 4.1.1-P1-15+squeeze3 from Squeeze (6.0.2) on AMD64. I guess it's not sufficient to just install isc-dhcp-client-dbg and gdb into the NFSROOT and modify the call of dhclient somewhere. [...] Hmm, actually that might do. It would

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-05 Thread Michael Fladerer
On Sat Sep 03, 2011 at 00:10:31 +0100, Michael Tautschnig wrote: Hmm, no, I don't think this script is to blame. As $new_nis_domain is unset in the environment, there isn't much that dhclient-perl could do about it. I'm afraid this is a problem in dhclient itself. Could you please let me know

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-05 Thread Thomas Lange
IMO this is not a bug of FAI. The FAI scripts calls following command in get-boot-info dhclient -lf /dev/null -cf /usr/share/fai/dhclient-fai.conf -sf /usr/share/fai/dhclient-fai-script $netdevices $bootlog 2 $LOGDIR/dhclient.log I changed the dhclient-fai-script to a simple shell

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-05 Thread Michael Fladerer
On Mon Sep 05, 2011 at 16:33:30 +0200, Thomas Lange wrote: IMO this is not a bug of FAI. The FAI scripts calls following command in get-boot-info dhclient -lf /dev/null -cf /usr/share/fai/dhclient-fai.conf -sf /usr/share/fai/dhclient-fai-script $netdevices $bootlog 2

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-02 Thread Michael Tautschnig
Hi again, Sorry for taking another day to respond. [...] I'm not absolutely sure about if this bug should be filed against fai-nfsroot package, but as far as I tried to debug this, I came across /usr/share/fai/dhclient-fai-script which is provided as script file to dhlclient (with -sf

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-02 Thread Michael Fladerer
Hi, On Fri Sep 02, 2011 at 13:42:57 +0100, Michael Tautschnig wrote: [...] Please don't worry about the exact package, but your assessment about this perl script being executed is fully correct. May I ask you to add additional debug output in YOUR NFSROOT/usr/lib/fai/dhclient-perl via

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-02 Thread Michael Tautschnig
Hi, [...] ok, I added some print statements to dhclient-perl, just as you suggested. Unfortunately, it now prints most of the information multiple times. Anyway, I attached the boot.log for both cases (nis-domain my-NIS-Domain+01 - nis_domain_with_plus_-_boot.log and nis-domain

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-02 Thread Michael Fladerer
Hi, On Fri Sep 02, 2011 at 20:25:37 +0100, Michael Tautschnig wrote: [...] Hmm, it seems that dhclient doesn't even export new_nis_domain in the plus case! (Check the diff of your two log files, new_nis_domain doesn't occur as envkey in the plus case.) right, that's why I expect the cause

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-02 Thread Michael Tautschnig
Hi, On Fri Sep 02, 2011 at 20:25:37 +0100, Michael Tautschnig wrote: [...] Hmm, it seems that dhclient doesn't even export new_nis_domain in the plus case! (Check the diff of your two log files, new_nis_domain doesn't occur as envkey in the plus case.) right, that's why I expect

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-01 Thread Michael Tautschnig
Hi Michael, When installing Debian Squeeze on amd64-based clients in a NIS environment, where the NIS domain name is supplied as DHCP option nis-domain Some_NIS_Domain+01 (containing the special character '+') setting the additional class NIS through code #!/bin/sh # add NIS if YPDOMAIN

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-09-01 Thread Michael Fladerer
Hi Michael, thanks for looking into this! On Thu Sep 01, 2011 at 11:48:35 +0100, Michael Tautschnig wrote: [...] May I ask you for the following further information? - Is it correct that the above code is executed as part of some script in class/? What is the name of that script? Yes,

Bug#639000: fai-nfsroot: Setting NIS domains containing special characters silently fails on install client

2011-08-23 Thread Michael Fladerer
Package: fai-nfsroot Severity: normal Hi. When installing Debian Squeeze on amd64-based clients in a NIS environment, where the NIS domain name is supplied as DHCP option nis-domain Some_NIS_Domain+01 (containing the special character '+') setting the additional class NIS through code #!/bin/sh