group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #28469
[Bug 1632405] Re: virt-customize enters infinite loop: dhclient-script: cannot open /etc/fstab
Hello Paul, or anyone else affected,
Accepted libguestfs into xenial-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/libguestfs/1:1.32.2-4ubuntu2.1 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: libguestfs (Ubuntu)
Status: Confirmed => Fix Released
** Changed in: libguestfs (Ubuntu Xenial)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-xenial
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1632405
Title:
virt-customize enters infinite loop: dhclient-script: cannot open
/etc/fstab
Status in libguestfs package in Ubuntu:
Fix Released
Status in libguestfs source package in Xenial:
Fix Committed
Bug description:
When running virt-customize against an existing raw image, it seems to
hang and do nothing. With verbose flag passed the logs are filled
with:
/sbin/dhclient-script: 31: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 31: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 31: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 31: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 31: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 31: /sbin/dhclient-script: cannot open /etc/fstab: No such file
over and over again.
$ dpkg -l | grep guestfs
ii libguestfs-hfsplus:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - HFS+ support
ii libguestfs-perl 1:1.32.2-4ubuntu2 amd64 guest disk image management system - Perl bindings
ii libguestfs-reiserfs:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - ReiserFS support
ii libguestfs-rescue:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - virt-rescue enhancements
ii libguestfs-rsync:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - rsync support
ii libguestfs-tools 1:1.32.2-4ubuntu2 amd64 guest disk image management system - tools
ii libguestfs-xfs:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - XFS support
ii libguestfs0:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - shared library
$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
According to
https://answers.launchpad.net/ubuntu/+source/libguestfs/+question/372927
this is fixed in 1.34, though I haven't verified this for myself.
******************SRU TEMPLATE******************
[Impact]
On Xenial libguestfs fails to configure network and gets into infinite loop,
because /etc/fstab file is not present which is required by dhclient-script.
Currently the libguestfs version for xenial is 1.32.2-4ubuntu2 which misses
the upstream commit [1] that solves the problem.
[Test Case]
$ lsb_release -rd
Description: Ubuntu 16.04.5 LTS
Release: 16.04
$ dpkg -l | grep guest
ii libguestfs-hfsplus:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - HFS+ support
ii libguestfs-perl 1:1.32.2-4ubuntu2 amd64 guest disk image management system - Perl bindings
ii libguestfs-reiserfs:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - ReiserFS support
ii libguestfs-tools 1:1.32.2-4ubuntu2 amd64 guest disk image management system - tools
ii libguestfs-xfs:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - XFS support
ii libguestfs0:amd64 1:1.32.2-4ubuntu2 amd64 guest disk image management system - shared library
$ sudo guestfish -a xenial-server-cloudimg-amd64-disk1.img --network -v << EOF
run
mount /dev/sda1 /
command 'apt update'
EOF
libguestfs: launch: program=guestfish
libguestfs: launch: version=1.32.2
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
....
[ 3.684953] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2
/sbin/dhclient-script: 35: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 35: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 35: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 35: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 35: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 35: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 35: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
/sbin/dhclient-script: 35: /sbin/dhclient-script: cannot open /etc/fstab: No such file
RTNETLINK answers: File exists
[Regression Potential]
This may impact libguestfs functionality when netwrok flag is enabled.
[Other Info]
Upstream commit :
https://github.com/libguestfs/libguestfs/commit/fd60be95091a1923e108f72caf251f5549eeccd0
# git
git describe --contains fd60be9509
v1.33.43~10
# rmadison
=> libguestfs | 1:1.32.2-4ubuntu2 | xenial/universe | source
libguestfs | 1:1.36.13-1ubuntu3 | bionic/universe | source
libguestfs | 1:1.36.13-1ubuntu3.2 | bionic-updates/universe | source
libguestfs | 1:1.38.4-1ubuntu2 | cosmic/universe | source
libguestfs | 1:1.40.1-1ubuntu1 | disco/universe | source
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1632405/+subscriptions