Simon,

Thanks for your quick response.

On Wed, Nov 13, 2024 at 10:47:09AM +0000, Simon McVittie wrote:
> Does pbuilder not make /proc available in the usual way, or mount it with
> unusual/restrictive options, or something like that?

I don't see anything particularly restrictive or unexpected here:

mark@apollo:/tmp% sudo cowbuilder login --basepath 
/var/cache/pbuilder/base-sid.cow
[sudo] password for mark:
I: Copying COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.28612
I: forking: cp -al /var/cache/pbuilder/base-sid.cow 
/var/cache/pbuilder/build/cow.28612
I: removed stale ilistfile /var/cache/pbuilder/build/cow.28612/.ilist
I: Invoking pbuilder
I: forking: pbuilder login --bindmounts /home/mark/src/debian/build 
--buildplace /var/cache/pbuilder/build/cow.28612 --mirror 
http://deb.debian.org/debian
--distribution sid --no-targz --internal-chrootexec 'chroot 
/var/cache/pbuilder/build/cow.28612 cow-shell'
I: Running in no-targz mode
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for 
details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: mounting /dev/pts/8 over /dev/console
I: Mounting /home/mark/src/debian/build
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: entering the shell
root@apollo:/# mount
/proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,relatime,inode64)
devpts on /dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=666)
devpts on /dev/ptmx type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=666)
devpts on /dev/console type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000)

Mark

Reply via email to