Your message dated Sun, 30 May 2010 21:51:41 +0000
with message-id <[email protected]>
and subject line Bug#583581: fixed in etckeeper 0.47
has caused the Debian Bug report #583581,
regarding sudo etckeeper creates root-owned .bazaar and .bzr.log in home
directory
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 [email protected]
immediately.)
--
583581: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583581
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: etckeeper
Severity: minor
Version: 0.46
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch maverick
When run using sudo with VCS=bzr, etckeeper will create root-owned
$HOME/.bazaar and $HOME/.bzr.log (if they were not created before by bzr
itself).
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/376388
The proposed patch is to set and export HOME=~root if VCS=bzr.
Hope this helps,
--
Thierry Carrez
--- etckeeper-0.46/etckeeper 2009-09-26 21:57:49.000000000 +0200
+++ etckeeper-0.46ubuntu1/etckeeper 2010-05-17 16:41:13.000000000 +0200
@@ -22,6 +22,13 @@
fi
export VCS
+if [ "$VCS" = "bzr" ]; then
+ # Avoid creating root-owned .bazaar and .bzr.log directories in users
+ # home directory when etckeeper is run under sudo (LP: #376388)
+ HOME=~root
+ export HOME
+fi
+
if [ ! -z "$GIT_COMMIT_OPTIONS" ]; then
export GIT_COMMIT_OPTIONS
fi
--- End Message ---
--- Begin Message ---
Source: etckeeper
Source-Version: 0.47
We believe that the bug you reported is fixed in the latest version of
etckeeper, which is due to be installed in the Debian FTP archive:
etckeeper_0.47.dsc
to main/e/etckeeper/etckeeper_0.47.dsc
etckeeper_0.47.tar.gz
to main/e/etckeeper/etckeeper_0.47.tar.gz
etckeeper_0.47_all.deb
to main/e/etckeeper/etckeeper_0.47_all.deb
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joey Hess <[email protected]> (supplier of updated etckeeper 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 30 May 2010 16:50:09 -0400
Source: etckeeper
Binary: etckeeper
Architecture: source all
Version: 0.47
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description:
etckeeper - store /etc in git, mercurial, bzr or darcs
Closes: 533298 583581
Changes:
etckeeper (0.47) unstable; urgency=low
.
* Set HOME=~root so that VCS like bzr do not drop root-owned files in
user home directory when sudo etckeeper is run. Closes: #583581
* hg: Set HGUSER (if not already set) to avoid warning message when
committing. Closes: #533298
* Both git and bzr default to showing the author of a commit,
and not the committer. So, set the author to the user running sudo
for both. The committer will then be root.
Checksums-Sha1:
ef56e9aa21d68fae0d48d766f98743b066eb702b 1490 etckeeper_0.47.dsc
7965687d9fa2186442a5a2139dd92ef8516658ce 41082 etckeeper_0.47.tar.gz
a7b0cc552f077a5d24342686d5f18ba65cb59574 32210 etckeeper_0.47_all.deb
Checksums-Sha256:
625a31278ecb02a9d6deba09f66aaa6d25e2f0c5bb60e7b6e0d8581ee1c4f7c2 1490
etckeeper_0.47.dsc
f0ae879d0cae1ec26b318beab04560105381818eba5edad089c1c78240619587 41082
etckeeper_0.47.tar.gz
5ad1ad2a5f87c567ae9ff93145700a82d6b05cfedd22e1d35398e4cbdeccf726 32210
etckeeper_0.47_all.deb
Files:
18239931272b6f5615fa5cbabfc3a2d5 1490 admin optional etckeeper_0.47.dsc
e93584b4842fafaca5c335254722a391 41082 admin optional etckeeper_0.47.tar.gz
c86e9cc347ad529e7998653ff77b945a 32210 admin optional etckeeper_0.47_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIVAwUBTALP+8kQ2SIlEuPHAQg7uA//R1kFikfkuc5TI+weCeSWoVa7nKRk8ylW
VQigQamywxaoqY9yr1IdnX/JMltgaPBvooC87rCspG9kZZpAy2ohfpZjeb7mLle1
JOoOZ+OW+yTNeVV/uw47TDve94yHKMX57Q/Opkem7oiSmMhzQNjS6FuCLWT/ClGw
0m6UssCwQdUaUn8zmM2rlpcbcpBX8R33nbRVRDMbZPvd0LbpZHezMgYc5grAzehh
JtCcNto5ap/pUTfAcCgPQVEjVw80qcItJq2ycKCnijTs1AyMCU8VrwtCh/lzsmzq
uVPEAtLpwbHfN4aSbAjFYZfHRZ2TogQNteXT91BAuhkL0Iu0lOdQlHe5VNDHtgN6
JYw38E/sV25It7owvvMC9BjLR6DAwqwtAic5NH8ttw4UPBKzArxwyBlxv1JnSt1P
7qZqF2lYjXuu+25RnZrLP6EeUie/uflz6YCeahPyqM+MBQcwawJmJSEbPuBw004P
VX7mC1iM1yJXHz25+Y2whkAplx0o+EuBaHFGYwIjvL0aAZq+UOcRoc4CnwMD/LRc
B1Q9UwxnkEyjNC5BzjJV3lIpuap2ieRaDArKK0Fm3GIt9QhIUyIdIze+QWH3hPF8
4Wn+B9uhSykB+ZrP7LeXAZt0BTyEDMIJOgRLgst20sINWGpryX9tdi5ALblN1Q76
A22occnv3HA=
=lK5y
-----END PGP SIGNATURE-----
--- End Message ---