Joey,

Aha, awesome to hear =). Looking forward to the next release. Any idea of
when that might be, or a tentative date/month when it might hit Debian?

Also, regarding your second part about HOME=~root being set, my apologies if
this seems a basic question but will that have any effect on the HG author
field being correctly set to the underlying sudo user? Or will it only
affect where it pulls the .hgrc file, say?

Cheers,
Victor

On 17 July 2010 05:14, Joey Hess <jo...@debian.org> wrote:

> Victor Hooi wrote:
> > Severity: important
>
> (severity inflation)
>
> > The commit was then able to go through. However, it appears that under
> > Mercurial, commits via etckeeper are logged under root, always, even
> > if you run it as sudo. This appears to contradict the man page, which
> > at least in my version states that etckeeper will notice if it is
> > being run sudo, and log the underlying user.
>
> This is due to a backwards test for HGUSER which was already fixed in
> git for the next release.
>
> When etckeeper correctly sets HGUSER, that also seems to avoid hg requiring
> a ~/.hgrc file, so at least that is not needed when using sudo. If hg
> generally needs the file, etckeeper cannot do anything about that
> though. etckeeper recently began setting HOME=~root when run via sudo
> to prevent version control systems writing (or reading) config etc
> files in user home directories.
>
> --
> see shy jo
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQIVAwUBTECvgskQ2SIlEuPHAQj4Ew/6Av38kILQkcZLrCwlxO1Z5YctucYBd21R
> tDYwhEv66XA20lXmCGcDnPONQI1peAtRP5h56+IJkDSbC1ZrVp5HjLhpjarxzXou
> 7esUbG+qMHwWSelScFuk5H2eXu3G1n5Zy9NdOR97cyuwMkoJtQ99nFlD6dcUVfXK
> QFbnlyoYpZdknVQAkFBXul4MZ9KK+wPgBaAiGAA3VEkHyTYgjOdA7d081DIMer8/
> ksX8jNsiSycKI+zUCVWl/xnSBipe+hKKN7nmtn2TFSiYYjK89x7u/V9FWqCKEaAH
> 5z9AoP0uddFVQc0ClsqYCM4YQGAgNAEBGIUb+7JaBv68Da9ML+hwmVrkCH5NDOpX
> zziBsgcMul7mFQ7o/EyWI3ZV3NBiGV/qqaa3ymwiRoerkAGTcVhL8qUTO/DREkzL
> WK3BgwaJ+EG0PUEDKWTU0vOq6zoMiXcTLU7kzsi8yqGp1Hk+BDZa7okaMS7ePK3e
> d4OEorDqNinKPholuis6SMZUfp2efTCWNMZgX5jMq/kZyjNc3D9pcjEBeLalc7JA
> 2m86fVmc35CU8E2povR4GFnTs1IDbM/twtLwfBfWuWSTBUwnm1YEHaugV/rrc5UW
> uuwc3Uj/rqjXFuXAz0SjqEjtxIKgeicnBpCcViFF4DcsiATB4gymn579yOVC6xuZ
> UrCLRqeEfR4=
> =4asq
> -----END PGP SIGNATURE-----
>
>

Reply via email to