Re: problem with 2.6.6.

2005-02-16 Thread Andreas Gredler
On Wed, Feb 16, 2005 at 04:29:25PM +0100, Thomas Lange wrote:
> > On Wed, 16 Feb 2005 16:21:30 +0100, Andreas Gredler <[EMAIL PROTECTED]> 
> > said:
> 
> > Are you sure? I took a look at the source a few times and I couldn't
> > find some piece of code that copies or generates a /etc/resolv.conf
> > file. So it will be always missing, IMO.
> 
> On the install clients the task confdir calls the script create_resolv_conf
> (/usr/lib/fai/nfsroot/usr/lib/fai/create_resolv_conf) which creates
> a resolv.conf during the installation.

Ok.

> For creating the nfsroot on the install server you should normally
> include the IP address of the ftp or NFS server into the variable
> $NFSROOT_ETC_HOSTS. Then you do not need a resolv.conf during the
> make-fai-nfsroot call. Does this solve the problem?

Of course it would solve the problem, too. But IMO it would be better to
have a resolv.conf in $NFSROOT, because this was the way it worked
before. Currently a upgrade to 2.6.6 breaks the upgrade of the nfsroot
unless you know about the missing resolv.conf and change
$NFSROOT_ETC_HOSTS accordingly.

Why did you insert the "rm /etc/resolv.conf" in the latest release? To
get around the bug in debootstrap? If yes, why don't solve the problem
with a package dependency?

greets Jimmy

-- 
Andreas "Jimmy" Gredler, [EMAIL PROTECTED]
Get my public key at www.g-tec.co.at


Re: problem with 2.6.6.

2005-02-16 Thread Thomas Lange
> On Wed, 16 Feb 2005 16:21:30 +0100, Andreas Gredler <[EMAIL PROTECTED]> 
> said:

> Are you sure? I took a look at the source a few times and I couldn't
> find some piece of code that copies or generates a /etc/resolv.conf
> file. So it will be always missing, IMO.

On the install clients the task confdir calls the script create_resolv_conf
(/usr/lib/fai/nfsroot/usr/lib/fai/create_resolv_conf) which creates
a resolv.conf during the installation.

For creating the nfsroot on the install server you should normally
include the IP address of the ftp or NFS server into the variable
$NFSROOT_ETC_HOSTS. Then you do not need a resolv.conf during the
make-fai-nfsroot call. Does this solve the problem?

-- 
regards Thomas


Re: problem with 2.6.6.

2005-02-16 Thread Andreas Gredler
On Wed, Feb 16, 2005 at 12:52:43PM +0100, Thomas Lange wrote:
> > On Wed, 16 Feb 2005 07:52:05 +0100, martin f krafft <[EMAIL PROTECTED]> 
> > said:
> 
> >> My solution was:
> >> Remove the line (#238) in /usr/sbin/make-fai-nfsroot
> >> rm -f $NFSROOT /etc/resolv.conf
> 
> > Thomas, want me to submit a patch to the BTS?
> I'm not sure if this is really the proper solution for all. Currently
> I have no problems without this fix and I'm not sure if this fix will
> break other environments. 

Are you sure? I took a look at the source a few times and I couldn't
find some piece of code that copies or generates a /etc/resolv.conf
file. So it will be always missing, IMO.

greest Jimmy

-- 
Andreas "Jimmy" Gredler, [EMAIL PROTECTED]
Get my public key at www.g-tec.co.at


Re: problem with 2.6.6.

2005-02-16 Thread Thomas Lange
> On Wed, 16 Feb 2005 07:52:05 +0100, martin f krafft <[EMAIL PROTECTED]> 
> said:

>> My solution was:
>> Remove the line (#238) in /usr/sbin/make-fai-nfsroot
>> rm -f $NFSROOT /etc/resolv.conf

> Thomas, want me to submit a patch to the BTS?
I'm not sure if this is really the proper solution for all. Currently
I have no problems without this fix and I'm not sure if this fix will
break other environments. 

-- 
regards Thomas


Re: problem with 2.6.6.

2005-02-15 Thread martin f krafft
also sprach Andreas Gredler <[EMAIL PROTECTED]> [2005.02.16.0709 +0100]:
> My solution was:
> Remove the line (#238) in /usr/sbin/make-fai-nfsroot
> rm -f $NFSROOT /etc/resolv.conf

Thomas, want me to submit a patch to the BTS?

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
 
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: [EMAIL PROTECTED]
 
military intelligence is a contradiction in terms.
   -- groucho marx


signature.asc
Description: Digital signature


Re: problem with 2.6.6.

2005-02-15 Thread Andreas Gredler
On Thu, Feb 10, 2005 at 02:33:34PM +0100, martin f krafft wrote:
> also sprach Matthias Lechner <[EMAIL PROTECTED]> [2005.02.10.1414 +0100]:
> > do you have any ideas what to do?
> 
> I hope this is not related to #281264. Anyway, could you paste the
> contents of the create_base() function in /usr/sbin/make-fai-nfsroot
> and also include the output of /usr/bin/stat invoked on
> $NFSROOT/etc/resolv.conf ?

I just had the same problem and I noticed two facts:
- It seems that the bug in debootstrap was silently fixed
- make-fai-nfsroot deletes /etc/resolv.conf in function create_base

My solution was:
Remove the line (#238) in /usr/sbin/make-fai-nfsroot
rm -f $NFSROOT /etc/resolv.conf

HTH,
greets Jimmy

-- 
Andreas "Jimmy" Gredler, [EMAIL PROTECTED]
Get my public key at www.g-tec.co.at


Re: problem with 2.6.6.

2005-02-10 Thread Matthias Lechner
here are the requestet files/lines:

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
create_base() {

if [ "$FAI_DEBOOTSTRAP" ]; then
call_with_stamp call_debootstrap $FAI_DEBOOTSTRAP
$ROOTCMD apt-get clean
rm -f $NFSROOT/etc/resolv.conf
echo "Creating base.tgz"
tar -l -C $NFSROOT -cf - --exclude var/tmp/base.tgz . | gzip > 
$NFSROOT/var/tmp/base.tgz
else
die "\$FAI_DEBOOTSTRAP not defined."
fi
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

and (only found "resolv.con-installserver"):

linuxserver:~# /usr/bin/stat /usr/lib/fai/nfsroot/etc/resolv.conf-installserver
  File: ,,/usr/lib/fai/nfsroot/etc/resolv.conf-installserver"
  Size: 81  Blocks: 8  IO Block: 4096   reguläre Datei
Device: 301h/769d   Inode: 538555  Links: 1
Access: (0644/-rw-r--r--)  Uid: (0/root)   Gid: (0/root)
Access: 2005-02-10 13:58:10.0 +0100
Modify: 2005-01-12 15:19:29.0 +0100
Change: 2005-02-10 14:02:24.0 +0100
linuxserver:~#   

i hope this will help
thanks and goodbye
mat




Re: problem with 2.6.6.

2005-02-10 Thread martin f krafft
also sprach Matthias Lechner <[EMAIL PROTECTED]> [2005.02.10.1414 +0100]:
> do you have any ideas what to do?

I hope this is not related to #281264. Anyway, could you paste the
contents of the create_base() function in /usr/sbin/make-fai-nfsroot
and also include the output of /usr/bin/stat invoked on
$NFSROOT/etc/resolv.conf ?

Thanks,

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
 
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: [EMAIL PROTECTED]
 
"imagine if every thursday your shoes exploded if you
 tied them the usual way. this happens to us all the time
 with computers, and nobody thinks of complaining."
-- jeff raskin


signature.asc
Description: Digital signature


problem with 2.6.6.

2005-02-10 Thread Matthias Lechner
hi!

i'm trying to start a debian-linux network in the lab i work for. after 
configuration of fai-2.6.5 i got to the "mountpoint redefined"-bug wich 
should be fixed in 2.6.6. so i "apt-got" version 2.6.6. and restartet 
make-fai-nfsroot, which aborted with the following error messages:

[...]
Creating base.tgz
,,/etc/fai/sources.list" -> ,,/usr/lib/fai/nfsroot/etc/apt/sources.list"
Upgrading /usr/lib/fai/nfsroot
Failed to fetch
ftp://ftp.leo.org/debian/dists/sarge/main/binary-i386/Packages.gz  Temporary 
failure resolving 'ftp.leo.org'
Failed to fetch ftp://ftp.leo.org/debian/dists/sarge/main/binary-i386/Release  
Temporary failure resolving 'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian/dists/sarge/contrib/binary-i386/Packages.gz  
Temporary failure resolving 'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian/dists/sarge/contrib/binary-i386/Release  Temporary 
failure resolving'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian/dists/sarge/non-free/binary-i386/Packages.gz  
Temporary failure resolving 'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian/dists/sarge/non-free/binary-i386/Release  Temporary 
failure resolving 'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian-non-US/dists/sarge/non-US/main/binary-i386/Packages.gz 
 
Temporary failure resolving 'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian-non-US/dists/sarge/non-US/main/binary-i386/Release  
Temporary failure resolving 'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian-non-US/dists/sarge/non-US/contrib/binary-i386/Packages.gz
  
Temporaryfailure resolving 'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian-non-US/dists/sarge/non-US/contrib/binary-i386/Release  
Temporary failure resolving 'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian-non-US/dists/sarge/non-US/non-free/binary-i386/Packages.gz
  
Temporary failure resolving 'ftp.leo.org'
Failed to fetch 
ftp://ftp.leo.org/debian-non-US/dists/sarge/non-US/non-free/binary-i386/Release 
 
Temporary failure resolving 'ftp.leo.org'
Failed to fetch 
http://security.debian.org/debian-security/dists/sarge/updates/main/binary-i386/Packages.gz
  
Temporary failure resolving 'security.debian.org'
Failed to fetch 
http://security.debian.org/debian-security/dists/sarge/updates/main/binary-i386/Release
  
Temporary failure resolving 'security.debian.org'
Failed to fetch 
http://security.debian.org/debian-security/dists/sarge/updates/contrib/binary-i386/Packages.gz
  
Temporary failure resolving 'security.debian.org'
Failed to fetch 
http://security.debian.org/debian-security/dists/sarge/updates/contrib/binary-i386/Release
  
Temporary failure resolving 'security.debian.org'
Failed to fetch 
http://security.debian.org/debian-security/dists/sarge/updates/non-free/binary-i386/Packages.gz
  
Temporary failure resolving 'security.debian.org'
Failed to fetch 
http://security.debian.org/debian-security/dists/sarge/updates/non-free/binary-i386/Release
  
Temporary failure resolving 'security.debian.org'
E: Some index files failed to download, they have been ignored, or old ones 
used instead.
linuxserver:~#  

the strange thing: this only occurs with version 2.6.6. i downgraded to 2.6.5 
and it worked perfectly, so it can't be an external problem like a 
non-working DNS- or Debian-Server. i also tried an alternative server, 
recieving the same messages. 
do you have any ideas what to do?

thanks in advance
mat