[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926931: unblock: golang-github-go-debos-fakemachine/0.0~git20181105.9316584-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package golang-github-go-debos-fakemachine

Fixes release critical bug which causes package to be unusable


diff -Nru golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/changelog golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/changelog
--- golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/changelog	2018-11-09 10:15:18.000000000 +0100
+++ golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/changelog	2019-04-12 11:53:04.000000000 +0200
@@ -1,3 +1,10 @@
+golang-github-go-debos-fakemachine (0.0~git20181105.9316584-2) unstable; urgency=medium
+
+  * fakemachine: execution fails due to missing shared lib
+    (Closes: #924392)
+
+ -- Héctor Orón Martínez <zumbi@debian.org>  Fri, 12 Apr 2019 11:53:04 +0200
+
 golang-github-go-debos-fakemachine (0.0~git20181105.9316584-1) unstable; urgency=medium
 
   * New upstream version 0.0~git20181105.9316584
diff -Nru golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/patches/0001-Add-libresolve.so.2-in-the-initramfs.patch golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/patches/0001-Add-libresolve.so.2-in-the-initramfs.patch
--- golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/patches/0001-Add-libresolve.so.2-in-the-initramfs.patch	1970-01-01 01:00:00.000000000 +0100
+++ golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/patches/0001-Add-libresolve.so.2-in-the-initramfs.patch	2019-04-12 11:47:40.000000000 +0200
@@ -0,0 +1,25 @@
+From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
+Date: Tue, 5 Mar 2019 10:17:57 +0100
+Subject: Add libresolve.so.2 in the initramfs
+
+busybox in buster depends on libresolve.so.2 so copy it to the
+initramfs; Potentially in future fakemachine should move to
+busybox-static
+
+Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
+---
+ machine.go | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/machine.go b/machine.go
+index 4a9bd83..021ee67 100644
+--- a/machine.go
++++ b/machine.go
+@@ -457,6 +457,7 @@ func (m *Machine) startup(command string, extracontent [][2]string) (int, error)
+ 	if mergedUsrSystem() {
+ 		prefix = "/usr"
+ 	}
++	w.CopyFile(prefix + "/lib/x86_64-linux-gnu/libresolv.so.2")
+ 	w.CopyFile(prefix + "/lib/x86_64-linux-gnu/libc.so.6")
+ 	w.CopyFile(prefix + "/bin/busybox")
+ 
diff -Nru golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/patches/series golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/patches/series
--- golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ golang-github-go-debos-fakemachine-0.0~git20181105.9316584/debian/patches/series	2019-04-12 11:47:40.000000000 +0200
@@ -0,0 +1 @@
+0001-Add-libresolve.so.2-in-the-initramfs.patch



unblock golang-github-go-debos-fakemachine/0.0~git20181105.9316584-2

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 4.19.0-4-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8), LANGUAGE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply to: