Your message dated Wed, 20 Jul 2016 09:58:01 +0000
with message-id <e1bpogp-0005sg...@franck.debian.org>
and subject line Bug#831823: fixed in pbuilder 0.225.2
has caused the Debian Bug report #831823,
regarding cowbuilder: doesn't copy on write when using eatmydata
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
831823: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831823
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cowbuilder
Version: 0.80
Severity: grave
Tags: security

I enabled eatmydata by adding EATMYDATA=eatmydata to my ~/.pbuilderrc,
and the result is that copy-on-write no longer works, making any modifications
persistent:

eatmydata enabled

emilio@tatooine:~$ sudo cowbuilder --login 
root@tatooine:/# echo asdf > /etc/apt/sources.list
root@tatooine:/# logout
emilio@tatooine:~$ sudo cowbuilder --login 
root@tatooine:/# cat /etc/apt/sources.list
asdf

Note how it has overwritten sources.list even though --save-after-login
wasn't passed. It also overwrites files during a package build, which
is a big problem.

Now, with eatmydata disabled:

First, restore sources.list:

emilio@tatooine:~$ sudo cowbuilder --login --save-after-login
root@tatooine:/# cat /etc/apt/sources.list
asdf
root@tatooine:/# echo "deb http://ftp.es.debian.org/debian/ unstable main" > 
/etc/apt/sources.list
root@tatooine:/# logout

It is restored. Now, let's try to overwrite it without --save-after-login:

emilio@tatooine:~$ sudo cowbuilder --login 
root@tatooine:/# cat /etc/apt/sources.list
deb http://ftp.es.debian.org/debian/ unstable main
root@tatooine:/# echo asdf > /etc/apt/sources.list
root@tatooine:/# logout
emilio@tatooine:~$ sudo cowbuilder --login
root@tatooine:/# cat /etc/apt/sources.list
deb http://ftp.es.debian.org/debian/ unstable main
root@tatooine:/# 

It isn't overwritten.

Cheers,
Emilio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'experimental'), (650, 'testing'), (500, 
'unstable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cowbuilder depends on:
ii  cowdancer  0.80
ii  libc6      2.23-1
ii  pbuilder   0.225.1

cowbuilder recommends no packages.

cowbuilder suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pbuilder
Source-Version: 0.225.2

We believe that the bug you reported is fixed in the latest version of
pbuilder, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 831...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Rizzolo <mat...@debian.org> (supplier of updated pbuilder package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 20 Jul 2016 07:49:08 +0000
Source: pbuilder
Binary: pbuilder
Architecture: source
Version: 0.225.2
Distribution: unstable
Urgency: high
Maintainer: Debian pbuilder maintenance team 
<pbuilder-ma...@lists.alioth.debian.org>
Changed-By: Mattia Rizzolo <mat...@debian.org>
Description:
 pbuilder   - personal package builder for Debian packages
Closes: 831823
Changes:
 pbuilder (0.225.2) unstable; urgency=high
 .
   [ James Clarke ]
   * modules: Don't trash CHROOTEXEC when using eatmydata.  Closes: #831823
Checksums-Sha1:
 f9b708c0e3fe2ff4093e7bcd8dce60cf578fb685 1815 pbuilder_0.225.2.dsc
 f457b3e8ec4b371a9c33b968f2f24e3af2942512 307628 pbuilder_0.225.2.tar.xz
Checksums-Sha256:
 8d7b25bfb4a7f45f03dccdb6456c0512bac12f786d678400ef5708f703940b83 1815 
pbuilder_0.225.2.dsc
 f99cdaf360238f10871199e285496cfd22456e51e69094cd72eb34ab1dde357a 307628 
pbuilder_0.225.2.tar.xz
Files:
 452a38c1f4d165fd297a57d93e5c6bb1 1815 devel extra pbuilder_0.225.2.dsc
 094de83ee5f278581c26b2d93b000c91 307628 devel extra pbuilder_0.225.2.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXjy7WAAoJEEsEP825REVAg2gP/iT9U1Vl+L6Re+TKV6uwwJ6W
g/ie9GL8ybYQA5P0d5N1dhGBoL4q86LLqrrjZLPdr0yJ8CxzK6LpgCdYe3x7DkL3
NMz5gs33M2b+4hcZOHTYQfFaQSG1HVRL9pV+We5+GhLwUGiKnN3Voegjgq5n69MQ
7BTzBdqY3OTE9eM/knmFu1sox357CnVLMYy0p6c2GPQ2xW+7W0wX+ZoK1xZHr8QS
5t0kiDx4C6vdc61x+RaJSi32w9PDh674QA0UhEV/B/rDQh0T98ti41/Dq3g1cSj2
rebytJLJEWPW7VHUezLZULlB3P5w4xR3BgrV1vFQHit2gifpTuXTR70Rh9zWk68V
mRdCm49RZxwDq7hfZO2UDStpbcWGVfzTq65GRtXYR5KpIaEHcPfvxABaqk5KOX0k
xK3yVy1n5McAUXrw7ffCm/JPhbtdIpTkZCJU1AEXn/YxGVxIEKfY6jmoy/XrHMD2
3Yg94L1lkg2DX0uU8PgdRR6dK9zy+3NLjWLvdVsTC+gxRI8HXvy7/OyRUoT3MCnx
CuSJcsgpR1c6/hindeKcGBR4/Qesm/3HDJsqIFQ0ico6O2+OlK2fLI8ZC6XnCOdC
TGrnPPtsuzWNlhuPOlu8yBwWuWE8E7AK+rp0WpFKGHs9cxFcI8KyRu/QkigWoH2P
w5sA+iciWuOTr1+SJifK
=UosX
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to