summaryrefslogtreecommitdiff
path: root/TODO
blob: d5218aa3421cffca02db0f737ad04a8b97f48414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
TODO                                                            -*- outline -*-
====


Most new TODO items are marked @todo in the source code and listed in
the Doxygen-generated documentation in doc/schroot/html/todo.html


PENDING
-------


PLANNED
-------

* Add API to run multiple commands to replace auth::run().


POTENTIAL
---------

* Add a SbuildChrootXen chroot type for Xen hosts.

  This will require setup scripts for e.g. hostname and network setup.
  It will require DHCP or static IP configuration and a dynamic
  hostname in order to connect.

* Use of passwd/group databases should be thread-safe

  - Use the _r variants of getpw*, getgr*.

* Use controlling TTY for authentication

  PAM and the conversation handler should use the CTTY, rather than
  STDIN_FILENO.  The CTTY fd should use FD_CLOEXEC.

* Add tests for

** Auth
** AuthConv
** AuthConvTty
** AuthMessage
** Session
** schroot::Options
** schroot_releaselock::Options

None of these are urgent and/or are difficult to test in an automated
fashion.  expect might be useful for testing the PAM wrappers.

* Add tests for dchroot classes.

* Line reporting while parsing config files misses file name.

  log_warning() is used, because we don't throw an exception.  The
  code has no knowledge of the file name, so can't report it.
  Outright errors throw, and the handler adds the needed context.