Package: ifupdown
Version: 0.6.7
Severity: normal

I think that only one of the preinst and postinst scripts should create
/etc/network/interfaces.  Specifically, preinst should not create
it.  Or if it does, move the code from the postinst to the
preinst (so the created file will have a stanza for lo).

 This isn't normally a problem, because debian-installer's netcfg
writes /etc/network/interfaces itself, and FAI munges it too...  

 I ran into this while hacking my FAI scripts to only write
/etc/network/interfaces if it didn't exist, which is where the version
created by the pre/postinst scripts comes in.  I found it
confusing, so I'm reporting a bug...

happy hacking,
Peter Cordes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to