Jan 4, 2013 snapshot fails with DHCP

2013-01-04 Thread James A. Peltier
I just tried to use the latest amd64 snapshot to prepare for an upgrade to our 
firewall.  We use DHCP during initial installation to PXE boot and perform the 
install at which point we configure through site52.tgz.  However, during 
installation and after boot DHCP reports the following error

  Cannot lstat() '/var/db/dhclient.leases.bge0': No such file or directory

it does this for all interfaces and DHCP fails to configure the interface.  
This does not happen with 5.2-RELEASE.

-- 
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier

The smartest people are constantly revising their understanding, reconsidering 
a problem they thought they’d already solved. They’re open to new points of 
view, new information, new ideas, contradictions, and challenges to their own 
way of thinking. - Jeff Bezos



Re: Jan 4, 2013 snapshot fails with DHCP

2013-01-04 Thread Jan Stary
On Jan 04 12:05:53, jpelt...@sfu.ca wrote:
 I just tried to use the latest amd64 snapshot to prepare for an upgrade to 
 our firewall.  We use DHCP during initial installation to PXE boot and 
 perform the install at which point we configure through site52.tgz.  However, 
 during installation and after boot DHCP reports the following error
 
   Cannot lstat() '/var/db/dhclient.leases.bge0': No such file or directory
 
 it does this for all interfaces and DHCP fails to configure the interface.  
 This does not happen with 5.2-RELEASE.

I've had the same problem with this snapshot.
Simply escaping to shell and doing

 /var/db/dhclient.leases.bge0
dhclient bge0

solved that.



Re: Jan 4, 2013 snapshot fails with DHCP

2013-01-04 Thread James A. Peltier
- Original Message -
| On Jan 04 12:05:53, jpelt...@sfu.ca wrote:
|  I just tried to use the latest amd64 snapshot to prepare for an
|  upgrade to our firewall.  We use DHCP during initial installation
|  to PXE boot and perform the install at which point we configure
|  through site52.tgz.  However, during installation and after boot
|  DHCP reports the following error
|  
|Cannot lstat() '/var/db/dhclient.leases.bge0': No such file or
|directory
|  
|  it does this for all interfaces and DHCP fails to configure the
|  interface.  This does not happen with 5.2-RELEASE.
| 
| I've had the same problem with this snapshot.
| Simply escaping to shell and doing
| 
|/var/db/dhclient.leases.bge0
|   dhclient bge0
| 
| solved that.

Yes, I am aware of that, but it doesn't work by default and that doesn't help 
if you reboot and you are not at the console.  It's a bug and so I am reporting 
it. ;)

-- 
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier

The smartest people are constantly revising their understanding, reconsidering 
a problem they thought they’d already solved. They’re open to new points of 
view, new information, new ideas, contradictions, and challenges to their own 
way of thinking. - Jeff Bezos



Re: Jan 4, 2013 snapshot fails with DHCP

2013-01-04 Thread Kenneth R Westerback
On Fri, Jan 04, 2013 at 02:10:02PM -0800, James A. Peltier wrote:
 - Original Message -
 | On Jan 04 12:05:53, jpelt...@sfu.ca wrote:
 |  I just tried to use the latest amd64 snapshot to prepare for an
 |  upgrade to our firewall.  We use DHCP during initial installation
 |  to PXE boot and perform the install at which point we configure
 |  through site52.tgz.  However, during installation and after boot
 |  DHCP reports the following error
 |  
 |Cannot lstat() '/var/db/dhclient.leases.bge0': No such file or
 |directory
 |  
 |  it does this for all interfaces and DHCP fails to configure the
 |  interface.  This does not happen with 5.2-RELEASE.
 | 
 | I've had the same problem with this snapshot.
 | Simply escaping to shell and doing
 | 
 |  /var/db/dhclient.leases.bge0
 | dhclient bge0
 | 
 | solved that.
 
 Yes, I am aware of that, but it doesn't work by default and that doesn't help 
 if you reboot and you are not at the console.  It's a bug and so I am 
 reporting it. ;)

It was fixed a day or so ago, so newer snaps should not have the problem.

 Ken

 
 -- 
 James A. Peltier
 Manager, IT Services - Research Computing Group
 Simon Fraser University - Burnaby Campus
 Phone   : 778-782-6573
 Fax : 778-782-3045
 E-Mail  : jpelt...@sfu.ca
 Website : http://www.sfu.ca/itservices
   http://blogs.sfu.ca/people/jpeltier
 
 The smartest people are constantly revising their understanding, 
 reconsidering a problem they thought they???d already solved. They???re open 
 to new points of view, new information, new ideas, contradictions, and 
 challenges to their own way of thinking. - Jeff Bezos



Re: Jan 4, 2013 snapshot fails with DHCP

2013-01-04 Thread James A. Peltier
- Original Message -
| On Fri, Jan 04, 2013 at 02:10:02PM -0800, James A. Peltier wrote:
|  - Original Message -
|  | On Jan 04 12:05:53, jpelt...@sfu.ca wrote:
|  |  I just tried to use the latest amd64 snapshot to prepare for an
|  |  upgrade to our firewall.  We use DHCP during initial
|  |  installation
|  |  to PXE boot and perform the install at which point we configure
|  |  through site52.tgz.  However, during installation and after
|  |  boot
|  |  DHCP reports the following error
|  |  
|  |Cannot lstat() '/var/db/dhclient.leases.bge0': No such file
|  |or
|  |directory
|  |  
|  |  it does this for all interfaces and DHCP fails to configure the
|  |  interface.  This does not happen with 5.2-RELEASE.
|  | 
|  | I've had the same problem with this snapshot.
|  | Simply escaping to shell and doing
|  | 
|  |/var/db/dhclient.leases.bge0
|  |   dhclient bge0
|  | 
|  | solved that.
|  
|  Yes, I am aware of that, but it doesn't work by default and that
|  doesn't help if you reboot and you are not at the console.  It's a
|  bug and so I am reporting it. ;)
| 
| It was fixed a day or so ago, so newer snaps should not have the
| problem.
| 
|  Ken
| 

Thanks!  I couldn't find the commit in source-changes so I wasn't sure it was 
fixed.

-- 
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier

The smartest people are constantly revising their understanding, reconsidering 
a problem they thought they’d already solved. They’re open to new points of 
view, new information, new ideas, contradictions, and challenges to their own 
way of thinking. - Jeff Bezos