the-linux-schools-project / karoshi-client

Central repository for Karoshi Client development
http://linuxschools.org.uk
5 stars 6 forks source link

/etc/network/interfaces created with empty address field #55

Closed RobinMcCorkell closed 10 years ago

RobinMcCorkell commented 10 years ago

Reported by @nglbrkr, there are situations (perhaps related to DHCP?) that can cause /etc/network/interfaces to be created with correct information, but without an address field. Stronger safeguards should be in place to prevent this from happening.

Log lines of note:

/usr/bin/karoshi-set-network: line 332: /tmp/netlogon/clients/002170D0FF24: No such file or directory
/etc/network/interfaces:5: option with empty value
ifup: couldn't read interfaces file "/etc/network/interfaces"
RobinMcCorkell commented 10 years ago

After some more research, it looks like this was caused by a network failure during the network setup. Closing.