File: mini-buildd-sudoers

package info (click to toggle)
mini-buildd 2.5.3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,636 kB
  • sloc: python: 10,001; sql: 1,597; sh: 1,470; javascript: 98; lisp: 90; cpp: 70; makefile: 69
file content (22 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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

# Needed for piuparts testing
mini-buildd ALL=NOPASSWD:/usr/sbin/piuparts