Hi,

> > My sbuild setup now fails on my sid systemd-nspawn container.
> 
> So I understand correctly this is a regression to -3?

Downgrading to 1.6.13-3+b3 makes the problem disappear.

> > $ sudo sbuild-update -u -d unstable
> > E: 10mount: mknod: 
> > /var/run/schroot/mount/unstable-amd64-sbuild-c631feb3-ec9a-475b-b19a-407a3bacf44c/dev/console:
> >  Operation not permitted
> > E: unstable-amd64-sbuild-c631feb3-ec9a-475b-b19a-407a3bacf44c: Chroot setup 
> > failed: stage=setup-start
> > Chroot setup failed
> > Error setting up unstable chroot
> >
> > The error comes from the mknod call at the end of 
> > /etc/schroot/setup.d/10mount .
> > Commenting the associated lines works around the problem with no visible
> > drawback for my usecase (sbuild).
> 
> I reckon this was somehow introduced by the change in /etc/schroot/*/fstab, 
> can
> you revert in the applicable file, in other words, replace (as in -4):
> 
> | /dev/pts        /dev/pts        devpts  
> rw,newinstance,ptmxmode=666,mode=620,gid=5 0 0
> 
> with (up until -3):
> 
> | /dev/pts        /dev/pts        none    rw,bind         0       0

$ grep pts /etc/schroot/sbuild/fstab
#/dev/pts        /dev/pts        devpts  
rw,newinstance,ptmxmode=666,mode=620,gid=5 0 0
/dev/pts        /dev/pts        none    rw,bind         0       0
$ sudo sbuild-update -u -d unstable
E: 10mount: mknod: 
/var/run/schroot/mount/unstable-amd64-sbuild-e939c22a-be21-404c-90dd-a145336da608/dev/console:
 Operation not permitted
E: unstable-amd64-sbuild-e939c22a-be21-404c-90dd-a145336da608: Chroot setup 
failed: stage=setup-start
Chroot setup failed
Error setting up unstable chroot
Chroot setup failed at /usr/bin/sbuild-update line 145.

Still fails.

Thanks,

Alex

Reply via email to