[Bug 1791437] Re: Can't use pbuilder inside simple lxc container?
Mattia Rizzolo
mattia at mapreri.org
Sat Sep 8 20:44:34 UTC 2018
That's your lxc configuration that doesn't allow mknode(2), so you can't
run debootstrap within it. So it'd say your environment is too
restrictive to do what you want to do.
** Changed in: pbuilder (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/1791437
Title:
Can't use pbuilder inside simple lxc container?
Status in pbuilder package in Ubuntu:
Invalid
Bug description:
On Ubuntu 18.04, I was trying to reproduce a problem, so I spun up an
lxc container and ran my reproduce script in it, i.e.
#!/bin/sh
set -ex
sudo apt install dh-make-golang
DIST=bionic git-pbuilder create
dh-make-golang github.com/gomatic/renderizer
cd renderizer/
gbp buildpackage --git-dist=bionic --git-pbuilder
This failed with
+ DIST=bionic git-pbuilder create
I: Invoking pbuilder
I: forking: pbuilder create --buildplace /var/cache/pbuilder/base-bionic.cow --mirror http://archive.ubuntu.com/ubuntu --distribution bionic --no-targz --extrapackages cowdancer
W: /home/ubuntu/.pbuilderrc does not exist
I: Running in no-targz mode
I: Distribution is bionic.
I: Current time: Sat Sep 8 14:40:20 UTC 2018
I: pbuilder-time-stamp: 1536417620
I: Building the build environment
I: running debootstrap
/usr/sbin/debootstrap
mknod: /var/cache/pbuilder/base-bionic.cow/test-dev-null: Operation not permitted
E: Cannot install into target '/var/cache/pbuilder/base-bionic.cow' mounted with noexec or nodev
Sad face. Not sure who's at fault here, is it me, debootstrap,
pbuilder, or gbp?
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pbuilder 0.229.1
ProcVersionSignature: User Name 4.15.0-33.36-generic 4.15.18
Uname: Linux 4.15.0-33-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Sat Sep 8 14:47:59 2018
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: pbuilder
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/1791437/+subscriptions
More information about the foundations-bugs
mailing list