Bug#1068382: sbuild: Support tarballs not including ./ when using the unshare chroot mode

2024-04-04 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Santiago Vila (2024-04-04 20:03:08) > El 4/4/24 a las 19:29, Johannes Schauer Marin Rodrigues escribió: > > Also I'm curious: what is your motivation for using unshare mode if you are > > creating your chroots using superuser privileges? > > > > And are you really storing your chroots

Bug#1068382: sbuild: Support tarballs not including ./ when using the unshare chroot mode

2024-04-04 Thread Santiago Vila
El 4/4/24 a las 19:29, Johannes Schauer Marin Rodrigues escribió: Also I'm curious: what is your motivation for using unshare mode if you are creating your chroots using superuser privileges? And are you really storing your chroots in /srv instead of letting them get picked up automatically in ~

Bug#1068382: sbuild: Support tarballs not including ./ when using the unshare chroot mode

2024-04-04 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Santiago Vila (2024-04-04 15:24:13) > > how did you create that tarball? > > debootstrap to a directory > cd /chroot/directory > tar czvf /srv/whatever.tar.gz * > > Yes, I know what using "." instead of "*" would solve the problem, but as I > said, > sbuild already supports perfectl

Bug#1068382: sbuild: Support tarballs not including ./ when using the unshare chroot mode

2024-04-04 Thread Santiago Vila
El 4/4/24 a las 14:22, Johannes Schauer Marin Rodrigues escribió: Since I don't think a tarball without ./ is really "wrong" to the point that it needs to be recreated (this is in fact the very first in my life that a tarball without ./ causes any kind of trouble), I think it would be desirable t

Bug#1068382: sbuild: Support tarballs not including ./ when using the unshare chroot mode

2024-04-04 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Santiago Vila (2024-04-04 12:17:14) > While trying to use the unshare backend I found this error: > > tar: dev/full: Cannot mknod: Operation not permitted > tar: dev/urandom: Cannot mknod: Operation not permitted > tar: dev/console: Cannot mknod: Operation not permitted > tar: dev/ptm

Bug#1068382: sbuild: Support tarballs not including ./ when using the unshare chroot mode

2024-04-04 Thread Santiago Vila
Package: sbuild Version: 0.85.6 Severity: wishlist Dear maintainer: While trying to use the unshare backend I found this error: tar: dev/full: Cannot mknod: Operation not permitted tar: dev/urandom: Cannot mknod: Operation not permitted tar: dev/console: Cannot mknod: Operation not permitted ta