[buildd-tools-devel] Bug#566879: Bug#566879: dchroot: does not work as root

Roger Leigh rleigh at codelibre.net
Tue Jan 26 00:22:29 UTC 2010


On Mon, Jan 25, 2010 at 07:44:05PM +0100, Aurelien Jarno wrote:
> Package: dchroot
> Version: 1.4.0-1
> Severity: important
> 
> Since the upgrade of dchroot to version 1.4.0-1, it doesn't work as root
> anymore:
> 
> | # dchroot
> | E: Authentication failed: Operation not supported
> | #
> 
> dchroot still works as a user, and schroot still works for both modes.

Were you previously using DSA dchroot or dchroot provided by schroot?
If you were using DSA dchroot, have you tried the dchroot-dsa package?
If you were using DSA dchroot, have you tried the dchroot-dsa package?
[dchroot.conf format and command-line syntax differ slightly]

There have been no dchroot changes TTBOMK since the previous stable
1.2.x releases (it's just an schroot API wrapper).

I'll take a look as soon as I have some free time.  If you also use
schroot, could you possibly try renaming dchroot.conf temporarily
and dchroot should then use schroot.conf instead.  Does this now
work correctly?  [If you don't have a schroot.conf, 'dchroot --config'
will generate one for you]

dchroot uses a more limited and stricter permissions checking
routine when running in dchroot compatibility mode, so this will
identify the source of the issue.  If so, we just need to special-
case root as for the other routine.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100126/7e123a6c/attachment.pgp>


More information about the Buildd-tools-devel mailing list