Bug#390504: FAI_CONFIGDIR is ignored
Hi, On Sun, Oct 01, 2006 at 05:30:03PM +0200, Holger Levsen wrote: with an unmodified /etc/fai/fai.conf and a populated /srv/fai/config (on the client), running fai -N softupdate results in the error-message Error: Provide the URL to obtain the fai config storage in $FAI_CONFIG_SRC. Despite, from fai.conf: # the configuration space on the install server FAI_CONFIGDIR=/srv/fai/config # how to access the fai config space # default if undefined here: nfs://`hostname`/$FAI_CONFIGDIR Currently, this is the default value while running make-fai-nfsroot only. In case, we're running from a FAI-CD, the default value is file://$FAI. All other cases do not provide a default value. I'm not sure about the best default in those cases, but in case of a softupdate I don't think that nfs://`hostname`/$FAI_CONFIGDIR would make a lot of sense as `hostname` would return the hostname of the client. Then, fai hangs (and doesn't exit.) In the current version, the following code is executed: In lib/get-config-dir: if [ -z $FAI_CONFIG_SRC ]; then sendmon TASKERROR get_fai_dir 21 echo Error: Provide the URL to obtain the fai config storage in \$FAI_CONFIG_SRC exit 21 fi ... which is then caught in lib/subroutines-linux: get-config-dir || { echo Problems accessing the config space. die } As FAI_ACTION does not equal install in that case, die() should simply exit. I don't see where fai would hang. Cheers, Sebastian -- Sebastian tokkee Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin signature.asc Description: Digital signature
Bug#390504: FAI_CONFIGDIR is ignored
Hi, On Monday 02 October 2006 02:13, you wrote: a bug which has a major effect on the usability of a package, without rendering it completely unusable to everyone. as its trivial to workaround I fail to the see the major effect... regards, Holger pgpqH8TucEyw4.pgp Description: PGP signature
Bug#390504: FAI_CONFIGDIR is ignored
Holger Levsen wrote: [...] as its trivial to workaround I fail to the see the major effect... What is the solution to fix it, then? Why didn't you document it here? Then, it's not trivial to work around for people who don't know FAI for years, as you do. Please tr to imagine. And a program hanging with an error is very bad usability, and a bad user experience - people don't know if they have to wait for some longer time, or just hit ctrl-c. Please ask a usability expert if you don't believe me. Heninng -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390504: FAI_CONFIGDIR is ignored
Hi, On Monday 02 October 2006 12:08, you wrote: What is the solution to fix it, then? Why didn't you document it here? use FAI_CONFIG_SRC instead of FAI_CONFIG_DIR? It is implied in the bug report. Please ask a usability expert if you don't believe me. Usability issues are not of _severity_ important. You might think this is sad or wrong, but thats the way it is. regards, Holger pgpGy10SdVodo.pgp Description: PGP signature
Bug#390504: FAI_CONFIGDIR is ignored
Holger Levsen wrote: [...] Usability issues are not of _severity_ important. Please read the text that explains the important severity again. Usability is explicitly mentioned there. A program stopping without exiting correctly and ignoring config directions as the developers provide them (so should be assumed to be correct and working) is a _major_ confusion, especially for non-experienced users. Henning -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390504: FAI_CONFIGDIR is ignored
IMO this bug is of severity normal. -- regards Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390504: FAI_CONFIGDIR is ignored
package: fai-client version: 3.0 Hi, with an unmodified /etc/fai/fai.conf and a populated /srv/fai/config (on the client), running fai -N softupdate results in the error-message Error: Provide the URL to obtain the fai config storage in $FAI_CONFIG_SRC. Despite, from fai.conf: # the configuration space on the install server FAI_CONFIGDIR=/srv/fai/config # how to access the fai config space # default if undefined here: nfs://`hostname`/$FAI_CONFIGDIR #FAI_CONFIG_SRC=nfs://yourservername$FAI_CONFIGDIR Then, fai hangs (and doesn't exit.) The error+behaviour is the same, if /srv/fai/config doesnt exist, it would be nice, if an error-message /srv/fai/config doesnt exist would be printed and then fai would exit with error 1. Not filing a seperate bug for this (yet), as first the above described issue needs to be fixed. regards, Holger pgpoMXigfn5k8.pgp Description: PGP signature
Bug#390504: FAI_CONFIGDIR is ignored
Holger Levsen wrote: with an unmodified /etc/fai/fai.conf and a populated /srv/fai/config (on the client), running fai -N softupdate results in the error-message Error: Provide the URL to obtain the fai config storage in $FAI_CONFIG_SRC. That means, fai softupdates does not work at all with the default config, right? Then this bug is rather important, I guess. Or am I missing something? (If I am right I'll update the severity which I already set to normal from none) Henning -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390504: FAI_CONFIGDIR is ignored
Hi, not sure if I need to cc: you... I'm subscribed to the fai package in the BTS, so you dont have to cc: me... (but in the BTS I dont mind, on the lists I do :) On Sunday 01 October 2006 22:31, you wrote: That means, fai softupdates does not work at all with the default config, right? Yes. Then this bug is rather important, I guess. Or am I missing something? (If I am right I'll update the severity which I already set to normal from none) There is no none severity. The default _is_ normal :) I was thinking about important severity as well, but decided against it. It's completly trivial to work around it and I rather prefer to fix the more important documentation issues first. But obviously _I_ also dont mind if the severity is increased. But Thomas might, thats why I left it normal. (Which as said is just a bug, cause its easy to fix yourself. Other stuff is really important.) regards, Holger pgpH63rISgQgZ.pgp Description: PGP signature
Bug#390504: FAI_CONFIGDIR is ignored
Holger Levsen wrote: But obviously _I_ also dont mind if the severity is increased. But Thomas might, thats why I left it normal. (Which as said is just a bug, cause its easy to fix yourself. Other stuff is really important.) If something is delivered that does not work in the default config, this is important. Henning -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#390504: FAI_CONFIGDIR is ignored
Hi, On Sunday 01 October 2006 22:56, Henning Sprang wrote: If something is delivered that does not work in the default config, this is important. No. See http://www.debian.org/Bugs/Developer#severities regards, Holger pgpxoiryqNn8c.pgp Description: PGP signature
Bug#390504: FAI_CONFIGDIR is ignored
Holger Levsen wrote: [...] See http://www.debian.org/Bugs/Developer#severities a bug which has a major effect on the usability of a package, without rendering it completely unusable to everyone. I'm not duscussion that any further. Heninng -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]