/etc/sudoers.d/mini-buildd-sudoers is in mini-buildd 1.0.33.
This file is owned by root:root, with mode 0o440.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # mini-buildd needs sudo calls for chroot preparation only
# BASIC: Needed by all chroot types
mini-buildd ALL=NOPASSWD:/usr/[s]bin/*debootstrap*,/bin/mount,/bin/umount,/bin/cp,/bin/rm,/bin/mkdir
# FILE: DirChroot
mini-buildd ALL=NOPASSWD:/bin/mv
# FILE: FileChroot
mini-buildd ALL=NOPASSWD:/bin/tar
# LVM: LVMChroot, LoopLVMChroot
mini-buildd ALL=NOPASSWD:/sbin/pvcreate,/sbin/pvremove,/sbin/vgcreate,/sbin/vgremove,/sbin/lvcreate,/sbin/lvremove,/sbin/mkfs,/sbin/fsck
# LOOP: LoopLVMChroot
mini-buildd ALL=NOPASSWD:/sbin/losetup,/bin/dd
# BTRFS: BtrfsSnapshotChroot
mini-buildd ALL=NOPASSWD:/bin/btrfs
|