Package: mini-buildd
Version: 1.0.32
Severity: wishlist

Hi,

with a file chroot, mini-buildd mounts the tmpfs filesystems with
default options, which, on a 4 GB system, creates the tmpfs with  GB
size regardless of how much swaqp space is available. For big packages,
this is not enough, especially on systemd that build multiple arches,
since the builds run concurrently.

There should be the possibility to make the tmpfses larger, either
globally in the web frontend, or on a per-package basis via magic
commments.

Greetings
Marc

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.5-zgsrv20080 (SMP w/6 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mini-buildd depends on:
ii  adduser              3.116
ii  debconf              1.5.63
ii  debootstrap          1.0.91
ii  devscripts           2.17.10
ii  dirmngr              2.2.1-2
ii  dpkg-dev             1.18.24
ii  gnupg                2.2.1-2
ii  init-system-helpers  1.49
ii  libjs-jquery         3.2.1-1
ii  libjs-sphinxdoc      1.6.4-2
ii  lintian              2.5.54
ii  lsb-base             9.20170808
ii  mini-buildd-common   1.0.32
ii  python               2.7.14-1
ii  python-cherrypy3     3.5.0-2
ii  python-daemon        2.1.2-1
ii  python-mini-buildd   1.0.32
ii  python-pyftpdlib     1.5.1-4
ii  reprepro             5.1.1-1
ii  sbuild               0.73.0-4
ii  schroot              1.6.10-4
ii  sudo                 1.8.21p2-2

Versions of packages mini-buildd recommends:
ii  python-apt  1.4.0~beta3+b1

Versions of packages mini-buildd suggests:
pn  binfmt-support    <none>
pn  btrfs-progs       <none>
ii  haveged           1.9.1-6
ii  lvm2              2.02.173-1
pn  qemu-user-static  <none>

-- Configuration Files:
/etc/default/mini-buildd changed:
MINI_BUILDD_OPTIONS="--verbose -W :::8066"

/etc/schroot/setup.d/15mini-buildd-workarounds changed:
. "${SETUP_DATA_DIR}/common-data"
. "${SETUP_DATA_DIR}/common-functions"
. "${SETUP_DATA_DIR}/common-config"
[ "${1}" = "setup-start" ] || exit 0
[ "${CHROOT_SESSION_SOURCE}" != "true" ] || { printf "I: Not acting on source 
chroots, skipping...\n"; exit 0; }
printf "%s" "${CHROOT_NAME}" | grep -q "^mini-buildd" || { printf "Not a 
mini-buildd chroot, skipping...\n"; exit 0; }
mini_buildd_workarounds_tmp()
{
        printf "=> Fixing up /tmp mount (Bug #728096):\n"
        if [ -L "${CHROOT_PATH}/tmp" ]; then
                printf "Removing ${CHROOT_PATH}/tmp symlink...\n"
                rm -v "${CHROOT_PATH}/tmp"
        fi
        mkdir -v -p "${CHROOT_PATH}/tmp"
        mount -v -ttmpfs -osize=80% none "${CHROOT_PATH}/tmp"
}
mini_buildd_workarounds_shm()
{
        printf "=> Fixing up /dev/shm mount (Bug #728096):\n"
        if [ -L "${CHROOT_PATH}/dev/shm" ]; then
                printf "Removing ${CHROOT_PATH}/dev/shm symlink...\n"
                rm -v "${CHROOT_PATH}/dev/shm"
        fi
        mkdir -v -p "${CHROOT_PATH}/dev/shm"
        mount -v -ttmpfs -osize=80% none "${CHROOT_PATH}/dev/shm"
}
mini_buildd_workarounds_archived()
{
        case ${CHROOT_NAME} in
                *-etch-*|*-lenny-*|*-squeeze-*)
                        printf "=> Disabling 'Check-Valid-Until' for archived 
distribution ${CHROOT_NAME}.\n"
                        printf "Acquire::Check-Valid-Until \"false\";\n" 
>"${CHROOT_PATH}/etc/apt/apt.conf.d/10disable-check-valid-until"
                        ;;
        esac
}
mini_buildd_workarounds_tmp
mini_buildd_workarounds_shm
mini_buildd_workarounds_archived

/etc/sudoers.d/mini-buildd-sudoers [Errno 13] Permission denied: 
'/etc/sudoers.d/mini-buildd-sudoers'

-- debconf information:
* mini-buildd/note:
* mini-buildd/options: --verbose -W :::8066
* mini-buildd/home: /var/lib/mini-buildd
  mini-buildd/purge_warning:

Reply via email to