| Commit message (Expand) | Author | Age |
* | Bug#520251: pbuilder: Pbuilder does not umount bindmounts when ssh connection...•••Package: pbuilder
Version: 0.181
Severity: important
When pbuilder is executed over ssh and the ssh connection dies, it won't
umount bind mounts and won't clean up the build dir. Unfortunately,
cowbuilder WILL cleanup the build dir, wiping all bind mounts. The
execution order is like this:
ssh -> sudo -> cowbuilder -> pbuilder
Because of the sudo, the SIGHUP will not be delivered to pbuilder.
However, pbuilder will get SIGPIPE when writing to stdout or stderr.
In addition, even when SIGPIPE is ignored, a write to stdout will give
EPIPE, which causes echo to return with an error.
Therefore, you
- need to catch sigpipe in addition to sighup
- need to ignore sigpipe and sighup in the cleanup handler
- need to set +x in the cleanup handler to avoid exiting just
because echo returns an error.
The attached patch works for me but I have only edited
pbuilder-buildpackage and not the other commands.
| Stefan Fritsch | 2009-03-18 |
* | implement --inputfile option.•••Copies extra files to inside chroot.
| Junichi Uekawa | 2009-03-07 |
* | refactor to use 'log' function rather than using 'echo' directly.•••First cut into doing this, hopefully we're not breaking anything.
| Junichi Uekawa | 2009-02-26 |
* | Bug#493154: warn if --othermirror is specified and --override-config is not s...•••People don't read the manpage thoroughly, and file bugs. Add a Warning.
| Junichi Uekawa | 2009-02-24 |
* | umount on failed bind-mount (closes: #474771)•••Special-case bind-mounting points since it might result in user-data
loss when pbuilder clean is ran.
When multiple bind-mount points are specified in command-line options,
and one of them failed to mount, not all of them were umounted in
clean-up.
That is now fixed.
| Junichi Uekawa | 2008-04-29 |
* | Fix devpts mount permissions (closes: #453862)•••Use the same permission as /etc/init.d/mountdevsubfs.sh for mounting
devpts. devpts mount points share the same system-wide permission for
all mounts, which gets re-set every time pbuilder mounts it.
Since the current gid/permission information is not exported from
devpts, use the /etc/default/devpts value provided by glibc.
| Junichi Uekawa | 2007-12-26 |
* | * Create /etc/apt/apt.conf.d just in case it doesn't exist. (Closes:••• #452584).
| Junichi Uekawa | 2007-11-24 |
* | * Bug fix: "pbuilder-satisfydepends-classic should pass••• -o APT::Install-Recommends=false to apt-get", thanks to Daniel Schepler
(Closes: #448562).
* set /etc/apt/apt.conf.d/15pbuilder so that Install-Recommends is false.
| Junichi Uekawa | 2007-11-07 |
* | [Pbuilder-maint] Bug#422371: Patch for specifying components••• Here is a patch against latest git revision which adds the ability to specify
the components either via $COMPONENTS in pbuilderrc or via the command line with
--components.
It is based on some of the Ubuntu changes [1].
[1] http://patches.ubuntu.com/p/pbuilder/pbuilder_0.170ubuntu1.patch
| Adrien Cunin | 2007-10-22 |
* | * Bug fix: "pbuilder: incoherence man page with --help", thanks to David••• Vernazobres (Closes: #446479).
| Junichi Uekawa | 2007-10-15 |
* | fix thinko: trap exit -> trap - exit | Junichi Uekawa | 2007-05-27 |
* | change "trap" handling so that all trap function calls are called _trap, and ... | Junichi Uekawa | 2007-05-27 |
* | minor documentation update for etch release | Junichi Uekawa | 2007-04-10 |
* | 391915: re-fix the applied patch, etc/$a inside buildplace was unconditionall...••• "The fix for #391915 as applied in 0.165 isn't quite correct,
it still has an unconditional rm -f "$BUILDPLACE/etc/$a" outside
the check for an existing /etc/$a to copy into its place."
From Paul TBBle Hampson <Paul.Hampson@Pobox.com>
| Junichi Uekawa | 2007-03-31 |
* | 391915: Try to warn only if network configuration files are not found on host... | Junichi Uekawa | 2007-03-28 |
* | copyright year 2007, and changelog about it, and changelog warning/error to >&2 | Junichi Uekawa | 2007-03-27 |
* | warning message goes to &2 | Junichi Uekawa | 2007-03-27 |
* | error message goes to &2 | Junichi Uekawa | 2007-03-27 |
* | * --override-config and --mirror without --distribution leaves /proc••• mounted, and breaks cowbuilder. (closes: #405497)
| dancer | 2007-01-04 |
* | * debuild-pbuilder, pbuilder-buildpackage-funcs, pdebuild-internal:••• use $PBUILDERSATISFYDEPENDSCMD instead of
/usr/lib/pbuilder/pbuilder-satisfydepends.
* pbuilderrc: set PBUILDERSATISFYDEPENDSCMD to
/usr/lib/pbuilder/pbuilder-satisfydepends by default.
* pbuilderrc.5: document PBUILDERSATISFYDEPENDSCMD.
* debian/TODO: alternatives implementation of pbuilder-satisfydepends
now possible.
* pdebuild-checkparams, pdebuild-uml-checkparams, pdebuild-internal:
add a new --pbuildersatisfydepends flag to override
PBUILDERSATISFYDEPENDSCMD
* pdebuild: pass --pbuildersatisfydepends to pdebuild-internal.
* pbuilder-modules, pdebuild.1: document --pbuildersatisfydepends.
| lool | 2006-11-06 |
* | * Make a case construct POSIX compliant; thanks Martin F Krafft. | lool | 2006-10-30 |
* | * pbuilder-modules: umount selinux and bind mounts first. | lool | 2006-10-29 |
* | * pbuilder-modules: add sanity checks during umount_one(); ignore••• umount errors of the type "umount: /foobar: not mounted" and "umount:
/foobar: not found" as retries will be useless anyway, and these errors
shouldn't cause data loss; fixes #391390.
| lool | 2006-10-29 |
* | initial selinux support | dancer | 2006-08-24 |
* | bind-mount ordering fix. | dancer | 2006-08-20 |
* | quiet down /etc/mtab | dancer | 2006-06-01 |
* | update copyright info. | dancer | 2006-05-30 |
* | initial cowbuilder support in pdebuild•••pbuilder supports pdebuild/cowbuilder
login/execute/update/create etc. can also be --login/--execute/--update/--create etc.
to cater for cowbuilder
documentation updates / XML typesetting fixes.
manpage fixes / spellchecking
generally what I did while I was on plane trip from Debconf Mexico to Japan.
| dancer | 2006-05-24 |
* | * fix pdebuild --help output (closes: #367133)••• * pbuilderrc.5: undocument the restriction that --buildresult
option needs to be specified for pdebuild, and BUILDRESULT cannot
be used.
I should probably warn that the directory should be absolute.
* pdebuild.1: fix man a bit to make --buildresult option doc
unambiguous.
| dancer | 2006-05-14 |
* | + * Documentation/pbuilder-doc.xml: update docs on user-mode-linux usage.•••+ add reference to PDF version.
and update some copyright years to 2006.
| dancer | 2006-04-22 |
* | remove support for --nonusmirror. | dancer | 2006-02-22 |
* | + * Bug fix: "pbuilder: url to debian experimental's apt archive seems to•••+ have changed recently", thanks to Johan Boule (Closes: #347296).
| dancer | 2006-01-12 |
* | 345870 | dancer | 2006-01-06 |
* | use readlink -f instead of -e.•••add q-funk's script.
| dancer | 2005-12-21 |
* | Use readlink -e instead of readlink -f :••• * pdebuild-user-mode-linux:
* pdebuild-uml-checkparams:
* pdebuild-checkparams:
* pdebuild: readlink -e instead of readlink -f
* pbuilder-uml-checkparams: readlink -e instead of readlink -f
* pbuilder-modules: readlink -e instead of readlink -f
* pbuilder-createbuildenv: quote HOOKDIR and readlink -e instead of readlink -f.
* pbuilder-checkparams:
* pbuilder-buildpackage: use readlink -e here.
* pbuilder-buildpackage-funcs: use readlink -e instead of readlink -f. 342117
thanks to Markus Kolb
| dancer | 2005-12-05 |
* | 337541: 0.138: allow xvfb to work inside pbuilder | dancer | 2005-11-11 |
* | workaround Matt's commit;•••add ||true for 'ln -s' creating mtab.
| dancer | 2005-11-02 |
* | If /proc is mounted, create a symbolic link from /etc/mtab to•••/proc/mounts.
| kraai | 2005-11-01 |
* | update documentation and manual pages••• * suppress warnings from find; it wants -maxdepth before any other
argument. (closes: #330848)
* Documentation update patch from Osamu Aoki to clarify about
configuration file priorities and issues associated with it.
(closes: #325318)
| dancer | 2005-09-30 |
* | 2005-08-28 Junichi Uekawa <dancer@debian.org>••• * pbuilderrc: SHELL variable is set a default value.
| dancer | 2005-08-28 |
* | +2005-08-07 Junichi Uekawa <dancer@debian.org>•••+
+ * debian/control: allow cdebootstrap dependency.
+
+ * testsuite/run-test.sh: complicate the process by testing both
+ cdebootstrap and debootstrap.
+
+ * pbuilder.8: document --debootstrap
+
+ * pbuilder-checkparams: --debootstrap
+
+ * pbuilder-modules: --debootstrap
+
+ * pbuilder-createbuildenv: unset DEBOOTSTRAPSCRIPT instead of setting
+ "". The number of parameter given to cdebootstrap changes.
+ since DEBOOTSTRAPSCRIPT are not supported by cdebootstrap,
+ Giving cdebootstrap this parameter caused it to fail.
+
+ * pbuilderrc.5: Document DEBOOTSTRAP
+
+ * pbuilderrc (DEBOOTSTRAP): new option.
+
+ * pbuilder-createbuildenv (DEBOOTSTRAPSCRIPT): call ${DEBOOTSTRAP} instead of calling debootstrap directly.
+
| dancer | 2005-08-07 |
* | +2005-06-12 Junichi Uekawa <dancer@debian.org>•••+
+ * testsuite/test-pdebuild.sh: add a sample command-line that should
+ work.
+
+ * pbuilder-modules (pbuilder-options):
+ find '-xdev' is an option, not an evaluation, and so moved it around
+ since newer find now complains.
+ Marc Dequènes (Duck) <Duck@DuckCorp.org> and "Artur R. Czechowski" <arturcz@hell.pl>
+ #312913
+
| dancer | 2005-06-12 |
* | + * pbuilder.8: document --autocleanaptcache•••+
+ * pbuilder-updatebuildenv:
+ * pbuilder-checkparams (AUTOCLEANAPTCACHE): support auto-clean of aptcache
+ (IGNORE_UMOUNT): add --autocleanaptcache
+
| dancer | 2005-06-03 |
* | change to use experimental,•••and apply patch; and apply my own patch.
| dancer | 2005-06-03 |
* | + * save apt cache after running B hook in build target; so that•••+ we don't keep redownloading lintian/linda . (closes: #296999)
| dancer | 2005-04-21 |
* | --- ChangeLog 11 Apr 2005 06:24:29 -0000 1.293•••+++ ChangeLog 16 Apr 2005 04:39:27 -0000
@@ -1,3 +1,20 @@
+2005-04-16 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder-modules: document signing-related options in pbuilder-options.
+
+ * pdebuild-user-mode-linux:
+ * pdebuild: implement keyid specification.
+
+ * Documentation/pbuilder-doc.xml: add document on using auto-debsign
+ and add a FAQ entry for source.changes file.
+
+ * pbuilder-checkparams: use --debsign-k option
+ to specify DEBSIGN_KEYID
+
+ * pdebuild.1: add --debsign-k option
+
+ * pdebuild-user-mode-linux.1: add --debsign-k option
+
| dancer | 2005-04-16 |
* | +2005-03-04 Junichi Uekawa <dancer@debian.org>•••+
+ * pbuilder: apply patch frp, Danilo to save aptcache on pbuilder login.
+ Apply similar change to pbuilder execute.
+ 271600
+
+ * pbuilder.8:
+ * pbuilder-checkparams:
+ * pbuilder-modules: support --aptcache option
+ thanks: Danilo Piazzalunga <danilopiazza@libero.it>
+ 295766
+
+ * Cleaned build dir for pbuilder-uml #297100
+
+ * pbuilder-modules (pbuilder-options): document save-after-login/exec
+ flag in --help output. #296672
+
| dancer | 2005-03-04 |
* | 2005-02-13 Junichi Uekawa <dancer@debian.org>••• * pbuilder.8: update documentation to include 'sarge'
* pbuilder: set umask 0022 in pbuilder.
276589
* pbuilderrc (BUILDRESULT): make default distribution sarge, instead of woody.
* pbuilder-modules: update to include sarge in list of distributions;
this list is too long, needs some improvement.
289170
* pdebuild: Change build results by default to be owned by the building user, not root:root
This change only required for pdebuild only, UML already runs as user.
286397
* pbuilder.8: clarify documentation for 286602, Do not use --debbuildopts -B, but
use --binary-arch
* Documentation/pbuilder-doc.xml: 293882: Jens Seidel <jensseidel@users.sf.net> small typo fixes.
* pbuilderrc (MIRRORSITE): 295032: change default mirror from www.jp.debian.org to ftp.jp.debian.org
| dancer | 2005-02-13 |
* | update date | dancer | 2005-01-04 |
* | gah. | dancer | 2004-09-12 |