Debian Bug report logs -
#656926
qemu: missing support for prctl PR_GET_NAME and PR_SET_NAME on ARM
Reported by: "Iker Salmón" <ikerssm@gmail.com>
Date: Sun, 22 Jan 2012 22:33:09 UTC
Severity: normal
Tags: patch
Fixed in version qemu/1.0.1+dfsg-1
Done: Vagrant Cascadian <vagrant@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#656926; Package adduser.
(Sun, 22 Jan 2012 22:33:12 GMT) (full text, mbox, link).
Acknowledgement sent
to "Iker Salmón" <ikerssm@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>.
(Sun, 22 Jan 2012 22:33:12 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: adduser
Version: 3.113
Severity: normal
Dear Maintainer,
trying to build a basic rootfs of armhf from x86 system with debootstrap i get this error when cron is setting up:
Setting up cron (3.0pl1-120+b1) ...
Can't set $0 with prctl(): Bad address at /usr/sbin/addgroup line 86.
dpkg: error processing cron (--configure):
related lines:
85 my $nogroup_id = getgrnam("nogroup") || 65534;
86 $0 =~ s+.*/++;
87
88 our $verbose = 1; # should we be verbose?
see this thread for further details,
http://lists.debian.org/debian-arm/2012/01/msg00062.html
i've reported a bug to perl:
https://rt.perl.org/rt3//Public/Bug/Display.html?id=108792
honestly, i don't underestand a bit of what is this going about, i've just done my best to follow the instructions and report this correctly,
thanks
Iker
*** End of the template - remove these lines ***
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-rc7-686-pae (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages adduser depends on:
ii debconf [debconf-2.0] 1.5.41
ii passwd 1:4.1.4.2+svn3283-3
ii perl-base 5.14.2-6
adduser recommends no packages.
Versions of packages adduser suggests:
ii liblocale-gettext-perl 1.05-7+b1
ii perl-modules 5.14.2-6
-- debconf information:
adduser/homedir-permission: true
adduser/title:
Bug reassigned from package 'adduser' to 'qemu'.
Request was from Hector Oron <zumbi@debian.org>
to control@bugs.debian.org.
(Fri, 02 Mar 2012 19:45:03 GMT) (full text, mbox, link).
Bug No longer marked as found in versions adduser/3.113.
Request was from Hector Oron <zumbi@debian.org>
to control@bugs.debian.org.
(Fri, 02 Mar 2012 19:45:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#656926; Package qemu.
(Fri, 02 Mar 2012 19:51:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Hector Oron <zumbi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Fri, 02 Mar 2012 19:51:05 GMT) (full text, mbox, link).
Message #14 received at 656926@bugs.debian.org (full text, mbox, reply):
Hello,
On Sun, Jan 22, 2012 at 11:30:59PM +0100, Iker Salmón wrote:
> Package: adduser
> Version: 3.113
> Severity: normal
>
> Dear Maintainer,
> trying to build a basic rootfs of armhf from x86 system with debootstrap i get this error when cron is setting up:
> Setting up cron (3.0pl1-120+b1) ...
> Can't set $0 with prctl(): Bad address at /usr/sbin/addgroup line 86.
> dpkg: error processing cron (--configure):
>
> related lines:
> 85 my $nogroup_id = getgrnam("nogroup") || 65534;
> 86 $0 =~ s+.*/++;
> 87
> 88 our $verbose = 1; # should we be verbose?
>
> see this thread for further details,
>
> http://lists.debian.org/debian-arm/2012/01/msg00062.html
>
> i've reported a bug to perl:
>
> https://rt.perl.org/rt3//Public/Bug/Display.html?id=108792
>
> honestly, i don't underestand a bit of what is this going about, i've just done my best to follow the instructions and report this correctly,
You seem to be using qemu, and qemu need a fix, submitted fix can be found at:
< http://www.mail-archive.com/qemu-devel@nongnu.org/msg95789.html >
Cheers,
--
Hector Oron
Changed Bug title to 'qemu: missing support for prctl PR_GET_NAME and PR_SET_NAME on ARM' from 'adduser: $0 modif is too fragile for an 'important' package.'
Request was from Hector Oron <zumbi@debian.org>
to control@bugs.debian.org.
(Fri, 02 Mar 2012 20:06:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#656926; Package qemu.
(Fri, 02 Mar 2012 20:33:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Hector Oron <zumbi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Fri, 02 Mar 2012 20:33:07 GMT) (full text, mbox, link).
Message #21 received at 656926@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 656926 + patch
tags 656926 + pending
thanks
Dear maintainer,
I've prepared an NMU for qemu (versioned as 1.0+dfsg-3.1) and
I had no plans to upload. Please feel free to tell me if I
should do or if you are willing to take the patch.
Regards.
--
Hector Oron
[qemu-1.0+dfsg-3.1-nmu.diff (text/x-diff, attachment)]
Added tag(s) patch.
Request was from Hector Oron <zumbi@debian.org>
to control@bugs.debian.org.
(Fri, 02 Mar 2012 20:33:09 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Hector Oron <zumbi@debian.org>
to control@bugs.debian.org.
(Fri, 02 Mar 2012 20:33:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#656926; Package qemu.
(Fri, 02 Mar 2012 23:18:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@freegeek.org>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Fri, 02 Mar 2012 23:18:05 GMT) (full text, mbox, link).
Message #30 received at 656926@bugs.debian.org (full text, mbox, reply):
tags 651083 pending
tags 651083 patch
thanks
On Fri, Mar 02, 2012 at 09:31:15PM +0100, Hector Oron wrote:
> + * Fix armhf prctl syscall (Closes: #656926).
> +
> + -- Hector Oron <zumbi@debian.org> Fri, 02 Mar 2012 20:56:23 +0100
thanks for the patch, it also fixes 651083 which i've been trying to figure out
for a while now!
applied the patch in git, will try to upload in the next few days.
liive well,
vagrant
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#656926; Package qemu.
(Sat, 03 Mar 2012 08:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Tokarev <mjt@tls.msk.ru>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Sat, 03 Mar 2012 08:03:03 GMT) (full text, mbox, link).
Message #35 received at 656926@bugs.debian.org (full text, mbox, reply):
On 03.03.2012 00:31, Hector Oron wrote:
> +--- qemu-1.0+dfsg.orig/linux-user/syscall.c
> ++++ qemu-1.0+dfsg/linux-user/syscall.c
> +@@ -6853,6 +6853,30 @@ abi_long do_syscall(void *cpu_env, int n
> + goto efault;
> + }
> + break;
> ++#ifdef PR_GET_NAME
> ++ case PR_GET_NAME:
> ++ {
> ++ void *name = lock_user(VERIFY_WRITE, arg2, 16, 1);
> ++ if (!name) {
What it has to do with arm? It looks like generic linux-user
emulation layer enhancement, no?
/mjt
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#656926; Package qemu.
(Sat, 03 Mar 2012 11:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Hector Oron <hector.oron@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Sat, 03 Mar 2012 11:27:06 GMT) (full text, mbox, link).
Message #40 received at 656926@bugs.debian.org (full text, mbox, reply):
Hello,
2012/3/3 Michael Tokarev <mjt@tls.msk.ru>:
> On 03.03.2012 00:31, Hector Oron wrote:
>> +--- qemu-1.0+dfsg.orig/linux-user/syscall.c
>> ++++ qemu-1.0+dfsg/linux-user/syscall.c
>> +@@ -6853,6 +6853,30 @@ abi_long do_syscall(void *cpu_env, int n
>> + goto efault;
>> + }
>> + break;
>> ++#ifdef PR_GET_NAME
>> ++ case PR_GET_NAME:
>> ++ {
>> ++ void *name = lock_user(VERIFY_WRITE, arg2, 16, 1);
>> ++ if (!name) {
> What it has to do with arm? It looks like generic linux-user
> emulation layer enhancement, no?
Thats right... just original report was seen on armhf on adduser behaviour.
Cheers,
--
Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-.
Reply sent
to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility.
(Tue, 06 Mar 2012 00:39:10 GMT) (full text, mbox, link).
Notification sent
to "Iker Salmón" <ikerssm@gmail.com>:
Bug acknowledged by developer.
(Tue, 06 Mar 2012 00:39:10 GMT) (full text, mbox, link).
Message #45 received at 656926-close@bugs.debian.org (full text, mbox, reply):
Source: qemu
Source-Version: 1.0.1+dfsg-1
We believe that the bug you reported is fixed in the latest version of
qemu, which is due to be installed in the Debian FTP archive:
qemu-keymaps_1.0.1+dfsg-1_all.deb
to main/q/qemu/qemu-keymaps_1.0.1+dfsg-1_all.deb
qemu-system_1.0.1+dfsg-1_i386.deb
to main/q/qemu/qemu-system_1.0.1+dfsg-1_i386.deb
qemu-user-static_1.0.1+dfsg-1_i386.deb
to main/q/qemu/qemu-user-static_1.0.1+dfsg-1_i386.deb
qemu-user_1.0.1+dfsg-1_i386.deb
to main/q/qemu/qemu-user_1.0.1+dfsg-1_i386.deb
qemu-utils_1.0.1+dfsg-1_i386.deb
to main/q/qemu/qemu-utils_1.0.1+dfsg-1_i386.deb
qemu_1.0.1+dfsg-1.debian.tar.gz
to main/q/qemu/qemu_1.0.1+dfsg-1.debian.tar.gz
qemu_1.0.1+dfsg-1.dsc
to main/q/qemu/qemu_1.0.1+dfsg-1.dsc
qemu_1.0.1+dfsg-1_i386.deb
to main/q/qemu/qemu_1.0.1+dfsg-1_i386.deb
qemu_1.0.1+dfsg.orig.tar.gz
to main/q/qemu/qemu_1.0.1+dfsg.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 656926@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated qemu package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 05 Mar 2012 13:05:14 -0800
Source: qemu
Binary: qemu qemu-keymaps qemu-system qemu-user qemu-user-static qemu-utils
Architecture: source all i386
Version: 1.0.1+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Description:
qemu - fast processor emulator
qemu-keymaps - QEMU keyboard maps
qemu-system - QEMU full system emulation binaries
qemu-user - QEMU user mode emulation binaries
qemu-user-static - QEMU user mode emulation binaries (static version)
qemu-utils - QEMU utilities
Closes: 651083 656926 660133
Changes:
qemu (1.0.1+dfsg-1) unstable; urgency=low
.
[ Aurelien Jarno ]
* New upstream stable version:
- remove debian/patches/fix-malta-i8259
- remove debian/patches/qemu-ifunc-ppc.patch
- remove debian/patches/x86-fix-cmpxchg.patch
.
[ Michael Tokarev ]
* apply patch to change backticks `` in debian/rules variables
to $(shell) construct, by Allard Hoeve. (Closes: #660133)
* depend on vgabios >= 0.6c-3~ not 0.6c-3, to assist backporting
.
[ Hector Oron ]
* Fix prctl syscall (Closes: #656926, #651083).
.
[ Vagrant Cascadian ]
* Update to Standards-Version 3.9.3, no changes necessary.
Checksums-Sha1:
f6f05009f9f88b4904d6b6f8a88624f1247eb985 2935 qemu_1.0.1+dfsg-1.dsc
2c2e4b94126df52e4e518c92c6326b7af48700f6 4901587 qemu_1.0.1+dfsg.orig.tar.gz
a9b885c4996a82de59dd6c8fddb8dfbc7ca60bac 42282 qemu_1.0.1+dfsg-1.debian.tar.gz
89dc7c717226e157e4a9a8e3cd02b1a03c67ae5e 47104 qemu-keymaps_1.0.1+dfsg-1_all.deb
eeb55c78b0cc78ec78bf31811fe2be6ebd0c4631 110178 qemu_1.0.1+dfsg-1_i386.deb
349d58e79bdde28eba1f0c7e7e859801d46361fa 25946990 qemu-system_1.0.1+dfsg-1_i386.deb
6c88854bef668fac0b625f5c7b278212acc774a7 6824320 qemu-user_1.0.1+dfsg-1_i386.deb
96add38b2b6987e15ba884a333aebed966edf2a2 14023178 qemu-user-static_1.0.1+dfsg-1_i386.deb
9d04746e76991f5e3bafc4eee128fe4e21dbbaee 648246 qemu-utils_1.0.1+dfsg-1_i386.deb
Checksums-Sha256:
a2a6fe99d804ff754de5803db77b7a1288aeef29e2cabff98e96983ddc6677a2 2935 qemu_1.0.1+dfsg-1.dsc
1c9107c8c313cace422afecf2c978dc6a37fb9e4c60f91982c5e0cf1256a318c 4901587 qemu_1.0.1+dfsg.orig.tar.gz
68544cddb84eb81511372725a15fda1cece9e8bf6f0b77227fadcbf9f57c95b6 42282 qemu_1.0.1+dfsg-1.debian.tar.gz
2ff12053ab5f310427478370d1a9a7084261bfae96b872f3d2a53763541fbe00 47104 qemu-keymaps_1.0.1+dfsg-1_all.deb
4e77d7c9e7f7b1c7de844cd6ad5f8b2377e62efecc1b3a6cffdca4b7a80850dc 110178 qemu_1.0.1+dfsg-1_i386.deb
facc53dcaa4f3c1f7927a6b9b37bd5f20944ad283249801fe7a9463047a5bbb1 25946990 qemu-system_1.0.1+dfsg-1_i386.deb
f4179ab26710dc8b5125485c96924e6bb04393c8e109841b17432806b74eb7a2 6824320 qemu-user_1.0.1+dfsg-1_i386.deb
3760f6477f4badedfc314f2d109897e723bd40a989ef509569c7fb829092e763 14023178 qemu-user-static_1.0.1+dfsg-1_i386.deb
b5cfc06f1ac7afc9bbda8fbd1afd8d34fe3cc2224193a20c10c6de217d7b36ff 648246 qemu-utils_1.0.1+dfsg-1_i386.deb
Files:
100d3ea54d3e751e301098e2ba7de704 2935 misc optional qemu_1.0.1+dfsg-1.dsc
19ff51497cb91d55a65daa51f95a669f 4901587 misc optional qemu_1.0.1+dfsg.orig.tar.gz
9bcd6a5a3601ab47b19675819bd2d7ff 42282 misc optional qemu_1.0.1+dfsg-1.debian.tar.gz
ec7ae54846877ef8d4d88f59df9b3f1b 47104 misc optional qemu-keymaps_1.0.1+dfsg-1_all.deb
97dcf94e8c2dcdd43cca158a51385149 110178 misc optional qemu_1.0.1+dfsg-1_i386.deb
c853450fd95b14236f9d618cbb109958 25946990 misc optional qemu-system_1.0.1+dfsg-1_i386.deb
0de816a7e0cb8ea32bd04faf8c3a77a4 6824320 misc optional qemu-user_1.0.1+dfsg-1_i386.deb
116e1dc14eb067e71b9b6577e10ad501 14023178 misc optional qemu-user-static_1.0.1+dfsg-1_i386.deb
0cde5b9226c8bed0c8b3c615970a57cf 648246 misc optional qemu-utils_1.0.1+dfsg-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBAgAGBQJPVVCGAAoJELeLgtSBS5G2OxQP/0nEJqLEBWu4Y8+YUndbRorC
xwfK6Ha8RkrT2vg5yFiEwlK4XFpuAFkzB6SlWVKHrKpwYGRaU89Wpke4UaRB9SM6
UivxCt9CXjCXzyUOPnpvW7j8f7a0WXzNcnqJY0N9eLA105CeqGr7vfrtlCsf96sw
ufBWIJFaRSklVBaWDsO0YCUpDe+xiz70j1hhMayA0FavX0B48DNjrmNsefjrM7NP
BC6LzDaqu8AX3B1G/sSrft/nFVwl//zMhiq3J9ysOqXt5DzjXxR8kdSEHKZKXLZ3
2s57O3xmlyLj+FHfH3vGRxIQYI6MnW7EGFU3I2iRys47f9Y2rY4ly7BD/KmLi8/J
sKaKXnBZVYeyOBkXCA3zafLW7M9VnwAO3bKaQ1D12wpcluIhe+GPk2QnR4APXAHq
pQdw+yejJCiDiJeO/G4tNPc2tjeIdAwJKf4llm9mIE8oNKPRi+Salf3Alrl0N5B2
zHzB11OXXM3QzQOdI2mJBzxdOCU8icTDC1lPcFfc6wPMWCE0VDvDjjVrrzBQ0S5E
hf9FcS/gepVJuNstBppGmXA8wbXiuazHP9ISNT75JTwv/xRv70JBYu4ffLwQbs2V
VWV62TiZDLQlbszdD29b7xsdWexs7vLSw3AAf5zDEM+5FMlSlVoTrJL2b5j+8C8v
pba5Affic2FxvXEEwThQ
=jjJd
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 24 Apr 2012 07:35:30 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 21:01:58 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.