Debian Bug report logs -
#709774
Enable aufs on tmpfs via configuration parameter
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>:
Bug#709774; Package sbuild.
(Sat, 25 May 2013 11:05:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Joachim Breitner <nomeata@debian.org>:
New Bug report received and forwarded. Copy sent to Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>.
(Sat, 25 May 2013 11:05:10 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: sbuild
Version: 0.64.0-1
Severity: wishlist
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
build packages with sbuild in an aufs-like union-type schroot can be
sped up considerably by putting the overlay directory on a tmpfs
partition, as described on
http://juliank.wordpress.com/2010/12/10/sbuild-on-a-tmpfs/
which modifies /etc/fstab
It would be nicer if this feature could be enabled without touching
fstab, by a simple configuration option in schroot.conf. This could
additionally have the advantage that if schroot mounts the overy for
each instance, instead of deleting the overlay afterwards, it can just
unmount the tmpfs to get rid of it.
Greetings,
Joachim
- -- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.8-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sbuild depends on:
ii adduser 3.113+nmu3
ii apt-utils 0.9.8.1
ii libsbuild-perl 0.64.0-1
ii perl 5.14.2-21
ii perl-modules 5.14.2-21
Versions of packages sbuild recommends:
ii debootstrap 1.0.51
ii fakeroot 1.19-2
Versions of packages sbuild suggests:
pn deborphan <none>
ii wget 1.14-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlGgmloACgkQ9ijrk0dDIGzhkgCfQpCGQD+5BKFw2bSOeLO9ZaC/
6AEAoLTRJcHEqL1bOTaBJ6O2eDEEAe5F
=vymL
-----END PGP SIGNATURE-----
Added tag(s) patch.
Request was from Luca Capello <luca.capello@infomaniak.com>
to control@bugs.debian.org.
(Wed, 08 Jun 2016 15:39:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>:
Bug#709774; Package sbuild.
(Wed, 08 Jun 2016 15:48:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Luca Capello <luca.capello@infomaniak.com>:
Extra info received and forwarded to list. Copy sent to Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>.
(Wed, 08 Jun 2016 15:48:03 GMT) (full text, mbox, link).
Message #12 received at 709774@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
user luca.capello@infomaniak.com
usertag 709774 + infomaniak.com-packaging
tag 709774 + patch
thanks
Hi there!
On Sat, 25 May 2013 13:02:50 +0200, Joachim Breitner wrote:
> It would be nicer if this feature could be enabled without touching
> fstab, by a simple configuration option in schroot.conf. This could
> additionally have the advantage that if schroot mounts the overy for
> each instance, instead of deleting the overlay afterwards, it can just
> unmount the tmpfs to get rid of it.
To avoid such information to be lost:
<https://wiki.debian.org/sbuild#sbuild_overlays_in_tmpfs>
=====
root@chobin:~# cat <<EOF >/etc/schroot/setup.d/04tmpfs
#!/bin/sh
set -e
. "\$SETUP_DATA_DIR/common-data"
. "\$SETUP_DATA_DIR/common-functions"
. "\$SETUP_DATA_DIR/common-config"
if [ -n "\${CHROOT_UNION_TYPE}" ] && [ "\${CHROOT_UNION_TYPE}" != 'none' ]; then
if [ \$STAGE = "setup-start" ]; then
mount -t tmpfs overlay /var/lib/schroot/union/overlay
elif [ \$STAGE = "setup-recover" ]; then
mount -t tmpfs overlay /var/lib/schroot/union/overlay
elif [ \$STAGE = "setup-stop" ]; then
umount -f /var/lib/schroot/union/overlay
fi
fi
EOF
root@chobin:~# chmod a+x /etc/schroot/setup.d/04tmpfs
=====
The above has the disadvantage of mounting a tmpfs on
/var/lib/schroot/union/overlay for each schroot and it is still missing
a configuration option in schroot.conf, but it is already a start ;-)
Thx, bye,
Gismo / Luca
--
Luca Capello
Administrateur GNU/Linux
Infomaniak Network SA
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>:
Bug#709774; Package sbuild.
(Thu, 09 Jun 2016 06:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Johannes Schauer <josch@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>.
(Thu, 09 Jun 2016 06:21:04 GMT) (full text, mbox, link).
Message #17 received at 709774@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: reassign -1 schroot
Hi,
On Sat, 25 May 2013 13:02:50 +0200, Joachim Breitner wrote:
> build packages with sbuild in an aufs-like union-type schroot can be
> sped up considerably by putting the overlay directory on a tmpfs
> partition, as described on
> http://juliank.wordpress.com/2010/12/10/sbuild-on-a-tmpfs/
> which modifies /etc/fstab
>
> It would be nicer if this feature could be enabled without touching
> fstab, by a simple configuration option in schroot.conf. This could
> additionally have the advantage that if schroot mounts the overy for
> each instance, instead of deleting the overlay afterwards, it can just
> unmount the tmpfs to get rid of it.
There is little sbuild can do about this because this is a missing feature of a
sbuild backend (schroot) and not of sbuild itself. Thus, reassigning.
Thanks!
cheers, josch
[signature.asc (application/pgp-signature, inline)]
Bug reassigned from package 'sbuild' to 'schroot'.
Request was from Johannes Schauer <josch@debian.org>
to 709774-submit@bugs.debian.org.
(Thu, 09 Jun 2016 06:21:05 GMT) (full text, mbox, link).
No longer marked as found in versions sbuild/0.64.0-1.
Request was from Johannes Schauer <josch@debian.org>
to 709774-submit@bugs.debian.org.
(Thu, 09 Jun 2016 06:21:06 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 4 08:53:16 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.