Package: mini-buildd
Version: 1.0.2
Severity: wishlist

Dear Maintainer,

Filing this as a whishlist as I'm not sure if there's any simple way to
resolve the issue, and because qemu chroots was my own personal bug in
the first place.

I had to re-create chroots on my server a while ago. I noticed that
armhf jobs (that are the only ones I send to chroots that user
qemu-user-static) failed. The error is because copying of the setup
files failed. Such as:

sudo cp 
/srv/mini-buildd/var/spool/e95cb596646d2e6db6a29efd0c8ed598ce96a19a/apt_sources.list
 /etc/apt/sources.list
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────

sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 
'nosuid' option set or an NFS file system without root privileges?

E: Command 'sudo cp 
/srv/mini-buildd/var/spool/e95cb596646d2e6db6a29efd0c8ed598ce96a19a/apt_sources.list
 /etc/apt/sources.list' failed to run.


>From what I can tell, this is because qemu-user will refuse to run suid
programs (such as sudo).

My workaround: set up the schroot in advance (/etc/apt/sources.list, add
repository key, run apt-get update. I did not need to set preferences).


-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=he_IL.utf8, LC_CTYPE=he_IL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to