resolvconf not updated on iscsi root
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Fix Released
|
Medium
|
Scott Moser | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
=== Begin SRU Information ===
[Impact]
When using iscsi-root, /etc/init/
the network device providing the iscsi target network link from
being brought down. This works fine.
The problem is when resolvconf is in use, the dhcp search and
nameserver settings that were obtained from the initramfs's
dhcp client are never populated into resolvconf.
The result is that users have to find som other way to populate
/etc/resolv.conf if they're using iscsi root and want entries from dhcp
to be surfaced.
We would like this fixed in precise so that the maas "ephemeral boot images"
no longer have to have a specially patched open-iscsi inside them.
Previously, these images include PPA debs for open-iscsi and some other
packages.
The fix here is the same fix that is applied in quantal and forward in
ubuntu packaging. It simply makes /etc/init/
replays data from the initramfs's dhcp request to resolvconf.
[Test Case]
Boot an iscsi root system with resolvconf installed
/etc/resolv.conf will be empty (or at least not populated by the responses
from the initramfs's dhcp client)
[Regression Potential]
There is a potential for regression here if the user is otherwise
modifying /etc/resolv.conf and has resolvconf installed.
any regression would almost certainly be limited to settings in
/etc/resolv.conf
[Other Info]
The maas "ephemeral images" have been using this patch for several
months, and the changes are the same as applied in quantal.
=== End SRU Information ===
on iscsi root /etc/init/
As a result, though, then resolvconf doesn't get updated for this interface.
We need to have /etc/init/
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: open-iscsi 2.0.873-3ubuntu1
ProcVersionSign
Uname: Linux 3.5.0-13-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Thu Sep 13 15:32:42 2012
Ec2AMI: ami-00000148
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: open-iscsi
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in open-iscsi (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Scott Moser (smoser) |
description: | updated |
This bug was fixed in the package open-iscsi - 2.0.873-3ubuntu2
---------------
open-iscsi (2.0.873-3ubuntu2) quantal; urgency=low
* debian/ extra/initramfs .local- top: start writing initramfs/ open-iscsi. interface file again (LP: #1050480) open-iscsi. iscsi-network- interface. upstart: integrate with
/run/
* debian/
resolvconf (LP: #1050487)
-- Scott Moser <email address hidden> Mon, 17 Sep 2012 15:46:26 -0400